*, ::before, ::after {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    background-color: white;
    font-family: var(--Gilroy-Regular);
    overflow-x: hidden;
}

body.active {
    overflow-y: hidden;
}

a, a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1920px;
    padding: 0 45px;
    margin: 0 auto;
}

.zag {
    font-family: var(--Gilroy-Light);
    font-size: 33px;
    color: var(--color-accent);
    margin-bottom: 33px;
}

header {
    position: relative;
    height: 170px;
    background-image: url("../images/headerBg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.headerContent {
    position: relative;
    height: 170px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.headerRight a {
    display: block;
}

.headerTel {
    font-family: var(--Gilroy-ExtraBold);
    font-size: 31px;
    color: black;
    margin-bottom: 10px;
}

.headerEmail {
    color: white;
    background-color: var(--color-accent);
    font-size: 20px;
    text-align: center;
    padding: 8px 15px;
    border-radius: 6px;
    transition: .3s;
}

.headerEmail:hover {
    background-color: var(--color-accent-hover);
}

.menuNav {
    background-color: var(--color-accent);
}

.menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 15%;
}

.menu li {
    position: relative;
    padding: 17px 30px;
    margin: 0 10px;
}

.menu li::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: white;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    opacity: 0;
    transition: .2s linear;
}

.menu a {
    color: white;
    font-family: var(--Gilroy-Bold);
    font-size: 20px;
    border-bottom: 1px solid white;
    transition: .3s;
}

.menu li.active::before {
    opacity: 1;
}

.menu li.active a,
.menu li:hover a {
    border-bottom-color: transparent;
}


/* ГАМБУРГЕР */
.wrapperHamburger {
    display: none;
    position: fixed;
    top: 30px;
    right: 10px;
    transition: .50s;
    z-index: 400;
}

.hamburger {
    padding: 15px 15px;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
}

.hamburger::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 2px;
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.hamburger-box {
    width: 24px;
    height: 14px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: white;
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -6px;
}

.hamburger-inner::after {
    bottom: -10px;
}

.hamburger--collapse-r .hamburger-inner {
    top: auto;
    bottom: 0;
    transition-duration: 0.13s;
    transition-delay: 0.13s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--collapse-r .hamburger-inner::after {
    top: -12px;
    transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear;
}

.hamburger--collapse-r .hamburger-inner::before {
    transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--collapse-r.is-active .hamburger-inner {
    transform: translate3d(0, -10px, 0) rotate(45deg);
    transition-delay: 0.22s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--collapse-r.is-active .hamburger-inner::after {
    top: 0;
    opacity: 0;
    transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.22s linear;
}

.hamburger--collapse-r.is-active .hamburger-inner::before {
    top: 0;
    transform: rotate(90deg);
    transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* /ГАМБУРГЕР */


.wrapperContent {
    display: grid;
    grid-template-columns: 390px auto;
    padding-top: 45px;
}

.aside {
    padding-top: 10px;
}

.asideTopText {
    color: black;
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 55px;
}

.asideTopText span {
    font-family: var(--Gilroy-Bold);
}

.aside .zag {
    text-transform: uppercase;
}

.aside .zag span {
    font-family: var(--Gilroy-Bold);
}

.chastieVopros {
    position: relative;
    width: 357px;
    background-color: var(--color-accent);
    padding: 25px 0px 35px 0px;
    border-radius: 5px;
    margin-top: 35px;
}

.chastieVopros::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 70%;
    background-color: black;
    border-radius: 5px;
    z-index: -1;
}

.chastieVopros::after {
    content: '';
    position: absolute;
    bottom: -92px;
    left: 50%;
    transform: translateX(-50%);
    background-image: url("../images/vopros.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    width: 74px;
    height: 109px;
}

.chastieVopros li {
    padding: 0 20px;
}

.chastieVopros li.active {
    background-color: white;
}

.chastieVopros a {
    position: relative;
    font-size: 18px;
    font-family: var(--Gilroy-Light);
    color: white;
    display: block;
    padding: 12.5px 10px;
    transition: .3s;
}

.chastieVopros li:not(:last-child) a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.chastieVopros a:hover {
    color: #cccccc;
}

.chastieVopros li.active a {
    color: var(--color-accent);
}

.chastieVopros li.active a::after {
    content: '\00BB \00BB \00BB';
    color: var(--color-accent);
    margin-left: 6px;
}


.zagHome {
    text-transform: uppercase;
}

.zagHome span {
    font-family: var(--Gilroy-Bold);
}

.mainText {
    font-size: 20px;
    line-height: 26px;
}

.mainContentHome {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-gap: 48px;
    margin-top: 44px;
}

.cart {
    position: relative;
    height: 232px;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 37px;
    border-radius: 5px;
}

.cart h2 {
    font-family: var(--Gilroy-Black);
    font-size: 30px;
    color: #2175b5;
    text-transform: uppercase;
}

.cart p {
    font-size: 15px;
    color: white;
}

.cart div {
    font-family: var(--Gilroy-Black);
    font-size: 30px;
    color: #2175b5;
    margin-top: 15px;
}

.noCart {
    pointer-events: none;
}

.noCart .cart::before {
    content: 'Нет данной категории';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    font-family: var(--Gilroy-Black);
    font-size: 30px;
    text-transform: uppercase;
    color: #ff0000;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}


/* СТРАНИЦА "О НАС" */
.attestat img {
    display: block;
    margin: -30px auto 0 auto;
}

.cartPredp__content {
    height: 335px;
    background-color: #1f6ede;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 80px;
    border-radius: 5px;
}

.but {
    width: 100%;
    max-width: 292px;
    height: 73px;
    color: white;
    font-size: 35px;
    text-transform: uppercase;
    font-family: var(--Gilroy-Black);
    border: 5px solid white;
    border-radius: 37px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.aboutBottom {
    margin-left: 10px;
    margin-top: 70px;
}

.aboutBottom img {
    border-radius: 5px;
}

.aboutBottom p {
    font-size: 20px;
    margin-top: 35px;
}

/* /СТРАНИЦА "О НАС" */


/* СТРАНИЦА "СТРАХОВАНИЕ" */
.insuranceVariants {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

.insuranceVariants h2 {
    font-family: var(--Gilroy-Bold);
    text-transform: uppercase;
    margin-bottom: 35px;
}

.insuranceImg {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(217px, auto));
    align-items: center;
    margin-top: 35px;
    margin-bottom: 35px;
}

.insuranceDesc {
    display: grid;
    grid-template-columns: 525px auto;
    align-items: center;
    border: 5px solid var(--color-accent);
    border-radius: 5px;
    padding: 0 50px 0 30px;
}

/* /СТРАНИЦА "СТРАХОВАНИЕ" */


/* СТРАНИЦА "ВАКАНСИИ" */
.vacancyItems .vacancyItems__item:not(:first-child) {
    padding-top: 40px;
}

.vacancyItems .vacancyItems__item:not(:last-child) {
    border-bottom: 1px solid black;
    padding-bottom: 40px;
}

.vacancyItems__item h2 {
    font-family: var(--Gilroy-Black);
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 35px;
}

.vacancyItems__item li {
    font-size: 20px;
    margin-bottom: 3px;
}

.vacancyItems__item .but {
    width: 235px;
    height: 52px;
    color: black;
    font-size: 20px;
    border-color: var(--color-accent);
    margin-top: 35px;
}

/* /СТРАНИЦА "ВАКАНСИИ" */


/* СТРАНИЦА "Оплата услуг" */
.paymenth3 {
    font-size: 20px;
    font-family: var(--Gilroy-Bold);
    margin-top: 50px;
    margin-bottom: 40px;
}

.paymentItemsText > p {
    margin-bottom: 33px;
}

.paymentItemsSposobBx {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 40px;
}

.paymentItemsSposobBx__item {
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #eeeeee;
    border-radius: 5px;
}

.paymentWrapper .mainText {
    text-align: center;
    margin-top: 20px;
}

/* /СТРАНИЦА "Оплата услуг" */


/* СТРАНИЦА "Новости" */
.newsWrapper__item {
    font-size: 20px;
    line-height: 26px;
}

.newsWrapper__item:not(:last-child) {
    border-bottom: 1px solid #6b6b6b;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.newsWrapper__zag a {
    font-family: var(--Gilroy-Bold);
    color: var(--color-accent);
    border-bottom: 1px solid var(--color-accent);
}

.pageNav {
    margin-top: 30px;
}

.pageNav ul {
    display: flex;
    align-items: center;
}

.pageNav ul li {
    margin-right: 25px;
}

.pageNav ul li a {
    font-size: 20px;
    font-family: var(--Gilroy-Bold);
    color: var(--color-accent);
    border-bottom: 1px solid #4f8ab7;
    display: block;
}

.pageNav ul li.active a {
    width: 50px;
    height: 50px;
    color: white;
    background-color: var(--color-accent);
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-color: transparent;
    border-radius: 5px;
}

/* /СТРАНИЦА "Новости" */


/* СТРАНИЦА "Контакты" */
.contactWrapper {
    min-height: 780px;
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-gap: 0 35px;
}

.contact__left {
    font-size: 20px;
    line-height: 26px;
}

.contact__address {
    margin-bottom: 30px;
}

.contact__left a {
    color: black;
    display: block;
}

.contact__left .contact__email {
    color: var(--color-accent);
}

.contact__right {
    border-radius: 5px;
    overflow: hidden;
}

.contact__right__map {
    width: 100%;
    height: 390px;
}

/* /СТРАНИЦА "Контакты" */


/* СТРАНИЦА "Частые вопросы" */
.faqWrapper {
    font-size: 20px;
}

.faqWrapper__h1 {
    font-family: var(--Gilroy-Black);
    text-transform: uppercase;
    margin-bottom: 30px;
}

.faqWrapper__content {
    min-height: 700px;
    line-height: 26px;
}

.faqWrapper__content p:not(:last-child) {
    margin-bottom: 30px;
}

/* /СТРАНИЦА "Частые вопросы" */


.footerWrapperContent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-top: 1px solid var(--color-accent);
    margin-top: 75px;
}

.footerInfo a {
    color: var(--color-accent);
    border-bottom: 1px solid var(--color-accent);
    transition: .3s;
}

.footerInfo a:hover {
    border-bottom-color: transparent;
}

.footerSoc {
    display: flex;
}

.footerSoc > div {
    width: 40px;
    height: 40px;
    background-color: var(--color-accent);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 10px;
    transition: .3s;
}

.footerSoc > div:hover {
    background-color: var(--color-accent-hover);
}

.footerSoc > div img {
    filter: invert(1);
    width: 20px;
}
























