/*
 Theme Name:     Dayton
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

/*
This CSS resource incorporates links to font software which is the valuable copyrighted property of Monotype and/or its suppliers. You may not attempt to copy, install, redistribute, convert, modify or reverse engineer this font software. Please contact Monotype with any questions regarding Web Fonts: http://www.fonts.com
*/

@font-face{
    font-family:"Museo W01_500";
    src:url("fonts/905282/3a1a59f5-1f68-4ebd-84ad-a9048fe78e39.eot?#iefix");
    src:url("fonts/905282/3a1a59f5-1f68-4ebd-84ad-a9048fe78e39.eot?#iefix") format("eot"),url("fonts/905282/52be0694-00c1-4daa-8782-419021c48e95.woff2") format("woff2"),url("fonts/905282/dee84039-06ae-4a61-89c4-709e594804a3.woff") format("woff"),url("fonts/905282/9547becc-44c3-4b00-8568-8d3debb4d299.ttf") format("truetype");
}

h1,h2,h3,h4,h5,h6 {
  font-family:"Museo W01_500";
  font-weight: 500;
}
.font-header p {
  font-family:"Museo W01_500";
  font-weight: 500;
}

.et_pb_text h2 {
    font-size: 40px;
}

/* Navigation */

#et-top-navigation {
  font-weight: 400;
}

#top-menu li li a {
  font-size: 16px;
  padding: 4px 16px;
}

/* Hero */
.hero {
  text-align: center;
}
.hero h1 {
  font-size: 60px;
  color: #ffffff!important;
}
.hero .et_pb_bottom_inside_divider {
  background-image: url(https://cityofdaytonmn.com/wp-content/uploads/2019/06/top-curve.svg) !important;
  background-size: 100% 70px !important;
  height: 70px !important;
  transform: none !important;
}
.hero__row {
  min-height: 340px;
  display: flex;
  align-items: center;
}
.hero + .et_pb_section {
    padding-top: 0;
}

@media all and (min-width: 981px) {
	.hero h1 {
		margin-bottom: 100px;
	}
	.hero .et_pb_bottom_inside_divider {
	 	background-size: 100% 145px  !important;
	 	height: 145px !important;
	}
}

@media all and (max-width: 980px) {
  .hero h1 {
	font-size: 38px !important;
  }
}
/* Departments */
.department__item {

}
.department__item .et_pb_main_blurb_image,
.department__item .et_pb_main_blurb_image img {
	width: 100%;
}

/* Department Side Block */
.side__block p {
	margin-bottom: 20px;
}
.side__block ul {
	padding: 0;
}
.side__block ul li {
	text-transform: none;
	margin-bottom: 22px;
}
.side__block ul li a {
	color: #31394D;
	position: relative;
	display: block;
  padding-right: 15px;
}
.side__block ul li a:after {
	content: '';
    position: absolute;
    background-image: url(https://cityofdaytonmn.com/wp-content/uploads/2019/05/arrow.svg);
	background-position: center;
    background-repeat: no-repeat;
    width: 15px;
    height: 100%;
    right: 0;
}

/* Spacing */
.p-top + .et_pb_section {
	padding-top: 58px !important;
}

/* Home Sidebar */
.home-widget {
  background-color: #F3F3F3;
}
.home-widget .et_pb_widget {
  margin-bottom: 0 !important;
}
.home-widget .widget_em_calendar {
  background-color: #FFFFFF;
  border: 1px solid #E9E9E9;
  padding: 42px 42px 27px;
  margin-bottom: 0 !important;
}
@media all and (max-width: 980px) {
  .home-widget .widget_em_calendar {
    margin-right: 0;
  }
}
.home-widget .widget_em_widget {
  padding: 40px 30px;
}
.home-widget .widget_em_widget ul {
  margin: 0;
}
.home-widget .widget_em_widget ul li {
  font-size: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}
.home-widget .widget_em_widget ul li span {
	  position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.home-widget .widget_em_widget ul li span.em_date {
  flex: 0 0 30%;
  width: 30%;
  text-align: right;
  text-transform: uppercase;

}
.home-widget .widget_em_widget ul li span.em_event {
  line-height: 1.7;
  flex: 0 0 70%;
  width: 70%;
}
@media all and (min-width: 981px) and (max-width: 1199px) {
  .home-widget .widget_em_widget ul li span.em_date {
    flex: 0 0 40%;
    width: 40%;
  }
  .home-widget .widget_em_widget ul li span.em_event {
    flex: 0 0 60%;
    width: 60%;
  }
}
.home-widget .widget_em_widget ul li span p {
  padding-bottom: 0;
  color: #1D2B76;
  font-size: 20px;
}
.home-widget .widget_em_widget ul li:last-child {
  margin-bottom: 0;
}
.home-widget .widget_em_widget ul li a {
  color: #17287F;
}
.home-widget .widget_em_widget ul li ul li {
  color: #17287F;
  margin: 0;
}

.post-announce {
  border-bottom: 1px solid #e9e9e9;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
}
.post-announce h2 {
  font-size: 24px;
  line-height: 1.5;
  padding-bottom: 0;
}
.post-announce:last-of-type {
  border-bottom: none;
}

/** Event Lisiting */
.event_entry {
  margin-bottom: 16px;
}
.event_day {
  width: 40px;
  height: 40px;
  background: #63A945;
  color: #ffffff;
  border-radius: 50%;
  line-height: 40px;
  text-align: center;
  display: inline-block;
}
#page-container table {
  border: 0;
}
#page-container .em-calendar tr td {
  font-size: 14px;
  line-height: 1.7;
  padding: 4px;
  text-align: center;
  border: none;
}
#page-container .em-calendar tr td span {
  display: block;
  font-weight: 600;
  border-radius: 5px;
}
#page-container .em-calendar td.eventless-today {
  background: transparent;
}
.calendar__eventless-pre,
.calendar__eventless-post {
  background: #F4F7FC;
  color: #B8C5D3;
}
.calendar__eventless {
  background: #E5E9F2;
  color: #3d4c5a;
}
.calendar__eventless-today {
  background-color: #29CB97;
  color: #ffffff;
}


/* Download Block */
.download-block__links {
  height: 100%;
}
.download-block__links .et_pb_blurb_content {
  display: flex;
  height: 100%;
  align-items: center;
}
.download-block__links .et_pb_main_blurb_image {
  display: flex;
  margin-bottom: 0;
  flex: 0 0 40px;
  width: 40px;
}
.download-block__links .et_pb_blurb_content h4 {
  padding-bottom: 0
}
@media all and (max-width: 980px) {
  .download-block .et_pb_column {
    margin-bottom: 20px;
  }
}

.download-block .column {
  width: 100%;
  margin-bottom: 16px;
}
@media all and (min-width:981px){
  .download-block {
      display: flex;
      flex-wrap: wrap;
  }
  .download-block .column {
    flex: 0 0 31.333%;
    width: 31.333%;
    margin-right: 3%;
    margin-bottom: 32px;
  }
  .download-block .column:nth-child(3n) {
    margin-right: 0;
  }
}
.download-block__links {
  background-color: #f3f3f3;
  padding-top: 16px;
  padding-right: 16px;
  padding-bottom: 16px;
  padding-left: 24px;
  text-align: left;
}
.download-block__links p,
.download-block__links h4 {
  font-family: 'Arial',Helvetica,Arial,Lucida,sans-serif;
  font-size: 20px;
  line-height: 1.5em;
  padding-bottom: 0;
}
.download-block__content {
  display: flex;
  height: 100%;
  align-items: center;
}

.download-block__icon {
  margin-right: 15px;
  flex: 0 0 40px;
}

/* Footer */
#footer-widgets .footer-widget li {
	font-size: 18px;
	line-height: 1.7;
	padding: 0;
}
#footer-widgets .footer-widget li {
	font-size: 18px;
}
#footer-widgets .footer-widget li:before {
	content: none;
}
#footer-bottom {
	border-top: 1px solid #CBCBCB;
	padding: 25px;
}
#footer-info {
	font-size: 14px;
	text-align: center;
	display: block;
    width: 100%;
	padding-bottom: 0;
}


/* Contact */
div.wpforms-container-full .wpforms-form button[type=submit] {
    background: #64a945;
    color: #fff;
    border: 0;
}
div.wpforms-container-full .wpforms-form button[type=submit]:hover {
	border: 0;
	background: #519035;
}


/* Directory */
.city-directory {
    border-top: 1px solid #d9d9d9;
    margin-top: 2rem;
    padding-top: 2rem;
}
.city-directory__item {
    margin-bottom: 1rem;
}
.city-directory__item p {
  padding-bottom: 0;
}
.city-directory__item p a {
  color: #0b0c0c;
}
@media all and (min-width:981px){
  .city-directory {
      display: flex;
      flex-wrap: wrap;
  }
  .city-directory__item {
      flex: 1 0 33%;
      width: 33%;
  }
}

/* Single Template */
#main-content .container:before {
  content: none;
}

/* Events Page */
.type-event .post-meta {
  display: none;
}
.css-events-list table.events-table th.event-time {
  width: auto;
  padding: 0;
}
.css-events-list table.events-table td {
  padding: 8px 0;
}
.event-home .event-cat-14,
.event-home .event-cat-26 {
  display: none;
}
a.view-map-btn {
  display: inline-block;
  background: #64a845;
  border-radius: 25px;
  color: #ffffff !important;
  padding: 8px 16px;
}

/* Category Listing */
.event-listing {
  margin-top: 16px;
  margin-bottom: 32px;
}
.event-listing .column {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
}
@media all and (min-width:981px){
  .event-listing {
      display: flex;
      flex-wrap: wrap;
      margin-bottom: 0;
  }
  .event-listing .column {
    flex: 0 0 31.333%;
    width: 31.333%;
    margin-right: 3%;
    margin-bottom: 32px;
  }
  .event-listing .column:nth-child(3n) {
    margin-right: 0;
  }
}
.event-listing__item {
  background-color: #f3f3f3;
  padding-top: 16px;
  padding-right: 16px;
  padding-bottom: 16px;
  padding-left: 24px;
  text-align: left;
  height: 100%;
  border-left: 2px solid #64a845;
}
.event-listing__item a {
  color: #242d69;
}
.event-listing__item a::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: auto;
  content: "";
  background-color: rgba(0,0,0,0);
}
.event-listing__item span {
  display: block;
}

/* Tempate Location */
.type-location .post-meta {
  display: none;
}
.type-location ul {
  list-style: none !important;
  padding: 0 !important;
}
.type-location ul li {
  font-size: 16px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.type-location ul li:last-child {
  border-bottom: 0;
}
ul.event-categories {
  list-style: none !important;
  padding: 0 !important;
}

@media all and (max-width:980px){
  .map-holder {
    display: block;
    margin-bottom: 32px;
  }
  .map-holder .em-osm-map.leaflet-container {
    width: 100% !important;
  }
}
@media all and (min-width:981px){
  .map-holder {
    float: right;
  }
}

/* Search */
@media all and (max-width:980px){
  .search-results .et_pb_post {
    margin-bottom: 16px;
  }
  .search-item-results  {
    display: none;
  }
}
