﻿:root {
    font-family: Arial, sans-serif !important;
}

.mr-6 {
    margin-right: 6rem !Important;
}

.ml-6 {
    margin-left: 6rem !important;
}

.mx-6 {
    margin-left: 6rem !important;
    margin-right: 6rem !important;
}

.mr-7 {
    margin-right: 12rem !Important;
}

.ml-7 {
    margin-left: 12rem !important;
}

.mx-7 {
    margin-left: 12rem !important;
    margin-right: 12rem !important;
}

.sn-checkbox-use-protocol {
    display: none;
}

html {
    height: 100vh;
}

body {
    /*background: url(../images/squairy_light_2.png) repeat;*/
    font-family: Arial, sans-serif !important;
    display: flex;
    min-height: 100vh;
    height: 1px;
    flex-direction: column
}

main {
    flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    -webkit-flex: 1 0 auto;
}

.dese-container {
    background: white;
    /*box-shadow: 5px 5px 5px 5px #1e3a6266;*/
    padding-top: 1rem;
    flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    -webkit-flex: 1 0 auto;
}

    .dese-container h1 {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .dese-container .alert {
        text-align: center;
    }

.dese-button-primary {
    background: linear-gradient(to bottom, #3a5170 0%, #3a5170 24%, #1e3a62 100%);
    color: white;
    border-radius: 4px !important;
}

.dese-button-danger {
    background: linear-gradient(to bottom, #a11212 0%, #a11212 24%, #760a0a 100%);
    color: white;
    border-radius: 4px !important;
}

    .dese-button-danger:hover {
        background: linear-gradient(to bottom, #b30000 0%, #b30000 24%, #800000 100%);
        color: white;
        border-radius: 4px !important;
    }

.dese-button-primary:hover {
    background: linear-gradient(to bottom, #456287 0%, #456287 24%, #2a5189 100%);
    color: white;
}

.dese-button-success {
    background: linear-gradient(to bottom, #218838 0%, #218838 24%, #1C732F 100%);
    color: white;
    border-radius: 4px !important;
}

    .dese-button-success:hover {
        background: linear-gradient(to bottom, #24943C 0%, #24943C 24%, #1F7F34 100%);
        color: white;
        border-radius: 4px !important;
    }

.info-icon {
    font-size: small !important;
    color: black;
    text-decoration: none;
}

    .info-icon:hover {
        color: black;
        text-decoration: none;
    }

.popover-header > .close {
    margin-top: -5px;
}

.password-toggle {
    z-index: 3;
}

.password-icon {
    margin-left: -25px;
    margin-top: .75rem !important;
    z-index: 2;
}

    .password-icon > a {
        color: black;
        text-decoration: none;
    }

label.disabled {
    opacity: .75;
    cursor: not-allowed;
}

@media (min-width: 768px) {
    .password-icon {
        margin-left: -25px;
    }
}

a {
    /*    color: #1e3a62;*/
}

    a.active-person-type {
        border: #1e3a62 2px solid;
        border-radius: 2px;
        font-weight: 700 !important;
        padding: 2px;
    }

.dese-input-group {
    max-width: 305px;
}

.dese-input-container {
    display: block;
    text-align: left;
    position: relative;
    /*max-width: 305px;*/
    margin-top: .5rem !important;
}

.dese-input:not(.optional-field) + label, .optional-field + label {
    position: absolute;
    top: 0;
    left: 10px;
    transition: all ease-in-out .15s;
}

.password-input::-ms-clear {
    display: none;
}

.dese-password-input-group {
    max-width: 305px !important;
}

.dese-input {
    padding: 5px 10px;
    border: none;
    background-color: #2a518910;
    display: block;
    border-bottom: 1px solid !important;
    min-width: 305px;
    border-radius: 4px 4px 0px 0px;
    height: 40px;
}

    .dese-input[type=date].empty-date:not(:focus) {
        color: transparent;
        border-bottom: 1px solid black !important;
    }

    .dese-input[type=number] {
        -moz-appearance: textfield;
    }

    .dese-input:hover {
        background: #2a518933;
    }

    .dese-input:focus {
        outline: none;
        border-bottom: 1px solid transparent !important;
    }

        .dese-input:focus:not(select) {
            background: transparent;
        }

    .dese-input option {
        background: white;
    }

    .dese-input:focus ~ .dese-input-border {
        width: 100%;
    }

    .dese-input:focus + label,
    .dese-input:not(.optional-empty):valid + label,
    .optional-field:not(.optional-empty) + label,
    .dese-input:disabled + label {
        position: absolute;
        top: -17px;
        left: 0;
        color: #2a5189;
        font-size: smaller;
        opacity: 1;
    }

.dese-input-border {
    display: inline-block;
    width: 0px;
    height: 2px;
    background: #2a5189;
    position: relative;
    top: -15px;
    -webkit-transition: all ease-in-out .15s;
    -o-transition: all ease-in-out .15s;
    transition: all ease-in-out .15s;
}

select {
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: white;
    border: none;
    border-radius: 4px;
    display: inline-block;
    font: inherit;
    line-height: 1.5em;
    padding: 0.5em 3.5em 0.5em 1em;
}

    select.dese-input, select.dese-input:hover {
        background-image: linear-gradient( 45deg, transparent 50%, black 50%), linear-gradient( 135deg, black 50%, transparent 50%);
        background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), 100% 0;
        background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
        background-repeat: no-repeat;
    }

.dese-input-error-container {
    display: block;
    margin-top: -15px;
    margin-bottom: 15px;
}

.text-danger + .text-danger, .input-group > .dese-input-error-container {
    text-align: center;
    position: relative;
    /*max-width: 305px;*/
    margin-top: -15px !important;
    margin-bottom: 15px !important;
    text-align: left !important;
    width: 100%;
}

.dese-input-sort-container {
    display: block;
    margin-top: -15px;
    margin-bottom: 15px;
}

.input-group > .dese-input-sort-container {
    text-align: center;
    position: relative;
    /*max-width: 305px;*/
    margin-top: -15px !important;
    margin-bottom: 15px !important;
    text-align: left !important;
    width: 100%;
}

.dese-dropdown-toggle {
    height: 40px;
    background-color: #2a518910;
    border: none;
    border-bottom: 1px solid black;
}

    .dese-dropdown-toggle:hover {
        background-color: #2a518933;
    }

.dese-dropdown-menu {
    height: 15rem;
    width: 40rem;
    overflow-y: scroll;
    padding: 5px;
}

.first-option {
    outline: -webkit-focus-ring-color auto 1px;
}
