/*--------------------------------------------------------------
# General Style Rules
--------------------------------------------------------------*/

/* responsive images that don't run over their containers */
img {
	max-width: 100%;
	height: auto;
}

/* makes anchor links scroll down the page instead of jumping down the page */
html {scroll-behavior: smooth;}


/*no border on iframes */
iframe {
	border: 0;
}
/* let empty paragraphs be empty after change introduced in WordPress 5.7 */
p:empty::before {
    content: none;
}

/*--------------------------------------------------------------
# classes
--------------------------------------------------------------*/

/*can be set in any theme or plugin that needs them */

.clear {
	clear: both;
}
p.clear {
	margin: 0;
	padding: 0;
	height: 0;
}

.hidden { 
	display: none;
}


/* A light blue box with a subtle border */

div.ext-basic-message-box-generic {
	background-color: #CCE5FF;
	border: 2px solid #B8DAFF;
	padding: 8px;
}

/* A light red box with a subtle border */

div.ext-basic-message-box-error {
	background-color: #F9DBDB;
	border: 2px solid #D4392E;
	padding: 8px;
}



/*--------------------------------------------------------------
# Print
--------------------------------------------------------------*/

/* use within themes and plugins to hide elements on print */
@media print {
	.no-print {
		display: none;
	}
}

/*--------------------------------------------------------------
# Contact Form
--------------------------------------------------------------*/

form.contact-form { width: 100%; text-align: left; }
form.contact-form textarea { width: 96%; }
form.contact-form label { float: none; display: inline; }
.form-error, form.contact-form p label.form-error { color: maroon; }

/*--------------------------------------------------------------
# Twitter Widget
--------------------------------------------------------------*/

iframe.twitter-follow-button,
iframe.twitter-hashtag-button { 
	display: block;
	margin: 0 auto;
}

/*--------------------------------------------------------------
# cets-childpages
--------------------------------------------------------------*/

ul.cets-childpages {
	margin-top: 14px;
	margin-bottom: 14px;
}
ul.cets-childpages li {
	list-style-type: none;
	font-size: 18px;
	font-weight: bold;
}
ul.cets-childpages ul {
	margin-top: 10px;
}
ul.cets-childpages ul li {
	list-style-type: circle;
	font-size: inherit;
	font-weight: normal;
	font-size: 14px;
}

/*--------------------------------------------------------------
# comment form discussion policy
--------------------------------------------------------------*/

div.cets-discussion-policy {
	margin-top: 2px;
	padding: 2px;
}
 
div.cets-discussion-policy p {
	font-size: 12px;
	line-height: 14px;
 }

/*--------------------------------------------------------------
# admin bar
--------------------------------------------------------------*/

 /* hide admin bar search */
#wpadminbar #adminbarsearch {display: none;}

/*--------------------------------------------------------------
# cets Help box
--------------------------------------------------------------*/

div.cets-help-box, div.cets-help-box-short {
	margin: 5px 0 15px;
	border-left: 4px solid #0f4b91;
	background-color: #F3F3F3;
	box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2);
	background-image:url(../images/tiny-cow.png);
	background-repeat: no-repeat;
	min-height: 25px;
	padding: 1px 12px;
	background-position: left center;
}
div.cets-help-box-short {
	margin-top: -30px;
}
div.cets-help-box p, div.cets-help-box-short p {
	margin: 0.5em 0;
	padding: 2px;
	padding-left: 23px;
	line-height: 1.5em;
}

/*--------------------------------------------------------------
# Knack
--------------------------------------------------------------*/

/*hide the menu in knack because it conflicts with our mobile menu in discovery */
.entry-content .kn-content .kn-navigation-bar,
.entry-content #kn-app-header #kn-app-mobile-container,
.entry-content #kn-mobile-menu{
  display: none;
}

#expertiseSearch {
	max-width: 100%;
}

/*--------------------------------------------------------------
# input
--------------------------------------------------------------*/

input, select, textarea {
    font-size: 1.1em;
    border-color: #E0E0E0;
    border-radius: 3px;
	/*margin-bottom: .3em !important;*/
    /*margin-top: .3em !important;*/
}
input, select {
	height: 2.5em;	
}
input[type="checkbox"] {
	height: auto;
}

/*--------------------------------------------------------------
# Google Custom Search Message
--------------------------------------------------------------*/

.cets-cse-suggest-global {
	background: #F2F6FF;
	border: 1px solid #C7D1E0;
	min-height: 50px;
	margin: 0 auto;
	width: 98%;
}
.cets-cse-suggest-global p {
	margin: 20px 10px 20px 10px;
}

#___gcse_0 {
	width: 98%;
	margin: 0 auto;
}

/*--------------------------------------------------------------
# PLUGIN: CETS Column Shortcodes
--------------------------------------------------------------*/

.cs-column-half {
                width: 47%;  
                float: left;
                margin-right: 1.5%;
				margin-left: 1.5%;
}
.cs-column-third{
                width: 30%;
                float: left;
                margin-right: 1.5%;
				margin-left: 1.5%;
}
.cs-column-two-thirds {
                width: 64%; 
                float: left;
                margin-right: 1.5%;
				margin-left: 1.5%;
}
.cs-column-four-fifths {
                width: 77%; 
                float: left;
                margin-right: 1.5%;
				margin-left: 1.5%;
}
.cs-column-one-fifth {
                width: 17%; 
                float: left;
                margin-right: 1.5%;
				margin-left: 1.5%;
}
.cs-column-one-fourth {
                width: 22%;  
                float: left;
                margin-right: 1.5%;
				margin-left: 1.5%;
}

.cs-column-half img, 
.cs-column-third img, 
.cs-column-two-thirds img, 
.cs-column-one-fifth img,
.cs-column-four-fifths img, 
.cs-column-one-fourth img {
      max-width: 98%;
      height: auto;
}
.cs-column-half iframe, 
.cs-column-third iframe,
.cs-column-two-thirds iframe,
.cs-column-one-fifth iframe,
.cs-column-four-fifths iframe,
.cs-column-one-fourth iframe {
    max-width: 98%;
}

.cs-clearer {clear: both;}

.cs-column-one-fourth p,
.cs-column-third p,
.cs-column-two-thirds p,
.cs-column-half p,
.cs-column-one-fifth p,
.cs-column-four-fifths p {
	margin-bottom: 0; 
	padding-bottom: 0;
}

.cs-column-one-fourth + p,
.cs-column-half + p,
.cs-column-third + p,
.cs-column-two-thirds + p,
.cs-column-four-fifths + p,
.cs-column-one-fifth + p {
	margin-bottom: 0;
	padding-bottom: 0;
}

@media only screen and (max-width:800px) {
	.cs-column-one-fourth{
		width: 47%; 
		margin-bottom: 10px;
	}
}
@media only screen and (max-width:700px), only screen and (max-device-width:700px) {
     .cs-column-two-thirds, .cs-column-third {
     	float: none; 
     	width: 98%; 
     	margin-bottom: 10px;
     }
}
@media only screen and (max-width:600px), only screen and (max-device-width:600px) {
      .cs-column-half, .cs-column-one-fifth, .cs-column-four-fifths {
      	float: none; 
      	width: 98%; 
      	margin-bottom: 10px;
      }
	  .cs-column-one-fourth{
	  	width: 98%; 
	  	margin-bottom: 10px;
	  }
}


/*--------------------------------------------------------------
# Emma Sign Up Form 
--------------------------------------------------------------*/
.e2ma_signup_form #e2ma_signup_form_button_row,
.e2ma_signup_form .e2ma_signup_form_button_row{
	float: left;
}

/*--------------------------------------------------------------
# PLUGIN: Blog Topics Expansion Pack
--------------------------------------------------------------*/
ul.blog-list li {
   padding: 3px;
}
ul.blog-list,
ul.blog-list ul.blog-list-inner {
    margin: 0 0 1.5em 0 !important;
    list-style: none !important;
}


/*--------------------------------------------------------------
# PLUGIN: Global Banner 
--------------------------------------------------------------*/

/* "ces-mm" is the scoping prefix for any ID styles */

/* Sizes: 1050px, 870px, 800px, 768px, 650px, 600px, 450px, 310px */

/* General Styles for any size window             */

/* Clearing */
.clear {
	clear: both;
}

/* so the header doesn't run over the anchor links
------------------------------------------------- */
:target {
	scroll-margin-top: 35px; 
}
.logged-in :target {
	 scroll-margin-top: 65px; 
} 

/* = Global Banner MegaMenu
#ces-mm is the overall container for this project 
------------------------------------------------- */

html {
    padding-top: 30px !important;
}

#ces-mm {
	margin: 0;
	padding: 0;
	position: fixed;
	left: 0;
	width: 100%;
	z-index: 1000;
	background-color:#a50309;
	font-family: verlag, arial, helvetica, sans-serif;
	min-height: 30px;
}


/* = Global Banner MenuBar 
	#ces-mm-bar is the grey bar with UWEX and CES 
	eyebrows that displays on every page 
------------------------------------------------- */
#ces-mm.not-logged-in {
	top: 0;
}

/*additional space for admin bar */
#ces-mm.logged-in {
	top: 32px;
}
#ces-mm .explore-extension {
	color: #c6c6c6;
    font-family: verlag, arial, helvetica, sans-serif;
	vertical-align: text-top;
	font-size: 14px;
	line-height: 27px;
}
.theme-discovery #ces-mm .explore-extension {
	color: #f2c4c4;
}
#ces-mm #ces-mm-bar {
	background: #23282d;
	min-height: 32px;
	margin-bottom: 0;
	min-width: 580px;
	transition: all 0.5s ease;
}
.theme-discovery #ces-mm #ces-mm-bar {
	background-color: #c5050c;
	border-bottom: 1px solid #e40b10;
}
/*themes with verlag */
.theme-discovery #ces-mm .explore-extension,
.theme-discovery #ces-mm #ces-mm-bar .mm-link,
.theme-kayak #ces-mm .explore-extension,
.theme-kayak #ces-mm #ces-mm-bar .mm-link,
.theme-magnify #ces-mm .explore-extension,
.theme-magnify #ces-mm #ces-mm-bar .mm-link {
	font-size: 16px;
}
#ces-mm #ces-mm-bar .mm-link {
    margin: 3px 10px 2px;
	font-size: 14px;
    border: none;
    color: white;
    text-decoration: none;
    line-height: 27px;
    font-weight: normal;
	vertical-align: text-top;
}

#ces-mm #ces-mm-bar .left {
	float: left;	
}
#ces-mm #ces-mm-bar .right {
	float: right;	
	padding-left: 10px;
	border-left: 1px solid #fff;
	margin-left: 10px;
}
#ces-mm.opened #ces-mm-bar .right {
	border-left: none;
}

#ces-mm #ces-mm-ceslink {
	padding-right: 24px; 
	background: url(../images/cets-global-banner/menuicon.gif) no-repeat right;  
	cursor: pointer;
}
#ces-mm.opened #ces-mm-ceslink {
	background: url(../images/cets-global-banner/close-icon.png) no-repeat right; 
	background-color: #b30e12;
    background-position: center;
	cursor: pointer; 
	margin-right: 15px;
    margin-top: 5px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}
/*	=  Global Banner Menu
	#ces-mm-menu is the multi-panel menu that 
	opens when the bar control is clicked  
------------------------------------------------- */
#ces-mm #ces-mm-menu {
	margin-top: 0;
	border-bottom: 1px solid #b3080c;
	border-top: 1px solid #840207;
	border-width: 1px 0;
	border-collapse:collapse;
	font-family: verdana, arial, helvetica, sans-serif;
}
#ces-mm #ces-mm-menu-inner {
	max-width: 1050px;
	margin-left:auto;
	margin-right: auto;
}

/*	.mm-item is each box */
#ces-mm #ces-mm-menu .mm-item {
	display: table-cell;
	padding-bottom: 26px;
}
/*	.title is the item's title */
#ces-mm #ces-mm-menu .title {
	font-size: 20px;
	text-align: center;	
	margin: 0;
	line-height: 32px;
	padding: 8px;
	font-weight:bold;
}
#ces-mm #ces-mm-menu .title a {
	color: white;
	text-decoration: none;
}
#ces-mm #ces-mm-menu a {
	font-weight: normal;
}
/*	.content is the item content area */
#ces-mm #ces-mm-menu .content {
	border-right: 2px solid #9b0000;
	height: 200px;
	font-size: 14px;
	color: white;
	margin: 1em 0 1em 0;
	padding: 0 1em;
	line-height: 1.8em;
}
#ces-mm .inner .home-link {
    border-bottom: 1px solid #774445;
    padding-bottom: 8px;
    margin-bottom: 8px;
    display: inline-block;
}
#ces-mm #ces-mm-menu .explore-link a {
	font-weight: bold;
}
#ces-mm #ces-mm-menu .content p {
	line-height: 1.8em;
	margin-bottom: 1em;
	padding: 0;
	margin-top: 0;
	font-size: 14px;
}
#ces-mm #ces-mm-menu .content a {
	font-size: 14px;
	color: white;
	text-decoration: none;
}
#ces-mm #ces-mm-menu .content a:hover {
	text-decoration: underline;
}
#ces-mm #ces-mm-menu .mm-item-image {
	text-align: center;
}

/* hide mobile links on desktop */
#ces-mm #ces-mm-menu .mm-item.facebook,
#ces-mm #ces-mm-menu .mm-item.twitter{
	display: none;
}

/*	= Global Banner Home box
------------------------------------------------- */
#ces-mm #ces-mm-ces {width: 262px;}

/*	= Global Banner Learning Store box
------------------------------------------------- */
#ces-mm #ces-mm-learningstore {
	width: 262px;
	text-align: center;
}
/*	= Global Banner FYI box
------------------------------------------------- */
#ces-mm #ces-mm-fyi {width: 262px;}

/*	= Global Banner County box
------------------------------------------------- */
#ces-mm #ces-mm-counties {width: 272px; text-align:center;}
#ces-mm #ces-mm-countylink { }
#ces-mm #ces-mm-countymap {height: 120px;}

/*	= Global Banner Staff Directory Box
------------------------------------------------- */
#ces-mm #ces-mm-staff-directory {
	width: 272px;
	text-align: center;
}

/*	= Global Banner Social Media Box
------------------------------------------------- */
#ces-mm .ces-mm-social {
	width: 232px;
}
#ces-mm .ces-mm-social .content {
	border-right: none;
	display: flex;
	justify-content: center;
}
#ces-mm .ces-mm-social .content .inner p.social-icon {
	display: flex;
}
#ces-mm .ces-mm-social .content img {
	padding-right: 15px;
}
/*	= Global Banner Institutes Media Box
------------------------------------------------- */
#ces-mm #ces-mm-institutes {
	width: 272px;
}

/* 	= lobal Banner Search bar 
------------------------------------------------- */
#ces-mm #ces-mm-search {
	text-align: center;
	padding: 0 0 1em 0;
	font-size: 14px;
}
#ces-mm #ces-mm-search input.searchbox {
	width: 86.206895%;
	padding: 3px;
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
#ces-mm input[type="submit"] {
	border: 1px solid #ccc;
	border-color: #ccc #ccc #bbb #ccc;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer;
	-webkit-appearance: button;
	font-size: 12px;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}


/* Responsive Sizes                               */

@media only screen and (max-width: 1240px) {
	#ces-mm .institute {display: none;}		
}
@media only screen and (max-width: 800px) {
	#ces-mm #ces-mm-menu .title {font-size: 16px;}		
}
@media screen and (max-width: 782px) {
	#ces-mm.logged-in {
		top: 46px;
	}
}
@media only screen and (max-width: 700px) {
	#ces-mm #ces-mm-menu {	background: none;}
	#ces-mm #ces-mm-menu .content {	display: none;}
	#ces-mm #ces-mm-menu .mm-item {
		display: block;
		width: 100%; 
		border-bottom: 1px solid #5d1012;
		padding-bottom: 0;
	}
	#ces-mm #ces-mm-menu .title, #ces-mm #ces-mm-search form  {
		font-size: 20px;
		text-align: left;
		padding: 0.25em 1em;
	}
	#ces-mm #ces-mm-search {
		text-align: center;
		padding: 0 ;
	}
	#ces-mm #ces-mm-search input.searchbox {
		width: 250px;
	}
	
	#ces-mm #ces-mm-menu .mm-item.social {
		display: none;
	}
	#ces-mm #ces-mm-menu .mm-item.facebook,
	#ces-mm #ces-mm-menu .mm-item.twitter {
		display: block;
	}
	
}
@media only screen and (max-width: 600px) {
	#ces-mm {
		position: absolute;
	}
	html {
		padding-top: 76px !important;
	}
	#ces-mm #ces-mm-bar {
		min-height: 76px;
	}
	#ces-mm.opened #ces-mm-bar {
		min-height: 32px;
	}
	#ces-mm #ces-mm-bar {
		min-width: auto;
	}
	#ces-mm #ces-mm-bar .mm-link {
		margin: 3px 10px 2px;
		border: none;
	}
	#ces-mm #ces-mm-bar .left {
		display: block;
		float: none;
		width: auto;
		margin: 0;
		padding: 0.25em 1em;
		border-bottom: 1px solid #444;
	}
	.theme-discovery #ces-mm #ces-mm-bar .left {
		border-bottom: 1px solid #dc2f2f;
	}
	#ces-mm.opened #ces-mm-bar .left,
	.theme-discovery #ces-mm.opened #ces-mm-bar .left {
		float: left;
		border-bottom: none;
	}
	#ces-mm #ces-mm-bar .right {
		display: inline-block;
		float: none;
		border-left: none;
		margin: 0;
		padding: 0.25em 24px 0.25em 1em;
	}
	#ces-mm.opened  #ces-mm-bar .right {
		float: right;
		min-height: 32px;
		padding: 0;
		width: 32px;
	}
	#ces-mm #ces-mm-bar br.clear {
		display: none;
	}	
}

/*****
	END PLUGIN: Global Banner
*****/

