﻿*, ::after, ::before {
    box-sizing: border-box;
}

/* Jquery validation -------------------------------------------------------- */

.text-danger {
    color: #dc3545;
    display: block;
}

.error {
    color: #dc3545;
}

#main .validation-summary-errors ul {
    margin: 0 0 20px 0;
    padding: 0;
}

#main .validation-summary-errors li {
    margin: 0;
    padding: 0 0 5px 0;
}

    #main .validation-summary-errors li::before {
        display: none;
    }

/* END Jquery validation -------------------------------------------------------- */


/* Grid-System -------------------------------------------------------- */
/* http://j4n.co/blog/Creating-your-own-css-grid-system */

.grid-container {
    width: 100%;
    box-sizing: border-box;
}

    /*-- our cleafix hack -- */
    .grid-container .row:before,
    .grid-container .row:after {
        content: "";
        display: table;
        clear: both;
    }

    .grid-container .row {
        margin-right: -20px;
        margin-left: -20px;
    }

[class*='col-'] {
    float: left;
    min-height: 1px;
    width: 16.66%;
    /*-- our gutter -- */
    padding: 0 20px;
}

.col-1 {
    width: 16.66%;
}

.col-2 {
    width: 33.33%;
}

.col-3 {
    width: 50%;
}

.col-4 {
    width: 66.66%;
}

.col-5 {
    width: 83.33%;
}

.col-6 {
    width: 100%;
}

.outline, .outline * {
    outline: 1px solid #F6A1A1;
}

@media all and (max-width: 800px) {
    .col-1 {
        width: 33.33%;
    }

    .col-2 {
        width: 50%;
    }

    .col-3 {
        width: 83.33%;
    }

    .col-4 {
        width: 100%;
    }

    .col-5 {
        width: 100%;
    }

    .col-6 {
        width: 100%;
    }

    .row .col-2:last-of-type {
        width: 100%;
    }

    .row .col-5 ~ .col-1 {
        width: 100%;
    }
}

@media all and (max-width: 650px) {
    .col-1,
    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6 {
        float: none;
        width: 100%;
    }
}

/* END Grid-System -------------------------------------------------------- */


/* Forms -------------------------------------------------------- */

.form-section {
    padding: 20px;
    margin-bottom: 15px;
    background-color: #F7F7F7;
}

.grid-container .form-row:before,
.grid-container .form-row:after {
    content: "";
    display: table;
    clear: both;
}

.grid-container .form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -20px;
    margin-left: -20px;
}

    .grid-container .form-row [class*='col-'] {
        float: none;
    }


/* Form groups */

.form-group {
    margin-bottom: 17px;
}

    .form-group.radiobutton,
    .form-group.radio {
        margin-bottom: 2px;
    }


/* Labels */

.control-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    line-height: 1.35;
}


/* Text inputs / selects / textareas */

.form-control {
    display: block;
    width: 100%;
    height: 44px;
    padding: 9px 12px;
    font-family: inherit;
    font-size: 16px;
    font-weight: inherit;
    line-height: 1.4;
    color: #333;
    background-color: #fff;
    background-image: none;
    border: 1px solid #bfc3c7;
    border-radius: 6px;
    box-shadow: none;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

    .form-control:hover {
        border-color: #999fa5;
    }

    .form-control:focus {
        border-color: var(--LinkColor, #007bff);
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.12);
    }

    .form-control::placeholder {
        color: #8b8f94;
        opacity: 1;
    }

textarea.form-control {
    height: auto;
    min-height: 160px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}


/* Disabled / readonly */

.form-control:disabled,
.form-control[readonly] {
    cursor: default;
    opacity: 0.7;
}


/* Checkbox */

.form-control.checkbox,
.form-control.checkboxmulti,
.form-control[type="checkbox"] {
    display: inline-block;
    width: 19px;
    height: 19px;
    padding: 0;
    box-shadow: none;
    accent-color: var(--LinkColor, #007bff);
}

.form-control.checkBoxInline,
.control-label.checkBoxInline {
    display: inline-block;
    vertical-align: middle;
}

.form-control.checkBoxInline {
    margin-right: 5px;
}

.control-label > .checkbox,
.control-label > .checkboxmulti {
    margin: 0 10px 5px 0;
    vertical-align: middle;
    box-shadow: none;
}


/* Radio */

.form-control.radiobutton,
.form-control.radio {
    display: inline-block;
    width: 18px;
    height: 18px;
    padding: 0;
    box-shadow: none;
    accent-color: var(--LinkColor, #007bff);
}

.control-label > .radiobutton,
.control-label > .radio {
    margin: 0 5px 5px 0;
    vertical-align: middle;
    box-shadow: none;
}


/* File upload */

input[type="file"].form-control {
    height: auto;
    min-height: 44px;
    padding: 6px;
    cursor: pointer;
}

    input[type="file"].form-control::file-selector-button {
        margin-right: 12px;
        padding: 7px 11px;
        font-family: inherit;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4;
        color: var(--ButtonLinkColor, #fff);
        background-color: var(--button-color, #808080);
        border: 0;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

        input[type="file"].form-control::file-selector-button:hover {
            background-color: var(--button-hover-color, #666);
        }


/* Validation */

.input-validation-error,
.form-control.input-validation-error {
    border-color: #dc3545;
}

    .form-control.input-validation-error:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12);
    }

.field-validation-error {
    display: block;
    margin-top: 5px;
    font-size: 14px;
}


/* Mobile */

@media screen and (max-width: 767.9px) {
    .grid-container .form-row {
        display: block;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .form-control {
        font-size: 16px;
    }

    textarea.form-control {
        min-height: 140px;
    }
}

/* End Forms -------------------------------------------------------- */


/* Buttons -------------------------------------------------------- */

.button {
    background-color: var(--button-color);
    border: 1px solid var(--button-color);
    border-radius: 4px;
    border: none;
    margin: 0 0 20px 0;
    padding: 8px 12px;
    color: var(--ButtonLinkColor);
    text-decoration: none;
    display: inline-block;
    line-height: 1.4;
    cursor: pointer;
}

    .button:visited {
        text-decoration: none;
        color: var(--ButtonLinkColor);
        border: none;
    }

    .button:hover {
        text-decoration: none;
        background-color: var(--button-hover-color);
        border: 1px solid var(--button-hover-color);
        color: var(--ButtonLinkHoverColor);
        border: none;
    }

    .button.disabled,
    .button.disabled:hover {
        background-color: #E5E5E5;
        cursor: default;
    }

input.button {
    cursor: pointer;
}

/* Used if the button is a span */

.button.spinning::after {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font: var(--fa-font-solid);
    content: "\f110";
    animation-name: spin;
    animation-duration: 1500ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    margin-left: 10px;
}

/* Used if the button is an input */

.registerButtonContainer {
    position: relative;
    display: inline-block;
}

input.button.spinning {
    padding-right: 32px;
}

    input.button.spinning + .spinningIcon::after {
        display: inline-block;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        font: var(--fa-font-solid);
        content: "\f110";
        animation-name: spin;
        animation-duration: 1500ms;
        animation-iteration-count: infinite;
        animation-timing-function: linear;
        color: #fff;
        position: absolute;
        top: 11px;
        right: 10px;
    }

/* End used if the button is an input */

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* End Buttons -------------------------------------------------------- */


/* Alert -------------------------------------------------------- */

.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-info {
    color: #0c5460;
    background-color: #D4EDDA;
    border-color: #D4EDDA;
}

.alert-warning {
    color: #0c5460;
    background-color: #FFF3CD;
    border-color: #FFF3CD;
}

.alert-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #CE3343;
}

/* End Alert -------------------------------------------------------- */


/* Video embed containers --------------------------------------------- */

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

    .embed-container iframe,
    .embed-container object,
    .embed-container embed {
        position: absolute;
        top
