/*
    Foxstar
    By Crackthemes
*/

/*  ==========================================================================
    Table of Contets
    ==========================================================================
    
    1.0 Common Styles
    2.0 Slider section
    3.0 About section
    4.0 Service Section
    5.0 Portfolio Section
    6.0 Testimonial Section
    7.0 Call To Action Section
    8.0 Blog Section
    9.0 Contact Section
    10.0 Footer Section
    11.0 Scroll to Top
    
    ==========================================================================
    Foxstar
    ========================================================================== */

	@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700,800,900|Open Sans:400,600');
	
/*  ==========================================================================
    Common Styles
    ========================================================================== */
*{
	padding: 0;
	margin: 0;
}
body{
    background-color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 23px;
    color: #777;
    font-weight: 400;
    position: relative;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6{
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing:antialiased;
	color: #333;
}
h1{
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
    margin: 0 0 10px;
    letter-spacing: -0.05em;
}
h2{
    font-size: 24px;
    margin: 0 0 10px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
h3,h4{
    margin: 0 0 10px;
    font-weight: 300;
    line-height: 1.7;
    color: #333;
    letter-spacing: -0.01em;
}
h3{
    font-size: 17px;
}
h4{
    font-size: 15px;
}
h5,h6{
    font-size: 14px;
    margin: 0 0 10px;
}
img{
    border: none;
    outline:none;
    max-width: 100%;
}
ul{
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}
p, li, a, span{
    letter-spacing: 1px;
}
p{
    font-size: 14px;
    margin-bottom: 15px;
}
a, a:hover{
    text-decoration: none;
}
a:focus{
    outline: 0;
    text-decoration: none;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder{
   color: #777 !important;
}

input:-moz-placeholder,
textarea:-moz-placeholder{ /* Firefox 18- */
   color: #777 !important;  
}

input::-moz-placeholder,
textarea::-moz-placeholder{  /* Firefox 19+ */
   color: #777 !important;  
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder{  
   color: #777 !important;  
}
button{
    border: none;
	background: none;
}
/* Helper Class */
.padding{
    padding: 80px 0;
}
.no-padding{
    padding: 0;
}

.bg-white{ background-color: #fff; }
.bg-grey{ background-color: #f7f7f7;}
.bg-dark{ background-color: #232323;}
.bd-top{ border-top: 1px solid #eaeaea;}
.bd-bottom{ border-bottom: 1px solid #eaeaea;}

.mb-15{ margin-bottom: 15px; }
.mb-20{ margin-bottom: 20px; }
.mb-25{ margin-bottom: 25px; }
.mb-30{ margin-bottom: 30px; }
.mb-35{ margin-bottom: 35px; }
.mb-40{ margin-bottom: 40px; }
.mb-45{ margin-bottom: 45px; }
.mb-50{ margin-bottom: 50px; }
.fz-28{ font-size: 28px; }
.fz-24{ font-size: 24px; }
.fz-22{ font-size: 22px; }
.fz-20{ font-size: 20px; }
.fz-18{ font-size: 18px; }
.fz-16{ font-size: 16px; }
.text-black{
    color: #333;
}
.text-white{
    color: #ffffff;
}
.align-left{
    text-align: left;
}
.align-right{
    text-align: right;
}
.align-center{
    text-align: center;
}
.fl-right{
    float: right;
}
.fl-left{
    float: left;
}
.display-table{
    width: 100%;
    height: 100%;
    display: table;
}
.table-cell{
    display: table-cell;
    vertical-align: middle;
}
.container{
    height: 100%;
}
.overlay{
    width: 100%;
    position: relative;
    z-index: 1;
}
.overlay:before{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

/* Preloader Styles */
#preloader{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background: #fff;
    height: 100%;
    width: 100%;
    -webkit-transition: all .5s .5s ease;
    -moz-transition: all .5s .5s ease;
    transition: all .5s .2s ease;
}
.loader{
    position:absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 60px;
    height: 60px;
    display: block;
    margin: auto;
    margin-top: -30px;
}
body.loaded #preloader{
    opacity: 0;
    visibility: hidden;
}

/* Button Style */
.btn_group{}
.btn_group a{
    margin: 5px;
}
.btn_group_left a{
    margin-right: 15px;
    margin-bottom: 15px;
}
.fs_btn{
    background-color: #fcd846;
    border: 2px solid #fcd846;
    text-transform: uppercase;
    color: #fff;
    line-height: 45px;
    display: inline-block;
    padding: 0 25px;
}
.fs_btn:hover{
    background-color: transparent;
    color: #282828;
}
.fs_btn.btn_2{
    background-color: #fff;
    border: 2px solid #fff;
    text-transform: uppercase;
    color: #333;
    line-height: 45px;
    display: inline-block;
    padding: 0 25px;
}
.fs_btn.btn_2:hover{
    background-color: transparent;
    color: #fff;
}
.fs_btn.btn_sm{
    line-height: 40px;
    padding: 0 15px;
}

/* Transition Effect */
a,a:hover, .overlay, img, .form-control,  .form-control:hover, button{
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}


/* ==========================================================================
   Slider Section
   ========================================================================== */
.slider_section{}
.slider_content .btn_group a{
    margin: 0 10px 0 0;
}
.slider_content .fs_btn:hover{
    color: #fff;
}
.slider_item{
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    height: 570px;
}
.main_slider .owl-nav{}
.main_slider .owl-nav div{
    color: #fff;
    width: 60px;
    height: 100px;
    font-size: 30px;
    text-align: center;
    line-height: 100px;
    position: absolute;
    left: 0;
    top: calc(50% - 60px);
    opacity: 0.5;
    transition: all 0.5s ease-in-out;
}
.main_slider .owl-nav div:hover{
    opacity: 1;
    transition: all 0.5s ease-in-out;
}
.main_slider .owl-nav div.owl-next{
    left: auto;
    right: 0;
}
.main_slider .owl-dots {
    width: 100%;
    display: block;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 25px;
}
.main_slider .owl-dots div{
    background-color: rgba(255,255,255,0.4);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-block;
    margin: 0 3px;
    transition: all 0.5s ease-in-out;
}
.main_slider .owl-dots div.active{
    background-color: rgba(255,255,255,1);
    -webkit-transform: scale(1.6);
    transform: scale(1.6);
    transition: all 0.5s ease-in-out;
} 

/* ==========================================================================
   About Section
   ========================================================================== */
.about_section{}
.about_section .about_wrap{
    padding: 35px 0;
}
.about_section .tab_menu{
    overflow: hidden;
}
.about_section .tab_menu li{
    float: left;
}
.tab_menu li a{
    background-color: #f6f6f6;
    border: 1px solid #ddd;
    display: block;
    padding: 0 15px;
    font-size: 14px;
    color: #282828;
    text-transform: uppercase;
    line-height: 50px;
}
.about_section .tab_menu li.active a{
    background-color: #ffc327;
    border: 1px solid #ffc327;
    color: #fff;
}
.about_section .tab-content{}
.about_section .tab-content .tab-pane{}
.about_section .tab-content .tab-pane p{}
.about_section img {
    width: 100%;
    margin-top: -70px;
}
.about_section .tab-content .fs_btn:hover{
    color: #333;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services_section{}
.service_items{}
.service_items .service_content{}
.service_items .service_content h4{
    font-weight: 600;
    margin: 0 0 5px;
}
.service_items .service_content img{
    width: 100%;
    margin-bottom: 15px;
}
.service_items .service_content:hover img{
    opacity: 0.7;
}

/* ==========================================================================
   Works Section
   ========================================================================== */
.works_section{}
.works_items{}
.works_items .works_item{
    position: relative;
}

.works_items .works_item img{
    width: 100%;
}
.works_items .works_item .works_overlay{
    background-color: rgba(0,0,0,0.8);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.works_items .works_item:hover .works_overlay{
    visibility: visible;
    opacity: 1;
}
.works_items .works_item .works_content{
    color: #fff;
    width: 100%;
    text-align: right;
    position: absolute;
    left: 0;
    bottom: 20px;
    padding-right: 20px;
}
.works_items .works_item .works_content h3{
    font-weight: 600;
    color: #fff;
    margin: 0 0 -3px;
}
.works_items .owl-nav div{
    width: 40px;
    height: 60px;
    font-size: 14px;
    text-align: center;
    color: #111;
    line-height: 60px;
    position: absolute;
    left: -40px;
    top: calc(50% - 30px);
    transition: all 0.5s ease-in-out;
}
.works_items .owl-nav div:hover{
    transition: all 0.5s ease-in-out;
}
.works_items .owl-nav div.owl-next{
    left: auto;
    right: -40px;
}

/* ==========================================================================
   Testimonial Section
   ========================================================================== */
.testimonial_items{}
.bd-grey{ border: 1px solid #ddd; }
.testi_item{
    background-color: #fff;
    padding: 25px;
}
.owl-carousel .testi_item{
    padding: 60px 25px;
}
.testi_item i.fa-quote-left{
    font-size: 45px;
    margin: 0 0 20px;
    color: #333;
}
.owl-carousel .testi_item .client_thumb{
    margin: 0 auto;
}
.testi_item .client_thumb{
    width: 110px !important;
    height: 110px !important;
    border-radius: 50%;
    margin-bottom: 20px;
}
.testi_item p{
    font-size: 13px;
    line-height: 28px;
}
.testi_item h4{
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 3px;
}
/* Rating */
.testi_item .ratings{
    display: block;
}
.testi_item .ratings li{
    display: inline-block;
    color: #ddd;
    font-size: 16px;
    margin: 0 5px;
}

.testi_item .ratings.star-5 li{
    color: #FED701;
}
.testi_item .ratings.star-4 li:nth-child(-n+4){
    color: #FED701;
}
.testi_item .ratings.star-3 li:nth-child(-n+3){
    color: #FED701;
}
.testi_item .ratings.star-2 li:nth-child(-n+2){
    color: #FED701;
}
.testi_item .ratings.star-1 li:nth-child(-n+1){
    color: #FED701;
}

/* ==========================================================================
  Call To Action Section
   ========================================================================== */
.cta_section{
    background-image: url(../img/cta-bg.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    -webkit-background-size: cover;
    background-size: cover;
    padding: 140px 0;
}
.cta_content h2{
    color: #fff;
    font-weight: 600;
}
.cta_content p{
    color: #ddd;
    font-size: 16px;  
}
.cta_content .fs_btn:hover{
    color: #fff;
}

/* ==========================================================================
   Blog Section
   ========================================================================== */
.blog_section{}
.blog_post img{
    width: 100%;
    border: 2px solid #fcd846;
}
.blog_post .blog_content{
    padding: 15px;
    border: 1px solid #ddd;
}
.blog_post .blog_content h4{
    margin: 0 0 -3px;
}
.blog_post .blog_content .post_meta{
    font-size: 13px;
    display: block;
    margin-bottom: 10px;
}
.blog_post .blog_content a{
    color: #282828;
}
.blog_post .blog_content a:hover{
   color: #333;
    text-decoration: underline;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact_section{
}
.contact_form{}
.contact_form .form-control{
    background-color: #fff;
    border: none;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 3px;
    box-shadow: none;
    border: 1px solid #ddd;
    color: #777;
    padding: 25px;
}
.contact_form .form-control:hover,
.contact_form .form-control:focus{
    border-bottom: 1px solid #999;
    box-shadow: none;
}
#form-messages{
    display: none;
}
#form-messages.alert-danger,
#form-messages.alert-success{
    display: block;
}

.contact_form input::-webkit-input-placeholder,
.contact_form textarea::-webkit-input-placeholder{
   color: #888 !important;
}

.contact_form input:-moz-placeholder,
.contact_form textarea:-moz-placeholder{ /* Firefox 18- */
   color: #888 !important;  
}

.contact_form input::-moz-placeholder,
.contact_form textarea::-moz-placeholder{  /* Firefox 19+ */
   color: #888 !important;  
}

.contact_form input:-ms-input-placeholder,
.contact_form textarea:-ms-input-placeholder{  
   color: #888 !important;  
}

/*Google Map*/
#google_map{
    width: 100%;
    height: 350px;
}
   
/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer_section{
    display: block;
    border-top: 1px solid #444;
    padding: 40px 0;
}
.footer_section .copyright{
    font-size: 12px;
    color: #ddd;
}  
.footer_social{
    display: block;
    text-align: right;
}
.footer_social li{
    display: inline-block;
}
.footer_social li a{
    color: #ddd;
    font-size: 12px;
    margin-left: 15px;
}
.footer_social li a:hover{
    color: #fff;
}

/* ==========================================================================
   Scroll to Top
   ========================================================================== */
#scroll-to-top{
    background-color: #fcd846;
    display: none;
    width: 50px;
    height: 50px;
    border-radius: 55px;
    text-align: center;
    font-size: 14px;
    line-height: 50px;
    color: #fff;
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 999;
}
#scroll-to-top:hover{
    background-color: #282828;
    color: #fff;
}
