/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.form_toggle {
    display: inline-block;
    background-color: #092E1C;
    padding: 1rem;
    text-align: center;
}

.gfield--type-fileupload {
    margin-top: 1.8rem;
}

body .gform_wrapper .gform_body .gform_fields .gfield .ginput_container_fileupload .gform_button_select_files {
    color: #092E1C;
    font-size: 1.1rem;
    display: inline-block;
    padding-bottom: .2rem !important;
    border-bottom: 1px solid #092E1C !important;

}

html body .elementor-6 .elementor-element.elementor-element-4d947c9 .eael-gravity-form .gfield .gfield_description {
    font-weight: 400;
    font-size: .9rem;
}

.gform_required_legend,
.form_toggle label,
.form_toggle legend {
    display: none !important;
}

.form_toggle [type=checkbox] {
    width: 2rem;
    height: 2rem;
    color:#2AE386;
    vertical-align: middle;
    -webkit-appearance: none;
    background: none;
    border: 0 !important;
    outline: 0 !important;
    flex-grow: 0;
    border-radius: 50%;
    background-color: #FDFCF4;
    transition: background 300ms;
    cursor: pointer;
}


/* Pseudo element for check styling */

.form_toggle [type=checkbox]::before {
    content: "";
    color: transparent;
    display: block;
    width: inherit;
    height: inherit;
    border-radius: inherit;
    border: 0;
    transition: background 300ms;
    background-color: #CCD3D8;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E %3Cpath d='M15.88 8.29L10 14.17l-1.88-1.88a.996.996 0 1 0-1.41 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7a.996.996 0 0 0 0-1.41c-.39-.39-1.03-.39-1.42 0z' fill='%23fff'/%3E %3C/svg%3E");
    background-size: contain;
    box-shadow: none;
}


/* Checked */

.form_toggle [type=checkbox]:checked {
    background-color: #2AE386;     
}

.form_toggle [type=checkbox]:checked::before {
    box-shadow: none;
    background-color: #2AE386;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E %3Cpath d='M15.88 8.29L10 14.17l-1.88-1.88a.996.996 0 1 0-1.41 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7a.996.996 0 0 0 0-1.41c-.39-.39-1.03-.39-1.42 0z' fill='%23fff'/%3E %3C/svg%3E");
}


/* Disabled */

.form_toggle [type=checkbox]:disabled {
    background-color: #CCD3D8;
    opacity: 0.84;
    cursor: not-allowed;
}


/* IE */

.form_toggle [type=checkbox]::-ms-check {
    content: "";
    color: transparent;
    display: block;
    width: inherit;
    height: inherit;
    border-radius: inherit;
    border: 0;
    background-color: transparent;
    background-size: contain;
    box-shadow: none;
}

.form_toggle [type=checkbox]:checked::-ms-check {
    box-shadow: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E %3Cpath d='M15.88 8.29L10 14.17l-1.88-1.88a.996.996 0 1 0-1.41 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7a.996.996 0 0 0 0-1.41c-.39-.39-1.03-.39-1.42 0z' fill='%23fff'/%3E %3C/svg%3E");
}

.form_upload {
    text-align: center;
}

.gfield--type-fileupload {
    text-align: center;
}
.gfield--type-fileupload input {
    width: auto !important;
    max-width: auto !important;
}

.ginput_container.ginput_container_checkbox {
    background-color: #092E1C;
    padding: 5px;
    display: inline-block;
    border-radius: 22px;
}

html body .elementor-6 .elementor-element.elementor-element-4d947c9 .eael-gravity-form .gfield input:focus, html body .elementor-6 .elementor-element.elementor-element-4d947c9 .eael-gravity-form .gfield textarea:focus {
    border-color: #2AE386;
}