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

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

/* color variables */
:root{
	--primary: #069a76;
	--secondary: #8b9a92;
}

/* font sizing and new classes */
.display-1 {
    font-size: 4.5em
}

.display-2 {
    font-size: 3.5em
}

.display-3 {
    font-size: 3em
}

.display-4{
	font-size: 2.7em;
}

.display-1, .display-2, .display-3 {
    padding: 0;
    margin-top: .2em;
    margin-bottom: .2em;
}

.banner .res-text{
	font-size: 100% !important;
}

h1{
	font-size: 2.5em;
}

h2{
	font-size: 1.7em;
}

h3{
	font-size: 1.4em;
}

h4{
	font-size: 1.2em;
}

h5{
	font-size: 1em;
}

h6{
	font-size: .9em;
}

p.lead{
	font-size: 1.2em
}

.small{
	font-size: .9em
}

/* Google Maps */
/* adjust padding to change the height of maps */

.google-maps {
  position: relative;
  padding-bottom: 64%;
  height: 0;
  width:  100%;
  overflow: hidden;
}

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


/*change color of checkmarks from flatsome's green */
.dark ul li.bullet-checkmark:before, .dark ul li.bullet-arrow:before, .dark ul li.bullet-star:before{
	color: white;
}

/* change the color of bullets. Set your colors at the top */
ul li.bullet-checkmark:before, ul li.bullet-arrow:before, ul li.bullet-star:before{
	color: var(--primary);
}

/* gravity forms */

.gform_wrapper legend{
    text-transform: none !important; 	
}

.gform_wrapper label{
    color: inherit;
}

.gform_wrapper .ginput_complex label{
	font-size: .8em !important;
}

.full-width .gform_button.button{
    width: 100%
}

.gform_wrapper.gravity-theme .gfield-choice-input{
	margin-bottom: 0;
}

.gform_wrapper .gfield_required{
	color: var(--primary);
}

/*.gform_button.button{
	border-radius: 10px;
}*/

/* horizontal forms */
.gform_wrapper .gf_simple_horizontal .gform_body{
	width: 100%;
	max-width: unset;
}

.gform_wrapper .gf_simple_horizontal .gform_button.button{
	margin: 0;
}

/* align buttons at bottom of row (must be set to equal) */
.align-equal .button{
	margin-top: auto;
}

.align-equal .col-inner{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.align-equal .text-center.col-inner{
	align-items: center;
}

.align-equal .col-inner div{
	width: 100%;
}

.no-align.align-equal .button{
	margin-top: unset;
}

.no-align.align-equal .col-inner{
	display: block;
	flex-direction: unset;
	align-items: unset;
}

/* fix weird spacing on buttons */
.button span {
    padding-top: 5px;
}

/* horizontally align icons */

.align-icons{
    align-items: center;
}


/* fill image height */

.fill img, .fill .img-inner{
	height: 100%;
}

.fill img{
	object-fit: cover;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    
    /* mobile for display sizes */
    .display-1 {
		font-size: 3em;
	}

	.display-2 {
		font-size: 2.5em;
	}

	.display-3 {
		font-size: 2.3em;
	}

	.display-4{
		font-size: 2em;
	}
}

/* limit size of containers on mobile */
@media only screen and (max-width: 1200px){
	.container-width, .full-width .ubermenu-nav, .container:not(.banner-layers), .row:not(.row-collapse){
		width: calc(100% - 30px);
	}
}

/* tab styles */
.nav-pills>li>a{
	border-radius: 0px;
	background-color: #f6f6f6;
	margin-right: 5px;
}

.nav-pills{
	border-bottom: 2px #f6f6f6 solid;
}

/* move buttons on home slider */

.home-slider .slider-style-focus .flickity-slider>*:not(.is-selected){
	opacity: 1;
}

.home-slider .flickity-prev-next-button{
    bottom: 0;
    left: unset;
    top: unset;
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    opacity: 100%;
	border-radius: 3px;
}

.home-slider .flickity-prev-next-button:hover{
	background-color: var(--primary);

}

.home-slider .flickity-prev-next-button svg{
	max-width: 36px;
}

.home-slider .flickity-prev-next-button.next{
    left: 50px;
    right: unset;
    bottom: -50px;
   
}

.allow-overflow .flickity-prev-next-button.previous{
    left: 0px;
    right: unset;
    bottom: -50px;
}

@media screen and (max-width: 549px){
	.allow-overflow .flickity-prev-next-button.next{
		display: inline-block;
	}

	.allow-overflow .flickity-prev-next-button.previous{
		display: inline-block;
	}
}

@media only screen and (min-width: 850px){
	.home-slider .flickity-prev-next-button.next{
        left: 80px;
        right: unset;
        top: -36px;
	}

	.home-slider  .flickity-prev-next-button.previous{
		left: 20px;
		right: unset;
		top: -36px;
	}
}



.home-slider .flickity-prev-next-button svg, .home-slider .flickity-prev-next-button .arrow{
	fill: white;
}

.home-slider .flickity-prev-next-button:hover svg, .home-slider .flickity-prev-next-button:hover .arrow{
	fill: white !important;
}


/* home slider */

.blog-border .box {
    border: 2px solid rgb(249, 249, 244);
}

/* blog page */

.blog .entry-title, .archive .entry-title{
	font-size: 1.5em;
}

.blog .entry-category, .archive .entry-category{
	display: none;
}

.blog .entry-header-text, .archive .entry-header-text{
	padding-bottom: 0;
}

/* page cards */
.page-col .col-inner{
	background-color: white;
}

.page-col h3{
	margin-bottom: .5em;;
}

.page-col p{
	line-height: 1.6;
}

/* sidebar page styles */

.page-right-sidebar, .blog-wrapper{
	padding-top: 60px;
}

.page-right-sidebar p, .blog-wrapper p{
	line-height: 1.7;
}

.page-right-sidebar{
	padding-bottom: 60px;
}

.page-right-sidebar img, .blog-wrapper img{
	margin-bottom: 20px;
}

.page-right-sidebar .alignleft, .blog-wrapper .alignleft{
	margin-right: 30px !important;
}

.page-right-sidebar .alignright, .blog-wrapper .alignright{
	margin-left: 30px !important;
}

.wp-block-image figcaption{
	font-size: .9em;
	font-style: italic;
	margin-top: 0px !important;
}


/* change color of right sidebar pages */

.page-template-page-right-sidebar #main{
	background-color: rgb(249, 249, 244);
}

/* fix icons */
.icon-box-left .icon-box-text{
	padding-left: 1em;
}

/* header buttons */
.header-icon-buttons .icon-box-img{
	margin-bottom: 0;
}

.header-icon-buttons .col-inner:hover{
	background-color: #f9f9f4;
}

.slider-zoom .section .bg-fill{
	transform: scale(1);
	transition: 7s;
}

.slider-zoom .is-selected.section .bg-fill{
	transform: scale(1.2);
}
