@import 'NAV.css';
@import 'Generic/BUTTONS.css';
@import 'Generic/Text.css';
@import 'Generic/Pictures.css';
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: helvetica, arial, sans-serif;
    /* Verdana, Arial, sans-serif; */
}

.primary_colours {
    background-color: #860909;
    /* background-color: #915252; */
    color: white;
}

.hidden {
    visibility: hidden !important;
    display: none !important;
}

.notextselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.flexCol {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: space-around;
    justify-content: space-around;
    width: 100%;
}

.flexHor {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: space-around;
    justify-content: space-around;
    width: 100%;
}

.flexhtmlsnippet {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-content: space-around;
    justify-content: flex-start;
    width: 100%;
}

#maindiv1 {
    width: 100%;
}

#maindiv2 {
    width: 100%;
    margin: 0 auto;
    max-width: 1000px;
    background-color: white;
}

#TOP {
    background-color: rgb(140, 140, 140);
    min-height: 100vh;
    margin: 0;
}

#TOP>div {
    min-height: inherit;
    width: 100%;
}

#TOP>div>div {
    min-height: inherit;
}

#content_body {
    position: relative;
    flex-grow: 1
}

#main_box {
    width: 100%;
    margin: 0 auto;
    max-width: 1000px;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


/*HEADER*/

.header-top {
    display: flex;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 10px;
    flex-direction: column;
}

.header-top div {
    margin-top: 5px;
    margin-bottom: 5px;
}

.header-top #header-line {
    font-family: Verdana, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
}

#mb_wrap {
    width: 100%;
    max-width: 1000px;
    position: fixed;
    visibility: hidden;
    bottom: 50px;
    z-index: 9998;
    height: auto;
    min-height: 50px;
    /* border: 2px solid blue; */
}

#message_bar {
    position: relative;
    width: 45%;
    min-width: 175px;
    height: 100%;
    min-height: 50px;
    /* border: 2px solid fuchsia; */
    margin: 0 auto;
    background-color: white;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    -webkit-box-shadow: 0 0 10px 5px #860909;
    box-shadow: 0 0 10px 5px #860909;
}

#msg {
    font-weight: bold;
}

.msg_animation {
    /* visibility: visible; */
    animation-name: showmsg;
    animation-duration: 4s;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    /* animation-fill-mode: forwards; */
}

@keyframes showmsg {
    0% {
        /* visibility: hidden; */
        /* background-color: white; */
        visibility: visible;
        /* display: inline; */
        opacity: 0;
    }
    10%,
    80% {
        /* visibility: visible; */
        /* background-color: hotpink; */
        opacity: 1;
    }
    99% {
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

#msg_style {
    font-weight: bold;
}

.warning_bar {
    background-color: #FBE497;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 20px;
    font-weight: bold;
    font-family: verdana;
    text-align: center;
    color: black;
}

#icon_bar {
    display: flex;
    background-color: #E3E3E3;
    justify-content: space-between;
    padding: 5px 0 5px;
}

#quicksearch {
    color: #1769AC;
    order: 100;
    justify-content: flex-end;
    padding-right: 5px;
    margin-left: auto;
}

#quicksearch a {
    color: #1769AC;
    text-decoration: none;
    margin-right: 5px;
}

#javascript_warning {
    background-color: red;
    color: white;
    font-size: 13pt;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding-top: 5px;
    padding-bottom: 5px;
}

#cookie_warning {
    background-color: aliceblue;
    font-weight: bold;
    color: steelblue;
    font-size: 13pt;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding-top: 5px;
    padding-bottom: 5px;
}

.closedialog {
    float: right;
    display: inline-block;
    padding: 2px 5px;
    background: #860909;
    color: white;
    margin-top: 10px;
    margin-right: 10px;
}


/*FOOTER*/

#mainfoot {
    background-color: #860909;
    color: white;
    font-size: 12px;
}

#mainfoot .flexfoot {
    display: flex;
    justify-content: space-around;
    flex-flow: row wrap;
    align-items: baseline;
}

.flexfoot img {
    height: 48px;
    margin: 10px 10px 5px 5px;
}

.flexfoot ul {
    margin: 10px;
    text-decoration: none;
    list-style-type: none;
    text-align: left;
    flex: 1 auto;
}

#mainfoot tr {
    background-color: transparent;
    color: white;
}

.flexfoot ul a {
    color: white;
    text-decoration: none;
}

.flexfoot ul a:hover {
    text-decoration: underline;
}

.flexfoot ul li {
    margin-bottom: 5px;
}


/*AUTO WEBINVENTORY CSS*/

.WINV_CONT {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    align-content: space-around;
    justify-content: space-around;
    width: 100%;
}

.WITEM_CONT {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: space-around;
    justify-content: space-around;
    width: 100%;
}

@media (max-width: 1000px) {
    .header-top #header-line {
        font-size: calc(4px + 1vw)
    }
    #warning_bar {
        font-size: calc(8px + 1vw)
    }
}

@media (max-width: 600px) {
    .btext1 {
        font-size: 8px;
        font-size: calc(5px + 1vw)
    }
    .headertext1 {
        font-size: 10px;
        font-size: calc(8px + 1vw)
    }
    .headertext22 {
        font-size: 14px;
        font-size: calc(12px + 1vw)
    }
    .titletext1 {
        font-size: 18px;
        font-size: calc(14px + 1vw)
    }
    .btextsm {
        font-size: 6px;
        font-size: calc(5px + 1vw)
    }
}

@media (max-width: 350px) {
    .flexfoot ul {
        flex: 1 100%;
    }
}


/* SMALL FLEX STYLES */

.forderm1 {
    order: -1;
}


/*OLD STYLES*/

p {
    font-family: Verdana, Arial, Sans-Serif;
    color: black;
    font-size: 12
}

h1 {
    font-family: Verdana, Arial, Sans-Serif;
    color: black;
    font-size: 18
}

h2 {
    font-family: Verdana, Arial, Sans-Serif;
    color: black;
    font-size: 16
}

h3 {
    font-family: Verdana, Arial, Sans-Serif;
    color: black;
    font-size: 14
}

small {
    font-family: Verdana, Arial, Sans-Serif;
    color: black;
    font-size: 10
}

a:link {
    color: #0000CC;
    text-decoration: none;
}

a:visited {
    color: #0000CC
}

a:hover {
    color: #ff0000
}

.box {
    border: 1px solid #999999
}

.style1 {
    background-color: #FFFF00;
}

.style1B {
    font-size: medium;
    font-weight: bold;
}

.style2 {
    font-size: medium;
}

.style2B {
    font-weight: bold;
    background-color: #FFFF00;
}

.style3 {
    color: red;
}

.style3B {
    text-decoration: underline;
}

.style3D {
    font-size: small;
}

.style3C {
    text-align: center;
}

.style4 {
    text-decoration: underline;
}

.style4B {
    font-size: small;
    font-weight: bold;
}

.style5 {
    font-size: large;
}

.style6 {
    font-size: medium;
}

.style7 {
    font-size: x-large;
}

.style8 {
    color: red;
    text-decoration: underline;
}

.style9 {
    background-color: #FFFF00;
    text-align: center;
}

.style10 {
    background-color: #FFFF00;
    font-size: medium;
}


/*END OLD STYLES*/