
/* 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-optical-sizing: auto;
}
.gform-theme button,.gform-theme label,.gform-theme .button{

	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: #f55807  !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--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: #dcdfe8;
    padding: 0 0 0 0.6em;
    box-shadow: 2px 9px 6px -7px rgba(0, 0, 0, 0.2);
    border-radius: 0.15em;
    line-height: 2.5em;
    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: #fff !important;
    background: #f55807  !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: 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;
}
.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;} 
}


/* Photo Gallery Categories Page ==========*/
/* Gallery============================ */
#gallery-categories {
    list-style: none !important;
    padding: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    flex-flow: row wrap;
    gap: 30px 2%;
}

#gallery-categories.clearfix:before,
#gallery-categories.clearfix:after {
    display: none;
}

#gallery-categories li {
    position: relative;
    width: 32%;
    float: left;
    border-radius: 4px;
    box-sizing: border-box;
}

#gallery-categories li:before {
    display: none;
}

#gallery-categories li a {
    position: relative;
    display: block;
    width: 100%;
}

#gallery-categories li a span {
    position: absolute;
    bottom: 10%;
    left: 10%;
    display: inline-block;
    width: 80%;
    margin: 0;
    padding: 0.5em;
    background: rgb(36 91 132 / 58%);
    text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.20);
    text-align: center;
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 1.2em;
    color: white;
    box-sizing: border-box;
    border-radius: 4px;
    transition: 0.3s;
}

#gallery-categories li:hover a span {
    color: white;
    background: rgba(0, 0, 0, 0.9);
}

#gallery-categories li a img {
    display: block;
    width: 100%;
    height: auto;
}

@media screen and (max-width: 1100px) {
    #gallery-categories li {
        width: 48%;
    }
}

@media screen and (max-width: 640px) {
    #gallery-categories li {
        width: 98%;
    }
}









#gallery-pager { position:relative; height: 93px !important;}
#gallery-pager ul { list-style: none; padding: 0.3em 0; margin: 0; overflow-x:scroll; overflow-y:hidden; white-space:nowrap; }
#gallery-pager ul li { display:inline-block; margin:0.2em; margin:0.2em 0.4em 0.2em 0; /*border:1px solid transparent;*/}
#gallery-pager ul li:last-child {margin:0.2em 0;} 
#gallery-pager ul li.rslides_here {/* border-color:#EACE47;*/ /*box-shadow: 0px 0px 7px 2px #EACE47; */}
#gallery-pager ul.js::-webkit-scrollbar { display: none; }
#gallery-pager ul li a {position:relative; display: block; border: 2px solid #D42C3A;}
#gallery-pager ul li a img { display: block; }
#gallery-pager ul li.rslides_here { border-color:#fff; box-shadow: 0px 0px 7px 2px #7D868A; }
#gallery-pager ul li.rslides_here a:before {border-color:#fff;}
#gallery-pager ul li a:before {position:absolute; content:""; width:100%; height:100%; border:1px solid transparent; box-sizing:border-box;}
#gallery-pager ul li a img { display: block; }
#gallery-pager .prev {text-decoration:none; position: absolute;left: -10px;padding: 0 5px;width: 25px;line-height: 31px;text-align: center;height: 30px;top: 33px;font-size: 25px;z-index: 2;font-family: FontAwesome;background: #D42C3A;color: #FFFFFF;border-radius: 3px;transition: 0.3s;}
#gallery-pager .next {text-decoration:none; position:absolute;right: -10px;padding:0 5px; width: 25px;line-height: 31px;text-align: center;height: 30px; top: 33px; font-size:25px; z-index:2; font-family: FontAwesome; background: #D42C3A;  color: #FFFFFF;  border-radius: 3px; transition:0.3s;}
#gallery-pager .prev:hover, #gallery-pager .next:hover {background: #00358F; transition: 0.3s;}
#gallery-pager .prev:active, #gallery-pager .next:active {background: #EACE47;}

#gallery-pager ul.js::-webkit-scrollbar { display: none; }

#gallery-photos { position:relative; background:none!important; width:auto!important; margin: 60px auto; text-align: center;}
#gallery-photos ul li {min-height:0px !important; background: #DEDED2; padding: 1em; border-radius: 0.8em; }
#gallery-photos ul li:active,
#gallery-photos ul li:target { display:block!important; }
#gallery-photos .prev { text-decoration:none; position: absolute;left: -0.3em;width: 42px;height: 80px;top: 50%;margin-top: -40px;font-size: 37px;z-index: 2;font-family:FontAwesome;  background: #D42C3A;line-height: 83px;text-align: center;border-radius: 3px;  color: #FFFFFF;box-shadow: 1px 1px 8px #000;transition:0.3s}
#gallery-photos .next { text-decoration:none; position: absolute;right: -0.3em;width: 42px;height: 80px;top: 50%;margin-top: -40px;font-size: 37px;z-index: 2;font-family:FontAwesome; background: #D42C3A;line-height: 83px;text-align: center;border-radius: 3px; color: #FFFFFF;box-shadow: 1px 1px 8px #000; transition:0.3s}
#gallery-photos .prev:hover , #gallery-photos .next:hover {background: #00378E; transition: 0.3s;}
#gallery-photos .prev:active , #gallery-photos .next:active  {background: #EACE47;}
#gallery-caption {text-align: center;display: inline-block;padding: 11px 20px;margin-top: -45px;position: relative;z-index: 999;margin: -55 auto 0 auto;background: #D42C3A;color: #FFF;border-radius: 3px;box-shadow: 0 10px 10px -10px #000;}

@media screen and (max-width: 600px) {
    #gallery-categories li {
        width:100%;
    }
	#gallery-categories li a img {
		height: 47vw;
	}
}