@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap');
@font-face {
    font-family: 'Myriad Pro', sans-serif;
    src: url('fonts/MyriadPro-Regular.eot');
    src: url('fonts/MyriadPro-Regular.eot?#iefix') format('embedded-opentype'),
    url('fonts/MyriadPro-Regular.woff2') format('woff2'),
    url('fonts/MyriadPro-Regular.woff') format('woff'),
    url('fonts/MyriadPro-Regular.ttf') format('truetype'),
    url('fonts/MyriadPro-Regular.svg#MyriadPro-Regular') format('svg');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Myriad Pro', sans-serif;
    src: url('fonts/MyriadPro-Semibold.eot');
    src: url('fonts/MyriadPro-Semibold.eot?#iefix') format('embedded-opentype'),
    url('fonts/MyriadPro-Semibold.woff2') format('woff2'),
    url('fonts/MyriadPro-Semibold.woff') format('woff'),
    url('fonts/MyriadPro-Semibold.ttf') format('truetype'),
    url('fonts/MyriadPro-Semibold.svg#MyriadPro-Semibold') format('svg');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Myriad Pro', sans-serif;
    src: url('fonts/MyriadPro-Bold.eot');
    src: url('fonts/MyriadPro-Bold.eot?#iefix') format('embedded-opentype'),
    url('fonts/MyriadPro-Bold.woff2') format('woff2'),
    url('fonts/MyriadPro-Bold.woff') format('woff'),
    url('fonts/MyriadPro-Bold.ttf') format('truetype'),
    url('fonts/MyriadPro-Bold.svg#MyriadPro-Bold') format('svg');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Myriad Pro', sans-serif;
    src: url('fonts/MyriadPro-Light.eot');
    src: url('fonts/MyriadPro-Light.eot?#iefix') format('embedded-opentype'),
    url('fonts/MyriadPro-Light.woff2') format('woff2'),
    url('fonts/MyriadPro-Light.woff') format('woff'),
    url('fonts/MyriadPro-Light.ttf') format('truetype'),
    url('fonts/MyriadPro-Light.svg#MyriadPro-BoldCond') format('svg');
    font-weight: 300;
    font-style: normal;
}

html {
    overflow-y: scroll;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

body * {
    -webkit-text-size-adjust: none;
    outline: none;
}

.clear {
    clear: both;
    overflow: hidden;
    height: 0px;
    font-size: 0px;
    display: block;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

input,
textarea,
select {
    font-weight: 400;
    appearance: none;
    border-radius: 0;
    background: none;
    border: none;
    margin: 0;
    width: 100%;
    font-family: 'Arial', sans-serif;
}

textarea {
    display: block;
    resize: none;
    overflow: auto;
}

select::-ms-expand {
    display: none;
}

input[type="submit"],
input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    border: none;
    cursor: pointer;
    z-index: 1;
}

a,
a:link,
a:visited,
a:active,
a:hover {
    cursor: pointer;
    text-decoration: none;
    outline: none;
}

body {
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    font-family: 'Arial', sans-serif;
}

b,
strong {
    font-weight: 700;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
}

#content-block {
    margin: 0 auto;
    max-width: 900px;
    min-height: 100vh;
    background-color: #959595;
}

.testimonial-top {
    background-color: #fff;
    padding: 120px 110px 60px;
}

.testimonial-header {
    display: flex;
    -ms-align-items: center;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid #a0a0a0;
}

.testimonial-header img,
.testimonial-header h1 {
    display: inline-block;
    vertical-align: middle;
}

.testimonial-header img {
    max-width: 172px;
    margin-right: 25px;
}

h1 {
    color: #000;
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    font-family: 'Comfortaa', sans-serif;
}

h1 span {
    font-size: 36px;
    white-space: nowrap;
}

p {
    color: #000;
    font-size: 25px;
    font-weight: 700;
    line-height: 40px;
    font-family: 'Comfortaa', sans-serif;
}

.testimonial-bottom {
    text-align: center;
    padding: 65px 50px;
    background-color: #959595;
}

.testimonial-bottom > div {
    border-radius: 30px;
    background-color: #fff;
    padding: 115px 45px 220px;
    box-shadow: 0 0 11.88px 6.12px rgba(0, 0, 0, .14);
}

h2 {
    color: #000;
    font-size: 54px;
    font-weight: 600;
    line-height: 64px;
    margin-bottom: 70px;
    font-family: 'Myriad Pro', sans-serif;
}

.stars {
    pointer-events: none;
}

.stars.active .select-icon {
    background-image: url(./img/star-icon.svg);
}

.stars.active .select-icon.active + .select-icon,
.stars.active .select-icon.active + .select-icon + .select-icon,
.stars.active .select-icon.active + .select-icon + .select-icon + .select-icon,
.stars.active .select-icon.active + .select-icon + .select-icon + .select-icon + .select-icon {
    background-image: url(./img/star-empty-icon.svg);
}

.select-icon {
    width: 115px;
    height: 115px;
    cursor: pointer;
    margin-right: 24px;
    position: relative;
    pointer-events: auto;
    display: inline-block;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    background: 50% / cover no-repeat;
}

.select-icon:last-child {
    margin-right: 0;
}

.select-icon.icon-star {
    background-image: url(./img/star-icon.svg);
}

.select-icon.icon-star-empty {
    background-image: url(./img/star-empty-icon.svg);
}

.rating-picker-caption {
    font-size: 0;
    margin-top: 30px;
}

.rating-picker-caption span {
    color: #000;
    width: 115px;
    font-size: 23px;
    line-height: 34px;
    margin-right: 24px;
    display: inline-block;
    vertical-align: middle;
    font-family: 'Myriad Pro', sans-serif;
}

.rating-picker-caption span:last-child {
    margin-right: 0;
}
body.page-template-page-comments-mob.language-ru .rating-picker-caption span:nth-child(2){
    margin-right: 34px;
}
body.page-template-page-comments-mob.language-ru .rating-picker-caption span:nth-child(3){
    margin-left: -45px;
    width: 170px;
}
@media (max-width: 899px) {

    .testimonial-top {
        padding: 60px 30px 30px;
    }

    .testimonial-header {
        margin-bottom: 15px;
        padding-bottom: 20px;
    }

    .testimonial-header img {
        max-width: 90px;
    }

    h1,
    h2 {
        font-size: 30px;
        line-height: 40px;
    }

    h1 span {
        font-size: 32px;
        line-height: 42px;
    }

    p {
        font-size: 18px;
        line-height: 28px;
    }

    .testimonial-bottom {
        padding: 30px 30px 60px;
    }

    .testimonial-bottom > div {
        padding: 30px 15px 60px;
    }

    h2 {
        margin-bottom: 15px;
    }

    .select-icon,
    .rating-picker-caption span {
        width: 80px;
        height: 80px;
        margin-right: 15px;
    }

    .rating-picker-caption {
        margin-top: 15px;
    }

    .rating-picker-caption span {
        height: auto;
        font-size: 18px;
        line-height: 28px;
    }
}

@media (max-width: 575px) {

    .testimonial-top {
        padding: 30px 15px 15px;
    }

    .testimonial-header {
        padding-bottom: 15px;
    }

    .testimonial-header img {
        max-width: 60px;
        margin-right: 15px;
    }

    h1,
    h2 {
        font-size: 22px;
        line-height: 32px;
    }

    h1 span {
        font-size: 24px;
        line-height: 34px;
    }

    p {
        font-size: 16px;
        line-height: 26px;
    }

    .testimonial-bottom {
        padding: 15px 15px 30px;
    }

    .testimonial-bottom > div {
        padding: 15px 10px 30px;
    }

    .select-icon,
    .rating-picker-caption span {
        margin-right: 8px;
    }

    .select-icon {
        width: 42px;
        height: 42px;
    }

    .rating-picker-caption span {
        width: auto;
        height: auto;
        min-width: 42px;
        font-size: 12px;
        line-height: 22px;
    }
}