/* You can change this file 
---------------------------
Please use the IDs provided as much as possible
This css file is for everything related to the html,body and #header section
*/

@media only screen and (min-width: 1000px) { 

/* width {width: 100%;} */

html, body {width: 100%;}
#page {width: 96%;}
#header {width: 100%;}
#main {width: 100%;}
#footer {width: 100%;}

/* height {height: auto;} */

html, body {height: auto;}
#page {height: auto;}
#header {height: auto;}
#main {height: auto;}
#footer {height: auto;}

/* border {border: 1px solid white;} */

/* */html, body ,
#page ,
#header ,
#main, 
#footer {border: 0px solid black;} 

/* padding {padding: 0 0 0 0;} */

html, body {padding: 0 0 0 0;}
#page {padding: 0 0 0 0;}
#header {padding: 0 0 0 0;}
#main {padding: 0 0 0 0;}
#footer {padding: 0 0 0 0;}

/* margins {margin: 0 auto 0 auto;} */

html, body {margin: 0 auto 0 auto;}
#page {margin: 0 auto 0 auto;}
#header {margin: 0 auto 0 auto;}
#main {margin: 0 auto 0 auto;}
#footer {margin: 0 auto 0 auto;}

/* detail */

html, body {
    margin: 0;
    padding: 0;
    border: 0px solid white;
    vertical-align: top;
}

#mobilemessage {
display: none !important;
}

.background {
display: block;
width: 100%;
height: auto;
position: fixed;
}
	
img.background {
	height:55vw;
	object-fit:cover;
	filter:brightness(0.8);
}

	
#wrapper:has(.background) {
	position:relative;
	width:100%;
	height:55vw;
}
	

video.background{
	width: 100%;
	position:absolute;
    height: 60vw;
    padding: 0;
    margin: -5vw 0 0 0;
	z-index:-1;
	filter:brightness(0.8);
}

video.background source {
	width: 100%; 
	height: 60vw; 
	padding:0; 
	margin: 0;
}

img.overlay {
	position: absolute; 
	width: 100%;
	height: 53vw;
	left: 0; 
	top:0; 
	opacity: .3;
	display: block;
}
	
#wrapper:not(#wrapper:has(.background)) #logo {
margin:1.5% 0!important;}

#header, #gallery {
	z-index:4;
	position:relative;
}

#topnav {
    width: 100%;
    margin: 0;
    padding: 0% 0;
	display:none;
    height: auto;
}

#topnav #page #halfblock {
    text-transform: uppercase;
    border: none;
}

#topnav #page #halfblock:nth-of-type(2) {
    text-align: right;
}

#header #halfblock {
    vertical-align: middle;
}

#logo {
    width: 24.5%;
    border: inherit;
    margin: 3% 0;
    vertical-align:  middle;
}

#logo a {
width: 100%;
height: 100%;
margin: 5% 0;
}

#logo a img {
width: 70%;
height: auto;
}

.phoneicon {
width: 10%;
}

#sidewrapper {
    width: 74.5%;
    border: inherit;
    padding: 5px 0;
    text-align: right;
    vertical-align: middle;
}

#navwrapper {
	width:84.5%!important;
}

#sociallinks {
width: 14.5%;
height: auto;
border: inherit;
padding: 0;
}

#sociallinks li {
display: moz-inline-block;
display: inline-block;
*display: inline;
list-style-type: none;
zoom: 1;
padding: 1% 3%; 
font-size:1vw;   
}


#nav {
    width: 99%;
    border: inherit;
    padding: 5px 0;
    text-align: right;
}

#nav li {
display: moz-inline-block;
display: inline-block;
*display: inline;
list-style-type: none;
zoom: 1;
width: auto;
height: auto;
padding: 5px 0vw;
}

#nav li a {
    width: auto;
    height: auto;
    padding: 10px 0.8vw;
    font-size:0.9vw;
    text-align:  right;
	text-transform:uppercase;
}

#mobilenav {
display:none;
visibility: hidden;
}
    
#div {
height: 150px;
width: 92%;
margin-left: auto;
margin-right: auto;
border: inherit;
vertical-align: top;
text-align: left;
padding: 2%; }

.inline	{
display: moz-inline-block;
display: inline-block;
*display: inline;
list-style-type: none;
zoom: 1;
}
    
a img, img a {
    border: none;
} 

img {
max-width: 100%;
height: auto;
}

.sub-menu {
        white-space: nowrap;
    }
	

    .sub-menu, .children {
        display: none;
        position: absolute !important;
        /*width: auto;*/
        width: 220px !important;
        background: black;
        color: white !important;
        margin-top: 0.2vw;
		margin-left:1.4%;
        padding: 0w 0vw;
        border-radius: 0px !important;
        overflow: hidden;
        z-index: 200;
    }
	
.sub-menu li a {
	font-size:0.8vw!important;
	padding:0!important;
	}
	
.sub-menu li {
	border-bottom:1px solid #ffffff7d;}

.sub-menu li, .children li {
        display: block !important;
        padding:0.5vw 1vw!important;
        height: auto;
        width: 100%;
        position: relative;
        z-index: 100;
        text-align: left;
    }


}