/*
Theme Name: say_theme
Author: SAY
Author URI: https://say.moscow
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;300;500;700;900&display=swap');

:root{
	--color: #444;
	--base-color: #1E2238;
	--accent-color-orange: #dd7d4b;
	--accent-color-red: #dd4c52;
	
	--ff1: 'Inter', sans-serif;
}

html {
    font-size: 16px;
}

html,body {
	font-family: var(--ff1);
	line-height: 1.5;
    color: var(--base-color);
}

.white-popup {
  position: relative;
  background: #FFF;
  padding: 20px;
  width: auto;
  max-width: 500px;
  margin: 20px auto;
}

button.mfp-close, button.mfp-arrow {
    overflow: visible;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    z-index: 1046;
    -webkit-box-shadow: none;
    box-shadow: none;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    color: #000;
    transition: all .3s ease-out;
}

#toTop {
    background: #2d427a;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    position: fixed;
    bottom:40px;
    left:40px;
    cursor:pointer;
    display:none;
    text-align:center;
    line-height: 50px;
    font-weight: bold;
}

a {
  display: block;
  position: relative;
  padding: 0.2em 0;
}

a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.15em;
  background-color: #db4a50;
  opacity: 0;
  transition: opacity 300ms, transform 300ms;
}

a:hover::after,
a:focus::after {
  opacity: 1;
  transform: translate3d(0, 0.1em, 0);
}

a.border-none:hover::after,
a.border-none:focus::after {
  opacity: 0;
  transform: translate3d(0, 0.2em, 0);
}

.modal-header h4 {
    text-align: center;
    padding: 20px;
    color: var(--accent-color-red);
    font-size: 1.2em;
    margin: 0;
}

.modal-body p {
    font-size: 12px;
}

.modal-body p a {
    color: #de4b52;
}

.table {
    font-size: 14px;
    border-collapse: collapse;
}

.table th, .table td:first-child {
    background: #fafafa;
    font-weight: bold;
    transition: all .3s ease-out;
}

.table td {
    background: #ffffff;
    padding: 10px;
    border: 1px solid #ddd;
    transition: all .3s ease-out;
}

.table td:hover {
    background: #fafafa;
}


.btn-main, .btn-main:hover, .btn-main:focus, .btn-main:active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    max-width: 200px;
    height: 40px;
    padding: 10px;
    background: linear-gradient(0deg, #f57b43 0%, #f77e45 100%);
    border: none;
    overflow: hidden;
    position: relative;
    color: #fff !important;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    box-shadow: 0 5px 10px 3px rgb(0 0 0 / 10%), 0 5px 0 #fd474e;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.btn-main:hover {
    /*box-shadow: none;*/
    transform: scale(1.01);
}

.header_fixed {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    box-shadow: 0 8px 10px rgb(0 0 0 / 3%);
}

.address {
    background: #f6f6f6;
    color: #838385;
    padding: 10px 0;
    font-size: 13px;
}

.topline, .header-menu {
    padding: 10px 0;
    box-shadow: 0 8px 10px rgb(0 0 0 / 3%);
}

.topline .container, .menu, .contacts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo__img {
    max-width: 120px;
    display: inline-block;
    vertical-align: middle;
}

.slogan {
    display: block;
    width: 200px;
    vertical-align: middle;
    margin-left: 10px;
    font-size: 15px;
}

.menu__link {
    font-size: 1.1em;
    margin: 0 15px;
}

.phone, .email {
    display: block;
    margin: 0 20px 0 0;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 0px!important;
}

.phone {
    margin-top: 5px;
}

.swiper.promo {
  width: 100%;
  height: 400px;
}

.promo-slide {
    display: flex;
    align-items: center;
    color: #fff;
}

.promo-slide__title {
    font-size: 48px;
    text-shadow: -1px 1px 2px #838385;
}

.section-title {
    margin: 60px 0;
    color: #4a4a4a;
    position: relative;
    font-weight: 700;
    color: #122b3c;
    font-size: 36px;
    text-transform: uppercase;
    text-align: left;
    overflow: hidden;
    background: url(/wp-content/themes/say_theme/assets/img/marker_h2.svg) 1px top no-repeat;
    line-height: 1.35;
}

.text-wrap {
    line-height: 1.8;
}

.section-list, .section-partners {
    background: linear-gradient(45deg, rgb(19 42 59 / 100%), rgb(19 42 59 / 90%)), url(/wp-content/themes/say_theme/assets/img/list-bg.jpeg);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 30px 0 60px 0;
    margin: 60px 0;
}

.section-list .section-title, .section-partners .section-title {
    color: #fff;
    background: url(/wp-content/themes/say_theme/assets/img/marker-dark.svg) 1px top no-repeat;
}

.section-partners {
    background: linear-gradient(45deg, rgb(19 42 59 / 100%), rgb(19 42 59 / 90%)), url(/wp-content/themes/say_theme/assets/img/partners-bg.jpg);
    background-size: cover;
    background-position: center;
}

.section-list ul {
    display: flex;
    flex-wrap: wrap;
}

.section-list ul li {
    padding: 10px;
    border: 1px solid;
    margin-right: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: .9em;
    transition: all .3s ease-out;
}

.section-list ul li:hover {
    background: #fff;
    color: #132A3B;
}




/* Вертикальные табы */
.wrap-myvertical-tabs {
    max-width: 100%;
    display: flex;
}
.myvertical-tabs {
    list-style: none;
    background: #FFF;
    padding: 0;
    margin: 0;
    width: 20%;
}
.myvertical-tabs li {
    padding: 10px 15px;
    margin-top: -1px;
    color: #152a3a;
    cursor: pointer;
    background: #f7f7f7;
    border: 1px solid #e3e3e3;
    position: relative;
    transition: all .3s ease-out;
}
.myvertical-tabs li:hover {
    color: #434343;
    background: #efefef;
    border: 1px solid #e3e3e3;
}
.myvertical-tabs li.chosen {
    color: #ffffff;
    background: #152a3a;
    border-right: 1px solid transparent;
    transition: all .3s ease-out;
}
.myvertical-tabs-content-wrap {
    width: 80%;
    /*border: 1px solid #e3e3e3;*/
    /*margin-top: -1px;*/
}
.myvertical-tabs-content {
    display: none;
    border: 1px solid #e3e3e3;
    padding: 10px 15px;
    margin-left: -1px;
}
.myvertical-tabs-content.active {
    display: block;
}
/* /вертикальные табы */
 

.fancybox-zoomIn {
  animation: 0.25s ease both fancybox-zoomIn;
}

.fancybox-zoomOut {
  animation: 0.15s ease both fancybox-zoomOut;
}

@keyframes fancybox-zoomIn {
  from {
    opacity: 0;
    transform: scale(0.75);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fancybox-zoomOut {
  to {
    opacity: 0;
    transform: scale(1.25);
  }
}

.myvertical-tabs-content a {
    display: inline-block;
}

.myvertical-tabs-content img {
    display: inline-block;
    width: 250px;
    height: 250px;
    object-fit: cover;
}

.docs-wrap, .review-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.docs__item, .review__item {
    max-width: 17%;
    box-shadow: 0 0 10px #eee;
    margin-bottom: 30px;
}

.partners__item {
    max-width: 200px;
    margin: 15px 0;
    display: block;
    transition: all .3s;
}

.partners__item:hover {
    transform: scale(1.05);
}

.footer {
    background: #15293a;
    padding: 30px 0;
    margin-top: 30px;
    color: #eee;
    font-size: 12px;
}

.copyright {
    text-align: right;
    opacity: .3;
    transition: all .3s;
    display: block;
    width: 100%;
}

.copyright, .copyright a {
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
    color: #fff;
}

.copyright svg {
    max-width: 35px;
}

.copyright:hover {
    opacity: 1;
}