/*@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');*/

@font-face {
    font-family: 'WebSymbolsRegular';
    src: url('websymbols/websymbols-regular-webfont.eot');
    src: url('websymbols/websymbols-regular-webfontd41d.eot?#iefix') format('embedded-opentype'), url('websymbols/websymbols-regular-webfont.woff') format('woff'), url('websymbols/websymbols-regular-webfont.ttf') format('truetype'), url('websymbols/websymbols-regular-webfont.svg#WebSymbolsRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

html, body {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    background-color: #fff;
    font-weight: 300;
    margin: 0;
    padding: 0;
}

.ca-menu {
    padding: 0;
    margin: 20px auto;
    width: 100%;
}

    .ca-menu li {
        width: 100%;
        height: 60px;
        overflow: hidden;
        position: relative;
        display: block;
        background: #fff;
        -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
        -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
        box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
        margin-bottom: 4px;
        -webkit-transition: all 300ms linear;
        -moz-transition: all 300ms linear;
        -o-transition: all 300ms linear;
        -ms-transition: all 300ms linear;
        transition: all 300ms linear;
    }

        .ca-menu li:last-child {
            margin-bottom: 0px;
        }

        .ca-menu li a {
            text-align: left;
            width: 100%;
            height: 100%;
            display: block;
            color: #333;
            position: relative;
        }

.ca-icon {
    font-family: 'WebSymbolsRegular', cursive;
    font-size: 15px;
    text-shadow: 0px 0px 1px #333;
    line-height: 60px;
    position: absolute;
    width: 30px;
    left: 10px;
    text-align: center;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}

.ca-content {
    position: absolute;
    left: 60px;
    width: 100%;
    height: 36px;
    top: 20px;
}

.ca-main {
    font-size: 16px;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}

.ca-sub {
    font-size: 14px;
    color: #666;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}

.ca-menu li:hover {
    background: #e1f0fa;
}

    .ca-menu li:hover .ca-icon {
        font-size: 25px;
        color: #259add;
        opacity: 0.8;
        text-shadow: 0px 0px 13px #fff;
    }

    .ca-menu li:hover .ca-main {
        opacity: 1;
        color: #2676ac;
        -webkit-animation: moveFromTop 300ms ease-in-out;
        -moz-animation: moveFromTop 300ms ease-in-out;
        -ms-animation: moveFromTop 300ms ease-in-out;
    }

    .ca-menu li:hover .ca-sub {
        opacity: 1;
        -webkit-animation: moveFromBottom 300ms ease-in-out;
        -moz-animation: moveFromBottom 300ms ease-in-out;
        -ms-animation: moveFromBottom 300ms ease-in-out;
    }

a, .btn-link {
    color: #0366d6;
}

    a.btnReg {
        text-decoration: none;
        font-weight: 500;
        color: #3b78e7;
    }

    a:hover {
        cursor: pointer;
    }

.btn-primary {
    color: #fff;
    background-color: #428bca;
    border-color: #357ebd;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

img.logo {
    width: 50px;
    padding: 15px 0;
}


.gray-panel {
    background-color: #fafafa;
    border-left: 1px #c1c1c1 solid;
}

.main-content {
    padding: 30px;
}

h3 {
    font: 500 25px Roboto,RobotoDraft,Helvetica,Arial,sans-serif;
}




.loginForm {
    position: absolute;
    top: 50%;
    bottom: 50%;
    width: 100%;
}


.miniLogo {
    text-align: center;
    padding-bottom: 15px;
    display: block;
}

    .miniLogo h3 {
        margin: 0;
    }

.form {
    border-radius: 2px;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {
    padding-top: 1.1rem;
}

.loginPanel {
    margin: 100px auto;
    width: 350px;
    padding: 20px;
    height: auto;
    min-height: 420px;
}

.smsText {
    border: 1px #eee dotted;
    background-color: #fafafa;
    margin-right: 5px;
    color: #CE0003;
    font-weight: 600;
    display: inline-block;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.otherLogin {
    padding: 0;
    list-style-type: none;
}

    .otherLogin li {
        display: inline-block;
        margin: 0 15px 0 0;
    }

        .otherLogin li a {
            display: block;
            font-size: 40px;
            color: #0F7FD4;
        }

        .otherLogin li:last-child a {
            color: #C20508;
        }

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }

    .loginForm {
        position: relative;
        width: 90%;
        margin: 0 auto;
    }

    .loginPanel {
        margin: 30px auto !important;
        width: 100%;
        padding: 0 15px;
    }

    .loginForm .form {
        box-shadow: none !important;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .loginForm {
        position: relative;
        width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 320px) {
    span.code {
        display: block;
        margin: 10px 0;
    }

    .main-content {
        padding: 15px;
    }

    .right-column {
        margin: 0;
    }

    .left-columm {
        position: relative;
        z-index: 9999;
        background-color: #fff;
        margin-left: -480px;
    }

    .loginForm {
        position: relative;
        width: 90% !important;
        margin: 0 auto;
    }

    .loginPanel {
        margin: 30px auto !important;
        width: 100%;
        padding: 0 15px;
    }

    .loginForm .form {
        box-shadow: none !important;
    }
}
