@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");

body {
    font-family: "Montserrat", 'Calibri',sans-serif;
}
/* .main-wrapper{

    display: flex;
    flex-direction: column;


} */

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
a:link {
    color: #000; /* Öâåò ññûëîê */
}

a:visited {
    color: #000; /* Öâåò ïîñåùåííûõ ññûëîê */
}

a:active {
    color: #000; /* Öâåò àêòèâíîé ññûëêè */
} 

.firstpage{
  width: 100%;
  /* min-height: 100vh; */
  display: flex;
  flex-direction: column;

}

.header_logon {
    display: inline-block;
    text-align: center;
    padding: 10px 15px;
    margin: 0 auto;
    color: #2478d8;
    margin-top: 30px;
    background: rgb(255, 255, 255);
    border-radius: 10px;
    font-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}
/*.header_logon:hover {

  background: #fdec51;
  color:#070707;
}
*/

.header_content {
  flex: 1;
    width:100%;
    /* min-height: 50vh; */
    /* height: 400px; */
    /* height: 50vh; */
    background: #2478d8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 75px 0;


}




.header_title {
  font-family: "Calibri-Bold", "Calibri";
  font-weight: 600;
  letter-spacing: 0.19em;
  font-size: 64px;
  color: #fff;
  padding: 0 0 10px 0;
}
.header_logotype{
/*    background:red;*/
    padding-bottom: 20px;
    width:360px;
}

.header_logotype img{
    width:100%;
    height:100%;
}
.header_text {

  color: #fff;
  font-size: 28px;
  padding: 0 0 15px 0;

}

.about_products {
   flex: 1;
   margin: 0 auto;

}

/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
.content {
    max-width: 960px;
    margin: 0 auto;
}


.about {
    flex: 1;
    min-height: 220px;
    font-size: 14px;
    line-height: 20px;
    color: #5f6c7b;
    padding: 25px 15px;
    text-align:justify;
}
.about p {
  margin-bottom: 10px;
}
.products {
    /* height: 25vh; */
    border-bottom: 1px #E1EFFE solid;
}
.products_title {
  text-align: center;
  font-size: 18px;
  padding: 0 0 25px 0;

}
.product_content{

    display:flex;
    flex-direction: column;
    justify-content: center;

}
.products_items {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    /*justify-content: space-between;*/
    justify-content:center;
    align-items: flex-end;

}
.product_item {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-items: center;
  text-align: center;
  width: 200px;
}

    .product_item:hover {

    
    }


.product_title {
    margin-top: 20px;
    height: 40px;
    /* min-width: 100px;*/
    width: 100%;
}


.product_img {
    position: relative;
    margin: 0 auto;
    height: 100px;
    width: 50%;
}
.product_img img {
  
  display: block;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}
.module {
  margin: 0px 0px 0px 0px;
  padding-top: 70px;
  padding-bottom: 0px;
  /* border-bottom: 1px #E1EFFE solid */
}

.module:last-child {
  margin-bottom: 100px;
  border-bottom: none;
}
.module_title {
  text-align: center;
  font-size: 18px;
  margin-bottom: 20px;
}

.module_subtitle {
  text-align: center;
  font-size: 16px;
  margin-bottom: 30px;
}


.module_items {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: flex-start;
    flex-wrap: wrap;
}


.module_item {
    width: 100%;
    padding-left: 5px;
    padding-bottom:25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}
.items-3 {
  width: 310px;
}
.items-2 {
  /*width: 43.75%;*/
  width: 410px;
  
}
.left-img {
    /*width: 12.5%;*/
    width: 120px;
    align-self: center;
    padding-bottom: 30px;
    padding-right:20px;
}
.left-img img {

    width: 100%;
}

 .food{
  align-items: center;
}
.population{

    align-items: flex-start;
    justify-content: start;


}


.module-item-img{
    height: 80px;
}
.module_item_title{
    padding-bottom: 20px;
/*    color: #094067;*/
    color: #000;
    font-size: 15px;
    
}
.module_item_content p{
    
    padding: 0 15px 7px 0;
    color: #5F6C7B;
    line-height:22px;
}


/*.module_tmc {
    background: url("../img/product-tmc-big.svg") 0 100%;
    background-repeat: no-repeat;
    background-size: 120px;
}
.module_buliding {
    background: url("../img/product-build-big.svg") 0 100%;
    background-repeat: no-repeat;
    background-size: 120px;
}

.module_population {
    background: url("../img/product-numb-big.svg") 0 100%;
    background-repeat: no-repeat;
    background-size: 120px;
}*/

.module_item_content p:last-child{
  padding-bottom: 0;
}

.footer {
  background: #2478d8;
  height: 250px;
}
.footer_content {
  height: 100%;
  display: flex;
  flex-direction: row;
}
.footer_contacts {
  width: 50%;
  color: #fff;
  align-self: center;
  /* justify-self: center; */
}
.footer_contacts >ul>li {
  padding: 5px 0;
}
.footer_contacts img{
  width: 16px;
  height: 16px;
}

.footer_img{
  width: 16px;
  height: 16px;
  /* display: inline-block; */
  margin-right: 7px;
}

.footer_map {
  width: 50%;
}



/* iphone 3 */
@media only screen and (min-device-width: 320px) and (max-device-height: 480px) and (-webkit-device-pixel-ratio: 1) {
}

/* iphone 4 */
@media only screen and (min-device-width: 320px) and (max-device-height: 480px) and (-webkit-device-pixel-ratio: 2) {
}

/* iphone 5 */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (-webkit-device-pixel-ratio: 2) {
}

/* iphone 6, 6s, 7, 8 */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (-webkit-device-pixel-ratio: 2) {
    .content {
        max-width: 630px;
        margin: 0 auto;
    }

    .about {
        flex: 1;
        min-height: 220px;
        font-size: 14px;
        line-height: 20px;
        color: #5f6c7b;
        padding: 25px 10px;
    }

    .products_items {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        /*justify-content: space-between;*/
        justify-content: center;
        align-items: center;
    }

    .product_item {
        width: 150px;
    }

    .module_items {
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .left-img {
        /*width: 12.5%;*/
        width: 100px;
        align-self: center;
        padding-bottom: 10px;
    }

    .items-2 {
        width: 270px;
    }

    .module {
        margin: 30px 0px 0px 0px;
        padding-top: 50px;
        padding-bottom: 0px;
        border-bottom: 1px #E1EFFE solid;
    }

        .module:last-child {
            margin-bottom: 25px;
        }

    .module_title {
        padding: 0 5px;
    }

    .module_subtitle {
        padding: 0 8px;
    }

    .footer_contacts {
        padding-left: 15px;
    }
}

/* iphone 6+, 6s+, 7+, 8+ */
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (-webkit-device-pixel-ratio: 3) {
    .content {
        max-width: 700px;
        margin: 0 auto;
/*        background:black;*/
    }

    .about {
        flex: 1;
        min-height: 220px;
        font-size: 14px;
        line-height: 20px;
        color: #5f6c7b;
        padding: 25px 10px;
    }

    .products_items {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        /*justify-content: space-between;*/
        justify-content: center;
        align-items: center;
    }

    .product_item {
        width: 150px;
    }

    .module_items {
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .left-img {
        /*width: 12.5%;*/
        width: 100px;
        align-self: center;
        padding-bottom: 10px;
    }

    .items-2 {
        width: 310px;
    }

    .module {
        margin: 30px 0px 0px 0px;
        padding-top: 50px;
        padding-bottom: 0px;
        border-bottom: 1px #E1EFFE solid;
    }

        .module:last-child {
            margin-bottom: 25px;
        }

    .module_title {
        padding: 0 5px;
    }

    .module_subtitle {
        padding: 0 8px;
    }

    .footer_contacts {
        padding-left: 15px;
    }
}

/* iphone X , XS, 11 Pro */
@media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
    .content {
        max-width: 800px;
        margin: 0 auto;
/*        background:red;*/
    }

    .about {
        flex: 1;
        min-height: 220px;
        font-size: 14px;
        line-height: 20px;
        color: #5f6c7b;
        padding: 25px 15px;
    }

    .products_items {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        /*justify-content: space-between;*/
        justify-content: center;
        align-items: center;
    }
    .product_item {
        width: 150px;
    }

    .module_items {
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .left-img {
        /*width: 12.5%;*/
        width: 100px;
        align-self: center;
        padding-bottom: 10px;
    }
    .items-2{
        width:310px;
    }
    .module {
        margin: 30px 0px 0px 0px;
        padding-top: 50px;
        padding-bottom: 0px;
        border-bottom: 1px #E1EFFE solid;
    }
    .module:last-child {
        margin-bottom: 25px;

    }
    .module_title{
        padding: 0 5px;
    }
    .module_subtitle {
        padding: 0 8px;
    }
    .footer_contacts {
        padding-left: 15px;
    }
}

/* iphone XR, 11 */
@media only screen and (min-device-width : 414px) and (max-device-height : 896px) and (-webkit-device-pixel-ratio : 2) {
    .content {
        max-width: 860px;
        margin: 0 auto;
/*        background: green;*/
    }
    .about {
        flex: 1;
        min-height: 220px;
        font-size: 14px;
        line-height: 20px;
        color: #5f6c7b;
        padding: 25px 15px;
    }

    .products_items {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        /*justify-content: space-between;*/
        justify-content: center;
        align-items: center;
    }

    .product_item {
        width: 150px;
    }

    .module_items {
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .left-img {
        /*width: 12.5%;*/
        width: 100px;
        align-self: center;
        padding-bottom: 10px;
    }

    .items-2 {
        width: 310px;
    }

    .module {
        margin: 30px 0px 0px 0px;
        padding-top: 50px;
        padding-bottom: 0px;
        border-bottom: 1px #E1EFFE solid;
    }

        .module:last-child {
            margin-bottom: 25px;
        }

    .module_title {
        padding: 0 5px;
    }
    .module_subtitle {
        padding: 0 8px;
    }

    .footer_contacts {
        padding-left: 15px;
    }

}

/* iphone XS Max, 11 Pro Max */
@media only screen and (min-device-width : 414px) and (max-device-height : 896px) and (-webkit-device-pixel-ratio : 3) {
    .content {
        max-width: 860px;
        margin: 0 auto;
/*        background: yellow;*/
    }

    .about {
        flex: 1;
        min-height: 220px;
        font-size: 14px;
        line-height: 20px;
        color: #5f6c7b;
        padding: 25px 15px;
    }

    .products_items {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        /*justify-content: space-between;*/
        justify-content: center;
        align-items: center;
    }

    .product_item {
        width: 150px;
    }

    .module_items {
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .left-img {
        /*width: 12.5%;*/
        width: 100px;
        align-self: center;
        padding-bottom: 10px;
    }

    .items-2 {
        width: 310px;
    }

    .module {
        margin: 30px 0px 0px 0px;
        padding-top: 50px;
        padding-bottom: 0px;
        border-bottom: 1px #E1EFFE solid;
    }




        .module:last-child {
            margin-bottom: 25px;
        }

    .module_title {
        padding: 0 5px;
    }
    .module_subtitle {
        padding: 0 8px;
    }

    .footer_contacts {
        padding-left: 15px;
    }
}

@media (min-width: 320px) and (max-width: 480px) {
    .header_logotype {
        padding: 0 15px 20px 20px;
    }
    .product_item {
        width: 150px;
    }
    .module_items {
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .items-2 {
        width: 310px;
    }
    .footer_contacts {
        padding-left: 15px;
    }
    .about {
        flex: 1;
        min-height: 220px;
        font-size: 14px;
        line-height: 20px;
        color: #5f6c7b;
        padding: 25px 15px;
    }
    .module_item_content p {
        padding: 0 15px 7px 0;
        color: #5F6C7B;
        line-height: 22px;
    }
    .module {
        margin: 0px 0px 0px 0px;
        padding-top: 50px;
        padding-bottom: 0px;
        /* border-bottom: 1px #E1EFFE solid */
    }
    .mmodal_subtitle {
        padding: 0 15px;
    }
    .left-img {
        /*width: 12.5%;*/
        width: 100px;
        align-self: center;
        padding-bottom: 10px;
    }


}