/*
Theme Name: Evolve Made Child Theme
Theme URI: https://www.evolvemade.com/
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: Evolve Creative
Author URI: https://www.evolvemade.com/
template: bb-theme
*/

/* Add your custom styles here... */ 

p:empty{display:none;}
p:last-child,
p:only-child{margin-bottom:0px;}

a.fl-module-box{text-decoration:none !important;}

iframe{
    display:block;
    width:100%;
    outline:none;
    border:none;
}

.wpforms-container label{
	width:100%; 
	display:block;  
}
.wpforms-container .wpforms-field-label {
	margin-top:15px;
}
.wpforms-container .wpforms-field-sublabel.after {
	margin-top:5px;
}
    

.wpforms-submit-container{margin-top:15px;}

.wpforms-container button,
.wpforms-container input[type="submit"],
.wpcf7-form input[type="submit"]{}

.wpforms-container button:hover,
.wpforms-container input[type="submit"]:hover{}

.wpforms-container input[type=text], 
.wpforms-container input[type=password], 
.wpforms-container input[type=email], 
.wpforms-container input[type=tel], 
.wpforms-container input[type=date], 
.wpforms-container input[type=month], 
.wpforms-container input[type=week], 
.wpforms-container input[type=time], 
.wpforms-container input[type=number], 
.wpforms-container input[type=search], 
.wpforms-container select,
.wpforms-container textarea{
    height: auto !important; 
    width:100%; 
    display:block; 
    max-width: 100% !important;
}

.wpforms-container textarea{min-height:200px;}

.wpforms-container input[type=text]:focus, 
.wpforms-container input[type=password]:focus, 
.wpforms-container input[type=email]:focus, 
.wpforms-container input[type=tel]:focus, 
.wpforms-container input[type=date]:focus, 
.wpforms-container input[type=month]:focus, 
.wpforms-container input[type=week]:focus, 
.wpforms-container input[type=time]:focus, 
.wpforms-container input[type=number]:focus, 
.wpforms-container input[type=search]:focus, 
.wpforms-container input[type=checkbox]:focus, 
.wpforms-container select:focus,
.wpforms-container textarea:focus{ }

.wpforms-container input[type=checkbox],
.wpforms-container input[type=radio]{
appearance:none;
-moz-appearance:none; 
-webkit-appearance:none; 
  width:18px; 
  height:18px;
  background-color:#ffffff;
  border:5px solid #ffffff;
  border-radius:2px;
  border:1px solid #C1C1C1; 

}

.wpforms-container input[type=checkbox]:checked,
.wpforms-container input[type=radio]:checked{
  background-color:#000000;
  border:5px solid #ffffff;
}


.wpforms-container textarea:-webkit-input-placeholder,
.wpforms-container input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: inherit;
}
.wpforms-container textarea:-moz-placeholder,
.wpforms-container input::-moz-placeholder { /* Firefox 19+ */
  color: inherit;
}
.wpforms-container textarea:-ms-input-placeholder,
.wpforms-container input:-ms-input-placeholder { /* IE 10+ */
  color: inherit;
}
.wpforms-container textarea:-moz-placeholder,
.wpforms-container input:-moz-placeholder { /* Firefox 18- */
  color: inherit;
}
.wpforms-container textarea::placeholder,
.wpforms-container input::placeholder {
  color: inherit;
}

.wpforms-container .wpforms-field{padding:0px !important;}

.wpforms-field-row{max-width:100% !important;}

@media (min-width:768px){
	.fl-col-group-equal-height.fl-col-group-align-center .inline-modules .fl-module,
	.inline-modules .fl-module{
		display:inline-block; 
		width: auto; 
		vertical-align: middle;
	}
}

.no-wrap-menu .sub-menu{white-space:nowrap;}

.aspect-wrapper-16-9{
    position:relative;
    padding-top:52.25%;
}

.aspect-wrapper-16-9 > *{
    position:absolute;
    top:0px;
    left:0px;
    right:0px;
    bottom:0px;
    width:100%;
    height:100%;
}

.z-overlay{position:relative; z-index:1;}

.cols-full-height .fl-col-group{height:100%;}
.module-full-height,
.module-full-height .fl-module-content,
.module-full-height .fl-html{height:100%;}


/* BLOG POSTS */
.fl-post.category-press-releases .fl-post-meta.fl-post-meta-top {
    display: none;
}

.fl-post .fl-post-header {
    margin-bottom: 5px;
}

.fl-post .fl-post-thumb {
    margin-bottom: 40px;
}

.fl-post-header .fl-post-title {
    letter-spacing: 1px;
    line-height: 1.1;
}

.fl-post-content h2.fl-heading,
.fl-post-content h3.fl-heading {
    letter-spacing: 0.04em;
}

.fl-post-content .fl-rich-text {
    letter-spacing: 0.02em;
}

.fl-post-content .fl-rich-text p,
.fl-post-content .fl-rich-text li {
    line-height: 1.66;
    margin-bottom: 15px;
}
.fl-post-content .fl-rich-text p:last-child {
    margin-bottom: 0;
}

.fl-post .fl-module.fl-module-info-box:last-child .infobox-photo-left .uabb-photo-img {
    border-radius: 50%;
}


@media (max-width: 720px) {
    .fl-post .fl-module.fl-module-info-box:last-child .uabb-imgicon-wrap {
        display: block;
        margin-bottom: 5px;
    }
    
    .fl-post .fl-module.fl-module-info-box:last-child .infobox-photo-left .uabb-infobox-content {
        width: 100%;
    }
}

@media (min-width: 1100px) {
    .single.fl-full-width .container {
        width: 1100px;
        margin: auto;
    }
}


.flex-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}
.flex-grid .flex-col {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
    padding-right: 10px;
    padding-left: 10px;
}

.evolve-post-share .share,
.evolve-post-share a {
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
    margin-bottom: 12px;
    text-align: center;
}
.evolve-post-share .share {
    font-size: 14px;
}
.evolve-post-share a {
    color: #5b5b5b;
    font-size: 20px;
    text-align: center;
    width: 30px;
}

@media (min-width: 769px) {
    .evolve-post-share.flex-col {
        padding-top: 8px;
        -ms-flex-preferred-size: 60px;
        flex-basis: 60px;
        max-width: 60px;
    }

    .evolve-post-content.flex-col {
        padding-left: 24px;
        -ms-flex-preferred-size: calc(100% - 60px);
        flex-basis: calc(100% - 60px);
        max-width: calc(100% - 60px);
    }

    .evolve-post-share .share,
    .evolve-post-share a {
        display: block;
        margin-right: 0;
        margin-bottom: 12px;
        width: 40px;
    }
}

@media (min-width: 1100px) {
    .fl-post .fl-post-thumb {
        margin-bottom: 40px;
        margin-top: 40px;
    }
}

/* Safari bug fix because BB is apparently not smart enough to handle responsive on Safari... */
@media (max-width: 992px) {
    .safari .uabb-blog-posts-col-3 {
        width: 50%;    
    }
}
@media (max-width: 720px) {
    .safari .uabb-blog-posts-col-3 {
        width: 100%;    
    }
}

