header{position:fixed;display: block; z-index:991;width:100%; top:0;left: 0;transition:all .2s;}
header .social-icons{position: relative;margin: 2px 0 0;float: right;}
header .social-icons a{opacity: .3;}
header .social-icons a:hover{opacity:1;}
header .header-logo{float: left;padding:10px;margin: 0;}
header .header-logo img{position: relative;display: block;height:90px;}
.home header .header-logo img{height:150px;}
.home header ul.menu{margin-top: 60px;}

header .ee-card > .header-logo img{height: 60px;}
header .ee-card > .header-logo{padding: 5px;}

header ul.menu{float: right;}
header ul.menu.ee-card{margin:10px 0 0;}
header ul.menu > li{display: block;float: left;}
header ul.menu > li > a{position:relative;display: block;padding: 30px 20px 25px;font-size:14px;color: #444;border-bottom: 3px solid #FFF;}
header ul.menu > li > a span{display: none;}
header ul.menu > li > a:hover, header ul.menu > li > a.active{border-bottom-color: #000;}
header ul.menu > li > a:before{content: '';display: block;position: absolute;background-color: rgba(0,0,0,.05);width: 1px;height: 45px;top: 15px;left: 0;}

header .search{ 

	display: none;

	background: #000;position: absolute;height:40px;width:50px;bottom:0;right:0;}
header .search input[type=submit]{display: none;position: absolute;right:-25px;top:0;height: 40px;width: 45px;background: #000 url(../img/icons/search.png) no-repeat center;border: none;z-index: 3; cursor: pointer; border-radius: 0;}
header .search input[type=text]{display: block;position: absolute;width:0px;margin: 0;height:40px;padding: 5px 30px 5px 10px;top: 0;right: 0;background: transparent url(../img/icons/search.png) no-repeat right center;border: none;z-index: 2;box-shadow:none;}
header .search:hover input[type=text], header .search input[type=text]:focus{width:280px;border-bottom: 1px dotted #333;background: #EEE url(../img/icons/search.png) no-repeat 500px center;right: -20px;}
header .search:hover input[type=submit]{display: block;}
header.on .search{top: 16px;}

header.on {background: rgba(255,255,255,.6);padding-bottom:20px;}
header.on .header-logo{margin-top: -180px;}
/*header.on .header-logo img{height:40px;}*/
header.on ul.menu > li > a{padding: 20px 20px 15px;}
header.on ul.menu .logo img{height: 40px;}
header.on ul.menu > li > a:before{height:30px;}
/*header.on ul.menu, .home header.on ul.menu{padding: 0 10px;margin-top: 10px;}*/


footer{padding-top:40px;margin-top:40px;background: #FFF;}
footer img{width: 80%;margin-top: 50px;}
footer ul {margin-bottom:20px;}
footer ul a{font-size: 18px;line-height: 28px;}
footer ul a:before{content: '>';font-weight: bold;opacity: .6;display: inline-block;margin-right:5px;opacity: .2;}
footer .sub{color: #999;background: #f0f0f0;padding: 20px 0;font-size: 12px;line-height: 20px;margin-top: 30px;}
footer .sub p.develop-by{text-align: right; font-weight: bold;}

.social-icons, .social-icons a {display: block;height: 40px;}
.social-icons a:before{transition: all 0.1s;display:inline-block;content: '';height: 40px;width: 40px;background:transparent no-repeat left 0;font-size: 12px;margin-right: 10px;vertical-align: middle;}
.social-icons a:hover:before{background-position: 0 -40px;}
.social-icons a.facebook:before{background-image: url(../img/icons/facebook.png);}
.social-icons a.facebook:hover:before {background-color: #3b5998 !important;}
.social-icons a.googleplus:before{background-image: url(../img/icons/googleplus.png);}
.social-icons a.googleplus:hover:before {background-color: #d94a39 !important;}
.social-icons a.twitter:before{background-image: url(../img/icons/twitter.png);}
.social-icons a.twitter:hover:before {background-color: #48c4d2 !important;}
.social-icons a.linkedin:before{background-image: url(../img/icons/linkedin.png);}
.social-icons a.linkedin:hover:before {background-color: #3b5998 !important;}
.social-icons a.skype:before{background-image: url(../img/icons/skype.png);}
.social-icons a.skype:hover:before {background-color: #18b7f1 !important;}

.overlay{display: block;position: fixed;top: 0;left: 0;width: 100%;height: 100%;background: #111;background: rgba(0,0,0,.7);z-index: 9999;}
.overlay .message{position: absolute;top: 50%;left: 50%;margin: -60px 0 0 -250px;width:500px;padding: 20px;color: #FFF;text-align: center;font-size: 1.5em;}
.overlay .message.success{background: green;}
.overlay .message.error{background: red;}
.overlay-form{position: relative;width: 30%;margin: 100px auto;padding-top: 30px;}
.overlay-form .close{position: absolute;top: 5px;left: inherit;right: 5px;margin: 0;width: 80px;}

.timer{display: block;height: 5px;position: absolute;top:0px;z-index: 2;width: 1px;}
.timer.animated{width: 100%;-webkit-transition: all 4.5s ease-in-out;-moz-transition: all 4.5s ease-in-out;-ms-transition: all 4.5s ease-in-out;-o-transition: all 4.5s ease-in-out;transition: all 4.5s ease-in-out;}

.home-map .map-header{position:relative;text-align:center;padding: 50px 0 10px;margin-bottom: -180px;background:#FFF;background:rgba(255,255,255,0.8);z-index:2;}
.home-map #gmaps{position:relative;min-height:500px;z-index:1;}
.home-map{display: block;position: relative;-webkit-filter: grayscale(100%);filter: grayscale(100%);filter: gray;margin-bottom: -40px;}
.home-map:hover{filter:none;-webkit-filter:none;}

.welcome{position: relative;padding:20px 30px;border-radius:4px;margin-top:-40px;}
.welcome * {color: #FFF;}
.welcome h1{padding:10px 0 0 20px;}
.welcome p{padding:0 0 0 20px;}
.welcome:before, .welcome:after{position: absolute;display: block;content: '';}
.welcome:before{border:20px solid transparent;border-left:0;width: 0;right:0;margin-right:300px;top: -20px;border-right-color: #ff1417;border-right-width: 700px;border-bottom: none;}
.welcome:after{border:40px solid transparent;border-right:0;width: 0;right:0;top: -40px;border-left-color:rgba(255,0,0,.3);border-left-width:300px;border-bottom: none;}


.about-feature{display: block;padding: 30px;background: #666;border-radius: 50%;height: 80px;width: 80px;margin: 0 auto 20px;}

.palomares-green{background: #00a188;}
.palomares-red{background: #ff1417;}

.gallery {text-align: center;padding: 50px 0}
.gallery a{display: inline-block;width: 20%;}
.gallery a img{width: 100%;}
.gallery.bw{-webkit-filter: grayscale(100%);filter: grayscale(100%);}
.gallery.bw a{width: 16.6%;}

.pd-gallery .mosaic{position:relative;width: 600px;height: 350px;margin: 0 auto;}
.pd-gallery .mosaic img{position: absolute;display: block;background: #f0f0f0;border: none;outline: none}
.pd-gallery .mosaic .mosaic--img-1{width: 45%;height: 25%;left: 15%;top: 0%;}
.pd-gallery .mosaic .mosaic--img-2{width: 40%;height: 25%;left: 0%;top: 25%;}
.pd-gallery .mosaic .mosaic--img-3{width: 50%;height: 45%;left: 40%;top: 25%;}
.pd-gallery .mosaic .mosaic--img-4{width: 30%;height: 30%;left: 10%;top: 50%;}
.pd-gallery .mosaic .mosaic--img-5{width: 25%;height: 30%;left: 50%;top: 70%;}
.pd-gallery .mosaic .mosaic--img-6{width: 25%;height: 25%;left: 75%;top: 70%;}
