/**
 * GENERAL STYLES
 */

body {
    background-color: #f0f9ff;
}

.bg-purple {
    background-color: #6f42c1 !important;
}

.bg-dark-gray {
    background-color: #868e96!important;
}

.overlay-dark-blue {
    box-shadow: inset 0 0 0 100em rgba(69, 126, 162, 0.68)
}

.required-asterisk {
    font-size: 7px;
    vertical-align: top;
}

.border-dark-grey {
    border-color: #717171!important;
}

.shadow-sm-dark {
    box-shadow: 5px 0px 10px rgba(0, 0, 0, 0.41);
}

.shadow-only-top {
    box-shadow: 0 -5px 5px -5px #333;
}

.shadow-only-right {
    box-shadow: -5px 0 5px -5px #333;
}

.shadow-only-bottom {
    box-shadow: 0 5px 5px -5px #333;
}

.shadow-only-left {
    box-shadow: 5px 0 5px -5px #333;
}

.show-part-of.collapse:not(.show) {
    height: 170px !important;
    overflow: hidden;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.show-part-of.collapsing {
    min-height: 170px !important;
}

.border-width-2 {
    border-width: 2px !important;
}

.border-width-3 {
    border-width: 3px !important;
}

.border-width-4 {
    border-width: 4px !important;
}

.cursor-pointer {
    cursor: pointer;
}

.btn-success, .btn-outline-success:hover {
    background-color: #00614F;
}

.btn-danger {
    background-color: #ED0034;
}

.btn-warning {
    background-color: #C9510C;
}

.bg-dark-light-blue {
    background-color: #0C7FAB !important;
}

.color-dark-light-blue {
    color: #0C7FAB !important;
}

.highContrastFocusBorderGreen:focus {
    border: 4px solid #00947a;
}

.highContrastFocusBorderBlue:focus {
    border: 4px solid #004070;
}

.blueTransBg {
    background: rgba(49, 121, 193, 0.7);
}

.text-muted {
    color: #6F7780 !important;
}

.btn-outline-success {
    color: #00614F;
}

.breadcrumb-item {
    color: #000 !important;
}

.show-pointer {
    cursor: pointer;
}

.only-edit {
    display: none;
}

/* Custom checkbox style for sales form */
.sales-form-checkbox .custom-control-label::before, .sales-form-checkbox .custom-control-label::after {
    width: 32px;
    height: 32px;
}
.sales-form-checkbox {
    padding-left: 32px;
    height: 52px;
}

.border-on-hover {
    border: 1px solid transparent;
}
.border-on-hover:hover {
    border: 1px solid #ccc;
}

.position-sticky {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 20;
}

.avatar-icon {
    width: 100%;
    max-width: 54px;
    height: 54px;
}
.avatar-icon-big {
    width: 100%;
    max-width: 90px;
    height: 90px;
}
.avatar-status-icon {
    width: 34px;
    height: 34px;
}

.eval, .eval-worker {
    display: none;
}

.bubble-shadow {
    overflow: hidden;
    position: relative;
}

.bubble-shadow:before {
    position: absolute;
    top: -10%;
    left: -140px;
    width: 300px;
    height: 300px;
    content: "";
    border-radius: 50%;
    background: rgba(255,255,255,.05);
}

.bubble-shadow:after {
    position: absolute;
    top: -65px;
    left: 80px;
    width: 150px;
    height: 150px;
    content: "";
    border-radius: 50%;
    background: rgba(255,255,255,.05);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">"
}

.btn-outline-link {
    color: #6c757d;
}
.btn-outline-link:hover {
    color: #3f6ad8;
    background: #f8f9fa;
}

.text-shadow {
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.aLangFlag {
    margin-top: 7px;
}

.langFlag {
    max-width: 25px;
}
/**
 * GENERAL STYLES STOP
 */



/**
 * NAVBAR STYLES
 */

.brand-logo {
    width: 55px;;
    max-width: 120px;
}

.btn-navbar-selected.active {
    color: #fff!important;
    border-radius: 5px;
}

.navbar-image-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/**
 * NAVBAR STYLES STOP
 */


/**
 * LOGIN PAGE
 */

@media (min-width: 768px) {
    .h-md-100 { height: 100vh; }
}
.btn-round { border-radius: 30px; }
.bg-indigo { background: indigo; }
.text-cyan { color: #35bdff; }

.bg-img-login {
    background-image: url('../img/wings.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.bg-gradient-login {
    background: linear-gradient(45deg, rgba(66, 183, 245, 0.8) 0%, rgba(66, 245, 189, 0.4) 100%);
}

#modal-login-error {
   color: #800;
}

.modal-body, .modal-close {
    font-size: 1.2rem;
}

@media (min-width: 768px) {
    .h-md-100 { height: 100vh; }
}

#large-circles {
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
}
#large-circles .circle {
  border-top: 0.1em solid rgba(255,255,255,0.4);
  height: 300px;
  position: absolute;
  width: 300px;
  border-radius: 50%;
  display: none;
  /*box-shadow: 0 1em 2em rgba(0,0,0,0.2);*/
}
#large-circles .one {
    background: rgba(122, 215, 240, 0.2);
    transform: rotateZ(122deg);
}
#large-circles .four {
    background: rgba(146, 223, 243, 0.2);
    transform: rotateZ(244deg);
}
#large-circles .seven {
    background: rgba(146, 223, 243, 0.2);
    transform: rotateZ(0deg);
}
@media (min-width: 768px) {
    #large-circles .circle {
        display: block;
    }
}
/**
 * LOGIN PAGE STOP
 */

/**
 * Progress bar
 */
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: table;
    table-layout: fixed;
    width: 100%;
    color: #f3f8fb;
    height: 4rem;
}
.steps > .step {
    text-align: left;
    position: relative;
    display: block;
    font-size: 0.775rem;
    color: #8a8a8a;
}
.steps > .step:before {
    content: attr(data-step);
    display: inline-block;
    margin: 0 auto;
    background: #ffffff;
    border: 5px solid #f3f8fb;
    color: #f3f8fb;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 20px;
    border-radius: 100%;
    position: relative;
    z-index: 1;
    font-weight: 700;
    font-size: .8rem;
}
.steps > .step:after {
    content: '';
    position: absolute;
    display: none;
    background: #f3f8fb;
    width: 70%;
    height: 4px;
    top: 14px;
    left: 65%;
}
.steps > .step:last-child:after {
    display: none;
}
.steps > .step.is-complete {
    color: #3FB618;
}
.steps > .step.is-complete:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00c";
    color: #FFFFFF;
    background: #3FB618;
    border: 5px solid #3FB618;
}
.steps > .step.is-complete:after {
    background: #3FB618;
}
.steps > .step.is-active {
    font-size: 1.3rem;
    color: #373a3c;
}
.steps > .step.is-active p {
    font-weight: bold;
    background-color: #fff;
    position: relative;
    z-index: 200;
}
.steps > .step.is-active:before {
    color: #373a3c;
    border: 5px solid #3FB618;
    background: #ffffff;
    margin-bottom: -5.9rem;
}

.slide-previous, .slide-next, #form-survey-second-submit, #form-survey-submit {
    font-size: 0.9em;
}

/*Paddingisssa ei ole inheritti�. Pti�� tehd� n�in p�in */
@media (max-width: 768px) {
    .slide-previous, .slide-next, #form-survey-second-submit, #form-survey-submit {
        padding: 2px;
    }
}

@media (min-width: 768px) {
    .steps > .step {
        display: table-cell;
    }
    .steps > .step:before {
        display: block;
        margin-bottom: -5.2rem;
    }
    .steps > .step {
        text-align: center;
    }
    .steps > .step:after {
        display: block;
    }
    .steps > .step.is-active {
        font-size: .9rem;
    }
    .slide-previous, .slide-next, #form-survey-second-submit, #form-survey-submit {
        font-size: inherit;
    }
}

#surveySlider .custom-control-label::before, #surveySlider .custom-control-label::after {
    top: 0.5rem;
}

/**
 * Progress bar STOP
 */

/**
 * Client page
 */
#caretaker-pills-tab .nav-link.active {
    color: #2780E3;
    border: 0;
    border-bottom: 2px solid #2780E3;
}

#caretaker-pills-tab .nav-link {
    color: #373a3c;
    border: 0;
    border-bottom: 2px solid transparent;
}

#caretaker-pills-tab .nav-link:hover {
    border: 0;
    color: #2780E3;
    border-bottom: 2px solid #2780E3;
}

#toggle-client-question-form-actions.collapsed:after  {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f078";
    display: block;
}

#toggle-client-question-form-actions:not(.collapsed):after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f077";
    display: block;
}

/**
 * Client page
 */


/**
*  FRONTPAGE
*
*/
#frontpage-bg {
    background: url('../img/hand_in_hand_1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

#select-report-team {
    width: 260px !important;
}

#select-report-assessments {
    width: 120px !important;
}

.notification-row {
    width: 50%;
    background-color: #0C7FAB;
    color: #fff;
    font-weight: normal;
    padding: 10px 15px;
    margin-top: 15px;
}

.note-area {
    display: flex;
    flex-direction: column;
    justify-content: left;
}

#notification-read-more {
    display: none;
}

.info-blue {
    color: #00f;
    cursor: pointer;
}

.print-button {
    margin-top: 10px;
}

#btn-print {
    border: 0px !important;
    color: #00f;
}

@media print {
    #btn-print {
        display: none;
    }
}

#assessments-tooltip, #pseudonymize-tooltip, #delete-tooltip {
    display: none;
    opacity: 1;
    background: #fff;
    border: 1px solid #000;
    padding: 5px 10px;
}
