
/*    Default Layout: 992px. 
    Gutters: 24px.
    Outer margins: 48px.
    Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */

@media (max-width: 767px) {



}



/*    Tablet Layout: 768px.
    Gutters: 24px.
    Outer margins: 28px.
    Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */

@media only screen and (min-width: 768px) and (max-width: 991px) {


.navigation .navbar-nav > li > a{
  padding: 38px 20px;
}

.animated-nav .navigation .navbar-nav > li > a{
  padding: 30px 20px;
}

#service .media{
  padding-left: 0;
}

.mobile-device .black{
  left: 0px;
}

.mobile-device .white{
  left: -98px;
}

figcaption.mask{
  padding: 10px;
}

figcaption.mask h3{
  font-size: 15px;
}

figcaption.mask span{
  font-size: 12px;
}   

.fact-item{
  padding-bottom: 30px;
}

.subtitle{
  padding-top: 50px;
}

.pricing-table{
  padding-bottom: 50px;
}

.subscription-form #mail-submit {
    padding: 16px 20px;
}   


  
 
}



/*    Mobile Layout: 320px.
    Gutters: 24px.
    Outer margins: 34px.
    Inherits styles from: Default Layout.
---------------------------------------------
cols    1     2      3
px      68    160    252    */

@media only screen and (max-width: 767px) {



.navbar-toggle {
  border: 1px solid rgba(231, 239, 74, 0.8);
  margin-top: 37px;
}

.navbar-toggle .icon-bar {
  background-color: rgba(231, 239, 74, 0.8);
}

.animated-nav .navbar-toggle {
  border: 1px solid #fff;
  margin-top: 21px;
}

.animated-nav .navbar-toggle .icon-bar {
  background-color: #fff;
}

.animated-nav .navigation .navbar-nav > li > a,
.navigation .navbar-nav > li > a {
  padding: 15px 25px;
}

.navigation .navbar-nav > li > a {
  background-color: #E7EF4A;
}

.navigation .navbar-nav > li > a:hover {
  background-color: #E7EF4A;
}

.navigation .navbar-nav > li.current > a {
  border-bottom: 1px solid #fff;
  color: #fff;
}

.navbar-brand {
  padding: 30px 0 30px 15px;
}    
    
#home-carousel .carousel-inner h2{
    font-size: 20px;
    line-height: 31px;
}

.section-title{
  width: 100%;
}

#service .media{
  padding-left: 0px;
}

#service .media > .pull-left{
  margin-right: 15px;
}

.mobile-device img{
  float: none;
}

.mobile-device .black{
  left: 0;
}

.mobile-device .white{
  bottom: 336px;
  left: 83px;
}

#service-bottom{
  padding-bottom: 100%;
}

.service-features{
  padding: 40px 0 0 20px;
  width: 100%;
  top: 60%;
}

.service-features h3{
  margin-bottom: 10px;
}

.portfolio-item{
    width: 50%;
}

.tst-content{
  margin: 10px 0 0 125px;
}

.subtitle{
  padding-top: 50px;
}

.subscription-form #mail-submit {
    padding: 16px 20px;
}    

#subscribe {
    max-height: none;
    min-height: 250px;
}
    
.subscribe-man img {
  left: 50%;
  margin-left: -150px;
  max-width: 300px;
}    
    
.call-to-action span{
    font-size: 14px;
    font-weight: 400;
}
    
.call-to-action p{
  font-size: 16px;
}

.contact-details{
  margin-bottom: 0px;
}

.contact-details > span{
  padding-top: 100px;
}






}



/*    Wide Mobile Layout: 480px.
    Gutters: 24px.
    Outer margins: 22px.
    Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */

@media only screen and (min-width: 480px) and (max-width: 767px) {

.portfolio-item{
    width: 50%;
}

}


/*  Retina media query.
  Overrides styles for devices with a 
  device-pixel-ratio of 2+, such as iPhone 4.
-----------------------------------------------    */

@media 
  only screen and (-webkit-min-device-pixel-ratio: 2),
  only screen and (min-device-pixel-ratio: 2) {
  
  
  
}