﻿html {
    position: relative;
    min-height: 100%;
}

body {
    /*margin-bottom: 60px;*/
    padding-top: 70px;
    xpadding-bottom: 10px;
}

.fi-field {
    margin: 0 0 7px 0;
}


* {
    box-sizing: border-box;
}

.wrapper {
    margin: 0 auto;
    width: 960px;
}

.pdf-controls {
    width: 100%;
    display: block;
    background: #eee;
    padding: 1em;
}

.rotate0 {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

.rotate90 {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg) scale(0.7, 0.7);
    transform-origin: 20px;
}

.rotate180 {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.rotate270 {
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg) scale(0.7,0.7);
    transform-origin: -20px;
}

.fixed {
    position: fixed;
    top: 0;
    left: calc(50% - 480px);
    z-index: 100;
    width: 100%;
    padding: 1em;
    background: rgba(238, 238, 238,.9);
    width: 960px;
}

.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    color: #fff;
    background-color: #777;
    border-radius: 10px;
}

.badge-warning {
    background-color: #EBCB8B;
}

.btn-icon-round {
     border-radius: 50%;
    padding: 5px 7px;
}
.form-login {
    max-width: 330px;
    padding: 0px 15px 5px 15px;
    margin: 0 auto;
}

    .form-login .form-login-heading {
        margin-bottom: 10px;
    }

    .form-login .form-control {
        position: relative;
        height: auto;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 10px;
        font-size: 16px;
    }

        .form-login .form-control:focus {
            z-index: 2;
        }

    .form-login input[type="password"] {
        margin-top: 5px;
        margin-bottom: 5px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

.dropdown-item {
    display: block;
    width: 100%;
    padding: 3px 1.5rem;
    clear: both;
    font-weight: 400;
    color: #292b2c;
    text-align: inherit;
    white-space: nowrap;
    background: 0 0;
    border: 0;
}

.loader {
    border: 5px solid white;
    border-radius: 50%;
    border-top: 5px solid #3498db;
    width: 30px;
    height: 30px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (min-width: 768px) {
    .modal-xl {
        width: 90%;
        max-width: 1200px;
    }
}
.button {
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 4px 2px;
    background-color: orange;
}
.btn-round {
    border-radius: 50%;
}

.button-red {
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 4px 2px;
    background-color: red;
}


.select2 > .select2-choice.ui-select-match {
    /* Because of the inclusion of Bootstrap */
    height: 29px;
}

.selectize-control > .selectize-dropdown {
    top: 36px;
}
/* Some additional styling to demonstrate that append-to-body helps achieve the proper z-index layering. */
.select-box {
    background: #fff;
    position: relative;
    z-index: 1;
}

.alert-info.positioned {
    margin-top: 1em;
    position: relative;
    z-index: 10000; /* The select2 dropdown has a z-index of 9999 */
}
.sketch {
    border: 1px dashed;
    height: 100%;
    position: relative;
}

.tmp_canvas {
    position: absolute;
    left: 0px;
    right: 0;
    bottom: 0;
    top: 0;
    cursor: crosshair;
}
table.th-style th:not(.sticky-header){
    background-color: transparent !important;
}

.modal-ex-lg{
    width: 1150px;
}

/* Customize the label (the container) */
.container-ch {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .container-ch input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container-ch:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container-ch input:checked ~ .checkmark {
    background-color: #337ab7;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container-ch input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container-ch .checkmark:after {
    left: 10px;
    top: 5px;
    width: 6px;
    height: 13px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.modal-spinner .modal-content {
    padding: 20px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    text-overflow: ellipsis;
    font-size: 15px;
}

.modal-spinner-text .modal-content {
    text-align: left;
}

.modal-spinner .modal-dialog {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 80px;
    height: 300px;
}

.modal-spinner-text .modal-dialog {
    text-align: left;
    width: 250px;
}
input.invalid {
    border-color: red;
}

input.error {
    border: 1px solid red;
}

/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    right: 0;
    background-color: #f8f8f8; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

    /* The navigation menu links */
    .sidenav h4 {
        padding-left: 8px;
        margin-bottom: 4px;
        text-decoration: none;
        /*font-size: 25px;*/
        /*color: #818181;*/
        display: block;
        transition: 0.3s;
    }

    .sidenav p {
        margin: 12px;
        text-decoration: none;
        /*font-size: 25px;*/
        /*color: #818181;*/
        display: block;
        transition: 0.3s;
    }

        /* When you mouse over the navigation links, change their color */
        /*.sidenav a:hover {
            color: #f1f1f1;
        }*/

    /* Position and style the close button (top right corner) */
    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

.related-topic-section {
    margin-top: 18px;
}
/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s;
    padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

        .sidenav a {
            font-size: 18px;
        }
}
.text {
    display: block;
    width: 120px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

li.help-item:hover {
    text-decoration: underline;
    color: #337ab7;
}

.zindex {
    z-index: 99000 !important;
}

#scrollable-dropdown-menu .dropdown-menu {
    max-height: 150px;
    overflow-y: auto;
}

div.md-dialog-container {
    z-index: 20000;
}

ul.timeline {
    list-style-type: none;
    position: relative;
    margin-left: -1rem;
    margin-top: 1rem;
}

ul.timeline:before {
    content: ' ';
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    left: 29px;
    width: 2px;
    height: 100%;
    z-index: 400;
}

ul.timeline > li {
    margin: 0 0 3rem;
    padding-left: 20px;
}

ul.timeline > li:before {
    content: ' ';
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #22c0e8;
    left: 20px;
    width: 20px;
    height: 20px;
    z-index: 400;
}
@media (min-width: 1200px) {
    .container {
        width: 1400px;
    }
    .alerts-table-head, .alerts-table-body {
        width: 100%
    }
}

.print-letter-container .print-report {
    right: unset !important;
}

.d-flex{
    display: flex;
}

.align-items-center{
    align-items: center;
}

.gap-2{
    gap: 5px;
}

.flex-wrap {
    flex-wrap: wrap
}

.justify-content-between {
    justify-content: space-between
}

.mb-4 {
    margin-bottom: 13px;
}

.vertical-middle {
    vertical-align: middle !important;
}


.tooltip {
    max-width: none !important;
    width: auto !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    display: inline-block;
    max-width: 400px;
}