/*!
Theme Name: UM Seagrant - Boxcar
Theme URI: http://www.elegantthemes.com/gallery/divi/
Description: Divi child theme for UM Sea Grant by Boxcar Studio
Author: Boxcar Studio
Version: 3.0.82
Template: Divi
*/

@import url("../Divi/style.css");
@import url('https://fonts.googleapis.com/css?family=Rubik:400,900');
 
/* =Theme customization starts here-
------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
    margin: 20px 0 10px 0;
}

h1 {
    text-transform: uppercase;
    color: #156375;
    font-weight: normal;
}

h2 {
font-size: 28px;
color: #4A4A4A !important;
letter-spacing: 0;
text-transform: uppercase;
font-weight: 400;
}

h3 {
font-size: 20px;
font-weight: bold;
color: #4A4A4A;
letter-spacing: 0.3px;
line-height: 28px;
}

.et_pb_widget h5 {
	font-size: 16px;	
}

#left-area ol li, .comment-content ol li, .entry-content ol li, body.et-pb-preview #main-content .container ol li {
    margin-bottom: 20px;
    padding-left: 0;
    margin-left: 30px;
}
.entry-content ul.flickr li {
	list-style-type: none;
}
.entry-content table#tlogin, .entry-content table#tlogin tr td {
	border: none;
}

.et_pb_bg_layout_dark a {
    color: #fff;
    text-decoration: underline;
}

.large {
    font-size: 44px !important;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.small-button.smallblue, .et_pb_contact_submit, a.et_pb_button, .et_pb_button {
    background: #27AAE2;
    border-radius: 4px;
    color: #ffffff !important;
    border: none;
    margin: 1em 1em 1em 0;
    text-transform: uppercase;
    box-shadow: none;
    text-shadow: none;
	text-decoration: none;
}
.small-button.smallblue:hover {
    background: #0098A7;
    color: #ffffff !important;
    box-shadow: none;
    text-shadow: none;
}

.small-button.smallblue:hover, body .et_pb_button.et_pb_contact_submit:hover, body a.et_pb_button:hover {
    box-shadow: none;
    text-shadow: none;
    color: rgb(255, 255, 255) !important;
    background: rgb(0, 152, 167) !important;
	border: none !important;
}

div#sidebar, .et_pb_widget_area {
    background: #efefef;
    padding: 25px !important;
}

.et_pb_widget {
    margin-bottom: 1.3em !important;
}

h4.widgettitle {
    font-size: 28px;
}

#main-content .container:before {
    display: none;
}

#sidebar .et_pb_widget a, .et_pb_widget_area .et_pb_widget a, .MCRecentEventsWidget dd a, .MCRecentEventsWidget dd a:active, .MCSidebarPageWidget dd a, .MCSidebarPageWidget dd a:active {
    color: #005696 !important;
}

.MCRecentEventsWidget dd, .MCSidebarPageWidget dd {
	color: #4a4a4a !important;
}

.border-left {
    border-left: 1px solid #c0c0c0;
    padding-left: 50px;
}

.border-right {
    border-right: 1px solid #c0c0c0;
    padding-right: 50px;
}

blockquote {
    margin: 50px 0;
    padding-left: 0;
	padding-top: 20px;
    border-left: 0;
    color: #1a6278;
    font-family: Rubik;
    font-weight: 400;
}

#left-area ul, .comment-content ul, .entry-content ul, body.et-pb-preview #main-content .container ul {
    list-style-type: none;
	margin: 0;
}

#left-area ul li, .comment-content ul li, .entry-content ul li, body.et-pb-preview #main-content .container ul li {
    margin-bottom: 20px;
    padding-left: 0;
    list-style-type: square;
    margin-left: 30px;
}

hr {
    background: #27AAE2;
    border: 0;
    height: 1px;
}

.center {
	text-align: center;
}

p:last-of-type {
    padding-bottom: 1em;
}

p a {
    text-decoration: underline;
}

/* PAGINATION */

ul.pagination li:before {
    display: none;
}

ul.pagination.buttons {
    padding: 0;
    width: 100%;
    text-align: center;
}

li.page-item {
    display: inline-block;
    padding: 0 !important;
}

.buttons li.page-item:last-child {
    float: none;
    clear: both;
}

.buttons li.page-item a {
    font-size: 14px;
    background: #27aae2;
    border-color: #27aae2;
    border-radius: 4px;
    font-weight: normal;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
	color: #fff;
	float: none;
}

/* TESTIMONIAL MODULE */

.et_pb_testimonial {
    background-color: transparent !important;
    padding: 30px 0;
}

.et_pb_testimonial_portrait {
    margin: 0 15px;
    bottom: 0px;
}

.et_pb_testimonial:after {
    content: " ";
    display: block;
    background: url(/wp-content/blogs.dir/1/files/2018/02/watercolor2.jpg);
    height: 100px;
    visibility: visible;
    position: relative;
    bottom: 75px;
    z-index: -1;
    background-position: 23% 42%;
}

.et_pb_testimonial_description_inner p {
    color: #006474;
    font-style: italic;
    font-size: 18px;
    padding-bottom: 2em;
}

p.et_pb_testimonial_meta, .et_pb_testimonial_author {
    color: #fff;
    font-family: Rubik;
    font-weight: 400;
}

.et_pb_testimonial_author {
	text-transform: uppercase;
	font-size: 20px;
}

/* FORMS */

.gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit], .gform_wrapper .gform_page_footer input.button, .gform_wrapper .gform_page_footer input[type=submit] {
    font-size: 1em;
    width: auto;
    margin: 0 16px 0 0;
    color: #fff;
    border: 0;
    border-radius: 3px;
    background: #006474;
    padding: .7em 1em;
    text-transform: uppercase;
}

.gform_wrapper ul.gform_fields li.gfield {
    padding-left: 0;
}

.gform_wrapper label.gfield_label {
    font-weight: 400 !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* PERSON MODULE */

.et_pb_team_member_description h4 {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 22px;
}

.et_pb_member_position {
    color: #4b4b4b;
	font-style: italic;
}

/*BUTTONS*/

a.et_pb_button.et_pb_module.et_pb_bg_layout_light {
    color: #fff !important;
}

.et_button_no_icon .et_pb_button, a.et_pb_more_button.et_pb_button, .et_pb_slide_description a.et_pb_more_button.et_pb_button:hover,  .et_button_no_icon .et_pb_button:hover {
    padding: .5em 1em!important;
}

/* Microsites Header */
.microsite-topbanner {
	background: #215A64;
	color: #ffffff;
	position: relative;
	width:100%;
	z-index: 10;
	height: 40px;
}
.microsite-topbanner.no {
    display: none;
}
.microsite-topbanner img {
	width: 100px;
	filter: brightness(0) invert(1);
}
.microsite-topbanner .micro-seagrant-logo {
	background-color: #215A64;
	display: inline-block;
	padding: 10px 20px;
	position:absolute;
	right: 0;
}
.microsite-topbanner a {
	display: inline-block;
	position:relative;
	color: #ffffff;
	margin: 5px 0;
	background-color: transparent !important;
	float: left;
}

.microsite-topbanner a:before {
    content: "\f177";
    font-family: fontawesome;
    margin-right: 10px;
}

.subsite-header {
    background-size: cover !important;
	min-height: 350px;
}

.subsite-header .container, .microsite-topbanner .container {
	max-width: initial;
	width: 85%;
}

.subsite-header {
	padding-bottom: 3em;
	min-height: initial;
	background-position: center !important;
}

.micro-seagrant-logo {
	max-width: 9%;
	min-width: 100px;
	padding: 5px 20px 0;
}

.micro-seagrant-logo img {
	width: 100%;
}

img.microsite_logo {
	max-width: 20%;
	min-width: 120px;
	height: auto;
}

img.microsite_logo {
    float: left;
}


/*.et_menu_container a {
    color: #fff;
}*/

#et-top-navigation {
    float: none;
}

.et_header_style_centered #top-menu>li>a {
    padding: 1.5em 20px;
}

.et_header_style_centered #top-menu .menu-item-has-children>a:first-child {
    padding-right: 35px;
}

.et_header_style_centered #top-menu .menu-item-has-children>a:first-child:after {
    top: 1.5em;
    right: 10px;
}

.et_header_style_centered #top-menu>li>a:hover {
    background: #27aae2;
}

.et_header_style_left #et-top-navigation nav>ul>li>a, .et_header_style_split #et-top-navigation nav>ul>li>a {
    padding-bottom: 25px !important;
}


/*MENU*/

#logo {
    max-height: 75%;
}

header#main-header {
    box-shadow: none;
}


#top-header .container {
    padding-top: 0;
}

#top-menu li {
	padding-right: 0;
}

#top-menu li a, .et_search_form_container input {
	font-weight: normal;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
}
#top-menu li a {
	font-size: 16px;
}

#et-secondary-menu a {
    background: #156375;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 12px;
    padding: 4px 20px !important;
}

.et_header_style_left .logo_container {
width: 20%;
}

#et-secondary-menu {
    z-index: 1000;
    position: relative;
    right: 0px;
    float: none;
}

ul#et-secondary-nav {
    float: right;
    margin-top: 10px;
    margin-right: 30px;
}

#top-menu li li a {
    line-height: 1em;
    text-transform: none;
    letter-spacing: 0;
}

.nav li .sub-menu {
    width: 340px;
}

#top-menu li li a {
    width: 300px;
    padding: 10px 20px;
    border-bottom: 1px solid #efefef;
}

#top-menu li li:last-child a {
    border-bottom: 0;
}

#et-secondary-nav li {
    margin-right: 0px;
}

#et-secondary-nav .menu-item-has-children>a:first-child:after, #top-menu .menu-item-has-children>a:first-child:after {
	    top: 10px;
}

/* SLIDER */

.et_pb_slide_description h2.et_pb_slide_title {
    font-size: 48px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.23);
    font-weight: 400;
    text-transform: uppercase;
}

.et_pb_slide_title a {
	text-decoration: none;
}

.et_pb_slider_fullwidth_off .et_pb_slide_image {
    margin: 0 0 0 0!important;
}

.et_pb_slider_fullwidth_off .et_pb_slide_description {
    margin-top: 20px !important;
}

.et_pb_slide_description a.et_pb_more_button.et_pb_button {
    border-color: #fff;
    background: rgba(0,0,0,0.4);
}

.et_pb_more_button {
    margin-top: 50px;
}

.et-pb-arrow-next, .et-pb-arrow-prev {
	text-decoration: none !important;
}

.et_pb_bg_layout_light .et-pb-arrow-next, .et_pb_bg_layout_light .et-pb-arrow-prev {
    color: #fff !important;
}

.et-pb-controllers {
	position: static;
	margin: 10px 0;
}
.et-pb-arrow-next span, .et-pb-arrow-prev span {
	display: inline;
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Homepage events */

.eventitem-featured {
    background: rgb(21,99,117);
}
.eventitem-featured:hover {
    background: rgb(39, 170, 226);
}
.eventitem-featured .eventDetails {
    color: #ffffff;
    padding: 1em;
}
.eventitem-featured .eventdate {
    font-size: 2.5em;
    padding-bottom: .5em;
}
.eventitem-featured .eventDetails h3 {
     font-size: 1em;
     color: #ffffff;
    font-weight: normal;
}

.eventitem {
    margin-bottom: 2em;
}
.eventitem .eventdate {
    font-size: 2.5em;
    padding-bottom: .5em;
}
.eventitem h3 {
    font-size: 1em;
    font-weight: normal;
    color: rgb(0,86,152);
    padding-bottom: 0;
}

.eventslist .et_pb_text_inner {
    height: 100%;
}

.eventslist .js-wpv-view-layout {
    display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}


/* Hover blurbs */
.row-blurbs .et_pb_main_blurb_image {
    margin-bottom: 0;
}
.row-blurbs .et_pb_blurb_container {
    padding: .9em 1em .9em 1em;
    margin-top: -10px;
	min-height: 85px;
}
.row-blurbs .et_pb_blurb_content {
    background: rgb(21,99,117);
	/*min-height: 250px;*/
}
.row-blurbs .et_pb_blurb_content:hover {
    background: rgb(39, 170, 226);
}
.row-blurbs .et_pb_blurb_content h3, .row-blurbs .et_pb_blurb_content h4 {
    font-weight: normal;
    font-size: 16px;
    margin-bottom: 0;
    padding-bottom: 0;
}
.row-blurbs .et_pb_blurb_content h4 {
    font-size: 1em;
    padding-bottom: 0;
}

.row-blurbs .et_pb_column {
    padding: 7px;
}

.blurb-btn {
    height: 100%;
	padding: 25% 0 0 0;
}

.et_pb_equal_columns .et_pb_module.et_pb_blurb,
.et_pb_equal_columns .et_pb_module.et_pb_blurb .et_pb_blurb_content{
    height: 100%;
}


/* Place-based section */
.section-place-based .et_pb_main_blurb_image {
    margin-bottom: 10px;
    border-bottom: 5px solid #ffffff;
}
.section-place-based .et_pb_main_blurb_image:hover {
    border-bottom: 5px solid;
    border-color: rgba(39, 170, 226, 100);
}
.section-place-based .et_pb_blurb_content .et_pb_module_header {
    font-weight: 400;
    font-size: 1em;
}

.small-blurbs .et_pb_blurb {
    padding: 0 7px;
}

/* BLOG ELEMENT */

.et_pb_blog_grid .et_pb_post {
    padding: 0;
    border: 0;
    background-color: transparent;
}

.et_pb_blog_grid h2.entry-title {
    text-transform: none;
    font-size: 17px;
    font-family: Lato;
    color: #005696 !important;
}

.et_pb_blog_grid .post-content {
	font-size: 17px;
}

.et_pb_blog_grid .post-content p {
    margin-bottom: 15px;
}

/* SLIDER */

body #page-container .et_pb_slider .et_pb_slide .et_pb_button {
    background-color: rgba(1, 1, 1, 0.34) !important;
}

.blog-carousel .blog-container {
 display: flex; 
 justify-content: space-between;
  position: relative;
}

.blog-carousel article {
  padding: 10px; 
	width: 33%;
}

.blog-carousel article img {
    display: block;
    margin-bottom: 20px;
    box-shadow: 3px 3px 5px rgba(0,0,0,0.3);
    width: 100%;
	height: 200px;
    object-fit: cover;
}

.blog-carousel article p {
    margin: 10px 0;
	color: #4a4a4a;
}

.blog-carousel article .more-link {
    text-transform: uppercase;
    color: #27AAE2;
    letter-spacing: 2px;
    font-size: 12px;
}

.blog-carousel ul.pagination {
    list-style: none;
    padding: 0;
  position: absolute;
  top: 30%;
      width: 100%;
}

.blog-carousel li.page-item {
    display: inline-block;
    font-size: 100px;
  position: absolute;
}

.blog-carousel li.page-item:last-child {
    right: -50px;
    padding: 0;
    top: -30px;
}

.blog-carousel li.page-item:first-child {
    left: -80px;
    padding: 0;
    top: -30px;
}

/*li.page-item.disabled span {
    color: #e6e6e6;
}*/

.blog-carousel li.page-item a {
   color: #27AAE2; 
}

.blog-carousel .pagination > li > a, .blog-carousel .pagination > li > span, .blog-carousel .pagination > li > a:hover, .blog-carousel .pagination > li > span:hover, .blog-carousel .pagination > li > a:focus, .blog-carousel .pagination > li > span:focus {
    background: transparent;
    border: 0;
    padding: 0;
}

/* NEWSROOM */

.more-link {
    text-transform: uppercase;
    color: #27AAE2;
    letter-spacing: 2px;
    font-size: 12px;
}

.newsroom p {
    margin: 10px 0;
}

.newsroomdate {
    font-size: 14px;
	color: #4a4a4a;
}
.newsitems.row {
	margin-bottom: 2em;
}

.newsitems img {
    margin-bottom: 10px;
}

/* PAGE TITLES */

.et_pb_title_container h1 {
    font-size: 46px;
}

/* PORTFOLIO VIEW*/

.et_pb_grid_item h2.et_pb_module_header a {
    font-size: 16px;
    text-transform: none;
    line-height: 16px;
}

.et_pb_grid_item .et_portfolio_image {
    border-bottom: 5px solid rgba(39, 170, 226, 100);
}

/* EVENTS CALENDAR STYLES */
.entry-content .tribe-events-calendar thead th {
	color: #ffffff;
}
dd.tribe-events-event-url {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}
.tribe-events-tooltip{
	z-index: 1000000!important;
}

/* FOOTER */

footer#main-footer p {
	font-size: 12px;
	line-height: 18px;
	min-width: 45%;
}

footer#main-footer {
    background: url(/wp-content/uploads/2018/04/watercolor_green.jpg);
    background-size: 100%;
    background-repeat: repeat-x;
}
footer#main-footer.no {
    background: none;
}

footer .social {
display: flex;
    flex-direction: row;
  justify-content: center;
  align-items: center;
}
footer .social li, ul.social.floating li {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2px 0;
    min-width: 54px;
    min-height: 54px;
}

#footer-widgets .btn {
background: #006474;
padding: 12px 24px;
border-radius: 4px;
text-transform: uppercase;
color:white;
}
#footer-widgets .btn:hover {
    background: #27AAE2;
}

#footer-widgets .footer-widget .social li:before {
    border: none;
}

#footer-bottom {
 background-color: rgba(255,255,255,0);
}

#footer-bottom .et_pb_row.container, .container.copy {
    width: 90%;
    max-width: none;
}

#footer-bottom .et_pb_row.container {
    border-top: 1px solid #27AAE2;
}

.social li a {
   color: #fff;
   padding: 10px;
    background: #9B9B9B;
    font-size: 2em;
     height: 54px;
    width: 54px;
   text-align: center;
}

.et_pb_column.span_7 {
    width: 60%;
}

.et_pb_column.span_5 {
    width: 40%;
}

.et_pb_column.span_7 .et_pb_row {
    padding: 0;
    margin: 0;
    width: 100%;
}

.et_pb_column.span_2 {
   width: 20%;
}

.et_pb_column.span_10 {
    width: 80%;
}
.et_pb_column.span_12 {
    width: 100%;
}
footer .footerlogos {
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
}
.footerlogos .footerimage {
    padding: 0 20px;
}
.footerlogos img {
	max-width: 200px;
    max-height:120px;
}
.footerlogos img, .footerlogos p {
	margin: 10px;
}
footer .footerlogos p {
	max-width: 300px;
}
.span_10 img, .span_12 img {
	
    vertical-align: middle;
}

footer h5 {
    color: #215A64;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 400;
}

.footer-widget .et_pb_widget {
    width: 100%;
}

/* FLOATING SOCIAL */

ul.social.floating {
    position: fixed;
    top: 10em;
    right: 0;
    z-index: 100000;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 1200px) {
    #top-menu li {
        padding-right: 0px;
    }
}

@media only screen and (max-width: 1024px) {
    #top-menu li a {
        font-size: 14px;
        padding-bottom: 10px !important;
    }
    
    .et_pb_testimonial:after {
        bottom: 90px;
    }
    
    .et_pb_column.span_2 {
        width: 20% !important;
    }
    
    .et_pb_column.span_10 {
        width: 80% !important;
    }
    
    .et_header_style_centered #main-header .container {
        width: 100%;
        max-width: 1200px;
    }
}

@media only screen and (max-width: 1024px) {
    .et_header_style_centered #top-menu>li>a {
        padding: 1.5em 35px 1.5em 20px !important;
    }
}

@media only screen and (max-width: 980px) {
    .et_pb_testimonial:after {
        bottom: 75px;
    }
    
    .mobile_menu_bar:before {
        color: #216b7c;
    }
    .et_mobile_menu {
        padding: 0%;
        border-top: 3px solid #156375;
    }
    
    .et_mobile_menu li a, .et_mobile_menu li {
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 400;
    }
    
    .et_mobile_menu li a {
        padding: 10px 2%;
    }
    
    .et_mobile_menu li li {
        padding-left: 2%;
    }
    
    #et_top_search {
        float: right;
        margin: 0 47px 0 0;
    }
    
    .et_header_style_centered #main-header {
        padding: 0;
    }
    
    .et_menu_container.subsite {
        padding: 10px 35px;
    }
    
    .et_menu_container.subsite .mobile_menu_bar:before {
        color: #fff;
    }
    
    .et_menu_container.subsite .et_mobile_menu {
    background: #01528f;
    }
    
    #et-secondary-menu, #et-secondary-nav {
        display: block!important;
    }
    
    .et_header_style_left #logo, .et_header_style_split #logo {
        max-width: 68%;
        max-height: 85%;
    }
    
    .et_header_style_left .logo_container {
        width: 35%;
    }
    
    .et_menu_container {
        clear: both;
    }
    
    .border-right {
        border-right: 0;
        padding-right: 0;
    }
    
    .et_pb_column .et_pb_team_member_image {
        float: none;
    }
	
	.blog-carousel article {
	    width: 100%;
	}
}

@media only screen and (max-width: 768px) {
    .et_pb_testimonial:after {
        bottom: 86px;
    }
    
    .social li a {
        font-size: 1em;
        min-width: 30px;
        min-height: 30px;
        padding: 8px 8px;
    }
	
	
}

@media only screen and (max-width: 767px) {
    .et_pb_column .et_pb_testimonial_description {
        padding: 10px;
    }
    
    h2, .product .related h2, .et_pb_column_1_2 .et_quote_content blockquote p {
        font-size: 26px !important;
    }
    
    .et_header_style_left .logo_container {
        width: 100%;
    }
    
    .et_pb_title_container h1 {
        font-size: 36px;
    }
    
    #footer-widgets .footer-widget li {
        margin-right: 5px;
    }
    
    .et_pb_slide_image, .et_pb_slide_video {
        display: block!important;
	}
    
    .et_pb_slider.et_pb_module .et_pb_slides .et_pb_slide_description h2.et_pb_slide_title {
        font-size: 16px;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    .et_pb_slider.et_pb_module .et_pb_slides .et_pb_slide_content {
        padding-bottom: 20px;
    }
    
    .span_10 img {
    max-width: 100%;
    }
    
    .et_pb_column.span_10, .et_pb_column.span_2 {
        width: 100% !important;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .et_pb_column.span_7 .et_pb_row {
        margin-bottom: 20px;
    }
    
    .blog-carousel .blog-container {
        display: block;
    }
}

@media only screen and (max-width:550px) {
    
    ul#et-secondary-nav {
        float: right;
        margin: 0;
    }
    
    #et-secondary-menu a {
        padding: 4px !important;
        font-size: 10px !important;
    }
}

#et-secondary-nav .menu-item-has-children>a:first-child:after, 
#top-menu .menu-item-has-children>a:first-child:after{
    content: url(/wp-content/uploads/2020/12/down_chevron.svg) !important;
    width: 15px;
}