/*---------------------------------------------------------------

  Project Name: Double - Responsive Onepage HTML Template
  File Name: style.css
  Author: Peng Lam
  Author URI: http://khaitawng.com
  Version: 1.0.0

------------------------------------------------------------------*/
/*----------------------------------------------------------------

// Table of contents //

  - Body
  - Typography
  - Buttons
  - General
  - Preloader
  - Navigation section
  - Home section
  - Counter section
  - About section
  - Service section
  - Work section
  - Contact section
  - Address section
  - Footer section
  - Mobile Responsive styles

------------------------------------------------------------------*/

@import url('http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700');


body {
    background: #ffffff;
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    font-weight: 400;
    overflow-y: scroll; /* Add the ability to scroll */
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/*---------------------------------------
   Typorgraphy              
-----------------------------------------*/

h1,h2,h3,h4,h5,h6 {
  font-style: normal;
  font-weight: 300;
  letter-spacing: -1px;
}

h1,h2,h4 {
  font-weight: bold;
}

h1 {
  font-size: 65px;
  letter-spacing: -1px;
}

h2 {
  color: #272727;
  font-size: 32px;
  line-height: 52px;
  text-transform: uppercase;
  margin: 0px;
}

h3 {
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 6px;
  text-transform: uppercase;
}

h4 {
  color: #454545;
  font-size: 18px;
  line-height: 26px;
}

h5 {
  letter-spacing: 0.5px;
}

p {
    color: #777;
    font-size: 16px;
    font-weight: 300;
    line-height: 25px;
    letter-spacing: 0.2px;
}



/*---------------------------------------
   Buttons               
-----------------------------------------*/

.btn-success:focus {
  background-color: #000;
  color: #ffffff;
}

.section-btn {
  background: #313238;
  border: 3px solid transparent;
  border-radius: 100px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.6px;
  padding: 16px 28px;
  margin-top: 22px;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
  text-transform: uppercase;
  margin-right: 14px;
}

.section-btn:focus,
.section-btn:hover {
  background: #ffffff;
  border-color: transparent;
  color: #e81c17;
  font-weight: bold;
}



/*---------------------------------------
   General               
-----------------------------------------*/

html{
  -webkit-font-smoothing: antialiased;
}

a {
  /*color: #f06966;*/
  color: #fafafa;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none !important;
}

a:hover, a:active, a:focus {
  /*color: #f06966;*/
  color: #57575c;
  outline: none;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.parallax-section {
  background-attachment: fixed !important;
  background-size: cover !important;
}

.section-title {
  margin: 0;
  padding-bottom: 62px;
}

#work,
#counter,
#about,
#service,
#contact,
#address {
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
}

#counter,
#service,
#contact,
#address {
  text-align: center;
}



/*---------------------------------------
     Preloader section              
-----------------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 #ffffff;
}

.sk-spinner-wordpress.sk-spinner {
  border-radius: 100px;
  width: 38px;
  height: 38px;
  position: relative;
  -webkit-animation: sk-innerCircle 1s linear infinite;
  animation: sk-innerCircle 1s linear infinite; 
}

.sk-spinner-wordpress .sk-inner-circle {
  display: block;
  background-color: #0d1b06;
  width: 16px;
  height: 16px;
  position: absolute;
  border-radius: 8px;
  top: 5px;
  left: 5px; 
}

@keyframes sk-innerCircle {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0); }

  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }



/*---------------------------------------
     Navigation section              
-----------------------------------------*/

.custom-navbar {
    border-bottom: 0;
    background: 0 0;
}

.custom-navbar.top-nav-collapse {
       /* background: #313238;*/
        background: #313238c9;
        padding: 6px 0;
    }

.custom-navbar .navbar-brand {
    color: #f0f0f0;
    font-weight: bold;
    font-size: 3rem;
    line-height: 35px;
}

.custom-navbar .nav li a {
    font-size: 1em;
    font-weight: bold;
    color: #b7b7b7;
    line-height: 40px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    padding-right: 22px;
    padding-left: 22px;
    -webkit-transition: all ease-in-out 0.4s;
    transition: all ease-in-out 0.4s;
    
}

.custom-navbar .nav li a:hover {
    background: transparent;
    /*color: #e81c17;
    color:#ffffff;*/
    color:#0e0d0d;
}

.custom-navbar .navbar-nav > li > a:hover,
.custom-navbar .navbar-nav > li > a:focus {
  background-color: transparent;
}

.custom-navbar .nav li.active > a {
    background-color: transparent;
    color: #ffffff;
}

.custom-navbar .navbar-toggle {
    border: none;
    padding-top: 20px;
}

.custom-navbar .navbar-toggle {
    background-color: transparent;
}

.custom-navbar .navbar-toggle .icon-bar {
    background: #da0f16;
    border-color: transparent;
}

@media(min-width:768px) {
    .custom-navbar {
        border-bottom: 0;
        background: 0 0; 
    }
    .custom-navbar.top-nav-collapse {
       /* background: #313238;
        background: #313238a3;*/
        background: #0b0b0cb8
        padding: 6px 0;
    }

}

/*---------------------------------------
   Popup               
-----------------------------------------*/

/* Popup box */

.popup_info {
    /*background:rgba(0,0,0,.4);*/
    background: rgb(10 10 10 / 86%);
    cursor:pointer;
    display:none;
    height:100%;
    position:fixed;
    text-align:center;
    top:0;
    width:100%;
    z-index:10000;
    
}
.popup_info .helper{
    display:inline-block;
    height:100%;
    vertical-align:middle;
}
.popup_info > div {
    background-color: #fff;
    box-shadow: 10px 10px 60px #555;
    display: inline-block;
    height: auto;
    max-width: 551px;
    min-height: 100px;
    vertical-align: middle;
    width: 90%;
    position: relative;
    border-radius: 8px;
    padding: 15px 5%;
    text-align: left;
}
.popupCloseButton {
    background-color: #fff;
    border: 2px solid #999;
    border-radius: 50px;
    cursor: pointer;
    display: inline-block;
    font-family: arial;
    font-weight: bold;
    position: absolute;
    top: 20px;
    right: -10px;
    font-size: 20px;
    line-height: 25px;
    width: 30px;
    height: 30px;
    text-align: center;
}
.popupCloseButton:hover {
    background-color: #ccc;
}
.trigger_popup {
    cursor: pointer;
    display: inline-block;
    
}

/*Popup box scroll*/
.popup_info  {
 overflow:auto;
}
.popup_info::-webkit-scrollbar {
 height:12px;
}
::-webkit-scrollbar-track {
 box-shadow:0 0 2px rgba(0,0,0,0.15) inset;
 background:#f0f0f0;
}
.popup_info::-webkit-scrollbar-thumb {
 border-radius:6px;
 background:#ccc;
}

/* End of Popup box*/


/*---------------------------------------
   Popup 2              
-----------------------------------------*/

/* Popup box */
h3 .popup{
     text-align:center;
}
.popup {
    /*background:rgba(0,0,0,.4);*/
    background: rgb(10 10 10 / 86%);
    cursor:pointer;
    display:none;
    height:100%;
    position:fixed;
    text-align:center;
    top:0;
    width:100%;
    z-index:10000;
    
}
.popup .helper2{
    display:inline-block;
    height:100%;
    vertical-align:middle;
}
.popup > div {
    background-color: #fff;
    box-shadow: 10px 10px 60px #555;
    display: inline-block;
    height: auto;
    max-width: 751px;
    min-height: 100px;
    vertical-align: middle;
    width: 90%;
    position: relative;
    border-radius: 8px;
    padding: 15px 5%;
    text-align: left;
}
.popupCloseButton2 {
    background-color: #fff;
    border: 2px solid #999;
    border-radius: 50px;
    cursor: pointer;
    display: inline-block;
    font-family: arial;
    font-weight: bold;
    position: absolute;
    top: 20px;
    right: -10px;
    font-size: 20px;
    line-height: 25px;
    width: 30px;
    height: 30px;
    text-align: center;
}
.popupCloseButton2:hover {
    background-color: #ccc;
}
.trigger {
    cursor: pointer;
    display: inline-block;
    
}

/*Popup box scroll*/
.popup {
 overflow:auto;
}
.popup::-webkit-scrollbar {
 height:12px;
}
::-webkit-scrollbar-track {
 box-shadow:0 0 2px rgba(0,0,0,0.15) inset;
 background:#f0f0f0;
}
.popup::-webkit-scrollbar-thumb {
 border-radius:6px;
 background:#ccc;
}

/* End of Popup box*/

/*---------------------------------------
    Home section              
-----------------------------------------*/

#home {
    background: url('../images/home-bg.jpg') 50% 0 repeat-y fixed;
    background-size: cover;
    background-position: center center;
    display: -webkit-box;
    display: -webkit-flex;
     display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
     align-items: center;
     color: #ffffff;
    height: 100vh;
    position: relative;
    text-align: center;
}

#home h3 {color: #f0f0f0;}

#home .overlay {
  /*background: rgb(58 51 51 / 40%);*/
  background: rgb(13 39 224 / 50%);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



/*---------------------------------------
   Counter section              
-----------------------------------------*/

#counter {
  background: #f9f9f9;
  border-bottom: 1px solid #f0f0f0;
}

#counter .counter-number {
  display: block;
  color: #272727;
  font-size: 32px;
  line-height: 52px;
}

#counter span {
  color: #f06966;
  font-weight: bold;
}



/*---------------------------------------
    About section              
-----------------------------------------*/

#about {
  padding-top: 80px;
  padding-bottom: 80px;
}

#about .about-desc {
  padding-top: 22px;
}

#about .about-desc h4 {
  margin-top: 0px;
  padding-bottom: 8px;
}

#about .about-desc a {
  color: #cb0707;
}

#about .about-desc a:hover {
  color: #232121;
}

/* #about .about-desc a {
  color: #565656;
}

#about .about-desc a:hover {
  color: #f06966;
} */

#about .team-wrapper {
  position: relative;
  margin: 0;
  padding: 0;
}

#about .team-wrapper h2 {
  color: #353535;
  font-size: 26px;
  line-height: 32px;
}

#about .team-wrapper strong {
  color: #e81c17;
  font-weight: 800;
}

#about .team-wrapper img {
  border-radius: 2px;
  width: 100%;
}

#about .team-wrapper .team-desc {
  /*background: rgba(250,250,250,0.5);*/
  background: rgba(250 250 250 / 82%);
  position: absolute;
  cursor: crosshair;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  padding: 20em 4em 0 0;
  transition: all 0.4s ease-in-out;
  text-align: right;
}

#about .team-wrapper:hover .team-desc {
  opacity: 1;
  transform: scale(1.1);
}



/*---------------------------------------
   Service section              
-----------------------------------------*/

#service .service-thumb {
  padding: 0 22px;
}

#service .fa {
  font-size: 62px;
  margin-bottom: 6px;
}



/*---------------------------------------
    Work section              
-----------------------------------------*/

#projects .work-wrapper h2 {
  color: #353535;
  font-size: 26px;
  line-height: 32px;
}

#projects .work-wrapper strong {
  color: #e81c17;
  font-weight: 800;
}



#projects .work-wrapper .work-desc {
  background: rgba(250,250,250,0.5);
  position: absolute;
  cursor: crosshair;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  width: 600px;
  height: 600px;
  padding: 20em 4em 0 0;
  transition: all 0.4s ease-in-out;
  text-align: right;
}

#projects .work-wrapper:hover .work-desc {
  opacity: 1;
  transform: scale(1.1);
}

#work {
  background: #f9f9f9;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  text-align:center;
  font-size:1.2em;
}

#work a:hover, a:active, a:focus{
  text-align:center;
}

#work .work-thumb {
  border-radius: 2px;
  margin-bottom: 26px;
  padding: 0;
  overflow: hidden;
  position: relative;
  top: 0;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

#work .work-thumb:hover {
  background: #ffffff;
  box-shadow: 0px 16px 22px 0px rgba(90, 91, 95, 0.3);
  top: -5px;
}

#work .work-thumb img {
  border-radius: 2px;
  width: 100%;
  cursor: crosshair;
}


/*---------------------------------------
    Contact section              
-----------------------------------------*/

#contact .text-success,
#contact .text-danger {
  display: none;
}

#contact .form-control {
  border-color: transparent;
  border-radius: 0px;
  box-shadow: none;
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 10px;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

#contact input {
  border: none;
  border-bottom: 2px solid #f0f0f0 !important;
  height: 55px;
}

#contact input:focus {
  border-bottom-color: #999 !important;
}

#contact textarea {
  background: #f9f9f9;
}

#contact button#cf-submit {
  background: #313238;
  border: none;
  border-radius: 40px;
  color: #ffffff;
  height: 55px;
  padding-bottom: 10px;
}

#contact button#cf-submit:hover {
  background: #343434;
  color: #ffffff;
  font-weight: bold;
}



/*---------------------------------------
    Address section              
-----------------------------------------*/

#address {
  background: #f9f9f9;
  border-top: 1px solid #f0f0f0;
}

#address .fa {
  font-size: 42px;
}



/*---------------------------------------
   Footer section              
-----------------------------------------*/

footer {
    background: #da0f16;
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
}

footer .footer-copyright p {
  color: #f9f9f9;
}



/*---------------------------------------
   Mobile Responsive styles              
-----------------------------------------*/

@media (max-width: 980px) {

 h1 {font-size: 52px;}

 #service .service-thumb-first,
 #service .service-thumb-second {
  margin-bottom: 32px;
 }

}



@media (max-width: 768px) {

  h1 {font-size: 48px;}

  #counter .counter-item {
    margin-top: 28px;
    margin-bottom: 28px;
  }
    
#home {
    background-position: 50% 0px !important;
    background: url('../images/home-bg2t.jpg');
    }


.parallax-section {
    background-attachment: scroll !important;
    } 


  .custom-navbar .navbar-brand {
    line-height: 15px;
    
  }

  #about .about-desc {
    margin-bottom: 32px;
  }

  #address .address-phone {
    margin-top: 22px;
    margin-bottom: 22px;
  }

}



@media (max-width: 580px) {

  h1 {font-size: 29px}

  h2 {
    font-size: 24px;
    line-height: 42px;
  }

  h3 {
    font-size: 12px;
    letter-spacing: 2px;
  }

  #service .service-thumb {
    padding: 0px;
  }
  
 .custom-navbar .nav li a {
     background: #313238c9;
  } 
  
 .custom-navbar .nav li.active > a {
    background-color: #313238c9;
}
}



@media (max-width: 350px) {

  #about .team-wrapper .team-desc {
    padding-top: 14em;
  }

}

