/*---------------------------------------------------
   Main style stylesheet
   project:       OneBack- One Page Parallax
   Version:       1.0
   Author:        MTthemes
   primary use:   Creative
-----------------------------------------------------*/

/*----------------------------------------------------
body
  +loading page
  +navbar
  +header section'
  +video-container section
  +about section
  +services section
  +team section
  +my-portfolio section
  +clients section
  +blog section
  +contact section
  +scroll to top button

------------------------------------------------------*/
*{
   -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
        -o-box-sizing: border-box;
           box-sizing: border-box;
}

body {
    font-size: 15px;
    font-weight: 300;
    height: 100%;
	font-family: 'Open Sans', sans-serif;
}

a:focus,
a:hover{
    outline: none;
    text-decoration: none;
}

.fa {
  font-family: 'FontAwesome';
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5{
   font-family: 'Raleway', sans-serif;
}

p{
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
}

.heading{
    position: relative;
    font-weight: 600;
    font-size: 40px;
    color: #444;
    text-align: center;
}

.heading .first{
	font-weight: 300;
	color: #C70506;
	font-size: 25px;
	font-family: 'Raleway', sans-serif;
}

.heading .second{
	font-weight: 100;
	color: #333;
	font-family: 'Raleway', sans-serif;
}

.para{
	text-align: center;
	margin: 0 25% 60px 25%;
	word-spacing: 2px;
	color: #555;
}

/*
.a-btn{
    text-decoration: none;
    border-radius: 20px;
    padding: 10px 20px;
    color: #fff;
    background-color: #C70506;
    border: 1px solid transparent;
}
*/

.a-btn{
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 5px;
    position: relative;
    font-weight: 600;
    transform: perspective(1px)translateZ(0px);
    transition: all 0.3s ease 0s;
}

.a-btn:before{
    content: "";
    background: #C70506;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform: scaleX(0);
    transform-origin: 0 50% 0;
    transition: transform 0.4s ease-out;
    z-index: -1;
}

.a-btn:hover:before{
    transform: scaleX(1)
}
/*----------------------------------------------------
Start Section Loading
----------------------------------------------------*/
.loading-overlay {
  background:#222;
  color:#222;
  position:fixed;
  left:0;
  top:0;
  width:100%;
  height:100%;
  z-index:99999
}

.loading {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -60px 0 0 -60px;
  background: #fff;
  width: 100px;
  height: 100px;
  border-radius: 100%;
  border: 10px solid #C70506;
}
.loading:after {
  content: '';
  background: trasparent;
  width: 140%;
  height: 140%;
  position: absolute;
  border-radius: 100%;
  top: -20%;
  left: -20%;
  opacity: 0.7;
  box-shadow: rgba(255, 255, 255, 0.8) -4px -5px 3px -3px;
  animation: rotate 2s infinite linear;
}

@keyframes rotate {
  0% {
    transform: rotateZ(0deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}
/*----------------------------------------------------
End Section Loading
----------------------------------------------------*/

.baner{
	padding: 150px 0;
}

.baner .item{
	margin-bottom: 40px;
}

.baner a{
	text-align: center;
	color: #333;
	display: block;
	margin-top: 20px;
	font-weight: 400;
	overflow: hidden;
}

.baner img{
	transition: all 0.5s ease-in-out;
}

.baner img:hover{
	transform: scale(1.05)
}

.baner a:hover{
	color: #C70506;
}

/*----------------------------------------------------
Start Section header
----------------------------------------------------*/
.header { 
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 999;
    border-radius: 0; 
    -webkit-transition: all 0.4s ease-in-out;
       -moz-transition: all 0.4s ease-in-out;
         -o-transition: all 0.4s ease-in-out;
            transition: all 0.4s ease-in-out;
    background-color: transparent;
} 

.navbar-brand {
    height: auto;
    display: block;
    font-size: 28px;
    line-height: 30px;
    color: #C70506;
    font-weight: 600;
    padding-top:10px;
    padding-bottom:10px;
    -webkit-transition: all 0.3s ease-in-out;
       -moz-transition: all 0.3s ease-in-out;
         -o-transition: all 0.3s ease-in-out;
            transition: all 0.3s ease-in-out; 
} 

.navbar-brand:hover, 
.navbar-brand:focus {
    color: #C70506;
}

.navbar-collapse {
    padding-left: 0;
    padding-right: 0;
}

.header .navbar-nav { 
    margin-top:30px;
    float: right;
}  

.header .navbar-nav li a {
    padding:8px 17px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.second-logo{ display:none; transition:all 1s;}
.header.shrink .navbar-nav{ margin-top:22px;}
.header.shrink  .first-logo{ display:none; transition:all 1s;}
.header.shrink .second-logo{ display:block; transition:all 1s;}
.header.shrink .second-logo img{ width:100px; transition:all 1s;}

.header .navbar-nav li.active,
.header .navbar-nav li a:focus{
    background: #ffffff; color:#000000;
} 

.shrink .navbar-nav li.active a {color: #ffffff; background-color:#C70506;}


.nav > li > a:hover{ background:none;}

.header .navbar-nav li.active a {
    color: #000000;
}

.header .navbar-toggle { 
    margin-top: 20px;
    padding: 10px;
}

.header .navbar-toggle .icon-bar {
    background: #fff;
    height: 3px; 
}
 
.header.shrink {
    position: fixed;
    top: 0;
    background: #fff;
    box-shadow: 0 10px 25px -15px #999;
} 

.header.shrink .navbar-brand {
    padding-top: 10px;
    padding-bottom: 10px;
}

.header.shrink .navbar-nav li a {
    padding-top:12px;
    padding-bottom:10px;
    color: #555; display:inline;
}

.shrink .navbar-nav li.active a {
     color: #ffffff;
}

.header.shrink .navbar-toggle { 
    margin-top: 10px;
    padding: 10px;
}

.header.shrink .navbar-toggle .icon-bar {
    background: #de0b0b;
    height: 3px; 
}
/*----------------------------------------------------
end Section header
----------------------------------------------------*/

/*----------------------------------------------------
start section home for default page
----------------------------------------------------*/
.home{
    height: 630px;
    background-image:url(../../images/main-banner.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    text-align: center;
    overflow: hidden;
}

.home .overlay{
    background-color: rgba(0,0,0,0.65);
    height: 630px;
    padding:30px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.home .overlay .title h1{
    font-size: 45px;
    color: #fff;
    letter-spacing: 1px;
    font-weight: 600;
    margin: 0;
}

.home .overlay .title h1 span{
    color: #C70506;
}

.home .overlay .title p{
    line-height: 1.6em;
    color: #eee;
    font-size: 16px;
    font-weight: 400;
    margin-top: 20px;
}

.home .overlay .title p:first-of-type{
	font-family: 'Raleway', sans-serif;
	font-size: 30px; 
}

.home .overlay .title .a-btn{
    font-weight: 400;
    display: inline-block;
    margin-top: 30px;
    margin-right: 20px;
	color: #fff;
}

.home .overlay .title .a-btn:hover{
    border: 2px solid #C70506;
    color: #fff;
    background-color: transparent;
}
/*----------------------------------------------------
end section home for default page
----------------------------------------------------*/
.about{padding:30px 0;}
.skills{padding:30px 0; background-color: #f5f5f5}
.contact{padding:30px 0;}
.services{text-align: center; background-color: #f7f7f7;}
@media only screen and (width:767px){
.header .navbar-nav{ margin:0px; width:100% !important;}	
	}