
/*
		SUPER nasty IE8 hack to deal with this bug
		*/
pre {
    max-height: none\9
}

body {
    font-family: Verdana;
}

a.button_logo {
    height: 60px;
    width: 240px;
    display: block;
    text-decoration: none;
    background-image: url("../Images/Terracon_Compass_Logo_5.png");
    background-size: cover;
}

    /*a.button_logo:hover {
        background-position: -170px 0;
        text-decoration: none;
    }*/


/*  STRUCTURE  */
#pagewrap {
    /*width: 1024px;*/
    width: 96%;
    margin: auto;
    background-color: #ffffff;
    padding-left: 20px;
    padding-right: 20px;
}

#header {
    height: auto;
}

#sidebar {
    width: 24%;
    max-height: 80%;
    overflow-y: auto;
    float: left;
}

#content {
    width: 74%;
    max-height: 80%;
    margin-left: 5px;
    float: left;
    overflow-y: auto;
}

#footer {
    /*background: url(images/shadow_bottom.jpg) no-repeat 50% top;*/
    margin-right: 5px;
    font-size: 8pt;
    clear: both;
}

#navbar {
    height: auto;
}

/*   MEDIA QUERIES   */
/* for 980px or less */
@media screen and (max-width: 1024px) {

    #pagewrap {
        width: 96%;
    }

    #content {
        width: 65%;
        max-height: 80%;
        margin-left: 5px;
        float: left;
    }

    #sidebar {
        width: 32%;
        max-height: 80%;
    }
}

/* for 700px or less */
@media screen and (max-width: 700px) {

    #content {
        width: 90%;
        max-height: 50%;
        margin-left: 0px;
        float: none;
    }

    #sidebar {
        width: 90%;
        max-height: 20%;
        float: none;
    }
}

/* for 480px or less */
@media screen and (max-width: 480px) {

    #header {
        height: auto;
        width: auto;
    }

    #navbar {
        height: auto;
        width: auto;
    }

    h1 {
        font-size: 24px;
    }

    #sidebar {
        width: 90%;
        max-height: 20%;
        float: none;
    }
}

#content, #sidebar, #navbar {
    margin-bottom: 5px;
}

#header {
    /*margin-bottom: 5px;*/
}

#headermenu {
    float: right;
    position: relative;
}

#headerlogo {
    float: left;
    padding-bottom: 5px;
    padding-top: 17px;
}

#menucontainer {
    float: right;
    text-align: right;
    padding-bottom: 10px;
    margin-top: 30px;
}

.displace {
    position: absolute;
    left: -5000px;
}

.headermenuitems {
    position: absolute;
    height: 100%;
}

.headermenuitem {
    /*font: 100% 'Verdana';*/
    font-size: 9pt;
    color: black;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
}

.headermenuitemfirst {
    /*font: 100% 'Verdana';*/
    font-size: 9pt;
    color: black;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
}

.headermenuitemlast {
    /*font: 100% 'Verdana';*/
    font-size: 9pt;
    color: black;
    padding-left: 10px;
    /*padding-right: 5px;*/
    cursor: pointer;
}

/*hdr*/
.headertitle {
    float: left;
    font-size: 23pt;
    margin-left: 20px;
    padding-top: 22px;
}

.logo {
    width: 200px;
}

#divToSVerbiage, #divToSShow {
    font-size: small;
    overflow-y: auto;
    overflow-x: auto;
    max-height: 300px;
    border: 2px solid;
    text-align: left;
}

.leftside {
    text-align: right;
    padding-right: 1em;
    width: 40%;
}

.rightremainder {
    text-align: left;
    width: 40%;
}

.textentry {
    width: 100%;
    position: relative;
    left: -1px; /*Why :(*/
    /*border: 1px solid rgba(33, 33, 33, .25);*/
    height: 25px;
    /*border-radius: 5px;*/
}

.textentry:focus {
    outline: none !important;
}

.center {
    text-align: center;
}

td.center img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

ul.social {
    margin-top: 10px;
    margin-right: 15px;
    margin-bottom: 0px;
    margin-left: 0px;
}

    ul.social li {
        display: inline;
        list-style-type: none;
        list-style-position: outside;
        list-style-image: none;
    }

        ul.social li a {
            margin-top: 0px;
            margin-right: 0px;
            margin-bottom: 0px;
            margin-left: 5px;
            display: inline-block;
        }

/*UX branding changes*/
.ui-button, #btnLogin, #btnLogin2, .ui-dialog-titlebar, #loginHeader:hover, #btnLogout {
    background: #B91508;
    border-radius: 3px;
    color: #FFFFFF;
    border: none;
}

#btnAddNewAttribute.ui-state-default, #btnRenameSelectedAttribute.ui-state-default, #btnRemoveSelectedAttribute.ui-state-default {
    background: #B91508;
    border-radius: 3px;
    color: #FFFFFF;
    border: none;
}

#btnAddNewAttribute, #btnRenameSelectedAttribute, #btnRemoveSelectedAttribute {
    background: #65A950;
    color: #FFFFFF;
    font-size: 10pt;
    padding: 0.4em 1em;
    line-height: 1.4;
    font-family: Verdana;
}

#btnAddNewAttribute:hover, #btnRenameSelectedAttribute:hover, #btnRemoveSelectedAttribute:hover, .ui-button.ui-widget.ui-state-default.ui-corner-all.ui-button-text-only:hover {
    background: #65A950;
    color: #FFFFFF;
    font-size: 10pt;
    padding: 0.4em 1em;
    line-height: 1.4;
    font-family: Verdana;
}

.ui-state-error {
    display: -webkit-inline-box;
}


.ui-dialog .ui-dialog-titlebar-close span {
    top: -1px;
    left: -1px;
}

.ui-dialog-titlebar-close {
    background: #291502 !important;
}