
/* WordPress content specific */
.alignright, .alignleft {
    margin: 10px 10px;
    max-width:60%;
    height:auto;
}
.alignright {
    float: right;
    margin: 10px 0px 10px 20px; 
}
.alignleft {
    float: left;
    margin: 10px 20px 10px 0px;
}
.aligncenter {
    text-align: center;
}
.wp-caption-text {
    text-align: center;
    font-size: 0.9em;
    font-style: italic;
    margin: 0px 0 10px;
}

@media screen and (max-width: 550px) {
    .alignright, .alignleft {
        float:none;
        max-width: 100%;
        width: 100%;
        margin: 0px;
    }
}
/* Gravity FOrm  Styling */

/*
Theme Name: Compucast Base Theme
Theme URI: https://www.compucast.com/
Author: Compucast Web, Inc.
Author URI: https://www.compucast.com/
Description: A simplified base theme.
Version: 1.0.0
Text Domain: compucast-base-theme
Domain Path: /languages/
Tags: one-column, featured-images, theme-options, custom-background, custom-colors, custom-logo, custom-menu, editor-style, translation-ready, footer-widgets, full-width-template, blog, sticky-post, threaded-comments, wide-blocks
Requires at least: 5.0
Requires PHP: 7.1
*/

:root{
	--primary-color: #134e7d;
	--primary-hover: #1a6fb3;

	--secondary-color: #dcdfe8;

}

body .gform-theme--foundation .gform_fields{
    --gf-form-gap-x: 16px;
    --gf-form-gap-y: 20px;
}
body .gform-theme {
	/* background: #f0f0fa url(/templates/client/images/body.jpg); */
	font-size: 20px;
	background-color: transparent !important;
	margin:0;
	padding:0;
}
button .button{color:white;}

.entry-header, .gform_heading{display:none !important}
.gfield--input-type-html {
    font-size: 1.2em;
    padding: 0 3%;
}
.gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *))
{
    font-size: 1.1em;
	border-radius: 2px;
    color: #FFF;
    background: var(--primary-color);
	font-weight:bold;
    transition: 0.4s, margin-top 0.0s;
    box-shadow: none;
    max-width: 260px;
    text-transform: uppercase;
	padding: 1em 2em;
    border-radius: 4px;
}
.gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover, .gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover, .gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover, .gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover, .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover, .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover, .gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover {
    background: var(--primary-hover);
}


.gform-theme--framework input[type]:where(:not(.gform-text-input-reset):not([type=hidden])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    font-size: 1.1em;
    background-color: var(--secondary-color);
}
.gform-theme--foundation .gfield textarea  {
    font-size: 1.1em;
    background-color: var(--secondary-color);
}
.gform-theme--foundation .gfield select {
    font-size: 1.1em;
    background-color: var(--secondary-color); 
}

.gform_fields label,
.gfield_label,
.gfield_label, 
.gform-field-label {
    font-size: 1.3em !important;
    font-weight:bold;
}

/* Check box section */
.gfield--type-checkbox {
    border: solid var(--secondary-color) 2px !important;
}
.gfield--type-checkbox legend {
    background: var(--secondary-color);
    display: block !important;
    padding: 4px 18px;
    width: 100%;
}
.gfield--type-checkbox .ginput_container_checkbox {
    
}
.gfield--type-checkbox .ginput_container_checkbox .gfield_checkbox .gchoice {
    padding: 0px 20px 6px 20px;
    border-bottom: 1px solid #daf7f9;
}

.gfield--type-checkbox label { /* checkbox */
    font-size: 1.1em !important;
}

.gfield_required.gfield_required_text{vertical-align:super;}

/* Radio Button section */
.gfield--type-radio {
    border: solid var(--secondary-color) 2px !important;
}
.gfield--type-radio .gfield_label {
    background: var(--secondary-color);
    display: block !important;
    padding: 4px 18px;
    width: 100%;
}
.gfield--type-radio .ginput_container_radio {
    padding:20px;
}


 /* Email Sent Confirmation Info */
 #gform_confirmation_wrapper_1 {
	width: 100%;
    text-align: Center;
    margin: 10vw 0;
}
.gform_confirmation_message {
    width: 100%;
    background: green;
    color: #fff;
    text-align: center;
    padding: 1em;
}

/* CAPTCHA  ===== */
/* @media screen and (max-width:650px) {
    .grecaptcha-badge {
        position: relative !important;
        right: 0px !important;
    }
} */




/* ResponsiveSlides--------------------------------------------- */
/* .rslides { position: relative; list-style: none; overflow: hidden; width: 100%; padding: 0; margin: 0; }
.rslides li { -webkit-backface-visibility: hidden; position: absolute; display: none; width: 100%; left: 0; top: 0; }
.rslides li:first-child { position: relative; display: block; float: left; }
.rslides img { display: block; height: auto; float: left; width: 100%; border: 0; } */
.splide {
    width:100%;
}
.splide__slide img {
    width: auto;
    height: 100%;
    max-height: 46vh;
    object-fit: cover;
    max-width: 100%;
    min-width: 100%;
}
.splide__toggle{
    position: absolute;
    z-index: 11;
    margin-top: -1.75em;
    background: transparent;
    border: none;
    color: #fff;
    right: 1em;
}
.splide__toggle span{
}
.carousel-progress {
    position: absolute;
    width: 100%;
    margin-top: -5px;
}
.carousel-progress-bar {
  background: #1ec31e;
  height: 5px;
  transition: width 400ms ease;
  width: 0;
}
.splide__arrows{ position: static;}
.splide__arrow{
	width:3em;
	height:3em;
	background:none;
}
.splide__arrow svg {
	width:3em;
	height:3em;
    fill: #fff;
}



 /* Simple flex gallery */
  .single-gallery main.main article {
    max-width: 1680px;
}
 .gallery{
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.gallery a{
    display: flex;
    flex-grow: 1;
    max-width: 600px;
}
/* .gallery a:last-child img{
    max-width: 252px !important;

} */
/* .gallery a:last-child img{
    max-width: 252px !important;
    max-height: 230px;
} */

@media (min-width:512px) {
    /* .gallery a:last-child{flex-grow:0;}
    .gallery a:last-child img{
        width: 100% !important;
        max-width: 512px !important;
        max-width: 252px !important;
        zoom:1;
    } */
}
.gallery a:hover {
    z-index: 1;
}
.gallery img{
    object-fit: cover;
    object-position: center;
    display: block;
    height: 100%;
    width: 100%;
    flex-grow: 1;
    transition: all 0.3s cubic-bezier(0, 0, 0.2, 1);
    filter: invert(0%) sepia(0%) saturate(100%) hue-rotate(0deg) brightness(100%) contrast(100%);
    border-radius: 3px;
    box-shadow: 3px 2px 10px -4px rgba(0,0,0,0.8);
    transform: scale(1);
    max-width: 100%;
    max-height: 560px;
    max-height: 380px;
}
.gallery a:hover img{
     filter: invert(0%) sepia(0%) saturate(110%) hue-rotate(0deg) brightness(110%) contrast(100%);
    box-shadow: 0px 10px 30px 0px rgba(0,0,0,0.5);
    transform: scale(1.04);
}
.gallery a span.caption{
    transition: all 0.3s cubic-bezier(0, 0, 0.2, 1);
    position: absolute;
    left: 0;
    bottom: 0;
    max-height: 100%;
    right: 0;
    padding: 5% 10% 2% 10%;
    opacity: 0;
    display: flex;
    font-weight: bold;
    color: #000;
    background: #fff;
    text-shadow: #fff 1px 1px 2px, #fff 1px 1px 6px, #fff 1px 1px 11px, #fff 1px 1px 20px;
    overflow: auto;
    line-height: normal;
}
/* .gallery a:hover span.caption{
    opacity: 1;
    background: #ffffffb5;
    padding: 7% 10% 7% 10%;
} */
.gallery img{zoom:.4;} 
@media (max-width:1260px) {
    .gallery img{zoom:.4;} 
}
@media (max-width:960px) {
    .gallery img{zoom:.3;} 
}
@media (max-width:760px) {
    .gallery img{zoom:.3;} 
}
@media (max-width:560px) {
    .gallery img{zoom:.2;} 
}