/** *************************************** **
	
	@Author			Avanzare
	@Website		www.avanzare.co
	@Last Update	07:20 PM Sunday, April 08, 2014

	TABLE OF CONTENTS
	---------------------------
	 1. Typography
	 2. Preloader
	 3. Misc
	 4. Home
	 5. Overlay
	 6. About
	 7. Contact
	 8. Media Queries


 **  *************************************** **/



/** 1. TYPOGRAPHY
 *****************************************************************/
html,
body {
	height: 100%;
	-webkit-font-smoothing: antialiased;
}

body {
	overflow-x:hidden;
	color: #999;
	background: #fff;

	font-family: 'Open Sans', sans-serif;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;

	padding: 0px !important;
	margin: 0px !important;
	border: 0px !important;

	height: 100%;
	width: 100%;
	line-height: 1.55;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 300;
	padding: 0; 
	margin: 0;
	color: #fff;
}

h1 {
	font-size: 45px;
	line-height: 45px;
}

h2 {
	font-size: 35px;
	line-height: 35px;
}

h3 {
	font-size: 30px;
	line-height: 30px;
}

h4 {
	font-size: 24px;
	line-height: 24px;
}

h5 {
	font-size: 18px;
	line-height: 18px;
}

h6 {
	font-size: 14px;
	line-height: 14px;
}

p {
	font-size: 14px;
}

a, a:hover, a:focus {
	cursor: pointer;
	text-decoration:none;

	transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	-webkit-transition: all 0.3s ease 0s;
	-o-transition: all 0.3s ease 0s;
}

/** 2. PRELOADER
 *****************************************************************/
#prelaoder {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10,10,10,1);
    z-index: 1000;
}

.spinner {
    position: fixed;
    width: 100%;
    top: 70%;
    height: 30px;
    text-align: center;
    font-size: 10px;
}

.spinner,
.spinner-inner {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	border: 9px solid white;
	border-color: transparent white;
	margin: auto;
}
	
.spinner {
	width: 85px;
	height: 85px;
	-webkit-animation: spin 2.2s linear 0s infinite normal;
	-moz-animation: spin 2.2s linear 0s infinite normal;
	animation: spin 2.2s linear 0s infinite normal;
}

.spinner-inner {
	width: 40px;
	height: 40px;
	-webkit-animation: spinback 1.2s linear 0s infinite normal;
	-moz-animation: spinback 1.2s linear 0s infinite normal;
	animation: spinback 1.2s linear 0s infinite normal;
}

@-webkit-keyframes spin {
	from { -webkit-transform: rotate(0) }
	to { -webkit-transform: rotate(360deg) }
}

@-moz-keyframes spin {
	from { -moz-transform: rotate(0) }
	to { -moz-transform: rotate(360deg) }
}

@keyframes spin {
	from { transform: rotate(0) }
	to { transform: rotate(360deg) }
}

@-webkit-keyframes spinback {
	from { -webkit-transform: rotate(0) }
	to { -webkit-transform: rotate(-360deg) }
}

@-moz-keyframes spinback {
	from { -moz-transform: rotate(0) }
	to { -moz-transform: rotate(-360deg) }
}

@keyframes spinback {
	from { transform: rotate(0) }
	to { transform: rotate(-360deg) }
}

/** 3. MISC
 *****************************************************************/
#bg-darker {
	background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

#bg-pattern {
	background: url("../img/pattern.png") repeat fixed !important;    
	position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

@-webkit-keyframes fadeOutDownBig {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(2000px);
    -ms-transform: translateY(2000px);
    transform: translateY(2000px);
  }
}

@-webkit-keyframes fadeInUpBig {
  0% {
    opacity: 1;
    -webkit-transform: translateY(2000px);
    transform: translateY(2000px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

.tubular-mute {
	top: 20px;
	right: 20px;
	margin: 0 0 0 -15px;
	position: fixed;
	z-index: 10;
	width: 30px;
	height: 30px;
	line-height: 26px;
	font-size: 20px;
	text-align: center;
	border-radius: 50%;
	border: 1px solid #666;
	color: #666;
	cursor: pointer;	
}

.tubular-mute:hover {
	color: #fff;
}

.modal-title { 
	color:#999 
}

.modal-dialog { 
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%) !important;
	-moz-transform: translate(-50%,-50%) !important;
	-ms-transform: translate(-50%,-50%) !important;
	-o-transform: translate(-50%,-50%) !important;
	transform: translate(-50%,-50%) !important;
}

/** 4. HOME
 *****************************************************************/ 
#home {
	overflow: hidden !important;
	display: table;
	width: 100%;
	height: 100%; 
	min-height: 100%;
}

.content-block {
	opacity: 0;
	padding-left: 50px !important;
	overflow: hidden !important;
	display: table-cell;
    vertical-align: middle !important;
	text-align: left;
	text-transform: uppercase;
	width: 100%;
}

.content-block img {
	max-width: 100px;
	margin-bottom: 4px;
}

.content-block img:nth-child(2){
	margin-bottom: 2px;
}

.content-block hr.logo {
    margin: 0 auto 5px 0;
	display: block;
	width: 300px;
	height: 1px;
	border: none;
	margin-top: 5px;
	background: #FFC801;
}

.content-block hr.large {
    margin: 0 auto 0 0;
	display: block;
	max-width: 900px;
	height: 1px;
	border: none;
	margin-top: 5px;
	background: #FFC801;
}

.content-block p {
	line-height: 25px;
	font-size: 22px;
	font-style: normal;
	font-variant: normal;
	font-weight: 300;
	letter-spacing:0.5px;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	font-weight: 400 !important;
}

.content-block h1 {
	font-size: 70px;
	line-height: 70px;
	font-weight: 300;
	font-family: 'Open Sans', sans-serif;
	text-transform: uppercase;
	margin-bottom: 0px;
}

.content-block h1 span {
	color: #FFC801;
}

.content-block h4 {
	margin-top: 10px;
	font-size: 18px;
	line-height: 25px;
	font-weight: 300;
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	text-transform: none;
	cursor: pointer;
	transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	-webkit-transition: all 0.3s ease 0s;
	-o-transition: all 0.3s ease 0s;
}

.content-block h4 i {
	vertical-align: middle !important;
	margin-left: 8px;
	font-size: 35px;
	color: #FFC801;
	cursor: pointer;
}

.content-block h4:hover {
	color: #FFC801;
}

#footer {
	display: none;
	background: rgba(0,0,0,1) !important;
	position: absolute;
	overflow: hidden;
	bottom: 0;
	width: 100%;
	height: 65px;
	text-align: left;
	padding-left: 50px;
	box-shadow: 0px -1px 5px rgba(255, 255, 255, 0.08);
}


#footer p {
	color: #666;
	display: inline-block;
	line-height: 65px;
	font-size: 13px;
	font-family: 'Montserrat', sans-serif;
}

#footer a p {
	text-transform: uppercase;
	color: #fff;
}

/** 5. OVERLAY
 *****************************************************************/
#overlay { 
	display: none;
	background: rgba(0, 0, 0, 0.6) url('../img/pattern-overlay.png');
    position: absolute !important;
	overflow: hidden;
	width: 100%;
	width: 100%;
	min-height: 100%;
    z-index: 1000;
}

.overlay-content {
	display: none;
	min-height: 100%;
	height: 100%;
	margin-bottom: 100px;
}

#open-contact,
#close-contact {
	border: none;
	background: rgba(0, 0, 0, 0);
	outline: none;
	position: absolute;
	bottom: 0;
	left: 50%;
	max-width: 49px !important;
	width: 49px !important;
	margin-left: -24.5px !important;
	margin: 0;
	padding: 0;
	font-size: 57px;
	line-height: 57px;
}

#open-contact {
	display: none;
	color: #000;
	background: rgba(255, 255, 255, 1);
}

#close-contact {
	color: #fff;
	background: rgba(0, 0, 0, 1);
}	

#close-overlay {
	width: 80px;
	height: 80px;
	overflow: hidden;
	border: none;
	background: url(../img/cross.png) no-repeat center center;
	color: rgba(0, 0, 0, 0);
	outline: none;
}

/** 6. ABOUT
 *****************************************************************/
#overlay-about .container {
	text-align: center;
	margin-top: 8%;
}

#overlay-about h1 {
	margin-top: 20px;
	margin-bottom: 20px;
}

#overlay-about p {
	max-width: 600px;
	margin: 0 auto 30px;
	text-align: center;
}

#overlay-about h5 {
	margin-bottom: 15px;
}

.subscribe-form {
	display: inline-block;
	border: rgba(255, 255, 255, 0.4) 4px solid;
	max-width: 500px;
	background: rgba(255, 255, 255, 0.4);
}

.subscribe-form:after {
	padding-bottom: 50px;
	padding-right: 100px;
	border-right: 2px #fff solid;
	border-bottom: 2px #fff solid;
}

.subscribe-form input {
	border: 0;
	border-radius: 0px !important;
	box-shadow: none;
	background: #FFF;
	color: #000;
}

.subscribe-form button {
	border: 0;
	border-radius: 0px !important;
	box-shadow: none;
	background: #222;
	font-weight: 700;
	text-transform: uppercase;
	transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	-webkit-transition: all 0.3s ease 0s;
	-o-transition: all 0.3s ease 0s;
}

.subscribe-form button:hover {
	outline: none;
	background: #999;
}

.subscribe-form button:focus,.subscribe-form button:active {
	outline: none !important;
	background: #333;
}

.subscribe-form .btn-primary[disabled] {
	background: #333;
	border-color: #333;
}
	 
.status-message {
	font-style: italic;
	font-size: 14px;
	color: #FFF;
	height: 26px;
	text-align: center;
}

#overlay-about .social-icons {
	list-style: none;
	text-align: center;
	margin: 5px 0 20px 0;
	padding: 0;
}

#overlay-about .social-icons li {
	display: inline-block;
	margin-left: 8px;
	margin-right: 8px;
}

#overlay-about .social-icons li a {
	color: #919191;
	font-size: 20px;
	border: 1px solid #919191;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	line-height: 38px;
}

#overlay-about .social-icons li a:hover {
	color: #fff;
	border: 1px solid #fff;
}

/** 7. CONTACT
 *****************************************************************/
#overlay-contact {
	overflow: hidden !important;
	position: absolute !important;
	background: #FFF;
	top: 0;
    left: 0;
    right: 0;
    bottom: 0;
	-webkit-animation-duration: 1.4s !important;
    animation-duration: 1.4s !important;
}

#overlay-contact .container {
	text-align: center;
	margin-top:9%;
}

#overlay-contact h1 {
	color: #000;
	margin-bottom: 15px;
}

#overlay-contact .border {
	background: none repeat scroll 0 0 #999;
	display: block;
	height: 2px;
	margin: 0 auto;
	width: 100px;
	margin-bottom: 30px;
}

#overlay-contact p {
	max-width: 410px;
	margin: 0 auto 10px;
	color: #999;
}

#overlay-contact form { 
	margin-top: 20px;
	text-align: center;
	font-size: 18px;

}

#overlay-contact form .control-group { 
	width: 410px;
	margin-left: auto;
	margin-right: auto;
}

#overlay-contact form label {
	font-weight: normal;
	float: left;
	color: #999;
	font-family: 'Montserrat', sans-serif;
}

#overlay-contact form input,textarea {  
    overflow: hidden;
	background: #F5F5F5;
	border: none;
	border-radius: 0;
	font-size: 14px;
	height: 50px;
	width: 410px;
	margin-bottom: 10px;
	padding-left: 10px;
	border-radius: 3px;
	color: #999;
	box-shadow: 0 0px 3px rgba(0, 0, 0, 0.22) inset;
	-moz-box-shadow: 0 0px 3px rgba(0, 0, 0, 0.22) inset;
	-webkit-box-shadow: 0 0px 3px rgba(0, 0, 0, 0.22) inset;
	-o-box-shadow: 0 0px 3px rgba(0, 0, 0, 0.22) inset;
	transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-webkit-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
}

#overlay-contact form textarea {
	height: 110px;
	resize: none !important; 
}

#overlay-contact form input:focus,active {
    border: solid 1px #fff;
    outline: none;
	background: #E1E1E1;
}

#overlay-contact form textarea:focus,active {
    border: solid 1px #fff;
    outline: none;
	background: #E1E1E1;
}

#overlay-contact form button {
	font-family: 'Montserrat', sans-serif;
	background: #222;
	height: 50px;
	color: #fff;
    width: 150px;
    line-height: 50px;
    text-align: center;
    display: inline-block;
	border: none;
	border-radius: 0;
	font-size: 18px;
    padding: 0 10px 0 10px;
	float: none;
	transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	-webkit-transition: all 0.3s ease 0s;
	-o-transition: all 0.3s ease 0s;
}

#overlay-contact form button:hover,#contact form button:active {
    outline: none;
    background: #999;
}

.contact-form .status-message-contact {
	font-size: 20px; 
	font-style: italic; 
	margin-top: 15px;
}

/** 8. MEDIA QUERIES
 *****************************************************************/
@media only screen and (max-width: 768px) {
	
	.content-block {
		padding-left: 15px !important;
	}
	
	#countdown {
		padding-left: 15px !important;
	}
	
	.content-block h1 {
		font-size: 50px;
		line-height: 50px;
	}
	
	#overlay-about .container {
		margin-bottom: 70px;
	}
	
}
	
@media only screen and (max-width: 480px) {
	
	.input-group, .input-group input, .input-group .input-group-btn, .input-group .btn {
        width: 100%;
        display: block;
        margin: 0 !important;
        text-align: center;
        float: none !important;
    }
	
	#overlay-contact form .control-group { 
		width: 310px;
	}
	
	#overlay-contact form input,textarea {  
		width: 310px;
	}
	
	.content-block {
		padding-left: 3px !important;
	}
	
	#overlay-about .container {
		margin-bottom: 36px;
	}

}

@media only screen and (max-width: 400px) {
	
	.content-block h1 {
		font-size: 40px;
		line-height: 40px;
	}
	
	#overlay-contact form .control-group { 
		width: 250px;
	}
	
	#overlay-contact form input,textarea {  
		width: 250px;
	}
	
}