@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,300);

/* GLOBAL BASIC */

* {
    margin: 0;
    padding: 0;
}

html,body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Open Sans', 'Helvetica Neue', 'Helvetica';
    font-size: 1.1rem;
    line-height: 1.5;
    color:black;
    background: #9A8876;
    -webkit-font-smoothing: antialiased;
}

ul {
    margin-left: 0;
    padding-left: 0;
}

.columns li {
    min-height:380px;
    list-style:none;
}

li {
    list-style:none;
}

img {
    vertical-align:middle;
}

p {
    font-family: 'Open Sans', 'Helvetica Neue', 'Helvetica';
    font-size:1.2rem;
    line-height:2.0;
}

h1 {
    font-size:2.3rem;
    color: #b43527;
    line-height: 100%;
    font-style: normal;
    margin-top:20px;
    margin-bottom:20px;
    text-transform: uppercase;
    text-shadow:  1px  1px 1px #ababab,
    1px -1px 1px #ababab,
    -1px  1px 1px #ababab,
    -1px -1px 1px #ababab;
}

h2 {
    font-size:1.1rem;
    color: black;
    font-style: normal;
    margin-top:20px;
    text-transform: uppercase;
    padding:5px;
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    color: #b43527;
    text-decoration: none;
}

/* div class */

.container {
    width:100%;
    margin: 0px auto;
}

label {unicode-bidi:bidi-override;}
.normal {direction:ltr;}
.backline {direction:rtl;}

.leftDiv {
    text-align:left;
    margin-left:20px;
}

.centerDiv {
    text-align:center;
    margin:0 auto;
}

@media (min-width: 100px) {
    .divContent {
        margin-top:0px;
        margin: 0 auto;
        width:100%;
        max-width:320px !important;
        padding:0px !important;
    }
    .picture {
        min-width: 200px;
        max-width: 70%;
    }

    .thumb {
        width: 100%;
    }

}

@media (min-width: 600px) {
    .divContent {
        margin-top:0px;
        margin: 0 auto;
        width:800px !important;
        max-width:800px !important;
        padding:0px !important;
    }
    .picture {
        min-width: 300px;
        max-width: 90%;
    }

    .thumb {
        width: 100%;
    }

}

@media (min-width: 1000px) {
    .divContent {
        margin-top:0px;
        margin: 0 auto;
        width:800px !important;
        max-width:800px !important;
        padding:20px !important;
    }
    .picture {
        min-width: 300px;
        max-width: 90%;
    }

    .thumb {
        width: 100%;
    }

}

@media (min-width: 1000px) {
    .fleft {
        float: left;
    }
}

.clear {
    clear:both;
}

.fade {
  opacity: 0;
  -webkit-transition: opacity .15s linear;
  transition: opacity .15s linear;
}

.fade.in {
  opacity: 1;
}

.cookiesBanner {
    position:fixed;
    background-color: white;
    opacity: 0.9;
    width:100%;
    text-align:center;
    bottom:0px;
    padding-top:8px;
    padding-bottom:1px;
    font-size:0.9rem;
    right:0px;
    z-index:15;
}

.closeCookiesBanner {
    position:relative;
    width:100%;
    color:black;
    left:-2px;
    bottom:5px;
    z-index:16;
}

.blendOutCookieBanner {
    border: 1px solid;
    background-color:white;
    padding:2px;
}

.welcomeHeadline {
    font-size:3.0rem;
    color: #b43527;
    padding:10px;
    text-decoration:underline;
    text-align:center;
    width:70%;
    margin: 0px auto;
}

.redText {
    color:#b43527;
}

ul.listing {
    list-style: none;
    margin-left: 0%;
    margin-top: 5%;
}
ul.listing li {
    display: inline-block;
    padding: 10px;
    margin: 0 0 2.5% 2.5%;

    font-size: 1.0rem;
    vertical-align: top;
}
ul.listing li img {
    max-width: 100%;
    height: auto;
    margin: 0 0 0px;
}
ul.listing li h1 {
    padding:15px;
    margin: 0 0 15px;
}
ul.listing li p {
    font-size: 1.0rem;
    line-height:2.0;
    color: black;
}

@media (min-width: 0px) {
    ul.listing.columns li {
        width: 85%;
    }
}

@media (min-width: 800px) {
    ul.listing.columns li {
        width: 37%;
    }
}

@media (min-width: 1000px) {
    ul.listing.columns li {
        width: 18.00%;
    }
}


@media (min-width: 1300px) {
    ul.listing.columns li {
        width: 18.00%;
    }
}

/* GLOBAL SPECIFIC */

.labelText {
    font-size:1.0rem;
    color: #b43527;
    text-align: left;
    line-height: 100%;
    font-style: normal;
    font-weight: bold;
    margin-top:20px;
    margin-bottom:15px;
    text-transform: uppercase;
}

/* main loader */

.loader {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    z-index: 9999;

    background-color: transparent;
    border:2px solid #b43527;
    border-radius:50px;
    opacity:0;
    width:20px;
    height:20px;
    margin:0 auto;
    border-right:3px solid rgba(200, 200, 200, 0.9);
    border-left:3px solid rgba(200, 200, 200, 0.9);
    box-shadow: 0 0 0px rgba(200, 200, 200, 0.9);

    -moz-animation:spinPulse 1.0s infinite ease-in-out;
    -webkit-animation:spinPulse 1.0s infinite linear;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}

@-webkit-keyframes spinPulse {
    0% { -webkit-transform:rotate(160deg); opacity:1; box-shadow:0 0 0px; }
    50% { -webkit-transform:rotate(145deg); opacity:.5;}
    100% { -webkit-transform:rotate(-320deg); opacity:0; }
}

@-webkit-keyframes spinoffPulse {
    0% { -webkit-transform:rotate(0deg); opacity:0; box-shadow:0 0 0px; }
    50% { -webkit-transform:rotate(180deg); opacity:.5;}
    100% { -webkit-transform:rotate(360deg); }
}



ul.pictureGallery {
    list-style: none;
    margin-left: 10%;
    margin-top: 5%;
}
ul.pictureGallery li {
    display: inline-block;
    padding: 10px;
    margin: 0 0 2.5% 2.5%;
    background: #ffffff;
    border: 0px solid #d8d8d8;
    font-size: 1rem;
    vertical-align: top;
}
ul.pictureGallery li img {
    max-width: 100%;
    height: auto;
    margin: 0 0 10px;
}
ul.pictureGallery li h1 {
    padding:15px;
    margin: 0 0 15px;
}
ul.pictureGallery li p {
    font-size: .9em;
    line-height:2.0;
    color: black;
}

/* LAYOUT */

@media (min-width: 0px) {

    .picture {
        width: 30%;
        padding:10px;
    }

    ul.pictureGallery.columns li {
        width: 90%;
    }

    .sidenav { display:block; }
    .navOverlay { display:block; }
    .icon-bar { display:none; }

}

@media (max-width:799px) {

    /* SIDENAV OVERLAY */

    .navOverlay {
        padding-left:15px;
    }

    #mySidenav {
        line-height:1.2;
    }

    .sidenav {
        font-size: 1.0rem;
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 5;
        top: 0;
        left: 0;
        background-color: #9A8876;
        overflow-x: hidden;
        padding-top: 15px;
        transition: 0.5s;/
    }

    .sidenav a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        color: black;
        display: block;
        transition: 0.3s
    }

    .sidenav a:hover, .offcanvas a:focus{
        color: #b43527;
    }

    .sidenav .closebtn {
        position: absolute;
        top: -6px;
        right: 25px;
        font-size: 2.5rem;
        margin-left: 50px;
        margin-top:10px;
        margin-bottom: 30px;
    }

    #main {
        transition: margin-left .5s;
        padding: 20px;
    }

    @media screen and (max-height: 450px) {
        .sidenav {padding-top: 15px;}
        .sidenav a {font-size: 1.0rem;}
    }

    .sideNavActive {
        color:#b43527 !important;
        background-color: #9A8876;
    }

    .sideNavNonActive {
        color:black !important;
        background-color: #9A8876;
    }

    #sideNavMargin {
        margin-right:10px;
    }

    /* SIDENAV OVERLAY ! */

}

@media (min-width: 800px) {

    .sidenav { display:none; }
    .navOverlay { display:none; }
    .icon-bar { display:block; }


    ul.pictureGallery.columns li {
        width: 40.50%;
    }

    /* ICON BAR */

    .icon-bar {
        width:1000px;
        margin: 0px auto;
        margin-top: 30px;
        margin-bottom: 20px;
        font-size: 1.2rem;
    }

    .icon-bar a {
        text-align: center;
        padding: 12px;
        color: black;
    }

    .icon-bar a:hover {
        color: #b43527;
    }

    .icon-bar a:active {
        color: #b43527;
    }

    .active {
        color: #b43527;
    }

    /* ICON BAR ! */

}

@media (min-width: 1000px) {

    ul.pictureGallery.columns li {
        width: 40.50%;
    }

}


@media (min-width: 1300px) {

    ul.pictureGallery.columns li {
        width: 23.50%;
    }

}

/* MODAL IMG --> */

#targetModal {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#targetSmall:hover {opacity: 0.6;}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    height: 60%;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    text-align: center;
    color: #b43527;
    padding: 10px 0;
    height: 150px;
}

.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #b43527;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px){
    .modal-content {
        margin: auto;
        display: block;
        height: 60%;
    }
}
