/* Page Arrangement */

/*get the montana.gov header to display correctly, convert em sizes to px*/
header#template-header{height:64px;}
#template-header{z-index: 0; position: inherit;}
#template-header-nav #template-search {display: none;}
#template-footer-nav {max-width:1600px;}
#template-footer-nav li a {font-size:12.8px;}
#template-search-button {border:0px; padding:0px}
#template-header-nav > li:nth-child(3) > a {display: none; }
form, table{ margin: 0px;}
/*end montana.gov */

/*remove the floats,so IE will move everything up*/
div.ManagerContainer.NonLoggedOn.ManagerBase.NoNavigation .ManagerMenuLink{
    float: none;
}
/*remove the floats,so IE will move everything up*/
div.ManagerContainer.NonLoggedOn.ManagerBase.NoNavigation .ManagerPageCaption{
    float: none;
}

/* Decreasing whitespace between login box links */
.WebHomeLogonPanel tr.FGBR.Visible {
display: none;
}

/*Alex's changes*/
/*background of the bottom logon panel*/
.StackCVAlways tr.ViewFieldContainer {
    margin-bottom: 5px;
}
div.ManagerContainer.NonLoggedOn.ManagerBase .ControlMessageContainer
{
    margin-bottom: 20px;
    padding-top: 0;
}

/* Table editor fixes */
.GroupTabSet .TabSetActive>.TabSetLink, .TableRowSelector .TabSetActive>.TabSetLink {
    padding-left: 30px;
    padding-right: 15px;
    border-radius: 5px;
    top: 3px;
}

.GroupTabSet, .TableRowSelector {
    border-radius: 7px;
}

.TabSetTab, .RowSelectorTab {
    margin-left: 7px;
    margin-right: 7px;
}


.TabSetLink, .RowSelectorLink {
    padding-left: 30px;
}


.TabSetError .TabErrorIndicator {
    padding-left: 2px;
}

/* control message on homepage only */
div.ManagerContainer.NonLoggedOn.ManagerBase .ControlMessageTitle {
    font-weight: normal;
    text-align: center;
    color: white;
    background: rgba(25, 60, 124, 1); /*blue*/    
    padding-top: 10px;
    padding-bottom: 10px;
}

/*Alex's changes*/
/* link color on logon panels */
.MT_LogonBackground1 a:hover {
    text-decoration: underline;
    color: white;
}
.MT_LogonBackground1 a:visited {
    color: white;
}
.MT_LogonBackground1 a:link {
    color: white;
}
.MT_LogonBackground a:hover {
    text-decoration: underline;
    color: white;
}
.MT_LogonBackground a:visited {
    color: white;
}
.MT_LogonBackground a:link {
    color: white;
}


/*************Footer Timeout Text Formatting************/
div.MT_SiteFooter 
{
	text-align: center;
	background:  rgba(255, 255, 255, 1);
    margin-left: auto;
    margin-right: auto;
    max-width: 84.85rem;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
	display: block;
	overflow: visible;
}

.MT_SiteTimeoutText
{
	color: rgba(54, 47, 35, 1);
	font-weight: bold;
	padding-right: 17px;
}

.MT_SiteTimeoutText li
{
	list-style-type: none;    
}

.MT_SiteFooterLinks
{
	padding-right: 17px;
	padding-bottom: 10px;
}

.MT_SiteFooterLinks li
{
	display:inline;
}

.MT_SiteFooterLinks li a
{
	color: rgba(54, 47, 35, 1);
}
/*************End Footer Timeout Text Formatting ************/


/*** start development panel css ***/
div.ManagerContainer.NonLoggedOn.ManagerBase.NoNavigation  > .SidebarSection.SidebarSectionDevelopment {
    margin: -10px 0 0 20px;
}

.SnapshotErrorContainer { 
    background: white;
    width: inherit;
    text-align: left;
}

.SessionMessageContainer {
    border: 10px solid #fff;
    background: #ebe1ce;
}
#template-layout-push {
    height: 88px;
}


a.SessionMessageReturn {
    border: none;
}
/*** END development panel css ***/

/*browser not supported message*/
.BrowserNotSupportedWarning {
    border: 10px solid #f80;
    background: #ffa;
    padding: 10px;
    font-size: 14px;
    margin-bottom: 0px;
    text-align: left;
    padding-left: 20px;
   // max-width: 1600px;
}

body {
    height: auto !important;
}