/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/*
Note: The best way to structure the use of media queries is to create the queries 
near the relevant code. For example, if you wanted to change the styles for buttons
on small devices, paste the mobile query code up in the buttons section and style it 
there. 
*/

/* Larger than Desktop HD */
@media (max-width: 1200px) {
    .container {
        width: 1100px;
        padding-left: 50px;
        padding-right: 50px;
    }
}

/* Larger than desktop */
@media (max-width: 992px) {
    .container {
        width: 892px;
        padding-left: 50px;
        padding-right: 50px;
    }

    .text-left, .text-right {
        text-align: left;
    }

    .img-responsive {
        display: inline-block;
    }
    
    .journal-item{
        padding: 40px 0;
    }
    
    
    
    .works-masonry-container .masonry-item{
        width: 50% !important;
    }
    .studio-services-inner{
        padding-left: 40px;
        padding-right: 40px;
    }
    .slant-bg-wrap {
      width: 100%;
      height: 100%;
    }
    .slant-layer {
        overflow: hidden;
      -webkit-transform: none;
      -moz-transform: none;
      -ms-transform: none;
      -o-transform: none;
      transform: none;
    }
    .slant-layer::before{
        height: 100%;
        overflow: hidden;
    }
    
    
    
}

/* Larger than tablet */
@media (max-width: 768px) {
    .container {
        width: 668px;
        padding-left: 50px;
        padding-right: 50px;
    }

    .text-left, .text-right, .mastfoot{
        text-align: left;
    }

    .img-responsive {
        display: inline-block;
    }

    
    

}

/*iPhone 6Plus Landscape Mode*/
@media screen and (max-width: 736px) {
    .container {
        width: 636px;
        padding-left: 50px;
        padding-right: 50px;
    }
    

}

/*iPhone 6 Landscape Mode*/
@media screen and (max-width: 667px) {
    .container {
        width: 567px;
        padding-left: 50px;
        padding-right: 50px;
    }
    
    /* .valign ul li a{
        font-size: 10px !important;
    } */
    

}

/*Google Nexus and Other Large Smart Phones v1*/
@media screen and (max-width: 600px) {
    .container {
        width: 500px;
        padding-left: 50px;
        padding-right: 50px;
    }
    .boxed-caption{
        padding: 15px !important;
        max-width: 120px !important;
    }
    .boxed-caption h3, .boxed-caption p{
        font-size: 10px !important;
        line-height: 17px !important;
    }
    
    
    
    
    
    

    .intro-01a .ms-section img,
    .intro-01 .ms-section img{
            -ms-transform: scale(1); /* IE 9 */
            -webkit-transform: scale(1); /* Safari */
            -moz-transform: scale(1); /* Firefox */
            -opera-transform: scale(1); /* opera */
            transform: scale(1);
    }
    .intro-01a .ms-right .ms-section, .intro-01a .ms-left .ms-section,
    .intro-01 .ms-right .ms-section, .intro-01 .ms-left .ms-section{
            -ms-transform: translateX(0px); /* IE 9 */
            -webkit-transform: translateX(0px); /* Safari */
            -mox-transform: translateX(0px); /* firefox */
            -o-transform: translateX(0px); /* opera */
            transform: translateX(0px);
    }
    
    
    
    .fold-promo h1, .fold-promo h1 > strong{
        font-size: 24px;
        line-height: 31px;
        text-align: left;
    }
    .studio-approach h2, .testimonial-text h3, .project-caption h3{
        font-size: 16px;
        line-height: 23px;
        text-align: left;
    }
    .promo-text, .inner-heading, .testimonial-text p, .services-item, 
    .team-text h3, .team-text p, .team-social ul, .journal-text, .journal-social ul, 
    .project-caption, .project-spec-wrap{
        text-align: left;
    }
    .studio-approach-count{
        border: none;
        padding: 0;
        height: auto;
        width: auto;
        text-align: left;
        margin-bottom: 20px;
    }
    .testimonial-text p::before, .team-text.dark-bg p::before, 
    .journal-text.white p::before, .project-caption p::before{
        display: none !important;
    }
    .studio-services-inner{
        padding-left: 20px;
        padding-right: 20px;
    }
    .services-item{
        margin-bottom: 40px;
    }
    footer.mastfoot .foot-logo{
        margin-bottom: 20px;
    }
    .features-item{
        margin-top: 40px;
    }
    
    .project-carousel-wrap{
        height: auto !important;
    }
    
    .journal-item{
        padding-top: 20px;
        padding-bottom: 20px;
    }
    

    .add-top-half {
        margin-top: 40px;
    }

    .add-top-quarter {
        margin-top: 20px;
    }

    

    .add-bottom-half {
        margin-bottom: 40px;
    }

    

    .pad {
        padding: 20px; /* top padding 35 to 20 */
    }

    .pad-top {
        padding-top: 50px;      /* top padding 80 to 50 */
    }
    /* by andon */
    .pad-top-more {
        padding-top: 150px !important;
    }
    /* by andon */
    

    

    .pad-bottom {
        padding-bottom: 50px;/* top padding 80 to 50 */
    }

    

    

}

/*iPhone Landscape Mode and Mediium Smart Phones*/
@media screen and (max-width: 480px) {
    .container {
        width: 400px;
        padding-left: 40px;
        padding-right: 40px;
    }

}

/*iPhone 6Plus Portrait Mode*/
@media screen and (max-width: 414px) {
    .container {
        width: 374px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/*iPhone 6 Portrait Mode*/
@media screen and (max-width: 375px) {
    .container {
        width: 335px;
        padding-left: 20px;
        padding-right: 20px;
    }

}

/*iPhone 5S, 5, 4S & 4 Portrait Mode and Very Small Mobile Phones*/
@media screen and (max-width: 320px) {
    .container {
        width: 300px;
        padding-left: 40px;
        padding-right: 10px;
    }
    }

@media (max-width: 767px) {
  .text-centre{
    text-align: center !important;
  }
}

@media (max-width: 767px) {
    .custom-size-nav-2{
        width:150% !important; 
    }
    .custom-size-nav-1{
        width:30% !important; 
    }
    
}