* {
    margin: 0;
    padding: 0;
  }

body {
    min-height: 100vh;
    margin: 0;  
    display: flex;
    flex-direction: column;
}  

.wraper {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

/*--- MAIN PAGE ---*/
.intro {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    margin-top: 10px;
    align-items: center;  
}

.logo-container {   
    padding-left: 20px; 
    display: flex;
    align-items: center;   
}

.main-title-text {
    line-height: 26px;
    color: #000000;    
    text-transform: uppercase;
    font-size: 24px;
}

.main-title-text-p {
    line-height: 26px;
    color: #000000;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 24px;
}

.logo {
    max-width: 150px;
    /*min-width: 150px;*/
}

.contacts-top {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.telephone {
    padding-top: 10px;
}

.telephone-link {    
    text-decoration: none;
    color:#000000;
}

.mail {
    padding-top: 10px;
}

.mail-link {    
    text-decoration: none;
    color:#000000;
}

.mail {
    padding-top: 10px;
}

.social{
    padding-top: 10px;
}

.fa-brands {
    font-size: 24px;
    height: 32px;
    width: 32px;
    /*margin-left: 8px;*/
    /*color: rgb(255, 255, 255);*/
    background-color: rgb(255, 255, 255);
    border-radius: 5px;
    text-decoration: none;
    text-align: center;    
    line-height: 32px !important;
}

.fa-telegram {
    color: rgb(0, 162, 255);
}

.fa-whatsapp {
    color: rgb(0, 158, 61);
}

.menu {
    background-color: rgb(106, 127, 169);
}

.menu-list {
    display: flex;
    align-items: flex-start;
    /*padding: 20px;*/
    /*justify-content: space-between;*/
    color: white;
}

.menu-list-item {
    /*display: flex;*/
    padding: 20px;
    list-style: none;
}

.menu-list-item-link {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid rgb(106, 127, 169); 
    font-size: 120%;
    text-decoration: none;
    color: white;
    
}

.menu-list-item-link:hover {    
    border: 1px solid rgb(255, 255, 255);
}

.is-active {   
    background-color: rgb(255, 255, 255); 
    padding: 10px;
    color: rgb(0, 0, 0);
    /*text-shadow: 0 0 4px rgb(255, 255, 255), 0 0 0.65px #333;*/
    border-radius: 5px;
}

/* -- Адаптивное меню -- */

    .menu{
        background-color: rgb(106, 127, 169);
    }
    .menu [type='checkbox'], 
    .menu lable.toggleSubmenu {
        display: none;
    }
    .menu label.toggleMenu {
        background: rgb(106, 127, 169);
        display: none;
        padding: 20px 40px;
        text-transform: uppercase;
        font-size: 120%;
        cursor: pointer;
        position: relative;
        color: white;
    }
    .menu label.toggleMenu .fa {
        position: absolute;
        top: 20px;
        left: 12px;
        font-size: 18px;
        color: white;
    }

   
/*-- всплывающее меню --*/
    .sub-menu {
        display: none;
        
    }
    .sub-menu-list {
        display: none;        
    }
   .sub-menu li {
    list-style-type: none;
   }
   .sub-menu-list {
    display: none;
   }
   input.ttt:checked ~ .sub-menu-list{
    display: block;
   }
   .fa-chevron-down {
    font-size: 20px;
    padding: 12px 12px 12px 12px;
   }
   .sub-menu-item {
    padding: 20px;
    display: block;
   }


/* --------------------- */

.main-page-content {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
}

.equipment-list-container {
    max-width: 300px;
    padding: 20px; 
    background-color: rgb(42, 46, 54);
    border-radius: 20px;
    height: 100%;    
}

.equipment-list-item {
    padding: 10px;
    color: white;
    min-width: 240px;
    list-style-type: none;
}

.equipment-list-item-link {
    text-decoration: none;
    color: white;
}

.equipment-list-item-link:hover {
    text-decoration: none;
    color: rgb(255, 0, 0);
}

.main-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;    
}

.main-picture {
    opacity: 0.7;
    margin: 20px 0 20px 0;
}

.main-description-logo {
    margin-top: 50px;
    margin-bottom: 50px;
    max-width: 150px;    
}

/*Скрывающийся текст*/
.main-text-fantom {
        
}

/*---------------*/

.footer {   
    background-color: rgb(106, 127, 169);
    margin-top: auto;    
}

.footer-content {
    width: 100%;
    display: flex;    
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
}

.contacts-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
}

.contacts-bottom-item {
    color: #f8f8f8;
}

.copyright {
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
}

.test {
    padding: 20px;  
}

/*----- EQUIPMENT PAGE -----*/
.equipment-page-content {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    /*justify-content: center;*/
}

.equipment-products {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.equipment-products-item {
    border: rgb(209, 209, 209) solid 2px;
    margin: 10px;
    max-width: 240px; 
    display: flex;  
    flex-direction: column;
    justify-content: space-between;
}

.equipment-products-item:hover {
    background-color: #f8f8f8;    
    box-shadow: 2px 2px 10px -2px grey;
}

.equipment-products-item-image { 
    max-width: 240px;
}

.equipment-products-item-link {
    text-decoration: none;
}

.equipment-products-item-title {
    line-height: 26px;
    color: #000000;
    padding: 15px;
    text-transform: uppercase;
    font-weight: 100;
    font-size: 18px;
}

/*----- SERVICES PAGE -----*/
.services-page-content {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
}

.services-description {
    padding: 0 20px;
}

.services-title {
    text-align: center;
    line-height: 26px;   
    text-transform: uppercase;
    font-weight: 100;
}

.services-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px;
}

.services-options-item {
    display: flex;
    flex-direction: column;
    max-width: 270px;
    margin: 50px;
}

.services-item-img {
    height: 150px;
    opacity: 0.2;
    text-align: center;
}

.services-item-text {
    padding-top: 20px;    
    text-align: center;
    min-width: 250px;
}

/*----- ABOUT-US -----*/
.about-us-page-content {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
}

.about-us-description {
    padding: 0 20px;
    /*padding-left: 20px;
    margin-top: 20px;*/
}

/*----- CONTACTS -----*/
.contacts-page-content {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
}

.contacts-description {
    width: 100%;
    padding: 0 20px;
    /*padding-left: 20px; 
    margin-top: 20px;*/
}

.contacts-description-item {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.contacts-description-item-icons {
    max-width: 24px;
}

.contacts-description-item-text {
    margin-left: 12px;
}

.contacts-description-map {
    max-width: 570px;
    border: #dbdbdb solid 5px;
}

/*----- EQUIPMENT-ITEMs PAGE -----*/
.equipment-item-page-content {
    width: 100%;
    padding: 0 20px;    
    /*margin-top: 20px;
    margin-bottom: 20px;*/
}

.equipment-item-page-title {    
    line-height: 26px;
    color: #000000;    
    text-transform: uppercase;
    font-weight: 100;
    font-size: 24px;
}

.equipment-item-page-products {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    /*justify-content: space-between;*/
    /*justify-content: center;*/
}

.equipment-item-page-card {
    border: rgb(209, 209, 209) solid 2px;
    margin: 10px;
    max-width: 240px; 
    display: flex;  
    flex-direction: column;
    justify-content: space-between;
}

.equipment-item-page-card:hover {
    background-color: #f8f8f8; 
    box-shadow: 2px 2px 10px -2px grey;
}

.equipment-item-page-card-link {
    text-decoration: none;
}

.equipment-item-page-card-image { 
    max-width: 240px;
}

.equipment-item-page-card-title {    
    line-height: 26px;
    color: #000000;
    padding: 15px;
    text-transform: uppercase;
    font-weight: 100;
    font-size: 18px;
}

.equipment-item-page-description {
    margin-top: 10px;
}

.equipment-item-page-description-text {
    padding-bottom: 10px;
}

.equipment-item-page-description-list {
    padding-left: 20px;
    line-height: 1.5;
}

.equipment-item-page-description-image {
    max-width: 80%;
}

/*----- EQUIPMENT-ITEMs-UNIT PAGE -----*/
nav[hidden] {
    display: block;
}

.equipment-item-page {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
}

.equipment-item-unit-page-navi {    
    font-size: 12px;
    margin-bottom: 20px;
}

.equipment-item-unit-page-link {
    color: black;
}

.equipment-item-unit-page-header {
    display: flex;
    align-items: center;
}

.equipment-item-unit-page-image {
    width: 300px;
}

.equipment-item-unit-page-action {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.equipment-item-unit-page-article {
    width: 300px;
    text-align: center;
    padding-bottom: 20px;
    font-weight: 100;
    font-size: 16px;
}

.equipment-item-unit-page-button {
    border: #000000 1px solid;
    font-size: 100%;
    padding: 15px 30px;
    margin: 20px;
    background-color: rgb(207, 207, 207);
}

.equipment-item-unit-page-button:hover {
    background-color: rgb(106, 127, 169);
    color: white;
    cursor: pointer;
}

.equipment-item-unit-page-order {
    text-decoration: none;
    color: #000000;
}

.equipment-item-unit-page-description {
    background-color: rgb(207, 207, 207);
    padding: 10px;
    margin-bottom: 20px;
}

.equipment-item-unit-page-text {
    padding-top: 10px;
}

.equipment-item-unit-page-specification {
    background-color: rgb(207, 207, 207);
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.tablet {
    /*font-size: 14px;*/
}

th, td {
   padding: 10px 5px;
   text-align: center;
}

.table-title {
    color: rgb(58, 58, 58);
    font-weight: bold;
}

.table-markcolor {
    color: rgb(100, 100, 255);
    font-weight: bold;
}

.table-colorstring {
    background-color: rgb(230, 230, 255);
}

/*----- mobile version -----*/
@media (max-width: 430px){
    .wraper {
        width: 100%;
        max-width: 430px;        
    }    

    /* -- Адаптивное меню -- */
    .menu ul {
        display: none;
    }
    .menu li {
        border-top: 1px solid white;
    }
    .menu label.toggleMenu {
        display: block;
    }
    input.toggleMenu:checked + label.toggleMenu{
        /* задий фон "МЕНЮ" */
        background: rgb(91, 108, 143);
        /* цвет шрифта "МЕНЮ" */
        color: ;
    }
    input.toggleMenu:checked ~ ul/*,
    input.toggleSubmenu:checked ~ ul*/ {
        position: relative;
        display: block;
    }
    .menu label.toggleSubmenu {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
        display: block;
    }
    input.toggleMenu:checked ~ a {
        /* задий фон "МЕНЮ" */
        background: rgb(91, 108, 143);
    }

    .menu-list {
        padding: 0px;
    }
    
    
    /* --------------------- */

    /* -- header -- */
    .intro {
        flex-direction: column;        
    }

    .main-title-text {
        text-align: center;
    }

    .main-title-text-p {
        text-align: center;
    }

    .contacts-top {        
        margin-left: auto;
        margin-right: 10px;        
    }

    .menu-list {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        overflow: hidden;
    }

    .main-text-fantom {
        /*display: none;*/   
    }

    /* -- page equipment -- */ 
    .equipment-products-item {           
        box-shadow: 2px 2px 10px -2px grey;
    }

    .equipment-item-page-description-image {
        max-width: 100%;
    }

    /* -- page's content -- */   
    .main-page-content, 
    .services-page-content,
    .about-us-page-content,
    .contacts-page-content,
    .equipment-item-page-content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        max-width: 100%;
    }

    nav[hidden] {
        display: none;
    }

    .about-us-description,
    .main-description {
        margin-top: 20px;
        max-width: 100%;
    }

    .equipment-item-unit-page-header {
        flex-direction: column;
    }

    .services-description,
    .contacts-description {
        margin-top: 20px;
        max-width: 88%;          
    }

    .equipment-list {
        width: 100%;
    }

    .equipment-list-container {
        width: 100%;        
    }

    .equipment-page-content {
        justify-content: center;
    }

    .equipment-item-page-products {
        justify-content: center;
    }
    
    .equipment-item-page-card {
        box-shadow: 2px 2px 10px -2px grey;
    }

    /* -- footer --*/
    .footer-content {
        flex-direction: column;
    }

    .contacts-bottom {
        align-items: center;
    }

    .tablet {
        font-size: 10px;
    }
}