* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Ubuntu', verdana, arial, sans-serif;
    background: #606060;
}

p {
    font-size: 16px;
    font-weight: normal;
    text-align: justify;
    color: #4d4d4d;
    padding-bottom: 15px;
}

@media (min-width: 1000px) {
    p {
        font-size: 20px;
    }
    h1 {
        padding-top: 50px;
    }
}

ul {
    font-size: 20px;
    color: #4d4d4d;
    font-style: italic;
    list-style-type: none;
    list-style-position: inside;
}

ul li{
    background-image: url('../img/point.png');
    background-repeat: no-repeat;
    background-position: 5px center;
    padding-left: 25px; 
}

h1,
h1 a {
    font-size: 35px;
    font-weight: normal;
    color: #4d4d4d;
    padding-bottom: 20px;
}

a {
    font-size: 20px;
    font-weight: normal;
    color: #ffffff;
    text-decoration: none;
}

div#sgcontent iframe {
    max-width: 90vw;
    max-height: 90vh;    
    width: 1280px;
    height: 720px;
    margin: 0 auto 0 auto;
}

img {
    max-width: 100%;
    border: none;
    float: left;
    margin: 0 0 15px 0;
}

/*
img.cen1 {
    margin-left: 12px;
}
img.cen2 {
    margin-left: 12px;
    margin-right: 12px;
}*/

img.gallery,
img.prothmb {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.4 0.2 0.2 0 0 0.2 0.4 0.2 0 0 0.2 0.2 0.4 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: grayscale(80%);
    -moz-filter: grayscale(80%);
    -webkit-filter: grayscale(80%);
}

img.gallery:hover,
img.prothmb:hover {
    filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    filter: none; /* Firefox 10+, Firefox on Android */
}

div.fullw {
    clear: both;
}

div.textbox {
    max-width: 900px;
    width: 100%;
    margin: 0 auto 0 auto;
    /*background: #808080;*/
    overflow: hidden;
    padding: 0 10vw 100px 10vw;
}

@media (min-width: 1000px) {
    div.textbox {
        padding: 0;
    }
}

div#outer {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto 0 auto;    
}

div#menu1 {
    max-width: 900px;
    width: 100%;
    margin: 0 auto 0 auto;
    padding: 0 5vw 0 5vw;
}

img#logo {
    width: 180px;
    padding-top: 15px;
}

@media (min-width: 1000px) {
    div#menu1 {
        padding: 0;
    }
    img#logo {
        width: 300px;
        padding-top: 15px;
    }
}

div#menu2 {
    float: left;
    /*padding-top: 17px;*/

}
div#menu2 p{
    font-size: 35px;
    padding-top: 5px;
    color: #ffffff;
}

div#menu2 p.subt{
    font-size: 15px;
    color: #ffffff;
    font-style: italic;
    letter-spacing: 3px; 
}

@keyframes shaky {
    0% {transform: translateX(0);}
    25% {transform: translateX(-1px);}
    75% {transform: translateX(1px);}
    100% {transform: translateX(0);}
}

div#menu3 {
    display: none;
    float: right;
    padding-top: 45px;
}
div#menu3 a{
    display: block;
    float: left;
    margin-left: 30px;
    font-style: italic;
    padding-bottom: 4px;
}
div#menu3 a:hover {
    animation-name: shaky;
    animation-duration: 0.1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
div#topmenu {
    background: #000000;
    height: 80px;
    border-top: 6px solid #333333;
    overflow: hidden;
}
@media (min-width: 1000px) {
    div#menu3 {
        display: block;
    }
    div#topmenu {
        height: 100px;
    }
}

@keyframes slide1 {
    0% {opacity: 1.0;}
    23% {opacity: 1.0;}
    33% {opacity: 0.0;}
    90% {opacity: 0.0;}
    100% {opacity: 1.0;}
}
@keyframes slide2 {
    0% {opacity: 1.0;}
    56% {opacity: 1.0;}
    66% {opacity: 0.0;}
    100% {opacity: 0.0;}
}
@keyframes slide3 {
    0% {opacity: 1.0;}
    90% {opacity: 1.0;}
    100% {opacity: 0.0;}
}

div#header {
    position: relative;
    top: 0;
    left: 0;
    height: 70vw;
    /*width: auto;*/
}

div#header img {
    height: 70vw;
    object-fit: cover;
    /*width: auto;*/
    margin: 0;
    position: absolute;
    top: 0%;
    left: 0px;
}

@media (min-width: 1000px) {
    div#header {
        height: 33vw;
        width: 100%;
    }
    div#header img {
        height: 33vw;
        width: 100%;
    }
}
    
img#slide1 {
    animation-name: slide1;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

img#slide2 {
    animation-name: slide2;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    object-position: 20%;
}

img#slide3 {
    animation-name: slide3;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

div#intro {
    background: #f0f0f0 url('../img/grid2.png');
    background-repeat: repeat;
    padding-top: 100px;
    overflow: hidden;
    max-height: 9999px;
}

div#gallery {
    background: #ffffff;
    padding-top: 100px;
    overflow: hidden;
}

div#gallery .textbox {
    padding-bottom: 0;
}
    
div#images {
    max-width: 900px;
    margin: 0 auto 0 auto;
    display: flex;
    justify-content: center;
    flex-flow: wrap;
    /*padding: 0 20px 0 20px;*/
    padding: 0 10vw 100px 10vw;

    gap: 12px;
}
img.gallery {
    margin: 0;
}
@media (min-width: 1000px) {
    div#images {
        padding: 0;
    }
}


div#how {
    background: #e6e6e6;
    padding-top: 100px;
    overflow: hidden;
    max-height: 9999px;
}

div#contact {
    background: #4d2626 url('../img/gradient.png');;
    background-repeat: repeat-x;
    padding-top: 100px;
    overflow: hidden;
    max-height: 9999px;
}
@media (min-width: 1000px) {
    div#contact {
        padding-bottom: 0;
    }
}

div#contact p,
div#contact h1
 {
    color: #ffffff;
 }

img#imgctl,
img#imgctr {
    float: none;
    margin: 0 auto 0 auto;
    display: block;
    /*clear: both;*/
    margin-bottom: 40px;
}

@media (min-width: 1000px) {
    img#imgctl {
        float: left;
        clear: none;
        margin-bottom: 0;
    }
    img#imgctr {
        float: right;
        clear: none;
        margin-bottom: 0;	
    }
}

div#map {
    background: #602020;
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.4 0.2 0.2 0 0 0.2 0.4 0.2 0 0 0.2 0.2 0.4 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: grayscale(80%);
    -moz-filter: grayscale(80%);
    -webkit-filter: grayscale(80%);
}

div#map:hover {
    filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    filter: none; /* Firefox 10+, Firefox on Android */
}



img#imghd {
    width: 250px;
    height: 260px;
    object-fit: cover;
    object-position: 0% 0%;
    margin: 50px auto 50px auto;
    display: block;
    float: none;
}
@media (min-width: 550px) {
    img#imghd {
        width: 450px;
        object-position: 50% 0%;
    }
}
@media (min-width: 1000px) {
    img#imghd {
        width: unset;
        height: unset;
        object-fit: unset;
        object-position: unset;
    }
}


img.topimg,
img.dwnimg {
    display: none;
}
@media (min-width: 1000px) {
    img.topimg {
        display: block;
        float: right;
        margin-top: 150px;
    }
    img.dwnimg {
        display: block;
        margin-top: 150px;
        margin-left: calc(50% - 41px);
    }
    img.topimg:hover,
    img.dwnimg:hover,
    img.sgctrl:hover {
        animation-name: shaky;
        animation-duration: 0.1s;
        animation-iteration-count: infinite;
        animation-timing-function: linear;
    }
}

img.gallery:hover,
img.prothmb:hover,
img.sgctrl:hover {
    cursor: pointer;
}


/* gallery */
div#sgbg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;    
    background: rgba(0,0,0,0.95);
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}
div.sgpro {
    display: none;
}
div.sgactpro {
    display: flex !important;
}
.hidslide {
    display: none;
}
div.progridlt {
    justify-content: center;
}
div#sgpopup {
    width: 100%;
    height: 100%;
}

div.proimgs {
    justify-content: center;  
}
@media screen and (orientation:portrait) {
    div#sgpopup {
        padding: 15px 10px 10px 10px;
    }
    div.progridlt {
	flex-direction: column;	
    }
    div.proimgs {
        display: flex;
        flex-direction: column;
    }
    img.prothmb {
        float: left;
        clear: none;
        margin-left: 0;
	margin: 5px 10px 0 0;
        max-width: 20vw;
    }
    div#vrview iframe {
        max-height: 70vh;
    }
}
@media screen and (orientation:landscape) {
    div#sgpopup {
        padding: 5px 5px 5px 5px;
    }
    div.progridlt {
	flex-direction: column;
    }
    div.proimgs {
        display: flex;
        flex-direction: row;
    }
    img.prothmb {
        float: right;
        clear: both;
        margin-left: 0;
	margin: 0 0 5px 10px;
        max-width: 10vw;
    }
    div#vrview iframe {
        max-height: 70vh;
    }
}


div#sgtop {
    width: 100%;
    /*height: 10%;*/
}
div#sgcontent {
    width: 100%;
    height: calc(100vh - 50px);
}
div.sgactpro {
    width: 100%;
    height: 100%;
}

div#sgprev {
    float: left;
}
div#sgprev img,
div#sgnext img,
div#sgclose img {
    height: 25px;
    width: auto;
    margin-bottom: 5px;
}
div#sgclose img {
    float: right;
}
div#sgnext img{
    margin-left: 20px;
}
img.proimg {
    object-fit: scale-down;
    margin: 0 auto 0 auto;
}
.progridlt img.proimg {
    max-height: 80vh !important;
}

.progridlt iframe {
    max-height: 80vh !important;
}

p.sgbottxt {
    font-size: 12px;
    text-align: center;
    font-style: italic;
    padding-top: 5px;
    color: #a0a0a0;
}

div.provertlt {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 1000px) {
    div#sgpopup {
        width: unset;
        height: unset;
    }
    div#sgcontent {
        width: unset;
        height: unset;
    }

    div#sgprev img,
    div#sgnext img,
    div#sgclose img {    
        height: auto;
        width: auto;
        margin-bottom: 10px;
    }
    p.sgbottxt {
        font-size: 16px;
        padding-top: 15px;	
    }
    img.prothmb {
        float: right;
        clear: both;
        margin: 0 0 10px 10px;
    }

}

