body {
    -webkit-font-smoothing: antialiased;
}


.form-2 label.error {
    margin-left: 5px;
    color: #c42320 !important;
}

.form-2 #Consent-error, .form-2 #isMonthCorrect-error {
    margin-left: 0px;
}

.form-2 .payMonthContainer select {
    width: 220px;
}

.form-2 .messagePayMonth {
    color: #c42320 !important;
}

.oplata-course {
    color: #000000;
    font-weight: normal;
}

.course-description {
    margin: 20px 0;
    background: #fffdd5;
    border: 1px solid #fffccc;
    padding: 10px;
    color: #878787;
}

#maincontentbox .course-h2 {
    color: #d2464a !important;
}

.course-opts-flex {
    display: flex;
}

.course-opts-item {
    margin: 10px;
    padding: 3px 10px;

    text-align: center;
    background: #fcfbe8;
    /*border-radius: 10px;*/
    position: relative;
}

.course-opts-item-clickable {
    cursor: pointer;
}

.course-opts-item .opt-label {
    color: #878787;
    text-transform: lowercase;
}
.course-opts-item .opt-price {
    font-weight: bold;
    color: #802ebb;
}

.course-opts {
    border-bottom: 2px solid #b5b5b5;
    margin-bottom: 10px;
}

.course-opts .active {
    border: 1px solid #878787;
    z-index: 3;
    border-radius: 10px;
}

.opts-tariff {
    background: transparent;
    color: #878787;
    line-height: 40px;
    font-weight: bold;
}

#course-active-price {
    display: none;
}

.opt-price-value, .opt-label-value, .course-name-value {
    display: none;
}

body.page .ui-widget-shadow {
    opacity: 1.0;
    background: #fcfbe8 50% 50% repeat-x;
}

.oplata-course .course-name {
    color: #d2464a;
    margin-bottom: 10px;
    font-weight: bold;
}

.opt-descr, .opt-id, .course-id-value, .course-opt-value {
    display: none;
}

.course-item-opt-descr {
    /*position: absolute;*/
    /*left: 285px;*/
    /*top: 25px;*/
    color: #d2464a;
    border: 1px solid #878787;
    /*margin-top: -11px;*/
    z-index: 2;
    padding:20px;
    padding-bottom:5px;
    border-radius: 10px;
    margin-bottom: 5px;
    position: relative;
    background: #fcfbe8;
}

.course-description p {
    color: #878787;
    font-size: 16px;
}

.moreAboutCourseBtn, .oneCourseDescription {
    text-decoration: none;
    color: #000000;
    font-size: 16px;
}

/* Promo Link Button */

.PaymentWrapper .promo-links {
    display: flex;
    opacity: 0.2;
    margin-bottom: 5px;
    justify-content: space-between;
}

.PaymentWrapper .promo-links a {
    display: block;
    width: 22px;
}

.PaymentWrapper .promo-links a img {
    width: 100%;
}

img.alignleft {
    float: left;
    margin: 0.5em 1em 0.5em 0;
}

#Sum:read-only, #OrderDetails:read-only {
    background-color: #eaeaea;
}

.PaymentWrapper .labelWrapper {
    color: #878787;
    font-weight: 600;
    /*margin-bottom: 5px;*/
    font-size: 14px;
}

.PaymentWrapper .checkboxWrapper label,
.PaymentWrapper .checkboxWrapper input {
    cursor: pointer;
    font-size: 12px;
}

.PaymentWrapper .textAreaWrapper {
    margin-top: -3px;
}

/**/
.popup h1 {
    font-weight: 500;
    text-align: left;
    margin: 0 0 12px 0;
    font-size: 22px;
    line-height: 1.25;
    color: #d2464a;
    margin-top: 0;
    padding-right: 22px;

}

.popup h2 {
    text-align: left;
    font-weight: 500;
    line-height: 1.3;
    margin: 16px 0 8px;
    color: #d2464a;
    font-size: 18px;
    margin-top: 10px;
}

.popup h3 {

}

.popup .course-picture {
    margin-top: 12px;
}
.popup .course-picture img {
    border: 1px solid #b5b5b5;
    height: auto !important;
    max-width: 100%;
    vertical-align: middle;
    margin-bottom: 0;
    border-color: #dbdada;
    max-width: 250px;
    border-radius: 50%;
}
.popup .course-picture {
    font-size: 12px;
    margin: 5px 30px 10px;
}
.popup .textaligncenter {
    text-align: center;
}
.popup .aligncenter {
    clear: both;
}
.popup .timetable-popup-wrap {
    text-align: center;
}
.popup .timetable-popup {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    background-color: #fefeff;
    align-items: center;
    border: 1px dotted #cc9500;
    padding: 10px 12px;
    border-radius: 12px;
    gap: 6px;
}

.popup .timetable-popup-detail {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 12px;
    flex-direction: row;
}
.popup .timetable-popup-day {
    /* width: 100%; */
    font-size: 16px;
}
.popup .timetable-popup-time, .timetable-popup-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
    color: #000;
}
.popup .timetable-popup-time .fa, .timetable-popup-price .fa {
    color: rgba(0, 0, 0, 0.6);
}

/* forum payment form */
.ltd {
    /*background: url(/wp-content/themes/daoderu/img/texture.png);*/
}

.ltd .timetable-popup-wrap {
    text-align: center;
    margin-top: 10px;
}
.ltd .timetable-popup-wrap .timetable-popup--double {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    background-color: transparent;
    padding: 0;
    border: 0;
}
.ltd .timetable-popup-wrap .timetable-popup--double-cart {
    flex-direction: row;
    background-color: transparent;
    padding: 0;
    border: 0;
}
.ltd .timetable-popup-wrap .timetable-popup--double .timetable-detail {
    order: initial;
}
.ltd .timetable-popup {
    display: inline-flex;
    flex-direction: column;
    margin-bottom: 12px;
    background-color: rgba(254, 254, 255, 1);
    align-items: center;
    border: 1px dotted rgb(204 102 0 / 100%);
    padding: 6px 12px;
    border-radius: 12px;
    gap: 6px;
    font-size: 12px;
}
.ltd .timetable-popup .button {
    padding: 0 10px;
}
.ltd .timetable-popup-detail {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 12px;
    flex-direction: row;
}
.ltd .timetable-popup-day {
    font-size: 12px;
}
.ltd .timetable-popup-time,
.ltd .timetable-popup-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
    color: #000;
}
.ltd .timetable-popup-time .fa,
.ltd .timetable-popup-price .fa {
    color: #CC6600;
}
.ltd .popup-content {
    display: flex;
    gap: 20px;
}
.ltd .popup-image {
    max-width: 150px;
    flex-shrink: 0;
}

.ltd h1,
.ltd h2,
.ltd h3,
.ltd h4,
.ltd h5 {
    font-weight: 600;
    line-height: 1.3;
}

.ltd h3,
.ltd h4 {
    margin: 0 0 4px;
    color: #000;
}
.ltd h1 + .ltd h2 {
    margin-top: 10px;
}
.ltd h2.bordered.bigger {
    font-size: 16px;
}
.ltd h3 {
    font-size: 14px;
}
.ltd h4 {
    font-size: 12px;
}

.ltd h2 {
    text-align: left;
    font-weight: 500;
    line-height: 1.3;
    margin: 16px 0 8px;
    color: #d2464a;
    font-size: 18px;
    margin-top: 10px;
}

.ltd h1, .ltd h2.bordered.bigger {
    font-weight: 600;
    text-align: left;
    margin: 0 0 12px 0;
    font-size: 22px;
    line-height: 1.25;
    color: #000000;
    margin-top: 0;
    padding-right: 22px;

}



.ltd h3 {

}

.ltd .course-picture {
    margin-top: 12px;
}
.ltd .course-picture img {
    border: 1px solid #b5b5b5;
    height: auto !important;
    max-width: 100%;
    vertical-align: middle;
    margin-bottom: 0;
    border-color: #dbdada;
    max-width: 250px;
    border-radius: 50%;
}
.ltd .course-picture {
    font-size: 12px;
    margin: 5px 30px 10px;
}
.ltd .textaligncenter {
    text-align: center;
}
.ltd .aligncenter {
    clear: both;
}
.ltd .timetable-popup-wrap {
    text-align: center;
}
.ltd .timetable-popup {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    background-color: #fefeff;
    align-items: center;
    border: 1px dotted #cc9500;
    padding: 10px 12px;
    border-radius: 12px;
    gap: 6px;
}

.ltd .timetable-popup-detail {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 12px;
    flex-direction: row;
}
.ltd .timetable-popup-day {
    /* width: 100%; */
    font-size: 16px;
}
.ltd .timetable-popup-time, .ltd .timetable-popup-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
    color: #000;
}
.ltd .timetable-popup-time .fa, .ltd .timetable-popup-price .fa {
    color: #CC6600;
}

.ltd h2 {
    margin-bottom: 12px;
    color: #000;
    font-weight: 600;
}

.ltd h2.bordered.bigger {
    margin: 0 0 10px 0;
    font-size: 20px;
    line-height: 1.25;
    color: #000;
    border: 0;
}

.ltd .popup-image img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
    margin-bottom: 0;
    border-color: #dbdada;
    border-radius: 20px;
    width: 150px;
    height: 150px;
    object-fit: cover;
    object-position: center;
}

.ltd .picture-text {
    font-size: 12px;
    line-height: 1.25;
    margin: 3px auto 10px;
    text-align: center;
    color: rgba(0,0,0,.7);
}

/* payment month */
#payMonth {
    height: 26px;
    margin-right: 4px;
}

.PaymentWrapper .textAreaWrapper input, .PaymentWrapper .textAreaWrapper textarea,
.PaymentWrapper .textAreaWrapper select {
    width: 220px;
    font: 15px "lucida grande", tahoma, verdana, arial, sans-serif;
    border: 1px solid #9daccc;
    padding: 3px 5px 4px 5px;
    margin: 2px 0;
}

.PaymentWrapper .textAreaWrapper select {
    padding: 3px;
}
.PaymentWrapper .textAreaWrapper select:invalid {
    color: #00000099;
}

.payMonthContainer .ms-options-wrap > .ms-options > ul li.selected label {
    background-color: white;
    border-color: transparent;
}
.payMonthContainer .ms-options-wrap > .ms-options > ul label.focused, .payMonthContainer .ms-options-wrap > .ms-options > ul label:hover {
    background-color: white;
    border: none;
}

.payMonthContainer .ms-options-wrap > .ms-options > ul label {
    border: none;
    cursor: pointer;
}

.payMonthContainer .ms-options-wrap > .ms-options > ul label {
    padding: 5px 4px 4px 20px;
    font-size: 12px;
}

.messagePayMonth {
    color: #878787;
    margin-left: 8px;
    width: 295px;
}

.payMonthContainer {

}
.payMonthContainer .ms-options-wrap {
    width: 220px;
}
.PaymentWrapper .payMonthContainer .ms-options-wrap input[type='checkbox'] {
    width: auto;
}
.payMonthContainer .ms-options {
    min-height: 75px !important;
    max-height: 75px !important;
}

.payMonthContainer .ms-options-wrap button span {
    font: 15px "lucida grande", tahoma, verdana, arial, sans-serif;
}

.payMonthContainer .ms-has-selections button span {
    /*font-weight: bold;*/
}

.PaymentWrapper .textAreaWrapper input.highlight-error-border,
.PaymentWrapper .textAreaWrapper textarea.highlight-error-border,
.ms-options-wrap.highlight-error-border2 button,
.PaymentWrapper #payMonth.highlight-error-border {
    border-right: 3px solid crimson;
}

.ms-options-wrap.highlight-error-border2 button,
.highlight-error-border2 {
    outline: solid crimson 3px;
    animation: blinkMonth 1500ms;
    animation-iteration-count: 3;
}

@keyframes blinkMonth {
    50% { outline: solid transparent 3px; }
}

.oplata-mobile .woocommerce, .oplata-desktop .woocommerce {
    /*display: none;*/
    height: 0;
    overflow: hidden;
}

.oplata-desktop .content-button {
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.oplata-desktop .button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    font-weight: 700;
    border: 1px solid;
    color: #000;
    border-radius: 24px;
    height: 34px;
    padding: 0 15px;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-shadow: none;
}
.oplata-desktop .button:hover {
    color: #000;
}
.oplata-desktop .button--square {
    border-radius: 10px;
}
.oplata-desktop .button--yellow {
    background-image: linear-gradient(to top, #f1d5a4 0%, #fde7b2 50%) !important;
    border-color: #f1bf6a;
}
.oplata-desktop .button--green {
    background-image: linear-gradient(to top, #9cd29c 0%, #b9e5b2 50%) !important;
    border-color: #86c886;
}
.oplata-desktop .button--blue {
    background-image: linear-gradient(to top, #adcbef 0%, #cbe2fd 50%) !important;
    border-color: #8cb9ed;
}
.oplata-desktop .button-transparent {
    font-size: 14px;
    font-weight: 400;
    border-radius: 24px;
    color: #c9c9c9;
    box-shadow: 0 0 5px rgba(0,0,0,.15);
    padding: 0 10px;
}
.oplata-desktop.button-transparent:hover {
    color: #c9c9c9;
}

/*** more courses ***/
.more-courses .course-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-shadow: 0 0 5px #e2e2e2;
    background: #fff;
    border-radius: 10px;
    padding: 4px 6px;
}
.more-courses .course-list-item img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
    border: 1px solid #ede9e9;
    border-radius: 4px;
    margin: 0;
}
.more-courses .course-list-btn {
    margin-left: auto;
}
.course-list-action {
    display: flex;
    gap: 8px;
    cursor: pointer;
    align-items: center;
    text-decoration: none;
}

.more-courses .course-list-action:hover .course-list-item-text {
    text-decoration: underline;
}
.more-courses .cart-add-course {
    margin-bottom: 20px;
}
.more-courses .course-list-body {
    display: grid;
    gap: 10px;
    margin-bottom: 10px;
    position: relative;
}
.more-courses .course-list-body-collapsed {
    max-height: 160px;
    overflow: hidden;
}
.more-courses .course-list-body.invisible:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 24px;
    background-image: linear-gradient(to bottom, transparent 0, #fffef2 80%);
}
.more-courses .button-cart-add {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 38px;
    width: 38px;
    box-sizing: border-box;
    border-radius: 10px;
    border-width: 1px;
    border-style: solid
}
.more-courses .course-list-body .icon-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 38px;
    box-sizing: border-box;
    width: 20px;
}
.more-courses .button-border {
    font-family: "HelveticaNeueCyr", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    background: transparent;
    cursor: pointer;
    font-weight: 700;
    height: 28px;
    color: #878787;
    border: 0;
    letter-spacing: 0.5px;
}

/*** more courses ***/
.course-list-action {
    display: flex;
    gap: 8px;
    cursor: pointer;
    align-items: center;
    font-size: 15px;
    color: black;

}
.course-list-action .course-list-item-text {
    text-decoration: none;
}

.course-list-action:hover .course-list-item-text {
    text-decoration: underline;
}

.paymonth-error {
    margin-left: 5px;
}

/* new design and payment form */
.PaymentWrapper .formWrapper {
    width: 75% !important;
}

.PaymentWrapper .textAreaWrapper input, .PaymentWrapper .textAreaWrapper textarea {
    width: 95% !important;
}

.timetable-popup-attendance {
    flex-basis: 100%;
}

.course-view-item img {
    object-fit: none !important;
    object-position: top !important;
}

#prereg_thankyou {
    margin: 80px;
    font-size: 20px;
    font-weight: bold;
}

/* Payment Options */
.PaymentWrapper .formWrapper {
    position: relative;
}
.PaymentWrapper .submitWrapper .button {
    padding: 0;
    display: inline-block;
    background: #878787 url(img/button.png) repeat-x bottom;
    border: none;
    color: #fff;
    cursor: pointer;
    font-weight: bold !important;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    text-shadow: 1px 1px #666;
    height: 28px;
}
.PaymentWrapper .submitWrapper .button:hover {
    background-position: 0 center;
}
.PaymentWrapper .submitWrapper .button:active {
    background-position: 0 top;
    position: relative;
    top: 1px;
    /*padding: 6px 10px 4px;*/
}
.PaymentWrapper .submitWrapper .button.green { background-color: #4dbe4d; /*#58aa00;*/ }
.PaymentWrapper .textAreaWrapper input, .PaymentWrapper .textAreaWrapper textarea {
    width: 220px;
    font: 15px "lucida grande", tahoma, verdana, arial, sans-serif;
    border: 1px solid #9daccc;
    padding: 3px 5px 4px 5px;
    margin: 2px 0;
}

.PaymentWrapper label.error {
    vertical-align: top;
    color: #878787;
}
.PaymentWrapper .textAreaWrapper {
    margin-bottom: 15px;
}

.PaymentWrapper .textAreaWrapper textarea {
    vertical-align: top;
}

/*.PaymentWrapper #SumReadOnly + label.error, .PaymentWrapper #SumReadOnly + span.required {*/
/*position: relative;*/
/*top: -71px;*/
/*}*/

.PaymentWrapper .submitWrapper input {
    font-size: 17px;
    font-weight: normal;
    width: 220px;
    margin-top: 10px;
}

.PaymentWrapper #SumReadOnly {
    background: #fcfbe8;
    /*border: 1px solid #4dbe4d;*/
    font-weight: bold;
}

.PaymentWrapper .labelWrapper {
    color: #878787;
    font-weight: bold;
    margin-bottom: 5px;
}

.PaymentWrapper .radioWrapper {
    margin-top: 2px;
}

.PaymentWrapper .radioWrapper input, .PaymentWrapper .radioWrapper label {
    cursor: pointer;
    padding-left: 4px;
}

.PaymentWrapper .radioGroupWrapper {
    margin-bottom: 10px;
}

.PaymentWrapper .description {
    margin-bottom: 15px;
    color: gray;
    font-size: 13px;
}

.PaymentWrapper .description ul {
    margin-bottom: 0px;
}

.PaymentWrapper .formWrapper {
    float: left;
}

.PaymentWrapper .paymentTypesWrapperContainer {
    position: relative;
}

.PaymentWrapper .paymentTypesWrapper {
    position: absolute;
    right: 0;
}

.PaymentWrapper .paymentTypesWrapper img {
    border: none;
}

.PaymentWrapper .paymentTypesWrapper img {
    margin-bottom: 5px;
    display: block;
}

.PaymentWrapper .seminarDetails, .PaymentWrapper .groupDetails {
    font-size: 15px;
}

.PaymentWrapper .seminarDetails h2, .PaymentWrapper .groupDetails h2 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
    color: black;
    line-height: 22px;
    background: url(/Frontend/Images2/BlueBackground4.png);
    padding: 8px 5px;
}

.PaymentWrapper .pricesWrapper {
    padding-left: 0;
    width: 100%;
    float: none;
}

.PaymentWrapper .mainPriceWrapper, .PaymentWrapper .additionalDisciplinesWrapper {
    float: left;
    width: 50%;
}

.PaymentWrapper .costWrapper {
    border-bottom: 1px solid gray;
    margin-bottom: 15px;
}
.PaymentWrapper #SumReadOnly + label.error, .PaymentWrapper #SumReadOnly + span.required {
    position: relative;
    top: 0;
}
.PaymentWrapper .textAreaWrapper input.highlight-error-border,
.PaymentWrapper .textAreaWrapper textarea.highlight-error-border {
    border-right: 3px solid crimson;
}

input[type='checkbox'].highlight-error-border {
    animation: fadeoutBorder 3s ease-in;
}

.PaymentWrapper .checkboxWrapper label.error.highlight-error {
    color: #d2464a;
    animation: none;
}

.PaymentWrapper .checkboxWrapper label,
.PaymentWrapper .checkboxWrapper input {
    cursor: pointer;
}

.checkboxWrapper span.required {
    color: #d2464a;
    vertical-align: top;
}

.PaymentWrapper div.checkbox {
    display: flex;
}
@keyframes fadeoutBg {
    0% { color: #d2464a;} /** from color **/
    100% { color: #878787;} /** to color **/
}

@keyframes fadeoutBorder {
    0% { outline: 2px solid #d2464a;} /** from color **/
    100% { outline: 2px solid transparent;} /** to color **/
}

.PaymentWrapper input[type='checkbox'] {
    margin-right: 5px;
}

.PaymentWrapper .textAreaWrapper input:focus,
.PaymentWrapper .textAreaWrapper textarea:focus {
    outline: none;
    border-top: 1px solid black;
    border-left: 1px solid black;
    border-bottom: 1px solid black;
}
#daode-checkout .PaymentWrapper .paymentTypesWrapper {
    top: 192px;
}

.PaymentWrapper .seminarDetails, .PaymentWrapper .groupDetails {
    font-size: 16px;
}
.PaymentWrapper .formWrapper {
    padding-top: 10px;
    float: none;
}
.PaymentWrapper .paymentTypesWrapper {
    position: relative;
    display: flex;
    gap: 4px;
    margin-top: 35px;
}
.PaymentWrapper .textAreaWrapper input,
.PaymentWrapper .textAreaWrapper textarea {
    border-radius: 4px;
    min-height: 32px;
    width: 95%;
    box-sizing: border-box;
}
.PaymentWrapper .textAreaWrapper select, .payMonthContainer .ms-options-wrap {
    width: 95%;
}
.payMonthContainer .ms-options-wrap > .ms-options > ul label {
    padding-left: 32px;
}
.PaymentWrapper .payMonthContainer .ms-options-wrap input[type='checkbox'] {
    min-height: unset;
}
.PaymentWrapper .textAreaWrapper {
    margin-bottom: 8px;
}
.PaymentWrapper .labelWrapper {
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1.3;
    color: #000;
}
