@import url('https://fonts.googleapis.com/css?family=Open+Sans');

/* Resets */
html, body, div, span, applet, object, iframe, h1, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, u, i, center, dl, dt, dd, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin-top: 0%;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
    font-family: Gotham-Light, Montserrat, sans-serrif !important;
    font-size: 12pt;
    text-align: center;
    border-color: white;
    height:  auto;
    /* overflow: hidden; */
}


html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	font-size: large;
}

body {
    background: #ffffff;
    line-height: 100%;
}

#page-container{
    min-height: 100%;
}

#header {
    padding: 10px;
    position: relative
    background: white;
}

#body-container{
    padding: 0px;
    padding-bottom: 154px; /* Height of the footer */
}

/* Footer Styling */
#footer-container{
    position: absolute;
    bottom:0;
    left:0;
    right:0;
    height: 154px; /* Height of the footer */
}

.footer p{
    color: #000;
    margin: 0;
    font-size: 20px !important;
}

.footer span{
    color: #777777;
}

#ctl00_AllegMain_lblError{
}

h2{
    font-weight: bold;
    font-size: large;
   font-family: 'Open Sans', sans-serif;
    display: block;
    text-align: center;
}

#ctl00_AllegMain_lblAbove{
    font-size:small
}

#ctl00_AllegMain_MainPanel{
    margin-top: 0%;
    padding-bottom: 10%;
}

.ui-icon-delete:after{
    background: #000000;
    background-repeat: no-repeat;
    display: inline !important;
    vertical-align: middle;
    text-align:center;
    width: 22px !important;
    height: 22px !important;
    border-radius: 4px;
    background-size:  21px;
}

.ui-icon-edit:after{
    background: #000000;
    background-repeat: no-repeat;
    display: inline !important;
    vertical-align: middle;
    text-align:center;
    width: 22px !important;
    height: 22px !important;
    border-radius: 4px;
    background-size:  21px;
}

.ui-select {
    margin-top: .5em;
    margin-bottom: .5em;
    position: relative;
    border: 1px solid #DDD;
    color: black;
}

* {
    outline: 0;
}

font{
    color: black;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after, q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* Forms */
button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button, select {
    text-transform: none;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

    button[disabled], html input[disabled] {
        cursor: default;
    }

    button::-moz-focus-inner, input::-moz-focus-inner {
        border: 0;
        padding: 0;
    }

    .ui-listview>.ui-li-static, .ui-listview>.ui-li-divider, .ui-listview>li>a.ui-btn{
        background-color: #BA0C2F;
        color: white;
    }

    .ui-btn-icon-right:after{
        background-repeat: no-repeat;
    }

    .ui-btn-icon-left:after{
        background-repeat: no-repeat;
    }

    .ui-collapsible-inset .ui-collapsible-heading .ui-btn{
        background-color: #BA0C2F;
        color: white;
    }

input {
    line-height: normal;
}

    input[type="checkbox"], input[type="radio"] {
        box-sizing: border-box;
        padding: 0;
    }

    input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
        height: auto;
    }

    input[type="search"] {
        -webkit-appearance: textfield;
        -moz-box-sizing: content-box;
        -webkit-box-sizing: content-box;
        box-sizing: content-box;
    }

        input[type="search"]::-webkit-search-cancel-button,
        input[type="search"]::-webkit-search-decoration {
            -webkit-appearance: none;
        }

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

#block1, #block2 {
    display: none;
}

/* General */
* {
    box-sizing: border-box;
}

html {
    font-family: 'Open Sans', sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 100%;
}

body {
    background: #fff;
    line-height: 1.42857143;
    color: #3d3d3d;
}

#wrapper {
    min-height: 100%;
    /*position: relative;*/
}

#container {
    border: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
#ctl00_AllegMain_MainPanel > div.ui-controlgroup.ui-controlgroup-horizontal.ui-corner-all.ui-mini {
    background: #5a5a5a;
    margin: 0%;
}

a.ui-link.ui-btn.ui-btn-b{
    color: #fff;
}

.ui-icon-power:after {
 background-repeat: no-repeat;
}

#header {
    width: 100%;
    display: block;
}

div#header a {
    position: relative;
    max-width: inherit;
    display: block;
    margin: auto;
    margin-bottom: -1px;
    background: #ffffff;
    z-index:  2000;
    border-bottom: 3px solid #085053;
}


#header-logo {
    width: 100%;
    max-width: 500px;
    position: relative !important;
    margin: 0 auto;
    display: block;
    padding-right: 1px;
}

    #header-logo img {
        position: relative;
        width: 800px;
        margin: 0 auto 10px 0;
        display: block;
    }


header {height:  auto;padding-top: 5px;background-color: #ffffff;}

    header div {
        font-weight: normal;
        color: white;
        text-align: center;
        padding: 5px;
    }

    header img {
        width: 50%;
    }

/****** Login Button ******/
.ui-btn.ui-input-btn.ui-btn-a.ui-corner-all.ui-shadow {
    font-weight: 700;
    text-align: center;
    border: none;
    text-decoration: none;
    text-transform: uppercase;
    color: #404040;
}

/* Footer Styling */
.footer-wrap {
    margin: auto;
    height:  auto;
}

.footer-image-wrap{
    text-align: center;
    margin:auto;
}

#image-display-footer a{
    text-align: center;
    display:  block;
    margin: auto;
}

.footer-logo-wrap{
    margin-right: 50px;
}

#footer-logo{
    max-width: 200px;
    max-height: 100px;
}

.copyright-div{
    text-align: center;
    background-color: #342f29;
    border-top: 1px solid #777777;
}


.footer-links-wrap{
    text-align: center;
    margin-bottom: 0px;
    font-size: 8pt;
}

#image-display-footer {
    display: block;
}

#image-display-footer p{
    font-size: 8pt;
}

.footer-col{
    width: auto;
    margin-bottom: 1em;
    text-align: center;
}

.footer-col span{
    font-weight: bold;
    color: white;
    font-size: 12pt;
}

.footer-col a{cursor:  pointer;color: #B3B3B1;}

.footer-social-anchor{
    text-decoration:  none;
    margin: 3px;
    color: white;
}

.footer-social-anchor:hover{
    color: #49ae3c;
}

.social-icon-wrap{
    padding: 0px 5px 0px 5px;
}

.social-icon-wrap a{
    color: #fff
}

.footer {
    color: #777777;
    background-color: #342f29;
    text-align: center;
    margin: auto;
    left: 0;
    right:  0;
    bottom: 0;
    padding-bottom: 5px;
    z-index: 2000;
}

.copyright-wrap{
    text-align: center;
    font-size: 0pt;
}

.copyright{
    font-size: 6pt;
    text-align:  center;
}

.flogo{
    width: 90%;
    max-width: 600px;
}

.footerImage{
    background-color: white;
}

.socialMedia{
    background-color: white;
}

.contactInfo{
    color: black !important;
    font-size: 16px;
}

#facebookLogo, #youtubeLogo, #instaLogo, #twitterLogo{
    width: 20%;
    padding: 2px;
    max-width: 125px;
}
/*End footer styling*/

#content {
    width: 100%;
    padding-bottom:  15%;
}
/* Links */
a {text-decoration:  none;color: #404040;}

#ctl00_AllegMain_MainPanel > div:nth-child(2) > div > a.ui-link.ui-btn.ui-btn-a
{
    padding: 5px;
}



/* Menu */
.menu-wrap {
    width: 100%;
    height: 50px;
    box-shadow: none;
    margin-bottom: 30px;
    border-bottom: 1px solid #dfdfdf;
    border-top: 1px solid #dfdfdf;
}

.menu {
    font-size: 16px;
    /* Wrapper */
    text-align: center;
    max-width: 800px;
    /*margin-top: -9px;*/
}

    .menu .clearfix {
        height: 50px;
        margin: 0;
        padding: 0;
    }

.clearfix > li > a.activeNav {
}

.menu a {
    color: #777;
}

    .menu a:active {
    }

.menu > ul > li {
    float: none;
    margin-top: 0px;
}

    .menu > ul > li > a {
        padding: 15px;
        line-height: 20px;
        display: inline-block;
        width: auto;
        text-align: center;
        padding-right: /*45px*/ 30px;
        padding-left: /*45px*/ 30px;
        margin: 0 10px;
        color: #777;
        margin: 0 /*auto*/ 30px;
        font-weight: bold;
    }

        .menu > ul > li > a.hovered {
            background-color: rgb(18, 109, 182) !important;
            border-radius: 3px;
            font-weight: bolder;
        }

        .menu > ul > li > a:hover {
            color: white;
            border-radius: 3px;
            font-weight: bolder;
            background-color: rgb(18, 109, 182) !important;
        }

.sub-menu, .sub-sub-menu {
    width: 235px;
    position: absolute;
    top: 100%;
    padding: 5px 0px !important;
    font-size: 14px;
    background: #FFF;
    background-clip: padding-box;
}

    .sub-menu li, .sub-sub-menu li {
        display: block;
        font-size: 16px;
        background: #FFF;
        color: #777;
        border: 1px solid #eee;
    }

        .sub-menu li a, .sub-sub-menu li a {
            padding: 8PX 15PX !important;
            display: block;
            color: #777;
        }

            .sub-menu li a:hover, .sub-sub-menu li a:hover {
                background: #802f2d; /*#ECEEED;*/
                color: #bc995d; /*#000;*/
            }



/* Content */
.page_collapsible:first-of-type {
    margin: 0;
}

.MAINCONTENTDIV > .SECTIONHEADERS,
.MAINCONTENTDIV > .SECTIONSUBHEADERS,
.MAINCONTENTDIV > div.ELEMENTS,
div.ELEMENTS {
    padding: 15px 20px !important;
}

.MAINCONTENTDIV {
    margin: 0 auto;
    max-width: 800px;
    background: #FFF;
    border: 1px solid #DDD;
    margin-bottom: 30px;
}

.SECTIONHEADERS {
    color: /*#222*/ black !important;
    background: #FFF;
    font-weight: 600;
    font-size: 20px;
}

.SECTIONSUBHEADERS {
    font-weight: 400;
    margin-bottom: 20px;
    display: inline-block;
}

.ELEMENTS > .SECTIONSUBHEADERS {
    margin-bottom: 20px;
}

.MAINCONTENTDIV > div.ELEMENTS {
    background: #FFF;
}



/* Forms */
.ui-input-btn input[type="button"],
.ui-input-btn input[type="submit"],
button,
.button {
    font-size: 0.8125rem;
    display: inline-block;
    letter-spacing:  .5px;
    text-transform: uppercase;
    color: #ffffff;
    text-indent:  0;
    opacity:  1;
    border: none;
    background-color: #BA0C2F;
}

    input[type="button"]:focus,
    input[type="submit"]:focus,
    button:focus,
    .button:focus {
        outline: none;
    }

input,
textarea,
select {
    padding: 8px !important;
    border: 1px solid #DDD !important;
    resize: none;
}
.ui-select .ui-btn select {
    border: 1px solid #DDD !important;
}

    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="url"],
    textarea,
    select {
        font-size: 13px;
        border: 1px solid #DDD !important;
    }

        input[type="text"]:focus,
        input[type="password"]:focus,
        input[type="email"]:focus,
        input[type="url"]:focus,
        textarea:focus select:focus {
            border: 1px solid #EEE;
        }

textarea {
    height: 175px;
}



/* Tables */
.GRIDHEADERS {
    color: #222;
    background: #FFF;
    font-size: inherit;
    font-weight: 600;
    text-align: left;
    padding: 0;
}

div.ELEMENTS td {
    padding-bottom: 7px;
}

table.ELEMENTSGRID {
    margin-bottom: 30px;
    width: 100%;
}

    table.ELEMENTSGRID > tbody > tr {
        border: 1px solid #EEE;
    }

        table.ELEMENTSGRID > tbody > tr > td {
            padding: 12px 17px;
        }

            table.ELEMENTSGRID > tbody > tr > td > table > tbody > tr > td {
                padding: 0 17px;
            }

.ROWALT {
    background: #ECEEED;
}

@media only screen and (max-width: 780px) {
    .menu > ul > li > a {
        padding-right: 35px;
        padding-left: 35px;
    }

    .MAINCONTENTDIV {
        width: 90%;
    }
}

@media only screen and (max-width: 680px) {
    .menu > ul > li > a {
        padding-right: 25px;
        padding-left: 25px;
    }
}

@media only screen and (max-width: 580px) {
    .menu > ul > li > a {
        padding-right: 15px;
        padding-left: 15px;
    }
}

@media only screen and (max-width: 495px) {
    .menu > ul > li > a {
        padding-right: 10px;
        padding-left: 10px;
    }
}

@media only screen and (max-width: 445px) {
    .menu > ul > li > a {
        padding-right: 5px;
        padding-left: 5px;
    }
}

@media only screen and (max-width: 395px) {
    .menu > ul > li > a {
        padding-right: 3px;
        padding-left: 3px;
    }
}

@media only screen and (max-width: 373px) {
    .menu > ul > li > a {
        display: none;
    }
}