﻿:root {
    --warning-color: #ff5e00;
    --rotaid-error: #F2DEDE;
    --rotaid-ok: #DFF0D8;
}

* {
    padding: 0;
    margin: 0;
    font-family: 'Open Sans';
    font-size: 12px;
}

html {
    min-height: 100%;
    position: relative;
    height: 100%;
}

body {
    min-height: 100%;
    color: white;
    padding-bottom: 20px;
    padding-top: 70px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*    max-width: 280px;*/
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Open Sans';
}

.form-control {
    border-radius: 0.5rem;
}

@media (min-width: 768px) {
    .form-horizontal .control-label {
        text-align: left;
    }
}

.navbar {
    border: none;
    height: 60px;
    font-weight: 200;
}

.navbar-inverse {
    color: #FFFFFF;
    background-color: transparent;
}

    .navbar-inverse .navbar-nav > li > a {
        color: #FFFFFF;
    }

    .navbar-inverse .navbar-nav > li:hover {
        font-weight: bold;
    }

    .navbar-inverse .navbar-brand {
        color: #FFFFFF;
    }

.navbar-brand img {
    height: 33px;
}

.navbar-right {
    margin-right: initial;
}

.nav-link.dropdown-toggle::after {
    content: "\f078";
    font-family: 'Font Awesome 5 Solid';
    font-size: 0.9rem;
}

.dropdown-item {
}

.body-content {
    padding-top: 0;
    font-family: 'Open Sans';
}

.footer {
    position: fixed;
    text-align: center;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 20px;
    background: #FFFFFF;
}

.rotaid-orange {
    color: #ff5e00;
}

.rotaid-green {
    color: #00c584;
}

hr.rotaid-green {
    border-color: #00c584;
}

.form-caption {
    font-weight: bold;
    margin-bottom: 12px;
}

.form-caption {
    font-weight: bold;
    margin-bottom: 12px;
}

.rotaid-caption {
    margin-bottom: 30px;
}

rotaid-h1 {
    font-weight: bold;
    font-size: 69px;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    rotaid-h1 {
        font-size: 50px !important;
    }
}

@media (max-width: 627px) {
    rotaid-h1 {
        font-size: 35px !important;
    }
}

rotaid-h2 {
    font-size: 30px;
}

    rotaid-h2 strong {
        font-size: 30px;
    }

rotaid-h3 {
    font-size: 20px;
}

    rotaid-h3 strong {
        font-size: 20px;
    }

rotaid-h4 {
    font-size: 1.5rem;
}

.rotaid.btn {
    min-width: 125px;
    border: 2px solid #ff5e00;
    display: inline-block;
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
    background: #ff5e00;
    padding: 10px 28px;
    vertical-align: top;
    border-radius: 32px;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

    .rotaid.btn.btn-sm {
        padding: 5px 14px;
    }

    .rotaid.btn:hover {
        background: transparent;
        color: #fff;
        border-color: #fff;
        -webkit-transition: all 0.3s ease-out;
        -moz-transition: all 0.3s ease-out;
        -o-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
    }

    .rotaid.btn:focus {
        outline: none;
    }

    .rotaid.btn.green {
        background: #00c584 !important;
        border-color: #00c584 !important;
    }

        .rotaid.btn.green:hover {
            background: transparent !important;
            color: #00c584 !important;
            border-color: #00c584 !important;
        }

    .rotaid.btn.orange {
        background: #ff5e00 !important;
        border-color: #ff5e00 !important;
    }

        .rotaid.btn.orange:hover {
            background: transparent !important;
            color: #ff5e00 !important;
            border-color: #ff5e00 !important;
        }

    .rotaid.btn.gray {
        background: #545454 !important;
        border-color: #545454 !important;
    }

        .rotaid.btn.gray:hover {
            background: transparent !important;
            color: #545454 !important;
            border-color: #545454 !important;
        }

.border-between > [class*='col-']:after {
    background: #545454;
    bottom: 0;
    content: " ";
    right: 0;
    position: absolute;
    width: 1px;
    top: 0;
}

@media (max-width: 767px) {
    .border-between > [class*='col-']:after {
        display: none;
    }
}

.border-between > [class*='col-']:last-child:after {
    display: none;
}

.rotaid-nav {
    background: #1D787E; /* Fallback if browser does not support gradient */
    background: linear-gradient(90deg, #1D787E, #00C584);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.width-500px {
    width: 500px;
}

#icon.fas.fa-toolbox {
    font-size: 20px;
}

#icon.fas.fa-question {
    font-size: 17px;
}

.pointer {
    cursor: pointer;
}

.strike-text {
    text-decoration: line-through;
}

.red-text {
    color: #FF0000;
}

.height-unset {
    height: unset;
}

.width-unset {
    width: unset;
}

.width-100p {
    width: 100%;
}

td.status {
    padding: 0px !important;
    vertical-align: middle !important;
}

    td.status > div {
        text-align: center;
        padding: 5px;
        min-height: 70px;
        max-height: 70px;
    }

        td.status > div.success {
            background-color: var(--rotaid-ok);
        }

        td.status > div.info {
            background-color: #7AD2FF;
        }

        td.status > div.danger {
            background-color: var(--rotaid-error);
        }

        td.status > div.disabled {
            background-color: #FFFFFF;
        }


#subscriptionTable_processing, #voucherTable_processing {
    background-color: #AFAFAF50;
    width: 100%;
    left: auto;
    right: auto;
    margin-left: unset;
    border-radius: 5px;
    border: #AFAFAF SOLID 1px;
}

.toggle-grid > .single-toggle-item > input[type="checkbox"],
.datatable-toggle-buttons > div > input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.cabinets-overview {
    grid-area: cabinets;
}

.mode-information-overview {
    grid-area: mode-information;
}

.datatable-toggle-buttons {
    grid-area: toggles;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-evenly;
}

.toggle-grid {
    margin-bottom: 1.5rem;
    margin-left: 15px;
}

.single-toggle-item {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: start;
    order: -1;
}

    .single-toggle-item > input[type="checkbox"]:focus,
    .datatable-toggle-buttons > div > input[type="checkbox"]:focus {
        outline: 0;
    }

    .single-toggle-item > .toggle,
    .datatable-toggle-buttons > div > .toggle {
        height: 26px;
        width: 46px;
        border-radius: 16px;
        display: inline-block;
        position: relative;
        margin: 0 5px 0 0;
        border: 2px solid gray;
        background: #ddd;
        transition: all .2s ease;
    }

        .single-toggle-item > .toggle:after,
        .datatable-toggle-buttons > div > .toggle:after {
            content: '';
            position: absolute;
            top: 2px;
            left: 2px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: gray;
            box-shadow: 0 1px 2px rgba(44,44,44,.2);
            transition: all .2s cubic-bezier(.5,.1,.75,1.35);
        }

        .single-toggle-item > .toggle:checked,
        .datatable-toggle-buttons > div > .toggle:checked {
            border-color: #00C584;
            background: #1D787E;
        }

            .single-toggle-item > .toggle:checked:after,
            .datatable-toggle-buttons > div > .toggle:checked:after {
                transform: translateX(20px);
                background: white;
            }

.warning-background {
    background-color: var(--rotaid-error);
}

.warrantyStartDateUpdateButton {
    cursor: pointer;
}

.archivedNoteEditButton {
    cursor: pointer;
}

#updateWarrantyStartDateForm .picker-switch.accordion-toggle {
    display: none;
}

.m-0 {
    margin: 0 !important;
}

.mt-0,
.my-0 {
    margin-top: 0 !important;
}

.mr-0,
.mx-0 {
    margin-right: 0 !important;
}

.mb-0,
.my-0 {
    margin-bottom: 0 !important;
}

.ml-0,
.mx-0 {
    margin-left: 0 !important;
}

.m-1 {
    margin: 0.25rem !important;
}

.mt-1,
.my-1 {
    margin-top: 0.25rem !important;
}

.mr-1,
.mx-1 {
    margin-right: 0.25rem !important;
}

.mb-1,
.my-1 {
    margin-bottom: 0.25rem !important;
}

.ml-1,
.mx-1 {
    margin-left: 0.25rem !important;
}

.m-2 {
    margin: 0.5rem !important;
}

.mt-2,
.my-2 {
    margin-top: 0.5rem !important;
}

.mr-2,
.mx-2 {
    margin-right: 0.5rem !important;
}

.mb-2,
.my-2 {
    margin-bottom: 0.5rem !important;
}

.ml-2,
.mx-2 {
    margin-left: 0.5rem !important;
}

.m-3 {
    margin: 1rem !important;
}

.mt-3,
.my-3 {
    margin-top: 1rem !important;
}

.mr-3,
.mx-3 {
    margin-right: 1rem !important;
}

.mb-3,
.my-3 {
    margin-bottom: 1rem !important;
}

.ml-3,
.mx-3 {
    margin-left: 1rem !important;
}

.m-4 {
    margin: 1.5rem !important;
}

.mt-4,
.my-4 {
    margin-top: 1.5rem !important;
}

.mr-4,
.mx-4 {
    margin-right: 1.5rem !important;
}

.mb-4,
.my-4 {
    margin-bottom: 1.5rem !important;
}

.ml-4,
.mx-4 {
    margin-left: 1.5rem !important;
}

.m-5 {
    margin: 3rem !important;
}

.mt-5,
.my-5 {
    margin-top: 3rem !important;
}

.mr-5,
.mx-5 {
    margin-right: 3rem !important;
}

.mb-5,
.my-5 {
    margin-bottom: 3rem !important;
}

.ml-5,
.mx-5 {
    margin-left: 3rem !important;
}

.btn-rotaid {
    background: #00c584 !important;
}

.cabinets-overview .tab-content .tab-pane {
    padding-top: 10px;
}

.spacer-10px {
    margin-top: 10px;
    margin-bottom: 10px;
}

.counters-overview table th {
    width: 450px;
}

.btn.btn-primary {
    background-color: #00c584;
    border-color: #00c584;
    color: #FFFFFF;
}

    .btn.btn-primary:hover {
        background-color: #00ad74;
        border-color: #00ad74;
    }

.input-height-time-out {
    height: 20px;
    line-height: 0.5;
}

.input-width-time-out-td {
    width: 150px;
}

#refresh.active,
#updatefirmwarerefresh.active {
    -webkit-animation: spin 2s linear infinite;
    -moz-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.fontsize-3p6em {
    font-size: 3.6em;
}

.lineheigt-1em {
    line-height: 1em;
}

.marginbottom-20px {
    margin-bottom: 20px;
}

.fontsize-1p4em {
    font-size: 1.4em;
}

.height-3p6em {
    height: 3.6em;
}

.margintop-20px {
    margin-top: 20px;
}

.firmwareUpload label.control-label {
    font-weight: bold !important;
    text-align: right !important;
}

.fontsize-1p2em {
    font-size: 1.2em;
}

label {
    display: inline-block;
    margin-bottom: .5rem;
}

.margin-10px {
    margin: 10px;
}

.cursor-pointer {
    cursor: pointer !important;
}

.position-absolute {
    position: absolute !important;
}

.right-5px {
    right: 5px !important;
}

.height-35px {
    height: 35px;
}

.valign-middle {
    vertical-align: middle !important;
}

.card {
    border-radius: 0.5em;
    overflow: hidden;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
}

    .card .btn.rotaid.green {
        border-radius: 0px;
        padding: 5px 28px;
    }

        .card .btn.rotaid.green > i {
            font-size: 2em;
        }

    .card .progress > .progress-bar.bg-success {
        background-color: #28a745 !important;
    }

    .card .progress > .progress-bar.bg-danger {
        background-color: #dc3545 !important;
    }

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

    .card-header:first-child {
        border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
    }

    .card-header + .list-group .list-group-item:first-child {
        border-top: 0;
    }

.progress {
    display: -ms-flexbox;
    display: flex;
    height: 1rem;
    overflow: hidden;
    font-size: 0.75rem;
    background-color: #e9ecef;
    border-radius: 0.25rem;
}

.progress-bar {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #007bff;
    transition: width 0.6s ease;
}

.float-end {
    float: right;
}
