/** ***************************************
	
	@Author			Avanzare
	@Website		www.avanzare.co
	@Last Update	11:05 AM Saturday, Feburary 15, 2014

	TABLE OF CONTENTS
	---------------------------
	 1. Typography
	 2. Header
	 3. Content
	 4. Newsletter
	 5. Preloader
	 6. Media Queries

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



/** 1. TYPOGRAPHY
 *****************************************************************/
body {
	overflow-x:hidden;
	color: #666;
	background:#fff;

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

	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: 'Open Sans';
	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;
}

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

	-webkit-transition: background 300ms;
	   -moz-transition: background 300ms;
		 -o-transition: background 300ms;
			transition: background 300ms;
}


/** 2. HEADER
 *****************************************************************/
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15,17,19,0.8);
    text-align: center;
    color: #fff;
    z-index: 100;
    padding: 10px;
    display: block;
}

/** 3. CONTENT
 *****************************************************************/ 
#content {
    position: fixed;
    left: 50%;
    top: 50%;
    display: inline-block;
    max-width: 900px;
    z-index: 2;
    color: #FFF;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

#content hr {
    width: 230px;
    height: 1px;
    color: #fff;
    background: #FFF;
    margin: 2px auto;
    border: 0px;
}

 
/** 4. NEWSLETTER
 *****************************************************************/
#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 0;
    z-index: 2;
    background: rgba(15,17,19,0.8);
    text-align: left;
}

#footer form {
    border: rgba(255, 255, 255, 0.2) 6px solid;
    position: relative;
}

#footer input {
    border: 0;
    border-radius: 0px;
    box-shadow: none;
    background: #FFF;
    color: #000;
}

#footer button {
    border: 0;
    border-radius: 0px;
    box-shadow: none;
    background: #333;
    font-weight: 700;
}

#footer button:hover {
    margin-left: 1px;
    background: #fff;
    color: #333;
}

#footer button:focus,#footer button:active {
    outline: none;
    border: none;
}

#footer .status-message {
    font-style: italic;
    font-size: 16px;
    height: 12px;
    text-align: left;
}

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

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

.spinner > div {
    background-color: #fff;
    height: 100%;
    width: 6px;
    display: inline-block;
    -webkit-animation: stretchdelay 1.2s infinite ease-in-out;
    animation: stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes stretchdelay {
    0%, 40%, 100% { -webkit-transform: scaleY(0.4); }
    20% { -webkit-transform: scaleY(1.0); }
}

@keyframes stretchdelay {
    0%, 40%, 100% { transform: scaleY(0.4); -webkit-transform: scaleY(0.4); }
    20% { transform: scaleY(1.0); -webkit-transform: scaleY(1.0); }
}

#overlay {
	background: rgba(0, 0, 0, 0.1) url('../img/pattern.html');
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

/** 6. MEDIA QUERIES
 *****************************************************************/
 
@media only screen and (max-width: 768px) {
	
    .countdown_amount {
        font-size: 68px;
    }
	
}

@media only screen and (max-width: 480px) {
	
    .countdown_amount {
        font-size: 38px;
    }

    #footer .status-message {
        font-size: 12px;
        text-align: center;
    }

    #footer {
        padding-top: 10px;
        padding-bottom: 10px;
        border: 0;
    }

    .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;
    }
	
}

@media only screen and (min-width: 400px) and  (max-height: 770px) {
	
    #content { top: 40%; }
	
}

@media only screen and (max-height: 400px) {
	
    #content .social-box,#header{ display: none !important; }
    #content { top: 30%; }

}
