/*
Theme Name: GeneratePress Child
Template: generatepress
*/

/*Removes extra space under header widget area widgets, horizontally aligns widgets, and right-aligns*/
.header-widget .widget {
    margin: 0px 10px 0px;
    display: inline-block;
    float: right;
}

.inside-header .header-widget {
    max-width: 60%;
    padding-top: 20px;
}

/*Google Custom Search CSS*/

#___gcse_0 .gsc-search-box {
    max-width: 231px;
}

#___gcse_0 td.gsc-search-button {
	border-width: 0px;
}

#___gcse_0 .gsc-input {
	margin-bottom: 0px;
	padding: 0px;
}

td.gsc-input {
	border-width: 0px;
}

td.gsib_a {
	padding: 4px;
	border-width: 0;
}

td.gsib_b {
	padding: 0px;
	border-width: 0px;
}

td.gsc-search-button {
	border-width: 0px;
}

table.gstl_51 {
	margin: 0;
}

#___gcse_1 .gsc-cursor-page {
	padding: 7px;
	color: black;
	margin-right: 12px;
}

#___gcse_1 .gsc-cursor-current-page {
	color: #0098DB;
}

.header-widget .widget_text {
    padding-top: 21px;
}

.header-widget .widget_gtranslate {
    padding-top: 10px;
}
/* 9px, not 10px: the Google search box is ~2px taller than the select; 9px centers them */
.header-widget .widget_wgs_widget {
    padding-top: 9px;
}


.footer-widgets .widget-title {
    border-bottom: thin solid black;
    margin-top: 0em;
}

.footer-widgets .widget ul li {
    padding-bottom: 8px;
}

.footer-widgets .footer-widget-2 .widget ul li {
    padding-bottom: 16px;
}

.footer-widgets .footer-widget-2 .rss-widget-icon {
    display: none;
}

.footer-widgets .footer-widget-2 .widget-title a {
    color: black;
}

/*Sets hover and focus color for links in header widget*/
.header-widget .textwidget a:hover,
.header-widget .textwidget a:focus {
    color: #747678;
}

/*Provides a shorter than normal line height for paragraphs. Currently used in footer.*/
.half-line {
    line-height: .5em;
}

/*Class used on paragraphs for no bottom margin*/
.margin-none {
    margin-bottom: 0em;
}

/*Classes for Staff Portal page*/
.green2 {
    color: #99cc00;
	font-weight: bold;
	text-decoration: underline;
	font-size: 30px;
    margin: 1.5em 0px 20px 0px;
    line-height: 1.2em;
}

.orange3 {
    color: #ff9900;
	margin-bottom: 0px;
	font-weight: bold; 
}

/*Adds extra space above headers 2-6*/
h2, h3, h4, h5, h6 {
    margin-top: 1.5em;
    color: #747678;
    font-weight: 400;
}

h3 {
    font-size: 22px;
}

.entry-title {
    color: #747678;
    font-weight: 400;
    margin-bottom: .5em;
}

h1 {
    color: #747678;
    font-weight: 400;
}

/*Reduces gap between page names and content*/
.entry-content {
    margin: 0;
}

/*Allows home page slider to fit closer to top of content area*/
#post-32 .entry-content {
    margin: 0 0 0;
}

/*Reduces padding of top banner*/
#masthead .inside-header {
    padding: 10px 10px 10px 10px;
}

.main-navigation li {
    font-weight: 600;
}

.main-navigation .main-nav ul ul li a{
    padding: 8px 20px 8px 20px;
    font-weight: normal;
}


/*2nd Navigation Right Sidebar CSS*/

#right-sidebar .widget ul.menu-widget li.current_page_item {
    font-weight: bold;
}

#right-sidebar .widget ul.menu-widget li.current_page_item ul.sub-menu {
    font-weight: normal;
}

#right-sidebar .widget ul.menu-widget li.cmw-level-1 > a,
#right-sidebar .widget ul.menu-widget li.cmw-level-1 a:visited {
    color: #484B4C;
    padding-left: 10px;
    padding-bottom: 2px;
    padding-top: 2px;
}

#right-sidebar .widget ul.menu-widget li.cmw-level-1 a:hover,
#right-sidebar .widget ul.menu-widget li.cmw-level-1 a:focus {
    color: white;
    background-color: #484B4C;
    padding-left: 10px;
    padding-bottom: 2px;
    padding-top: 2px;
}

#right-sidebar .widget ul.menu-widget li.cmw-level-2 > a,
#right-sidebar .widget ul.menu-widget li.cmw-level-2 a:visited {
    color: #484B4C;
    padding-left: 20px;
    padding-bottom: 5px;
    padding-top: 5px;
    font-size: 15px;
}

#right-sidebar .widget ul.menu-widget li.cmw-level-2 > a:hover,
#right-sidebar .widget ul.menu-widget li.cmw-level-2 a:focus {
    color: white;
    background-color: #484B4C;
    padding-left: 20px;
    padding-bottom: 5px;
    padding-top: 5px;
    font-size: 15px;
}

#right-sidebar .widget ul.menu-widget li.cmw-level-2 > a::before,
#right-sidebar .widget ul.menu-widget li.cmw-level-2 a:visited::before {
    content: "• ";    
    color: #484B4C;
}

#right-sidebar .widget ul.menu-widget li.cmw-level-2 > a:hover::before,
#right-sidebar .widget ul.menu-widget li.cmw-level-2 a:focus::before {
    content: "• ";
    color: white;
}

#right-sidebar .widget ul.menu-widget li.cmw-level-2 > a::after {
    display: none;
}

#right-sidebar .widget ul.menu-widget li > a {
    margin-left: 0px;
}

.sidebar .widget ul li {
    padding-bottom: 0px;
}

.sidebar .widget {
    background-color: #f4f4f4;
}

.sidebar .widget .cmw-level-2 {
    border-bottom: 1px solid #484B4C;
}    

/*could add back:     list-style-type: disc;    list-style-position: inside; */

.sidebar .widget .widget-title {
    margin: 0 5px 10px;
    padding-left: 0px;
    font-size: 24px;
    color: #484B4C;
}

li.cmw-menu-item-had-children a::after {
    content: "\f107";
    font-family: FontAwesome;
    text-align: right;
    float: right;
    padding-right: 10px;
}

.menu-2nd-nav-menu-container {
    border-top: 1px solid #747678;
}

.sidebar .widget .cmw-level-1 {
    border-bottom: 1px solid #747678;
}

#right-sidebar .widget ul.menu-widget li.cmw-has-submenu > a {
    border-bottom: 1px solid #747678;
}

#right-sidebar .widget ul.menu-widget li.cmw-has-submenu {
    border-style: none;
}

#right-sidebar .widget ul.menu-widget li > a {
    display: block;
}

/*Reduces padding of widgets, which for now only affects the sidebar, since the header widget and footer widget are styled separately*/
.widget-area .widget {
    padding: 0px 20px 20px 5px !important;
}

/*Wraps event names in calendar*/
.fc-day-grid-event .fc-content {
    white-space: normal;
}

/*Allows events to become brighter when hovering*/
.fc-event, .fc-event:hover, .ui-widget .fc-event {
    opacity: .8;
}

.fc-event, .fc-event:hover, .ui-widget .fc-event:hover {
    opacity: 1;
}

/*Makes calendar month bold and larger*/
#em-wrapper .wpfc-calendar-wrapper h2 {
    font-size: 18px !important;
    font-weight: bold;
} 

/*Removes the border around "archived plans" accordion on the "publications" page*/
#wpsm_accordion_405 #ac_405_collapse1 .wpsm_panel-body {
    border: 0px !important;
}

#wpsm_accordion_339 #ac_339_collapse1 .wpsm_panel-body {
    border: 0px !important;
}

#wpsm_accordion_1603 #ac_1603_collapse1 .wpsm_panel-body {
    border: 0px !important;
}

#wpsm_accordion_1604 #ac_1604_collapse1 .wpsm_panel-body {
    border: 0px !important;
}

#wpsm_accordion_1605 #ac_1605_collapse1 .wpsm_panel-body {
    border: 0px !important;
}

#wpsm_accordion_1606 #ac_1606_collapse1 .wpsm_panel-body {
    border: 0px !important;
}

#wpsm_accordion_1607 #ac_1607_collapse1 .wpsm_panel-body {
    border: 0px !important;
}

.entry-content .su-accordion {
    margin-left: 20px;
    margin-bottom: 0;
    color: gray;
}

.entry-content .su-spoiler-title {
    font-weight: 600;
    padding-bottom: 2;
    padding-top: 0;
}

.entry-content .su-spoiler-content {
    padding-top: 0 !important;
}

.entry-content .su-spoiler-icon {
    top: 0 !important;
}

/*Sets .su-row margin to .6em when used in accordions*/
.wpsm_panel-body .su-row {
    margin-bottom: .6em;
}

/*Adds blue background to meeting materials rows*/
.page-id-130 .su-row {
	background-color: aliceblue;
}

.ac_open_cl_icon {
    margin-left: 0px  !important;
    margin-right: 10px !important;
} 

.wpsm_panel-default {
    padding-left: 0px !important;
}

/*Doesn't work, I think - attempt to fix header scaling*/
.fixed-ratio-resize { 
	max-width: 100%;
	height: auto;
	width: auto\9; /* IE8 */
}

/*Sets file size font color to gray*/
.mtli_attachment:after {
    color: gray;
}

.event-categories {
    margin: 0;
    padding: 0;
}

.event-categories li {
    list-style: none;
}

.fc-day-grid-container.fc-scroller {
    height: 100% !important;
}

/*Sets grandparent of tier 3 menu items in primary navigation to light gray - hard coded, one per Tier 2 page with a child page*/

.parent-pageid-16 .main-navigation .main-nav ul li.menu-item-246 >a {
    background-color: #f4f4f4;
    color: #002a7f;
}

.parent-pageid-34 .main-navigation .main-nav ul li.menu-item-247 >a {
    background-color: #f4f4f4;
    color: #002a7f;
}

.parent-pageid-36 .main-navigation .main-nav ul li.menu-item-247 >a {
    background-color: #f4f4f4;
    color: #002a7f;
}

.parent-pageid-75 .main-navigation .main-nav ul li.menu-item-249 >a {
    background-color: #f4f4f4;
    color: #002a7f;
}

.parent-pageid-102 .main-navigation .main-nav ul li.menu-item-247 >a {
    background-color: #f4f4f4;
    color: #002a7f;
}

.parent-pageid-106 .main-navigation .main-nav ul li.menu-item-247 >a {
    background-color: #f4f4f4;
    color: #002a7f;
}

.parent-pageid-108 .main-navigation .main-nav ul li.menu-item-247 >a {
    background-color: #f4f4f4;
    color: #002a7f;
}

.parent-pageid-110 .main-navigation .main-nav ul li.menu-item-247 >a {
    background-color: #f4f4f4;
    color: #002a7f;
}

.parent-page-id-112 .main-navigation .main-nav ul li.menu-item-256 >a {
    background-color: #f4f4f4;
    color: #002a7f;
}

.parent-pageid-134 .main-navigation .main-nav ul li.menu-item-249 >a {
    background-color: #f4f4f4;
    color: #002a7f;
}

.parent-pageid-6682 .main-navigation .main-nav ul li.menu-item-247 >a {
    background-color: #f4f4f4;
    color: #002a7f;
}

#crellyslider-1 {
    margin-bottom: 2em;
}

.page-id-20 .wp-caption {
    margin-bottom: 0;
}

.page-id-20 .wp-caption .wp-caption-text {
    padding: 3px 10px;
    font-size: 9px;
    color: lightgray;
    position: absolute;
    bottom: 0;
    left: 0;
    background: black;
    width: 87%;
}

.tac-table td {
    padding: 2px;
    border-width: 0;
    max-width: 216px;
}

.td-break {
    padding-bottom: 2em !important;
}

.tac-table {
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
    border: 0;
}

.noco-table {
    max-width: 500px;
    border: 0;
}

.noco-table td {
    padding: 2px;
    border-width: 0;
}

.noco-table ul {
    margin-bottom: 0;
}

.council-table {
	border: 0;
	margin-bottom: 0;
	}

.council-table td {
	text-align: center;
	border-width: 0;
	width: 33%;
}

.council-div {
	display: flex; 
	justify-content: center;
}

.portal-table td {
    padding: 2px;
    border-width: 0;
    max-width: 200px;
}

.portal-table {
    align-self: left;
	margin-left: auto;
    margin-right: auto;
    border: 0;
}

.comment-table {
    max-width: 100%;
	border-collapse: collapse;
}

.comment-table td {
    text-align: center;
	border: .5pt solid gray;
}

.comment-table th {
	text-align: center;
    border: .5pt solid gray;
}

.activeplan-table {
    max-width: 100%;
	border: 0pt;
}

.activeplan-table td{
	border-top: .5pt solid #c0c0c0;
	border-left: 0pt;
	border-right: 0pt;
	border-bottom: 0pt;
}

.public-notice {
    margin-left: 1.5em;
    margin-right: 1.5em;
}

/*Major accordion css*/
#acc-major .su-accordion {
	margin-left: 0px; 
}

#acc-major .su-spoiler-title {
	font-size: 15px;	
}

/*Site Map css*/
#site-map a:visited {
	color: #1a80d9; 
}

#site-map a:hover {
	text-decoration: underline; 
	color: darkblue;
}

.mobile-menu-open #mobile-menu {
	height: 100vh;
	overflow-y: scroll;
}

@media screen and (min-width: 890px) and (max-width: 1046px) {
    .header-widget .widget {
        padding: 0 0 2px 0;
}
    .inside-header .header-widget {
        max-width: 434px;
        padding-top: 15px;
}
    .site-header .site-logo {
        max-width: 70%;
}
	.search-item {
		display: none;
}
}

@media screen and (min-width: 769px) and (max-width: 889px) {
    .header-widget .widget {
        padding: 0 0 2px 0;
}
    .inside-header .header-widget {
        max-width: 434px;
        padding-top: 5px;
}
    .site-header .site-logo {
        max-width: 35%;
}
}

@media screen and (min-width: 636px) and (max-width: 768px) {
    .header-widget .widget {
        padding: 0px;
}
    .header-widget .widget_text {
        padding-top: 21px;
}
    .header-widget .widget_gtranslate {
        padding-top: 10px;
}
    .header-widget .widget_wgs_widget {
        padding-top: 9px;
}
    .inside-header .header-widget {
        max-width: 100%;
        float: none;
        padding-top: 0px;
}
    .site-header .site-logo {
        max-width: 300px;
}
	.search-item {
		display: none;
}
}


@media screen and (max-width: 635px) {
    .inside-header .header-widget {
        display: none;
}
    .site-header .site-logo {
        max-width: 290px;
}
	.council-table {
		display: block}
	
	.council-table td {
		display: block;
		text-align: center;
    	border-width: 0;
   		width: 100%;
		max-width: 150px;
}
	.council-table tr {
		display: block;
}
}


/* Under development to create an anchor that accounts for sticky primary navigation. Once developed and working across browsers, remove settings for media screens without sticky navigation
a.anchor {
    margin-top: -100px;
    padding-top: 100px;
}
*/
.mtli_attachment {
	display:inline-block;
	height: auto;
	min-height:16px;
	background-position: top left;
	background-attachment: scroll;
	background-repeat: no-repeat;
	padding-left: 19.2px !important;
}
