/**----------------------------------------- 
    Form
-----------------------------------------**/

.multiple-choice-radio > .radio {
    padding-left: 0!important;
    margin-left: 0!important;
}

.multiple-choice-radio > .radio ~ .radio {
    padding-left: 20px!important;
    margin-left: 20px!important;
}

.checkbox label {
    display: inline-flex!important;
    align-items: center;
}

.radio label {
    display: flex!important;
    align-items: center!important;
}

.field-container:not(.ng-hide) {
    margin-bottom: 20px!important;
}

.multiple-choice-radio span.text-danger {
	display: block;
}

.field-container:not(.ng-hide).form-group-form-flex-20 {
    margin-bottom: 20px!important;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.form-group-form-flex-20 > div {
    flex: 1 1 20%;
}

.form-group-form-flex-20 > input {
    flex: 1 1 80%;
}

.form-group-form-flex-20 > span {
    display: block;
}

.form-group-form-flex-20 > input,
.form-group-form-flex-20 > select {
    flex: 1 1 80%;
}

input,
select option {
    font-size: 18px!important;
}

.field-container:not(.ng-hide) {
    margin-bottom: 40px!important;
}

.field-container.form-group-form-label-only {
    margin-bottom: 10px!important;
}

input.input-readonly {
    border: 0!important;
    box-shadow: none!important;
}

input.input-readonly--zero {
    border: 0!important;
    box-shadow: none!important;
    border-radius: 0!important;
    background: 0!important;
    padding: 0!important;
}

.fa-arrow-left {
    margin-left: 0!important;
    margin-right: 4px;
}

.text-warning {
    display: block;
    margin-bottom: 5px;
    margin-top: 5px;
    font-size: 14px;
}

label {
    padding-top: 0!important;
    letter-spacing: 0.02em;
}

.lebel--step2 {
    display: flex;
    flex-direction: column;
}

.lebel--step2 img {
    max-width: 155px;
    margin-bottom: 10px;
}

/* .radiocontainer {
    display: flex;
    flex-direction: column-reverse;
} */

.err-placeholder {
    font-size: 12px;
}

.control-label:not(.ng-hide) {
    margin-bottom: 10px!important;
}

p > label::before,
.control-label:not(.ng-hide)::before,
div.label-text::before,
.table-review .link-uploads a::before {
    content: '';
    display: inline-block;
    margin-right: 7px;
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.table-review .link-uploads a::before {
    content: '';
    font-size: 70%;
}

p > label::before,
.control-label:not(.ng-hide)::before {
    content: '\f111';
    font-size: 50%;
    display:   none;
}

div.label-text {
    color: #8a6d3b;
    font-size: 14px!important;
}

div.label-text::before {
    content: '\f06a';
    font-size: 60%;
}

.radio {
    padding-top: 0!important;
}

.label-top > label::before {
    display: none!important;
}

.dashboard-status {
    display: flex;
    justify-content: space-between;
}

#dnn_ctr1093_ContentPane .form-checkbox-agree-to-terms,
#dnn_ctr1181_ContentPane .form-checkbox-agree-to-terms {
    text-align: center;
}

.group-flex-notes {
    display: flex;
    flex-direction: column;
}

.group-flex-notes > div:first-of-type,
.group-flex-notes > div:last-of-type {
    flex-basis: 100%;
}

.group-flex-notes > div:last-of-type > div {
    width: 100%;
}

@media (min-width: 768px) {
    .group-flex-notes {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .group-flex-notes > div:first-of-type {
        flex-basis: 75%;
    }

    .group-flex-notes > div:last-of-type {
    flex-basis: 25%;
    }
}

.elem-flex-col {
    display: flex;
    flex-direction: column;
}

/**----------------------------------------- 
    Button
-----------------------------------------**/

.btn-top-space {
    margin-top: 2em!important;
}

.btn-float-left {
    display: inline-flex!important;
    align-items: center!important;
}

.btn-float-left-revert {
    flex-direction: row-reverse!important;
}

.btn-float-left i {
    margin-right: 7px!important;
    margin-left: 0!important;
}

.btn-float-right {
    display: inline-flex!important;
    align-items: center!important;
}

.btn-float-right i {
    margin-left: 7px!important;
    margin-right: 0!important;
}

#dnn_ctr1001_Main_pnlContent .form-group-btn-float-left {
    margin-top: 0!important;
}

.btn-disabled {
    color: #fff!important;
    background-color: #afb3b7;
    border-color: #afb3b7!important;
}

.button-circle {
    font-size: 18px;
    font-weight: bold;
    border: 3px solid #003F87;
    padding: 10px 0;
    border-radius: 50px;
    width: 100%;
    display: block;
    text-align: center;
    color: #003F87!important;
    transition: background .3s ease, color .3s ease;
}

.button-circle:hover {
    text-decoration: none;
    transition: background .3s ease, color .3s ease;
}

.button-circle--dark-blue:hover {
    background: #003F87;
    color: white!important;
}

#dnn883root .btn-danger {
    color: #dc3545!important;
    background-color: transparent!important;
    background-image: none!important;
    border-color: #dc3545!important;
    transition: background-color .3s ease;
}

#dnn883root .btn-danger:hover {
    color: #fff!important;
    background-color: #dc3545!important;
    border-color: #dc3545!important;
    transition: background-color .3s ease;
}

.bstrap30 .btn-warning {
    color: #fff!important;
}

/**----------------------------------------- 
    Table 
-----------------------------------------**/

.table-review {
    width: 100%;
    margin: 0 0 30px;
    border: 1px solid #eee;
    letter-spacing: 0.02em;
    font-size: 18px;
}

.table-review caption {
    padding: 15px 20px!important;
    font-size: 21px;
    background-color: #e9ecef;
    border-width: 1px 1px 0;
    border-style: solid;
    border-color: #eee;
    color: #333!important;
}

.table-review caption h3 {
    display: inline-block;
    margin: 0;
}

.table-review caption a {
    float: right;
    font-size: 18px;
}

.table-review th,
.table-review td {
    padding: 12px 20px!important;
    border-bottom: 1px solid #eee;
}

.table-review thead th {
    font-size: 21px;
}

.table-review thead th:first-of-type {
    background-color: #f7f9fa;
}

.table-review tbody th {
    width: 50%;
    background-color: #f7f9fa;
    font-weight: normal;
}

.table-review tbody td {
    width: 50%;
}

.table-review--quarter tbody td,
.table-review--quarter tbody th {
    width: 25%;
}

.table-review .link-uploads {
    display: block;
}

.table-review .link-uploads > span {
    display: block;
    font-size: 16px;
    margin-left: 16px;
}

.table-review h4 {
    font-size: 18px!important;
}

.table-review tbody tr.row-danger th,
.table-review tbody tr.row-danger td {
    background-color: #a9444224;
}

.table-review tbody tr.row-danger td {
    color: #dc3545;
}

.table-review tbody tr.row-warning th,
.table-review tbody tr.row-warning td {
    /* background: #ffc107; */
    background-color: #ffc1073d;
}

.table-review tbody th.row-direction--column > span {
    display: block;
}

.table-notes caption,
.ewds-table--equal caption {
    font-size: 2em;
    padding: 0 0 20px!important;
}

.table-notes thead th,
.table-notes tbody td {
    padding: 20px!important;
}

.table-notes thead tr th:first-of-type,
.table-notes tbody td td:first-of-type {
    width: 65%;
}

#tptab64 .table-responsive {
    overflow-x: visible!important;
}

.admin-entry-status {
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.admin-entry-status td,
.admin-entry-status th {
    padding: 1% 3%!important;
}

.admin-entry-status th {
    background-color: #e9ecef;
}

.admin-entry-status td:not(:last-of-type) {
    border-right: 1px solid #eee;
}

.bstrap30 .table-responsive {
    overflow: visible!important;
}

/**----------------------------------------- 
    Modal 
-----------------------------------------**/

@media (min-width: 768px) {
    .modal.in .modal-dialog,
    .modal.in .modal-dialog .modal-content {
        width: 600px!important;
    }
}

@media (min-width: 1024px) {
    .modal.in .modal-dialog,
    .modal.in .modal-dialog .modal-content {
        width: 980px!important;
    }
}

.modal.in .modal-dialog .modal-content .tab-content {
    font-size: 1.3em;
}

.modal.in .modal-dialog .modal-content .flatpickr-wrapper {
    display: block!important;
}


/**----------------------------------------- 
    Tab Pro
-----------------------------------------**/
.tab-form-popup .tab-pane,
.tab-form-popup .nav-tabs,
.tab-form-popup .tabLink {
    border: 0!important;
}
.tab-form-popup .nav-tabs {
    display: none!important;
}

/* .tab-form-popup .nav-tabs>li.active>a.tabLink, 
.tab-form-popup .nav-tabs>li.active>a:hover, 
.tab-form-popup .nav-tabs>li.active>a:focus {
    background-color: transparent!important;
    color: #444!important;
} */

.tab-admin-details {
    margin-bottom: 50px;
}

#tptab63,
#tptab64,
#tptab70,
#tptab96 {
    font-size: 1.45em;
}

/**----------------------------------------- 
    callout
-----------------------------------------**/
.bd-callout {
    padding: 1.25rem;
    border: 1px solid #eee;
    border-left-width: 0.25rem;
    border-radius: 0.25rem;
}

.bd-callout p,
.bd-callout ul li,
.bd-callout a {
    font-size: 1.1em;
    line-height: 1.3em;
}

.bd-callout p:last-of-type {
    margin-bottom: 0!important;
}

.bd-callout h2,
.bd-callout h3,
.bd-callout h4 {
    margin-top: 0!important;
}

.bd-callout h4 {
    font-size: 1em!important;
    font-weight: 600!important;
}

.bd-callout ul {
    padding-left: 2em;
}

.bd-callout-default {
    border-left-color: #777;
}

.bd-callout-info {
    border-left-color: #5bc0de;
}

.bd-callout-warning {
    border-left-color: #f0ad4e;
}

.bd-callout-danger {
    border-left-color: #d9534f;
}

.bd-callout-success {
    border-left-color: #5cb85c;
}

.btn-success,
.btn-info,
.btn-warning {
    color: white!important;
}

.btn-flash {
    animation-duration: 1300ms;
    animation-iteration-count: 5;
}

.btn-flash--success {
    animation-name: success-glowing;
}

.btn-bounce {
    animation-name: bton-bounce;
    animation-timing-function: cubic-bezier(0.280, 0.840, 0.420, 1);
    animation-duration: 1300ms;
    animation-iteration-count: 5;
}

@keyframes bton-bounce {
    0%   { transform: scale(1,1)      translateY(0); }
    10%  { transform: scale(1.1,.9)   translateY(0); }
    30%  { transform: scale(.9,1.1)   translateY(-15px); }
    50%  { transform: scale(1.05,.95) translateY(0); }
    57%  { transform: scale(1,1)      translateY(-7px); }
    64%  { transform: scale(1,1)      translateY(0); }
    100% { transform: scale(1,1)      translateY(0); }
}

@keyframes success-glowing {
    0% {
        background-color: #2ba805;
        box-shadow: 0 0 5px #2ba805;
    }
    50% {
        background-color: #49e819;
        box-shadow: 0 0 20px #49e819;
    }
    100% {
        background-color: #2ba805;
        box-shadow: 0 0 5px #2ba805;
    }
}

/**----------------------------------------- 
    Flex box
-----------------------------------------**/
.flex-cards {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

@media (min-width: 768px) {
    .flex-cards {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        width: 102%;
        margin: 0 -1%;
    }
}

.flex-cards .flex-card {
    display: inline-flex;
    width: 100%;
    padding: 1.25em;
    margin: 0 2% 5%;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25em;
}

@media (min-width: 768px) {
    .flex-cards .flex-card {
        display: inline-flex;
        width: calc(33.33% - 2%);
        padding: 1.25em;
        margin: 0 1% 3%;
    }
}

.flex-cards .flex-card .flex-card__body {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.flex-cards .flex-card p:last-of-type {
    margin-bottom: 20px;
}

.entry-card {
    width: 100%;
    margin-top: 3rem;
}

.entry-card > h3, 
.entry-card > p {
    flex: 1 1 100%;
    text-align: center;
    margin-top: 0;
}


.user-dashboard__header {
    border-bottom: 1px solid #eee;    
}

.user-dashboard__header h2,
.user-dashboard__header p {
    margin: 0!important;
    border-bottom: 0;
    padding-bottom: 0;
}

.entry-card a.btn {
    flex: 0;
}

.entry-card p + a.btn {
    margin-top: 2rem;
}


/**
 * flex box - copied from bootstrap 5 because 3 doesnt have it :/
 */
.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-between h1 {
    margin-bottom: 0!important;
}

.align-items-center {
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-content-center {
    justify-content: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-wrap-reverse {
    flex-wrap: wrap-reverse;
}

.flex-wrap > *,
.flex-wrap-reverse > * {
    flex: 1 1 100%;
}

.ewds-mb {
    margin-bottom: 3rem;
}

/*------------------------------------
 * Table
 ------------------------------------*/

 .ewds-table {
    width: 100%;
    margin-bottom: 1.875rem;
    font-size: 1.2rem;
    border: 1px solid #eee;
    letter-spacing: 0.02em;

    caption {
        caption-side: top;
        padding: 0.9375rem 1.25rem!important;
        font-size: 1.3125rem;
        background-color: #e9ecef;
        border-width: 1px 1px 0;
        border-style: solid;
        border-color: #eee;
        color: #333!important;
        font-weight: bold;
    }

    tbody th,
    tbody td,
    thead th {
        padding: 0.75rem 1.25rem!important;
        border-bottom: 1px solid #eee;
        word-break: auto-phrase;
    }

    thead {
        background-color: #f8f9fa;
    }

    tbody {
        th {
            width: 40%;
            background-color: #f7f9fa;
            font-weight: normal;
        }

        td {
            width: 60%;
        }
    }
}


.ewds-table--thlong tbody th,
.ewds-table--thlong tbody td {
    width: 50%;
}

.ewds-table--equal thead th,
.ewds-table--equal tbody td {
    width: auto;
    padding: 0.5rem 1.25rem!important;
}

#table-message-box {
    font-size: 1.1rem;

    tbody td {
        padding: 0.3rem 1.25rem !important;

        &:first-of-type,
        &:nth-of-type(2) {
            width: 35%;
            // font-size: 0.95rem;
        }

        &:nth-last-of-type() {
            width: 10%;
            // font-size: 0.95rem;
        }
    }
}

#js-table-sorter {
    fieldset {
        width: 100%;
        margin-bottom: 1rem;

        display: inline-flex;
        align-items: center;
        
        input,
        button {
            margin: 0 0.5rem 0 0;
        }

        input {
            width: 50%;

            @media (min-width: 1366px) {
                width: 25%;
            }
        }

        .sort-button {
            text-wrap: nowrap;
            font-size: 0.9rem;

            padding: 5px 15px;
            border-radius: 25px;
            border: none;
            display: inline-block;
            color: #2e2e2e;
            text-decoration: none;
            background-color: rgba(0,0,0,0.05);

            &.desc::after {
                border-bottom: 4px solid #2e2e2e;
                right: -4px;
            }

            &.asc::after {
                border-top: 4px solid #2e2e2e;
                top: 11px;
            }

            &::after {
                content: "";
                width: 0;
                height: 0;
                border-left: 4px solid transparent;
                border-right: 4px solid transparent;
                border-bottom: 4px solid transparent;
                position: relative;
                top: -10px;
                right: -4px;
            }
        }
    }
}





