/*
Theme Name: Meipaly
Theme URI: http://layerdrops.com/
Author: Layerdrops
Author URI: http://layerdrops.com/
Description: Meipaly - Fine One Page Parallax HTML5 Responsive Template
Version: 1.0
License:
License URI:
*/

/*=======================================================================
 [Table of contents]
=========================================================================
1. Mobile Responsive
    a. Mobile Responsive 2
2. Small Device
3. Responsive For Small Device
4. Responsive For large Device

*/
/*------------------------------------------------------------------------------------
/ 1. Mobile Responsive. Responsive For Extra Small Device like: Mobile, Iphone etc
--------------------------------------------------------------------------------------*/
@media(min-width:992px){
    .certificates-carousel-wrapper .container{
        width: 900px
    }    
}
@media (max-width: 1199px){
    .mainmenu{
        display: none;
    }    
    .mobile-menu-wrapper{ 
        display: block;
        position: absolute;
        z-index: 2;
        right: 15px;
        top: 25px;
        color: #fff;        
    } 
    .mobile-menu-wrapper a{
        color: #000;
    } 
    #header-top{display: none;}
    
    .main-header {
        background: #fff;
        left: 0;
        position: fixed;
        right: 0;
        top: 0;
        width: 100%;
        z-index: 1000000;
        border: none;
        -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }
    
    .main-menu-wrapper{margin-top: 0;}
    
    .product-group-box{
        position: relative;
        width: 80%;
        left: 10%;
        margin-bottom: 115px;
    }
    
    .weather-section .weather-block{
        width: 100%;
        margin-bottom: 5px;
    }
    
    .weather-section .suggestion-box .temperature{
        text-align: right;
    }
    .weather-section ul.days{
        width: 100%;
    }
    .weather-section ul.days.col-count-6 li {
        width: 16.3%;
        margin-bottom: 5px;
    }    
}

@media (max-width: 991px){
    .main-header .container{
        width: 100%;
    }

    #header-top{height: 32px;}

    
    .logo{
        width: 220px;
        left: 15px;            
    }
    
    .mainmenu{
        padding: 0;
        margin: 0 -15px;
    }
    .mainmenu > ul {
        text-align: center;
        display: none;
        position: absolute;
        z-index: 10;
        background: #000;
        left: 0;
        top: -2px;
        padding: 30px 15px 20px;
        height: 300px;
        width: 100%;
        overflow-y: scroll;
        border-top: 1px solid rgba(255, 255, 255, .10);
    }
    .mainmenu ul li{
        display: block;
        padding: 0 0 32px;
    }
    .mainmenu ul li a{
        display: inline-block;
    }
    .mainmenu > ul > li.menu-item-has-children > a:before {
        position: absolute;
        right: -18px;
        top: 2px;
        content: "\f107";
        transition: all 0.3s cubic-bezier(0.7, 0, 0.3, 1);
        font-family: 'fontAwesome';
        font-size: 12px;
        color: #fff;
        line-height: .8;
    }
    .black_color .mainmenu ul ul.sub-menu,
    .mainmenu ul ul.sub-menu{
        top: 20px;
        display: none;
        width: 100%;
        padding: 0;
        visibility: visible;
        opacity: 1;
        left: auto;
        margin: auto;
        position: relative;
        right: auto;
        text-align: center;
        transform: none;
        z-index: 2;
        transition: none;
        padding: 15px 0 2px;
    }
    .mainmenu ul ul.sub-menu:before{
        border-bottom: none;
        border-top: 5px solid rgba(255, 255, 255, 0.98);
        transition: none;
    }
    .black_color .mainmenu ul li:hover ul.sub-menu,
    .mainmenu ul li:hover ul.sub-menu {
        visibility: visible;
        opacity: 1;
        top: 20px;
    }

    .mainmenu > ul > li.menu-item-has-children > a:hover:before, 
    .mainmenu > ul > li.menu-item-has-children.active > a:before{
        transform: rotate(-180deg);
        color: #fff;
    }
    .mainmenu > ul > li.active > a:after{
        width: 100%;
    }
    .black_color .mainmenu ul li a{
        color: #fff;
    }
    .black_color .mainmenu ul ul.sub-menu{
        background: transparent;
        box-shadow: none;
    }
    .black_color .mainmenu ul li.active a,
    .black_color .mainmenu ul li a:hover{
        color: #fff;
    }
    .black_color .mainmenu ul li.active a:after,
    .black_color .mainmenu ul li a:after{
        background: #fff;
    }

    .main-header{

    }
    .navigator{
        padding-top: 0;
    }
    .navigator a.search {
        margin-right: 10px;
    }
    .close-popup {
        top: 20px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    .close-popup:after, .close-popup:before {
        right: 13px;
        top: 19px;
    }
    .container.mobileContainer {
        width: 100%;
    }
    .logo2 {
        left: 15px;
        top: 20px;
    }
    .dl-menu__wrap ul li{
        margin: 5px 0;
    }
    .dl-menu__wrap ul li a{
        font-size: 14px;
    }
    .footer__contacts{
        text-align: center;
        padding: 0 5px;
        bottom: 55px;
        left: 0;
        right: 0;
        margin-bottom: 15px;
    }
    .footer__contacts li{
        font-size: 13px;
        margin: 0;
        color: #fff;
    }
    .popUp_social{
        text-align: center;
        right: 0;
        left: 0;
        bottom: 15px;
    }
    .popUp_social ul li{
        margin-right: 10px;
    }
    .popUp_social ul li a{
        font-size: 13px;
    }
    .popUp_social ul li a i{
        margin-right: 5px;
        font-size: 14px;
    }
    .searchForms button[type="submit"]{
        width: 40px;
        font-size: 15px;
    }
    .searchForms input{
        font-size: 15px;
        height: 70px;
    }
    
    .sec_title{
        font-size: 34px;
        letter-spacing: 1px;
        line-height: 50px;
    }
    .sec_title br{
        display: none;
    }
    .sec_desc br{
        display: none;
    }
    .custom_column .col-lg-3{
        width: 100%;
    }
 
    .footer .aboutwidget{
        padding-right: 0;
        margin-top: 0;
    }
    .footer .widget{
        padding-bottom: 40px;
        padding-left: 0;
    }
    .footer .contact_widgets p:first-of-type {
        margin-bottom: 15px;
    }
    .footer .widget.social_widget{
        padding-bottom: 80px;
    }
   
    .gmap{
        height: 300px;
    }
    
    .certificates-carousel .slick-prev {
        left: 0;
    }    
    .certificates-carousel .slick-next{
        right: 15px;
    }
    
    .social-carousel .slick-center img {
        margin: 0 auto;
        border-radius: 0;
        transform: scale(1.2);
    }
    
    .footer {
        padding: 40px 0 0;
    }
    
    .footer .social_widget{
        margin-top: 45px;
    }
    
    .dogaltv h4{
        margin-left: auto;
    } 
    .left-side-shadow:before,
    .right-side-shadow:before{
        content: none;
    }
    
    .home .ppb-carousel-wrapper{
        margin-top: 30px;
    }
    
    .tk-box {
        padding-top: 45px;
    }
    
    .weather-section ul.days.col-count-6 li {
        width: 32.7%;
    }        
    
    .home-search .sidebar-search{
        margin-top: 60px;
    }
    
    .product-group-box:last-child{
        margin-bottom: 60px;
    }
    
    .corporate-content-left{
        margin-bottom: 30px;
    }
    
    .news-detail .news-title{text-align: center;}
    
    .contact-region-box-wrapper .col-v2{ 
        float: left;
        width:  50%;
    }
    
    .contact-info-box{
        display: block;
        width: 100%;
        margin: 30px 0;        
    }
     
    .contact-info-box .region-but-box{
        padding-left: 45px;
    }
    
    .contact-info-box .region-but-box .btn{
        margin-left: 0;
        font-size: 9px;
    }
    .contact-info-box .region-but-box .btn:first-child{
        margin-right: 3px;
    }
    .contact-info-box .region-but-box .btn.single    {
        margin-left: 0;
        margin-right: 0;
    }
    
    
}


@media (max-width: 767px){
    .aboutus-section .text{
        padding: 90px 15px;
    }
    .product-group-box{
        width: 100%;
        left:0;
        margin-bottom: 70px;
    }
    .product-group{
        padding-bottom: 15px;
    }

    .corporate-carousel .slick-prev{
        left: 0;
        margin-top: -2px;
    }

    .corporate-carousel .slick-next{
        right: 15px;
        margin-top: -2px;
    }
    
    .yonetim_kurulu-section .item{
        width: 80%;
        margin: 0 auto 30px;
    }
    
    .yonetim_kurulu-section .first-box .box{
        width: 100%;
    }
    
    .ik-list .item .img-wrapper{
        margin-bottom: 15px;
    }        
}

@media (max-width: 600px){
    .contact-region-box-wrapper .col-v2{
        width: 100%;
    }
}

/*------------------------------------------------------------------------------------
/ 1.a. Mobile Responsive 2.
--------------------------------------------------------------------------------------*/
@media (min-width: 481px) and (max-width: 767px){
    .footer-form{
        width: 100%;
        margin: 0;
    }
    .footer-form input#email{
        width: 75%;
    }
    .footer-form button{
        width: 25%;
    }
}
/*----------------------------------------------
/ 2. Responsive For Small Device.  like: Tab
-----------------------------------------------*/
@media (min-width: 768px) and (max-width: 990px){
    .main-header{
        padding-left: 0;
        padding-right: 0;
    }
    .mainmenu ul li{
        padding: 0 12px 53px;
    }
    .mainmenu ul li:first-of-type{
        padding-left: 0;
    }
    .mainmenu ul li:last-of-type{
        padding-right: 0;
    }
    .mainmenu ul li a{
        font-size: 14px;
    }
    .footer__contacts{
        padding-left: 10px;
    }
    .logo2{
        left: 20px;
    }
    .sec_title{
        font-size: 40px;
    }
    .sec_title br{
        display: none;
    }
   
    .footer .aboutwidget{
        padding-right: 0;
        padding-bottom: 0;
    }
    .footer .contact_widgets{
        padding-left: 0;
    }
   
    .gmap{
        height: 450px;
    }
    .weather-section ul.days.col-count-6 li {
        width: 16.2%;
    }       
}

/*-------------------------------------------------------------------------
/ 3. Responsive For Medium Device. like: Desktop with 1024px resolution
----------------------------------------------------------------------------*/
@media (min-width: 991px) and (max-width: 1199px){
   
    .main-header{
        padding-left: 0;
        padding-right: 0;
    }
    .mainmenu ul li:first-of-type{
        padding-left: 0;
    }
    .mainmenu ul li:last-of-type{
        padding-right: 0;
    }
    
    .sec_title{
        font-size: 44px;
    }    
    
    .footer .aboutwidget{
        padding-right: 0;
    }
    .footer .contact_widgets{
        padding-left: 0;
    }
    .gmap{
        height: 500px;
    }
    
    .dogaltv h4{
        font-size: 15px;
    }

}
@media (max-width: 480px){
    .news-box .img-wrapper{
        margin-top: 30px;
    }
    
    .news-box.text-left-box .img-wrapper{
        width: 100%;
        left: 0;
        margin-bottom: 10px;
    }
    
    .news-box.text-left-box .text-wrapper  {
        width: 100%;
        margin-left: 0;
    }
    
    
}
 
@media (max-width: 420px){
    .weather-section ul.days.col-count-6 li {
        width: 32.6%;
    }
    
    .weather-section span.weather-icon{
        
    }
}

@media (max-width: 767px) and (min-width: 360px){
    .product-group-box{
        margin-bottom: 115px;
    }         
}

@media (max-width: 360px){
    
    .weather-section ul.days.col-count-6 li {
        width: 49.3%;
    }
    .product-group h4{
        font-size: 18px;
        line-height: 42px;
    }
    .product-group .img-wrapper{
        width: 100px;
        height: 100px;
        right: -5px;
        bottom: -28px;
        -webkit-background-size:55%;
        background-size:60% ;
    } 
    .product-group .img-wrapper:after   {        
        top: 30px;
        left: -30px;
        border-width: 0 40px 40px 0;
    }
    
}
