/*!
Theme Name: RapidRentCar
Author: RapidRentCar
Version: 1.0.0
*/

/* montserrat-regular - cyrillic_latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/montserrat-v26-cyrillic_latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-500 - cyrillic_latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/montserrat-v26-cyrillic_latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* montserrat-700 - cyrillic_latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/montserrat-v26-cyrillic_latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

:root{
    --main-color: #0dcaf0;
    --hover-color: #007bff;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

a {
    text-decoration: none;
    color: inherit;
}

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

ul, li {
    list-style: none;
}

button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.container {
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    position: relative;
}

p {
    margin-bottom: 15px;
}
 

.btn {
    font-weight: 700;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--main-color);;
    border-radius: 6px;
    height: 52px;
    display: flex;
    padding: 0 25px; 
    width: 100%;
    cursor: pointer;
    transition: all .3s;
    font-family: 'Montserrat';
    border: 0;
    font-size: 18px;
}

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

.btn-white {
    background: #fff;
    color: #3B3B3B; 
}

.btn-white:hover { 
    color: #fff; 
}
 

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.2;    
    font-weight: 400;
    color: #000;
    overflow-x: hidden;  
    padding-top: 75px;
}

/* header */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: #212529;
    padding: 10px 0;
}

.header-row {
    display: flex;
    align-items: center;
    column-gap: 30px;
}

.header__phone a {
    color: #fff;
    font-weight: 500;
    transition: all .3s;
}

.header__phone a:hover {
    color: var(--hover-color); 
}


.header__lang {
    display: flex;
    column-gap: 6px;
}

.header__lang a {
    color: #fff;
    border: 1px solid transparent;
    padding: 3px;
}

.current-lang a {
    border-color: var(--hover-color);
}

.header__phone {
    margin-left: auto;
}

.header__logo {
    max-width: 50px;
}

.header__menu>li>.sub-menu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 270px;
    height: auto;
    z-index: -10;
    opacity: 0;
    -webkit-transform: translateY(-25px);
    transform: translateY(-25px);
    pointer-events: none; 
    transition: all .2s ease;
    display: block;
    background: #FFFFFF;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 10px 20px;
}

.header__menu>li:hover>.sub-menu, .header__menu>li>.sub-menu>li:hover>.sub-menu {
    z-index: 100;
    opacity: 1;
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
    pointer-events: auto;
}  
 
.header__menu {
    display: flex;
    column-gap: 15px;
}

.header__menu>li>a {
    color: #fff;
    padding: 5px 0;
    transition: all .3s;
}

.header__menu>li.menu-item-has-children>a::after {
    content: "v";
    font-weight: 300;
    line-height: 1;
    font-size: 10px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: scaleX(2) translateY(-50%);
}

.header__menu>li { 
    padding-left:  15px;
    padding-right:  15px;
}

.header__menu>li.menu-item-has-children {
    padding-right: 30px;
}


.header__menu a:hover {
    color: var(--hover-color);
}

.header__menu>li {
    position: relative;;
}

.header__menu>li>.sub-menu>li  { 
    padding: 10px 0;
}

.header__menu>li>.sub-menu>li a { 
    display: block;
    transition: all .3s;
}

nav {
    width: 100%;
    height: calc(100vh - 75px);
    position: fixed;
    z-index: 98;
    top: 76px;
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    padding: 50px 0 20px;
    transition: all .4s;
    overflow: auto;
    background: #212529;
    border-top: 2px solid var(--main-color);
}

.banner {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 50vh;
    justify-content: center;
    align-items: center; 
    color: #ffffff;
    text-align: center;
    font-size: 50px;
    text-transform: uppercase;
}

.banner h1 {
    font-size: 36px;
}

.form-home {
    background: #21252a;
    padding: 50px 0;
    color: #fff;
}

.form-home h2,
.auto-home h2 {
    text-align: center;
    margin-bottom: 30px;
}

.auto-home {
    padding: 50px 0 75px;
}

.auto-home-more {
    display: flex;
    justify-content: center;
    padding-top: 50px;
}

.auto-home-more .btn {
    max-width: 340px;
}

.about-num-box {
    background: #21252a;
    padding: 50px;
    color: #fff;
    border-radius: 20px;
}

.about-num {
    padding-bottom: 75px;
}

.about-num-box h2, .reviews h2,.home-term h2 {
    text-align: center;
    margin-bottom: 40px;
}

.about-num__items {
    display: grid;
    gap: 40px;
    text-align: center;
    grid-template-columns: repeat(3, 1fr);
}

.about-num__item span {
    display: block;
    font-weight: 700;
    font-size: 36px;
    padding-bottom: 10px;
}

.about-num__item { 
    font-size: 20px;
}

.reviews {
    padding-bottom: 75px;
}

.reviews__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
}

.reviews__item img {
    border-radius: 50%;
}

.reviews-box {
    padding: 0 100px;
    position: relative;
}

.reviews-box .swiper-button-next, 
.reviews-box .swiper-button-prev {
    background: var(--hover-color);
    width: 40px;
    height: 40px;
}

.reviews__item span {
    font-weight: 500;
    font-size: 18px;
}

.rev-text {
    text-align: center;
    font-size: 15px;
}

.reviews-pagination {
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

.reviews-pagination .swiper-pagination-bullet {
    background: var(--hover-color);
}

.home-term {
    padding-bottom: 75px;
}

.home-term-box {
    background: #ebebeb;
    padding: 50px;
    color: #000000;
    border-radius: 20px;
}

.home-term__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
    font-size: 20px;
    font-weight: 500;
}

.home-term__item img { 
    width: 50px;
}

.home-term__items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 40px;
}

h2 {
    margin-bottom: 30px;
}

/* category */

.auto__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.auto__item-title {
    font-weight: 600;
    font-size: 22px;
    line-height: 1;
}

.auto__item-teh {
    font-weight: 500;
    font-size: 17px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    column-gap: 5px;
    justify-content: space-between;
    width: 100%;
    padding: 0 15px;
}

.auto__item-teh img {
    width: 25px;
}

.auto__item-teh span {
    display: flex;
    align-items: center;
    column-gap: 5px;
}
.auto__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: #9a9c9e 1px solid;
    border-radius: 20px;
    overflow: hidden;
    row-gap: 20px;
    transition: all .3s;
}

.auto__item-price {
    background: #000000;
    width: 100%;
    text-align: center;
    padding: 12px;
    font-weight: 700;
    color: #fff;
    font-size: 24px;
    transition: all .3s;
}

.auto__item:hover .auto__item-price {
    background: var(--hover-color); 
}

.auto__item:hover { 
    border: var(--hover-color) 1px solid;
}

.auto__item-img {
    position: relative;
    overflow: hidden;
}

.auto__item-img img {
    transition: all .3s;
}

.auto__item:hover .auto__item-img img {
    transform: scale(1.10);
}

.auto__item-teh {
    font-weight: 500;
    font-size: 16px;
}

.auto__item-teh2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 15px;
}

.auto__item-teh2 span {
    display: flex;
    align-items: center;
    column-gap: 8px;
    font-weight: 500;
    font-size: 17px;
}

.auto__item-teh2 span img {
    width: 25px;
}

.auto-archive {
    padding: 50px 0;
}

.auto-archive h1 {
    text-align: center;
    margin-bottom: 30px;
}

.auto__item-price i {
    font-style: normal;
    padding-left: 7px;
    color: red;
}

.auto__item-price del {
    font-size: 18px;
    color: #c5c5c5;
}


.archive-text {
    padding-top: 60px; 
}

.archive-text h2 {
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 700;
}

#sort-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 250px;
    gap: 20px;
    margin-bottom: 30px;
}

.pagination .nav-links { 
    display: flex; 
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.pagination .page-numbers {
    background: var(--hover-color);
    height: 30px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    color: #fff; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    width: 30px;
}

.pagination .page-numbers.current {
    border-width: 1px;
    border: 2px solid var(--hover-color);
    background: 0 0;
    color: var(--hover-color);
}

/* card */

.auto-page {
    padding: 50px 0 50px;
}

.auto-page h1 {
    font-weight: 700;
    font-size: 30px; 
    margin-bottom: 25px;
    text-align: center;
}

.auto-page__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-bottom: 40px;
}

.auto-page__gallery { 
    position: relative;
    min-width: 100%;
}

.auto-main .swiper-slide img,
.auto-thumb .swiper-slide img {
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.auto-thumb .swiper-slide {
    cursor: pointer;
}

.auto-main {
    margin-bottom: 10px;
}

.auto-page__content {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    row-gap: 40px;
}

.info-item-title {
    font-weight: 700; 
    margin-bottom: 20px;
    font-size: 18px; 
    text-transform: uppercase; 
}

.info-item-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-weight: 500;
    margin-bottom: 10px;
}

.info-item-row .center {
    display: flex;
    flex: 1;
    width: auto;
    border-bottom: #989898 1px dashed;
}

.info-item-row .left {
    padding-right: 5px;
    width: auto;
}

.info-item-row .right {
    padding-left: 5px;
    width: auto;
}

.info-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px; 
}

.info-item-row .right del {
    color: #575757;
    font-size: 14px;
}

.info-item-row .right i {
    font-style: normal;
    padding-left: 5px;
    color: red;
}

.form-box {
    background: #212529;
    color: #fff;
    padding: 40px 20px 20px;
    border-radius: 6px;
}

.form-row {
    display: grid;
    gap: 30px; 
}

.form-box h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
}

.form-row-3 { 
    grid-template-columns: repeat(3, 1fr);
}

.form-row-4 { 
    grid-template-columns: repeat(4, 1fr);
}

.form-row-2 { 
    grid-template-columns: repeat(2, 1fr);
}

.form-row-5 { 
  grid-template-columns: repeat(5, 1fr);
}

.form__field {
    font-size: 16px;
    line-height: 14px;
    height: 52px;
    width: 100%;
    font-weight: 500;
    padding: 0 15px;
    color: #000;
    background: #FFFFFF;
    border: 1px solid #909090;
    border-radius: 8px;
    font-family: 'Montserrat'; 
}

.form__select { 
    appearance: none;
    background: #fff url(img/down.svg) no-repeat 95% !important;
    cursor: pointer;
}

.form-group .form__lable {
    font-size: 14px;   
    color: #fff; 
    padding: 0 0 5px 5px;
    display: block;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-row-flex {
    display: flex;
    align-items: center;
    column-gap: 20px;
}

.form-mess-items {
    display: flex;
    align-items: center;
    column-gap: 20px;
}

.form-mess-item {
    cursor: pointer;
}

.cont-box h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.cont-box {
    padding: 75px 0;
}

.contacts {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    font-size: 20px;
    font-weight: 500;
}

.cont-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}


.swiper-button-next:after, .swiper-button-prev:after {
    content: none;
}

/* footer */

footer {
    background: #21252a;
    padding: 50px 0 0;
}

.footer-navigation__list li a, .footer__logo a {
    color: #fff;
    transition: all .3s;
}

.footer-navigation__list li a:hover, .footer__logo a:hover {
    color: var(--hover-color);
}

.footer-navigation__list {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.footer-row {
    display: grid;
    grid-template-columns: 1fr repeat(4, 220px);
    gap: 30px;
    padding-bottom: 50px;
}

.footer__nav span {
    color: #fff;
    font-weight: 500;
    font-size: 18px;
    display: block;
    position: relative;
    margin-bottom: 30px;
}

.footer__nav span::after {
    content: '';
    width: 60px;
    height: 1px;
    display: block;
    background: #8b8b8b;
    margin-top: 10px;
}

.footer__logo p {
    font-size: 14px; 
}

.footer__logo {
    display: flex;
    flex-direction: column;
    align-items: start;
    row-gap: 15px;
    color: #fff;
}

.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    font-size: 14px;
    color: #fff;
    opacity: .8;
    text-align: center;
}

.modal:not(.fancybox-content) {
    display: none;
}

.thanks-title {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.page-contacts {
    padding-top: 50px;
}

.page-contacts h1 {
    text-align: center;
}

.page-contacts .cont-box h2 {
    display: none;
}

.text-page {
    padding: 50px 0;
}

.text-page h1{
    text-align: center;
    margin-bottom: 30px;
}

.text-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.text-content h2 {
    padding-top: 20px;
    margin-bottom: 20px;
    font-size: 24px;
}

.text-content h3 {
    padding-top: 20px;
    margin-bottom: 20px;
    font-size: 19px;
}

.text-content ul,
.text-content ol {
    padding-left: 20px;
    margin-bottom: 25px; 
}

.text-content ul li {
    list-style: disc;
    margin-bottom: 10px; 
}

.text-content ol li {
    list-style: auto;
    margin-bottom: 10px; 
}

hr {
    margin: 30px 0px;
}

img.aligncenter {
    display: block;
    margin: 0 auto 20px;
}

.faq__items {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.faq__item {
    border: 1px solid #E6E6E6;
    border-radius: 10px;
}

.faq__item-answer {
    padding: 30px;
    font-size: 18px;
    line-height: 32px;
    display: none;
}

.faq__item-question {
    padding: 30px;
    font-weight: 700;
    cursor: pointer;
    font-size: 20px; 
    transition: all .3s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq__item-question.active { 
    border-bottom: 1px solid #E6E6E6;  
    color: var(--hover-color);
}
.faq__item-question:hover{  
    color: var(--hover-color);
}

.carret:after, .carret:before {
    background-color: var(--hover-color);
    content: '';
    position: absolute;
    top: 14px;
    width: 15px;
    height: 2px;
    transition: all .3s;
}

.carret:before { 
    transform: rotate(45deg);
    left: 3px;
}

.carret:after { 
    transform: rotate(-45deg);
    right: 3px;
}

.faq__item-question .carret { 
    width: 30px;
    height: 30px; 
    min-width: 30px;
    position:relative; 
}

.faq__item-question.active .carret:before {
    transform: rotate(-45deg); 
}

.faq__item-question.active  .carret:after { 
    transform: rotate(45deg); 
}

.text-content {
    font-size: 18px;
    padding-bottom: 50px;
}

blockquote {
    padding: 24px 24px 24px 60px;
    background: #ebebeb url(img/bq.svg) 24px 24px no-repeat;
    border-radius: 16px;
    color: #5F5F61;
    font-size: 18px;
    margin-bottom: 20px;
}

blockquote p:last-child {
    margin: 0;
}

label.error {
    color: red;
    position: absolute;
    left: 5px;
    bottom: -18px;
    font-size: 12px;
}

.social {
    position: fixed;
    bottom: 60px;
    right: 25px; 
    z-index: 99;
}

.social__list {  
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px 0; 
    border-radius: 9999px;
}

.social__item-link > img {
    width: 35px;
    height: 35px; 
}

.social__item-link {
    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9358c;
}

.social__list-item:nth-child(2) a { 
    background:  #38649f;
}
.social__list-item:nth-child(3) a { 
    background:  #000;
}

.social__list-item:nth-child(4) a {
    background: #129533;
}

.footer__adress, .footer__phone, .footer__email, .footer__work {
    display: flex;
    align-items: center;
    column-gap: 6px;
}

.info-red {
    color: red;
    font-weight: 500;
}

.cont-note {
    padding-bottom: 50px;
    font-size: 20px;
}

.breadcrumbs .container .breadcrumbs-list {
    display: flex;
    column-gap: 10px;
    align-items: center;
    overflow: hidden;
}

.archive .breadcrumbs {
    padding-top: 26px;
}

.page-404-title {
    padding: 100px 0;
    font-size: 50px;
    font-weight: 700;
    text-transform: uppercase;
}