@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

.ql-snow {
    background: #fff;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

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;
        }

.navMenu {
    overflow: auto;
    height: 90vh
}

.feedbackDiv {
    position: absolute;
    bottom: 0px;
    text-align: center;
    width: 100%;
}

.feedbackLink {
    color: #ddd;
    text-decoration: none;
    font-family: Arial;
    font-size: 10pt;
    cursor: pointer;
}

    .feedbackLink:hover {
        color: #ddd;
    }

.feedbackImg {
    height: 20px;
    padding-bottom: 2px;
}

.feedbackIcon {
    font-size: 8pt !important;
    width: 0px !important;
    top: 3px !important;
    padding-left: 3px;
}

.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;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.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;
    }
}

@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;
    }
}






/*======================= CORE CUSTOM ATTRIBUTES ELEMENTS ================================*/
.menuButton {
    display: inline-block;
    z-index: 2;
    border: 2px solid rgba(235,235,235,0.6);
    color: rgba(255,255,255,0.8);
    padding: 5px 15px;
    cursor: pointer;
    transition: border-color 0.5s, background-color 0.5s, color 0.5s;
    border-radius: 25px;
    text-transform: uppercase;
    text-decoration: none !important;
    text-align: center;
}

    .menuButton img {
        height: 75px;
    }

.menuButtonText {
    color: #000;
    text-align: center;
    margin-top: 5px;
    padding-top: 5px;
    font-size: 9pt;
    border-top: dashed 1px #ddd;
    font-weight: bold;
    color: #777;
    letter-spacing: .3pt;
}

.menuButton img:first-child {
    height: 120px;
}


@media only screen and (max-width: 600px) {
    .menuButton img:first-child {
        height: 50px;
    }

    .menuButtonText {
        font-size: 10pt;
        margin-top: 3px;
        padding-top: 3px;
    }
}

.menuButton:hover {
    background-color: #ddd;
    border-color: transparent;
    color: #444;
}

    .menuButton:hover ~ .bg-1 {
        opacity: 0;
    }

    .menuButton:hover ~ .bg-2 {
        opacity: 0.7;
    }

.form-field {
    width: 50%;
    white-space: nowrap;
    padding: 5px;
}

.menuLabel {
    border-left: solid 1px #aaa;
}

// ---------- bootstrap additions ----------
.hrefAction {
    text-decoration: none;
    color: #aaa;
}

.outline {
    border: solid 1px #ccc;
}

.tableRowNumber {
    min-width: 30px;
    text-align: right;
}

.FieldSet_Main {
    border: 1px dotted #999 !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow: 0px 0px 0px 0px #999;
    box-shadow: 0px 0px 0px 0px #999;
    width: auto; /* Or  inherit */
    padding: 0 10px;
}

    .FieldSet_Main > legend:first-child {
        /*font-weight: bold !important;*/
        text-align: left !important;
        float: none;
        width: auto; /* Or  inherit */
        padding: 0 10px; /* To give a bit of padding on the left and right */
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-weight: 100;
        line-height: 1.2;
        letter-spacing: 0.02em;
        border: dotted 1px #ccc;
        background: #f9f7f5;
    }


.FieldSet_Sub {
    border: 1px dashed #ddd !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow: 0px 0px 0px 0px #ddd;
    box-shadow: 0px 0px 0px 0px #ddd;
    width: auto; /* Or  inherit */
    padding: 0 10px;
}

    .FieldSet_Sub > legend:first-child {
        /*font-weight: bold !important;*/
        text-align: left !important;
        float: none;
        width: auto; /* Or  inherit */
        padding: 0 10px; /* To give a bit of padding on the left and right */
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-weight: 100;
        line-height: 1.2;
        letter-spacing: 0.02em;
        font-size: 15pt;
        border: dotted 1px #ccc;
        background: #fefcfa;
    }

.FieldSet_Sub2 {
    border: 1px dashed #ddd !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow: 0px 0px 0px 0px #ddd;
    box-shadow: 0px 0px 0px 0px #ddd;
    width: auto; /* Or  inherit */
    padding: 0 10px;
}

    .FieldSet_Sub2 > legend:first-child {
        /*font-weight: bold !important;*/
        text-align: left !important;
        float: none;
        width: auto; /* Or  inherit */
        padding: 0 10px; /* To give a bit of padding on the left and right */
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-weight: 100;
        line-height: 1.2;
        letter-spacing: 0.02em;
        border: dotted 1px #ccc;
        background: #fefcfa;
    }

.FieldSet_Sub3 {
    border: 1px dashed #ddd !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow: 0px 0px 0px 0px #ddd;
    box-shadow: 0px 0px 0px 0px #ddd;
    width: auto; /* Or  inherit */
    padding: 0 10px;
}

    .FieldSet_Sub3 > legend:first-child {
        /*font-weight: bold !important;*/
        text-align: left !important;
        float: none;
        width: auto; /* Or  inherit */
        padding: 0 10px; /* To give a bit of padding on the left and right */
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        font-weight: 100;
        line-height: 1.2;
        letter-spacing: 0.02em;
        color: #777;
        font-size: 13pt;
        border: dotted 1px #ccc;
        background: #fefcfa;
    }

.btn {
    margin-top: 1px;
    margin-bottom: 1px;
    border-radius: 10px 100px / 120px;
    border: 2px double #666666;
    text-decoration: none;
    margin-right: 3px;
}

.btnNoBorder {
    border: none;
}

.btn-warning {
    color: white
}

.btn-info {
    color: white
}

.btn-light {
    border: solid 1px #ccc;
}

.btn:hover {
    text-decoration: none;
}

.btnMain {
    border-radius: 10% / 50%;
}

.btnSub {
    border-radius: 25% 10%;
}

.btnAction {
    border-radius: 10px 100px / 120px;
}

.btnRound {
    border-radius: 25px;
}

.btn-link {
    border: none;
    background: transparent;
}

.btn-purple {
    background-color: #563d7c;
    color: white;
}

    .btn-purple:hover {
        color: #000;
        background-color: #563d7c;
        border-color: #563d7c;
    }

.btnBorder-LightGray {
    border-color: #ddd;
}

.PageFeatureImage {
    max-width: 200px;
    max-height: 200px;
    margin-right: 20px;
}

.form-control {
    display: inline-block !important;
}

.headingIntroduction {
    font-family: Baskerville
}

.color-green {
    background-color: #5CDB94;
}

.greenBorder {
    border: solid 1px #cfc;
}

.redBorder {
    border: solid 1px #fcc;
}

.yellowBorder {
    border: solid 1px #ffc;
}

.blueBorder {
    border: solid 1px #ccf;
}

.purpleBorder {
    border: solid 1px #fcf;
}

.activeLight {
    background: #999;
}

.bg-purple {
    background-color: #563d7c;
}




.avitarDot {
    height: 40px;
    width: 40px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    padding-top: 7px;
    font-family: Calisto MT, Bookman Old Style, Bookman, Goudy Old Style, Garamond, Hoefler Text, Bitstream Charter, Georgia, serif;
    font-weight: 600;
    font-size: 13pt;
    letter-spacing: 1px;
    Text-transform: uppercase;
    color: #eee;
}


.chatsBackground {
    position: relative;
    height: 100vh;
}

    .chatsBackground::before {
        content: "";
        background-image: linear-gradient(180deg, #e5f0fa 0%, #fbebff 70%);
        background-size: cover;
        position: absolute;
        top: 0px;
        right: 0px;
        bottom: 0px;
        left: 0px;
        opacity: 0.2;
    }

.chatMessagesBackground {
    position: relative;
    height: 100vh;
}

    .chatMessagesBackground::before {
        content: "";
        background-image: url("/CoreFiles/Images/ChatBackground.jpg");
        background-repeat: repeat;
        background-color: #cccccc;
        /*background-size: cover;*/
        position: absolute;
        top: 0px;
        right: 0px;
        bottom: 0px;
        left: 0px;
        opacity: 0.3;
    }

.chatActions {
    position: absolute;
    vertical-align: middle;
    background: white;
    width: 130px;
    text-align: center;
    margin-right: 52px;
    margin-top: 5px;
    border-radius: 25px;
    font-size: 15pt;
    opacity: .95;
}

chatActions:hover + a {
}

.chatActions a {
    padding-right: 3px;
}

chatMessage {
}

.chatMessage:hover + .chatActions {
}

.emojiCharacter {
    display: inline-block;
    cursor: pointer;
    min-width: 35px;
    font-size: 15pt;
    border: solid white 1px;
    background: #fafafa;
    padding: 1px;
    text-align: center;
}

.subNav {
    opacity: 0;
    transition: opacity .55s ease-in-out;
    -moz-transition: opacity .55s ease-in-out;
    -webkit-transition: opacity .55s ease-in-out;
    position: absolute;
    top: 0px;
    right: 135px;
}

    .subNav:hover {
    }

.message {
}

    .message:hover .subNav {
        opacity: 1.0;
        transition: opacity .15s ease-in-out;
        -moz-transition: opacity .15s ease-in-out;
        -webkit-transition: opacity .15s ease-in-out;
    }

.chatAction {
    color: #656565 !important;
    cursor: pointer;
}

    .chatAction:hover {
        color: #000000 !important;
        text
    }

.shake {
    display: inline-block;
}

a.shake:hover {
    -webkit-animation-name: shake;
    -webkit-animation-duration: 0.8s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
}

@-webkit-keyframes shake {
    0% {
        -webkit-transform: translateX(1px);
        -webkit-transform: rotate(4deg);
    }

    10% {
        -webkit-transform: translateX(-1px);
        -webkit-transform: rotate(-4deg);
    }

    20% {
        -webkit-transform: translateX(1px);
        -webkit-transform: rotate(4deg);
    }

    30% {
        -webkit-transform: translateX(-1px);
        -webkit-transform: rotate(-4deg);
    }

    40% {
        -webkit-transform: translateX(1px);
    }

    50% {
        -webkit-transform: translateX(-1px);
    }

    60% {
        -webkit-transform: translateX(1px);
    }

    70% {
        -webkit-transform: translateX(-1px);
    }

    80% {
        -webkit-transform: translateX(1px);
    }

    90% {
        -webkit-transform: translateX(-1px);
    }

    0% {
        -webkit-transform: translateX(1px);
    }

    100% {
        -webkit-transform: translateX(-1px);
    }
}


.point {
    cursor: pointer;
}


.ToolTipCss {
}

.verticalCenter {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.horizontalCenter {
    margin: 0;
    position: absolute;
    left: 25%;
    -ms-transform: translateX(0% -50%);
    transform: translateX(0% -50%);
}


[contenteditable] {
    border: 1px solid #ddd;
    margin: 0.4em 0;
    line-height: 1.4em;
    -webkit-appearance: textfield;
    appearance: textfield;
}

/*img {
    vertical-align: top;
    max-height: 1.4em;
    max-width: 1.4em;
}

.selectable-icons img {
    cursor: pointer;
}
*/
.chatMessageBox {
    max-height: 300px;
    overflow: auto;
}

.rz-progressbar-value .rz-progressbar-value-animate {
    background-color: forestgreen;
}

.IFrameLoading {
    background: url(/CoreFiles/Images/loader.gif) center center no-repeat;
}

.float-left {

    float:left;
}