:root {
    --primary_color: #1779ba;
    /* #35a739 #A5D6A7*/
    --light-primary_color: hsl(205, 35%, 83%);
    --dimmed-primary-color: rgba(9, 48, 73, .7);
}

/* Breadcrumbs */

.breadcrumbs li {
    text-transform: none;
    font-size: 15px;
}

.breadcrumbs li a {
    color: var(primary_color);
}

/* Callout */

.callout {
    p,
    span,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: black;
    }
}

/* Simple Link */

.link {
    /* color: #2c882f; */
    color: black;
}

.link-image-container {
    display: flex;
    align-items: center;
}

.link-image-container:hover .link {
    text-decoration: underline;
}

.link-image-container img {
    width: 20px;
    margin-right: 5px;
}

.link:hover {
    /* color: #2c882f; */
    color: black;
    text-decoration: underline;
}

.link-colored {
    color: var(--primary_color);
}

.link-colored:hover {
    color: var(primary_color) !important;
    text-decoration: underline !important;
}

.link-colored:focus {
    color: var(primary_color) !important;
    text-decoration: underline !important;
}

.link-active {
    color: var(primary_color);
    text-decoration: underline;
}

.link-active:hover {
    color: var(primary_color) !important;
    text-decoration: underline !important;
}

.link-active:focus {
    color: var(primary_color) !important;
}

.link-focused {
    text-decoration: underline;
}

.link:focus {
    /* color: #2c882f; */
    color: black;
    text-decoration: underline;
}

/* List entries */

.list-entry {
    display: flex;
    flex-direction: row;
    margin: 0;
}

.openjob-list-entry {
    display: block;
    margin: 0;
}

.list-entry .list-entry-image {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.list-entry .list-entry-image img {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
}

.list-entry .list-entry-title,
.openjob-list-entry .list-entry-title {
    color: black;
}

.list-entry:hover .list-entry-title {
    text-decoration: underline;
}

.openjob-list-entry .list-entry-section:nth-child(1) .callout {
    height: 100%;
}

.openjob-list-entry .list-entry-section:nth-child(2) {
    margin: 0;
    border-bottom: 0;
    border-top: 0;
    border-right: 0;
}

.openjob-list-entry .list-entry-section:nth-child(2) a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.openjob-list-entry .list-entry-section:nth-child(2) .list-entry-title {
    font-size: 11px;
    line-height: normal;
    text-align: center;
}

.openjob-list-entry .list-entry-section:nth-child(2) img {
    width: 60px;
    margin-bottom: 10px;
}

.openjob-list-entry .list-entry-section:hover .list-entry-title {
    color: black !important;
    text-decoration: underline;
}

/* List entry details */

.list-entry-details {
    /* display: flex;
    flex-direction: row; */
    display: block;
    color: #000;
}

.list-entry-details .list-entry-details-entry {
    display: inline-block;
    margin-right: 10px;
}

.list-entry-details .list-entry-details-entry img {
    width: 20px;
    height: 20px;
}

.list-entry-details .list-entry-details-entry span {
    font-size: 13px;
}

/* Employeer Card */

.employeer-card .card-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.employeer-card img {
    width: 40px;
    margin-bottom: 10px;
}

/* Button */

.button {
    background-color: var(primary_color);
}

.button:focus {
    background-color: var(primary_color);
}

.button:hover {
    background-color: var(primary_color);
}

/* Input */

input.invalid,
input:focus.invalid {
    border-color: red;
    margin-bottom: 5px;
}

.input-error {
    font-size: 13px;
    color: red !important;
}

.input-hint {
    font-size: 13px;

}

/* Checkbox */

input:checked~.switch-paddle {
    background: var(primary_color) !important;
}

/* Pagination */

.pagination .current {
    background: var(primary_color) !important;
}

.navigation-dropdown {
    display: flex;
    flex-direction: row;
}

.navigation-dropdown a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    color: black;
    border: 1px solid transparent;
    padding: 0 !important;
    margin: 0 1rem;
}

.navigation-dropdown a:hover {
    /* color: #2c882f; */
    text-decoration: underline;
    /* background-color: #ececec; */
    /*border: 1px solid #e6e6e6;*/
    /*rgba(10,10,10,.25);*/
    /* border-radius: 5px;*/
}

.navigation-dropdown a img {
    width: 70px !important;
    margin-bottom: 10px;
}

@media (max-width: 1280px) {
    #user-natifications-dropdown {
        right: 0px !important;
        left: unset !important;
    }
}

.personal-menu-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    color: black;
    padding: 0 10px !important;
}

.m-item img {
    width: 30px;
}

.personal-menu-item img {
    width: 30px;
}

.menu-section-item {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
}

.menu-section-item img {
    width: 30px;
    margin-bottom: 5px;
}

.menu-section-item span {
    font-size: 13px;
    color: black;
}

.section-large-menu-item {
    display: flex !important;
    flex-direction: row;
    width: 400px;
}

.section-large-menu-item:hover .title {
    text-decoration: underline;
}

.section-large-menu-item img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.section-large-menu-item .info-box {
    display: flex;
    flex-direction: column;
}

.section-large-menu-item .title {
    color: black;
    margin-top: 7px;
}

.section-large-menu-item .description {
    color: #797979;
    font-size: 12px;
    margin-top: 6px;
    line-height: 1.2;
}

#navigation-menu {
    background-color: white;
    /* padding: 10px 0 !important; */
}

#navigation-menu .dropdown {
    background-color: white;
}

.horizontal-line {
    border-bottom: 1px solid #cacaca;
}

.footer-spacer {
    margin-top: 50px;
}

/* Footer */

#footer {
    padding: 1rem 0;
}

#footer ul {
    list-style-type: none;
    margin: 0;
}

/* Course Card */

.course-card .image-container {
    position: relative;
    height: 100%;
}

.course-card .image-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    color: transparent;
}

.course-card:hover .image-container .overlay {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 48, 73, .7);
}

.course-card:hover .length {
    display: none;
}

.course-card .image-container .overlay img {
    width: 50px;
    height: 50px;
}

.course-card .image-container img {
    max-height: 100%;
    max-height: 100%;
}

.course-card .length {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: black;
    color: white;
    font-size: 14px;
    padding: 3px;
    margin: 5px;
    line-height: 1;
    border-radius: 4px;
}

.course-card h5 {
    color: black;
}

.course-card p {
    font-size: 16px;
    line-height: 19px;
    color: #6f6f6f;
}

/* list */

.list {
    border: 1px solid #cacaca;
    list-style: none;
    margin: 0;
}

.list p {
    min-height: 21px;
    padding: 8px;
    margin: 0;
    line-height: 1.5;
    cursor: default;
}

.list li:focus {
    background: var(primary_color);
}

#church-input {
    background: white;
    cursor: default;
}

/* Course */

.details .entry {
    display: flex;
    flex-direction: row;
    align-content: center;
}

.details .entry img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.details .entry p {
    margin: 0;
    line-height: 2.2;
    cursor: default;
}

.details .entry .entry-text {
    font-weight: bold;
}

/* Forum */

.forum-section-badge {
    background-color: var(primary_color);
    color: white;
    display: inline-block;
    padding: 5px;
    margin: 0 10px 10px 0;
    border-radius: 5px;
}

/* Tabs */

.tabs .tabs-title a {
    display: flex;
    justify-content: center;
    font-size: 16px;
    color: black;
    background-color: transparent;
}

.tabs .tabs-title.is-active {
    border-bottom: solid 4px #1779ba !important;
    background-color: #dfe8ee;
}

/* Present Card */

.present-card {
    color: black;
}

.present-card:hover,
.present-card:focus {
    color: black;
}

.present-card:hover h5,
.present-card:focus h5 {
    text-decoration: underline;
}

.present-card .image-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    color: transparent;
}

.present-card:hover .image-container .overlay {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 48, 73, .7);
}

.base-badge {
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 10px;
    color: #000000;
    line-height: 1;
    border-width: 2px !important;
    border-radius: 50px;
}

.text-badge {
    /* background-color: var(--light-primary_color); */
    border: var(--primary_color) solid;
    border-color: var(--primary_color);
}

.text-badge:hover {
    color: var(--primary_color);
}

.text-badge:focus {
    color: var(--primary_color);
}

.user-badge {
    padding-right: 10px;
    border: #e1e1e1 solid;
    border-color: #e1e1e1;
    padding-right: 10px !important;
}

.user-profile-image {
    border-radius: 200px;
}

#analytics-info-popup {
    position: sticky;
    bottom: 10px;
    right: 10px;
    margin: 0;
    cursor: default;
    max-width: 500px;
    font-size: 14px;
}

#analytics-info-popup a {
    text-decoration: underline;
    cursor: help;
}

#analytics-info-popup .button-group {
    margin-bottom: 0;
}

.user-info-detail p:nth-child(1) {
    margin: 0;
    font-weight: bold;
}

pre {
    padding: 10px;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    overflow: auto;
    height: 500px;
}

/* Dropdowns */

.dropdown-pane {
    padding: 0 !important;
    width: auto;
    z-index:10000;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.dropdown-pane li {
    box-sizing: content-box !important;
}

/* https://developer.mozilla.org/en-US/docs/Web/CSS/white-space */

.html-viewer {
    /* white-space: normal; */

    /* overflow-wrap: normal; */
    /* -ms-word-break: break-word; */
    /* Non standard for WebKit */
    /* word-break: break-word; */

    /* To prevent words that have hyphens inside to line-break */
    /* line-break: anywhere; */

    /* -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto; */
}

.html-viewer a {
    /*hyphens: none !important;*/
}

.html-viewer p {
    /* This ensures that each empty <p> element has the height of a filled <p> element */
    min-height: 25px;
    margin: 0;
}

/* Info Block */
.info-block {
    display: flex;
    margin-right: 10px;
}

.info-block p {
    margin: 0;
}

.info-block div:nth-child(1) {
    margin-right: 5px;
}

.info-block div:nth-child(1) img {
    min-width: 20px;
    max-width: 20px;
}

.info-block div:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.unseen-notification {
    background-color:#cfebff;
}

/* overwrites for tooltip */
.has-tip {
    border-bottom: none;
    cursor: pointer;
    z-index: 20000;
}

.bottom-top-line {
    border: 1px solid rgba(10,10,10,.25);
}

.bottom-border-line {
    border: 1px solid rgba(10,10,10,.25);
}
