﻿
:root {
    --CSSColor: #333333;
    --LinkColor: #4C86A5;
    --LinkHoverColor: #4C86A5;
    --ButtonLinkColor: #fff;
    --ButtonLinkHoverColor: #fff;
}


*, ::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 0 0 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 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;
    background-color: #F7F7F7;
    margin-bottom: 15px;
}

.grid-container .form-row:before,
.grid-container .form-row:after {
    content: "";
    display: table;
    clear: both;
}

.grid-container .form-row {
    margin-right: -20px;
    margin-left: -20px;
    display: flex;
    flex-wrap: wrap;
}

.grid-container .form-row [class*='col-'] {
    float: none;
}

.form-group {
    margin-bottom: 17px;
}

.form-group.radiobutton,
.form-group.radio {
    margin-bottom: 2px;
}

.control-label {
    display: block;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555555;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6);
}

textarea.form-control {
    min-height: 200px;
}

.form-control.checkbox,
.form-control.checkboxmulti,
.form-control[type=checkbox] {
    width: 19px;
    display: inline-block;
    box-shadow: none;
}

.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;
}

.form-control.radiobutton,
.form-control.radio {
    width: 18px;
    display: inline-block;
    box-shadow: none;
}

.control-label > .radiobutton,
.control-label > .radio {
    margin: 0 5px 5px 0;
    vertical-align: middle;
    box-shadow: none;
}

@media screen and (max-width: 767.9px) {

    .grid-container .form-row {
        display: block;
    }
    
    .form-group {
        margin-bottom: 9px;
    }
}


/* End Forms -------------------------------------------------------- */

/* Buttons -------------------------------------------------------- */

.button {
    background-color: #aaaaaa;
    border: 1px solid #aaaaaa;
    border-radius: 4px;
    border: none;
    margin: 0 0 20px 0;
    padding: 8px 12px 8px 12px;
    color: #fff;
    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: #808080;
    border: 1px solid #808080;
    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: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* End Video embed containers --------------------------------------------- */

/* Jquery FileUpload --------------------------------------------- */

@-webkit-keyframes progress-bar-stripes {
    from {
        background-position: 1rem 0
    }

    to {
        background-position: 0 0
    }
}

@keyframes progress-bar-stripes {
    from {
        background-position: 1rem 0
    }

    to {
        background-position: 0 0
    }
}

.progress {
    display: -ms-flexbox;
    display: flex;
    height: 1rem;
    overflow: hidden;
    line-height: 0;
    font-size: .75rem;
    background-color: #e9ecef;
    border-radius: .25rem;
    margin-top: 10px;
}

.progress-bar {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #007bff;
    transition: width .6s ease;
}

@media (prefers-reduced-motion:reduce) {
    .progress-bar {
        transition: none
    }
}

.progress-bar-striped {
    background-image: linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
    background-size: 1rem 1rem
}

.progress-bar-animated {
    -webkit-animation: progress-bar-stripes 1s linear infinite;
    animation: progress-bar-stripes 1s linear infinite
}

@media (prefers-reduced-motion:reduce) {
    .progress-bar-animated {
        -webkit-animation: none;
        animation: none
    }
}


.button.fileinput-button
{
    margin-bottom: 0;
}

/* End Jquery FileUpload --------------------------------------------- */

/* Login ---------------------------------------------------------------------------------*/
.loginCard {
    width: 280px;
}
/* End Login ------------------------------------------------------------------------------*/