/* https://www.affordable-papers.net/wp-content/themes/affordablepapers/css/calculator.css?v=1663335824 */
body{
    overflow-x: hidden;
}
.calculate-box {
    overflow: visible !important;
}
#menu-main-menu{
    margin-bottom: 0;
}
a.anchor-order:hover, a.anchor-order:focus {
    text-decoration: none;
}
main a:hover, main a:focus {
    color: #0B5C7B;
}
h1, .h1, h2, .h2, h3, .h3, .calc-col-heading h3 {
    margin-top: 0;
}
.calc-col-form .calculator .select2-container--default .select2-selection--single{
    height: 50px;
    background: #FFFFFF;
    border: 1px solid #E5E5E5 !important;
    box-sizing: border-box;
    border-radius: 5px;
}
.calc-col-form .calculator .select2-container .select2-selection--single .select2-selection__rendered{
    color: #333333 !important;
    line-height: 50px !important;
    font-family: 'Muli', sans-serif;
    height: 100%;
    font-style: normal;
    font-weight: normal !important;
    padding-left: 15px !important;
    padding-right: 40px !important;
    font-size: 14px;
}
.calc-col-form .calculator .select2-container--default .select2-selection--single .select2-selection__arrow b{
    left: -4px;
}
.calc-col-form .calculator h4{
    font-style: normal;
    font-weight: normal;
    font-size: 34px;
    line-height: 43px;
    color: #282828;
    margin: 0 0 22px 0;
}
.calc-col-form .calculator label {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    color: #333;
    margin: 0;
}
.calc-col-form .calculator .price-counter {
    text-transform: none;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 18px;
    color: #4C4C4C;
    display: flex;
    align-items: flex-end;
}
.calc-col-form .calculator .price-counter #calprice_div{
    font-style: normal;
    font-weight: bold;
    font-size: 32px;
    line-height: 40px;
    color: #333333;
    margin: 0 0 0 7px;
}
.calc-col-form .calculator .type_of_paper-select-perent,
.calc-col-form .calculator .ac_lvl_sel,
.calc-col-form .calculator #_job_title_or_industry,
.calc-col-form .calculator #_type_of_institution,
.calc-col-form .calculator .form-margin{
    margin-bottom: 24px !important;
}
.calc-col-form .calculator [name="job_title_or_industry"]{
    height: 50px;
    color: #333333 !important;
    line-height: 50px !important;
    font-family: 'Muli', sans-serif;
    font-style: normal;
    font-weight: normal !important;
    padding-left: 15px !important;
    padding-right: 40px !important;
    font-size: 14px;
}
.calc-col-form .calculator .next-step a{
    padding: 12px 15px;
    border-radius: 3px;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 15px;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    width: 186px;
    max-width: 100%;
    border: 1px solid #fff;
}
.calc-col-form .calculator .next-step a:hover,
calc-col-form .calculator .next-step a:focus{
    background: #fff;
    color: #036155;
    border-color: #036155;
}
.calc-col-form .calculator [data-pages="words"]{
    display: none;
}
.calc-col-form .calculator .increase-button {
    border-radius: 5px 0px 0px 5px;
    line-height: 34px;
    background: #fff;
    border-right: none;
}
.calc-col-form .calculator .decrease-button {
    border-radius: 0px 5px 5px 0px;
    line-height: 34px;
    background: #fff;
    border-left: none;
}
.calc-col-form .calculator .decrease-button:hover, .calc-col-form .calculator .increase-button:hover{
    border-color: #e2e2e2;
}
.calc-col-form .calculator input[type="number"] {
    max-width: calc(100% - 64px);
}
.calc-col-form .calculator .pages_block{
    display: flex;
    width: 139px;
}
.calc-col-form .calculator #pages-number{
    text-align: center;
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    border-right: none !important;
    border-left: none !important;
}
.datetimepicker-row{
    display: flex;
    justify-content: space-between;
    margin: 0 0 24px 0;
}
.datetimepicker-row .datetimepicker_wrap{
    width: 100%;
    margin: 0 0 0 27px;
}
@media(max-width: 400px){
    .calc-col-form .calculator .next-step a{
        width: 150px;
    }

    .calc-col-form .calculator .price-counter #calprice_div{
        margin-left: 0;
    }
}
/* datetimepicker */
main .calc-col-form .bootstrap-datetimepicker-widget table td,
main .calc-col-form .bootstrap-datetimepicker-widget table th {
    background: transparent;
}
.datepricker-new-addon .input-group-addon{
    background: #0B5C7B url(/wp-content/themes/affordablepapers/css/../images/datetimepicker.svg) 50% 50% no-repeat;
    z-index: 10;
    width: 48px;
    height: 50px;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 0px 5px 5px 0px;
}
.datepricker-new-addon .input-group {
    position: relative;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}
.datepricker-new-addon #datetimepicker{
    cursor: pointer !important;
    background: #fff !important;
    box-shadow: none;
    -webkit-appearance: none;
    width: 100%;
    border-radius: 5px !important;
    overflow: hidden;
    position: relative;
}
.bootstrap-datetimepicker-widget{
    position: absolute !important;
    background: #fff;
    border: 1px solid #EFEFEF;
    box-sizing: border-box;
    box-shadow: 0px 10px 45px rgba(51, 51, 51, 0.1);
    border-radius: 4px;
}
.bootstrap-datetimepicker-widget table th.picker-switch {
    font-size: 14px !important;
}
.bootstrap-datetimepicker-widget.dropdown-menu {
    font-size: 14px !important;
    width: 320px !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #333333;
    font-weight: 700 !important;
}
.bootstrap-datetimepicker-widget.dropdown-menu.bottom {
    top: 50px !important;
}
.bootstrap-datetimepicker-widget.dropdown-menu.top {
    bottom: 50px !important;
}
.bootstrap-datetimepicker-widget table th {
    width: 40px !important;
}
.bootstrap-datetimepicker-widget table td.old, .bootstrap-datetimepicker-widget table td.new {
    color: #737373 !important;
}
.bootstrap-datetimepicker-widget table td.disabled, .bootstrap-datetimepicker-widget table td.disabled:hover {
    color: #E1E1E1 !important;
}
.bootstrap-datetimepicker-widget .picker-switch td span, .bootstrap-datetimepicker-widget .picker-switch td i {
    background: #0B5C7B;
    color: #fff;
    margin: 0 !important;
}
.bootstrap-datetimepicker-widget table td span:hover, .bootstrap-datetimepicker-widget table td i:hover{
    background: #0B5C7B !important;
}
.bootstrap-datetimepicker-widget table td span:hover, .bootstrap-datetimepicker-widget table td i:hover {
    color: #fff;
}
.bootstrap-datetimepicker-widget table td.today{
    background: #DBDBDB !important;
    border-radius: 50%;
}
.bootstrap-datetimepicker-widget table td.today:hover{
    color: #333333;
}
.bootstrap-datetimepicker-widget table td.today:before,
.bootstrap-datetimepicker-widget.dropdown-menu::before,
.bootstrap-datetimepicker-widget.dropdown-menu::after{
    display: none !important;
}
.bootstrap-datetimepicker-widget table td.active, .bootstrap-datetimepicker-widget table td.active:hover {
    color: #fff !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background: #0B5C7B !important;
    border-radius: 50%;
}
.bootstrap-datetimepicker-widget table td.day:hover,
.bootstrap-datetimepicker-widget table td.hour:hover,
.bootstrap-datetimepicker-widget table td.minute:hover,
.bootstrap-datetimepicker-widget table td.second:hover {
    border-radius: 50%;
}
.bootstrap-datetimepicker-widget table td.day{
    height: 31px !important;
}
.deadline-button {
    font-size: 11px !important;
    line-height: 11px;
    background: #FFFFFF !important;
    border: 1px solid #E6E6EF !important;
    border-radius: 5px !important;
    padding: 0px 5px !important;
    height: 30px !important;
    color: #4C4C4C !important;
    font-weight: 700 !important;
    margin: 0 1px;
}
.bootstrap-datetimepicker-widget .datepicker-days .table-condensed{
    overflow: hidden;
    border-collapse: separate !important;
    border-spacing: 0 3px;
}
.bootstrap-datetimepicker-widget .datepicker-days {
    padding: 10px 20px 0;
}
.btn-deadline-picker{
    margin: 16px -10px 32px;
    display: flex;
    justify-content: center;
}
.deadline-button.deadline-btn-active{
    background: #F1F1F1 !important;
    border: 1px solid #DBDBDB !important;
}
.bootstrap-datetimepicker-widget .backgroud_period_deadline{
    background: #F1F1F1 !important;
    border-radius: 0 !important;
    position: relative;
}
.bootstrap-datetimepicker-widget .backgroud_period_deadline:before, .bootstrap-datetimepicker-widget .backgroud_period_deadline:after{
    content: '';
    background: #F1F1F1;
    height: 31px;
    width: 20px;
    display: block;
    position: absolute;
    left: -20px;
    top: 0;
    z-index: -1;
}
.bootstrap-datetimepicker-widget .backgroud_period_deadline:after{
    left: auto;
    right: -20px;
}
.bootstrap-datetimepicker-widget .timepicker-picker a {
    color: #333;
}
.bootstrap-datetimepicker-widget .table-condensed .btn-primary{
    border: none;
    background: #0B5C7B;
    border-radius: 50%;
    font-size: 14px;
    width: 38px;
    height: 38px;
    text-align: center;
    line-height: 1;
    color: #fff;
}
.bootstrap-datetimepicker-widget .table-condensed tr td:last-child.backgroud_period_deadline{
    border-top-right-radius: 50px !important;
    border-bottom-right-radius: 50px !important;
}
.bootstrap-datetimepicker-widget .table-condensed tr td:first-child.backgroud_period_deadline{
    border-top-left-radius: 50px !important;
    border-bottom-left-radius: 50px !important;
}
.bootstrap-datetimepicker-widget .fa-clock-o:after, .bootstrap-datetimepicker-widget .fa-calendar:after {
    content: "Choose Time";
    font-size: 14px;
    margin-left: 8px;
    font-family: "Roboto-Regular","Helvetica Neue",Helvetica,Arial,sans-serif;
}
.bootstrap-datetimepicker-widget .fa-calendar:after {
    content: "Choose Date";
}
.bootstrap-datetimepicker-widget .timepicker-hour, .bootstrap-datetimepicker-widget .timepicker-minute, .bootstrap-datetimepicker-widget .timepicker-second {
    font-weight: 600 !important;
    font-size: 32px !important;
    line-height: unset !important;
}
.datepricker-new-addon .bootstrap-datetimepicker-widget .separator {
    font-size: 32px !important;
    vertical-align: unset !important;
    position: relative;
    top: -2px;
    width: 10px;
    width: 10px !important;
    padding-top: 5px !important;
}
.bootstrap-datetimepicker-widget .period-animate{
    display: none;
}
.bootstrap-datetimepicker-widget .timepicker-picker table td{
    vertical-align: top;
}
.bootstrap-datetimepicker-widget .table-condensed .btn-primary[data-action="togglePeriod"].disabled {
    background: #DBDBDB;
    border-color: #DBDBDB;
    color: #737373;
}
.datepricker-new-addon .bootstrap-datetimepicker-widget .datepicker-days{
    padding: 10px 47px 0;
}
.time-left {
    border-radius: 0 !important;
    background: #FAFAFA !important;
    font-size: 14px !important;
    color: #737373;
    padding: 5px;
}
.datepricker-new-addon .btn-deadline-picker {
    flex-wrap: wrap;
    margin: 6px -40px 20px;
}
.datepricker-new-addon .deadline-button {
    margin-top: 8px;
    width: unset;
    max-width: 70px;
    flex: 0 0 70px;
}
.datepricker-new-addon .datetimepicker-confirm {
    background: #036155;
    display: block;
    text-transform: uppercase;
    color: #FFFFFF !important;
    font-size: 16px;
    padding: 7px 0;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}
.datepricker-new-addon .bootstrap-datetimepicker-widget .picker-switch td span,
.datepricker-new-addon .bootstrap-datetimepicker-widget .picker-switch td i {
    background: #0B5C7B;
    color: #fff;
    border-radius: 0;
    height: 40px !important;
    padding-top: 2px;
}
.datepricker-new-addon .bootstrap-datetimepicker-widget .picker-switch td span:hover,
.datepricker-new-addon .bootstrap-datetimepicker-widget .picker-switch td i:hover {
    background: #0B5C7B;
}
.timepicker .time-left{
    height: 30px;
    line-height: unset;
}
.bootstrap-datetimepicker-widget .picker-switch{
    margin: 0;
}

.calc-col-form label {
    display: block;
    font-weight: normal;
}
/* end datetimepicker */

/* new datetimepicker */
.bootstrap-datetimepicker-widget .picker-switch td span, .bootstrap-datetimepicker-widget .picker-switch td i {
    background: #0B5C7B !important;
}
.datepricker-new-addon .bootstrap-datetimepicker-widget table td span:hover,
.datepricker-new-addon .bootstrap-datetimepicker-widget table td i:hover{
    background: #0B5C7B !important;
}
.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover,
.datepricker-new-addon .bootstrap-datetimepicker-widget table td.active,
.datepricker-new-addon .bootstrap-datetimepicker-widget table td.active:hover{
    background: #0B5C7B !important;
}
.datepricker-new-addon .bootstrap-datetimepicker-widget .table-condensed .btn-primary,
.datepricker-new-addon .bootstrap-datetimepicker-widget .table-condensed .btn-primary:active{
    border-color: #0B5C7B !important;
    background: #0B5C7B !important;
}
.datepricker-new-addon .datetimepicker-confirm {
    background: #036155 !important;
}
.datepricker-new-addon .bootstrap-datetimepicker-widget .picker-switch td span,
.datepricker-new-addon .bootstrap-datetimepicker-widget .picker-switch td i {
    background: #0B5C7B !important;
}
.datepricker-new-addon .bootstrap-datetimepicker-widget .picker-switch td span:hover,
.datepricker-new-addon .bootstrap-datetimepicker-widget .picker-switch td i:hover {
    background: #fff !important;
    color: #0B5C7B;
    border: 1px solid #0B5C7B;
}
.datepricker-form-group{
    background: #fff;
    border-radius: 5px;
}
.calc-col-form .datepricker-new-addon #datetimepicker {
    padding: 6px 48px 6px 15px !important;
    height: 50px;
    background: transparent !important;
    position: relative;
    z-index: 99;
    font-size: 12px;
    font-weight: 700;
}
.calc-col-form .select2-container{
    max-width: 100%;
    width: 100% !important;
}
@media(max-width: 1024px){
    .bootstrap-datetimepicker-widget .backgroud_period_deadline:before,
    .bootstrap-datetimepicker-widget .backgroud_period_deadline:after {
        height: 31px !important;
    }
}
@media screen and (max-width: 500px){
    main .bootstrap-datetimepicker-widget th,
    main .bootstrap-datetimepicker-widget td {
        display: table-cell;
    }
}
@media(max-width: 470px){
    .datetimepicker-row{
        flex-direction: column;
    }
    .datetimepicker-col{
        margin: 0 0 20px 0;
    }
    .calc-col-form .calculator .pages_block {
        width: 100%;
    }
    .datetimepicker-row .datetimepicker_wrap{
        margin: 0;
    }
    .calc-col-form .calculator input[type="number"] {
        width: calc(100% - 64px) !important;
    }
}

.fa-clock-o:before {
    content: "\f017";
}
.timepicker .time-left{
    height: 30px;
    line-height: unset;
    font-weight: 500;
}
.bootstrap-datetimepicker-widget table td.day {
    padding: 5px 0;
    height: 34px;
}
.time-left {
    position: relative;
    border-radius: 0 !important;
    background: #FAFAFA !important;
    font-size: 14px !important;
    color: #737373;
}
.datepicker-days{
    position: relative;
    z-index: 33232;
}
.datepicker-days:before {
    content: "";
    position: absolute;
    left: 0;
    top: 46px;
    right: 0;
    height: 30px;
    background: #FAFAFA;
    z-index: 0;
}
.bootstrap-datetimepicker-widget .prev .fa, .bootstrap-datetimepicker-widget .next .fa{
    display: none
}
.bootstrap-datetimepicker-widget .prev{
    background: url(/wp-content/themes/affordablepapers/css/../images/date-arrow.svg) no-repeat 50% 50% !important;
}
.bootstrap-datetimepicker-widget .next{
    background: url(/wp-content/themes/affordablepapers/css/../images/date-arrow.svg) no-repeat 50% 50% !important;
    transform: rotate(-180deg);
}
.bootstrap-datetimepicker-widget table thead tr:first-child th:hover{
    background: url(/wp-content/themes/affordablepapers/css/../images/date-arrow.svg) no-repeat 50% 50% !important;
}
main .calc-col-form .bootstrap-datetimepicker-widget table td, main .calc-col-form .bootstrap-datetimepicker-widget table th {
    min-width: 31px;
}
main .calc-col-form .bootstrap-datetimepicker-widget table td,
main .calc-col-form .bootstrap-datetimepicker-widget table th{
    font-size: 14px;
}
main .calc-col-form .bootstrap-datetimepicker-widget table th.dow {
    font-size: 13px;
}
/* END new datetimepicker */

.calc-label{
    display: block;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 15px;
    color: #4C4C4C;
    margin: 0 0 4px 0;
}

/*STEM*/
.tooltip-calculations-show {
    display: flex;
    /*padding-bottom: 4px;*/
}

.info-tooltip-calculation {
    display: none;
    width: 16px;
    height: 16px;
    background: url(/wp-content/themes/affordablepapers/css/../images/tooltip-icon.svg) no-repeat;
    background-size: cover;
    margin: 0 5px;
}

.calc-selected-calculations .info-tooltip-calculation {
    display: inline-block;
}
.calc-selected-calculations .subject_error_place {
    color: #df3131;
    font-size: 12px;
    line-height: 16px;
    padding-top: 8px;
}

.subject-area-error .select2-container--default .select2-selection--single,
.calc-col-form .calculator .subject-area-error .select2-selection--single{
    border-color: #df3131 !important;
}

.col-problems-count {
    display: none;
    font-size: 12px;
    line-height: 100%;
    color: #4E4E4E;
    padding-top: 6px;
    text-align: center;
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

/*-----tooltip-----*/
[data-tooltip] {
    position: relative;
    z-index: 9;
    cursor: pointer;
}

/* Hide the tooltip content by default */
[data-tooltip]:before,
[data-tooltip]:after {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Position tooltip above the element */
[data-tooltip]:before {
    position: absolute;
    bottom: 110%;
    left: 50%;
    margin-bottom: 5px;
    margin-left: -80px;
    padding: 9px 10px;
    width: 160px;
    background: rgba(53, 56, 57, 0.9);
    content: attr(data-tooltip);
    font-size: 10px;
    line-height: 15px;
    color: #FFFFFF;
    text-align: center;
    border-radius: 8px;
}

/* Triangle hack to make tooltip look like a speech bubble */
[data-tooltip]:after {
    position: absolute;
    bottom: 110%;
    left: 50%;
    margin-left: -5px;
    width: 0;
    border-top: 5px solid rgba(53, 56, 57, 0.9);
    border-top: 5px solid rgba(53, 56, 57, 0.9);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: " ";
    font-size: 0;
    line-height: 0;
}

/* Show tooltip content on hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after,
[data-tooltip]:focus:before,
[data-tooltip]:focus:after {
    visibility: visible;
    opacity: 1;
}

/*-----END tooltip-----*/

@media (max-width: 767px) {
    .calc-selected-calculations .col-problems-count {
        display: block;
    }

    .calc-selected-calculations .work-calculations-active {
        width: auto;
        max-width: calc(50% - 10px);
        flex: 0 0 50%;
    }

    .calc-selected-calculations .form-control[name="words"],
    .calc-selected-calculations .form-control[name="pages"] {
        width: calc(50% - 10px);
        margin-right: 10px;
    }

    .calc-selected-calculations #pages, .calc-selected-calculations #words {
        flex: 1;
    }

    .info-tooltip-calculation{
        display: none !important;
    }
}
/*END STEM*/

.calc-col-form .next-step{
    display: flex;
    align-items: flex-end;
}

/*first disc calc*/
.price-counter-flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.first-disc-calc,
.calc-new .first-disc-calc {
    background: url("/img/coupon-icon.svg") no-repeat right 20px center rgba(83, 187, 168, 0.2);
    box-sizing: border-box;
    padding: 21px 17px 21px 51px;
    margin-top: 30px;
}

.custom-control-label {
    font-weight: normal;
    position: relative;
    font-size: 14px;
}

.custom-control-label:before,
.custom-control-label:after {
    content: '';
    position: absolute;
    top: calc(50% - 13px);
    left: -34px;
}

.custom-control-label:before {
    background-color: #FFFFFF;
    border: 1px solid #CFCFCF;
    border-radius: 3px;
    height: 24px;
    width: 24px;
    display: inline-block;
    margin-right: 10px;
}

.custom-control-input {
    display: none;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label:after {
    background-image: url("/img/done.svg");
    background-repeat: no-repeat;
    background-position: center;
    width: 24px;
    height: 24px;
}

.custom-control-input:checked ~ .custom-control-label:before {
    color: #fff;
    border-color: #036155;
    background-color: #036155;
}

.price-sale {
    background: #0B5C7B;
    border-radius: 3px;
    font-weight: bold;
    font-size: 14px;
    line-height: 54px;
    color: #fff;
    width: 70px;
    padding: 1px 4px;
    justify-content: center;
    display: flex;
    align-items: center;
    height: 26px;
    margin: 5px;
}

.price-wrap-old {
    font-weight: 600;
    font-size: 18px;
    line-height: 19px;
    color: #9D9D9D;
    letter-spacing: 0.04em;
    text-decoration-line: line-through;
    position: relative;
    margin: 0 5px;
    padding: 0 2px;
}

@media (max-width: 767px) {
    .first-disc-calc, .calc-new .first-disc-calc {
        background-image: none;
    }

    .calc-col-form .calculator .next-step a{
        width: 100%;
    }

    .calc-col-form .next-step {
        flex: 1;
        max-width: 150px;
    }
}

/*END first disc calc*/

.calc-col-form #calc_form label{
    font-size: 12px;
}