.badge-secondary {
    color: #fff;
    background-color: #6c757d;
}

.text-secondary {
    color: #6c757d!important;
}

.lahendus-wrapper .all-wrapper-i {
    overflow: visible;
}

.lahendus-wrapper .top-bar-links-box-container,
.lahendus-wrapper .main-header-w {
    animation: none;
}

.lh-notice .page-w {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 100px;
}

.os-is-animated .page-w.with-sidebar.without-header-image .page-sidebar {
    animation: none;
}

.admin-page .page-sidebar .secondary-menu li.page_item {
    position: relative;
}

.admin-page .page-sidebar .secondary-menu li.page_item a {
    padding: 9px 0px 9px 20px;
    font-size: 1rem;
    z-index: 3;
}

.admin-page .page-sidebar .secondary-menu li.page_item .children {
    padding: 10px 0 10px 0;
}

.admin-page .page-sidebar .secondary-menu li.page_item .children li a {
    padding: 5px 0px 5px 20px;
    font-size: 0.9rem;
    font-weight: 400;
}

/* .admin-page .page-sidebar .secondary-menu li.page-item-1244:after,
.admin-page .page-sidebar .secondary-menu li.page-item-1250:after {
    top: 5px;
    right: 11px;
    color: #fff;
    width: 21px;
    height: 21px;
    display: flex;
    content: "1";
    display: flex;
    position: absolute;
    font-size: 1rem;
    background: #d9534f;
    font-weight: 700;
    align-items: center;
    border-radius: 50%;
    justify-content: center;
} */

.os-container .os-cta-form-w .cta-form {
    width: 100%;
    max-width: 100%;
}

.top-bar-links-box-container a {
    color: #014c8c;
}

.top-bar-links-box-container .login a {
    background: #bddd67;
    border-radius: 5px;
    padding: 2px 10px;
}

.top-bar-links-box-container .action-item {
    display: block;
}

.os-slider-w .os-slide-w[data-slide-id="2"] .os-slide-content .os-slide-content-i {
    width: 600px;
}

.os-container .login-form {
    display: flex;
    justify-content: center;
}

.os-container .login-form .cta-form {
    max-width: 400px;
}

.os-is-animated .os-cta-form-w::before {
    display: none;
    animation: none;
}

.os-is-animated .os-cta-form-w .cta-form {
    animation: none;
}

.os-container .login-form .invalid-login {
    display: block;
    margin-bottom: 10px;
}

.lahendus-search {
    display: flex;
    max-width: 500px;
    box-sizing: border-box;
    border-radius: 5px;
    justify-content: space-between;
}

.lahendus-search .search-field {
    padding: 10px 15px;
    box-sizing: border-box;
    border: 1px solid #a9a9a9;
    background: #fff;
}

.lahendus-search .search-category {
    border-radius: 5px 0 0 5px;
    border-right: none;
}

.lahendus-search .search-location {
    border-radius: 0 5px 5px 0;
}

.lahendus-search .search-button {
    color: white;
    height: 50px;
    border: none;
    padding: 10px 15px;
    background: #494949;
    box-sizing: border-box;
    font-weight: 500;
    border-radius: 5px;
    margin-left: auto;
}

.lahendus-search .search-input-wrapper {
    flex-grow: 1;
}

.lahendus-search .search-input-wrapper input {
    width: 100%;
    border: none;
    height: 50px;
    padding: 10px 15px;
    box-sizing: border-box;
    border-radius: 0 5px 5px 0;
}

.lahendus-search .search-input-wrapper input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #ccc;
}
.lahendus-search .search-input-wrapper input::-moz-placeholder { /* Firefox 19+ */
    color: #ccc;
}
.lahendus-search .search-input-wrapper input:-ms-input-placeholder { /* IE 10+ */
    color: #ccc;
}
.lahendus-search .search-input-wrapper input:-moz-placeholder { /* Firefox 18- */
    color: #ccc;
}
.lahendus-search .search-input-wrapper input::placeholder {
    color: #ccc;
}

.lahendus-database .page-w.with-sidebar .page-sidebar::before {
    z-index: -1;
}

.search-filter {
    width: 100%;
}

.search-filter .search-button {
    background: #494949;
}

.search-filter button::after {
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    right: 10px;
}

.search-filter .multiple-select  .select2-container.select2-container--disabled {
    opacity: 0.5;
}

.search-filter .multiple-select .select2-container .select2-selection {
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.search-filter .multiple-select .select2-container .select2-selection__rendered li {
    margin-bottom: 0;
}

.search-filter .multiple-select .select2-container--default .select2-selection--multiple .select2-selection__choice {
    border: 1px solid #ccc;
}

.lahendus-database .os-faq-item {
    padding: 20px;
}

.lahendus-database .os-faq-item .icon-w {
    display: flex;
}

.lahendus-database .os-faq-item h6 {
    font-size: 1.1rem;
    font-weight: 500;
}

.os-faq-item.open {
    cursor: default;
}

.os-faq-item .os-faq-question-w {
    cursor: pointer;
}

.os-faq-item .os-faq-answer {
    cursor: initial;
}

.lahendus-form form label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0;
    display: block;
}

.lahendus-form form label.has-error {
    color: #ef6562;
}

.lahendus-form form label .form-control-wrap {
    display: block;
    margin-bottom: 11px;
}

.lahendus-form form input,
.lahendus-form form select,
.lahendus-form form textarea {
    padding: 7px 10px;
    border: 2px solid #dfe2ea;
    background-color: #f6f8f9;
    border-radius: 0px;
    display: block;
    width: 100%;
    margin-top: 3px;
    font-weight: 300;
    font-size: 14px;
}

.lahendus-form .lahendus-submit {
    padding: 7px 20px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 10px;
    max-width: 300px;
    display: inline-block;
    border-radius: 0px;
    border: 3px solid #bddd67;
    color: #313131;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    background-color: #bddd67;
}

.lahendus-form .lahendus-submit:hover {
    background-color: #c6e27c;
}

.lahendus-form label p {
    font-weight: 300;
    margin-bottom: 5px;
}

/* Customize the label (the container) */
.user-sidebar .checkbox-label,
.lahendus-form .checkbox-label,
.search-filter .checkbox-label,
form.new-thread .checkbox-label,
form.account-settings .checkbox-label
{
    display: block;
    position: relative;
    padding-left: 35px;
    margin: 10px 0 10px 0;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: flex;
    min-height: 25px;
    align-items: center;
}

/* Hide the browser's default checkbox */
.user-sidebar .checkbox-label input,
.lahendus-form .checkbox-label input,
.search-filter .checkbox-label input,
form.new-thread .checkbox-label input,
form.account-settings .checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkbox-label .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.checkbox-label:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox-label input:checked ~ .checkmark {
    background-color: #bddd67;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkbox-label .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-label .checkmark:after {
    left: 9px;
    top: 5px;
    width: 8px;
    height: 13px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.lahendus-register .form-error {
    color: #ef6562;
    font-size: 0.9rem;
    font-weight: 700;
}

.lahendus-wrapper .cta-form::before,
.lahendus-wrapper .cta-form::after {
    display: none;
}

.main-header .top-menu > ul > li.menu-item-has-children > a:before {
    color: #5e7cb8;
}

.page-intro-header h1 {
    text-shadow: none;
}

.pre-footer {
    background-image: linear-gradient(
        -180deg,
        #f5f9ff 0%,
        #fff 100%
    ) !important;
}

/* SLIDES */
.os-slider-w.style-v1 .os-slide-content .os-slide-shade {
    background-color: rgba(127, 196, 235, 0.3);
}

/* SUBTITLE */
.os-text-and-quote-w .sub-title,
.os-section-description .section-description-sub-header,
.page-w .page-content-sub-title,
.os-cta-form-w .cta-form-header-w h3 + h5,
.tms-main-info .tms-info h4,
.os-slider-w.style-v1 .os-slide-content .os-slide-content-i h5 {
    color: #799136;
}

.os-text-and-features-w.color-scheme-dark
    .os-text-and-features-i
    .wpb_text_column
    .wpb_wrapper
    h4,
.os-text-and-features-w.color-scheme-dark
    .os-text-and-features-i
    .wpb_text_column
    .wpb_wrapper
    h5 {
    color: #ceecbf;
}

.os-text-and-features-w.color-scheme-dark h4,
.os-text-and-features-w.color-scheme-dark h5,
.os-text-and-features-w.color-scheme-dark h6 {
    color: #ceecbf;
}

.os-text-and-features-w.color-scheme-dark .os-feature-with-icon .fwi-media-w {
    color: #ceecbf;
}

.os-slider-w .slider-controls .control-slide .cs-icon,
.page-w .page-content h4 {
    color: #5e7cb8;
}

.os-box-with-image-and-features .box-content h4 {
    color: #b3b6bb;
}

.os-text-and-quote-w .os-tq-quote-w .os-tq-quote-i:before {
    color: #edf8d0;
}

/* COLORED HOMEPAGE SECTION */
.wpb_column .os-container .wpb_text_column.no-bottom-padding .wpb_wrapper {
    padding-bottom: 0;
}

.os-text-and-features-w .os-text-and-features-i .os-iconed-features-w {
    justify-content: space-between;
}

.meelespea-breadcrumbs {
    display: none;
}

/* HEADER */
/* HEADER */
/* HEADER */
.main-header .top-menu.user-menu ul li a {
}

.main-header .top-menu.user-menu ul li a .notification {
    top: 5px;
    right: 11px;
    color: #fff;
    width: 21px;
    height: 21px;
    display: flex;
    display: flex;
    position: absolute;
    font-size: 1rem;
    background: #d9534f;
    font-weight: 700;
    align-items: center;
    border-radius: 50%;
    justify-content: center;
}

.mobile-header-w .mobile-header .mobile-menu-login {
    width: 80px;
    display: table-cell;
    font-size: 13pt;
    text-align: right;
    padding-right: 30px;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .mobile-header-w .mobile-header .mobile-menu-login {
        width: auto;
        padding: 10px;
        font-size: 11pt;
        padding-right: 20px;
    }
}

/* CONTENT */
/* CONTENT */
/* CONTENT */

.lahendus-system a:not(.btn) {
    color: #275dbf;
}

.lahendus-system .page-w {
    padding: 3% 5%;
}

.page-content .page-header {
    margin-bottom: 20px;
}

.page-header h2,
.page-content .page-header h4
{
    margin: 10px 0 0 0;
}

.page-meta {
    color: #bbb;
}

.page-content ul.nav-tabs {
    list-style-type: none;
    padding: 0;
}

.page-content ul.nav-tabs li.nav-item {
    position: relative;
    margin-bottom: -1px;
}

.page-content ul.nav-tabs li.nav-item a {
    position: relative;
}

.page-content ul.nav-tabs li.nav-item .notification {
    top: -1px;
    right: -1px;
    color: #fff;
    width: 21px;
    height: 21px;
    display: flex;
    display: flex;
    position: absolute;
    font-size: 1rem;
    background: #d9534f;
    font-weight: 700;
    align-items: center;
    border-radius: 50%;
    justify-content: center;
}

/* .inbox ul.nav-tabs {
    margin-right: -15px;
    margin-left: -15px;
} */

.container.inbox {
    margin: 0;
    padding: 0;
}

.inbox .row.single-thread {
    color: #313131 !important;
    padding-top: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    text-decoration: none;
}

.inbox .row.new,
.inbox .row.list-head {
    font-weight: 700;
}

.inbox .row.new .metadata {
    font-weight: 300;
}

.inbox .row.new {
    background: #f7f7f7;
}

.inbox .row.single-thread:hover:not(.list-head) {
    -webkit-box-shadow: 0px 0px 15px -10px rgba(0,0,0,1);
    -moz-box-shadow: 0px 0px 15px -10px rgba(0,0,0,1);
    box-shadow: 0px 0px 15px -10px rgba(0,0,0,1);
}

.inbox .row .letter-date {
    text-align: right;
    font-size: 10pt;
}

.inbox .row .letter-date h5 {
    margin: 0;
    font-size: 10pt;
    text-align: right;
}

.dashboard-item {
    margin-bottom: 20px;
}

.dashboard-item .contacts .list-group-item {
    padding: 0.75rem 1rem;
}

.dashboard-item .contacts .list-group-item h5 {
    color: #5e7cb8
}

.container-fluid.thread {
    
    /* padding: 0; */
}

.thread .message {
    border: 1px solid rgba(0, 0, 0, 0.125);
    position: relative;
    border-radius: 0.25rem;
}

.thread .message .usermeta {
    color: #bbb;
}

.thread .message .col.no-gutters {
    padding: 0;
}

.thread .message .message-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.thread .message .ip-address {
    color: #aaa;
}

.thread .message .message-title .badge {
    margin-left: 7px;
}

.container-fluid .sidebar h4, .container-fluid .sidebar h5 {
    margin: 0 0 10px 0;
}

.container-fluid .sidebar h5 {
    font-size: 1.3em;
}

.container-fluid .sidebar h6 {
    font-size: 1em;
    margin: 0;
}

.container-fluid .sidebar .form-group h6 {
    margin-bottom: 5px;
}

.container-fluid .sidebar .form-group a.group-action {
    line-height: 1.2;
}

.container-fluid .sidebar .data-field {
    margin: 0 0 10px 0;
    display: block;
}   

#thread_category_select .select2-container .select2-selection__rendered li {
    margin-bottom: 0;
}

#thread_category_select .select2-container .select2-selection {
    border: 1px solid rgba(0, 0, 0, 0.15);
}


.events h5.event-section-title {
    text-transform: uppercase;
    color: #ccc;
    font-weight: 400;
    font-size: 1.1rem;
}

.events .event.card {
    min-height: 140px;
    margin-bottom: 20px;
    box-shadow: 0 0 25px -22px;
}

.events .event-options {
    top: 0;
    right: 0;
    padding: 0;
    position: absolute;
    font-size: 1.5rem;
    text-align: right;
}

.events .event-options .dropdown-menu {
    top: 45px;
    right: 30px;
    box-shadow: 0 0 10px -8px;
    user-select: none;
    -ms-user-select: none; /* Internet Explorer/Edge */
    -moz-user-select: none; /* Firefox */
    -khtml-user-select: none; /* Konqueror HTML */
    -webkit-user-select: none; /* Safari */
    -webkit-touch-callout: none; /* iOS Safari */
}

.events .event-options i {
    padding: 15px;
    cursor: pointer;
    display: none;
}

.events .event-options i::after {
    display: none;
}

.events .event:hover .event-options i {
    display: inline-block;
}

.events .event-options i:hover {
    color: #999;
}

.events .event.card > .row{
    flex-grow: 1;
}

.events .event.card .card-body {
    padding-right: 15px;
}

.events .event .event-date {
    flex: 0 0 150px;
    padding-top: 15px;
    padding-right: 0;
    padding-bottom: 15px;
    border-right: 1px solid rgba(0, 0, 0, 0.125);
    display: flex;
    justify-content: center;
}

.events .event .event-content {
    max-width: calc(100% - 150px);
}

.event .event-date .date-wrapper {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

.events .event-date h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 300;
}

.events .event-date h4 {
    margin: 0;
    font-weight: 300;
    text-transform: uppercase;
}

.events .event-content h3 {
    margin: 15px 0 5px 0;
    font-weight: 500;
    font-size: 1.5rem;
}

.events .event-content h5 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 400;
}

.events .event-content h5 i {
    
}

.events .event-content .event-meta {
    margin-bottom: 10px;
}

.events .event-content .event-case {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.events .event-content .event-buttons {
    margin: 10px 0 15px;
}

.events.events-small .event.card {
    min-height: 100px;
}

.events.events-small .event .event-date {
    flex: 0 0 80px;
}

.events.events-small .event .event-date h5 {
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 2px;
    font-size: 1.1em;
}

.events.events-small .event .event-content {
    display: flex;
    font-size: 1em;
    font-weight: 300;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.events.events-small .event .card-text h5 {
   font-size: 1em;
   font-weight: 300;
}

#eventParticipants #participantsList .participation-label {
    color: #c7c7c7;
}

form.new-thread.message input::-webkit-input-placeholder,
form.new-thread.message textarea::-webkit-input-placeholder
{ /* Chrome/Opera/Safari */
    color: #c7c7c7;
}
form.new-thread.message input::-moz-placeholder,
form.new-thread.message textarea::-moz-placeholder
{ /* Firefox 19+ */
    color: #c7c7c7;
}
form.new-thread.message input:-ms-input-placeholder,
form.new-thread.message textarea:-ms-input-placeholder
{ /* IE 10+ */
    color: #c7c7c7;
}
form.new-thread.message input:-moz-placeholder,
form.new-thread.message textarea:-moz-placeholder
{ /* Firefox 18- */
    color: #c7c7c7;
}
form.new-thread.message input::placeholder,
form.new-thread.message textarea::placeholder
{
    color: #c7c7c7;
}

form.new-thread .checkbox-label {
    margin: 5px 0 20px 0;
    display: inline-flex;
    font-weight: 500;
    align-items: center;
}

.user-sidebar .checkbox-label input:checked ~ .checkmark,
form.new-thread .checkbox-label input:checked ~ .checkmark {
    background-color: #0275d8;
}

form.new-thread .send-message {
    min-width: 120px;
}

form.new-thread .counsellor-select {
    max-width: 250px;
}

.message .comment-bubble {
    top: -25px;
    right: -25px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    opacity: 0.5;
    display: flex;
    position: absolute;
    font-size: 16pt;
    background: #fff;
    box-shadow: 0 0 8px -4px;
    align-items: center;
    border-radius: 50px;
    justify-content: center;
}

.message:hover .comment-bubble,
.message .comment-bubble.comments-exist {
    opacity: 1;
}

.message .comment-bubble .notification {
    top: -7px;
    right: -7px;
    position: absolute;
}

.modal .newcomment {
    margin-bottom: 20px;
}

.modal #commentsList .list-group-item h5 {
    margin-top: 0;
    font-size: 1.1rem;
}

.user-modal .form-check .form-check-input {
    margin-left: 0;
}

.account .vacation {
    color: #313131;
    padding-top: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    text-decoration: none;
}

.vacations {
    margin-top: 10px;
}

.vacation-create {
    
}

/**
 * Front-end forms
 */

.page-content .wpcf7 form label {
    font-weight: 300;
}

.page-content .wpcf7 .wpcf7-response-output {
    margin: 1em 0em;
}

/* THREADS */
/* THREADS */
/* THREADS */

#threads-filter {
    display: flex;
    justify-content: flex-start;
}

#threads-filter .form-group {
    margin-right: 20px;
}

/* STATS */
/* STATS */
/* STATS */

.stats .page-content table th {
    border: 1px solid rgba(0,0,0,0.1);
}

.stats .page-content table th:first-child,
.stats .page-content table td:first-child {
    min-width: 100px;
}

/* FORMS */
textarea.short-textarea {
    height: 100px;
}

/* .radio-rating {
    display: inline-block;
    position: relative;
    padding-bottom: 26px;
}

.radio-rating::before {
    left: 0;
    bottom: 0;
    content: "Ei ole rahul";
    position: absolute;
    font-size: 0.9rem;
}

.radio-rating::after {
    right: -25px;
    bottom: 0;
    content: "Väga rahul";
    position: absolute;
    font-size: 0.9rem;
}

.radio-rating span:first-child {
    margin-left: 30px;
} */

/* INFO ALERT */
/* INFO ALERT */
/* INFO ALERT */
.alert.alert-info a {
    color: #5687a0;
    text-decoration: underline;
}

.donation-form {
    margin-top: 10px;
    margin-bottom: 30px;
}

.donation-form .amount-selection {
    margin-bottom: 30px;
}

.donation-form .amount-selection h5 {
    margin-bottom: 0px;
}

.donation-form .bank-selection.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.donation-form .bank-selection {
    width: 100%;
    max-width: 610px;
}

.donation-form .bank-selection h5 {
    margin-bottom: 20px;
}

.donation-form .donation-amount-buttons .donation-amount-button {
    margin-left: 0px;
    margin-right: 1rem;
}

.donation-form .donation-amount-buttons .donation-amount-button.selected {
    text-decoration: none;
    -webkit-transform: translateY(-4px);
    -moz-transform: translateY(-4px);
    -ms-transform: translateY(-4px);
    -o-transform: translateY(-4px);
    border-color: #9ebc4f;
    background-color: #c6e27c;
}

.donation-form .donation-custom-amount {
    display: none;
}

.donation-form .donation-custom-amount input {
    width: 100px;
}

.donation-form .donation-custom-amount.show {
    display: block;
}

.donation-form .donation-bank-wrapper {
    width: 100%;
}

.donation-form .donation-bank-button {
    width: 140px;
    height: 45px;
    border: 1px solid #dfe2ea;
    margin: 0px 5px 10px 0px;
    background: transparent;
    border-radius: 5px;
}

.donation-form .donation-bank-button img {
    border: 0;
    margin: 0;
    padding: 0;
    max-width: 92px;
    max-height: 23px;
    pointer-events: none;
}

@media (max-width: 767px) {
    .os-slider-w .os-slide-w[data-slide-id="3"] .os-slide .os-slide-content {
        bottom: 30px;
    }

    .lahendus-search {
        flex-flow: column nowrap;
        align-items: flex-start;
    }

    .lahendus-search select.search-field {
        width: 100%;
        border: 1px solid #a9a9a9;
        border-radius: 5px;
        margin-bottom: 5px;
    }

    .lahendus-search .search-button {
        padding: 10px 30px;
        margin-left: 0;
    }
    .meelespea-breadcrumbs {
        display: block;
    }
}


@media (max-width: 991px) and (min-width: 768px) {
    .lahendus-system .page-w {
        padding: 2%;
    }
}

@media (max-width: 991px) and (min-width: 455px) {
    .lahendus-system .page-w {
        padding: 0;
    }
}

@media (max-width: 575px) {
    .lahendus-form .lahendus-submit {
        max-width: 100%;
        width: 100%;
    }
}