/*
Theme Name: thinkjarvis
Description: Child theme for enfold thinkjarvis
Version: 1.0
Author: Think Jarvis Design and Marketing 
Author URI: https://www.thinkjarvis.co.uk/
Template: Divi
*/

/*Add your own styles here:*/

/* ETmodules */
@font-face {
    font-family: "ETmodules";
    src: url("tjfonts/modules.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Root and Vars */
* {
    -webkit-tap-highlight-color: transparent;
	/* this stops the click background colour for the menus*/
}
:root, html {
  font-size: 18px !important; /* Desktop HD*/
}

@media only screen and (min-width: 980px) and (max-width: 1444px) { /* 720 */
  :root, html {
    font-size: 15px !important;
  }
}

@media only screen and (min-width: 451px) and (max-width: 979px) { /* tablet */
  :root, html {
    font-size: 16px !important;
  }
}

@media only screen and (max-width: 450px) { /* Mobile */
  :root, html {
    font-size: 14px !important;
  }
}

@media only screen and (min-width: 2000px) { /* 2K and Above */
  :root, html {
    font-size: 25px !important;
  }
}

@media only screen and (min-width: 3000px){ /* 4K and Above */
  :root, html {
    font-size: 36px !important;
  }
}

/*form rem rules*/

.with_frm_style {
    --title-size: 2.222rem;              /* 40px */
    --title-margin-top: 0.556rem;        /* 10px */
    --title-margin-bottom: 3.333rem;     /* 60px */
    --form-desc-size: 0.778rem;          /* 14px */
    --form-desc-margin-top: 0.556rem;    /* 10px */
    --form-desc-margin-bottom: 1.389rem; /* 25px */
    --form-desc-padding: 0rem;
    --font-size: 0.833rem;               /* 15px */
    --width: 8.333rem;                   /* 150px */
    --label-padding: 0rem 0rem 0.278rem 0rem; /* 5px */
    --description-font-size: 0.667rem;   /* 12px */
    --description-margin: 0rem;
    --field-font-size: 0.778rem;         /* 14px */
    --field-height: 2rem;                /* 36px */
    --line-height: 2rem;                 /* 36px */
    --field-pad: 0.444rem 0.667rem;      /* 8px 12px */
    --field-margin: 1.111rem;            /* 20px */
    --check-font-size: 0.778rem;         /* 14px */
    --section-font-size: 1rem;           /* 18px */
    --section-pad: 1.778rem 0rem 0.167rem 0rem; /* 32px 0px 3px 0px */
    --section-mar-top: 1.667rem;         /* 30px */
    --section-mar-bottom: 1.667rem;      /* 30px */
    --submit-font-size: 0.778rem;        /* 14px */
    --submit-border-width: 0.056rem;     /* 1px */
    --submit-border-radius: 0.444rem;    /* 8px */
    --submit-margin: 0.556rem;           /* 10px */
    --submit-padding: 0.444rem 0.889rem; /* 8px 16px */
    --border-radius: 0.444rem;           /* 8px */
    --error-font-size: 0.778rem;         /* 14px */
    --success-font-size: 0.778rem;       /* 14px */
    --progress-size: 1.667rem;           /* 30px */
    --base-font-size: 0.833rem;          /* 15px */
    --toggle-font-size: 0.833rem;        /* 15px */
    --slider-font-size: 0.778rem;        /* 14px */
    --slider-track-size: 0.444rem;       /* 8px */
    --slider-circle-size: 1.333rem;      /* 24px */
}
.frm_style_formidable-style.with_frm_style .frm_compact .frm_dropzone.dz-clickable .dz-message, .frm_style_formidable-style.with_frm_style .frm-edit-page-btn, .frm_style_formidable-style.with_frm_style input[type=submit], .frm_style_formidable-style.with_frm_style .frm_submit input[type=button], .frm_style_formidable-style.with_frm_style .frm_submit button, .frm_form_submit_style{
	font-size:1rem;
}
/*end of root*/


/*mega menu styles*/
/* Add arrow to links that have a dropdown next to them */
.et_pb_link:has(+ .et_pb_dropdown)::after {
  content: "\33";
  font-family: "ETmodules";
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}
.et_pb_module:has(.et_pb_dropdown:not(.et_pb_dropdown_hidden)) > .et_pb_link::after {
  transform: rotate(180deg);
}

.et_pb_dropdown{
	cursor: default;
}
/*end mega menu styles*/
/*mobile menu with modual styles*/

/*auto scroll button*/
#isw-load-more-button{
	background-color: var(--gcid-primary-color);
    border-radius: 50%;
    border: none;
    font-size: 1rem;
    padding: 0.5rem 2rem;
}

#moove_gdpr_cookie_info_bar {
	color: #000000;

}

#moove_gdpr_cookie_info_bar {
	z-index:100000 !important;
}
.gdpr_lightbox {
		z-index:100001 !important;
}


@media (max-width: 767px) {
    #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content {
		padding:15px !important;	}
    #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo-holder {
        margin-bottom: 0px !important;
    }

	#moove_gdpr_cookie_modal .moove-gdpr-modal-content.moove_gdpr_modal_theme_v1 .main-modal-content{
		max-height:none !important;
		height:70vh !important;
	}
	#moove_gdpr_cookie_modal .moove-gdpr-modal-content.moove_gdpr_modal_theme_v1 .main-modal-content .moove-gdpr-tab-content {
		height:70vh !important;
		max-height:none !important;
		overflow: scroll !important;
	}
	#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder {
	justify-content: flex-start;
	}
	#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content {
		height:max-content;
	}
}

