
.form {
    box-sizing: border-box;
}

.form * {
    box-sizing: border-box;
}

.form-row:not(:last-child) {
    margin-bottom: 32px;
}

.form-row .input-remember {
    display: none;
}

.form-row .label-check {
    display: inline-block;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
    width: auto;
    line-height: 22px;
}

.form-row .label-check:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    position: absolute;
    left: 0;
    top: 0;
    background: #ffffff;
    border: 1px solid #0071ba;
}

.form-field {
    position: relative;
}

.form-label {
    display: block;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.22;
    color: #4A4A4A;
    margin: 0;
}

@media (max-width: 767px) {
    .form-label {
        font-size: 16px;
        line-height: 1.2;
    }
}

.form-label:not(:last-child) {
    margin-bottom: 16px;
}

@media (max-width: 767px) {
    .form-label:not(:last-child) {
        margin-bottom: 12px;
    }
}

.form-input {
    display: block;
    height: 50px;
    width: 100%;
    max-width: 100%;
    appearance: none;
    background: transparent;
    box-shadow: none;
    padding: 0 16px;
    line-height: 1.22;
    transition: .3s ease;
    transition-property: color, background, border-color;
    border: 1px solid #353383;
    font-size: 14px;
}

@media (max-width: 767px) {
    .form-input {
        padding: 0 12px;
        font-size: 16px;
    }
}

.form-input::-webkit-input-placeholder {
    color: rgba(74, 74, 74, 0.5);
}

.form-input:-moz-placeholder {
    color: rgba(74, 74, 74, 0.5);
}

.form-input::-moz-placeholder {
    color: rgba(74, 74, 74, 0.5);
}

.form-input:-ms-input-placeholder {
    color: rgba(74, 74, 74, 0.5);
}

.form-input:focus {
    border-color: #0071ba;
}

.form-button {
    min-width: 160px;
    -webkit-appearance: none;
}

.form-button:not(:disabled) {
    cursor: pointer;
}

.form-button:hover, .form-button:focus {
    text-decoration: none;
    background: #6CC7DD;
    border-color: #6CC7DD;
    color: #fff;
    outline: 0;
}

.form-button:active {
    background: #4bbad5;
    border-color: #4bbad5;
    color: #fff;
    outline: 0;
}

.form-button_fullwide {
    display: flex;
    width: 100%;
}

.form-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 0 -30px;
    padding: 0;
    list-style: none;
}

.form-grid > * {
    margin: 0;
    padding-left: 30px;
    box-sizing: border-box;
    width: 100%;
}

.form-grid-col-1-2 {
    width: 50%;
}

.form-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-forgot-item {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 14px;
    line-height: 16px;
    color: #0071ba;
    margin: 0;
}

.form-forgot-item .i-tooltip:not(:first-child) {
    margin-left: 5px;
}

.i-tooltip {
    display: inline-block;
    position: relative;
}

.i-tooltip__icon {
    width: 18px;
    height: 18px;
    border-radius: 100px;
    background: rgba(0, 113, 186, 0.2);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' viewBox='0 0 4.8 8'%3E%3Cpath fill='%230071ba' d='M1.6 5.5c0-.5.1-.9.2-1.2.1-.3.3-.6.7-.8.3-.3.5-.6.6-.7.1-.2.2-.4.2-.6 0-.6-.3-.9-.8-.9-.3 0-.5 0-.7.2-.2.2-.2.4-.2.7H0C0 1.5.2 1 .7.6c.4-.4 1-.6 1.7-.6.8 0 1.3.2 1.8.6.4.4.6.9.6 1.6 0 .3-.1.6-.2.9-.1.1-.3.4-.7.8l-.4.4c-.3.2-.4.5-.5.9v.3H1.6zm-.1 1.7c0-.2.1-.4.2-.6.2-.2.4-.2.6-.2s.5 0 .7.2c.2.2.2.4.2.6 0 .2-.1.4-.2.6-.2.1-.4.2-.7.2s-.4-.1-.6-.2c-.2-.2-.2-.4-.2-.6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 10px;
}

.i-tooltip__content {
    position: absolute;
    bottom: 100%;
    right: -30px;
    width: 340px;
    padding: 24px;
    background: #fff;
    box-shadow: 0px 20px 60px rgba(74, 74, 74, 0.15);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.43;
    color: #4A4A4A;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    transition-property: opacity, visibility;
}

@media (max-width: 767px) {
    .i-tooltip__content {
        width: 240px;
        font-size: 12px;
        padding: 16px;
        right: -15px;
    }
}

.i-tooltip:hover .i-tooltip__content, .i-tooltip:focus .i-tooltip__content {
    opacity: 1;
    visibility: visible;
}

.i-tooltip_left .i-tooltip__content {
    left: auto;
    right: -30px;
}

@media (max-width: 767px) {
    .i-tooltip_left .i-tooltip__content {
        right: -15px;
    }
}

.i-tooltip__content::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-top: 13px solid #fff;
    border-right: 8px solid transparent;
    position: absolute;
    bottom: -12px;
    left: 30px;
}

@media (max-width: 767px) {
    .i-tooltip__content::after {
        left: 15px;
    }
}

.i-tooltip_left .i-tooltip__content::after {
    left: auto;
    right: 30px;
}

@media (max-width: 767px) {
    .i-tooltip_left .i-tooltip__content::after {
        right: 15px;
    }
}

.i-tooltip {
    position: relative;
    width: 18px;
    height: 18px;
    background: url(../../img/info.svg) center center / 16px 16px no-repeat;
    display: inline-block;
    margin-bottom: 0;
    margin-left: 5px;
}

.i-tooltip__icon {
    display:none;
}

.i-tooltip__content {
    position: absolute;
    display: block;
    color: #4a4a4a !important;
    font-size: 15px;
    line-height: 15px;
    padding: 15px 20px;
    background: #fff;
    box-shadow: 0px 0px 35px 0px rgba(1, 22, 36, 0.3);
    bottom: 27px;
    right: -15px !important;
    top:auto;
    /*white-space: nowrap;*/
    border-bottom: 1px solid #0071ba;
    margin:0;
    z-index:10;
    width:290px;
}

.i-tooltip__content:after {
    content:none;
}

.i-tooltip:before {
    content: '';
    display: block;
    width: 14px;
    height: 7px;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAHCAYAAAA4R3wZAAAA8ElEQVQYlWPQ6jz+/9mnn/+JBV37H/xnKNr7n0lfmmeb5cQzDHfefGfAB/7+Z2DIWHODYe6JZ98rnOXMGP7//8+QuOLqAvGGw//PP/2M1ZaPP/78d5tx7r/lxNMvq7bdEf///z8Dw////xn+///PkL76epdw7aH/B+++R9H06P2P/9pdx//7zL5wsX7nXTaYerjG////M+Suv1EsVHPw3+arr////////6lHH/9LNBz+H7P0ympkdRga////z1C48Va8cO2hv4Ubb/0XqDn4L3PN9WZ0NVg1/v//n6F0820v3e7jn4o23grHJv///38GADwoEoxdDsLkAAAAAElFTkSuQmCC) top left no-repeat;
    position: absolute;
    top: -10px;
    left: 2px;
    z-index: 11;
    display: none;
}


.i-tooltip:hover:before {
    display: block;
}

.form-row .label-check, .form-forgot-item span {
    color: #24226A;
    font-family: 'Century Gothic';
    font-size: 14px !important;
    font-weight: 400;
    line-height: 22px !important;
}

.form-row .label-check:before {
    width: 16px !important;
    height: 16px !important;
    border-radius: 5px;
    top: 3px !important;
    content: "";
    display: inline-block;
    margin-right: 10px;
    position: absolute;
    left: 0;
    background: #ffffff;
    border: 1px solid #24226A;
    text-align: center;
}

.form-row input[type=checkbox]:checked + .label-check:before {
    content: "\2713" !important;
    color: #24226A !important;
    font-size: 14px !important;
    text-align: center;
    line-height: 16px !important;
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    position: absolute;
    left: 0;
    top: 0;
    background: #ffffff;
    border: 1px solid #24226A;
    text-align: center;
}


#authModal .form-button,
#authModal .form-button:hover{
    margin:0;
    height:56px;
    background: #f55b41;
}

#authModal .form-label {
    display: inline-block;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    font-family: 'Century Gothic';
    padding-bottom:10px;
    color: #24226A;
    margin:0;
}

.wrap.agreement {
    margin: 0 0 35px 0;
    max-width: 47%;
}

.agreement a {
    text-decoration:underline;
}

.agreement a:hover {
    text-decoration:none;
}

.wrap.agreement label[for="agree"],
.wrap.agreement label[for="agree2"] {
    width: 100%;
    display: block;
    padding: 0 0 0 25px;
    position: relative;
}

.fields label.wp-block-button__link {
    width: 235px;
    height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wp-block-button__link input[type="submit"], 
.wp-block-button__link input[type="submit"] {
    background: transparent !important;
    border-radius: 5px;
    color: #fff !important;
    display: inline-block;
    overflow: hidden;
    padding: 0 !important;
    position: relative;
    vertical-align: middle;
    z-index: 10;
    text-transform: uppercase;
    font-size: 14px !important;
    line-height: 16px;
    font-family: 'Century Gothic Bold';
    margin-top: 0 !important;
    height: auto !important;
    width: auto !important;
    border: 0 !important;
}

.choose_theme .hands{
    color: #24226A;
    text-align:left;
    border: 1px solid #F05A42;
    position:relative;
    border-radius: 5px;
    font-family: 'Century Gothic';
    font-size: 18px;
    line-height: 24px;
    margin: 22px 0 0 0;
    padding: 30px 180px 28px 45px;
}

.choose_theme .hands span{
    position:relative;
}

.choose_theme .hands span:before{
    content:'*';
    color:#F55B41;
    position:absolute;
    left: -14px;
}

.choose_theme .hands:before {
    content:none;
}

.label-check {
    padding-left: 25px;
    line-height: 22px;
    
}

input#agree, input#agree2  {
    display:none;
}

label[for="agree"]:before,
label[for="agree2"]:before {
    width: 16px !important;
    height: 16px !important;
    border-radius:5px;
    top: 3px !important;
    content: "";
    display: inline-block;
    margin-right: 10px;
    position: absolute;
    left: 0;
    background: #ffffff;
    border: 1px solid #24226A;
    text-align: center;
}

input[type=checkbox]:checked + label:before {
    content: "\2713" !important;
    color: #24226A !important;
    font-size: 14px !important;
    text-align: center;
    line-height: 16px !important;
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    position: absolute;
    left: 0;
    top: 0;
    background: #ffffff;
    border: 1px solid #24226A;
    text-align: center;
}

.inputfile {
    width: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}


.tooltip {
    position: relative;
    width: 18px;
    height: 18px;
    background: url(../../img/info.svg) center center / 16px 16px no-repeat;
    display: inline-block;
    margin-bottom: -3px;
    margin-left: 5px;
}

.tooltip.tooltip_file {
    position:relative;
    left:0;
    top:0;
}

.select-css {
    display: block;
    padding-right: ;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

.select-css option {
    font-weight: normal;
}

.inputfile + label {
    text-align: center;
    cursor: pointer;
}

input::-webkit-input-placeholder {
    color: #bbb;
}

input:-moz-placeholder {
    color: #bbb;
}

input::-moz-placeholder {
    color: #bbb;
}

input:-ms-input-placeholder {
    color: #bbb;
}

.mark_inputs {
    position: relative;
}

.wrap_who {
    margin:0 !important;
}

#loginform #wp-submit:active, 
#loginform #wp-submit:focus, 
#loginform #wp-submit:hover, 
.wp-block-button__link:active, 
.wp-block-button__link:focus, 
.wp-block-button__link:hover,
.article-page .wp-block-file__button:hover,
.article-page .wp-block-file__button:focus,
.article-page .wp-block-file__button:hover{
    transform: scale(1.1);
}

#loginform #wp-submit:active:before,
#loginform #wp-submit:focus:before, 
#loginform #wp-submit:hover:before, 
.wp-block-button__link:active:before, 
.wp-block-button__link:focus:before, 
.wp-block-button__link:hover:before,
.article-page .wp-block-file__button:hover:before,
.article-page .wp-block-file__button:active:before,
.article-page .wp-block-file__button:focus:before{
    transform: scale(1.2,4);
}

.feedback_btn_wrapper .wp-block-button__link {
    margin: 14px 0 25px;
}

.iti-mobile .iti--container {
    max-width: calc(100% - 65px);
}


label[for="agree"].error:before,
label[for="agree2"].error:before {
    color: #f55b41;
    border: 1px solid rgba(245, 91, 65, 1);
}

label[for="agree"].error p,
label[for="agree2"].error p {
    color: #f55b41;
}

#feedback #phone {
    padding-left: 91px !important;
    line-height: 54px;
}

span.country_code_inner {
    color: #bbb !important;
    font-size: 14px;
    font-family: 'Century Gothic Bold';
    position:absolute;
}

#result:focused span.country_code_inner: {
    color: #bbb !important;
}

