/* variables needed for defining
	primary_color1 - #1D5F83
	primary_color2 - #14425c - a tad darker version of primary
	primary_color3 - #11394f - a darker version of primary
	primary_color4 - #d2dfe6 - really light version of primary
	accent_color1 - #910029
	accent_color2 - #570019		a shade lighter version of accent
    link_color1 - #A2998B
	
*/

:root {
    --primary_color1: #1D5F83;
    --primary_color2: #14425c;
    --primary_color3: #11394f;
    --primary_color4: #d2dfe6;
    --accent_color1: #910029;
    --accent_color2: #570019;
    --link_color1: #A2998B;
}

a {
    color: #A2998B;
    text-decoration: none
}

a:focus, a:hover {
    color: #A2998B;
    text-decoration: underline
}

.mui-btn--primary {
    color: #FFF;
    background-color: #1D5F83
}

.mui-btn--primary:active, .mui-btn--primary:focus, .mui-btn--primary:hover {
    color: #FFF;
    background-color: #14425c
}

.mui-btn--primary[disabled]:active, .mui-btn--primary[disabled]:focus, .mui-btn--primary[disabled]:hover {
    color: #FFF;
    background-color: #1D5F83
}

.mui-btn--primary.mui-btn--flat {
    color: #1D5F83;
    background-color: transparent
}

.mui-btn--primary.mui-btn--flat:active, .mui-btn--primary.mui-btn--flat:focus, .mui-btn--primary.mui-btn--flat:hover {
    color: #1D5F83;
    background-color: #f2f2f2
}

.mui-btn--primary.mui-btn--flat[disabled]:active, .mui-btn--primary.mui-btn--flat[disabled]:focus, .mui-btn--primary.mui-btn--flat[disabled]:hover {
    color: #1D5F83;
    background-color: transparent
}

.mui-btn--accent {
    color: #FFF;
    background-color: #910029
}

.mui-btn--accent:active, .mui-btn--accent:focus, .mui-btn--accent:hover {
    color: #FFF;
    background-color: #570019
}

.mui-btn--accent[disabled]:active, .mui-btn--accent[disabled]:focus, .mui-btn--accent[disabled]:hover {
    color: #FFF;
    background-color: #910029
}

.mui-btn--accent.mui-btn--flat {
    color: #910029;
    background-color: transparent
}

.mui-btn--accent.mui-btn--flat:active, .mui-btn--accent.mui-btn--flat:focus, .mui-btn--accent.mui-btn--flat:hover {
    color: #910029;
    background-color: #f2f2f2
}

.mui-btn--accent.mui-btn--flat[disabled]:active, .mui-btn--accent.mui-btn--flat[disabled]:focus, .mui-btn--accent.mui-btn--flat[disabled]:hover {
    color: #910029;
    background-color: transparent
}

.mui-appbar{
    background-color: #910029;
    color: #FFF
}

.navbar-default,.navbar,.navbar-brand {
    background-color: #910029;
    color: #FFF !important

}

.mui-appbarcolor {
    background-color: #910029;
    color: #FFF
}

label {
    color: #910029
}

label[data-imagemenufield] {
    color: #910029
}

.mui-textfield > label.bold {
    color: black;
    font-weight: bold;
}

.mui-tabs__bar>li.mui--is-active>a {
    color: #910029
}


.mui--text-accent {
    color: #910029
}

.mui-textfield>input:focus~label, .mui-textfield>select:focus~label, .mui-textfield>textarea:focus~label,.mui-textfield label.focussed {
    color: #910029;
}

.rem_field:focus {
    border-bottom: 2px solid #910029;
}

.mui-textfield>textarea {
    -moz-box-shadow: 0px 0px 3px lightgray;
    -webkit-box-shadow: 0px 0px 3px lightgray;
    box-shadow: 0px 0px 3px lightgray;
    padding: 6px;
}

abbr[title] {
    border-bottom: 1px dotted #910029;
}

.mui-textfield>input:focus, .mui-textfield>select:focus, .mui-textfield>textarea:focus {
    border-color: #910029;
}

.mui-select:focus>select, .ui-autocomplete>select {
    border-color: #910029;
}

.mui-select>select:focus {
    border-color: #910029;
}

.announce-info {
    color: #14425c;
    background-color: #d2dfe6;
    border-color: #11394f;
}

.primaryLightLine {
	border-bottom: 1px solid #d2dfe6;
}

/*
 * Here's the bootstrap overrides for customization
 * bootstrap uses: primary: #337ab7, primary hover: #286090
 * found another color for border that was a tad lighter #2e6da4 (very similar to primary color 2,
 * and oyther that was really dark: #122b40 #11394f
 * another even more dark border found: #204d74 will assign primary3 also
 * */


.primaryUnderLink {
    color: #1D5F83;
	cursor: pointer;
	border-bottom: 1px dotted #1D5F83 !important;
}
.primaryUnderLink:hover {
	border-bottom: 1px solid #1D5F83 !important;
}

.accentUnderLink {
    color: #910029 !important;
	cursor: pointer;
	border-bottom: 1px dotted #910029 !important;
}
.accentUnderLink:hover {
	border-bottom: 1px solid #910029 !important;
}

.text-primary {
    color: #1D5F83
}

.text-accent {
    color: #910029
}

a.text-primary:focus, a.text-primary:hover {
    color: #14425c
}

.bg-primary {
    color: #fff;
    background-color: #1D5F83
}

a.bg-primary:focus, a.bg-primary:hover {
    background-color: #14425c
}

.btn-primary {
    color: #fff;
    background-color: #1D5F83;
    border-color: #14425c
}

/* the contrast version has lighter background color (use for toggled radio buttons  */
.btn-primary.contrast {
    color: #14425c; /*#555;*/
    background-color: #d2dfe6;
    border-color: #14425c
}

/* border color was #2e6da4 */

.btn-primary.focus, .btn-primary:focus {
    color: #fff;
    background-color: #14425c;
    border-color: #11394f
}


/* border-color:#122b40 */

.btn-primary:hover {
    color: #fff;
    background-color: #14425c;
    border-color: #11394f
}


/* border-color:#204d74 */

.btn-primary.active, .btn-primary:active, .open>.dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #14425c;
    border-color: #11394f
}


/* border-color:#204d74 */

.btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open>.dropdown-toggle.btn-primary.focus, .open>.dropdown-toggle.btn-primary:focus, .open>.dropdown-toggle.btn-primary:hover {
    color: #fff;
    background-color: #11394f;
    border-color: #11394f
}


/* border-color:#204d74 */

.btn-primary.disabled.focus, .btn-primary.disabled:focus, .btn-primary.disabled:hover, .btn-primary[disabled].focus, .btn-primary[disabled]:focus, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary.focus, fieldset[disabled] .btn-primary:focus, fieldset[disabled] .btn-primary:hover {
    background-color: #1D5F83;
    border-color: #14425c
}





/* border-color:#2e6da4 */

.btn-primary .badge {
    color: #1D5F83;
    background-color: #fff
}

.label-primary {
    background-color: #1D5F83
}

.label-primary[href]:focus, .label-primary[href]:hover {
    background-color: #14425c
}

.panel-primary {
    border-color: #1D5F83
}

.panel-primary>.panel-heading {
    color: #fff;
    background-color: #1D5F83;
    border-color: #1D5F83
}

.panel-primary>.panel-heading+.panel-collapse>.panel-body {
    border-top-color: #1D5F83
}

.panel-primary>.panel-heading .badge {
    color: #1D5F83;
    background-color: #fff
}

.panel-primary>.panel-footer+.panel-collapse>.panel-body {
    border-bottom-color: #1D5F83
}

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
    background-color: #910029;
}

.custLabel {
    color: #910029;
}

.leftPad {
    margin-left: 8px;
}


/* override for na-tabs new style tiny */

.nav-tabs>li.tinytab>a {
    padding: 2px 10px !important;
}


/*over ride*/

.navbar-brand:focus, .navbar-brand, .navbar-brand:hover {
    color: white;
}

#slidemenu:not(.slide-active)>ul>li>a:hover {
    color: #A2998B;
}

#slidemenu:not(.slide-active)>ul>li.dropdown.open>a {
    color: #14425c;
}

#slide-nav {
    background-color: #910029;
}


/* my navbar override since we need to brighten text */

#slidemenu:not(.slide-active)>ul>li>a {
    color: white;
}

#slidemenu:not(.slide-active)>ul>li>a:focus {
    /* this is not activating */
    /* need a fix for a link when slide menu not activated, they have clicked the linked
	the backgeound has changed from primary color to grey, but the text is staying white
	*/
    color: #910029;
}


/* end of overrides */


/* tighten up space in some menus with a smaller space between dividers */

li.divider.tight {
    margin-top: 2px;
    margin-bottom: 2px;
}


/* dropdown submennu capability */

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #cccccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #ffffff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}


/* my MUI and tracmenucombo */

.mui-select__menu>select {
    border: none;
}

.mui-select__menu>select>option, .mui-option {
    padding-top: 10px;
    padding-left: 22px;
    padding-right: 22px;
    height: 42px;
    line-height: 42px;
    cursor: pointer;
    white-space: nowrap;
}

.mui-select__menu>select>option:hover, .mui-option:hover {
    background-color: #E0E0E0;
}

.mui-select__menu>select>option[selected], .mui-option[selected] {
    background-color: #EEEEEE;
}


/* this is for popover titles */
.text-info {
    color: #910029 !important;
}

/* my overrides for handling colorizing the tooltip */

.tooltip.top .tooltip-arrow {
    bottom: 0;
    left: 50%;
    margin-left: -5px;
    border-top-color: #65001d;
    border-width: 5px 5px 0;
}

.tooltip-inner {
    color: #65001d;
    background: #e9ccd4;
    border: solid 1px #65001d;
    min-width: 200px;
}


/* listing page navigation */

.newspg {
    background: #1D5F83;
    color: white;
    border: thin solid #1D5F83;
    padding: 0px 3px;
    box-shadow: 2px 2px 1px #ccc;
    margin: 0px 1px;
}

.newspg:hover {
    color: black;
    text-decoration: none;
}

.curpg {
    background: white;
    color: #1D5F83;
    border: thin solid #1D5F83;
    padding: 0px 3px;
    box-shadow: 2px 2px 1px #ccc;
    margin: 0px 1px;
}

.curpg:hover {
    text-decoration: none;
}

.bgaccent, .tb {
    background-color: #910029 !important;
}

.bgaccentLight, .tb {
    background-color: #e9ccd4 !important;
}

.accentLight {
    color: #e9ccd4;
}

.bgaccentLight {
    background-color: #e9ccd4 !important;
}

.bgprimaryLight {
    background-color: #d2dfe6 !important;
}

.bgprimaryMedLight {
    background-color: #779fb5 !important;
}


.bgaccentLighter, .tb2 {
    background-color: #f4e5ea !important;
}

.accent {
    color: #910029;
}

.primary {
    color: #1D5F83;
}

.accentLighter {
    color: #f4e5ea;
}

.bgaccentLighter {
    background-color: #f4e5ea;
}

.bgprimaryLighter {
    background-color: #e8eff3 !important;
}

.primaryLight {
    color: #d2dfe6;
}

.primaryMedLight {
    color: #779fb5;
}

.brdrPrimaryLight {
    border-color: #d2dfe6;
}

.brdrAccentLight {
    border-color: #e9ccd4;
}

.brdrAccentLighter {
    border-color: #f4e5ea;
}

.brdrSolid {
	border-style: solid;
}

.brdrDotted {
    border-style: dotted;
}

.brdrWidth2 {
    border-width: 2px;
}

.brdrRounded {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    /* future proofing */
}

.shadow {
	 -moz-box-shadow: 0px 0px 10px grey;
    -webkit-box-shadow: 0px 0px 10px grey;
    box-shadow: 0px 0px 10px grey;
}

.groupselect>select {
    -webkit-animation-duration: 0.0001s;
    animation-duration: 0.0001s;
    -webkit-animation-name: mui-node-inserted;
    animation-name: mui-node-inserted;
    display: block;
    height: 32px;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.26);
    border-radius: 0px;
    box-shadow: none;
    background-color: transparent;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iNiIgd2lkdGg9IjEwIj48cG9seWdvbiBwb2ludHM9IjAsMCAxMCwwIDUsNiIgc3R5bGU9ImZpbGw6cmdiYSgwLDAsMCwuMjQpOyIvPjwvc3ZnPg==");
    background-repeat: no-repeat;
    background-position: right center;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.87);
    font-size: 16px;
    padding: 0 25px 0 0;
}

.groupselect>select:focus {
    outline: 0;
    height: 33px;
    margin-bottom: -1px;
    border-color: #2196F3;
    border-width: 2px;
}

i.danger, td.danger, color_danger {
    color:red !important;
}

i.warning, td.warning, color_warning {
    color:orange !important;
}

i.notice, td.notice, color_notice {
    color:blue !important;
}

i.neutral, td.neutral, color_neutral {
    color:grey !important;
}

.underline {
	text-decoration: underline;
}

.lightunderline {
	text-decoration: underline;
	-moz-text-decoration-color: grey; /* Code for Firefox */
    text-decoration-color: grey;
}

.announce-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.announce-success hr {
    border-top-color: #c9e2b3;
}

.announce-success .announce-link {
    color: #2b542c;
}

.announce-notice {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.announce-notice hr {
    border-top-color: #a6e1ec;
}

.announce-notice .announce-link {
    color: #245269;
}

.announce-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.announce-warning hr {
    border-top-color: #f7e1b5;
}

.announce-warning .announce-link {
    color: #66512c;
}

.announce-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.announce-danger hr {
    border-top-color: #e4b9c0;
}

.announce-danger .announce-link {
    color: #843534;
}


.announce-neutral {
    color: #7b7c7c;
    background-color: #f2f2f2;
    border-color: #d1d3d3;
}

.announce-neutral hr {
    border-top-color: #efefef
}

.announce-neutral .announce-link {
    color: #5f6060;
}

.alert-primary {
	color: #570019;
	background-color: #d2dfe6;
	border: 1px solid transparent;
	border-radius: 8px;
	-moz-box-shadow: 3px 3px 6px grey;
    -webkit-box-shadow: 3px 3px 6px grey;
    box-shadow: 3px 3px 6px grey;
}


.alert-primarycolor {
	color: #570019;
	background-color: #d2dfe6;
}

.bigRounded {
	border: 1px solid transparent;
	border-radius: 8px;
}


button.dropdown-toggle.btn-lg {
	padding-top: 12px;
	padding-bottom: 13px;
}



/* override padding for mui-panel and mui container for narrow screens */

@media (max-width: 767px) {
  .mui-container {
    width: 100%;
    padding: 10px;
  }
  
  .container {
  	width:100%;
  	padding:10px;
  	padding-left: 10px;
  	padding-right: 10px;
  	}

  
  .narrowHide {
  	display: none;
  }
  
  .narrowShow {
  	display: block;
  }
}


@media (min-width: 1068px) { /** was 768 **/
	.narrowHide {
		display: block;
	}
	.narrowShow {
		display: none;
	}
}

.outlinePrimary {
	text-shadow: -1px 0 #1D5F83, 0 1px #1D5F83, 1px 0 #1D5F83, 0 -1px #1D5F83;
}

.outlineAccent {
	text-shadow: -1px 0 #910029, 0 1px #910029, 1px 0 #910029, 0 -1px #910029;
}

.outlineBlack {
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.outlineGrey {
	text-shadow: -1px 0 grey, 0 1px grey, 1px 0 grey, 0 -1px grey;
}


.modal-m {
    max-width: 500px
}


/*
 some text helper
*/
.text-weight-normal {
    font-weight: normal;
}
.text-weight-bold {
    font-weight: bold;
}
.text-style-italic {
    font-style: italic;
}
.text-align-right {
    text-align: right;
}
.text-align-center {
    text-align: center;
}
.text-align-left {
    text-align: left;
}


/* allow popovers that are popentry objects to be as big as is needed */
.popentry {
    max-width: 3000px;
}

/*
 Never show an appbar when inside the popover popentry
 and never show a div that's nopopover when inside a popentry
*/
.popentry > div.popover-content .mui-appbar, .hideAppBar .mui-appbar, .popentry .nopopover  {
    display: none;
}

.popentry .mui-container {
    width: auto;
}

.popover-content div.nopopborder {
    border:none !important;
}

.popover-content div.nopopmargin {
    padding: 0px !important;
    margin: 0px !important;
    margin-bottom: 0px !important;
}

.popover-content div.nopopboxshadow {
    box-shadow:none !important;
    margin-bottom: 0px !important;
}

.formentry {
    margin: 0px;
}

/* set an item to popentryonly and it will onluy be displayed inside a popover */
.popentryonly {
    display: none;
}

.popentry > div.popover-content .popentryonly, .popentry .popentryonly  {
    display: block;
}

.popfield_search {
    display: none;
}

a:hover > .popfield_search, a:focus > .popfield_search {
    display: inline;
}

.hidden {
    display: none;
}

a.pushbutton {
    border: 1px solid grey;
    border-radius: 4px;
    color: grey;
    background-color: white;
    padding: 2px;
}
a.pushbutton.selected {
    border: 1px solid #910029;
    border-radius: 4px;
    color: white;
    background-color: #910029;
}
a.pushbutton.menu {
    border: 1px dotted grey;
    border-radius: 4px;
    color: grey;
    background-color: white;
    padding: 2px;
}


.panel-primary.bordered {
	/*border: 1px solid silver;*/
	border-width: thin;
}

.popover-title {
    background-color: inherit;
    filter: brightness(95%);
}

.btn-accent {
    border: 1px solid #910029;
    border-radius: 4px;
    color: white;
    background-color: #910029;
}

.btn-accent:hover, .btn-accent:focus {
    border: 1px solid #570019;
    color: white;
    background-color: #570019;
}

div.mui-checkbox input[type="checkbox"] {
    vertical-align: top;
}

div.mui-checkbox label {
    white-space: normal;
}
