/*---------------------------------------------------------------

  Project Name: Stauros - Personal Portfolio HTML Template
  File Name: style.css
  Author: Peng Lam
  Author URI: http://khaitawng.com
  Version: 1.0.0

------------------------------------------------------------------*/


@import url('https://fonts.googleapis.com/css?family=Nunito+Sans:400,700|Source+Sans+Pro:400,600');

body {
    background: #ffffff;
    font-family: 'Source Sans Pro', sans-serif;
    font-style: normal;
    font-weight: normal;
    overflow-x: hidden;
}

html, body {
  width: 100%;
  height: 100%;
}

.clear {
	clear: both;
	margin: 0;
}



/*---------------------------------------
    0 Typorgraphy              
-----------------------------------------*/


p {
  color: #878787;
  font-size: 16px;
  font-weight: normal;
  line-height: 25px;
  letter-spacing: 0.5px;
  font-family:calibri;
}

.white-color {
  color: #f0f0f0 !important;
}

strong {
  font-weight: 600;
}



/*---------------------------------------
    1 Buttons               
-----------------------------------------*/

.section-btn {
  background: #000000;
  border-radius: 50px;
  border: none;
  color: #ffffff;
  font-size: 10px;
  font-weight: normal;
  letter-spacing: 2px;
  padding: 16px 28px;
  margin-top: 32px;
  text-transform: uppercase;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

.section-btn:focus,
.section-btn:hover {
  background: #2b2b2b;
  border-color: transparent;
  color: #ffffff;
}

.section-btn.btn-primary {
  background: #ffffff;
  border: none;
  color: #2b2b2b;
}



/*---------------------------------------
    2 General               
-----------------------------------------*/

html{
  -webkit-font-smoothing: antialiased;
}

a {
  color: #000;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none !important;
}

a:hover, a:active, a:focus {
  color: #fcaf17;
  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;
}

.overlay {
  /*background: rgba(0,0,0,0.7);*/
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.section-title {
  margin: 0;
  padding-bottom: 32px;
}

#about, #service, #work,
#testimonial, #contact, footer {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
}

#testimonial, footer {
  background: #f9f9f9;
}

#service, #work,
#testimonial, #contact,
footer {
  text-align: center;
}


/*---------------------------------------
    3 Pre loader 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;
}

.spinner {
  border: 1px solid transparent;
  border-radius: 5px;
  position: relative;
}

.spinner:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45px;
  height: 45px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  border: 1px solid #575757;
  border-top-color: #ffffff;
  animation: spinner .9s linear infinite;
}

@-webkit-@keyframes spinner {
  to {transform: rotate(360deg);}
}

@keyframes spinner {
  to {transform: rotate(360deg);}
}



/*---------------------------------------
    4 Navigation section              
-----------------------------------------*/

.navbar-default {
    background-color: #fcaf17;
    box-shadow: 5px 5px 15px 0 rgba(31, 31, 31, 0.07);
    border-bottom: 2px solid #000;
    margin-bottom: 0;
    padding: 10px 0;
}

 .navbar-brand {
 float: left;
 height: 50px;
 /* padding: 15px 15px; */
 font-size: 18px;
 line-height: 20px;
}

.container>.navbar-header {
    margin-right: 0;
    margin-left: 0;
    float: right;
}


/*---------------------------------------
    5 Home section              
-----------------------------------------*/

#home {
  background: url('../img/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;
   align-items: center;
  height: 100vh;
  position: relative;
  text-align: center;
}

.detail h4{
	font-family:'robotoregular';
	font-size:16px;
	color:#000;
	text-align:center;
	padding:3% 0% 3% 0%;
}



/*---------------------------------------
    features              
-----------------------------------------*/


.features h1{
	font-family:'roboto_slablight';
	font-size:22px;
	color:#000;
	text-align:center;
	margin:10px 0px ;
	cursor:pointer;
	}
	
.features h1 a:hover {
	color:red;
	text-align:center;
	}
	
.features img {
	text-align:center;
	}

/*---------------------------------------
    Popup              
-----------------------------------------*/


.detail .modal-content{
	padding: 15px;
    border-bottom: 1px solid #CEECF2;
    background-color: #CEECF2;
}

.detail .modal-header{
	padding: 15px;
    border-bottom: 1px solid #93EDF9;
    background-color: #CEECF2;
}

.btn:hover {
  background-color: #ddd;
  -webkit-transition: background-color 1s ease;
  -moz-transition: background-color 1s ease;
  transition: background-color 1s ease;
}

.btn-small {
  padding: .75em 1em;
  font-size: 0.8em;
}

.modal-box {
  display: none;
  position: absolute;
  z-index: 1000;
  width: 100%;
  background: white;
  border-bottom: 1px solid #aaa;
  border-radius: 4px;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-clip: padding-box;
}


.modal-overlay {
  opacity: 0;
  filter: alpha(opacity=0);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3) !important;
}

.modal-body{
	width:100%;
}

.modal-body .one{
	width:33%;
	float:left;
	padding:2%;
} 

.modal-body .two{
	width:33%;
	float:right;
	padding:2%;
}

.modal-body .single{
	width:100%;
	padding:2%;
}

.one h1{
	font-family:'roboto_slabregular';
	font-size:13px;
} 

.two h1{
	font-family:'roboto_slabregular';
	font-size:13px;
} 

.single h1{
	font-family:'roboto_slabregular';
	font-size:13px;
} 

.modal-body p{
	width:100%;
	display:block;
}



/*---------------------------------------
    13 Mobile Responsive styles              
-----------------------------------------*/

@media (max-width: 980px) {
  #home {
    height: 55vh;
  }

  .service-thumb {
    margin-top: 12px;
    margin-bottom: 22px;
  }
}


@media (max-width: 768px) {
  #home {
    height: 65vh;
  }
}


@media (max-width: 580px) {
  h1 {
    font-size: 32px;
  }

  h2, .work-thumb h2 {
    font-size: 26px;
  }

  #home {
    height: 100vh;
  }

  .about-image img {
    width: 250px;
    height: 250px;
  }

  #testimonial h3 {
    font-size: 16px;
  }
}


@media (max-width: 320px) {
  h1 {
    font-size: 28px;
  }

  #home {
    height: 145vh;
  }
  
}

@media only screen and (max-width: 640px) and (min-width: 320px) {
	.detail img{
		width:80%;
	}
	
	.detail h4 {
    font-family: 'robotoregular';
    font-size: 11px;
    color: #000;
    text-align: center;
    padding: 3% 0% 3% 0%;
}

.one h1{
	font-family:'roboto_slabregular';
	font-size:10px;
} 
	}