@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');


.container {
    margin: 0 auto;
    min-width: 320px;
}

.flex-row {
    display: flex;
    justify-content: space-between;
}
strong {
    font-weight: 700;
}
p {
    font-family: Lato,Helvetica Neue,Arial,Helvetica,sans-serif;
    color: #414042;
    line-height: 18px;
    font-size: 14px;
    padding-bottom: 20px;
}

li {
    font-family: Lato,Helvetica Neue,Arial,Helvetica,sans-serif;
    color: #414042;
    line-height: 18px;
    font-size: 14px;
    padding-bottom: 10px;
    
}
h6 {
    font-family: Lato,Helvetica Neue,Arial,Helvetica,sans-serif;
    font-weight: 600;
    color:rgb(219, 40, 40);
    font-size: 21px;
    padding-bottom: 20px;
}

.flex-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu-logo{
    width: 150px;
    margin-left: 20px;
    align-self: center;
}

.menu-main {
    height: 70px;
}

.menu-list {
    display: none;
    align-self: center;
    border-right: 1px solid #999;
}

.menu-list ul {
    display: flex;
    flex-direction: row;
}

.menu-list li a {
    text-decoration: none;
    color: rgba(0,0,0,.87);
    padding: 15px 16px;
    font-size: 14px;
    transition: 0.5s;
}
.menu-list li a:hover {
    background-color: #ccc;
}
.mobile-btn {
    height: 50px;
    align-self: center;
    border-radius: 5px;
    margin-right: 10px;
}
.mobile-btn img{
    width: 50px;
}
.mobile-menu {
    display: none;
    position: absolute;
    top: 135px;
    width: 100%;
    height: 100vh;
    padding-top: 40px;
    background-color: #181818da;
    z-index: 999;
}
.active {
    display: block;
}
.mobile-menu li{
    font-family: 'Open Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    padding-top: 30px;

}
.mobile-menu a{
    color: #fff;
    text-decoration: none;
}


/* Блок контента, пересмотреть логику написания кода  */
.content-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}
.page-header h2{
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    color: #3E4355;
}

.left {
    padding: 20px 20px;
    width: 280px;
}
.right {
    /* padding: 20px 20px; */
    /* убрано ибо портит форму обратной связи */
    width: 280px;
}
.content100 {
    width: calc(100% - 40px);
    padding: 20px 20px;
}
.content80 {
    padding: 20px 20px;
}
.content60 {
    padding: 20px 20px;
} 
/* Standart JOOMLA classes styles */
.page-header a {
    color: #3E4355;
    text-decoration: none;
}
.page-header a:hover {
    color: #3E4355;
}
.items-more a {
    color: #3E4355;
    text-decoration: none;
}
.pagination {
    margin-top: 60px;
}

.pagination ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.pagination-start, .pagination-prev {
    border: 0.5px solid #3E4355;
    font-size: 12px;
    border-radius: 5px;
    padding: 10px 15px;
    margin-right: 20px;
}

.pagination-next, .pagination-end {
    border: 0.5px solid #3E4355;
    font-size: 12px;
    border-radius: 5px;
    padding: 10px 15px;
    margin-left: 20px;
}
.pagination-start a, .pagination-prev a, .pagination-next a, .pagination-end a, .pagination li a {
    text-decoration: none;
}
.pagination li {
    border: 0.5px solid #3E4355;
    font-size: 12px;
    border-radius: 5px;
    padding: 10px 15px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
}
.pagination li:hover, .pagination li a:hover {
    background-color: #3E4355;
    color: #fff;
}


/* Конец блока контента */

.footer {
    background-color: #181818;
}
.footer-flex {
    display: flex;
    flex-direction: column;
}
.footer p{
    color: rgb(231, 231, 231);
    font-size: 14px;
    padding: 5px 0px;
    text-align: center;
}
.footer h4{
    color: rgb(231, 231, 231);
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    padding-bottom: 20px;
    font-weight: 600;
    text-align: center;
}
.footer-list {
    width: 100%;
    padding-top: 56px ;
}
.footer-list a {
    color: #fff;
}
.footer-tel, .footer-mail {
    width: 50%;
}

.footer-tel em{
    color:rgb(219, 40, 40);
}

.footer-menu {
    width: 100%;
    border-top: 1px solid #333;
    padding: 10px 10px; 
}
.footer-menu ul {
    display: flex;
    flex-direction: row;
}

.footer-menu li a {
    text-decoration: none;
    color: #ccc;
    padding: 15px 16px;
    font-size: 14px;
}


@media (min-width: 576px) {
    .container {
        min-width: 540px;
    }
    .header {
        background-image: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)), url('../images/slide2.jpeg');
    }
}

@media (min-width: 768px) {
    .container {
        min-width: 720px;
    }
    .header {
        background-image: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)), url('../images/slide2.jpeg');
    }
}

@media (min-width: 992px) {
    .container {
       min-width: 801px;
    }
    .banner {
        background-image: url('../images/bg_main.jpg');
    }
    .mobile-btn {
        display: none;
    }
    .menu-list {
        display: block;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1200px;
    }

    .menu-logo{
        width: 150px;
        margin-left: 20px;
    }
    .mobile-menu {
        display: none;
    }
    .banner {
        background-image: url('../images/bg_main.jpg');
    }
    .banner-flex {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    .banner-text1 {
        height: 150px;
        width: 550px;
        background-color: rgba(31, 30, 30, 0.80);
    }
    .banner-text1 p{
        color: #fff;
        font-size: 31px;
        line-height: 35px;
        text-align: right;
        padding: 30px;
    }

    .banner-text2 {
        height: 500px;
        width: 500px;
        box-sizing: border-box;
        padding: 180px 20px;      
        background-color: rgb(219, 40, 40);
    }
    .banner-text2 p{
        padding: 35px 20px;
        font-size: 18px;
        line-height: 25px;
        color: #fff;
    }
    
    .footer-flex {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .footer p{
        text-align: left;
    }
    .footer h4{
        text-align: left;
    }
    
    /* Блок контента, пересмотреть логику написания кода  */
.left {
    padding: 40px 20px;
}
/* .right {
    padding: 40px 20px;
} */
.content100 {
    padding: 40px 20px;
}
.content80 {
    width: 840px;
    padding: 40px 20px;
}
.content60 {
    padding: 40px 20px;
} 
/* Конец блока контента */
}