﻿* {
    box-sizing: border-box;
}

body {
    font-family: Poppins, serif;
    font-size: 14px;
    line-height: 1.5em;
    background-color: #f4f9fd;
    color: #00365c;
}

spannb {
    position: relative;
    display: inline;
    white-space: nowrap;
}

h2 { font-size: 28px; font-weight: bold; }
h3 {
    padding-top: 16px;
    font-size: 20px;
    font-weight: bold;
}

input[type="radio"], label.inline {
    cursor: pointer;
}

p {
    display: block;
    margin: 0;
    padding: 0;
    padding-bottom: 8px;
}

.bottom-descr p {
    padding-bottom: 2px;
}

::placeholder,
.like-placeholder {
    color: #5390bb;
}
:hover::placeholder,
:focus::placeholder,
:focus.like-placeholder {
    color: #F0F0F0;
}

.hidden { display: none !important; }

.text-center { text-align: center; }

.content {
    position: relative;
    max-width: 832px;
    margin: auto;
    padding: 16px 16px;
}
@media (max-width: 440px) {
    .content { padding: 16px 4px; }
}

.f-default { font-size: 1rem; }
.f-small { font-size: 12px; }
.f-smaller { font-size: 11px; }
.f-tiny { font-size: 10px; }

.text-right {
    text-align: right;
}

.click {
    cursor: pointer;
}

.marg-top-8 { margin-top: 8px; }
.marg-top-16 { margin-top: 16px; }
.marg-bottom-8 { margin-bottom: 8px; }
.marg-bottom-16 { margin-bottom: 16px; }
.pad-top-8 { padding-top: 8px !important; }
.pad-top-16 { padding-top: 16px !important; }
.pad-bottom-8 { padding-bottom: 8px !important; }
.pad-bottom-16 { padding-bottom: 16px !important; }


.head-descr {
    text-align: justify;
}

.field-wrap {
    position: relative;
}
.field-wrap + .field-wrap {
    padding-top: 16px;
}
.field-wrap input[type="text"],
.field-wrap textarea,
.field-wrap select {
    display: block;
    width: 100%;
    padding: 8px 8px;
    border-radius: 4px;
    outline: none; /*1px solid rgba(0, 0, 0, 0.2)*/
    border: 1px solid rgba(0, 0, 0, 0.2);
}

label {
    display: block;
    font-size: 0.85rem;
    padding-bottom: 4px;
}
label:not(.inline) {
    color: #888;
}
label.inline {
    vertical-align: middle;
}
label.inline, label.inline > * {
    display: inline-block;
    margin-top: auto;
    vertical-align: middle;
}
label.inline input {
    margin-right: 5px;
}

label.error, div.error {
    background-color: #fbf3cb;
}

input.error, select.error, textarea.error {
    background-color: #fbf3cb;
}


.head-titles {
    position: relative;
    padding-right: 112px;
}
.head-titles .logo {
    position: absolute;
    font-size: 96px;
    top: 0;
    right: 0;
    width: 1em;
    height: 1em;
    background: right top no-repeat url("../res/logo.png");
    background-size: contain;
}


.cols {
    position: relative;
    margin: 0 -16px 0;
}
.cols::after {
    content:"";
    position: relative;
    display: block;
    clear: both;
}
.dcol,
.dcolh,
.dcol-half-sm,
.dcol2 {
    position: relative;
    float: left;
    width: 100%;
    padding: 0 16px 16px;
}
.dcolh { width: 50%; }
.dcol-half-sm { width: 50%; padding-bottom: 0; }
@media (min-width: 801px) {
    .dcol { width: 50%; }
    .dcolh { width: 25%; }
}
@media (max-width: 420px) {
    .dcol-half-sm { width: 100%; }
    .dcolh { width: 100%; }
}


@media (min-width: 801px) {
    .only-mobile { display: none !important; }
}
@media (max-width: 800px) {
    .no-mobile { display: none !important; }
}

body:not(.loaded) .starwrap {
    visibility: hidden;
}
.starwrap {
    position: relative;
    overflow: hidden;
    max-width: 560px;
    width: 100%;
    white-space: nowrap;
    font-size: 0;
}

.starwrap .star {
    position: relative;
    display: block;
    float: left;
    width: 9.09%;
    text-align: left;
    font-size: 16px;
    font-size: 64px;
    margin-left: -0.25em;
    margin-right: 0.25em;
    cursor: pointer;
}
.starwrap .star i {
    display: block;
    font-family: "Material Symbols Rounded";
    font-variation-settings: 'FILL' 1;
    font-weight: 100;
    font-style: normal;
    line-height: 1em;
    text-align: left;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    text-transform: none;
    /*color: transparent;*/
    color: #cbcbcb;
    opacity: 1;
    -webkit-transition: opacity 0.5s ease;
            transition: opacity 0.5s ease;
}
.starwrap .star i::before,
.starwrap .star i::after {
    content: "star";
    position: absolute;
    /*left: 50%;
    margin-left: -0.5em;*/
    left: 0;
    top: 0;
    color: #ffdd31;
    opacity: 1;
    /*-webkit-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;*/
    /*z-index: 1;*/
}
.starwrap .star i::before {
    font-variation-settings: 'FILL' 1;
}
.starwrap .star i::after {
    /*content: "star_outline";*/
    font-variation-settings: 'FILL' 0;
    color: #00365c;
    /*z-index: -1;*/
}
.starwrap .star.active i::after {
    /*color: #1870b5;*/
}
.starwrap .star:nth-child(1)  i::before { opacity: 0.2; }
.starwrap .star:nth-child(2)  i::before { opacity: 0.2; }
.starwrap .star:nth-child(3)  i::before { opacity: 0.3; }
.starwrap .star:nth-child(4)  i::before { opacity: 0.4; }
.starwrap .star:nth-child(5)  i::before { opacity: 0.5; }
.starwrap .star:nth-child(6)  i::before { opacity: 0.6; }
.starwrap .star:nth-child(7)  i::before { opacity: 0.7; }
.starwrap .star:nth-child(8)  i::before { opacity: 0.8; }
.starwrap .star:nth-child(9)  i::before { opacity: 0.9; }
.starwrap .star:nth-child(10) i::before { opacity: 1; }
.starwrap .star:nth-child(11) i::before { opacity: 1; }
.starwrap .star > span {
    display: block;
    text-align: center;
    /*padding-left: 0.25em;*/
}
.starwrap .star > span span {
    padding-left: 0.64em;
    font-size: 20px;
}

.starwrap:not(.active):not(:hover) .star i,  /* non-selected no hover */
.starwrap:not(.active):not(:hover) .star i::before,
.starwrap:not(.active):hover .star:hover ~ .star i,  /* all non-selected after hovered star */
.starwrap:not(.active):hover .star:hover ~ .star i::before {
    color: transparent !important; /* when nothing selected and no hover */
}
.starwrap .star.active ~ .star:not(.active) i, /* all after selected */
.starwrap .star.active ~ .star:not(.active) i::before {
    color: transparent !important;
}
.starwrap .star.active ~ .star:not(:hover):not(.active) i { /* all after selected non-hover */
    opacity: 0.32;
}

.starwrap .star:not(:nth-child(1)):not(:nth-child(6)):not(:nth-child(11)) > span { /* show score only first middle and last*/
    visibility: hidden;
}

@media (max-width: 500px) {
    .starwrap .star { font-size: 50px; }
    .starwrap .star > span span { font-size: 16px; padding-left: 19px; }
}
@media (max-width: 350px) {
    .starwrap .star { font-size: 34px; }
    .starwrap .star > span span { font-size: 14px; padding-left: 7px; }
}


.notes-wrap {
    position: relative;
}
.notes-wrap::after {
    content: "";
    position: relative;
    clear: both;
}

.notes-wrap .note-wrap {
    position: relative;
    overflow: hidden;
    clear: both;
    padding-top: 8px;
    padding-bottom: 8px;
    min-height: 4em;
}
.notes-wrap .notes-header.note-wrap {
    margin-bottom: 8px;
}
.notes-wrap .note-wrap .title {
    float: left;
    width: 50%;
    width: calc(100% - 320px);
    min-height: 1px;
}
.notes-wrap .note-wrap .col-rates {
    float: left;
    width: 50%;
    width: calc(320px);
}
@media (max-width: 800px) {
    .notes-wrap .note-wrap .title,
    .notes-wrap .note-wrap .col-rates {
        width: 100%;
    }

}

.notes-wrap .ncols {
    overflow: hidden;
}
.notes-wrap .ncols .ncol {
    width: 19%;
    min-height: 1px;
    float: left;
}
[data-with-nonconcerned="0"] .ncols .ni-non-concenred.ncol {
    visibility: hidden;
}
.notes-wrap .ncols .ncol:last-child {
    width: 24%;
}

.notes-wrap .answers.ncols .ncol {
    min-height: 2em;
    cursor: pointer;
}
.notes-wrap .answers.ncols .ncol:hover input {
    box-shadow: 0 4px 4px -4px;
}
.notes-wrap .answers.ncols .ncol input {
    cursor: pointer !important;
}

.notes-wrap .ni-smiley > i {
    position: relative;
    display: block;
    width: 100%;
    max-width: 32px;
    margin: auto;
}
.notes-wrap .ni-smiley > i > .sub {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 100%;

    background: left center no-repeat url(../res/smileys.png);
    background-size: auto 100%;
}
.notes-wrap .ni-smiley:nth-child(2) > i > .sub { background-position-x: 33.5%; }
.notes-wrap .ni-smiley:nth-child(3) > i > .sub { background-position-x: 67%; }
.notes-wrap .ni-smiley:nth-child(4) > i > .sub { background-position-x: right; }


.btn, .btn-submit {
    display: inline-block;
    padding: 6px 28px;
    border-radius: 10px;
    color: white;
    background-color: #2690e2;
    cursor: pointer;
    transition: border-radius 0.5s ease;
}
.btn:hover, .btn-submit:hover {
    background-color: #13619d;
    border-radius: 4px;
}
.btn.gray {
    background-color: #dddddd;
    color: inherit;
}
.btn.gray:hover {
    background-color: white;
    color: inherit;
}


body.ajax #body-ajax-load {
    position: fixed;
    left:0;top:0;width:100%;height:100%;
    z-index: 10000;
    background-color: white;
    opacity: 0.16;
}

.popup-wrap:not(.active) {
    display: none !important;
}

.popup-wrap {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.16);
}

.popup-wrap > .sub {
    position: relative;
    padding: 16px 16px;
    border-radius: 10px;
    width: 700px;
    max-width: 95%;
    height: auto;
    min-height: 128px;
    max-height: 95%;
    overflow: auto;

    text-align: center;
    background-color: white;
    box-shadow: 0 16px 32px -4px rgba(0, 0, 0, 0.5);
}

.popup-foot {
    text-align: center;
    padding-top: 20px;
}

.popup-foot .btn {
    margin: 8px 0;
}


.popup-title {
    font-size: 20px;
    padding-bottom: 32px;
    padding-top: 28px;
}

.popup-message {
    font-size: 1rem;
}


#popup-code > .sub {
    text-align: left;
    padding: 32px 32px;
}


.dates-selector {
    position: relative;
    display: block;
    cursor: pointer;
}
.dates-selector:not(.activated)::after {
    content: "";
    position: absolute;
    left:0;top:0;width:100%;height:100%;
    z-index: 1;
    cursor: pointer;
}

.list-csv {
    position: relative;
    padding: 8px 0;
}
.list-csv .csv {
    position: relative;
    display: inline-block;
    margin-right: 16px;
    margin-bottom: 16px;
    padding: 8px 20px 8px 32px;

    background: 8px center no-repeat url(../res/csv.png);
    background-size: auto 24px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 4px -4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}
.list-csv .csv:hover {
    /*box-shadow: none;*/
    box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.25);
}

.list-csv .csv::after {
    content: "download";
    position: absolute;
    right: 4px;
    top: 50%;
    margin-top: -0.5em;
    font-family: "Material Symbols Rounded";
    font-variation-settings: 'FILL' 0;
    font-weight: 200;
    font-size: 20px;
    font-style: normal;
    line-height: 1em;
    text-align: right;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    text-transform: none;
    z-index: 1;
}
.list-csv .csv:not(:hover)::after {
    opacity: 0.5;
}

.list-csv .csv .title {
    width: 144px;
    padding: 8px 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    line-height: 1em;
    color: #009ee0;
}
.list-csv .csv .used {
    white-space: nowrap;
    font-size: 8px;
    line-height: 1em;
    margin-top: -4px;
    padding: 0 2px;
    color: inherit;
    opacity: 0.64;
}
.list-csv .csv:hover .title {
    /*color: inherit;*/
}
