* {border: none; padding: 0px; margin: 0px; outline: none;}
body {width: 100%; min-height: 768px; overflow: auto; background: #ffffff; font-family: 'Roboto', sans-serif; font-weight: 300; color: #000000; font-size: 16px;}
.left {float: left;}
.right {float: right;}
.hidden {display: none;}
.clear {clear:both;}


/*-----HEADER-----*/
#header {width: 90%; margin-left: 5%; min-height: 200px; overflow: auto; margin-top: 2%; margin-bottom: 2%;}
#header .logo {width: 25%;}
#header .logo img.meriden_logo {width: 50%;}

#header .mobile_menu {display: none;}

#header .menu {width: 50%; margin-top: 5%;}
#header .menu ul {width: 100%; margin: 0px auto;}
#header .menu ul li {display: inline-block; margin-left: 18%;}
#header .menu ul li:first-of-type {margin-left: 3%;}
#header .menu ul li a {font-weight: 500; color: #6f81a3; font-size: 24px; cursor: pointer; text-decoration: none;}
#header .menu ul li:hover a {color: #75bd82;}

#header .icons {width: 25%; margin-top: 4.5%;}
#header .icons img.icon {width: 10%; margin-left: 8%; cursor: pointer;}


/*-----MIDDLE-----*/
#container {width: 100%; overflow: auto;}
#container #slider {width: 100%; overflow: auto;}
#container #slider .slide {width: 49.8%; overflow: auto; position: relative;}
#container #slider .slide .layout {position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; background: rgba(3, 36, 62, 0.7); z-index: 5;}
#container #slider .slide .layout img.layaout_img{max-width: 100%; height: 20%; margin: 10% 0% 5% 37.5%;}
#container #slider .slide .layout .empty_img{max-width: 100%; height: 20%; margin: 10% 0% 5% 37.5%;}
#container #slider .slide .layout .text{margin-left: 20%; width: 60%; min-height: 20%;}
#container #slider .slide .layout .text p{color: #ffffff; line-height: 1.5; font-weight: 100; font-size: 18px;}
#container #slider .slide .layout a{text-decoration: none;}
#container #slider .slide .layout p.button{text-align: center; border: 2px solid #ffffff; color: #ffffff; margin: 5% 0% 0% 41.7%; width: 16%; padding: 2% 0%; font-weight: 500; -webkit-border-radius: 30px; -moz-border-radius: 30px; border-radius: 30px; text-decoration: none;}
#container #slider .slide img.slide_img {width: 100%; max-height: 674px;}

#container .under_construction {width: 100%; height: 660px; overflow: auto; margin: 0px auto 0px auto; background: url(images/under_construction.jpg); background-repeat: no-repeat; background-size: auto 85%; background-position: center top;}
/*-----FOOTER-----*/



@media only screen and (max-width: 1880px) {
    #header .menu ul li {margin-left: 17%;}
}
@media only screen and (max-width: 1758px) {
    #header .menu ul li {margin-left: 16%;}
}
@media only screen and (max-width: 1652px) {
    #header .menu ul li {margin-left: 15%;}
}
@media only screen and (max-width: 1557px) {
    #header .menu ul li {margin-left: 14%;}
}
@media only screen and (max-width: 1473px) {
    #header .menu ul li {margin-left: 13%;}
}
@media only screen and (max-width: 1398px) {
    #header .menu ul li {margin-left: 12%;}
}
@media only screen and (max-width: 1330px) {
    #header .menu ul li {margin-left: 11%;}
}
@media only screen and (max-width: 1268px) {
    #header .menu ul li {margin-left: 10%;}
}


/*-----MOBILE-----*/
@media only screen and (max-width: 1249px) {
    body {font-size: 40px;}

    #header {width: 100%; margin-left: 0%; height: 200px;}
    #header .logo {width: 33%; height: 200px;}
    #header .logo img.meriden_logo {height: 100%; width: auto; margin-left: 25%;}

    #header .mobile_menu {display: block; width: 33%; height: 200px; background: url(images/menu_icon.png); background-repeat: no-repeat; background-size: 40% 85%; background-position: 15% 50%;}

    #header .menu {width: 100%; display: none; position: absolute; z-index: 15; top: 185px;}
    #header .menu ul {width: 100%; background: #ffffff;}
    #header .menu ul li {display: block; text-align: center; margin-left: 0px; padding: 3% 0px; border-bottom: 3px solid #99badb;}
    #header .menu ul li:first-of-type {margin-left: 0px; border-top: 3px solid #99badb;}
    #header .menu ul li:last-of-type {border-bottom: 0px;}
    #header .menu ul li a {color: #99badb; font-size: 50px;}

    #header .icons {width: 34%; margin-top: 6.5%;}
    #header .icons img.icon {height: 25%; width: auto; margin-left: 5%;}
    #header .icons img.icon:first-of-type {margin-right: 5%;}

    #container #slider .slide {width: 100%; overflow: auto; position: relative; margin-bottom: 0.5%;}
    #container #slider .slide:last-of-type {margin-bottom: 0px;}
    #container #slider .slide .layout .text{margin-left: 10%; width: 80%;}
    #container #slider .slide .layout .text p{font-size: 30px;}
    #container #slider .slide .layout p.button{margin: 5% 0% 0% 37.2%; width: 25%;}
    #container #slider .slide img.slide_img {max-height: 1000px;}

	#container .under_construction {width: 100%; height: 660px; overflow: auto; margin: 0px auto 0px auto; background: url(images/under_construction.jpg); background-repeat: no-repeat; background-size: auto 100%; background-position: center top;}
}
@media only screen and (max-width: 1050px) {
	#header .logo img.meriden_logo {margin-left: 23%;}
}
@media only screen and (max-width: 999px) {
	#header .logo img.meriden_logo {margin-left: 22%;}
}
@media only screen and (max-width: 949px) {
	#header .logo img.meriden_logo {margin-left: 20%;}
}
@media only screen and (max-width: 938px) {
	#header .logo img.meriden_logo {margin-left: 18%;}
	#container #slider .slide .layout .text p{font-size: 25px;}
}
@media only screen and (max-width: 899px) {
	#header .logo img.meriden_logo {margin-left: 17%;}
}
@media only screen and (max-width: 849px) {
	#header .logo img.meriden_logo {margin-left: 15%;}
}
@media only screen and (max-width: 799px) {
	#header .logo img.meriden_logo {margin-left: 13%;}
}
@media only screen and (max-width: 785px) {
	#container #slider .slide .layout .text p{font-size: 20px;}
	#header .logo img.meriden_logo {margin-left: 10%;}
}
@media only screen and (max-width: 781px) {
	#header .icons img.icon {height: 20%; margin-left: 4%;}
	#header .icons img.icon:first-of-type {margin-right: 4%;}
}
@media only screen and (max-width: 749px) {
	#header .logo img.meriden_logo {margin-left: 8%;}
}
@media only screen and (max-width: 745px) {
	#header .icons img.icon {height: 15%; margin-left: 3%;}
	#header .icons img.icon:first-of-type {margin-right: 3%;}
}
@media only screen and (max-width: 713px) {
	#header .logo img.meriden_logo {margin-left: 6%;}
	#header .icons img.icon {height: 10%; margin-left: 2%;}
	#header .icons img.icon:first-of-type {margin-right: 2%;}
}
@media only screen and (max-width: 681px) {
	#header .logo img.meriden_logo {margin-left: 4%;}
	#header .icons img.icon {height: 5%; margin-left: 1%;}
	#header .icons img.icon:first-of-type {margin-right: 1%;}
}