body {
    margin: 0;
    min-width: 1200px;
}

img {
    /* hack for better image downscaling  https://stackoverflow.com/questions/37906602/blurry-downscaled-images-in-chrome */
    transform: translateZ(0);
}

#wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /*width: 1300px; margin:auto;*/
}

h2 {
    text-align: center;
    font-family: "Arial", sans-serif;
    font-size: 26px;
    color: black;
    margin-top: 25px;
}

.iframed-body h2 {
    /* matches RCS styling */
    color: #f75c1e;
    text-align: left;
}

.iframed-body {
    /* matches RCS styling */
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 10pt;
    min-width: unset;
    margin-right: 2px;
    margin-left: 2px;
}

header {
    background-image: url("/images/Blue_Spotlight_RCS_Top.jpg");
    background-size: 100% 95%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.075);
    background-repeat: no-repeat;
    height: 98px;
    width: 100%;
    position: relative;
    padding-top: 10px;
    padding-bottom: 20px;
    color: white;
    display: flex;
    flex-direction: column;
}

header .header-text-div {
    text-align: center;
    margin: auto;
}

header a.brand {
    text-decoration: none;
}

header .brand .header-title {
    color: white;
    font-family: "Tw Cen MT", sans-serif;
    text-align-last: justify;
    text-transform: uppercase;
    user-select: none;

    font-size: 55px;
    line-height: 60px;
    letter-spacing: 10px;
}

header .brand .header-subtitle {
    color: white;
    font-family: "Tw Cen MT", sans-serif;
    text-align-last: justify;
    text-transform: uppercase;
    user-select: none;

    font-size: 15px;
    line-height: 15px;
    letter-spacing: 11px;
}

main {
    width: 100%;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    margin: auto;
    margin-top: 10px;
}

#full-box {
    flex: 1;
}

#left-box {
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    width: 215px;
    border-right: 1px solid rgba(0, 0, 0, 0.075);
}

#left-box .left-row {
    height: 50px;
    display: flex;
    align-items: center;
    padding-left: 15px;
}

#left-box .left-row a {
    color: #0088cc;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-weight: bold;
}

#left-box .left-row a:hover {
    text-decoration: none;
    color: #b5b5b5;
    font-weight: bold;
}

#left-box .left-row-logout {
    justify-content: space-between;
}

#right-box {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
@media only screen and (min-width: 1450px) {
    #right-box {
        padding-right: 215px;
    }
    .iframed-body #right-box {
        padding-right: unset;
    }
}

#full-box .full-box-messsage {
    text-align: center;
}

#right-box #top-right {
    border-bottom: 1px solid rgba(0, 0, 0, 0.075);
    height: 55px;
    font-size: 36px;
    margin-bottom: 10px;
}

#right-box .project-content-box {
    padding: 5px;
    /*border: 3px solid black;*/
}

#right-box .project-content-box {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding-bottom: 20px;
}

#right-box .project-content-box .project-form-div {
    flex-grow: 1;
    margin-left: 10px;
    width: 60%;
}

#right-box .project-content-box .project-table-div {
    margin-left: 10px;
    margin-right: 10px;
    width: 30%;
}

#right-box .project-content-box .project-table-div #TotalT {
    border-collapse: collapse;
    border: 2px solid black;
    text-align: center;
}

#TotalT th,
#TotalT td {
    border: 1px solid black;
    height: 17.5px;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
}

.loader {
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 0.5s linear infinite;
}

.ksb-logo img {
    width: 160px;
}

.ksb-logo {
    position: absolute;
    margin-top: 25px;
    left: 30px;
    display: block;
}

.header-profile {
    position: absolute;
    right: 30px;
    top: 25px;
}

input:disabled,
textarea:disabled {
    background-color: #f3f3f3;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#TotalT {
    border: 2px solid black;
    background-color: white;
    width: 100%;
}

.user-display {
    position: absolute;
    right: 30px;
    color: white;
}

.user-display a {
    color: white;
    text-decoration: none;
}

#claims-app label {
    display: inline-block;
    width: 200px;
    text-align: right;
    padding-right: 10px;
}

#claims-app form-group {
    margin-bottom: 5px;
}

.full-page-table {
    width: 70vw;
    margin-left: 50%;
    transform: translateX(-50%);
    max-width: 1700px;
}

.error-msg {
    color: red;
}

.new-claim-div {
    text-align: center;
    margin: 10px;
}

.modal-wrapper {
    overflow-y: scroll;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    flex-direction: column;
    z-index: 99999;
    align-items: center;
}

fieldset {
    border: none;
}

fieldset legend {
    padding-inline-start: 0;
    font-weight: bold;
}

.form-group {
    margin-bottom: 15px;
}

.form-group span.empty-select-span {
    max-width: 245px;
    display: inline-block;
}

.form-group label {
    width: 200px;
    display: inline-block;
    vertical-align: top;
}

.form-group textarea {
    resize: none;
    height: 100px;
    width: 500px;
}
.form-group input:not([type="checkbox"]),
.form-group select:not(.quantity-select),
.form-group textarea {
    width: 300px;
}
.required {
    color: #cf0000;
}

.modal-x {
    margin-left: 88%;
    font-size: 20px;
    text-align: right;
    cursor: pointer;
}

.modal-container {
    width: 50%;
    padding: 15px;
    max-height: 90vh;
    overflow: scroll;
}

.failed {
    border: solid red 0.5px;
}

.claims-photo-holder {
    display: flex;
}

.claims-photo-holder img {
    height: 100px;
    width: auto;
    margin-right: 10px;
    overflow-x: scroll;
}

.active-claim-photo {
    width: 100%;
}

.bold-underlined {
    text-decoration: underline;
    font-weight: bold;
}

.visible-to-rep-warning {
    color: #ca2323;
}

footer {
    position: relative;
    height: 350px;
}

footer .otys-img {
    width: 270px;
}

footer .hof-footer-img {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    user-select: none;
    z-index: -999;
}

footer .www-ring {
    position: absolute;
    top: -30px;
    height: 100%;
    left: 50%;
    -ms-transform: translate(-50%);
    transform: translate(-50%);
    margin-top: 30px;
    object-fit: contain;
    max-width: 70%;
}

footer .footer-banner {
    position: absolute;
    display: flex;
    justify-content: space-between;
    bottom: 20px;
    left: 0;
    padding: 12px 50px;
    width: 100%;
    height: 70px;
    background-color: #707176;
    color: white;
    box-sizing: border-box;
    z-index: 1;
}

.footer-banner .footer-tagline {
    font-size: 20px;
}

.footer-banner .footer-tagline-subtitle {
    margin-left: 23px;
    font-size: 15px;
    margin-top: 6px;
}

.footer-banner .copyright {
    font-size: 15px;
    align-self: flex-end;
}

select .unstocked,
select.unstocked {
    color: red;
}

select .stocked,
select.stocked {
    /**must be explicitly compared for out-of-stock red to work **/
    color: black;
}

/* embedding styling */

.iframed-body #top-bar,
.iframed-body #left-box,
.iframed-body footer {
    display: none;
}

.iframed-body .hide-if-embedded {
    display: none;
}
