/* Header / CME Button */
#headerNavbar .col-auto {
    display: flex;
}

.hidden {
    display: none;
}

.cme-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0.0 0.5rem 0 0.5rem;
    background-image: none !important;
    width: auto;
    height: auto;
}

.cme-circle {
    width: 48px!important;
    height: auto;
}

.cme-video-btn {
    display: none;
    position: absolute;
    width: 50px!important;
    top: 5%;
    right: 5%;
    z-index: 1;
}

.text .cme-video-btn {
    position: unset;
    z-index: 9999;
}

.item .text-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.text-head .text-box {
    width: fit-content;
}

#sponsorModal {
    z-index: 1070;
}

.popover-body span {
    color: #2A70AC;
    cursor: pointer;
}

/* CME Modal */
.cme-gray {
    color: #BEBDBD;
}

.cme-green {
    color: #91C256;
}

.bar-green {
    background-color: #91C256;
}

.bar-blue {
    background-color: #2A70AC;
}

.modal-backdrop.show {
    /* opacity: 0; */
}

#cmeModal .fa-user {
    font-size: 1.3rem;
    padding-right: 0.3rem;
    color:#2A70AC;
}

#cmeModal .modal-dialog {
    max-width: 300px!important;
    margin: 100px 4rem auto;
}

#cmeModal .modal-content,
#efnModal .modal-content {
    border-radius: 20px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

#cmeModal .modal-header,
#efnModal .modal-header {
    border-bottom: 0;
    padding-top: 0.5rem;
    padding-bottom: 0;
}

#cmeModal .modal-body {
    padding: 1rem 1rem 0 1rem;
}

#cmeModal .custom-switch {
    width: 70%
}

#cmeModal .modal-body label {
    display: flex;
}

#cmeModal .custom-control-input:focus ~ 
.custom-control-label::before {
      border-color: #91C256 !important;
      box-shadow:
        0 0 0 0rem rgba(0, 0, 0, 0) !important;
}

#cmeModal .custom-control-input:checked ~ 
.custom-control-label::before {
      border-color: #91C256 !important;
      background-color: #91C256 !important;
}

#cmeModal .custom-control-input:active ~ 
.custom-control-label::before {
      background-color: #91C256 !important;
      border-color: #91C256 !important;
}
#cmeModal .custom-control-input:focus:not(:checked) ~ 
.custom-control-label::before {
      border-color: #91C256 !important;
}

#cmeModal .info-button {
    width: fit-content;
}

#cmeModal .info {
    cursor: pointer;
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem;
    background-color: transparent;
    border: 0;
    float: left;
}

#cmeModal .cme-info,
#cmeModal .cme-points-info {
    color:#2A70AC;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

#cmeModal .cme-wrapper {
    display: flex;
    width: 100%;
}

#cmeModal .cme-points {
    margin-left: 0.5rem;
}

#cmeModal .blue-points {
    color:#2A70AC;
    font-size: 1.5rem;
}

#cmeModal a {
    display: flex;
    justify-content: center;
}

#cmeModal a:last-child {
    margin-bottom: 1rem;
}

.btn-cme {
    color: #fff!important;
    background-color: #2A70AC;
    border-color: #2A70AC;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    width: 80%;
    margin: 0.25rem;
}

a.sponsors,
a.logout {
    padding: 0 0.5rem;
    color: #2A70AC!important;
    text-decoration: underline!important;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    #cmeModal .modal-dialog {
        margin: 70px 2.5rem auto;
    }
}

@media screen and (max-width: 575px) {
    #cmeModal .modal-dialog {
        margin: 60px 1rem auto;
    }

    .cme-btn {
        padding: 0;
    }
    
    .cme-circle {
        width: 35px!important;
        height: auto;
    }
}

/* EFN-Modal */

#efnModal .modal-dialog {
    max-width: 500px!important;
    margin: 100px 4rem auto;
}

#efnModal form {
    text-align: center;
}

#efnModal .form-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#efnModal input {
    width: 80%;
}

#efnModal .btn-cme {
    width: fit-content;
}

@media screen and (max-width: 575px) {
    #efnModal .modal-dialog {
        max-width: 95%;
        margin: 0.1rem auto;  
    }
}


/* Fragebögen-Modal */

#questionModal .modal-dialog {
    max-width: 800px;
}

#questionModal .hidden {
    display: none;
}

#questionModal .question {
    font-weight: 600;
}

#questionModal .error {
    border: 1px solid #f5c6cb;
    background-color: #f8d7da;
    color: #721c24;
    text-align: center;
    padding-top: 1rem;
    margin: 1rem 0 1rem;
}

#questionModal .questionnaire-info {
    display: flex;
    text-align: left;
    border: 1px solid #91C256;
    background-color: #91C256;
    color: #fff;
    padding: 1rem 1rem 0;
    margin: 1rem 0 1rem;
}

#questionModal .questionnaire-info .info-badge {
    margin-right: 1rem;
    font-size: 1.3rem;
}

#questionModal .questionnaire-wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 2rem;
    padding-bottom: 1rem;
}

#questionModal .progress-wrapper {
    width: 70%;
    position: relative;
    padding-bottom: 1rem;
}

#questionModal .progress-text {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    color:#2A70AC;
}

#questionModal .progress {
    background-color: #BFD4E6;
}

#questionModal .point-marker {
    position: absolute;
    width: 3px;
    top: 5px;
    z-index: 200;
}

#questionModal .time-marker {
    position: absolute;
    top: 40px;
    color: #2A70AC;
    font-size: 0.8rem;
}

#questionModal .time-marker-progress {
    color: #BFD4E6;
}

#questionModal .time-marker-finished {
    color:#91C256;
}


#questionModal .blue-marker {
    border-top: 16px solid #BFD4E6;
}

#questionModal .green-marker {
    border-top: 16px solid #91C256;
}

#questionModal .questionnaire,
#questionModal .questionnaire-wrapper .btn {
    color: #fff!important;
    background-color: #2A70AC;
    border-color: #2A70AC;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    width: 25%;
    margin: 0.25rem;
}

#questionModal .questionnaire-wrapper .btn.cme-impossible {
    opacity: .5;
}

#questionModal .questionnaire-wrapper .btn a {
    color: white;
    text-decoration: none!important;
}

#questionModal .answers {
    padding: 1rem 0 1rem;
}
#questionModal .answer{
    background: #f8f8f8;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 7px 10px;
    margin: 8px auto;
    opacity: 0.9;
    width: 100%
}

#questionModal .cme-answered {
    pointer-events: none;
    border: 1px solid #91C256;
    background: #91C256;
}

#questionModal .cme-impossible {
    pointer-events: none;
    border: #BFD4E6;
    background-color: #BFD4E6;
    color: #fff;
}

#questionModal .answer:hover{
    opacity: 1;
    background: #eee;
}

#questionModal .selected {
    background: #cfe6ef !important;
    border-color: #a6d2e3 !important;
}

#questionModal .btn-questionnaire {
    color: #fff!important;
    background-color: #2A70AC;
    border-color: #2A70AC;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    width: fit-content;
    margin: 0.25rem;
}

#questionModal .green-text {
    color:#91C256;
}
#questionModal .red-text {
    color:#721c24;
}


@media screen and (max-width: 1024px) {
    #questionModal .modal-dialog {
        max-width: 80%;
        margin: 0.5rem auto;
    }
}

@media screen and (max-width: 900px) {
    #questionModal .progress-wrapper {
        width: 100%;
    }
    #questionModal .questionnaire-wrapper {
        justify-content: center;
    }
    #questionModal .questionnaire,
    #questionModal .questionnaire-wrapper .btn {
        margin-top: 2rem;
        width: fit-content;
    }
}

@media screen and (max-width: 500px) {
    #questionModal .modal-dialog {
        max-width: 95%;
        margin: 0.1rem auto;
    }
}

@media screen and (max-width: 350px) {
    #questionModal .indication-points {
        display: none;
    }
}

#reminder
{
    display: none;
    position: fixed;
    top: 15px;
    width: 350px;
    height: auto;
    left: calc(50% - 125px);
    z-index: 9999;
    background-color: #fff;
    padding: 1rem;
    border-radius: 2rem;
}

.reminder-buttons 
{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.reminder-close 
{
    width: 100%;
    height: auto;
    display: inline-block;
}

.success-animation 
{ 
    margin: 0 auto 20px;
}

.checkmark 
{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4bb71b;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4bb71b;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    position:relative;
    top: 5px;
    right: 5px;
   margin: 0 auto;
}
.checkmark__circle 
{
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4bb71b;
    fill: #fff;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
 
}

.checkmark__check 
{
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke 
{
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale 
{
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill 
{
    100% {
        box-shadow: inset 0px 0px 0px 30px #4bb71b;
    }
}