
/* 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;
}
.gform-theme *{
	/* font-family: var(--secondary-font); */
	font-optical-sizing: auto;
}
.gform-theme button,.gform-theme label,.gform-theme .button{
	/* font-family: var(--primary-font) !important; */
	font-optical-sizing: auto;
	color: var(----primary-color);
}
.gform-theme 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
{
    
	border-radius: 2px !important;
    color: #FFF !important;
    font-size: 1.2em !important;
    background-color: #93242f !important;
	font-weight:bold !important;
    transition: 0.4s, margin-top 0.0s !important;
    box-shadow: none !important;
    max-width: 260px !important;
    text-transform: uppercase !important;
	padding: 0.6em 2em !important;
    border-radius: 4px !important;
}
.gform-theme.gform-theme--framework.gform_wrapper .button:hover {
    background: #ffb86b  !important;
} */

/*  */
/* .gform-theme.gform-theme--framework.gform_wrapper .button {
    display: inline-block !important;
    position: relative !important;
    padding: 12px 17px !important;
    color: #ffffffcf !important;
    font-size: 1.2em !important;
    margin-top: 20px !important;
    border: 3px solid #dbae2f;
    border-radius: 30px !important;
    box-shadow: 2px 2px 10px #00000045 !important;
    transition: 0.3;
} */



.gform-theme.gform-theme--framework.gform_wrapper .button {
    display: inline-block !important;
    position: relative !important;
    padding: 10px 20px 10px 21px !important;
    /* color: #000 !important; */
    background: #2996bc !important;
    font-size: 1.1em !important;
    margin-top: 10px !important;
    /* border: 3px solid #dbae2f !important; */
    border-radius: 30px !important;
    box-shadow: 2px 2px 10px #00000045 !important;
    font-family: "Poppins", sans-serif !important;
    transition: 0.5 !important;
}
.gform-theme.gform-theme--framework.gform_wrapper .button:after {
    /* content:'\f061'; */
    /* font-family: "FontAwesome"; */
    content:'»'!important;
    margin-left: 10px!important;
    font-size: larger!important;
    color: #2996bc!important;
    text-decoration: none !important;
}
.gform-theme.gform-theme--framework.gform_wrapper .button:hover {
    background: #26a3d1 !important;
}



.gform-theme.gform-theme--framework.gform_wrapper .button:after {
    /* content:'\f061'; */
    /* font-family: "FontAwesome"; */
    content:'»' !important;
    margin-left: 10px !important;
    color: #2996bc !important;
    text-decoration: none !important;
}
.gform-theme.gform-theme--framework.gform_wrapper .button:hover {
    filter: contrast(130%) !important;
}
/*  */

.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;
    outline: none;
    /* border: none; */
    background-color: white;
    padding: 0 0 0 0.6em;
    box-shadow: 2px 9px 6px -7px rgba(0, 0, 0, 0.2);
    border-radius: 0.15em;
    line-height: normal;
    height: 2.5em;
    -webkit-appearance: none;
}
.gform-theme--foundation .gfield textarea  {
    font-size: 1.1em;
    outline: none;
    /* border: none; */
    background-color: white;
    padding: 0 0 0 0.6em;
    box-shadow: 2px 9px 6px -7px rgba(0, 0, 0, 0.2);
    border-radius: 0.15em;
    line-height: normal;
    height: 2.5em;
    -webkit-appearance: none;
}
.gform-theme--foundation .gfield select {
    font-size: 1.1em;
    outline: none;
    border: none;
    background-color: white;
    padding: 0 0 0 0.6em;
    box-shadow: 2px 9px 6px -7px rgba(0, 0, 0, 0.2);
    border-radius: 0.15em;
    line-height: normal;
    height: 2.5em;
    -webkit-appearance: none;
}

.gform_fields label,
.gfield_label,
.gfield_label, 
.gform-field-label {
    font-size: 1.1em !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;
}



/*Newsletter Form SPecific=================================*/
#gform_4 .gfield--input-type-html {
    text-align: center;
    color:white;
}
#gform_4 .ginput_container {
    display: flex !important;
    flex-direction: row-reverse !important;
}
#gform_4 .field_4_5 {
    display: flex !important;
    align-items: baseline  !important;
    justify-content: end !important;
}
#gform_4 .gform-theme--foundation .gfield--width-full {
    color:white;
    grid-column: span 12;
    text-align: center;
}

.cta_mailist #gform_4 fieldset div.formfields button {width: 180px;
    text-align: center;
    padding: 0 0.6em;
    font-size: 1.3em;
    margin: 5px 9px;
    height: 1.87em;
    font-weight: 700 !important;
    background: #e1a15b;
    letter-spacing: 0em;
    color: #302315;
    text-shadow: none;
    text-indent: 0px !important;}

    #gform_4  .gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit],#gform_4  [type=button],#gform_4  [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 #gform_4  input:is([type=submit],#gform_4 [type=button],#gform_4 [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 *)) {
    color: #302315 !important;
    background: #e1a15b !important;
    inline-size: calc(50% - var(--gf-form-gap-x) / 2);
     }


    @media screen and (max-width: 656px) {
        #gform_4  .ginput_container {
            justify-content: center !important;
        }
         .gform-theme--framework #gform_4  .gfield:where(:not(.gfield--type-html):not(.gfield--type-section)) {
            display: flex !important ;
    justify-content: center !important;
        }
          .gform-theme--framework #gform_4 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 *))  {
        inline-size: calc(100% - var(--gf-form-gap-x) / 2) !important;
    }
    #gform_4  #field_4_8 {
            display:none !important;
        }
    }
/*  */
 /* 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: 400px;
}
/* .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;
}
.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;} 
}