html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'kern' 1;
    font-kerning: normal;
}

body {
    display: flex;
    flex-direction: column;
    font-family: Arial;
    font-size: 14px;
    color: #000000;
}

header,
footer,
nav,
section {
    display: block;
}

/* Styles for page layout
-----------------------------------------------------------*/
#wrapper {
    display: flex;
    flex: 1 1 auto;
}

.sidebar {
    margin-left: 0;
    flex: 0 0 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    -webkit-transition: flex 0.15s ease-out;
    -moz-transition: flex 0.15s ease-out;
    -o-transition: flex 0.15s ease-out;
    transition: flex 0.15s ease-out;
    background-color: #00477F;
}

.sidebar #logo {
    padding: 15px;
    min-height: 53px;
    background-color: #ffffff;
}

.sidebar #logo a {
    display: block;
}

.sidebar #logo img {
    width: 100%;
    height: auto;
}

.sidebar #logo img.logo-collapsed {
    margin: 0 auto;
    max-width: 40px;
    display: none;
}

#wrapper.collapsed .sidebar #logo {
    padding: 10px;
}

#wrapper.collapsed .sidebar #logo img {
    display: none;
}

#wrapper.collapsed .sidebar #logo img.logo-collapsed {
    display: block;
}

#wrapper.collapsed .sidebar {
    flex: 0 0 95px;
}

@media (max-width: 767px) {
    #wrapper.collapsed .sidebar {
        flex: 0 0 50px;
    }
}

.sidebar-bottom {
    height: 51px;
    -webkit-transition: width 0.15s ease-out;
    -moz-transition: width 0.15s ease-out;
    -o-transition: width 0.15s ease-out;
    transition: width 0.15s ease-out;
    background-color: #042a63;
}

.sidebar-bottom #menu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#wrapper.collapsed .sidebar-bottom #menu-toggle {
    justify-content: center;
    transform: rotate(-180deg);
}

#main {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.header-utility {
    padding-right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#menu-toggle {
    cursor: pointer;
}

#main #menu-toggle {
    padding: 15px 20px 15px 15px;
}

#menu-toggle path {
    fill: #00477F;
}

#wrapper.collapsed #menu-toggle {
    transform: rotate(-180deg);
}

.header-utility table {
    text-align: right;
}

.header-utility tr td {
    font-size: 12px;
    color: #8f8f8f;
}

.header-utility tr:first-child td {
    padding-bottom: 5px;
}

#content_area {
    padding: 5px 15px 5px 15px;
    flex: 1 1 auto;
}

.footer {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eaeaea;
}

.footer img {
    height: 18px;
    width: auto;
}

@media (max-width: 580px) {
    .footer {
        flex-direction: column;
    }

    .footer img {
        width: 75%;
        height: auto;
        max-height: 24px;
    }
}

.subtitle {
    float: left;
    padding-top: 26px;
    padding-left: 17px;
}

/* Styles for basic forms
-----------------------------------------------------------*/

fieldset 
{
    border:1px solid #ddd;
    padding:0 1.4em 1.4em 1.4em;
    margin:0 0 1.5em 0;
}

legend 
{
    font-size:1.2em;
    font-weight: bold;
}

textarea 
{
    min-height: 75px;
    min-width: 150px;

    font-family: Arial;
    font-size: 14px;
}

.editor-label 
{
    background-color: #FFFFFF;
    font-family: Arial;
    color: #000000;
    font-size: 14px;
    font-weight:bold;
}

td.editor-field input, td.editor-field select
{
    background-color: #EEEEEE;
    border: solid 1px #000000;
    font-family: Arial;
    color: #000000;
    font-size: 14px;
    padding: 0px 1px;
}

.display-label
{
    
    background-color: #FFFFFF;
    font-family: Arial;
    color: #000000;
    font-size: 14px;
    font-weight:bold;
}

.display-field
{
    background-color: #EEEEEE;
    border: solid 1px #000000;
    font-family: Arial;
    color: #000000;
    font-size: 14px;
    padding: 0px 1px;
}

.login-wrapper {
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    max-width: 480px;
}

.login-wrapper table td:first-child {
    text-align: right;
}

.login-wrapper table td:last-child {
    text-align: left;
}

.login-wrapper h1 {
    padding-top: 20px;
    width: 100%;
    border-top: 2px solid #1B3F77;
}

.login-wrapper a,
.login-wrapper a:active,
.login-wrapper a:visited,
.login-wrapper a:link {
    text-decoration: underline;
}

.login-wrapper label {
    margin-right: 5px;
    display: block;
    text-align: right;
}

.login-wrapper p {
    margin: 0;
    line-height: 1.5;
}

.public-wrapper {
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    max-width: 1400px;
}

.public-wrapper table td:first-child {
    text-align: left;
}

.public-wrapper table td:last-child {
    text-align: left;
}

.public-wrapper h1 {
    padding-top: 20px;
    width: 100%;
    border-top: 2px solid #1B3F77;
}

.public-wrapper a,
.public-wrapper a:active,
.public-wrapper a:visited,
.public-wrapper a:link {
    text-decoration: underline;
}

.public-wrapper label {
    margin-right: 5px;
    display: block;
    text-align: right;
}

.public-wrapper p {
    margin: 0;
    line-height: 1.5;
}

.public-wrapper form {
    width: 100%;
    padding: 0px;
}

/* Styles for action messages
-----------------------------------------------------------*/
.error-message
{
    color: #ff0000;
    font-weight: bold;
    font-size:larger;
    text-align: center;
}
.success-message
{
    color: #008000;
    font-weight: bold;
    font-size:larger;
    text-align: center;
}


/* Styles for validation helpers
-----------------------------------------------------------*/
.error
{
    color:#ff0000;
}
.field-validation-error
{
    color: #ff0000;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

td.editor-field input.input-validation-error,
td.editor-field select.input-validation-error,
input.input-validation-error, 
textarea.input-validation-error, 
select.input-validation-error
{ 
    border: 1px solid #ff0000; 
    background-color:  #ffeeee; 
} 

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}

/* Styles for page titles
-----------------------------------------------------------*/
.pageTitle
{
    margin: 0px 0px 20px 0px;
    padding: 0px;
    width: 50%;
}

.pageTitle h1
{
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-family: 'Helvetica';
    font-size: 38px;
}

@media (max-width: 767px) {
    .pageTitle {
        width: auto;
    }
}


/* Styles for headings
-----------------------------------------------------------*/
h2, h3, h4, h5
{
    margin: 0px;
    color: #333333;
}

h2
{
    font-size: 166.67%;
}

h3
{
    font-size: 133.33%;
}

h4
{
    font-size: 116.67%;
}

h5 {
    font-size: 100%;
    font-weight: bold;
}

/* Styles for tables
-----------------------------------------------------------*/
table {
    color: #000000;
    font-family: Arial;
    font-size: 14px;
}

td.link
{
    cursor: hand;
    cursor: pointer;
}

.tableBorder{
    border: solid 1px #CCCCCC;
}

.top_menu_wrapper td div {
/* this makes TDs a container with their own coordinate system.
absolutely-positioned elements will be offset relative to them */
    position: relative;
}

/* Styles for anchors
-----------------------------------------------------------*/
a:active, a:visited, a:link
{
    color: #1B3F77;
    text-decoration: none;
}

a:hover {
    color: #003366;
    text-decoration: underline !important;
}

a.emulate:active,a.emulate:visited,a.emulate:link,a.emulate:hover
{
    color:#ffffff;
    font-weight:bold;
    text-decoration:underline;
}


/* Other styles
-----------------------------------------------------------*/
.noWrap
{
    white-space:nowrap;
}

.checkboxColumn
{
    margin:0px;
    padding:0px;
    width:10px;
    text-align:center;
}

.left-align
{
    text-align:left;
    padding-left:5px;
}

.right-align
{
    text-align:right;
    padding-right:5px;
}

.delete-link
{
    background:transparent;
    border:0;
    cursor:pointer;
    margin:0;
    padding:0;
    color:#1b3f77;
    font-family:Arial;
    font-size:14px;
}

.centeredContent 
{
    text-align:center; 
}

.annoucementsHeader 
{
    color:darkblue;
    font-size:large;
}

.annoucementsTitle {
    color:darkblue;
}

.fsPointAndClick 
{
    padding: 5px;
    width:99%;
}

.fsReferred 
{
    padding: 5px;
    width:99%;
}

p.btnPointAndClick {
    margin-left:50px;
}

table.tblPointAndClickSelectedOptions td:first-child, table.tblPointAndClickSelectedOptions td:nth-child(2){
    text-align:left;  
}

table.tblPointAndClickSelectedOptions td:first-child label {
font-weight: bold;
    }

.hlSummaryChange {
    text-decoration:underline;
    font-weight:bold;
    background-color:lightyellow;

}

.divFilter {
   height: 500px; 
   width:800px;
   overflow: scroll;
}

.userFacilities {
    width:280px;
}

.facilityUsers {
    width:280px;
}

.tblEditUser {
    vertical-align:top;
    width: 100%;
}

#frmRegistration td:nth-child(2) {
    width:500px;
}

#frmRegistration td {
    padding: 5px 5px;
}

a.template:hover {
background-color:yellow;
cursor:default;
}

a.template  {
text-decoration: none;
color: #000000
}

.tdChkIdx {
background-color:white;
color:white;
}

table.tblViewReport {
 padding: 20px 20px;
 vertical-align:central;
text-align: center;
fit-position:center;
}
table.tblViewReport  td{
    padding:3px 5px;
    white-space:nowrap;
}

table.tblViewReport  tr:nth-child(2n+1){
    background-color: #E5E5E5;
}

table.tblViewReport  td:nth-child(1){
    font-weight:bold;
}

div.modal{
    /*display:none;*/
    position:fixed;
    z-index:10000;
    top:0;
    left:0;
    height:100%;
    width:100%;
    background:rgba(255,255,255,.95)
               url('images/ajax-loader.gif')
               50% 50%
               no-repeat;
}

img#imgTemplateImage {
    width:80%;
    height:80%;
}

/* Styles for TextBoxFor
-----------------------------------------------------------*/
input.ShortTextBox
{
    width:100px;
}

input.MediumTextBox
{
    width:200px;
}

input.LongTextBox
{
    width:400px;
}

table.tblSaveReport tr, table.tblMarketAreas tr, table.tblPeerGroups tr {
    vertical-align:top;
}

div.frameset{
    display: table;
    border-collapse: collapse;
}

.row {
    padding-bottom: 10px;
}

.left {
    width:75%;
    display: table-cell; 
}

.middle{
    width:10px;
    display: table-cell; 
}

.right{
    display: table-cell;     
}

.leftCopyPeerGroup{ 
    width:700px !important;
    display: table-cell; 
}

.rightCopyPeerGroup{
    display:table-cell;
}

.rightCopyMarketArea{
    display:table-cell;
    width: 400px !important;
}

.leftCopyMarketArea {
    width:1000px !important;
    display: table-cell; 
}

.fsPointAndClickCopyMarketArea #newNameFields {
    width:1000px !important;
}

div.frameset ul{
    overflow-y:scroll;
}

#btnRefresh{
    position:absolute; left:50%; top:0px;
}

#fsPeerGroupFacilityNames h4{
    margin-left:40px;
}

/*Market Area and Peer Group Text*/
#copiedMarketAreaName, #copiedPeerGroupName {
    color: #000000;
}

#displayPeerGroupNames p, #displayReportNames p, #displayMarketAreaNames p, #displayExistingNames p, #displayLayoutNames p {
    margin-left: 20px;
    font-size: small;
}

#displayPeerGroupNames {
    min-height:620px;
}

#displayReportNames {
    min-height:620px;
}

#displayMarketAreaNames {
    min-height:620px;
}

#displayExistingNames {
    min-height: 620px;
}

#displayLayoutNames {
    min-height: 620px;
    max-height: 740px;
    overflow: auto;
}

#displayPeerGroupNames ul {
    max-height: 620px;
    _height: expression(this.scrollHeight>619?"620px":"auto");
    overflow: auto;
}

#displayReportNames ul {
    max-height: 620px;
    _height: expression(this.scrollHeight>619?"620px":"auto");
    overflow: auto;
}

#displayMarketAreaNames ul{
    max-height:620px;
    _height:expression(this.scrollHeight>619?"620px":"auto");
    overflow:auto;
}

#displayExistingNames ul {
    max-height: 620px;
    _height: expression(this.scrollHeight>619?"620px":"auto");
    overflow: auto;
}

#displayLayoutNames ul {
    max-height: 620px;
    _height: expression(this.scrollHeight>619?"620px":"auto");
    overflow: auto;
}

.displayExistingNames li .peerGroupList li {
    margin-left: -20px;
}

.dataTables_filter input {
    width: 300px !important;
}

.control-label {
    text-align: right;
    font-weight: bold;
}

.rcorners {
    border-radius: 10px;
    border: 1px solid #000000;
    padding: 15px;
}