/*!
Theme Name: esglms
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: esglms
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

esglms is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */
@font-face {
font-family: "Eudoxus Sans";
src: url('/wp-content/themes/esglms/fonts/EudoxusSans-Regular-BF659b6cb1d4714.ttf');
font-weight: 400;
}
@font-face {
font-family: "Eudoxus Sans";
src: url("/wp-content/themes/esglms/fonts/EudoxusSans-Medium-BF659b6cb1c14cb.ttf");
font-weight: 500;
}
@font-face {
font-family: "Eudoxus Sans";
src: url("/wp-content/themes/esglms/fonts/EudoxusSans-Bold-BF659b6cb1408e5.ttf");
font-weight: 700;
}
@font-face {
font-family: "Eudoxus Sans";
src: url("/wp-content/themes/esglms/fonts/EudoxusSans-ExtraBold-BF659b6cb1b96c9.ttf");
font-weight: 800;
}
	* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Eudoxus Sans";
}

body {
	background-color: #ffffff;
	min-height: 100vh;
	display: flex;
	color: #000;
	font-size: 16px;
	font-family: "Eudoxus Sans";
	overflow: hidden;
	line-height: 150%;
}

.sidebar {
	width: 278px;
	padding: 2rem;
	box-shadow: 5px 0px 10px 0px rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: column;
	position: fixed;
	height: 100vh;
}
.custom-logo-link{
	display: flex
	;
		justify-content: end;
}
.custom-logo {
	max-width: 213px;
	width: 100%;
	height: auto;
}
.powered-by{
    font-size: 10.729px;
    display: flex
;
    align-items: center;
    gap: 5px;
    justify-content: end;
}
.powered-by img{
	max-height: 14px;
}
.support-link {
	margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
	
}
.logged-in .support-link{
	padding-bottom: 40px;
}
.restart-training{
    border-radius: 100px;
    border: 2px solid #999;
    text-align: center;
    width: fit-content;
    color: #999;
    padding: 9px 16px;
	text-decoration: none;
	transition: background-color 0.3s ease;
	margin-bottom: 30px;

}
.restart-training:hover{
	background-color: #999;
	color: #fff;
}
.support-link .link{
	color: #000;
	text-decoration: underline;
}
.main-content {
    flex: 1;
    margin-left: 278px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    width: 100%;
	position: relative;
	
}
.form-container{
	position: fixed;
	bottom: 40px;
	width: 100%;
}
.gform_wrapper form,
.gform_confirmation_wrapper,
.form_saved_message{
	max-width: 518px;
}
.form_saved_message_emailform{
	margin-top: 30px;
}
.gform_wrapper.gravity-theme .form_saved_message_emailform .gfield input[type="email"].large{
	margin-right: auto;
    float: left;
}
.inline .gform_save_link{
	position: absolute;
    width: max-content;
    right: 0;
}
.image-container img{
	transition: opacity 0.3s ease-in-out;
    position: absolute;
    top: 0;
    width: calc(100% - 600px);
    right: 0;
	height: 100%;
	object-fit: cover;
}
.message-box {
	border-radius: 10px 10px 10px 0px;
	background: #E8FBFC;
	padding: 40px;
	
	
}


.message-box p {
	margin-bottom: 15px;
	line-height: 1.6;
}
.message-box p:last-child {
	margin-bottom: 0;
}
.gform_page_footer{
	text-align: right;
	margin-top: 20px !important;
    padding: 0 !important;
}
.gform_page{
	transition: all 0.3s ease;
}
.gform_next_button,
.gfield.retry,
.gform_page_footer .gform_button ,
input[name="gform_send_resume_link_button"]{
	border-radius: 100px;
	border: 2px solid #00A9B3;
	background: #00A9B3;
	color: white;
	padding: 0.75rem 1.5rem;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	transition: background-color 0.3s ease;
	align-self: flex-start;
	font-weight: 700;
    font-size: 16px;
	line-height: 1 !important;
}
input[name="gform_send_resume_link_button"]{
    margin-left: 0 !important;
}
.gfield.retry{
	width: fit-content;
    margin-left: auto;
}
.gform_next_button:hover,
.gform_page_footer .gform_button:hover {
	background-color: #02858d;
	border-color: #02858d;
}
.completed-page .gform_next_button,
.gform_wrapper.gravity-theme .gfield.answer{
	border-radius: 10px 10px 0px 10px;
	background: #E1E9E9;
	pointer-events: none;
	color: #000;
	border:0;
	cursor: default;
	font-weight: 500;
}
.gform_wrapper.gravity-theme .gfield.answer{
	padding: 0.75rem 1.5rem;
    width: fit-content;
    margin-left: auto;
}
.gform_wrapper.gravity-theme .gfield a{
	pointer-events: all;
	color: #000;
}
.gform_previous_button{
	display: none !important;
}
.inline{
	position: relative;
}
.inline .gform_page_footer{
	margin-top: 0 !important;
}
.inline .gform_page_footer .gform_next_button{
	position: absolute;
    right: 0;
    margin: 0;
    bottom: -7px;
}
.gform_wrapper.gravity-theme .gfield input.large{
	border-radius: 100px;
    border: 1px solid #00A9B3;
    background: #FFF;
    padding: 10px 16px 13px 16px;
    max-width: 293px;
    float: right;
    margin-right: 100px;
    height: 47px;
	font-weight: 700;

}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: #00A9B3;
  }
  ::-moz-placeholder { /* Firefox 19+ */
	color: #00A9B3;
  }
  :-ms-input-placeholder { /* IE 10+ */
	color: #00A9B3;
  }
  :-moz-placeholder { /* Firefox 18- */
	color: #00A9B3;
  }
  .completed-page .gform_next_button {
	display: inline-block !important;
	visibility: visible !important;
	opacity: 1 !important;
	transition: opacity 0.3s ease;
}

 .gform_wrapper.gravity-theme .completed-page .gfield.name-field input.large{
    border-radius: 10px 10px 0px 10px;
    background: #E1E9E9;
    border: 0;
    font-weight: 500;
    max-width: fit-content;
    width: auto;
    margin-right: 0;
    margin-bottom: 20px;
}
.inline.completed-page .gform_page_footer{
	display: none;
}
.gfield-choice-input{
	display: none !important;
}
.gfield-choice-input[type="radio"] + label{
    border-radius: 100px;
    border: 2px solid #00A9B3;
    background: #00A9B3;
    color: #FFF;
    padding: 10px 16px 13px 16px;
   
	max-width: 100% !important;
}
.gfield-choice-input[type="radio"] + label:hover{
	background-color: #02858d;
	border-color: #02858d;
}
.gfield-choice-input[value="Yes"] + label,
.gfield-choice-input[value="No"] + label{
	position: relative;
	padding: 10px 19px 8px 45px;
}
.gfield-choice-input[value="Yes"] + label:before,
.gfield-choice-input[value="No"] + label:before{
	content: '';
	display: block;
	width: 20px;
	height: 20px;
	background: url('/wp-content/themes/esglms/images/yes.svg') no-repeat center center;
	background-size: contain;
	position: absolute;
    left: 16px;
}
.gfield-choice-input[value="No"] + label:before{
	background: url('/wp-content/themes/esglms/images/no.svg') no-repeat center center;
	background-size: contain;
}
.gfield_radio{
	display:flex;
	gap: 10px;
	justify-content: end;
}
body .gform_wrapper span[data-js-spinner-id="gform-ajax-spinner"]{
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    position: absolute !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    clip-path: inset(50%) !important;
}
.gfield--type-html img{
	width: 100%;
    margin-bottom: 10px;
}
ol{
	padding-left: 15px;
}
ul{
	list-style:none;
}
.gfield-choice-input[type="checkbox"] + label{
	position: relative;
	padding-left: 34px;
}
.gfield-choice-input[type="checkbox"] + label:before,
.gfield-choice-input[type="checkbox"]:checked + label:before{
	content: '';
	display: block;
	width: 20px;
	height: 20px;
	border:1px solid #00A9B3;
	position: absolute;
    left: 0;
}
.gfield-choice-input[type="checkbox"]:checked + label:after{
	content: '';
    display: block;
    width: 7px;
    height: 12px;
    border-bottom: 2px solid #00A9B3;
    border-right: 2px solid #00A9B3;
    position: absolute;
    left: 6px;
    top: 2px;
    transform: rotate(36deg);
}
.gfield_checkbox .gchoice{
	margin-bottom: 10px;
}
.gfield--type-radio:not(.yes-no) .gfield_radio{
	flex-direction: column;
}
.gfield--type-radio:not(.yes-no) .gfield-choice-input[type="radio"] + label{
	background: none;
    border: 0;
    color: #000;
    padding: 0 0 0 34px;
	position: relative;
}
.gfield--type-radio:not(.yes-no) .gfield-choice-input[type="radio"] + label:before,
.gfield--type-radio:not(.yes-no) .gfield-choice-input[type="radio"]:checked + label:before{
	content: '';
	display: block;
	width: 20px;
	height: 20px;
	border:1px solid #00A9B3;
	position: absolute;
    left: 0;
	border-radius: 100%;
}
.gfield--type-radio:not(.yes-no) .gfield-choice-input[type="radio"]:checked + label:after{
	content: '';
    display: block;
    width: 15px;
    height: 15px;
    background: #00A9B3;
    border-radius: 100%;
    position: absolute;
	left: 3.5px;
    top: 3.5px;
}
.inline .validation_message{
	position: absolute;
    bottom: -29px;
    background: none;
    border: 0;
    text-align: right;
    padding: 0;
    left: -249px;
}
.ty-page .validation_message{
    position: absolute;
    bottom: -11px;
	right: 0;
	text-align: right;
}
.gform_page_footer .gform_button{
    position: absolute;
    bottom: -9px;
    right: 0;
}
.ty-page .gform_page_footer .gform_button{
	bottom: 11px;
}
.ty-page .validation_message{
	text-align: right;
}
.gform_wrapper.gravity-theme .gfield input[type="email"].large{
	margin-right: 120px;
}
.gform_wrapper.gravity-theme .gform_save_link.button{
	display: block;
    margin-left: auto;
    border: 0;
    position: absolute;
    left: -284px;
    right: auto;
    background: none;
    color: #000 !important;
    text-align: left;
    text-decoration: underline !important;
    font-size: 16px;
    bottom: 25px;
	z-index: 2;
}
.gform_wrapper.gravity-theme .gform_save_link.button svg,
.gform_wrapper.gravity-theme .completed-page .gform_save_link.button{
	display: none !important;
}
.ty-page .gform_save_link{
	display: none !important;
}
.form_saved_message p,
.resume_form_link_wrapper h2,
.form_saved_message h2{
	margin-bottom: 15px;
}
.resume_form_link_wrapper a{
	color: #000;
}
.toggle-menu {
	display: none;
	z-index: 1000;
	background: none;
	border: none;
	cursor: pointer;
	width: 30px;
	height: 30px;
}

.toggle-menu span {
    display: block;
    width: 29px;
    height: 1px;
    background: #070516;
    margin: 8px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.gform_validation_errors{
	display: none;
}
.validation_message{
	background: none !important;
	border: 0 !important;
	padding: 0 !important;
}
.form_saved_message_emailform .gform_footer{
	padding-top: 5px !important;
}
.partial_entry_warning{
	display: none;
}
@media screen and (max-width: 1300px) {
	.sidebar {
	    width: 220px;
    	padding: 30px;
	}
	.main-content{
		margin-left: 220px;
		padding: 30px;
	}
	.gform_wrapper form, .gform_confirmation_wrapper, .form_saved_message {
		max-width: 460px;
	}
	.image-container img{
		width: calc(100% - 525px);
	}
	.gform_wrapper.gravity-theme .gform_save_link.button{
		left:-219px;
	}
}
@media screen and (max-width: 1023px) {
	.image-container{
		display: none;
	}
	.gform_wrapper form, .gform_confirmation_wrapper, .form_saved_message {
        max-width: 100%;
		padding-right: 30px;
    }
	.ty-page .gform_page_footer .gform_button,
	.ty-page .validation_message {
		
		right: 30px;
	}
}
@media screen and (min-width: 769px){
	.mobile-nav,
	header{
		display: none;
	}
}
@media (max-width: 768px) {
	.sidebar .logo-container,
	.support-link .link{
		display: none;
	}
	header{
	    display: flex;
		justify-content: space-between;
		width: 100%;
		align-items: center;
		padding: 20px;
		position: fixed;
		z-index: 1;
		top: 0;
		background: #fff;
        
	}
	.open-menu header{
		z-index: 99999;
		background: none;
	}
	.logo-container{
		flex: 1;
	}
	.toggle-menu {
		display: block;
	}
	.mobile-nav{
		display: flex;
		flex-direction: column;
		gap: 10px;
		margin-top: 20px;
	}
	.mobile-nav a{
		color: #000;
        text-decoration: none;
        border-bottom: 1px solid;
        width: fit-content;
	}
	.sidebar {
		position: fixed;
		left: -100%;
		top: 0;
		width: 100%;
		height: 100vh;
		background: white;
		z-index: 999;
		transition: left 0.3s ease;
		padding: 60px 20px 20px;
		max-width: 263px;
	}

	.sidebar.active {
		left: 0;
	}
	.restart-training{
		width: 100%;
	}

	/* Hamburger to X animation */
	.toggle-menu.active span:nth-child(1) {
		transform: rotate(45deg) translate(6px, 5px);
	}

	.toggle-menu.active span:nth-child(2) {
		opacity: 0;
	}

	.toggle-menu.active span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -7px);
	}

	.main-content {
		margin-left: 0;
		padding: 20px;
	}

	body {
		flex-direction: column;
	}
}
@media (min-width: 641px) {
	
	
	.form-container form{
		overflow: auto;
		height: 100vh;
		margin-top: 20px;
		display: flex;
			flex-direction: column;
			padding-right: 6px;
			transition: all 0.3s ease;
			
	}
	.form-container form .gform_body{
		margin-top: auto;
		position: static;
	}

	#formBottom{
		height:40px;
	}
	/*.message-box{
		max-height: 500px;
		overflow-y: auto;
	}*/
	  
}
@media (max-width: 640px) {
	.gform_wrapper form{
		height: 100% !important;
	}
	body{
		overflow-y: auto;
		width: 100%;
		font-size: 15px;
	}
	.form-container{
		position: relative;
		bottom: auto;
	}
	.gform_wrapper form, .gform_confirmation_wrapper, .form_saved_message{
		padding-right: 0;
	}
	.message-box{
		padding:30px;
	}
	.custom-logo{
		max-width: 180px;
	}
	.main-content{
		overflow: hidden;
	}
	.gform_next_button, .gfield.retry, .gform_page_footer .gform_button, input[name="gform_send_resume_link_button"]{
		font-size: 15px;
	}
}
@media (max-width: 440px) {

	.inline .gform_page_footer .gform_next_button{
		width: 100%;
		margin-left: 0 !important;
		position: relative;
		bottom: 0;
		margin-top: 10px !important;
	}
	.gform_wrapper.gravity-theme .gfield input.large{
		max-width: 100%;
		margin-right: 0;
	}
	.inline .validation_message,
	.ty-page .validation_message{
		left: 0;
        text-align: left;
        bottom: -21px;
		right:auto;
	}
	.gform_wrapper.gravity-theme .ty-page .gfield input[type="email"].large{
		width: 100%;
		margin-right: 0;
	}
	.ty-page .gform_page_footer{
		margin-top: 10px !important;
	}
	.ty-page .gform_page_footer .gform_button{
		bottom: 0;
		position: relative;
		width: 100%;
		right: 0;
		margin-left: 0 !important;
	}
	.gform_wrapper.gravity-theme .form_saved_message_emailform .gform_fields{
		display: flex;
	}
	.form_saved_message_emailform  .gfield--type-email,
	.form_saved_message_emailform .gform_footer{
		width:100%;
	}
	
	.form_saved_message_emailform .gform_footer input{
		width: 100%;
	}
	.resume_form_link_wrapper a{
		word-break: break-all;
	}
	.gform_wrapper .form_saved_message_emailform form{
		padding-right: 0;
	}
}
.gform_page_footer{
	position: relative;
}

.gform_page .gform_button{
	position: relative;
    bottom: auto;
    display: none;
}
.gform_page.completed-page .gform_button{
	display: none !important;
}
.gform_page:last-child .gform_page_footer .gform_button{
	display: inline-block !important;
}

