/*Font catchall*/
body {
    font-family: 'Gotham SSm 4r', 'Gotham SSm A', 'Gotham SSm B', 'proxima-nova', sans-serif;
    font-style: normal;
}

/*Custom Lifelong Learning formatting*/

.headerBar {
  background-color: #fff;
  background-image: none;
}

form.search-bar.has-submit-button #umb-search-submit {
  background-color: #3a3a3a;
}

#simplifiedmainmenu {
  background-color: #c8102e;
}
#simplifiedmainmenu a {
    font-size:90%;
    padding: .9em 1.5em;
    color: #fff;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: .5px;
  }
#simplifiedmainmenu a:hover, #simplifiedmainmenu a:focus {
  background-color: #990000;
}
@media (max-width: 767px) {
  #simplifiedmainmenu a {
    display: block;
    font-weight: 600;
    font-size: 120%;
    padding: .555em;
  }
  #simplifiedmainmenu .container {
    width: 100%;
  }
}
form.search-bar.has-submit-button #umb-search-submit  {
  background-image: url(/media/umb/style-assets/images/magnifying-glass-revised-white.png);
}


/*For the Affiliated with UMB bar*/
div.school-top-bar {
    background-color: rgb(0, 0, 0);
    color: #DFDFDF;
    font-size: .75em;
    padding: .8em 0;
    font-family: "Gotham SSm A","Gotham SSm B","proxima-nova",sans-serif;
}

div.school-top-bar a[href="http://www.umaryland.edu"] { 
    color:#ffcd00;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    margin-right: 1em;
}

div.school-top-bar a:not([href="http://www.umaryland.edu"]) { 
    text-decoration: none;
    text-transform: uppercase;
    color: #DFDFDF;
    margin-left: 1em;
}

div.school-top-bar a[href="http://www.umaryland.edu"]:hover,
div.school-top-bar a[href="http://www.umaryland.edu"]:active,
div.school-top-bar a[href="http://www.umaryland.edu"]:focus { 
    color:#FEE276;
}

div.school-top-bar a:not([href="http://www.umaryland.edu"]):hover,
div.school-top-bar a:not([href="http://www.umaryland.edu"]):active,
div.school-top-bar a:not([href="http://www.umaryland.edu"]):focus { 
    color: #fff;
}

@media only screen and (max-width: 768px) {
  div.school-top-bar .school-bar-links {
    display: block;
    margin-left: -1em;
  }
  div.school-top-bar .school-bar-links .spacer {
    display:none;
  }
}

/*Custom banner for the Lifelong Learning landing page*/
#lifelong-banner {
	background-color: #c8102e;
	font-size: 0px;
	position: relative;
	margin-bottom: 10px;

	background: -moz-linear-gradient(top,  #f8f8f8 0%, #f8f8f8 8%, #c8102e 8%, #c8102e 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #f8f8f8 0%,#f8f8f8 8%,#c8102e 8%,#c8102e 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #f8f8f8 0%,#f8f8f8 8%,#c8102e 8%,#c8102e 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}
#lifelong-banner img {
	max-width: 100%;
	height: auto;
	margin: 0;
}
/*The curve which overlaps the bottom of the banner*/
#lifelong-banner img.lifelong-banner-curve {
    position: absolute;
    bottom: -1px;
    width: 100%;
    left: 0;
    right: 0;
    height: 15%;
    z-index: 1;
}
#lifelong-banner .lifelong-banner-column {
	width: 50%;
	float: left;
}
/*The title image*/
#lifelong-banner .lifelong-banner-titlecolumn {
	position:relative;
}
#lifelong-banner .lifelong-banner-titlecolumn img.lifelong-banner-image {
	opacity: 0; /*Hidden matching image to ensure this column keeps the correct height*/
}
#lifelong-banner img.lifelong-banner-title {
	max-width: 60%;
	max-height: 150px;
	margin: 0 auto;

	position: absolute;
    top: 45%;
    left: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
}
/*The decorative photo*/
#lifelong-banner .lifelong-banner-imagecolumn {
	float: right;
}
#lifelong-banner img.lifelong-banner-image {
	max-height: 280px;
	margin: 0 0 0 auto;
}


/*Shrink the standard template logo*/

.branding {
    max-width: 300px;
}
@media only screen and (max-width: 880px) {
	.branding {
	    max-width: 250px;
	}
}
.headerBar {
	height: 145px;
}
@media only screen and (max-width: 880px) {
	.headerBar {
	    height: auto;
	}
}
@media (max-width: 767px) {
	.headerBar > .container:first-of-type > .row-fluid {
	    height: 4.25em;
	}
}

/*Styles for a flexbox version of the main nav*/
#simplifiedmainmenu #simplifiedmainmenu-flexcontainer {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -moz-box-orient: horizontal;
    -moz-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}
#simplifiedmainmenu #simplifiedmainmenu-flexcontainer a {
    -webkit-box-flex: 1;
    -webkit-flex: auto;
    -moz-box-flex: 1;
    -ms-flex: auto;
    flex: auto;
    padding: 1em 2.1em; /*2 was changed to 2.1 to make the Subscribe link fall to the second line in the menu on full-size screens (March 2023)*/
}
@media (max-width: 767px) {
  #simplifiedmainmenu #simplifiedmainmenu-flexcontainer a {
    
  }
}

/*Additional custom formatting for the Answers feed - Added Feb 16, 2021*/

#cf-include #ask-exp a {
    text-decoration: none;
    font-size: 110%;
}
#cf-include #ask-exp a strong {
	font-weight: 500;
}
#cf-include #ask-exp em {
	display: block;
	color: #333;
    font-family: "times new roman", times, georgia, serif;
}

#cf-include #ask-exp li {
	margin-bottom: 1.75em !important;
    display: inline-block;
}


@media only screen and (min-width: 601px) {
	#cf-include #ask-exp {
	    -webkit-column-count:2; /* Chrome, Safari, Opera */
	    -moz-column-count:2; /* Firefox */
	    column-count:2;
	    -webkit-column-gap:2em; /* Chrome, Safari, Opera */
	    -moz-column-gap:2em; /* Firefox */
	    column-gap:2em;
	}
}




