/* ######################### START ######################### */
.pm-care-init {
    text-align: center;
}

.pm-care-init .title {
    font-size: 45px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 60px;
}

.pm-care-init .description {
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    margin: 20px 0;
}

.pm-care-init .care-button {
    margin: 20px 0;
}

/* ######################### WINDOW ######################### */
.hide-overflow {
    overflow: hidden;
}

.pm-care-window {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: none;
    overflow: auto;
}

.pm-care-controls {
    display: flex;
    justify-content: space-between;
    margin: 20px 35px;
}
.pm-care-controls a {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}
.pm-care-controls .pm-close i {
    font-size: 30px;
    margin-right: 15px;
}
.pm-care-controls .pm-close span {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    vertical-align: top;
}
/*.pm-care-controls .pm-close span:before {
   content: "";
   background: url('../img/back-arrow.png') center no-repeat;
   width: 29px;
   height: 23px;
   display: inline-block;
   margin-right: 15px;
   }
 */
/*
   .pm-care-controls .pm-option-help-button span:after {
   content: "";
   background: url('../img/definition-icon.png') top center no-repeat;
   width: 27px;
   height: 28px;
   display: inline-block;
   margin-left: 15px;
   }
 */
.pm-option-help .pm-hide-help span,
.pm-care-controls .pm-option-help-button span {
    height: 30px;
    line-height: 30px;
    display: inline-block;
    vertical-align: top;
}
.pm-option-help .pm-hide-help i,
.pm-care-controls .pm-option-help-button i {
    font-size: 30px;
    margin-left: 15px;
}
.pm-option-help .pm-hide-help a {
    display: block;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: right;
    margin: 20px 35px;
}
.pm-option-help {
    background: #fff;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    max-width: 100%;
    width: 25%;
    z-index: 999;
    box-shadow: 10px 0px 20px #000;
    display: none;
    min-width: 450px;
}

.pm-care-help-content {
    margin: 100px;
}

.pm-option-help .help-active {
    display: block;
}

.pm-option-help .help-inactive {
    display: none;
}

.pm-option-help-option{
    margin: 50px 0;
}

.pm-option-help-option-name {
    font-size: 20px;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
}

.pm-option-help-option-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
}

/* ######################### WINDOW ######################### */
.pm-care-tabs {
    display: flex;
    justify-content: space-between;
    /*    margin: 100px 180px;*/
    position: fixed;
    top: 100px;
    right: 180px;
    left: 180px;
    height: 800px;
}

.pm-care-tabs-wrapper {
    position: relative;
    background: rgba(0,0,0,.35);
    text-align: center;
    width: 360px;
    min-width: 360px;
    padding: 38px;
    display: flex;
    flex-direction: column;
}
.pm-care-tabs-wrapper nav {
    grid-area: menu;
    flex-grow: 1;
}
.pm-care-tabs-wrapper nav a {
    color: #fff;
    display: block;
    width: 63px;
    height: 63px;
    border: 7px solid #fff;
    border-radius: 38px;
    margin: auto;
    line-height: 49px;
    font-size: 31px;
    font-weight: 700;
    text-transform: uppercase;
}
.pm-care-tabs-wrapper nav .pm-care-tab-title:after {
    display: block;
    content: "";
    width: 7px;
    height: 16px;
    background: #fff;
    margin: auto;
}
.pm-care-tabs-wrapper nav .pm-care-tab-title:last-child:after {
    display: block;
    content: "";
    height: 0;
}

.pm-care-tabs-wrapper .tab-finished a {
    background: url('../img/modul-check.png') center center no-repeat;
    text-indent: -99999px;
}

.pm-care-tabs-wrapper .tab-active a {
    background: url('../img/modul-edit.png') center center no-repeat;
    text-indent: -99999px;
}

#pm-care-tab-title-result a {
    background: transparent;
    text-indent: 0;
    line-height: 56px;
    font-size: 28px;
}

.pm-care-tabs-wrapper .tab-disabled a {
    pointer-events: none;
}

.pm-care-tabs-content-wrapper {
    flex-grow: 1;
    background: #fff;
    overflow: auto;
    padding: 20px 0;
}

.pm-care-tabs-content-wrapper .tab-active {
    display: block;
}
.pm-care-tabs-content-wrapper .tab-inactive {
    display: none;
}

.pm-care-options {
    max-width: 695px;
    width: 100%;
}

.pm-care-options.invalid .select2-selection {
    border-color: #ff0000;
    background-color: rgba(255,0,0,0.25)
}

.pm-care-options.invalid .select2-selection .select2-selection__rendered {
    color: #ff0000;
}

.pm-care-text-item {
    font-weight: 700;
    font-size: 24px;
    margin: 50px 40px;
}

.pm-care-tabs-content-wrapper .pm-care-question {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}
/* .pm-care-tabs-content-wrapper .pm-care-question .pm-care-description { display: none; }
.pm-care-tabs-content-wrapper .pm-care-question .pm-care-description:after { content: "?"; }
 */

.pm-care-question .select2-selection {
    height: 67px;
    border-radius: 0;
    border-color: rgba(0,0,0,0.1);
    padding: 0 30px;
}

.pm-care-question.select2-selection__rendered {
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
}

.pm-care-question .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 65px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
}

.pm-care-question .select2-container--default .select2-selection--single {
    border: 2px solid rgba(0,0,0,0.1);
}

/*
   .pm-care-question .select2-container--default .select2-selection--single .select2-selection__arrow {
   height: 100%;
   background: url('../img/field-arrow.png') center 26px no-repeat;
   margin-right: 32px;
   }

   .pm-care-question .select2-container--default .select2-selection--single .select2-selection__arrow b {
   visibility: hidden;
   }
 */
.pm-care-question .select2-container--default .select2-selection--single .select2-selection__arrow {
    line-height: 67px;
    margin-right: 32px;
}

input.pm-care-input {
    margin-left: 20px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
}

.pm-care-input-number {
    text-align: center;
    border: 2px solid rgba(0,0,0,0.1);
}

.pm-care-calc-value {
    display: flex;
}

.care-button {
    display: inline-block;
    margin: 10px 12px 10px 0;
}

.care-button a {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: block;
    padding: 28px 38px;
    text-transform: uppercase;
}

/*
   .care-button.continue span:after,
   .care-start span:after {
   content: "";
   background: url('../img/button-next-icon.png') top center no-repeat;
   width: 13px;
   height: 12px;
   display: inline-block;
   margin-left: 15px;
   }
 */
.care-button.continue i,
.care-start i {
    vertical-align: middle;
    margin-left: 15px;
}

/*
   .care-button.back span:before {
   content: "";
   background: url('../img/button-back-icon.png') top center no-repeat;
   width: 13px;
   height: 12px;
   display: inline-block;
   margin-right: 15px;
   }
 */
.care-button.back i {
    vertical-align: middle;
    margin-right: 15px;
}

.care-button.reset i {
    vertical-align: middle;
    margin-left: 15px;
}

.pm-care-nav-buttons {
    display: flex;
    justify-content: flex-end;
    margin-left: 10px;
}

.pm-care-nav-buttons .care-button {
    text-align: center;
    flex-basis: 175px;
    flex-grow: 0;
    flex-shrink: 1;
}

.pm-care-nav-buttons .care-button a {
    padding-left: 0;
    padding-right: 0;
}

.pm-care-tab-content h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 60px;
    text-transform: uppercase;
    text-align: center;
}

.pm-care-tab-content .description {
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    margin: 50px;
}

.pm-care-number {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 20px;
    display: inline-block;
}
.pm-care-question-content {
    flex-grow: 1;
    margin-right: 100px;
    margin-left: 40px;
    position: relative;
}
.pm-care-question .pm-care-title {
    font-size: 20px;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    padding: 20px 0;
}

.pm-care-question .pm-care-description-icon {
    /*    background: #bfbfbf url('../img/info-circle_non-active.png') center center no-repeat;*/
    color: #bfbfbf;
    font-size: 43px;
    width: 43px;
    height: 43px;
    border-radius: 22px;
    display: inline-block;
    cursor: pointer;
    position: absolute;
    right: -50px;
}

.pm-care-question .pm-care-description-icon .pm-care-icon-help_active {
    display: none;
}

.pm-care-question .pm-care-description-icon.active {
    /*    background: url('../img/info-circle_active.png') center center no-repeat;*/
}

.pm-care-question .pm-care-description-icon.active .pm-care-icon-help_non-active {
    display: none;
}

.pm-care-question .pm-care-description-icon.active .pm-care-icon-help_active {
    display: block;
}

.pm-care-question .pm-care-description {
    display: none;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
}

/* ######################### PDF ######################### */
.pm-care-pdf {
    color: #fff;
    text-align: left;
    grid-area: text;
    display: flex;
    flex-direction: column;
    margin: 10px 0;
    flex-grow: 0;
}

.pm-care-pdf-title {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    min-width: 80px;
    line-height: 22px;
}
.pm-care-pdf-content {
    font-size: 14px;
    line-height: 22px;
}

.pm-care-pdf-button {
    grid-area: button;
    flex-grow: 0;
}
.pm-care-pdf-button a {
    width: 100%;
    display: block;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
    line-height: 69px;
    text-align: center;
    pointer-events: none;
    opacity: .35;
}

.pm-care-pdf-button.active a {
    pointer-events: auto;
    opacity: 1;
    color: #fff;
}

/* ######################### RESULT ######################### */

#pm-care-tab-content-result {
    margin: 0 86px;
}
.pm-show-care-level-text {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 60px;
}

.pm-show-care-level-result {
    border: 2px solid #000;
    margin-left: 49px;
    display: inline-block;
    padding: 30px 34px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 15px;
}

.pm-care-table {
    width: 100%;
    display: grid;
    border: 1px solid #e5e5e5;
    grid-template-columns: minmax(180px, 2fr) minmax(120px, 1fr) 6fr;
}

.pm-care-table div {
    border: 1px solid #e5e5e5;
}

.pm-care-table .pm-care-table-head {
    color: #ccc;
    text-align: center;
    line-height: 30px;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
}

.pm-care-table .pm-care-table-content {
    text-align: center;
    line-height: 30px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.pm-care-detail-points {
    display: flex;
    flex-wrap: wrap;
}

.pm-care-module-results {
    border: 2px solid #e5e5e5;
    margin-right: -2px;
    flex-grow: 1;
    min-width: 140px;
    text-align: center;
}

.pm-care-module-results:last-child {
    margin: 0;
}

.pm-care-module-results-title {
    border-bottom: 2px solid #e5e5e5;
    line-height: 30px;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
}

.pm-care-module-results-points {
    line-height: 70px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.pm-show-total-points {
    line-height: 70px;
}

.pm-care-module-results-points .note {
    display: none;
}
.pm-care-module-result-2 .pm-care-module-results-points .note,
.pm-care-module-result-3 .pm-care-module-results-points .note {
    display: inline;
    padding-left: 2px;
}

.pm-care-module-result-note {
    font-size: 16px;
    margin: 19px 0 57px;
}

.pm-care-module-care-level-note {
    font-size: 16px;
    margin: 19px 0 0;
}

.pm-care-result-note {
    font-size: 18px;
    margin: 60px 0 20px;
}

/* ######################### TABLET ######################### */

@media (max-width: 1200px) , (max-height: 900px)
{
    .pm-care-tabs {
        flex-direction: column;
        position: absolute;
    }

    .pm-care-tabs-wrapper {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .pm-care-tabs nav {
        display: flex;
    }

    .pm-care-tab-title {
        font-size: 0px;
        flex-grow: 1;
    }

    .pm-care-tab-title:last-child {
        flex-grow: 0;
    }

    .pm-care-pdf {
        position: relative;
        flex-direction: row;
    }

    .pm-care-pdf-button {
        margin-left: 20px;
    }

    .pm-care-tabs-wrapper {
        display: grid;
        grid-template-areas: 'menu menu button'
        'text text button';
    }

    .pm-care-tabs-wrapper nav a {
        width: 63px;
        height: 63px;
        line-height: 49px;
    }

    .pm-care-tabs-wrapper nav .pm-care-tab-title a {
        display: inline-block;
    }

    .pm-care-tabs-wrapper nav .pm-care-tab-title:after {
        display: inline-block;
        width: calc(100% - 63px);
        height: 7px;
        vertical-align: 7px;
    }

    .pm-care-tabs-content-wrapper {
        overflow: visible;
    }

    .pm-care-pdf-content {
        margin: 0 20px;
    }

    .pm-care-pdf-button a {
        display: flex;
        flex-direction: column-reverse;
        min-width: 100%;
        line-height: 28px;
        height: 100%;
        justify-content: center;
        padding: 0 20px;
    }
}

@media (max-width: 1200px) {
    .pm-care-tabs {
        left: 50px;
        right: 50px;
    }
}
/* ######################### SMARTPHONE ######################### */
@media (max-width: 768px) {
    .pm-care-controls {
        margin: 20px 10px;
    }

    .pm-care-controls .pm-close span,
    .pm-option-help .pm-hide-help span,
    .pm-care-controls .pm-option-help-button span {
        height: auto;
    }

    .pm-care-tabs {
        margin: 12px;
        position: absolute;
        left: 0;
        right: 0;
        top: unset;
    }

    .pm-close a {
        display: flex;
    }

    .pm-option-help-button {
        max-width: 50%;
        padding-left: 20px;
    }

    .pm-option-help-button a {
        display: flex;
    }

    .pm-care-tabs-wrapper {
        display: grid;
        grid-template-areas: 'menu menu menu'
        'button button button'
        'text text text';
        padding: 20px 10px;
        min-width: 0;
    }

    .pm-care-tabs-wrapper nav a {
        width: 39px;
        height: 39px;
        border-width: 4px;
        line-height: 31px;
        font-size: 18px;
    }

    .pm-care-tabs-wrapper nav .pm-care-tab-title:after {
        display: inline-block;
        width: calc(100% - 39px);
        height: 4px;
        vertical-align: 4px;
    }

    .pm-care-tab-content h2 {
        line-height: 40px;
    }

    .pm-care-question-title {
        flex-basis: 100%;
    }

    .pm-care-question-content {
        position: unset;
    }

    .pm-care-tabs-content-wrapper .pm-care-question {
        flex-wrap: wrap;
        position: relative;
        margin-bottom: 125px;
    }

    .pm-care-question .pm-care-description-icon {
        right: 10px;
        top: 5px;
    }

    .pm-care-options {
        position: absolute;
        left: 10px;
        right: 10px;
        bottom: -80px;
        width: calc(100vw - 60px);
    }

    .pm-care-pdf-button {
        margin: 20px 0 10px;
    }

    .pm-care-pdf-button a {
        display: block;
        padding: 0;
        line-height: 41px;
    }

    #pm-care-tab-content-result {
        margin: 0 15px;
    }

    #pm-care-tab-title-result a {
        font-size: 18px;
        line-height: 36px;
    }

    .pm-care-table {
        display: grid;
        border-width: 1px 2px;
        grid-template-columns: 1fr;
    }

    .pm-care-table div {
        border: 0;
    }

    .pm-care-table .pm-care-table-head {
        display: none;
    }

    .pm-care-table .pm-care-table-content {
        text-align: left;
        padding: 15px 20px;
        line-height: 15px;
        border-bottom: 1px solid #e5e5e5;
    }

    .pm-care-table .pm-care-level-points{
        border-top: 3px solid #e5e5e5;
    }

    .pm-care-table .pm-care-table-content:before {
        content: attr(data-key);
        color: #ccc;
        display: block;
        font-style: bold;
        text-align: left;
        font-size: 12px;
        line-height: 15px;
        padding-bottom: 10px;
    }

    .pm-care-tabs-content-wrapper .pm-care-question.pm-care-question-numeric {
        margin-bottom: 200px;
    }

    .pm-care-question-numeric .pm-care-options {
        bottom: -155px;
    }

    .pm-care-question-numeric .pm-care-calc-value {
        flex-direction: column;
    }

    .pm-care-question-numeric .pm-care-calc-value .pm-care-input {
        margin-top: 10px;
        line-height: 65px;
    }
}
