


/* До правки было min-width: 320px — на узких телефонах (<320px) не применялись мобильные правила */
@media (max-width: 600px) { 
   
    
   
   
    .header {
        
        height:60px;      
        display: flex;
        justify-content: start;
        align-items: center;
        background-color: #f1eeee;
     
    }
    
    .header__partners {
        width: 100%;
        height:50px;
        padding: 0;
        margin: 0 auto;    
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #f1eeee;    
    }
    
    .log {
        width: 30%;
       
        display: flex;
        justify-content: center;
        align-items: center;  
        padding: 0;
        margin: 0;            
    }
    
    .logotip {
        display: flex;
        justify-content: space-evenly;
        padding: 5px;    
    }
    .imglogo{
        width: 20px;
        margin: 1px;
    }
    
    .textlogo {
        margin-top: 1px;
        margin-left: 1px;
       }
    
    .textlogo1 {        
        margin: 1px;
        padding: 0;
        letter-spacing: 3.7px;
        color: #E46A17;
        font-size:7px ;
        font-weight: 100;
    
    }
    .textlogo2 {
        margin: 1px;
        padding: 0;       
        letter-spacing: 1px;
        color: #E46A17;
        font-size:7px ;
        font-weight: 100;    
    }
    
    .textlogo3 {
        margin: 0;
        padding: 0;    
        color: #E46A17;
        font-family: 'Bona Nova', serif;
        font-size: 10px;
        letter-spacing: 9px;
        font-weight: 100;    
    }
        
    .header_icons_socseti_h {
        display: none;
      
    }
    .socialseti__wots {
        width: 30%;
        display: flex;
        justify-content: start;
    }
    .header_icons_socseti_w {
        width: 30%;
        display: flex;
        justify-content: center;        
    }
      
    .text__nav__header {
        color: #FFF;
    }
    .nav__header{
        width: 30%;
        padding: 0;
        margin: 0;
    }
    
    /* видеофон */
    
    .titul {
       
      padding-top: 60px;
    }
        
    /* о нас */
    
    .portfolio {
        width: 100%;
        display: flex;
        flex-direction: column;
        background-color: #f1eeee;
        padding: 0 ;
        margin: 0;    
    }
    
    .heading {
        width: 100%;
        margin-top: 5px;    
        color: #E46A17;      
        font-family: 'Bona Nova', serif;
        font-style: normal;    
        font-size: 12px;
        letter-spacing: 1px;    
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 ;
        margin: 0; 
    }
    .textlogo3_heading {
        width: 100%;
        display: flex;
        justify-content: space-evenly;   
        padding: 0;  
        margin: 0;     
    }
    
    
    .portfolio__bloci{
        width: 100%;     
        display: flex;    
        flex-wrap: wrap;       
    }
    
    .portfolio__bloci__bloc {
        width: 100%;
        margin: 5px;
        padding: 5px;
    }
    
    .img__bloci__bloc{
        display: flex;        
        justify-content: center;
    }
    
    .logo__img__bloci{
        width: 40px;
        margin: 5px;
    }
    
    .text__portfolio {
        font-size:12px ;
        font-weight: 100;
        font-family: 'Bona Nova', serif;
    }
    
    .text__portfolio__h {
        font-size:12px ;
        font-weight: 100;
        font-family: 'Bona Nova', serif;
        border-bottom: 0;
        padding: 0;
        margin: 0;
    }
    
    .portfolio__img {
        width: 100%;
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;
    }

    /* Slideshow container */
.slideshow-container {
    max-width: 500px;
    position: relative;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }
  
  .slaider {
    background-color: #f1eeee;
    width: 100%;    
  }

  /* Hide the images by default */
  .mySlides {
      display: none;
      width: 250px;
      padding: 25px;          
    }

   /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: rgb(31, 22, 22);
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
  }

  .prev {
    left: 10px;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 25px;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
  }
  
  /* Caption text */
  .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* The dots/bullets/indicators */
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active, .dot:hover {
    background-color: #717171;
  }
  .dot_class {
    padding: 15px;
  }
  
  /* Fading animation */
  .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }

/* услуги */
    
    
    
    .service {
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
    }
    
    .text__service {
        width: 100%;
        display: flex;
        justify-content: center;       
        text-align: center;
        font-size:11px ;
        font-family: 'Bona Nova', serif;
        letter-spacing: 1px;        
        padding-top: 10px;
    } 
    
    .bloci__service {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }    
    
    .bloc__service {
        width: 250px;
        height: 200px;     
        display: flex;
        flex-direction: column;
        justify-content: start;
        margin:0 auto;
        padding: 5px;
       
    }
    .logo__bloc__service {
        display: flex;
        align-items: center;
        justify-content: start;    
    }
    
    .img__logo__bloc__service {
        width: 15%;    
        margin-bottom: 0;
    }    
    
    .list {        
        width: 100%;              
        display: flex;
        flex-direction: column;
    }
    
    .text__logo__bloc__service {
        font-size:12px ;
        font-weight: 100;
        font-family: 'BonaNova', serif;
        font-style: normal;
        margin-top: 5px;
    }
    
    .btn__service {
        width: 200px;
        display: flex;
        justify-content: center;
        border-color: #e4dcdc;
        cursor: pointer;
        background-color: #E46A17;
        margin: auto;
        display: none;
    }
    
    .text__btn {
        font-size:20px ;
        font-weight: 200;
        font-family: 'Bona Nova', serif;
        border-bottom: 0;
    }
    
    ul:first-child  li:before { content:"\2713\0020"; }  /* OR */
    
    ul { list-style-type: none; } 
    
    /* преимущества */
    
    .pluses {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;    
        background: rgba(61, 61, 61, 0.10);
        padding: 0;
        margin: 0;
    }
    
    .bloci__pluses {
       width: 300px;       
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 1px;
    }
    
    .bloc__plus {
        width: 250px;
        height: 200px;       
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        border-radius: 10px;
        background: #FFF;
        box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.10);
        margin: 5px;
        padding: 55px;
    }

    .logo__plus {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .img__logo_plus {
        width: 30px;
        height: 30px;
    }
    
    .hbp{
        width: 100%;
        text-align: center;
        padding: 0;
        margin: 0;    
    }
    
    .hb__plus{       
        font-family: 'Bona Nova', serif;
        color: #000;
        text-align: center;
        font-size: 12px;
        font-weight: 100;      
        letter-spacing: 1px;    
    }
    
    .text__plus {
        width: 100%;
        padding: 1px;
    }
    
    .hbp__text {
        color: #3D3D3D;
        margin: 0;
        text-align: center;
        font-family: 'Bona Nova', serif;
        font-size: 10px;
        font-style: normal;
        font-weight: 100;
        line-height: normal;
        letter-spacing: 1px;
    }
    
    
    /* появились вопросы */
    
    .consultation {
        width: 100%;
        padding: 50px;
        display: none;
        padding: 0;
        margin: 0;
    }
    
    
    /* ипотека*/
    
    .ipoteka {
        width: 100%;
        padding: 0;
        margin: 0;
    } 
    
    .container__ipoteka {
        width: 100%;
        display:  flex;
        flex-wrap: wrap;
        padding: 20px;
    }
    
    .ipoteka__bloc {      
        width: 70px;
        height: 70px;
        border: 1px solid #999;
        border-radius:10px;
        overflow: hidden;
        margin: 10px;
    }
    
    .ipoeka__partner {
    
    }
    
    .img__partner {
        width: 100%;  
        height: 100%;    
    }

    /* калькулятор*/

.container__calc {
    width: 100%;
    padding-top: 130px;
    padding: 0;
    margin: 0;
  
   
}

.btn__calc {
    width: auto;
    max-width: calc(100% - 2rem);
    min-height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-color: #e4dcdc;
    cursor: pointer;
    background-color: #E46A17;
    margin: auto;
    text-decoration: none;
    border-radius: 15px;
    overflow:hidden;  
    box-shadow: #7c7878 3px 4px;
    box-sizing: border-box;
    border: none;
    color: #fff;
    
}
    
.btn__service__calc {
    width: 100%;
    max-width: 280px;
    min-height: 44px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: #e4dcdc;
    cursor: pointer;
    background-color: #E46A17;
    margin: auto;
    padding: 10px 14px;
    box-sizing: border-box;
    border: none;
    color: #fff;
    
}

.btn__calc:hover {
    background-color: #756f6b;
    box-shadow: #494747 1px 1px;
    transition: 0.2s;
}
.btn__service__calc:hover {   
    color: #3D3D3D; 
    transition: 0.2s;   
}




.text__btn__calc {
    font-size:9px ;
    font-weight: 100;
    font-family: 'Bona Nova', serif;
    border-bottom: 0;
    margin: 0;
    text-align: center;
    line-height: 1.25;
}
    
    
    
    /* Новостройки*/
    
    .building {
        width: 100%; 
        padding: 0;
        margin: 0;   
    }
    
    .container_bulding {
        width: 100%;
        display: flex;
        padding: 100px;
        justify-content: center;   
    }
    
    .img__bulding {
        padding: 50px;
        padding-top: 0;
    
    }
    
    .img__container__bulding {
    
    }
    
    .content_bulding {
        padding: 50px;     
    
    }
    .list__bulding {        
        width: 100%;
        height: 250px;       
        display: flex;
        flex-direction: column;
    }
    
    
    
    /* отзывы*/
    
        
    /* контакты*/
    
    .contacts {
        width: 100%;
        padding: 0;
        margin: 0;
    
    }
    .contacts_container {
        display: flex;
        width: 100%;
        justify-content: center;
        padding: 0 auto;
        flex-wrap: wrap;
    }
    
    
    .h3_contact {
        font-size: 12px;
    }
    
    .contacts__text {
        font-size: 9px;
        text-decoration: none;
        color: #111;
    }
    .contacts__text__yan {
        font-size: 10px;
        text-decoration: none;
        color: #111;
    }
       
    
    .text__contact {
        text-decoration: none;
        color: #000;
        font-size: 10px;
    }
    
    .contacts__content {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;   
    }
    
    .contacts__adres__logo {
        margin-right: 3px;
        width: 10px;
        height: 10px;    
    }
    
    .contacts__text {
        padding: 0;
        margin: 1px;    
        font-variant-numeric: lining-nums;
        text-decoration: none;
        color: #111;    
    }
    
    .yan:hover {
        cursor: pointer;
        color: #E46A17;
        font-size: 16px;
    }
    
    .contacts__aside__bloc {
        display: flex;    
    }
        
    .contacts__aside__left {
        width: 80px;
    
    }
    
    /* подвал*/
    
    .footer{
        width: 100%;
        height: auto;
        min-height: 0;
        background-color: #333;     
        display: flex;
        justify-content: space-evenly;
        align-items: center;  
        padding: 0;  
        margin: 0;  
    }
    .aside__footer {
        display: none;
        flex-direction: column;

    }
    .aside__footer_dop {
        display: flex;
        flex-direction: column;
    }
    
    .socialseti__footer {
        
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;  
    }
    
    .text__footer {
        color: #E46A17;
        font-size: 8px;
        text-decoration: none;
        margin: 3px;
    }
    .icons__footer {
        width: 30px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        
        margin: 1px;
        border-radius: 5px;
        overflow: hidden;       
    }
    .img__footer{
        width: 15px;
        height: 15px;
        background-color: #E46A17;
        border-radius: 5px;
        overflow: hidden;
    }
    .text__footer__head{
        color: #E46A17;
        font-size: 8px;
    }
    .aside__footer {
        padding: 0;   
    
    }

 }
    
