/*
Theme Name: Compucast Base Theme
Theme URI: https://www.compucast.com/
Author: Compucast Web, Inc.
Author URI: https://www.compucast.com/
Description: A Custom made 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;
   	--primary-font: "Montserrat", sans-serif;
    
	--secondary-color: #dcdfe8;
	--secondary-font: "Roboto", sans-serif;
}
body .gform-theme--foundation .gform_fields{
    --gf-form-gap-x: 16px;
    --gf-form-gap-y: 20px;
}
body {
	
	font-size: 20px;
	background-color: transparent !important;
	margin:0;
	padding:0;
}
*{
	font-family: var(--secondary-font);
	font-optical-sizing: auto;
}
h1,h2,h3,h4,h5,h6,button,label,.button{
	font-family: var(--primary-font) !important;
	font-optical-sizing: auto;
	color: var(----primary-color);
}*/
button .button{color:white;} 





/* 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;
}





/* Gravity FOrms SPecific ---------------------- */

.entry-header, .gform_heading{display:none !important}
.gfield--input-type-html {
    font-size: 1.0em;
    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.0em;
    border-radius: 2px;
    color: #FFF;
    background: #9a0606;
    font-weight:bold;
    transition: 0.4s, margin-top 0.0s;
    box-shadow: none;
    max-width: 260px;
    text-transform: uppercase;
    padding: 0.7em 2em;
    border-radius: 4px;
    box-shadow: 2px 9px 6px -7px rgba(0, 0, 0, 0.2);
}
.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: #ee2e24;
    /* filter: contrast(110%) brightness(1.2); */
}


.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 *)) ,
.gform-theme--foundation .gfield textarea,
.gform-theme--foundation .gfield select {
    font-size: 1.2em;
    min-height: 2.5em;
    box-shadow: inset 1px 1px 7px 0px rgba(0, 0, 0, 0.15);
    background-color: #f0f0f0;
    border: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.0em !important;
}

.gfield_required.gfield_required_text{vertical-align:baseline;}

/* // Dark Background options=========================
.gform_fields label,
.gfield_label,
.gfield_label, 
.gform-field-label {
    color: white !important;
}
.gfield_required.gfield_required_text{color:#8edf11}

.gform-theme--framework .field_description_above .gfield_description:where([class=gfield_description],.gfield_creditcard_warning_message),
.gform-theme--framework .field_description_above .gfield_description:where(:not([class=gfield_description]):not(.ginput_counter_tinymce):not(.gfield_creditcard_warning_message):not(.gfield_consent_description)) {
    margin-block-end: var(--gf-desc-space);
    color: #ffffff96;
}

//  Error submission messages DARK theme
.gform-theme--framework .gform_validation_errors .gform_submission_error,
.gform-theme--framework .gform_validation_errors ol a,
.gform-theme--framework .gform_validation_errors .gform-icon,
.gform-theme--framework .gform_validation_errors .gform-icon:before {
    color: #fae56f !important;
} 

.gform-theme--framework .gform_validation_errors {
    border-color:#fae56f !important;
}
.gform-theme--framework .field_description_above .gfield_description:where(:not([class=gfield_description]):not(.ginput_counter_tinymce):not(.gfield_creditcard_warning_message):not(.gfield_consent_description)) {
    margin-block-start: var(--gf-desc-space);
    color: #faff33;
}

=============================================== */

/* 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;
}

.gform-theme--framework .field_description_above .gfield_description:where(:not([class=gfield_description]):not(.ginput_counter_tinymce):not(.gfield_creditcard_warning_message):not(.gfield_consent_description)) {
    margin-block-start: var(--gf-desc-space);
    color: #585e6a;
}

 /* 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;
}





 /* Simple flex gallery */
.gallery{
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.gallery a{
    display: flex;
    flex-grow: 1;
}

@media (min-width:512px) {
    .gallery a:last-child{flex-grow:0;}
    .gallery a:last-child img{
        width: 100% !important;
        max-width: 512px !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%;
}
.gallery a:hover img{
    filter: invert(0%) sepia(0%) saturate(120%) hue-rotate(0deg) brightness(125%) 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.6s 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:.5;} 
@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;} 
}



/* Aligned Gallery*/
.aligned-gallery { list-style:none;     padding: 0px 0px 0px 15px;}
.aligned-gallery li { display:block; float:left; margin:5px;width: inherit; padding: 0px; box-shadow: 0px 0px 11px -8px rgba(0, 0, 0, 0.0); transition:0.3s;}
.aligned-gallery li:hover {box-shadow: 0px 10px 11px -8px rgba(0, 0, 0, 0.41);}
.aligned-gallery li:before {display:none;}
.aligned-gallery li a { display:block; cursor:zoom-in}
.aligned-gallery li a img { display:block; margin:0px !important; border-radius: 3px;}

	@media screen and (max-width: 780px) {
		#gallery-categories li {display:block;margin: 0px auto 10px auto;width: 50%;max-width: 400px;}
	}
	@media screen and (max-width: 550px) {
		#gallery-categories li {float:none;display:block;margin: 0px auto 0px auto;width: 100%;max-width:300px;}
	}

/* Aligned Gallery 2*/
.aligned-gallery2 { list-style:none;     padding: 0px 0px 0px 15px;}
.aligned-gallery2 li { display:block; float:left; margin:5px;width: inherit; padding: 0px; box-shadow: 0px 0px 11px -8px rgba(0, 0, 0, 0.0); transition:0.3s;}
.aligned-gallery2 li:hover {box-shadow: 0px 10px 11px -8px rgba(0, 0, 0, 0.41);}
.aligned-gallery2 li:before {display:none;}
.aligned-gallery2 li a { display:block; cursor:zoom-in}
.aligned-gallery2 li a img { display:block; margin:0px !important; border-radius: 3px;    object-fit: cover;}

	@media screen and (max-width: 780px) {
		#gallery-categories li {display:block;margin: 0px auto 10px auto;width: 50%;max-width: 400px;}
	}
	@media screen and (max-width: 550px) {
		#gallery-categories li {float:none;display:block;margin: 0px auto 0px auto;width: 100%;max-width:300px;}
	}