/* 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;
display:none;
}

#topnav {
    width: 100%;
    margin: 0;
    padding: 1% 0;
    height: auto;
	vertical-align:top;
}

#topnav #page #halfblock {
    text-transform: uppercase;
    border: none;
}

#topnav #page #halfblock:nth-of-type(2) {
    text-align: right;
}

#header #halfblock {
    vertical-align: middle;
}

#header {
	vertical-align:top;
	padding: 20px 0 5px 0;
}

#header #thirdblock:nth-of-type(1) {
	vertical-align:top;
	margin: 1.5vw 0;
}
	
#header #thirdblock:nth-of-type(3) {
	position:relative;
	z-index:11;
}

#header #page {
	width: 92%;
}
	
#mobilenav {
        height: 40px;
        overflow: hidden;
        width: 100%;
        border: inherit;
        padding: 5px 0 2% 0!important;
        vertical-align: bottom;
        text-align: center;
        list-style: none;
        position: absolute;
        top: 2vw;
        z-index: 10;
        left: 0%;
	}
	
	#mobilenav #wrapper {
		background:black;
		height:inherit;
		width:100%;
		padding:3% 0;
		vertical-align:top;
		margin-top:-0.1%;
	}
	
	#mobilenav #wrapper li {
		margin-left:auto;
		margin-right:auto;
		font-size:30px;
		
	}
	
#mobilenav button {
	z-index: 10;
    border: none;
    padding-left: 5%;
}
		
#menu-selector img {
        height: 30px;
        width: auto;
        display: moz-inline-block;
        display: inline-block;
        list-style-type: none;
        zoom: 1;
        margin: 0 1% 20px 0;
        vertical-align: top;
		filter:brightness(100);
	}
	

#menu-selector span {
	display:none;}	
	
	

#logo {
    width: 32.5%;
    border: inherit;
    margin: 1% 0;
    vertical-align: middle;
	text-align: center;
	position:relative;
	z-index:11;
}

#logo a {
width: 100%;
height: 100%;
margin: 5% 0;
}

#logo a img {
width: 50%;
height: auto;
}

.phoneicon {
width: 10%;
}

#sidewrapper {
    width: 69.5%;
    border: inherit;
    padding: 5px 0;
    text-align: center;
    vertical-align: middle;
	position:relative;
	z-index:11;
}

#sociallinks {
width: 32.5%;
height: auto;
border: inherit;
padding: 5px 0;
vertical-align: middle;
text-align: center;
margin: 0 1%;
}

#sociallinks li {
display: moz-inline-block;
display: inline-block;
*display: inline;
list-style-type: none;
zoom: 1;
padding: 1.5%;    
}

#header #thirdblock:nth-of-type(3) {
	padding: 5px 0;
	text-align:right;
	vertical-align: middle;
}

#header #thirdblock:nth-of-type(3) #thirdblock{
	padding: 5px 0;
	text-align: center;
	vertical-align:middle;
}

#header #thirdblock:nth-of-type(3) button {
	/*padding: .5vw 2vw;*/
	padding:10px 40px;
	font-size:.8em;
}

#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;
}

#nav li a {
    width: auto;
    height: auto;
    padding: 10px 5px;
    font-size: 16px;
    text-align:  right;
}

/*#mobilenav {
display:none;
visibility: hidden;
}*/

/* mobile navigation */

#mobilenav {
    height: 40px;
    overflow:  hidden;
    width: 100%;
    border: inherit;
    padding: 5px 0 4% 0;
    vertical-align: bottom;
    text-align: center;
list-style:none;
}

#mobilenav button {
    z-index: 10; 
}

#menu-selector { /* button changes */
text-align: left;
width: 100% !important;
border-radius: 0;

/* standard */
height: 50px;
background: transparent;
position: relative;
padding: 1%;
margin-bottom: 2.5%;
display: block;
font-size: 2em;

}

#mobilenav ul {
margin: 0;
padding: 0;
}

#mobilenav ul li,#mobilenav li {
background: inherit;
text-align: center;

display: moz-inline-block;
display: inline-block;
*display: inline;
list-style-type: none;
zoom: 1;
width: auto;
height: auto;
padding: 1% 0;
display: block;
}

#mobilenav ul li a, #mobilenav li a {
color:  inherit;
width: auto;
height: auto;
padding: 10px 20px;
font-size: 1em;
text-decoration: none;
}

#drop li a, .children li a  {
background: gray !important;
display: block;
margin: 0;
text-align: center !important;
font-size: 1.5em !important;
}
 
#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{
	display:none;
	}
}