/* Public.css is used as a default for public Corpio pages */

/* Typography */

* {
    font-size: 15px;
    /* color: var(--background-txt, #646464); */
    word-break: break-word;
}
h1 {
    font-size: 2.6em;
    font-weight: bolder;
}
@media screen and (max-width: 575.98px) {
    h1 {
        font-size: 1.8em;
    }
}
h2 {
    font-size: 18px;
    font-weight: bold;
}
h3 {
    font-size: 15px;
    font-weight: bold;
}
h4 {
    font-size: 18px;
    font-weight: bold;
}
h5 {
    font-size: 16px;
    font-weight: bold;
}
h6 {
    font-size: 24px;
    font-weight: light;
}
p {
    font-size: 15px;
    font-weight: normal;
}

/* links */

a {
    color: var(--primary, #1fb5ad);
}
a:hover {
    color: var(--primary-hover, #105855);
    text-decoration: none;
    cursor: pointer;
}
p > a {
    text-decoration: underline;
    word-break: break-all;
}
p > a:hover {
    text-decoration: underline;
}

.public-href {
    color: var(--public-primary-button, #1fb5ad);
}

/* text-color */

.text-primary {
    color: var(--primary, #1fb5ad) !important;
}

.text-public-primary {
    color: var(--public-primary, #17726d);
}

.text-primaryDark {
    color: var(--public-primary, #17726d);
}

/* bg */

.bg-primary {
    background: var(--primary, #1fb5ad) !important;
}
.bg-secondary {
    background: var(--hap-secondary, #cbf6f4) !important;
}
.bg-public-secondary {
    background: var(--public-secondary, #cbf6f4) !important;
}
.bg-white {
    background: #fff !important;
}
.bg-grey {
    background: #eff3f2 !important;
}
.bg-grey.bg-primary {
    background: var(--primary-bg, #1fb5ad) !important;
}
.bg-grey.bg-secondary {
    background: var(--hap-secondary, #cbf6f4) !important;
}
.bg-grey.bg-public-secondary {
    background: var(--public-secondary, #cbf6f4) !important;
}
.bg-glow {
    background: #ececec !important;
    -webkit-box-shadow: inset 0px 0px 15vmin 20vmin rgba(255, 255, 255, 1);
    -moz-box-shadow: inset 0px 0px 15vmin 20vmin rgba(255, 255, 255, 1);
    box-shadow: inset 0px 0px 15vmin 20vmin rgba(255, 255, 255, 1);
}

/* badge */

/* .badge {
    padding-bottom: 0.4rem !important;
} */
.badge-primary {
    background: var(--primary-bg, #1fb5ad) !important;
}
.badge-secondary {
    background: var(--hap-secondary, #cbf6f4) !important;
    color: #646464;
}
.badge-danger {
    background: #ff6c60 !important;
}
.badge-info {
    background: #007bff !important;
}
.badge-light {
    background: #e4e4e4 !important;
    color: #646464;
}
.badge-dark {
    background: #343a40 !important;
}

/* Additional margins */

.mt-6 {
    margin-top: 4rem !important;
}

/* borders */

.border-light {
    border-color: #d8d8d8 !important;
}
.border-grey {
    border-color: #ebebeb !important;
}

/* Buttons */

.btn {
    font-size: 14px;
    word-break: normal;
    cursor: pointer;
}
.btn:disabled {
    background-color: #999999 !important;
    color: #343a40 !important;
    border: 1px solid #999999 !important;
}
.btn:disabled:hover {
    cursor: not-allowed;
}

/* btn public */
.btn-public {
    background-color: var(--public-primary-button, hsl(177, 71%, 42%));
    border-color: var(--public-primary-button, hsl(177, 71%, 42%));
    color: var(--always-white, white);
}

.btn-public:active,
a.btn-public.active {
    background-color: var(--public-primary-hover, hsl(177deg 71% 38%));
    border-color: var(--public-primary-hover, hsl(177deg 71% 38%));
    color: var(--always-white, white);
}
.btn-public:hover,
a.btn-public:hover {
    background-color: var(--public-primary-hover, hsl(177deg 71% 38%));
    border-color: var(--public-primary-hover, hsl(177deg 71% 38%));
    color: var(--always-white, white);
}
.btn-public:focus,
a.btn-public:focus {
    background-color: var(--public-primary-hover-2, hsl(177deg 71% 38%));
    border-color: var(--public-primary-hover-2, hsl(177deg 71% 38%));
}
.open .dropdown-toggle.btn-public,
a.open .dropdown-toggle.btn-public {
    background-color: var(--btn-public-active, hsl(177deg 71% 38%));
    border-color: var(--btn-public-active, hsl(177deg 71% 38%));
}
.btn-public:disabled,
a.btn-public:disabled {
    background-color: var(--btn-public-disabled, hsl(177deg 0% 38%));
    border-color: var(--btn-public-disabled, hsl(177deg 0% 38%));
}

/* public primary */

.btn-public-primary,
a.btn-public-primary {
    background-color: var(--public-primary-button, hsl(177deg 71% 42%));
    border-color: var(--public-primary-button, hsl(177deg 71% 42%));
    color: var(--always-white, white);
}
.btn-public-primary:active,
a.btn-public-primary:active {
    background-color: var(--public-primary-button, hsl(177deg 71% 42%));
    border-color: var(--public-primary-button, hsl(177deg 71% 42%));
    color: var(--always-white, white);
}
.btn-public-primary:hover,
a.btn-public-primary:hover {
    background-color: var(--public-primary-hover, hsl(177deg 71% 38%));
    border-color: var(--public-primary-hover, hsl(177deg 71% 38%));
    color: var(--always-white, white);
}
.btn-public-primary:focus,
a.btn-public-primary:focus {
    background-color: var(--public-primary-hover-2, hsl(177deg 71% 38%));
    border-color: var(--public-primary-hover-2, hsl(177deg 71% 38%));
    color: var(--always-white, white);
}
.open .dropdown-toggle.btn-public-primary,
a.open .dropdown-toggle.btn-public-primary {
    background-color: var(--public-primary-button, hsl(177deg 71% 38%));
    border-color: var(--public-primary-button, hsl(177deg 71% 38%));
}
.btn-public-primary:disabled,
a.btn-public-primary:disabled {
    background-color: var(--btn-primary-disabled, hsl(177deg 0% 38%));
    border-color: var(--btn-primary-disabled, hsl(177deg 0% 38%));
}

/* primary */

.btn-primary,
a.btn-primary {
    background-color: var(--btn-primary, hsl(177deg 71% 42%));
    border-color: var(--btn-primary, hsl(177deg 71% 42%));
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary,
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:active,
a.btn-primary.active,
.open a.dropdown-toggle.btn-primary {
    color: var(--always-white, white);
}
.btn-primary:hover,
a.btn-primary:hover {
    background-color: var(--btn-primary-hover, hsl(177deg 71% 38%));
    border-color: var(--btn-primary-hover, hsl(177deg 71% 38%));
}
.btn-primary:focus,
a.btn-primary:focus {
    background-color: var(--btn-primary-focus, hsl(177deg 71% 38%));
    border-color: var(--btn-primary-focus, hsl(177deg 71% 38%));
}
.btn-primary:active,
a.btn-primary:active,
.open .dropdown-toggle.btn-primary,
a.open .dropdown-toggle.btn-primary {
    background-color: var(--btn-primary-active, hsl(177deg 71% 38%));
    border-color: var(--btn-primary-active, hsl(177deg 71% 38%));
}
.btn-primary:disabled,
a.btn-primary:disabled {
    background-color: var(--btn-primary-disabled, hsl(177deg 0% 38%));
    border-color: var(--btn-primary-disabled, hsl(177deg 0% 38%));
}

/* secondary */

.btn-secondary {
    background: var(--public-secondary, #cbf6f4);
    color: #646464;
    border-color: var(--public-secondary, #cbf6f4);
}
.btn-secondary:hover {
    background: var(--public-secondary-hover, rgb(197, 235, 233));
    color: #3f3f3f;
    border-color: var(--public-secondary-hover, rgb(197, 235, 233));
}

/* light */

.btn-light {
    background: #e4e4e4;
    border-color: #e4e4e4;
}
.btn-light:hover {
    background: rgb(206, 206, 206);
    border-color: rgb(206, 206, 206);
}
.btn-light:focus,
.btn-light:active {
    box-shadow: none;
}

/* button to start an activity */

.btn.activate {
    font-weight: 400;
    padding: 1.325rem 2rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.1rem;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}
.btn.activate.small {
    padding: 0.325rem 0.8rem 0.325rem 1rem;
}
.btn-primary.activate {
    border: 2px solid var(--primary, #1fb5ad);
    background: var(--public-secondary, #cbf6f4);
    color: var(--primary, #1fb5ad) !important;
}
.btn-primary.activate:hover {
    background: var(--primary-bg, #cbf6f4);
    color: var(--primary-hover-2, #ebfffe) !important;
}
.btn-primary.activate:hover i {
    color: var(--primary-hover-2, #ebfffe);
}
.btn-secondary.activate {
    border: 2px solid #646464;
    background: white;
    color: #646464;
}
.btn-secondary.activate:hover {
    color: white;
    background-color: #4d4d4d;
    border-color: #4d4d4d;
}
.btn-secondary.activate:hover i {
    color: white;
}
.btn.btn-tertiary.activate {
    padding: 0.325rem 1.2rem 0.325rem 1rem;
}
.btn-tertiary.activate {
    border: 2px solid #f1f1f1;
    background: white;
    color: #646464;
}
.btn-tertiary.activate:hover {
    background: #f1f1f1;
    color: #32323a;
}
.btn-tertiary.activate i {
    transform: translate(0.7rem, -1px);
    color: #646464;
}
.btn-tertiary.activate:hover i {
    color: #32323a;
}
.btn-default.activate {
    border: 2px solid #646464;
    background: #e4e4e4;
    color: #646464;
}

/* button to direct to other page */

.btn-direct {
    color: #646464;
    /* color: #007bff; */
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    padding: 0.375rem 0;
    margin: -0.375rem 0;
}
.btn-direct i {
    color: inherit;
    font-size: 1.2em;
}

/* button in list of buttons */

.link-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.link-list .btn-link-list {
    padding: 0.125rem 0.75rem !important;
    margin-bottom: 0.375rem;
    background: #e4e4e4;
}
.link-list .btn-link-list:hover {
    background: var(--public-secondary-hover, rgb(197, 235, 233));
    transform: scale(1.02);
}
.link-list .btn-link-list i {
    color: inherit;
    font-size: 1.2em;
    transform: translateY(2px);
}

/* filter/checkbox */

.btn-filter {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}
.btn-filter.active {
    background: var(--public-secondary-card, #cbf6f4) !important;
}
.btn-filter.active,
.btn-filter.active i {
    color: var(--always-white, white);
}
.remove-filters {
    cursor: pointer;
}
.btn-check {
    position: inherit;
    cursor: pointer;
    user-select: none;
    margin-bottom: 5px;
    pointer-events: visible;
}
.btn-check.btn-check-error {
    color: white;
    background-color: #ff6c60 !important;
    margin-right: 1rem;
}
.btn-check.btn-check-error * {
    color: white;
}
.btn i {
    color: inherit;
}
.btn-radio {
    cursor: pointer;
    user-select: none;
    border-radius: 2em;
    margin-bottom: 5px;
}
.btn-radio i {
    color: inherit;
}
form .btn-radio {
    line-height: 1.1;
}
/* .btn-radio.bg-secondary,
.btn-radio.bg-secondary i,
.btn-check.bg-secondary,
.btn-check.bg-secondary i {
    --h: var(--hue-primary);
    --s: var(--sat-primary);
    --l: var(--light-primary);

    background: hsl(var(--h) calc(var(--s) * 1%) calc(var(--l) * 1%)) !important;

    --switch: calc((var(--l) - var(--threshold)) * -100%);
    color: hsl(0, 0%, var(--switch));
} */
.toggleBtnContainer {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    padding: 1px;
}
.btn-toggle {
    text-align: center;
    flex: 1;
    color: #646464;
    border: 1px;
    margin: 1px;
}
.btn-toggle:hover {
    background-color: #d4d4d4;
}
.btn-toggle:not(:hover) {
    background-color: white;
}
.btn-toggle.active {
    background-color: #f1f1f1;
}

/* share button */

.shareCourse {
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 20vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    background: white;
    -webkit-box-shadow: -1px 1px 5px 0px rgba(173, 173, 173, 0.8);
    -moz-box-shadow: -1px 1px 5px 0px rgba(173, 173, 173, 0.8);
    box-shadow: -1px 1px 5px 0px rgba(173, 173, 173, 0.8);
    width: 50px;
    text-align: center;
    transition: all 0.2s ease;
    padding: 0.5rem;
}
.shareCourse:hover {
    background: #f8f9fa;
}
.cursorPointer {
    cursor: pointer;
}

/* modal */

.modal-content {
    background: #343a40 !important;
}
.modal-header {
    padding: 1.5rem 1.8rem !important;
    border-bottom: 1px solid #646464;
}
.modal-title {
    color: white;
}
.modal-title i {
    color: white;
    margin-right: 0.375rem;
}
.modal-title span {
    color: white;
}
.modal-body {
    padding: 1.6rem 2.6rem !important;
}
.modal-body.modal-body-video {
    padding: 5px;
}
.modal-dialog-pdf {
    width: 100%;
    height: 88vh;
    padding: 0;
}
.modal-content-pdf {
    height: 100%;
    border-radius: 0;
}
.modal-body-pdf {
    padding: 0;
}
.modal-body h4,
.modal-body p {
    color: white;
}
.modal-body h4 {
    margin-bottom: 0.5rem;
    font-size: 14px;
}
.modal-body .form-group label {
    padding: 0.375rem 0.75rem;
}
.modal-body .form-control {
    padding: 0.375rem 0.75rem;
}
.modal-body label {
    color: #999999;
}
.modal-body label i {
    color: white;
}
.modal-body .input-group-prepend .input-group-text {
    background-color: transparent;
    border: 1px transparent;
    border-bottom: 1px solid rgb(245, 245, 245);
    border-radius: 0;
}
.modal-body .input-group-prepend .input-group-text i {
    color: white;
}
.modal-body input {
    border: 1px transparent;
    border-bottom: 1px solid rgb(245, 245, 245);
    border-radius: 0;
}
.modal-body input::-webkit-input-placeholder {
    color: #999999;
}
.modal-body input:-ms-input-placeholder {
    color: #999999;
}
.modal-body input::placeholder {
    color: #999999;
}
.modal-body input,
.modal-body textarea {
    color: white !important;
}
.modal-body input,
.modal-body input:focus,
.modal-body textarea,
.modal-body textarea:focus {
    background-color: transparent;
}
.modal-body input:focus {
    border: 1px transparent;
    border-bottom: 1px solid var(--primary, #1fb5ad) !important;
    box-shadow: none;
}
.modal-body textarea:focus {
    border: 1px solid var(--primary, #1fb5ad) !important;
    box-shadow: none;
}
.modal-footer {
    padding-left: 1.8rem !important;
    padding-right: 1.8rem !important;
    border-top: 1px solid #646464;
}

/* box-shadow */

.box-shadow {
    -webkit-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.25) !important;
    -moz-box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.25) !important;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.25) !important;
    transition: box-shadow 0.4s ease-out;
}

/* login */

#login-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -10;
    background-color: #000;
    opacity: 0;
    display: none;
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#login-container {
    position: fixed;
    top: 0;
    left: calc(-100vw - 15px);
    bottom: 0;
    z-index: -10;
}
.sidenav {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media (max-height: 600px) {
    .sidenav {
        height: 600px;
    }
}
.sidenav > div {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex-shrink: 0;
}
.sideNavMainContent {
    flex-grow: 1;
    padding-top: 15vh;
}
.input-group.login input {
    background: none;
    color: white;
}
#login-backdrop.open {
    display: block;
    opacity: 0.7;
    z-index: 1000;
}
#login-container.open {
    left: 0;
    z-index: 1050;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.login-close {
    cursor: pointer;
}
.login-logo {
    max-width: 276px;
    margin: 0 auto;
    display: block;
    flex-grow: 0;
    padding-bottom: 3vh;
}
@media (max-width: 576px) {
    .login-logo {
        padding-bottom: 0;
        max-width: 90%;
    }
}
@media (max-width: 1440px) {
    .login-logo {
        max-width: 100%;
    }
}
.login-wrap {
    padding: 20px;
    position: relative;
}
.sidenav > div.login-footer {
    padding: 1em;
    flex-grow: 0;
}
.login-footer small {
    color: white;
}
.login-footer small * {
    font-size: 11px;
}

/* header */

#header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 1px 0 3px rgba(0, 0, 0, 0.15);
    height: 80px;
}
#header .btnHeader {
    padding: 10px 15px;
    color: #32323a;
    line-height: 1.15;
}
#header .btnHeader i {
    color: #32323a;
    line-height: 1.15;
}
#header .btnHeader:hover {
    background-color: #eee;
}
.z-index-10 {
    z-index: 10;
}
.header-logo {
    height: 5.3em;
}
@media screen and (max-width: 767.9px) {
    #header {
        height: auto;
    }
}
@media screen and (max-width: 320px) {
    .header-logo {
        height: 3em;
        margin: 0.5em;
    }
}

.card-logo {
    max-height: 3em;
    max-width: 7em;
    width: auto;
    height: auto;
    object-fit: cover;
}

.logo-bottom {
    right: 0;
}
@media screen and (min-width: 768px) {
    .logo-bottom {
        bottom: 0;
        right: 2rem;
        position: absolute;
    }
}

.card-title {
    color: #343a40 !important;
}
.card-subtitle {
    margin-bottom: 0.375rem;
    margin-top: -0.5rem;
    font-weight: 400;
    /* width: 50ch; */
}

/* header secondary (& hero) */

.public-hero {
    z-index: 5;
    min-height: 53px;
}

/* Navbar */

@media screen and (max-width: 540px) {
    #mainMenu {
        max-width: 100%;
        overflow: hidden;
        padding: 0;
    }
}

#mainMenu .nav-link {
    background-color: #f1f2f7;
    word-break: normal;
    color: #646464;
    padding: 0.5rem 1rem;
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    margin-right: 0.25rem;
}
#mainMenu .nav-link:not(.active):hover {
    background-color: var(--public-secondary-inactive-hover, rgb(182, 201, 200));
    cursor: pointer;
    color: var(--public-secondary-txt, #646464);
}
#mainMenu .nav-link:not(.active):link {
    color: #646464;
}
#mainMenu .nav-link:not(.active):visited {
    color: #646464;
}
#mainMenu .nav-link:not(.active):active {
    background-color: var(--public-secondary-inactive-hover, rgb(182, 201, 200));
}
#mainMenu .nav-link.active {
    background-color: var(--public-secondary, #cbf6f4);
    color: black;
    z-index: 5;
}
#mainMenu .nav-link:not(.active) {
    z-index: 0;
}
#mainMenu .nav-item .active {
    background-color: var(--public-secondary, #cbf6f4);
    color: var(--public-secondary-txt, #646464);
    -webkit-box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.1);
    cursor: auto;
}

#mainMenu .nav-item .active > span {
    color: var(--public-secondary-txt, #646464);
}
#mainMenu .nav-item a:not(.active) {
    cursor: auto;
    -webkit-box-shadow: inset 0px 5px 5px -5px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: inset 0px 5px 5px -5px rgba(0, 0, 0, 0.25);
    box-shadow: inset 0px 5px 5px -5px rgba(0, 0, 0, 0.25);
}

/* cards */

.card {
    overflow: hidden;
    border: none;
    -webkit-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2);
}
.card-header {
    background-color: inherit;
    padding: 1.5rem 1.5rem 0.5rem;
}
.card-body {
    padding: 1.5rem 1.5rem;
}
.card-footer {
    background-color: white;
}

.card-secondary {
    background-color: var(--public-secondary-card, #1fb7b0);
}

/* listCard */

.card.listCard {
    margin-bottom: 0.5rem;
    transition: all 0.1s ease-out;
    opacity: 0.94;
}
.card.listCard .card-header {
    padding: 1rem 1.5rem 0.5rem;
}
.card.listCard .card-body {
    padding: 1.5rem 2rem 1rem 1.5rem;
}
.listCard:hover {
    /* background-color: #f7f7f7; */
    z-index: 5;
    transform: scale(1.03);
    cursor: pointer;
    opacity: 1;
}
.listCard:hover .btn-direct {
    color: var(--primary, #1fb5ad);
}
.listCard:hover .btn-direct i {
    color: var(--primary, #1fb5ad);
}

/* stepCards */

.card.stepCard .card-body {
    padding: 1.5rem 1.5rem;
}
.card.stepCard h4 {
    margin: 0 !important;
}
.stepContent {
    padding-top: 1rem;
}
.cardIconBar {
    width: 100%;
}
@media screen and (min-width: 768px) {
    .cardIconBar {
        width: auto;
        min-height: 100%;
        /* min-width: 2rem; */
        /* position: absolute;
        right: 0; */
    }
}
textarea {
    min-height: 4em;
}
html,
body,
.minHeight100vh {
    min-height: calc(100vh + 1px) !important;
}
.form-group.has-error input,
.form-group.has-error select,
.form-control.error {
    border-color: #d9534f;
}
form label.error {
    color: #d9534f;
}
.requiredLabel {
    color: #d9534f;
    margin-left: 2px;
}

/* caret-right before "Other, please specify:"-input field */

.specifyOther::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    content: "\f0da";
    position: absolute;
    top: 0.5em;
    left: -0.2em;
    width: 0.2em;
}

/* fullcalendar to Corpio */

/* events */

.fc-event {
    border: 1px solid var(--public-secondary, #cbf6f4);
}
.fc-event,
.fc-event-dot {
    background-color: var(--public-secondary, #cbf6f4) !important;
    margin-top: 2px;
}
.fc-event.courseSession {
    border: 1px solid var(--public-secondary, #cbf6f4);
}
.fc-event.courseSession,
.fc-event-dot.courseSession {
    background-color: var(--public-secondary, #cbf6f4);
}

/* buttons */

.fc button {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    height: 2.1em;
    padding: 0 0.6em;
    font-size: 1em;
    border: white;
}
.fc-state-default.fc-corner-left {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.fc-state-default.fc-corner-right {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* button states */

.fc-state-disabled,
.fc-button-primary:disabled {
    background-color: #f1f2f7 !important;
    color: #343a40 !important;
    border: 1px solid #f1f2f7 !important;
    cursor: not-allowed;
}
.fc-button-primary {
    background-color: #f1f2f7 !important;
    color: #343a40 !important;
}
.fc-button-primary:hover {
    background-color: #cbf6f4 !important;
    color: white;
}
.fc-state-disabled.fc-button-primary:hover,
.fc-button-primary:hover:disabled {
    background-color: #f1f2f7 !important;
    color: #343a40;
    border: 1px solid #f1f2f7;
}
.fc-button-primary.fc-state-down,
.fc-button-primary.fc-state-active,
.fc-button-group > .fc-button.fc-button-active {
    color: var(--public-secondary-txt, #343a40) !important;
    background-color: var(--public-secondary, #cbf6f4) !important;
}

/* hover states */

.fc-state-hover {
    background-color: var(--public-secondary, #cbf6f4);
    color: white;
}
.fc-state-hover .fc-icon {
    color: white;
}

/* today */

.fc-unthemed td.fc-today,
td.fc-today {
    background-color: #f7f7f7 !important;
}

/* show overflow event */

.fc-day-grid-event .fc-content,
.fc-day-grid-event .fc-title,
.fc-day-grid-event .fc-time {
    color: var(--public-secondary-txt, #646464) !important;
    white-space: pre-wrap;
    overflow: visible;
}
.fc-time-grid-event .fc-content {
    white-space: nowrap;
}

/* prevent transparent border */

.fc .fc-row .fc-content-skeleton td {
    border-color: #ddd !important;
}

/* Table styling */

.tableClickable tbody tr:hover {
    cursor: pointer;
    background-color: #f1f2f7;
}
.table thead tr th {
    border-top: none;
}
.sorting i {
    color: #bdbbbb;
}
.sorting,
.sorting i,
.sorting_asc,
.sorting_asc i,
.sorting_desc,
.sorting_desc i {
    cursor: pointer;
}
.sorting:hover i,
.sorting_asc:hover i,
.sorting_desc:hover i {
    color: var(--primary, #1fb5ad);
    transform: scale(1.1);
}
.dataTables_paginate .paginate_button {
    margin-top: 1rem;
}
.dataTables_paginate .paginate_button:first-child a {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}
.dataTables_paginate .paginate_button:last-child a {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}
.dataTables_paginate .paginate_button a {
    margin: 0.25rem 1px 0 0;
    padding: 5px 11px 6px 10px;
    color: #333 !important;
    background-color: #f1f2f7;
}
.dataTables_paginate .paginate_button.active a {
    background-color: #cbf6f4;
}
.dataTables_paginate .paginate_button a:hover {
    color: #fff !important;
    background-color: var(--primary-bg, #1fb5ad);
}
.card .card-body.px-0 .dataTables_paginate {
    margin-left: 1.5rem;
}
.alert i,
.alert b,
.alert strong {
    color: inherit;
}

/* datetimepicker */

.bootstrap-datetimepicker-widget.dropdown-menu .datepicker-days,
.datepicker .dow {
    white-space: nowrap;
}
.btn-radio > label.error {
    position: absolute;
    margin-top: 25px;
    margin-left: -30px;
}
.form-control-plaintext {
    pointer-events: none;
}
.form-group label {
    margin-bottom: 0.2rem !important;
}

/* tip alert element */

.tipAlert {
    margin-top: -2rem;
    height: 0;
    overflow: hidden;
    transform: scaleY(0);
    transition: all 0.1s;
}
.tipAlert.animate {
    margin-top: 0;
    height: auto;
    transform: scaleY(1);
}

/* cursor: pointer */

.cursor-pointer {
    cursor: pointer;
}

/* modal error */

.modal .error {
    color: #fd808c !important;
}

/* filter tags */

#filterTags .remove-filters,
#filterTags .filterTag {
    cursor: pointer;
}
#filterTags .remove-filters i,
#filterTags .filterTag i {
    transform: translateY(1px);
}
#myUserGroups:before {
    content: "Selecteer mijn groepen";
}
#myUserGroups.active {
    background-color: #555;
    border-color: #555;
    color: white;
}
#myUserGroups.active:before {
    content: "Deselecteer mijn groepen";
}

/* Filters on scholingen listCourseSessions */
.filtersSegment .filtersSegmentToggle .closeButton {
    display: none;
}

@media screen and (min-width: 768px) {
    .filtersSegment .filtersContainer {
        border: 1px solid #dee2e6;
        border-radius: 0.375rem;
    }
}
@media screen and (max-width: 768px) {
    .filtersSegment:not(.active) .filtersContainer {
        display: none;
    }
    .filtersSegment.active {
        position: fixed;
        z-index: 50;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        padding-top: 2rem;
        overflow-y: scroll;
        background-color: white;
    }
    .filtersSegment .filtersSegmentToggle {
        padding: 1rem;
    }
    .filtersSegment:not(.active) .filtersSegmentToggle {
        background-color: var(--public-secondary);
        color: var(--public-secondary-txt, white);
        border-radius: 0.25rem;
    }
    .filtersSegment.active .filtersSegmentToggle .closeButton {
        float: right;
        display: block;
    }

    .setSecondaryTxt {
        color: var(--public-secondary-txt, #646464) !important;
    }
}

/* Image on scholingen listCourseSessions */
.course_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media screen and (max-width: 767.98px) {
    .course_image {
        display: none;
    }
}

/* news wysiwigoutput */

.news.wysiwigoutput p {
    margin-bottom: 0.75rem;
}

/* wide table style */

.table_smooth {
    min-width: 100%;
}
.table_smooth .list-item td {
    vertical-align: middle !important;
}

/* Color indications status */

.status_column {
    min-width: 16ch;
}
.status_new::before {
    border-left: 3px solid #bdece4;
    padding-left: 1ch;
    content: "";
}
.status_processing::before {
    border-left: 3px solid #fbe4a6;
    padding-left: 1ch;
    content: "";
}
.status_evaluate::before {
    border-left: 3px solid #fcb5f3;
    padding-left: 1ch;
    content: "";
}
.status_pending::before {
    border-left: 3px solid rgb(188, 202, 200);
    padding-left: 1ch;
    content: "";
}
.status_send::before {
    border-left: 3px solid rgb(121, 204, 189);
    padding-left: 1ch;
    content: "";
}
.status_closed::before {
    border-left: 3px solid #c7cbd6;
    padding-left: 1ch;
    content: "";
}
.status_declined::before {
    border-left: 3px solid #c0c2f7;
    padding-left: 1ch;
    content: "";
}
.status_attention::before {
    border-left: 3px solid rgb(245, 175, 170);
    padding-left: 1ch;
    content: "";
}
#hero {
    margin-top: 80px;
}
#hero h1,
#hero p {
    color: var(--public-secondary-txt, #646464);
}

/* Styling corpio-attachments (module items as attachment) */

.corpio-attachments {
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.corpio-attachments .attachment-block {
    margin: 0 0 8px 0;
    display: flex;
    flex-direction: row;
}
.corpio-attachments .attachment {
    flex: 1;
    background: var(--light-bg);
    padding: 4px 7px;
    margin: 0 8px 0 0;
    border-radius: 4px;
    color: var(--dark);
    transition: background-color 0.2s ease;
}
.corpio-attachments .attachment i {
    color: var(--dark);
    margin-right: 1px;
    transform: scale(1.15) translateX(-2px);
}
.corpio-attachments .attachment:hover {
    background: rgba(150, 150, 150, 0.28);
    color: var(--dark);
}

/* Actual styles */

.corpio-attachments .attachment.improvement:hover {
    background: #af215048;
}
.corpio-attachments .attachment.improvement > i {
    color: #e91e63;
}
.corpio-attachments .attachment.form:hover {
    background: #9b27b048;
}
.corpio-attachments .attachment.form > i {
    color: #9c27b0;
}
.corpio-attachments .attachment.checklist:hover {
    background: rgba(76, 217, 212, 0.28);
}
.corpio-attachments .attachment.checklist > i {
    color: #009688;
}
.corpio-attachments .attachment.document:hover {
    background: #ffe59a49;
}
.corpio-attachments .attachment.document > i {
    color: #ff9800;
}
.corpio-attachments .attachment.pdf:hover {
    background: rgba(255, 99, 71, 0.28);
}
.corpio-attachments .attachment.pdf > i {
    color: Tomato;
}
.corpio-attachments .attachment.word:hover {
    background: rgba(65, 105, 225, 0.28);
}
.corpio-attachments .attachment.word > i {
    color: RoyalBlue;
}
.corpio-attachments .attachment.excel:hover {
    background: rgba(46, 139, 86, 0.28);
}
.corpio-attachments .attachment.excel > i {
    color: SeaGreen;
}
.corpio-attachments .attachment.image:hover {
    background: rgba(255, 217, 0, 0.28);
}
.corpio-attachments .attachment.image > i {
    color: Gold;
}
.corpio-attachments .attachment.alt:hover {
    background: rgba(179, 179, 179, 0.28);
}
.corpio-attachments .attachment.alt > i {
    color: grey;
}
.corpio-attachments .attachment.video:hover {
    background: rgba(215, 147, 255, 0.28);
}
.corpio-attachments .attachment.video > i {
    color: purple;
}
.card-body .card .card-body.corpio-attachments {
    padding: 1.25rem 0;
}
.popover {
    width: 400px;
    max-width: 100%;
}
.profile-pic > img {
    height: 7rem;
    width: 7rem;
}
.footer > div > p {
    color: white;
    text-decoration: none;
}
.footer > div > p > a {
    color: white;
    text-decoration: none;
}
.footer > div > p > a:hover {
    color: #929292;
    text-decoration: underline;
}

/* css change text color based on bg lightness */
/* used in public register form */
/* variables with secondary color */
.btn-color-bg {
    --h: var(--hue-secondary);
    --s: var(--sat-secondary);
    --l: var(--light-secondary);
}
/* javascript function adds bg-secondary to this label-button in register form
   and selection is better to be darker than unselected
   so to not break anything, this secondary has a primary color */
/* when selected: variables with primary color */
.btn-color-bg.bg-secondary {
    --h: var(--hue-primary);
    --s: var(--sat-primary);
    --l: var(--light-primary);
}
/* bg calculations */
.btn-color-bg,
.btn-color-bg.bg-secondary {
    background: hsl(var(--h) calc(var(--s) * 1%) calc(var(--l) * 1%)) !important;

    --switch: calc((var(--l) - var(--threshold)) * -100%);
    color: hsl(0, 0%, var(--switch));
}
/* primary bg hover */
.btn-color-bg:hover {
    --l: calc(var(--light-secondary) - 10);

    background: hsl(var(--h) calc(var(--s) * 1%) calc(var(--l) * 1%)) !important;

    --switch: calc((var(--l) - var(--threshold)) * -100%);
    color: hsl(0, 0%, var(--switch));
}
/* secondary bg hover */
.btn-color-bg:hover.bg-secondary {
    --l: calc(var(--light-primary) - 10);

    background: hsl(var(--h) calc(var(--s) * 1%) calc(var(--l) * 1%)) !important;

    --switch: calc((var(--l) - var(--threshold)) * -100%);
    color: hsl(0, 0%, var(--switch));
}
