/* 
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: #0A2A66;
  --odac-color-main2: #5C5F66;
  --odac-color-accent: #FF6A00;
  --odac-color-attention: #D72638;
  --odac-color-light-fill: #F0F5FD;
  --odac-color-notselected-background: #D4D5D8;
  --odac-color-notselected-foreground: #B1B3B7;
  --odac-color-text: rgb(51, 51, 51)
}
/*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);
  color: var(--odac-color-notselected-background);
  color: var(--odac-color-notselected-foreground);
  display: none;
}



/*------------------*/
/*------------------*/
/*----- HEADER -----*/
/*------------------*/
/*------------------*/
/*Dropdown without increasing header height*/
.elementor-nav-menu--dropdown.elementor-nav-menu__container {
	width: 200px;
	right: 0;
	position: absolute;
	top: 46px;
	z-index: 2;
}


/*------------------*/
/*------------------*/
/*----- 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 */
}




/*-------------------*/
/*-------------------*/
/*----- 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;
}


/*----------------*/
/*----------------*/
/*----- TEXT -----*/
/*----------------*/
/*----------------*/

h2 {
    margin: 0.5em 0 !important;
}

.LoggedOutLogBackInMessage {
  display: block;
  margin-top: 60px;
  margin-bottom: 60px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: var(--odac-color-text);
}

.LoggedOutLogBackInMessage a, .LoggedOutLogBackInMessage a:hover {
  color: var(--odac-color-attention);
}

/*-----------------------*/
/*-----------------------*/
/*----- LIST TOKENS -----*/
/*-----------------------*/
/*-----------------------*/

.OdacListTokensTokensContainer {
  width: 100%;
  display: flex;
  row-gap: 20px;
  column-gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;;
}
.OdacListTokensTokensContainer a {
  display:contents;         /*Stop links addding default display:block property and killing flexblock layout*/
}

.OdacListTokensTokensCount {
  margin-top: 6px;
  margin-bottom: 6px;
  width: 100%;
  text-align: center;
}

.OdacListTokensToken {
  flex-basis: 360px;    /*Set the width*/
  flex-grow: 0;
  flex-shrink: 0;

  border-style: solid;
  border-color: var(--odac-color-main1);
  background-color: var(--odac-color-light-fill);
  border-width: 2px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px;
  color: var(--odac-color-text);

  position: relative;   /*Required for wiating animated icon positioning*/
}


.OdacListTokensToken_pending, .OdacListTokensToken_started, .OdacListTokensToken_failed, .OdacListTokensToken_uploading, .OdacListTokensToken_completed {
  color: #aaa;
  border-color: #aaa;
  background-color: #f4f4f4;
}
.OdacListTokensToken_pending img, .OdacListTokensToken_started img, .OdacListTokensToken_failed img, .OdacListTokensToken_uploading img, .OdacListTokensToken_completed img {
  opacity: 0.5;
}

.OdacListTokensToken_not_yet_requested {
  background-color: var(--odac-color-accent);
}

.OdacListTokensTokenImage {
  width: 64px;
  height: 64px;
  border: none;
  margin-bottom: 4px;
}

.OdacListTokensTokenLine {
  width: 100%;
  height: 1rem;
  margin-top: 4px;
  text-align: center;
  margin-bottom: 4px;
  
}


/*Waiting spinnging icon*/
#OdacListTokensTokenPendingAnimatedIcon {
  border: 6px solid #fff;
  border-radius: 50%;
  border-top: 6px solid var(--odac-color-main1);
  width: 26px;
  height: 26px;
  -webkit-animation: OdacListTokensTokenPendingAnimatedIconSpin 2s linear infinite; /* Safari */
  animation: OdacListTokensTokenPendingAnimatedIconSpin 2s linear infinite;

  position: absolute;
  top: 8px;
  right: 8px;
}
@-webkit-keyframes OdacListTokensTokenPendingAnimatedIconSpin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
@keyframes OdacListTokensTokenPendingAnimatedIconSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}




/*-----------------*/
/*-----------------*/
/*----- 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(--odac-color-main1);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7em !important;
  border: 2px solid var(--odac-color-main1);
  border-radius: 6px 6px 6px 6px;
  margin: 8px 0px 0px 0px;
}
.odac_form input[type=submit]:hover {
  background-color: rgba(0,0,0,.05);
}



/*-------------------------*/
/*----- 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;
  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-main1);
}

/* 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;
}


/*------------------------*/
/*------------------------*/
/*----- CREATE TOKEN -----*/
/*------------------------*/
/*------------------------*/
.create_token_option_container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 20px; /* spacing between items */
  margin: 0px;
}

.create_token_option_section {
  width: 340px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 6px;
  margin-right: 6px;
  border: 1px solid #ddd;
  border-radius: 4px 4px 4px 4px;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 14px;
  padding-right: 14px;
  text-align:center;
}


@media only screen and (max-width: 768px)
{
  .create_token_option_container {
    flex-direction: column;
    flex-wrap: wrap;
  }
  
  .create_token_option_section {
    width: auto;
  }
}

.create_token_option_section h6 {
  margin-top: 6px;
  margin-bottom: 14px;
}

.create_token_option_section p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1rem;
  color: #9a9a9a;
}

/*---- SELECT BOXES -----*/
.create_token_option_section select {
  color: var(--odac-color-text);
  background-color: #eee;
  padding: 6px;
  margin: 0px 0px 14px 0px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  border: 0;
  appearance: none;
  border: 1px solid var(--odac-color-attention);
  border-radius: 4px;
}


/*----- CREATE URL TOKEN FORM -----*/
.create_token_url_form {
  display:block; text-align:center;
}
.create_token_url_form h6 {
  margin-bottom: 6px;
}
.create_token_url_form input {
  text-align:center;
  margin-bottom: 14px;
}



/*----------------*/
/*----------------*/
/*----- MISC -----*/
/*----------------*/
/*----------------*/
/*Spinning icon */
#OdacWaitingAnimatedIcon {
  border: 12px solid #f3f3f3;
  border-radius: 50%;
  border-top: 12px solid var(--odac-color-main1);
  width: 50px;
  height: 50px;
  -webkit-animation: animated_icon_spin 2s linear infinite; /* Safari */
  animation: animated_icon_spin 2s linear infinite;
  
  position: static !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index:9999;
}



/*-----------------------*/
/*-----------------------*/
/*----- 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;
}



