﻿@font-face {
    font-family: 'RubikRoman';
    src: url('/webfonts/Rubik-Light.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    src: url('/webfonts/Rubik-Light.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
    /*src: url('/webfonts/Rubik-Regular.woff') format('woff');*/ /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    /*src: url('/webfonts/Rubik-Regular.ttf') format('truetype');*/ /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}

@font-face {
    font-family: 'Digital';
    src: url('/webfonts/Digital7.ttf') format('truetype');
}  

/*html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
*/
html, body, #app, #main {
    font-family: 'RubikRoman';
    height:100%;
}

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


a, a:hover, a:focus {
    text-decoration: none !important;
    color: inherit;
}

.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;
    }

.fade-in {
    animation: fadeIn ease 0.5s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fade-out {
    animation: fadeOut ease 0.5s;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.Pointer {
    cursor: pointer;
}

/* Applies when screen width is LESS than 640px*/
@media (max-width: 689.98px) {
    .HideSmall {
        display: none !important;
    }

    .RowWhenLarge {
        flex-direction: column;
    }

    .ColWhenLarge {
        flex-direction: row;
    }

    .CreateAccountForm {
        /*width: calc(100% - 30px);*/
        width: 359px;
        margin-right: 15px;
        margin-left: 15px;
    }

    .Margin-Right-Large30 {
        margin-right:0px;
    }

}

/* Applies when screen width is GREATER than 640px*/
/*@media (min-width: 641px) {*/
@media (min-width: 689px) {
    .HideLarge {
        display: none !important;
    }

    .RowWhenLarge {
        flex-direction: row;
    }

    .ColWhenLarge {
        flex-direction: column;
    }

    .CreateAccountForm {
        width: 690px;
        margin-right: 15px;
        margin-left: 15px;
    }

    .Margin-Right-Large30 {
        margin-right: 30px;
    }

}

.ThemeButton {
    transition: 0.5s;
    background-size: 200% auto;
    font-weight: 400;
    color: white;
    border: none;
    border-radius: 4px;
    background-image: linear-gradient(to right, #d16d5c 0%, #ffa593 50%, #d16d5c 100%);
}

    .ThemeButton:hover {
        background-position: right center; /* change the direction of the color change here */
        text-decoration: none;
    }

.ThemeButtonSolid {
    letter-spacing: 0.75px;
    color: white;
    font-size: 12px;
    border-radius: 4px;
    border: solid 1px white;
    background-color: #f19482;
    font-weight: 700;
    transition: 0.5s;
}

/*    .ThemeButtonSolid:hover {
        color: white;
        border: solid 1px white;
        background-color: #f19482;
    }*/

.ThemeButtonOutline {
    letter-spacing: 0.75px;
    color: #f19482;
    font-size: 12px;
    border-radius: 4px;
    border: solid 1px #f19482;
    background-color: #FFF;
    font-weight: 700;
    transition: 0.5s;
}

    .ThemeButtonOutline:hover {
        color: white;
        border: solid 1px white;
        background-color: #f19482;
    }

.ThemePill {
    transition: 0.5s;
}

    .ThemePill:hover {
        color: white !important;
        border-color: white !important;
        background-color: #f19482;
    }

    .ThemePill.Selected {
        color: white !important;
        border-color: white !important;
        background-color: #f19482;
    }

.popover-body {
    padding:0px !important;
}

.ThemeColor {
    color: #f19482;
}

.ThemeBackgroundColor {
    background-color: #ffa593;
}

@-webkit-keyframes rotating /* Safari and Chrome */ {
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.rotating {
    -webkit-animation: rotating 1s linear infinite;
    -moz-animation: rotating 1s linear infinite;
    -ms-animation: rotating 1s linear infinite;
    -o-animation: rotating 1s linear infinite;
    animation: rotating 1s linear infinite;
}

/*.redBackground {
    background-color: #c84c4c;
}

.greenBackground {
    background-color: #61b974;
}

.GreyBackground {
    background-color: #515151;
}*/

.TravelPlanCardActionButton {
    border-radius: 6px;
    border: solid;
    font-size: 12px;
    transition: background-color 0.25s, color 0.25s, border-color 0.5s;
}

.HeightExpandAnimation {
    overflow: hidden;
    transition: height 0.25s;
}

.Height0 {
    height: 0px;
}

.SuccessColor {
    border-color: white;
    background-color: #61b974;
    color: white;
}

    .SuccessColor:hover {
        border-color: #61b974;
        background-color: white;
        color: #61b974;
    }

.DangerColor {
    border-color: white;
    background-color: #c84c4c;
    color: white;
}

    .DangerColor:hover {
        border-color: #c84c4c;
        background-color: white;
        color: #c84c4c;
        /*cursor: none;*/
    }

.DisabledColor {
    /*border-color: #ced4da;*/
    background-color: #e9ecef;
    color: #6c757d;
    transition: 0.2s;
    border: 1px solid transparent;
    cursor: context-menu !important;
}

.ColorRed {
    color: #c84c4c;
}

.ColorLightRed {
    color: #faeded;
}

.ColorAmber {
    color: #ef9144
}

.ColorGreen {
    color: #61b974;
}

.ColorBlack{
    color:black;
}

.BGLightGreen {
    background-color: #e9faf3;
}

.BGLightRed {
    background-color: #faeded;
}

.BGLightBlue {
    background-color: #CCE5FF;
}

.BGLightAmber {
    background-color: #fdf4ec;
}

.BGLightGrey {
    background-color: #e9ecef;
}

.PopoverTable {
    width: 100%;
}

.PopoverTableRow {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.PopoverTableBody {
    display: block;
    overflow-y: auto;
    max-height: 250px;
}

.TableRowSelected {
    background-color: #e39081 !important;
    color: white !important;
}

.BackgroundColorOnHover {
    background-color: white;
}

    .BackgroundColorOnHover:hover {
        background-color: #f1f1f1;
    }

.SelectedBackgroundColor {
    background-color: #f1f1f1 !important;
}

.GreenEventDot:hover {
    fill: #1db53e;
}

.IconRotate {
    transition: transform .8s ease-in-out;
}

.IconRotated180 {
    transform: rotate(180deg);
}

.RotateOnHover {
    transition: transform .8s ease-in-out;
}

    .RotateOnHover:hover {
        transform: rotate(180deg);
    }



.GreyOnHover {
    background-color: white;
    transition: 0.2s;
}
    .GreyOnHover:hover {
        background-color: #f1f1f1;
    }


/*
.AdminColors {
    background-color: black;
    color: white;
}

.CoordinatorColors {
    background-color: gray;
    color: white;
}

.SupervisorColors {
    background-color: lightgreen;
    color: green;
}

.UserColors {
    background-color: white;
    color: black;
}

.SuperUserColors {
    background-color: lightcoral;
    color: orangered;
}*/
.OrangeColor {
    color: #db6f21
}

.IVMSStatusGoodColors {
    background-color: #e9faf3;
    color: #61b974;
}

.ErrorColors {
    background-color: white;
    color: darkred;
}

.NewmanColors {
    background-color: lightgreen;
    color: green;
}

.YandiColors {
    background-color: lightgreen;
    color: green;
}
.TrackMaintenanceColors {
    background-color: lightgreen;
    color: green;
}
.FlashbuttColors {
    background-color: lightgreen;
    color: green;
}

.StyleAsLink {
    color: blue;
    text-decoration: underline;
}

.tooltip-wrapper {
    position: relative;
    display: inline-block;
    /*border-bottom: 1px dotted black;*/
    cursor: help;
}

.toolTipText {
    visibility: hidden;
    position: absolute;
    width: 120px;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
    background-color: #363636;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    z-index: 999;
}

    .toolTipText::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: #555 transparent transparent transparent;
    }

.tooltip-wrapper:hover .toolTipText {
    visibility: visible;
}


.toolTipTextLeft {
    visibility: hidden;
    position: absolute;
    width: 120px;
    bottom: 0%;
    right: 100%;
    margin-left: -60px;
    background-color: #363636;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    z-index: 999;
}

    .toolTipTextLeft::after {
        content: "";
        position: absolute;
        top: 30%;
        left: 100%;
        /*margin-left: -5px;*/
        border-width: 5px;
        border-style: solid;
        border-color: transparent transparent transparent #555;
    }

.tooltip-wrapper:hover .toolTipTextLeft {
    visibility: visible;
}


/************************  BLINKING LIGHT CSS ************************/


.blink {
    animation: 1s blinker ease infinite;
    -webkit-animation: 1s blinker ease infinite;
    -moz-animation: 1s blinker ease infinite;
}

@-moz-keyframes blinker {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

@-webkit-keyframes blinker {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

@keyframes blinker {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

