/* ----------------------------------

Abacus
Version: 1.0
Author: BootExpress

-------------------------------------

Table of contents

	01. Main Styles
	02. Typography
    03. Other
    	-Loader
	
	04. Intro 
		-Intro Text
		-subscribe Form
		-Social Links
	05. Countdown 
	06. Modal
		-About
		-Service
		-Contact Info
	 07. Preview CSS
*/


/* ===================================
   01. Main Styles
====================================== */
html,
body {
	height: 100%;
}
body {
	font-family: 'Roboto', sans-serif;
}




/* ===================================
    02. Typography
====================================== */
h1,h2,h3,h4,h5,h6 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	letter-spacing: 0.02em;
}
h1 {
	color: #333;
	font-size: 45px;
}
h2 {
	font-size: 30px;
	color: #151e2b;
	margin-bottom: 15px;
}
h3 {
	color: #282828;
	font-size: 24px;
}
h4 {
	font-size: 14px;
	color: #282828;
}
p {
	font-size: 17px;
	line-height: 30px;
	letter-spacing: 0.03em;
	color: #151e2b;
}
a:hover,
a:focus {
	text-decoration: none;
	outline: none;
}
ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none
} 




/* ===================================
    03. Colour Style
====================================== */
#loader{
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #fff;
    z-index: 99999;
}
#loaderInner {
    display: block;
    margin:0 auto;
    width: 41px;
    height: 41px;
    top: 50%;
    margin-top: -20px;
    position: relative;
    border: 6px solid;
    border-color: #079ebe;
    animation: loader 2.3s infinite ease;
    -webkit-animation: loader 2.3s infinite ease;
}

.loader-inner-animation {
    vertical-align: top;
    display: inline-block;
    width: 100%;
    background-color: #079ebe;
    animation: loader-inner 2.3s infinite ease-in;
    -webkit-animation: loader-inner 2.3s infinite ease-in;
}

@keyframes loader {
    0% {
        transform: rotate(0deg);
    }
    
    25% {
        transform: rotate(180deg);
    }
    
    50% {
        transform: rotate(180deg);
    }
    
    75% {
        transform: rotate(360deg);
    }
    
    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes loader {
    0% {
         -webkit-transform: rotate(0deg);
    }
    
    25% {
         -webkit-transform: rotate(180deg);
    }
    
    50% {
         -webkit-transform: rotate(180deg);
    }
    
    75% {
         -webkit-transform: rotate(360deg);
    }
    
    100% {
         -webkit-transform: rotate(360deg);
    }
}

@keyframes loader-inner {
    0% {
        height: 0%;
    }
    
    25% {
        height: 0%;
    }
    
    50% {
        height: 100%;
    }
    
    75% {
        height: 100%;
    }
    
    100% {
        height: 0%;
    }
}

@-webkit-keyframes loader-inner {
    0% {
        height: 0%;
    }
    
    25% {
        height: 0%;
    }
    
    50% {
        height: 100%;
    }
    
    75% {
        height: 100%;
    }
    
    100% {
        height: 0%;
    }
}

/* ===================================
   04. Intro
====================================== */
.main-section{
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-image: url(images/bg.jpg);
	background-repeat: no-repeat;
	background-position: top center;
	-webkit-background-size: cover;
	background-size: cover;
	overflow: hidden;
	-webkit-perspective: 700px;
	perspective: 700px;
}
.main-section.video{
    background-image:none;
}
.video-bg{
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: -1;	
}
.main-section:after {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background: url(images/overlay.png);
	background-repeat: repeat;
}
.dtable {
	position: absolute;
	display: table;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 4;
	opacity: 1;
	-webkit-transform: rotateY(0deg) scale(1);
	transform: rotateY(0deg) scale(1);
    -webkit-transform-origin: center right;
    transform-origin: center right;
    -webkit-transition: all 1s;
    transition: all 1s;
    
}
.dtable.slideRight{
	left: 80px;
}
.dtable.inactive {
    -webkit-transform: rotateY(-15deg) scale(0.5);
    transform: rotateY(-15deg) scale(0.5);
    opacity: 0;
}
.dtable-cell {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}
/*Intro Text*/
.intro-text h2{
    color: #151e2b;
    letter-spacing: 0.3em;
    font-size: 20px;
    text-transform: uppercase;
    margin-top: 15px;
    font-family: 'Montserrat', sans-serif;
}
.intro-text p{
	color: #151e2b;
}
/*subscribe Form*/
.subscribe{
	display: inline-block;
    position: relative;
}
.subform input[type=email] {
    display: inline-block;
    border: 0;
    min-height: 40px;
    padding: 0 1em;
}
.subform input[type=email]:hover,
.subform input[type=email]:focus{
	outline: none;
}
.subform-btn {
	position: relative;
    display: inline-block;
    margin-left: -4px;
    min-height: 40px;
    padding: 0 20px;
    outline: none;
    color: #fff;
    border: 1px solid;
    overflow: hidden;
    -webkit-transition: all .4s cubic-bezier(.47,0,.745,.715);
    transition: all .4s cubic-bezier(.47,0,.745,.715);
}
.subform-btn:active, 
.subform-btn:focus, 
.subform-btn:hover {
    background-color: #fff;
    outline: none;
}
.subform-btn:after{
	position: absolute;
	content: "\f1d8";
	font-family: 'FontAwesome';
    font-size: 15px;
	width: 100%;
	height: 100%;
	left: 0;
	top: 100%;
	padding-top: 8px;
	color: #fff;
	z-index: 1;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}

.subform-btn:hover:after,
.subform-btn:focus:after{
	top: 0;
}
.subform label{
	position: absolute;
    bottom: -28px;
    left: 0;
    color: #fff;
    display: block;
    text-align: center;
    width: 100%;
    -webkit-text-shadow: 1px 1px 5px #000;
    text-shadow: 1px 1px 5px #000;
}
/*Social Links*/
.social{
	margin-top: 30px;
}
.social a{
    width: 35px;
    height: 35px;
    display: inline-table;
    text-align: center;
    color: #fff;
    margin-right: 5px;
    border-radius: 50%;
    border: 1px solid #ffffff;
    background: rgba(0, 0, 0, 0.3);
    -webkit-transition: all .3s cubic-bezier(.47,0,.745,.715);
    transition: all .3s cubic-bezier(.47,0,.745,.715);
}
.social a i{
	display: table-cell;
	vertical-align: middle;
}





/* ===================================
   05. Countdown
====================================== */
#countdown{
	background: rgba(7, 8, 8, 0.49);
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 0%;
	width: 80px;
	margin-top: -160px;
	overflow: hidden;
	border-top: 5px solid;
	border-bottom: 5px solid;
	z-index: 9991;
	-webkit-transform: translateX(-85px);
	transform: translateX(-85px);
	-webkit-transition: all 0.4s;
	transition: all 0.4s;
}
#countdown.active{
	-webkit-transform: translateX(0px);
	transform: translateX(0px);
}
.cd-item{
	color: #fff;
	display: table;
	float: left;
	text-align: center;
	text-transform: uppercase;
	width: 100%;
	height: 80px;
	position: relative;
	overflow: hidden;
}
.cd-item span{
	display: table-cell;
    font-size: 30px;
    line-height: 55px;
    -webkit-text-shadow: 4px 4px 5px rgba(0, 0, 0, 0.37);
    text-shadow: 4px 4px 5px rgba(0, 0, 0, 0.37);
	vertical-align: middle;
	text-align: center;
	position: relative;
	z-index: 1;
	font-family: 'Montserrat', sans-serif;
}
.cd-item p{
	font-weight: 700;
	color: #fff;
	position: absolute;
	font-size: 36px;
	left: 0;
	top: 8px;
	z-index: 0;
	opacity: 0.16;
	width: 100%;
	font-family: 'Montserrat', sans-serif;
}






/* ===================================
   06. Modal
====================================== */
.control-button {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 9992;
    width: 110px;
    height: 70px;
    margin-left: -55px;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}
.control-button.inactive{
	-webkit-transform: translateY(-80px);
	transform: translateY(-80px);
}
.control-button a{
	display: inline-table;
	width: 50px;
	height: 50px;
	text-align: center;
	font-size: 20px;
	color: #fff;
	margin-right: 3px;
	border-radius: 50%;
	position: relative;
	top: 10px;
	border: 4px solid;
	cursor: pointer;
	-webkit-transition: all 0.4s;
	transition: all 0.4s;
}
.control-button a i{
	vertical-align: middle;
    display: table-cell;
}
.control-button a:hover,
.control-button a.active{
	background: #fff;
	top: 15px;
}
.control-button a.active{
	top: 20px;
}
.control-button a:after{
	position: absolute;
	content: "";
	width: 4px;
	height: 100px;
	margin-left: -2px;
	left: 50%;
	top: -60px;
	z-index: -1;
}

.modal-item{
	position: absolute;
	height: 100%;
	right: 0;
	top: 0;
	background: rgba(0, 0, 0, 0.8);
	z-index: 10;
	-webkit-transform: rotateY(90deg);
	transform: rotateY(90deg);
    -webkit-transform-origin: right;
    transform-origin: right;
    opacity: 0;
    -webkit-transition: all 1s;
    transition: all 1s;
}
.modal-item.active{
	-webkit-transform: rotateY(0deg);
	transform: rotateY(0deg);
	opacity: 1;
}
#close-modal{
    font-size: 40px;
    color: #dad9d9;
    width: 60px;
    height: 60px;
    text-align: center;
    padding-top: 10px;
    margin: 0 auto;
    display: block;
    cursor: pointer;
}
.modal-container{
    padding-right: 15px;
    padding-bottom: 60px;
    height: 100%;
}
.modal-container p{
	color: #b3b3b3;
}


/*Service*/
.service {
	text-align: center;
	margin: 30px 0;
}
.service h4{
	color: #fff;
}
.service-icon {
	width: 70px;
	height: 70px;
	margin: 0px auto 10px;
	font-size: 30px;
	border-radius: 50%;
	color: #fff;
	display: table;
	position: relative;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
	-webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}
.service-icon:after {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	border: 3px #000;
	border-style: solid;
	left: 0;
	top: 0px;
	border-radius: 50%;
	-webkit-animation: circle linear 5s infinite;
	animation: circle linear 5s infinite;
}
@-webkit-keyframes circle {
	0% {
		-webkit-transform: rotate(0deg);
	}
	50% {
		-webkit-transform: rotate(180deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
	}
}
@keyframes circle {
	0% {
		transform: rotate(0deg);
	}
	50% {
		transform: rotate(180deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
.service:hover .service-icon {
	background-color: #000;
	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.service:hover .service-icon:after {
	border: 3px;
	border-style: dashed;
}
.service-icon i {
	display: table-cell;
	vertical-align: middle;
	margin: 0;
	padding: 0;
}

/*Contact Info*/
.con-info li {
	-webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
	margin-bottom: 20px;
	padding: 10px 20px;
	position: relative;
	margin-left: 20px;
	text-align: center;
	border: 3px solid;
}
.con-info li i {
	position: absolute;
	width: 40px;
	height: 40px;
	text-align: center;
	font-size: 20px;
	padding-top: 9px;
	left: -20px;
	top: 50%;
	color: #fff;
	margin-top: -20px;
	border-radius: 50%;
	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.con-info li p {
	margin-bottom: 0;
}



/* ===================================
   07. Preview CSS
====================================== */
.main-section.preview{
	height: 300px;
	position: relative;
	background-position: center center;
}
a.pbtn{
	padding-top: 9px;
}
a.pbtn:after{
	content: "\f290" !important;
}
.preview-items{
	padding: 50px 0;
}
.preview-items img {
	margin: 50px auto;
	box-shadow: 0 0 40px 1px rgba(0, 0, 0, 0.22);
	-webkit-transition: all 0.4s;
	transition: all 0.4s;
	-webkit-transform: scale(1);
	transform: scale(1);
}
.preview-items img:hover{
	-webkit-transform: scale(1.05);
	transform: scale(1.02);
}
.preview-footer{
	padding: 50px 0;
	background: #000;
	text-align: center;
}