/*
 * Theme Name: Avada SMIF
 * Theme URI: 
 * Description: Template for SMIF. A child theme of Avada. Created: 2019-08-16, CK
 * Version: 1.0
 * Author: Lime Valley Advertising, Inc.
 * Author URI: https://www.limevalley.com
 * Template: Avada
 *
 * --------- Table of Contents ---------- 
 * #01. Global Styles
 * #02. Wrapper
 * #03. Header
 * #04. Main Menu
 * #05. Main (Content)
 * 	#05b. Sidebar
 * #06. Footer
 * #07. Page-Specific / Misc
 *
 * --------- Color Guide ---------------- 
 * #ffffff	| White		 | Note
 * #282828	| Black		 | Default text
 * #3a8b94	| Blue		 | Link hovers, headings
 * #db7925	| Orange	 | Links
 * #ffffff	| White		 | Note
 *
 */


@import url('https://fonts.googleapis.com/css?family=Yesteryear&display=swap');

/* #01. Global Styles
==================================================================================================== */

	html {  }
	
	/*  typography  */
		a { 
			outline: none; 
			-webkit-transition: all .15s  linear;
			-moz-transition: all .15s  linear;
			-o-transition: all .15s  linear;
			-ms-transition: all .15s  linear;
			transition: all .15s  linear; }
		a:hover,
		a:active,
		a:focus {}
		h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { }
		h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
		h1 a:active, h2 a:active, h3 a:active, h4 a:active, h5 a:active, h6 a:active,
		h1 a:focus, h2 a:focus, h3 a:focus, h4 a:focus, h5 a:focus, h6 a:focus { }
	
		/*  headers  */
			h1, h2, h3, h4, h5, h6 {
				clear: both; }
			h1 {}
			h2 {}
			h3 {}
			h4 {}
			h5 {}
			h6 {}
	
		/*  misc & styles  */
			large, .large { font-size: 1.429em; /*20*/ }
			small, .small { font-size: 0.929em; /*13*/ }
			body b { color: inherit !important; font-weight: 800 !important; }
			body hr { border: 0; border-top: 6px solid #7F776F; clear: both; height: 0; margin: 30px 0; width: 100%; }
			body p {  }
			body p:empty { display: none; }
			.hidden { display: none !important; }
			.required, abbr[title="Required"], abbr[title="required"] { color: #ee2e24 !important; }
			
			/*  alignment  */
				body .alignright, 
				body .fusion-alignright {
					margin-bottom: 20px; 
					margin-left: 20px;
				}
				body .alignleft, 
				body .fusion-alignleft {
					margin-bottom: 20px; 
					margin-right: 20px;
				}

			/*  buttons  */

			/*  captions  */
				body .wp-caption {
					background: #efefef;
					font-size: .875em;
					/*font-style: italic;*/
					margin-bottom: 20px;
					padding: 10px;
					text-align: left;
				}
				body .wp-caption img {
					padding-bottom: 10px;
					width: 100%;
				}
				body .wp-caption p {
					margin-bottom: 0;
				}

			/*  case  */
				.capitalcase { text-transform: capitalize !important; }
				.lowercase { text-transform: lowercase !important; }
				.uppercase { text-transform: uppercase !important; }
			
			/*  colors  */
				.text-white, .text-white * { color: #fff !important; border-color: #fff !important; }
				.text-brn, .text-brn * { color: #5e4b3c !important; border-color: #5e4b3c !important; }

			
			/*  mime-type  */
				#top .mtli_attachment {
					background-position: left 3px;
					padding-left: 20px !important; }
			
			/*  text alignment  */
				.textalignleft { text-align: left; }
				.textaligncenter { text-align: center; }
				.textalignright { text-align: right; }
	
	/*  images  */

	/*  images  */

		.hero-img {
			width: 100%;
		}
		.hero-img img {
			width: 100%;
			height: auto;
		}




body .fusion-counter-circle-content-inner {
    font-size: 32px;
}

body .fusion-counters-circle {
    margin-bottom: 0;
    text-align: center;
}

body .fusion-counters-circle .counter-circle-wrapper {
    margin-right: 0;
    margin-bottom: 15px;

}
	
	/*  iframes  */
		iframe {
			max-width: 100%; }
	
	/*  videos  */
	
	/*  shortcode overrides  */

		/*  toggles/accordions  */
			body .fusion-accordian .fusion-panel {
				padding: 20px 0 10px; }
			body .fusion-accordian .fusion-panel {
				border-color: #db7925; }
			body .fusion-accordian a .fusion-toggle-heading {
				color: #282828;
				font-size: 24px; }
			body .fusion-accordian .panel-title:hover .fusion-toggle-heading,
			body .fusion-accordian a.active .fusion-toggle-heading {
				color: #db7925; }
			body .fusion-accordian .fusion-toggle-icon-wrapper .fa-fusion-box {
				border-radius: 50%;
				vertical-align: top; }
			body .fusion-accordian .fusion-toggle-icon-wrapper .fa-fusion-box::before {
				height: 30px; }



/* #02. Wrapper
==================================================================================================== */


/* #03. Header
==================================================================================================== */

/*  secondary header  */
	body .fusion-content-widget-area .fusion-tabs-widget .fusion-tabs-nav ul li.active a, 
	body .fusion-header-v2 .fusion-secondary-header {
	  border-top-color: #7f776f;
	  background: #7f776f;
	}

	body .fusion-contact-info {
	  line-height: 1.5em;
	  margin-top: 10px;
	}

	body .fusion-content-sep.sep-double.sep-solid {
	  visibility: hidden;
	}

	body .fusion-blog-shortcode .fusion-read-more:after {
	  display: none;
	}

	body .fusion-aligncenter .fusion-read-more {
	  clear: both;
	  padding: 7px;
	  width: 50%;
	  display: block;
	  color: #fff;
	  margin-left: auto;
	  background: rgb(58, 139, 147);
	  margin-right: auto;
	  text-align: center;
	}

	body .oj-btn:hover {
	  background: #7F776F;
	}

	.fusion-secondary-header .fusion-alignleft { 
	  align-self: start; 
	}

	/*  btn: donate */
/*
		body .fusion-secondary-menu > ul li.hang.menu-item {
		  background: #db7925;
		}
*/
		body .fusion-secondary-menu > ul li.hang.menu-item span.menu-text {
			font-weight: bold;
			text-transform: uppercase;
		}

		@media (min-width: 1105px) {

    .avada-responsive .fusion-secondary-menu > ul li.hang.menu-item {
      margin-top: -9px;
      padding-top: 30px;
      margin-bottom: -38px;
/*
      padding-right: 5px;
      padding-left: 5px;
      clip-path: polygon(0% 0%, 0% 73%, 50% 99%, 100% 73%, 100% 0%);
*/
    }
      
  .avada-responsive .fusion-secondary-menu > ul li.hang.menu-item {
    flex: 0 0 69px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    top: -25px;
    align-self: flex-start;
  }

  li.hang.menu-item::after {
    content: "";
    position: absolute;
    bottom: -38px;
    display: block;
    border: solid;
    border-width: 19px 49px;
    border-color: #db7925 rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0);
  }
      
      
			.avada-responsive .fusion-secondary-menu > ul > li > a.fusion-flex-link {
				flex-direction: column;
			}
			.avada-responsive .fusion-secondary-menu > ul li.hang.menu-item a.fusion-flex-link span {
				/*margin-top: -20px;*/
				text-align: center;
			}
			.avada-responsive .fusion-secondary-menu > ul li.hang.menu-item a.fusion-flex-link span.fusion-megamenu-icon {
				font-size: 35px;
				line-height: 40px;
				margin-top: -13px;
				width: auto;
			}

		}


/*  sidebar  */
	.sidebar .widget li {
	  border-bottom: 1px solid #3a8b944f;
	}

	.fusion-main-menu .fusion-dropdown-menu .sub-menu li a {
	  color: #3a8b93;
	}

	.fusion-main-menu .fusion-dropdown-menu .sub-menu li a:hover {
	  color: #db7925;
	}






/* #04. Main Menu
==================================================================================================== */

	/*  root level  */
		body .fusion-main-menu > ul > li:hover > a {
			color: #db7925; 
		} 

  /* Fighting theme for custom menu functionality */	
		body .fusion-header-wrapper.fusion-is-sticky .sub-menu {
		  margin-top: -32px !important;
		}
		/* body .fusion-main-menu .sub-menu {
		  margin-top: -70px !important;
		} */


		 body .fusion-header-wrapper.fusion-is-sticky .fusion-megamenu-holder {
			margin-top: -32px !important;
		  }



/* #05. Main (Content)
==================================================================================================== */

	/*  posts  */
		body .fusion-post-wrapper {
			box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
			transition: all 0.3s cubic-bezier(.25,.8,.25,1);
		}

		body .fusion-aligncenter .fusion-read-more:hover {
		   background: #DB7925;
		}

	/*  tables  */
		body table {
			background: #fff;
			box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
			width: 100%; }
		body table tr {
			-webkit-transition: all .15s  linear;
			-moz-transition: all .15s  linear;
			-o-transition: all .15s  linear;
			-ms-transition: all .15s  linear;
			transition: all .15s  linear; }
		body table th,
		body table td {
    		border: 1px solid #e0e0e0; }
			
		body table th {
			font-weight: 700;
   			padding: 10px; }
		body table th em {
			font-size: 0.875em; /*14*/
			font-weight: normal; }
		body table thead {
			background: #db7925;
			color: #fff;
			font-size: 1.625em; /*26*/
			text-align: left; }
			
		body table tbody tr:nth-child(2n) {
			background: #f6f6f6; }
		body table td {
			padding: 10px; }
		body table th[scope="row"] {
			text-align: left;
			text-transform: uppercase; }		
		
		.table-container {
			box-sizing: border-box;
			margin: 0 0 1em;
			overflow-y: auto;
			_overflow: auto;
			padding-right: 2px;
			width: 100%; }

		/* Donation Confirmation Tables */
		table#give_donation_receipt .give-receipt-thead-text {
			color: #000;
		}
		
		/*  hover  */
/*
			body table tbody tr:nth-child(n):hover {
				background: #3a8b94;
				color: #fff; }
			body table tbody tr:nth-child(n):hover a,
			body table tbody tr:nth-child(n):hover * {
				border-color: #fff;
				color: #fff !important; }
			body table tbody tr:nth-child(n):hover a.fusion-button {
				background: #3a8b94 !important; }
				
*/
	/*  fusion element overrides  */
		body .fusion-sep-clear {
			height: 0; }

#tribe-events-content .tribe-events-calendar div[id*=tribe-events-event-] h3.tribe-events-month-event-title {
    font-family: Montserrat;
    font-size: 16px;
}



/* #05b. Sidebar
==================================================================================================== */



/* #06. Footer
==================================================================================================== */

body .fusion-footer-widget-area .fusion-vertical-menu-widget ul.menu li a:hover,
body .fusion-footer-widget-area a:hover {
  color: #fff;
}

ul#menu-footer-menu:hover {
    color: #fff;
}

/* #07. Page-Specific / Misc
==================================================================================================== */

  @media (min-width: 1105px) {

    
  /* Fighting theme for custom header */	
    body .fusion-secondary-header {
        position: fixed !important;
        z-index: 99999 !important;
        margin-top: 0px !important;
        width: 100% !important;
    }

    body .fusion-secondary-header a:hover {
      color: #bde6ea;
    }

    body .fusion-content-widget-area .fusion-tabs-widget .fusion-tabs-nav ul li.active a, 
    body .fusion-header-v2 .fusion-secondary-header {
      height: 58px !important;
    }

    .fusion-secondary-menu>ul>li>a {
      height: 40px;
    }
    
	  body .fusion-megamenu-holder {
		margin-top: -65px;
	  }

  } /*@media*/


  /*  header (logo + main menu wrapper)  */	
  @media (min-width: 1105px) {

    body .fusion-header {
      padding-top: 58px; /*clear secondary header*/
    }

    /* Hang "donate" button in header */
    .hang {
      width: 100px;
      height: 100px;
      -webkit-transition: height 1s; /* For Safari 3.1 to 6.0 */
      transition: height 1s;
    }

    .hang:hover {
      height: 110px;
    }
    /*  sticky header - done by Cory */

    body .fusion-header-wrapper.fusion-is-sticky .fusion-header {
      height: calc(110px + 50px) !important;
    }
    body .fusion-header-wrapper.fusion-is-sticky .fusion-main-menu > ul > li > a {
      max-height: 108px !important;
    }
    body .fusion-header-wrapper:not(.fusion-is-sticky) .fusion-main-menu > ul > li > a {
      max-height: 194px !important;
    }

  } /*@media (min-width: 1105px)*/


/* Arcstone SMIF Map CSS */

.smif-map-wrapper {
	margin-top: 20px;
	transform: scale(.95);
	position: relative;
}
.smif-map {
	top: 0;
	margin-top: 0;
	left: -35px;
	position: absolute;
	height: 100%;
}
.smif-map-backdrop {
	opacity: 0;
}
.smif-map .county-svg-masks svg {
	position: absolute;
}
.smif-map [class*="county"] {
	position: absolute;
	z-index: 1;
}
.smif-map [class*="county"] img,
.smif-map [class*="county"] video {
	height: 100%;
	width: 100%;
	position: absolute;
	object-fit: cover;
}
.blue-earth-county {
	top: 16.75vw;
	left: 19.1vw;
	width: 14.4vw;
	height: 13.55vw;
	clip-path: url(#blue-earth-county-mask);
}
.brown-county {
	top: 8.35vw;
	left: 0.55vw;
	width: 17.6vw;
	height: 12.79vw;
	clip-path: url(#brown-county-mask);
}
.dodge-county {
	top: 18.65vw;
	left: 52.35vw;
	width: 8.65vw;
	height: 11.35vw;
	clip-path: url(#dodge-county-mask);
}
.faribault-county {
	top: 31vw;
	left: 22.1vw;
	width: 14.45vw;
	height: 11.5vw;
	clip-path: url(#faribault-county-mask);
}
.fillmore-county {
	top: 30.2vw;
	left: 67.6vw;
	width: 17.75vw;
	height: 12.3vw;
	clip-path: url(#fillmore-county-mask);
}
.freeborn-county {
	top: 30.55vw;
	left: 37.3vw;
	width: 14.56vw;
	height: 12.2vw;
	clip-path: url(#freeborn-county-mask);
}
.goodhue-county {
	top: 0.9vw;
	left: 52.35vw;
	width: 18.5vw;
	height: 17vw;
	clip-path: url(#goodhue-county-mask);
}
.houston-county {
	top: 29.9vw;
	left: 85.9vw;
	width: 12.4vw;
	height: 12.6vw;
	clip-path: url(#houston-county-mask);
}
.le-sueur-county {
	top: 6.75vw;
	left: 28.05vw;
	width: 11.45vw;
	height: 11.35vw;
	clip-path: url(#le-sueur-county-mask);
}
.martin-county {
	top: 31.1vw;
	left: 6.75vw;
	width: 14.65vw;
	height: 11.4vw;
	clip-path: url(#martin-county-mask);
}
.mower-county {
	top: 30.8vw;
	left: 52.5vw;
	width: 14.65vw;
	height: 11.7vw;
	clip-path: url(#mower-county-mask);
}
.nicollet-county {
	top: 9.9vw;
	left: 10.1vw;
	width: 19.2vw;
	height: 9.7vw;
	clip-path: url(#nicollet-county-mask);
}
.olmsted-county {
	top: 18.5vw;
	left: 61.65vw;
	width: 14.5vw;
	height: 11.9vw;
	clip-path: url(#olmsted-county-mask);
}
.rice-county {
	top: 6.55vw;
	left: 40.25vw;
	width: 11.45vw;
	height: 11.55vw;
	clip-path: url(#rice-county-mask);
}
.sibley-county {
	top: 0.75vw;
	left: 12.75vw;
	width: 20.75vw;
	height: 8.25vw;
	clip-path: url(#sibley-county-mask);
}
.steele-county {
	top: 18.75vw;
	left: 43.35vw;
	width: 8.375vw;
	height: 11.425vw;
	clip-path: url(#steele-county-mask);
}
.wabasha-county {
	top: 9.35vw;
	left: 64.75vw;
	width: 16.2vw;
	height: 11.3vw;
	clip-path: url(#wabasha-county-mask);
}
.waseca-county {
	top: 18.85vw;
	left: 34.3vw;
	width: 8.3vw;
	height: 11.45vw;
	clip-path: url(#waseca-county-mask);
}
.watonwan-county {
	top: 22vw;
	left: 3.91vw;
	width: 14.425vw;
	height: 8.3vw;
	clip-path: url(#watonwan-county-mask);
}
.winona-county {
	top: 18.2vw;
	left: 76.75vw;
	width: 19vw;
	height: 11.4vw;
	clip-path: url(#winona-county-mask);
}
.smif-map-title {
	background: #7f7770;
	text-align: center;
	color: white;
	margin: 45px -35px -35px;
	padding: 25px;
}
.post-content .smif-map-title h1 {
	color: white;
	line-height: 1.2;
	margin-top: 0;
	margin-bottom: 20px;
	display: block;
}
.post-content .smif-map-title .button {
	background: #f7ebd5;
	color: #574239;
	display: inline-block;
	padding: 10px 20px;
}
.post-content .smif-map-title .button:hover,
.post-content .smif-map-title .button:focus {
	background: #beb7a6;
}
@media (min-width: 480px) {
	.smif-map-title {
		margin-bottom: 0;
	}
}
@media (min-width: 768px) {
	.post-content .smif-map-title .button {
		display: inline-block;
		margin-left: 35px;
	}
}
@media (min-width: 992px) {
	.smif-map-wrapper {
		margin-top: -35px;
		transform: scale(.9);
	}
	.post-content .smif-map-title {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		text-align: center;
		margin-top: 35px;
	}
	.post-content .smif-map-title h1 {
		font-size: 42px;
		margin: 0;
		display: inline;
	}
}