/*
Merlin - Responsive One Page Template
Version: 1.0
By: Hasan Alibegic, hasan461@gmail.com
License: Apache License v2.0

*/

/*
div[class/*  *  *//*='col-'] {
border: 1px solid red;
}
*/


.bold {
 font-weight: 800;
 font-size: 1em;

}

#video_background {
position: absolute;
bottom: 0px;
right: 0px;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -1000;
overflow: hidden;
opacity: 1;
}

body {
  margin: 0;
  font-family: 'Source Sans Pro';
  color: #444;
 
}


h1,
h2,
h3,
h4,
h5,
h6 { font-weight: 300 }
*,
*:focus { outline: none !important }
a { color: #2d2d2d }
a:hover,
a:focus {
  color: #0c86b6;
  text-decoration: none;
}
.hiding { opacity: 0 }
.showing { opacity: 1 }
.img-rounded {
  -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
}
.btn {
  font-size: 12px;
  font-weight: normal;
  text-transform: uppercase;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
  -webkit-transition: all .2s;
     -moz-transition: all .2s;
      -ms-transition: all .2s;
          transition: all .2s;
}
.btn-blue {
  color: #fff;
  background-color: #0093cf;
}
.btn-blue:hover,
.btn-blue:focus {
  color: #fff;
  background-color: #2a3940;
}
.btn-green {
  color: #fff;
  background-color: #71be3c;
}
.btn-green:hover,
.btn-green:focus {
  color: #fff;
  background-color: #2a3940;
}
.btn-dark {
  color: #fff;
  background-color: #2a3940;
}
.btn-dark:hover,
.btn-dark:focus {
  color: #fff;
  background-color: #2a3940;
}
.loader {
  position: fixed;
  z-index: 100000;
  width: 100%;
  height: 100%;
  background-color: #fff;
}
.fading-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  background-image: url(../img/fading-line.gif);
  background-repeat: no-repeat;
  background-position: center center;
  
}
#navbar-top { min-height: 51px }
.navbar-default {
  margin-bottom: 0;
  background-color: #fff;
  border-top: 0;
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}
.navbar-default .navbar-brand {
  font-weight: 300;
  text-transform: uppercase;
}
.navbar-default .navbar-nav > li > a {
  font-weight: 300;
  text-transform: uppercase;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #0093cf;
  background-color: transparent;
}
.navbar-default .navbar-toggle { border-color: transparent }
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus { background-color: transparent }
.navbar-default .navbar-toggle:hover .icon-bar { background-color: #333 }
.navbar-default.affix {
  top: 0;
  z-index: 99;
  width: 100%;
  border-bottom-color: transparent;
  -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.3);
     -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.3);
          box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.3);
}
.page { overflow: hidden }
.page .content { padding: 60px 0; }
.page .content.cover { padding: 640px 0 0 0;}
.page .heading h2 {
  margin-top: 0;
  margin-bottom: 20px;
}
.page .border {
  width: 80px;
  height: 2px;
  margin: 0 auto;
  background-color: #71be3c;
}
.page .heading p { 
margin: 20px auto 0;

 }

#home  {
  margin:0;
  padding: 0;
  color: #fff;
/*  background-image: url(../img/cover/home.jpg);*/
/*  opacity: .8;*/
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  
}

.overlay {
  margin:0;
  padding: 0;
  background-image: url(../img/cover/overlay-pattern2.png);
  width:100%;
}


#brain{
opacity: .8;
background-repeat: no-repeat;
background-position: 50% 50%;
border: 0px solid red;
width: 180px;
height: 150px;
background-image: url(../img/cover/brain.svg);
}

#name {
-webkit-animation-duration: 7s;
-moz-animation-duration: 7s;
-o-animation-duration: 7s;
padding: 0;
margin-top: 0;
font-weight: 800;
font-size: 1.1em;
}

#home a { margin: 0 5px }


#splash  {
width: 100%;
text-align: left;
position: absolute;
bottom: 0;
margin: 0;
background-color:rgba(0, 0, 0, .8);
padding: 2em 1em 3em 1em;
}

#home .btn {
font-size: .75em;
padding: .5em 1em;
margin: 1.5em 0;
text-transform: none;
}
#services {
  background-color: #f5f5f5;
  border-bottom: solid 1px #e7e7e7;
}
#services .service i { margin-top: 60px }
/*#services .service:hover i { color: #999 }*/
#work .heading p { text-align: left;  margin: .5em;}
#work .client { text-align: left;  line-height: 1em; font-size: 1.5em;}
#work .year {padding-top:1.5em; font-size: 2.5em; color: #999;}
#portfolio { width: 100% }
#portfolio .filters { margin-bottom: 20px }
#portfolio .filters li a {
  color: #999;
  font-weight: 600;
  text-transform: uppercase;
}
#portfolio .filters li a:hover,
#portfolio .filters li a:focus { color: #333 }
#portfolio .filters li a.active { color: #0093cf }
#portfolio .items { margin-bottom: 0 }
#portfolio .items li {
  position: relative;
  float: left;
  width: 25%;
  overflow: hidden;
}
#portfolio .items li a img {
  width: 100%;
  -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;
}
#portfolio .items li a .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  background-color: rgba(0,0,0,0.6);
  -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;
  opacity: 0;
}
#portfolio .items li a .overlay span {
  position: absolute;
  left: 20px;
  bottom: 20px;
  color: #fff;
  text-transform: uppercase;
}
#portfolio .items li a:hover .overlay { opacity: 1 }
#portfolio .items li a:hover img {
  -webkit-transform: scale(1.1);
     -moz-transform: scale(1.1);
      -ms-transform: scale(1.1);
       -o-transform: scale(1.1);
          transform: scale(1.1);
}
#clients {
  color: #fff;
  background-color: #2a3940;
}
#testimonials .item { margin-bottom: 30px }
#testimonials .quote {
  padding: 0 90px;
  font-size: 16px;
}
#testimonials .quote:before {
  margin-right: 10px;
  font-family: fontawesome;
  content: '\f10d';
}
#testimonials .client { color: #ccc }
#testimonials .carousel-indicators li {
  
  width: 9px;
  height: 9px;
  border-color: #a6a6a6;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
  -webkit-transition: all 0.25s linear;
     -moz-transition: all 0.25s linear;
       -o-transition: all 0.25s linear;
          transition: all 0.25s linear;
}
#testimonials .carousel-indicators li:hover,
#testimonials .carousel-indicators li:focus { border-color: #fff }
#testimonials .carousel-indicators .active {
  width: 9px;
  height: 9px;
  margin: 1px;
  background-color: #71be3c;
  border-color: #fff;
  text-align: center;

}
#testimonials .carousel-indicators {
  bottom: 0;
  margin-bottom: 0;
   
}
#testimonials .carousel-control {
  top: 15%;
  width: 0%;
  display: none;
  font-size: 40px;
  background-image: none;
  text-shadow: none;
}
#about .content { padding-bottom: 0; }
#about .teammate { 
  margin-top: 60px; 
  margin-bottom: 60px; 
}
#about .teammate .bio { padding-top: 10px; }
#about .teammate .profile-photo {
  overflow: hidden

}     
#about .teammate .profile-photo img {
  -webkit-transition: all .4s ease;
     -moz-transition: all .4s ease;
      -ms-transition: all .4s ease;
       -o-transition: all .4s ease;
          transition: all .4s ease;
}
#about .teammate:hover .profile-photo img,
#about .teammate:focus .profile-photo img {
  -webkit-transform: scale(1.1);
     -moz-transform: scale(1.1);
      -ms-transform: scale(1.1);
       -o-transform: scale(1.1);
          transform: scale(1.1);
}
#about .teammate .bio .border {
  height: 1px;
  margin: 15px auto;
}
#about .teammate img {
    display: block;
    margin-left: auto;
    margin-right: auto
}

#about .teammate .bio p {
text-align:left;
}

#about .teammate .bio ul {
  margin-bottom: 0;
  font-size: 16px;
}
#about .teammate .bio a { color: #666 }
#about .teammate .bio a:hover,
#about .teammate .bio a:focus { color: #222 }
#about .twitter {
  padding: 20px 0;
  background-color: #FFFFFF;
  border-top: solid 1px #FFFFFF
}
#about .twitter p { margin-bottom: 0 }
#about .twitter i {
  margin-bottom: 10px;
  color: #00aced;
}
#contact {
    background-color:#333333;
    
/*
  background: url(../img/cover/contact.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
*/
}
#contact,
#contact a,
#contact a:hover,
#contact a:focus { color: #CCCCCC }
#contact .heading .border { background-color: #fff }
#contact a { display: block }
#contact i { margin: 60px 0 15px }
#contact .content { padding: 2em 0; }
#footer {
  padding: 2em 0;

  text-align: center;
  background-color: #333333;
}
#footer a,
#footer a:hover,
#footer a:focus { color: #fff }
#footer .social { margin-bottom: 20px }
#footer .social li .facebook:hover,
#footer .social li .facebook:focus { color: #3b5998 }
#footer .social li .twitter:hover,
#footer .social li .twitter:focus { color: #00aced }
#footer .social li .google-plus:hover,
#footer .social li .google-plus:focus { color: #d34836 }
#footer .social li .dribbble:hover,
#footer .social li .dribbble:focus { color: #ea4c89 }
#footer .copyright { margin-bottom: 0 }



/* Responsive style */

@media screen and (min-width: 1024px) { 
  #testimonials .carousel-control { display: block}
    
}
    
@media screen and (max-width: 1024px) { 
  #testimonials .carousel-control { display: block}

}
@media screen and (max-width: 991px) { 
  #portfolio .items li { width: 50% }
  #testimonials .quote { padding: 0 70px }
 
}
@media (max-width: 767px) { 

  #testimonials .quote { padding: 0 50px }
  #testimonials .carousel-control.right { right: 10px }


}
@media (max-width: 480px) { 
  #portfolio .items li { width: 100% }
  #testimonials .quote { padding: 0 30px }
  #splash {position: absolute; top: 0px; bottom: auto; padding: 2em .25em 3em .25em;}
  .page .content.cover { padding: 350px 0 0 0;}
  .overlay {visibility:hidden;}
  #work .heading p { text-align: left;  margin-left: 0em;}
#work .row div{ padding:0;margin:1em 1em 1em 3em;}



}


