/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
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: 1.0.1
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
*/


/*-------------------------*/
/*-------------------------*/
/*----- CSS VARIABLES -----*/
/*-------------------------*/
/*-------------------------*/
:root {
  --odac-color-main1: #C6662D;
  --odac-color-main2: #739E82;
  --odac-color-accent: #008DD5;
  --odac-color-attention: #C2095A;
  --odac-color-light-fill: #F2F6F7;
  --odac-color-text: #0F0F0F;
}
/*Dummy class to ensure the variables are parsed and available to javascript if not used elsewhere*/
.__dummy-variable-usage {
  color: var(--odac-color-main1);
  color: var(--odac-color-main2);
  color: var(--odac-color-accent);
  color: var(--odac-color-attention);
  color: var(--odac-color-light-fill);
  display: none;
}





/*----------------*/
/*----------------*/
/*----- TEXT -----*/
/*----------------*/
/*----------------*/

/*
h2 {
    margin: 0.5em 0 !important;
}
*/


/*-------------------*/
/*-------------------*/
/*----- BUTTONS -----*/
/*-------------------*/
/*-------------------*/
.OdacGeneralButton {
  border-color: var(--odac-color-main1);
  background-color: var(--odac-color-light-fill);
  border-radius: 6px;
  cursor: pointer;
}
.OdacGeneralButton h3,
.OdacGeneralButton h4,
.OdacGeneralButton h5,
.OdacGeneralButton h6 {
  color: var(--odac-color-main1) !important;
}

.OdacGeneralButtonGo,
.OdacGeneralButtonGo h4 {
  color: var(--odac-color-accent) !important;
}





/*-------------------------*/
/*-------------------------*/
/*----- LOCATION CODE -----*/
/*-------------------------*/
/*-------------------------*/
.LocationCodeBoxContainer
{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#LocationCode
{
  text-align: center;
  font-size: 26px;
  padding: 12px 12px;
  width: 200px;

  border: 2px solid #000;
  border-radius: 12px;

  outline: none;
  box-shadow: 0 0 8px rgba(0,0,0,0.15);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Slight highlight when focused */
#LocationCode:focus
{
  border-color: #000;
  box-shadow: 0 0 12px rgba(0,0,0,0.25);
}

.SubmitLocationCodeMessage
{
  margin-top: 16px;
  padding: 12px 18px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;

  text-align: center;
  font-size: 16px;

  border: 1px solid var(--odac-color-attention);
  border-radius: 10px;
  background: #FEECF4;
  color: var(--odac-color-attention);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.SubmitLocationCodeMessageHidden
{
  display: none;
}





/*------------------*/
/*------------------*/
/*----- FOOTER -----*/
/*------------------*/
/*------------------*/
/*----- FORCE FOOTER TO ALWAYS BE AT THE BOTTOM -----*/
/* Make the body fill the viewport height and use flexbox */
body:not(.wp-admin):not(.block-editor-page) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Make the main content area fill the remaining space */
main:not(.wp-admin):not(.block-editor-page) > main {
  flex-grow: 1;
}
/* Position the footer at the bottom */
.elementor-location-footer { /* Or use the specific class of your footer */
  margin-top: auto; /* Push the footer to the bottom */
}




/*-------------------------*/
/*----- TICK CHECKBOX -----*/
/*------------------- -----*/

/* Customize the label (the container) */
.odac_tick_checkbox .container {
  display: block;
  position: relative;
  width: 100%;
  height: 40px;
  margin-bottom: 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  text-align: left;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 37px;
  padding-right: 6px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: #EBEBEB;
  border-radius: 4px;
}
.odac_tick_checkbox .container .vert_align_middle {
  position: absolute;
  top: 50%;
  transform: translateY(-54%);
}


/* Hide the browser's default checkbox */
.odac_tick_checkbox .container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.odac_tick_checkbox .checkmark {
  position: absolute;
  top: 7px;
  left: 6px;
  height: 25px;
  width: 25px;
  background-color: #D3D3D3;
}

/* On mouse-over, add a grey background color */
.odac_tick_checkbox .container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a teal background */
.odac_tick_checkbox .container input:checked ~ .checkmark {
  background-color: var(--odac-color-accent);
}

/* Create the checkmark/indicator (hidden when not checked) */
.odac_tick_checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.odac_tick_checkbox .container input:checked ~ .checkmark:after {
  display: block;
}

/* Create the checkmark/indicator symbol (this shape is the tick!)*/
.odac_tick_checkbox .container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 7px;
  height: 14px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}


/*Customise Token Actions Checkbox*/
.odac_create_token_actions_checkbox .container {
  background-color: transparent;
  font-size: 1.1rem;
  line-height: 1.1rem;
  color: var(--e-global-color-text);
  font-weight: 400;
  border: solid var(--odac-color-main1);
  border-width: 1px;
}





/*-----------------*/
/*-----------------*/
/*----- FORMS -----*/
/*-----------------*/
/*-----------------*/
/*Solve issue of safari on iphone zooming in on text boxes when selected*/
/*It does this if text size < 16px, so to cure we'll just set all to 16px*/
.odac_form input[type=text], .odac_form input[type=number], .odac_form select, .odac_form textarea {
  font-size: 16px;
}

.odac_form {
  margin: 0px 10px 0px 10px;
}


/*---- TEXT INPUT BOXES -----*/
.odac_form input[type=text], .odac_form textarea {
  width: 100%;
}
.odac_form input[type=text], .odac_form input[type=number], .odac_form input[type=date], .odac_form select, .odac_form textarea {
  background-color: #eee;
  color: #999;
  padding: 16px;
  border: 0;
}

/*---- NUMERIC INPUT BOXES -----*/
.odac_form input[type=number] {
  width: 100%;
  max-width: 240px;
}

/*---- DATE INPUT BOXES -----*/
.odac_form input[type=date] {
  width: 100%;
  max-width: 240px;
}


/*---- SELECT BOXES -----*/
.odac_form select {
  color: #999;
  background-color: #eee;
  padding: 16px 20px 16px 16px;
  font-size: 14px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  border: 0;
  appearance: none;
  border-radius: 0;
  margin: 0;
}


/*---- CHECKBOXES -----*/
.odac_form p input[type="checkbox"] {

}

/*---- RADIO BUTTONS -----*/
.odac_form input[type="radio"] {
  display: inline-block;
  position: relative;
  top: 2px;
  left: 0;
}


/*---- LABELS -----*/
.odac_form label {
  display: block;
  font-weight: bold;
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  font-family: Open Sans,Arial,sans-serif;
  color: #666;
  line-height: 1.7em;
}

.odac_form label.LabelRadioButton {
  display: inline;
  
}


/*----- SUBMIT BUTTON -----*/
.odac_form input[type=submit] {
  background-color: transparent;
  padding: .3em .8em .3em .8em;
  font-family: inherit;
  display: inline-block;
  cursor: pointer;
  color: var(--color-main);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7em !important;
  border: 2px solid var(--color-main);
  border-radius: 6px 6px 6px 6px;
  margin: 8px 0px 0px 0px;
}
.odac_form input[type=submit]:hover {
  background-color: rgba(0,0,0,.05);
}





/*-----------------------*/
/*-----------------------*/
/*----- ADMIN PAGES -----*/
/*-----------------------*/
/*-----------------------*/
.AdminPage h3 {
  margin-top: 12px;
  margin-bottom: 8px;
}



/*----- ADMIN AREA BUTTON -----*/
a.AdminButton, a.AdminButton:hover, a.AdminButton:visited {
  background-color: #F7F7F7;
  border: 1px solid #e5e5e5;
  border-radius: 3px 3px 3px 3px;
  min-height: 36px;
  min-width: 80px;
  margin-top: 8px;
  margin-right: 8px;
  margin-left: 0px;
  margin-bottom: 8px;
  padding-top: 6px;
  padding-right: 6px;
  padding-left: 6px;
  padding-bottom: 6px;
  font-size: 13px;
  font-weight: normal;
  line-height: 40px;
  color: #444444;
  text-align: center;
}


/*-------------------------*/
/*-------------------------*/
/*----- WP ADMIN PAGE -----*/
/*-------------------------*/
/*-------------------------*/

.OdacThemeAdminPage {
  padding-right: 10px;
}


.OdacThemeAdminPageSectionBox {
  border: 1px solid #ddd;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 6px;
}

.OdacThemeAdminPageSectionBox h3 {
  margin-top: 0em;
}

.OdacThemeAdminPageItemNote {
  margin-top: -8px;
  margin-bottom: 14px;
  color: #666;
}

/*----- FORM FIELDS -----*/
.OdacThemeAdminPage label {
  display: block;    /*Cause newline after*/
}

.OdacThemeAdminPage input[type="text"],
.OdacThemeAdminPage input[type="number"] {
  margin-bottom: 10px;
  display: block;    /*Cause newline after*/
  font-size: 16px;   /*min 16px for safari*/
}

.OdacThemeAdminPage input[type="file"] {
  margin-bottom: 10px;
  display: block;    /*Cause newline after*/
  font-size: 16px;   /*min 16px for safari*/
}

.OdacThemeAdminPage textarea {
  margin-bottom: 10px;
  display: block;    /*Cause newline after*/
  font-size: 16px;   /*min 16px for safari*/
}

.OdacThemeAdminPage input[type="checkbox"] {
  display: inline-block;
  margin-bottom: 8px;
}
.OdacThemeAdminPage input[type="checkbox"] + label {
  display: inline-block;
  margin-bottom: 10px;
}

.OdacThemeAdminPage select {
  border: 1px solid #f6f6f6;
  margin-bottom: 10px;
  padding: 2px;
  display: block;    /*Cause newline after*/
  font-size: 16px;   /*min 16px for safari*/
}


/*----- BUTTON -----*/
a.OdacThemeAdminPageButton, a.OdacThemeAdminPageButton:hover, a.OdacThemeAdminPageButton:visited,
 input[type="submit"].OdacThemeAdminPageButton {
  background-color: #007cba;
  border: 1px solid #007cba;
  border-radius: 3px 3px 3px 3px;
  display: inline-block;
  min-height: 20px;
  min-width: 80px;
  margin-top: 8px;
  margin-right: 8px;
  margin-left: 0px;
  margin-bottom: 8px;
  padding-top: 7px;
  padding-right: 6px;
  padding-left: 6px;
  padding-bottom: 5px;
  font-size: 13px;
  font-weight: normal;
  line-height: 16px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

 input[type="submit"].OdacThemeAdminPageButton {
   padding-top: 2px;
   line-height: 16px;
   min-height: 34px;
}


a.OdacThemeAdminPageButton_Delete, a.OdacThemeAdminPageButton_Delete:hover, a.OdacThemeAdminPageButton_Delete:visited,
 input[type="submit"].OdacThemeAdminPageButton_Delete {
  background-color: #a50011;
  border-color:#6e040f;
}

a.OdacThemeAdminPageButton_Attention, a.OdacThemeAdminPageButton_Attention:hover, a.OdacThemeAdminPageButton_Attention:visited,
 input[type="submit"].OdacThemeAdminPageButton_Attention {
  background-color: #ef9300;
  border-color:#935c05;
}


/*----- Messages -----*/
.OdacThemeAdminPageMessage {
  margin-top: 12px;
  margin-bottom: 12px;
  text-align: left;
  font-weight: bold;
  color: orange;
}






