/*
Theme Name: Mormon Historic Sites
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

@import url('https://fonts.googleapis.com/css?family=Gelasio:400,400i,500,500i,700,700i&display=swap');

:root{
	--primary-color: #3456aa;
	--secondary-color: #d0d573;
	--success-color: #5d7e64;
	--alert-color: #bda251;
	--text-color: #2c1e2c;
}

html{
	font-size: 18px;
}

body, .nav > li > a,h1,h2,h3,h4,h5,h6,.heading-font, .off-canvas-center .nav-sidebar.nav-vertical > li > a, .alt-font{
	font-family: 'Gelasio', serif !important;
}

h1, h2, h3, h4, h5, h6{
	line-height: 1.3;
}

p{
	line-height: 1.7;
}

h1{
	font-size: 2em;
}

h2{
	font-size: 1.8em
}

h3{
	font-size: 1.6em;
}

h4{
	font-size: 1.4em;
}

h5{
	font-size: 1.2em;
}

h6{
	font-size: 1em;
}

.page-inner h3{
	padding-bottom: .5em;
	margin-bottom: 1.5em;
	border-bottom: 1px solid var(--text-color);
}

.page-inner h3:not(:first-child){
    margin-top: 2em;
}

.nav > li > a{
	font-weight: bold;
}

h1, h2, h3, h4, h5, h6, .heading-font, .off-canvas-center .nav-sidebar.nav-vertical > li > a{
	font-weight: bold;
	text-transform: uppercase;
}

body, p, a, li{
	font-weight: normal;
}

.top-divider{
	opacity: 1;
}

.wide-nav > .flex-row{
	flex-direction: column;
}

.wide-nav > .flex-row > .flex-col{
	padding-top: 15px;
	padding-bottom: 13px;
}

.header-wrapper:not(.stuck) .wide-nav > .flex-row:after{
	content: '';
	display: block;
	width: 100%;
    border-bottom: 1px solid var(--text-color);
}

.footer{
	padding: 3em 0px;
}

.widget a.button, .widget a.button:hover{
	color: white;
}

.size-full img{
	width: 100%;
}

.page-wrapper{
	margin-top: 30px;
}

span.widget-title span{
	font-size: 1.2em;
	color: var(--success-color);
}

.is-divider{
	max-width: 60px;
	background-color: var(--secondary-color) !important;
}

.footer .is-divider{
	background-color: var(--success-color) !important;
}

.widget{
	font-size: .9em;
}


.widget .menu li.has-child{
	position: relative;
}

.widget .menu li.has-child .toggle{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 37px;
}

.widget .sub-menu li.has-child .toggle{
	height: 31px;
}

.widget .menu li.has-child > a:hover span{
	color: var(--secondary-color) !important;
}


.widget .menu li.has-child .toggle .icon-angle-down{
	position: absolute;
	left: 0;
	top: 5px;
	transform: rotate(-90deg);
}

.widget .sub-menu li.has-child .toggle .icon-angle-down{
	top: 0;
}

.widget .menu li.has-child.active>.toggle .icon-angle-down{
	transform: rotate(0deg);
}

.widget .menu li.has-child.active>.toggle{
	transform: unset;
}

.widget .menu li.has-child > a{
	padding-left: 25px;
}

ul.menu>li ul, .widget>ul>li ul{
	border-left: none;
}

aside.widget .menu li:not(.has-child) a{
	margin-left: 25px;
}

aside.widget .menu li:not(.has-child) a:before{
	content: '';
	display: inline-block;
	margin-right: 10px;
	margin-left: -18px;
	width: 8px;
	height: 8px;
	background-color: var(--secondary-color);
}

.gradient-bg{
	position: relative;
}

.gradient-bg:before{
	content: '';
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	opacity: .85;
    background: #5d7e64; /* Old browsers */
    background: -moz-linear-gradient(45deg,  #5d7e64 32%, #d0d573 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg,  #5d7e64 32%,#d0d573 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg,  #5d7e64 32%,#d0d573 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5d7e64', endColorstr='#d0d573',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.is-divider{
	height: 2px;
}

.wp-caption .wp-caption-text{
	background-color: transparent;
	font-size: .8em;
	text-align: left;
	margin-left: 18px;
	margin-top: .7em;
}

.wp-caption .wp-caption-text:before{
    content: '';
    display: inline-block;
    margin-right: 10px;
    margin-left: -18px;
    width: 10px;
    height: 10px;
    background-color: var(--alert-color);
}

#accordion h1, #accordion h2, #accordion h3, #accordion h4, #accordion h5, #accordion h6{
	border-bottom: none;
	text-transform: none;
	margin-bottom: 0;
}

#accordion h3{
	font-size: 1.3em;
	margin-left: 1rem;
	display: flex;
}


#accordion h3:before{
    content: '';
    display: inline-block;
    margin-right: 10px;
    margin-left: -18px;
    margin-top: 4px;
    width: 1rem;
    height: 1rem;
    background-color: var(--primary-color);
}

.gallery-item .gallery-icon {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
}

.gallery-item{
	display: flex;
	flex-direction: column;
}

.gallery-item .gallery-icon img{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

img.mfp-img{
	max-width: 1024px;
}

.gallery-caption{
	font-size: .8em;
	padding: 1em;
	border: 1px solid #e1e1e1;
	border-top: none;
	flex-grow: 1;
}

blockquote{
	border-left: none;
	font-size: 1em;
	display: flex;
	margin-top: 1.2em;
	padding-left: 0;
	margin-bottom: 0;
}

blockquote:before{
	content: "\201C";
	font-style: normal;
	font-size: 5em;
	margin-right: .3em;
    color: var(--text-color);
    opacity: .2;
    line-height: 1;
}

.wpcf7 p {
    padding-bottom: .5em;
}

/*************************
Google Maps
**************************/
/* adjust padding to change the height of maps */
.google-maps {
  position: relative;
  padding-bottom: 67%;
  height: 0;
  overflow: hidden;
  margin-bottom: 2em;
}

.google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.widget .social-icons a{
    color: silver;
}


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}