/*
    Общие свойства
*/

/* * {
    outline: 1px solid red;
} */

@font-face {
    font-family: "GilroyBold";
    src: url("../fonts/Gilroy/Gilroy-ExtraBold.otf") format("truetype");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: "GilroyLight";
    src: url("../fonts/Gilroy/Gilroy-Light.otf") format("truetype");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: "GilroyRegular";
    src: url("../fonts/Gilroy/Gilroy-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: "GilroyMedium";
    src: url("../fonts/Gilroy/Gilroy-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: "MontserratMedium";
    src: url("../fonts/Montserrat/static/Montserrat-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

header.header-desktop {
    display: block;
}

header.header-mobile,
nav.menu {
    display: none;
}

ul.breadcrumb {
    padding: 10px 16px;
    list-style: none;
    background-color: #eee;
    border-radius: 12px;
}

ul.breadcrumb li {
    display: inline;
    font-size: 14px;
    font-family: 'MontserratMedium';
}

ul.breadcrumb li+li:before {
    padding: 8px;
    color: black;
    content: "/\00a0";
}

ul.breadcrumb li a {
    color: #1EB72B;
    text-decoration: none;
}

ul.breadcrumb li a:hover {
    text-decoration: underline;
}

.navigation {
    position: relative;
    margin-top: 16px;
    text-align: center;
}

.navigation a {
    cursor: pointer;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
}

.navigation ul.indicators {
    display: inline-block;
}

.navigation ul.indicators li {
    display: inline-block;
    padding: 0 10px;
    margin: 0;
}

.navigation ul.indicators img {
    display: inline-block;
    width: 10px;
    height: 10px;
}

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

.flex-group {
    display: flex;
    flex-wrap: wrap;
}

.w-25 {
    width: 25%;
}

.w-30 {
    width: 30%;
}

.w-33 {
    width: 33%;
}

.w-40 {
    width: 40%;
}

.w-50 {
    width: 50%;
}

.w-75 {
    width: 75%;
}

.w-100 {
    width: 100%;
}

.w-60-p {
    width: 60px;
}

.h-200-p {
    height: 200px !important;
}

.d-block {
    display: block;
}

.m-auto {
    margin: 0 auto;
}

.ml-1 {
    margin-left: 1% !important;
}

.m-1 {
    margin: 1%;
}

.m-3 {
    margin: 3%;
}

.mt-1 {
    margin-top: 1%;
}

.mt-3 {
    margin-top: 3%;
}

.mt-5 {
    margin-top: 5%;
}

.p-1 {
    padding: 1%;
}

.pt-3 {
    padding-top: 3%;
}

.pb-3 {
    padding-bottom: 3%;
}

.p-3 {
    padding: 3%;
}

.border-dotted {
    border: 2px dotted gray;
}

.border-rounded {
    border-radius: 12px;
}

.box-shadow-gray {
    box-shadow: 10px 10px 10px gray;
}

.border-radius-10 {
    border-radius: 10px;
}

hr.delimeter {
    width: 15%;
    margin: 40px auto;
    border: 1px solid #1EB72B;
}

span.green {
    font-family: 'GilroyMedium';
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
}

span.line {
    margin-left: 5px;
    text-decoration: line-through;
    font-family: 'GilroyRegular';
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

.green {
    color: #1EB72B;
}

span.green-con {
    background: #1EB72B;
    border-radius: 10px;
    padding: 5px 7px;
    margin-left: 8px;
    font-family: 'MontserratMedium';
    font-style: normal;
    font-weight: 700;
    font-size: 27px;
    line-height: 140%;
    color: white;
}

section,
footer {
    display: block;
    padding: 20px 0;
    width: 1140px;
    height: auto;
    margin: 0 auto;
}

h1 {
    font-family: 'GilroyBold';
    font-style: normal;
    font-weight: bold;
    font-size: 64px;
    padding: 20px 0;
}

h2 {
    font-family: 'MontserratMedium';
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 120%;
    padding-top: 10px;
    padding-bottom: 20px;
}

h3 {
    font-family: 'MontserratMedium';
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 140%;
    color: #111111;
}

h4 {
    font-family: 'GilroyMedium';
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    line-height: 120%;
    color: #111111;
    padding: 20px 0;
}

h5 {
    font-family: 'GilroyRegular';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
}

p {
    font-family: 'GilroyLight';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: #111111;
    padding: 10px 0;
}

li{
    font-family: 'GilroyLight';
}

#social ol {
    list-style: decimal;
    margin-left: 10px;
}

a {
    text-decoration: underline;
}

table {
    width: 100%;
    position: relative;
}

strong.dark {
    font-size: 24px;
    line-height: 140%;
    font-weight: bold;
    color: black;
}

p.small {
    font-size: 12px;
    line-height: 120%;
}

@keyframes ani {
    0% {transform: translateX(-150%);}
    100% {transform: translateY(0);}
}

.pulse {
    animation: pulse 2s infinite;
    width: auto !important;
}

img.pulse {
    border-radius: 50% !important;
}

@-webkit-keyframes pulse {
	0% {
		-webkit-box-shadow: 0 0 0 0 #00cc30;
	}
	70% {
		-webkit-box-shadow: 0 0 0 10px transparent;
	}
	100% {
		-webkit-box-shadow: 0 0 0 0 transparent;
	}
}

@keyframes pulse {
	0% {
		-moz-box-shadow: 0 0 0 0 #00cc30;
		box-shadow: 0 0 0 0 #00cc30;
	}
	70% {
		-moz-box-shadow: 0 0 0 10px transparent;
		box-shadow: 0 0 0 10px transparent;
	}
	100% {
		-moz-box-shadow: 0 0 0 0 transparent;
		box-shadow: 0 0 0 0 transparent;
	}
}

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

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

.text-left {
    text-align: left;
}

form input[type=text],
form input[type=email] {
    box-sizing: border-box; /* не ломает ширину, когда делаешь паддинг внутри инпута */
    width: 215px;
    height: 50px;
    background-color: white;
    padding: 7px 20px;
    border: 1px solid black;
    border-radius: 50px;
    text-align: center;
}

form label {
    font-family: 'GilroyRegular';
}

/*
    header.header-desktop
*/

header.header-desktop {
    width: 100%;
    height: 71px;
}

header.header-desktop table {
    width: 100%;
    height: 71px;
}

header.header-desktop ul {
    position: relative;
    display: inline-flex;
    text-align: center;
}

header.header-desktop ul li {
    position: relative;
    padding: 0 20px;
    font-family: 'GilroyMedium';
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    transition: 0.3s;
}

header.header-desktop ul li:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

header.header-desktop table td {
    text-align: center;
    vertical-align: middle;
}

header.header-desktop table td .work-time {
    text-align: center; 
    border-radius: 25px; 
    width: 200px; 
    margin-left: 6%; 
    margin-right: auto; 
    font-family: 'GilroyMedium'; 
    font-style: normal; 
    font-weight: 500; 
    font-size: 15px; 
    line-height: 20px; 
    display: flex;
}

header.header-desktop table td .work-time p {
    text-align: center; 
    width: 65%; 
    margin-right: auto; 
    font-family: 'GilroyMedium'; 
    font-style: normal; 
    font-weight: 500; 
    font-size: 15px; 
    line-height: 20px;
}

header.header-desktop table td .work-time div {
    margin-left: 5%; 
    display: flex; 
    margin-top: auto; 
    margin-bottom: auto;
}

header.header-desktop table img {
    position: relative;
    display: block;
    margin: 0 auto;
}

/*
    Welcome
*/

section#welcome {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: 300px; 
    /*  860px */
}

section#welcome .between {
    position: absolute;
    top: 0;
    width: 100%;
    height: 900px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}

section#welcome .between .advantages-block {
    width: 100%;
    height: 100px;
    position: absolute;
    top: 120px;
}

section#welcome .between .advantages-block .typing {
    text-align: center;
    padding: 20px 30px;
    font-family: 'GilroyLight';
    font-weight: bold;
}
section#welcome .between .advantages-block .typing span {
    background-color: rgba(255, 255, 255, 0.7);
    color: #1EB72B;
    animation: 5s typing-color infinite;
}

section#welcome .between .advantages-block .typing span,
section#welcome .between .advantages-block .typing p {
    font-size: 36px;
}

section#welcome .top, section#welcome .bottom {
    position: absolute;
    z-index: 1;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
}

section#welcome .top {
    top: 0;
    height: 120px;
}

section#welcome .bottom {
    bottom: 0;
    padding: 10px 0;
}

section#welcome h1 span.letter {
    display: inline-block;
    color: #1EB72B;
    margin: 0 -5px;
    transition: 0.5s;
}

section#welcome h1 span.letter:hover {
    transform: scaleY(1.5);
    transition: 0.5s;
    cursor: pointer;
}

@keyframes typing-color {
    50% {
        color: black;
    }
}

span.count {
    font-family: 'GilroyRegular';
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 110%;
    color: white;
    z-index: 2;
    background: black;
    border-radius: 12px;
    padding: 10px;
}

.btn {
    text-decoration: none !important;
    cursor: pointer;
    width: 225px;
    text-align: center;
    position: relative;
    height: 48px;
    box-sizing: border-box;
    border-radius: 50px;
    text-align: center;
    font-family: 'Archivo', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 140%;
    padding: 10px 20px;
    white-space: nowrap;
    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

.btn-green {
    border: none;
    background: #1EB72B;
    color: white;
}

.btn-dark {
    border: 4px solid #1EB72B;
    background: black;
    color: white;
}

.btn-white {
    border: 1px solid #1EB72B;
    background: white;
    color: #1EB72B;
}

.btn-gray {
    border: 1px solid gray;
    background: white;
    color: gray;
}

.service-card {
    position: relative;
    width: 350px;
    height: 350px;
    background-color: #000000;
    border-radius: 10px;
    margin: 15px;
}

.service-card h3 {
    position: absolute;
    left: 15px;
    top: 75px;

    font-size: 12px;
    color: white;
    z-index: 2;
    background: black;
    border-radius: 12px;
    padding: 10px;
}

.service-card button {
    position: absolute;
    bottom: 10px;
}

.service-card span.count {
    position: absolute;
    top: 15px;
    left: 15px;
}

.service-card img.bg {
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    opacity: 0.8;
    -moz-opacity: 0.8;
    filter: alpha(opacity=80) black;
    -khtml-opacity: 0.8;
    background-color: #000;
    object-fit: cover;
}

.service-card .service-card-overlay a,
.specialist-card .specialist-card-overlay a {
    position: absolute;
    width: 220px;
    left: calc(50% - 110px);
    bottom: 24px;
}

.service-card .service-card-overlay, 
.specialist-card .specialist-card-overlay {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    border-radius: 10px;
    background: transparent;
}

.service-card .service-card-overlay {
    width: 350px;
    height: 350px;
}

.service-card .service-card-overlay p {
    position: absolute;
    top: 10px;
    text-align: center;
    color: white;
    padding: 10px;
}

.specialist-card {
    position: relative;
    max-width: 33.3333333333%;
    border-radius: 10px;
    text-align: center;
}

.specialist-card .specialist-card-overlay {
    width: 100%;
    height: 500px;
}

.specialist-card img {
    width: 350px;
    height: 500px;
    border-radius: 10px;
}

.photo-card {
    position: relative;
    max-width: 33.3333333333%;
    text-align: center;
    padding: 1%;
}

.review-card {
    max-width: 40%;
    padding: 1%;
}

.review-card img {
    width: auto;
    height: 300px;
}

.photo-card img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.h-300-px {
    height: 300px !important;
}

.h-465-px {
    height: 465px !important;
}

.ad-card {
    max-width: 100%;
}

.ad-card h4 {
    font-size: 28px;
}

.ad-card p {
    font-size: 16px;
    color: grey;
}

.ad-card img {
    width: 500px;
    height: 341px;
    border-radius: 10px;
}

.ad-card table td {
    vertical-align: middle;
}

.ad-card .inner ul li {
    margin-top: 10px;
    font-family: 'GilroyLight';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
    color: #828282;
}

.media-card {
    padding: 12px;
    margin: 10px;
    width: 160px;
    height: 160px;
    border-radius: 10px;
    border: 2px solid rgb(212, 212, 212);
}

.media-card h5 {
    font-family: 'GilroyBold';
    font-size: 36px;
}

.media-card p.stars img {
    margin: 0;
}

.media-card p.source img {
    width: 100px;
    height: auto;
}

.ad-card td.img,
.ad-card td.text {
    max-width: 400px;
    text-align: center;
}

.form {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-top: 37px;
    padding: 16px;
}

.form form input {
    margin-top: 12px;
    box-sizing: border-box; /* не ломает ширину, когда делаешь паддинг внутри инпута */
    width: 100%;
    height: 50px;
    box-shadow: 0px 0px 41px rgba(0, 0, 0, 0.04);
    border-radius: 10px;
    border: none;
    background-color: #F1F7FF;
    padding-left: 20px;
    font-size: 14px;
}

.form form textarea {
    font-size: 14px;
}

.form form input[type=checkbox] {
    width: auto;
    height: auto;
}

.form form textarea {
    width: 100%;
    box-sizing: border-box;
    height: 140px;
    margin-top: 12px;
    padding-top: 16px;
    box-shadow: 0px 0px 41px rgba(0, 0, 0, 0.04);
    border-radius: 10px;
    border: none;
    background-color: #F1F7FF;
    resize: none;
    padding-left: 20px;
}

.form form label {
    margin-top: 37px;
    text-align: center;
    display: inline-block;
    font-family: 'GilroyMedium';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
}

.form form .btn-rounded {
    margin-top: 40px;
}

.present-content h1 {
    font-size: 3.2rem !important;
    color: black !important;
}
.present-content h3 {
    color: #1EB72B;
}
.present-content span.green-con {
    font-size: 3rem !important;
}
.present-content .cloud {
    font-family: 'GilroyMedium';
    padding: 10px 20px;
    background-color: grey;
    border-radius: 15px;
}
.present-content .banner strong {
    font-family: 'GilroyMedium';
    padding: 8px 12px;
    border-radius: 12px;
    background-color: black;
    color: white;
    margin: 10px;
    box-shadow: 2px 8px 0px 1px #1EB72B;
}

.present-content img.icon {
    display: inline;
    border-radius: 0;
}

.present-content img.tooth {
    width: 200px;
    height: 200px;
}

.social-slide-desc {
    font-size: 16px;
    line-height: 1.5;
    color: #444;
    margin-top: 10px;
}

#social-carousel .slider__item img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.slider__indicators li {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    background-color: rgb(166, 166, 166) !important;
}

.slider__indicators li.active { 
    background-color: rgba(71, 207, 33, 0.5) !important;
}

#social-carousel .slider__items {
    display: flex;
    transition: transform 0.3s ease;
  }
  
#social-carousel .slider__item {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

#social-carousel .navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
}

#social-carousel .slider__indicators {
    margin: 0 !important;
    gap: 10px;
    
}

.vote-count {
    text-align: center;
    margin: 10px 0 15px;
    font-weight:600;
}
.vote-result  { color:#28a745;font-weight:600;margin-top:.25rem; }
.btn.vote-btn { transition:.15s; }
.btn.vote-btn:hover { transform:translateY(-2px); }

@media (max-width: 768px) {
    #social-carousel .slider__item {
      flex: 0 0 50%;
      max-width: 50%;
    }
    
    #social-carousel .slider__indicators {
        gap: 2px;
    }
}
  
  @media (max-width: 540px) {
    #social-carousel .slider__item {
      flex: 0 0 100%;
      max-width: 100%;
    }
  }
  

@media screen and (max-width: 768px) {
    .present-content img.icon {
        width: 20px;
        height: 20px;
    }
    .present-content .w-30 {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {

    form input[type=text],
    form input[type=email] {
        width: 100%;
    }

    header.header-desktop {
        display: none;
    }
    
    header.header-mobile,
    nav.menu {
        display: block;
    }

    section, 
    footer {
        padding: 0 10px;
        margin: 0;
        width: auto;
    }

    section#welcome .bottom p button {
        width: 90%;
        height: 60px;
        font-size: 21px;
    }

    h1, h2, h3, h4, h5 {
        text-align: center;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 18px;
    }

    p {
        font-size: 16px;
        text-align: center;
    }

    .navigation ul.indicators li {
        padding: 0 2px;
    }

    .w-60-p {
        width: 41px;
    }

    p.small {
        font-size: 12px;
    }

    header.header-mobile {
        height: 81px;
        background: #FFFFFF;
        box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.1);
    }

    header.header-mobile {
        height: 81px; /* 81px - 24px */
        background: #FFFFFF;
        box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.1);
    }

    header.header-mobile table {
        width: 100%;
        height: 100%;
    }

    header.header-mobile table td {
        width: 50%;
        vertical-align: middle;
    }

    nav.menu  {
        z-index: 6;
        display: none;
        padding-bottom: 24px;
        border: 1px solid #ccc;
    }

    a#menu-icon img {
        width: 21px;
        height: auto;
    }

    nav.menu ul {
        text-align: center;
        list-style: none;
    }

    nav.menu ul li{
        margin-top: 38px;
        font-family: 'GilroyRegular';
        font-style: normal;
        font-weight: 600;
        font-size: 18px;
        line-height: 22px;
    }

    nav.menu .contacts {
        margin-top: 40px;
        width: 240px;
    }

    nav.menu .contacts div.description {
        margin-left: 20px;
        text-align: left;
        font-family: 'GilroyLight';
        font-style: normal;
        font-weight: 700;
        font-size: 13px;
        line-height: 16px;
    }

    section#welcome {
        height: 517px;
        padding: 0;
    }

    section#welcome h1 span.letter {
        margin: 0 5px;
    }    

    section#welcome .between {
        height: 535px;
        background-size: 100%;
        background-position: center;
    }

    section#welcome .between .advantages-block .typing span,
    section#welcome .between .advantages-block .typing p {
        font-size: 18px;
        line-height: 20px;
    }

    .service-card,
    .service-card .service-card-overlay {
        width: 100%;
        height: 240px;
    }

    .review-card,
    .specialist-card,
    .photo-card {
        max-width: 100% !important;
    }

    .photo-card {
        padding: 0;
    }

    .specialist-card img {
        width: 100%;
        height: 500px;
    }

    .review-card img {
        width: 100%;
        height: 200px;
    }

    .photo-card {
        width: 40%;
    }

    section#photos iframe {
        width: auto;
    }

    .ad-card {
        max-width: 100%;
        height: 540px;
    }

    .ad-card td.img,
    .ad-card td.text {
        position: absolute;
    }

    .ad-card td.img {
        top: 320px
    }

    .ad-card td.text {
        top: 0;
    }

    .ad-card td.img img {
        width: 100%;
        height: 200px;
    }

    .ad-card .inner {
        z-index: 1px;
    }

    .media-card {
        width: 140px;
        height: 140px;
    }

    .media-card h5 {
        font-size: 24px;
    }

}
