/* ===================================
    12. Responsive CSS
====================================== */


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

    .content-1140
    {
        max-width: 100%;
    }

    .menu-right-part
    {
        width: 45%;
    }

    .menu-left-part
    {
        margin-left: 5%;
    }

    .menu-left-part:after
    {
        left: 55%;
        left: calc(55% - 1px)
    }

}

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

    .one_half,  .one_third,  .two_third,  .three_fourth, .one_fourth
    {
        margin-right: 8%;
        float: left;
        position: relative;
        margin-bottom: 37px;
    }

    .one_half{
        width: 46%;
    }
    .one_third{
        width: 28%;
    }
    .two_third{
        width: 64%;
    }
    .one_fourth{
        width: 19%;
    }
    .three_fourth{
        width: 73%;
    }    

    blockquote.inline-blockquote
    {
        display: block;
        margin: 50px 0;
        width: auto;
    }    

}

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

    blockquote 
    {    
        font-size: 17px;
        line-height: 28px;    
        text-align: center;
    }

    blockquote:before
    {
        line-height: 150px;
        font-size: 150px;
        position: relative;
        top: 0;
        left: 0;    
        text-align: center;
        display: block;
        margin-bottom: -60px;
    }

    .menu-left-text
    {    
        font-size: 35px;
        line-height: 50px;
    }

}

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

    .header-logo
    {
        padding: 50px 0;
    }

    .toggle-holder
    {    
        top: 71px;
        right: 40px;
    }

    .page h1.entry-title 
    {    
        font-size: 40px;
        line-height: 45px;
        max-width: 95%;
    }

    .single h1.entry-title 
    {
        font-size: 40px;
        line-height: 44px;
        margin-bottom: 0;
        max-width: 95%;
    }

    .single .post-num
    {
        margin-bottom: 50px;
    }

    .content-970, .content-945, .content-750
    {
        width: 95%;
    }

    .menu-left-part
    {
        display: none;
    }

    #header-main-menu
    {
        text-align: center;
        padding-left: 0;
        margin-top: 30px;
    }

    .menu-right-part
    {
        float: none;
        width: 100%;        
        margin: 0 auto;
        text-align: center;
    }

    .main-menu
    {
        max-width: 100%;
    }

    .menu-portfolio-category
    {
        padding-left: 0;
        margin: 0 auto;
    }

    .one_half, .one_third, .one_fourth, .two_third, .three_fourth
    {
        width: 100%;
        float: none;
        margin-right: 0;
        margin-left: 0;
        text-align: center;
    }

    .progress_bar_field_holder
    {
        width: 100%;
        max-width: 100%;
    }    

    .blog-item-holder
    {
        padding: 30px 0;
        margin: 30px 0;
    }

    .blog-item-holder .post-thumbnail
    {        
        float: none !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 30px;
        max-width: 100%;
        width: 100%;
    }

    .blog-item-holder.has-post-thumbnail .entry-holder
    {        
        float: none !important;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        width: 100%;
    }

    .post-num
    {
        font-size: 65px;
        margin-top: -15px;
    }

    .entry-info
    {
        padding-bottom: 20px;
    }

    .blog-item-holder h2.entry-title
    {
        font-size: 40px;
    }

    #header-main-menu .search-field
    {
        text-align: center;   
    }    

    #header-main-menu .search-field::-webkit-input-placeholder
    {
        text-align: center;
    }

    #header-main-menu .search-field::-moz-placeholder
    {
        text-align: center;
    }

    #header-main-menu .search-field:-ms-input-placeholder
    {
        text-align: center;
    }

    #header-main-menu .search-field:-moz-placeholder
    {
        text-align: center;
    }

    .slick-dotted.slick-slider
    {
        margin-bottom: 90px;
    }

    .info-code 
    {
        padding: 10px 20px;
        display: inline-block;
        text-align: center;
    }

    .grid-item.quote-item:before 
    {        
        font-size: 260px;                
        margin-bottom: -210px;        
    }

    .grid-item.quote-item
    {   
        font-size: 30px;
        line-height: 45px;    
    }

    .portfolio-text-holder 
    {
        top: 10px;
        left: 10px;
        bottom: 10px;
        right: 10px;
    }   

    .carousel-slider .slick-slide .item-text a 
    {    
        font-size: 25px;
        line-height: 35px;
        padding-top: 20px;
        margin-top: 0 !important;
    }

    .carousel-slider .slick-slide .item-text 
    {
        position: relative;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;    
        opacity: 1 !important;
    }

    .single-portfolio .entry-content
    {
        position: relative;
        padding-bottom: 50px;
    }

    .portfolio-nav 
    {
        position: absolute;
        bottom: -115px;
        text-align: center;
        display: block;
        width: 100%;
        left: 0;
    }

    .portfolio-nav .nav-previous, .portfolio-nav .nav-next
    {
        float: none;
    }

    .single-portfolio .portfolio-item-info 
    {
        width: auto;
        float: none;
        text-align: center;
        padding-bottom: 30px;
    }

    .single-portfolio .content-wrapper 
    {
        width: auto; 
        float: none;
    }

    .footer
    {
        margin-top: 40px;
        padding-bottom: 30px;
    }

    .footer-first-line 
    {
        font-size: 35px;
        line-height: 35px;
    }

    .our-position-left 
    {
        display: block;
        padding-right: 0;
    }

    .our-position-right
    {
        display: block;
    }

    .our-position-holder:before
    {
        display: none;
    }

    .our-position-holder:after 
    {        
        width: 50%;        
        left: 25%;
    }

    ul#footer-sidebar li.widget 
    {
        width: 100%;
        margin-right: 0;
        float: none;
        padding-bottom: 30px;
    }

    ul#footer-sidebar li.widget:nth-child(3n)
    {
        margin-bottom: 0;
    }

    li.copyright-footer 
    {
        float: none;
        text-align: center;
        width: 100%;
    }

    li.social-footer 
    {
        float: none;
        text-align: center;
        width: 100%;
    }

}


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

    p.custom-text-class, p.custom-field-class 
    {
        display: block !important;
    }

    p.custom-field-class
    {
        width: 100% !important;
    }

}

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

    .grid-item 
    {
        display: block !important;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 33px;
        max-width: 95%;
    }

    .grid-item.quote-item 
    {    
        margin-top: 60px;
    }

    .single .nav-links:before
    {
        display: none;
    }    

    .single .nav-previous, .single .nav-next
    {
        display: block;
        max-width: 95%;
        text-align: center;
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    .single .nav-previous
    {    
        padding-bottom: 40px;
    }


    .single .nav-previous a, .single .nav-next a 
    {
        float: none;
        font-size: 24px;
        line-height: 30px;
    }

    .single-portfolio .nav-previous, .single-portfolio .nav-next
    {
        display: inline-block;
        padding-bottom: 0;
        max-width: none;
        margin: 0 15px;
    }

    .carousel-slider .slick-slide img
    {
        max-height: 300px;
    }    

}

@media screen and (max-width: 480px){
  .tagcloud a {
    font-size: 10px !important;
  }
  #search1 input[type="search"] {
    font-size: 12px;
  }
  .about-content p {
    font-size: 18px;
  }
    .about-content h2 {
    font-size: 26px;
  }
  .trending h2 {
    font-size: 20px;
  }
    .header-logo img {
        width: 30%;
    }
    .header-logo {
        padding: 20px 0;
    }
    .toggle-holder {
    left: 35px;
    top: 50px;
  }
      #toggle div {
    background-color: #cec0b2;
  }
    .discount-action .call-banner {
    height: auto;
    padding: 90px 0px 90px 0px;
  }
  .search-main {
    right: 25px;
    }

}

/* ----------- iPad 1, 2, Mini and Air ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {

    .discount-action .call-banner {
        height:auto!important;
        }
}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {
    .discount-action .call-banner {
        height:auto;
        }

}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {
    .discount-action .call-banner {
        height:auto;
        }

}