
/* Css for the box selectors */
.form-flex-wrap
{
    display:flex;
    flex-wrap:wrap;
}

.form-flex-cols
{
    flex-direction:column;
}

.form-flex
{
    display:flex;
    flex-wrap:wrap;
}

.flex-column{
  flex-direction: column;
}

.radio-flex-gap{
  gap: 1rem;
}

.form-type-select-box
{
    border:2px solid #ccc;
    border-radius: 5px;
    padding:10px;
    font-size:12px;
    margin-right:15px;
    margin-top:10px;
    flex:1;
    display:flex;


}

/* File Input styles - When dont want to use bulma class - file-input - 
since javascript is attached to that class which is not needed in react */
.file-input-none{
  opacity: 0;
  outline: none;
  position: absolute;
  visibility: hidden;
  pointer-events: none;
}

@media only screen and (max-width: 900px) {
    .form-type-select-box
    {
        min-width:300px;
        max-width:300px;
        min-height:50px;
    }

    .form-flex-cols .form-type-select-box
    {
    }


}

.form-type-select-box > div
{
    align-items: center;
    justify-content: center;
}


.form-type-select-box .select-box-icon
{
    padding-right:10px;
    margin-right: auto;
}

.form-type-select-box .select-box-text
{
    flex:1;
    padding:7px 0px;
}

.form-type-select-box .select-box-text .primary-text
{
    font-size:20px;
}




.form-type-select-box:hover
{
    cursor:pointer;
}

.form-type-select-box h2
{
    font-size:20px;
    margin-top:0px;
}

.select-box-active
{
    border:2px solid var(--link-color-hover);
}

.select-box-inactive
{
    color:var(--grey);
}

fieldset
{
    margin-bottom:20px;
    border:1px solid #336699;
    padding:10px 10px 20px 20px;
    border-radius:5px;
}

fieldset legend
{
    font-family:Roboto, sans-serif;
    font-size:20px;
    padding:0px 10px;
}




/** CHeckbxoes */
@supports (-webkit-appearance: none) or (-moz-appearance: none) {
    .icl-checkbox,
  .icl-radio {
      --active: #3e8ed0;
      --active-inner: #fff;
      --focus: 2px rgba(39, 94, 254, .3);
      --border: #BBC1E1;
      --border-hover: #3e8ed0;
      --background: var(--background-color);
      --disabled: #F6F8FF;
      --disabled-inner: #E1E6F9;
      -webkit-appearance: none;
      -moz-appearance: none;
      height: 21px !important;
      outline: none;
      display: inline;
      vertical-align: top;
      position: relative;
      margin: 0;
      cursor: pointer;
      min-width: 20px;
      border: 1px solid var(--bc, var(--border)) !important;
      background: var(--b, var(--background)) !important;
      transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
    }
    .icl-checkbox:after,
  .icl-radio:after {
      content: "";
      display: block;
      left: 0;
      top: 0;
      position: absolute;
      transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
    }
    .icl-checkbox:checked,
  .icl-radio:checked {
      --b: var(--active);
      --bc: var(--active);
      --d-o: .3s;
      --d-t: .6s;
      --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
    }
    .icl-checkbox:disabled,
  .icl-radio:disabled {
      --b: var(--disabled);
      cursor: not-allowed;
      opacity: 0.9;
    }
    .icl-checkbox:disabled:checked,
  .icl-radio:disabled:checked {
      --b: var(--disabled-inner);
      --bc: var(--border);
    }
    .icl-checkbox:disabled + label,
  .icl-radio:disabled + label {
      cursor: not-allowed;
    }
    .icl-checkbox:hover:not(:checked):not(:disabled),
  .icl-radio:hover:not(:checked):not(:disabled) {
      --bc: var(--border-hover);
    }
    .icl-checkbox:focus,
  .icl-radio:focus {
      box-shadow: 0 0 0 var(--focus);
    }
    .icl-checkbox:not(.checkbox-switch),
  .icl-radio:not(.checkbox-switch) {
      width: 21px;
    }
    .icl-checkbox:not(.checkbox-switch):after,
  .icl-radio:not(.checkbox-switch):after {
      opacity: var(--o, 0);
    }
    .icl-checkbox:not(.checkbox-switch):checked,
  .icl-radio:not(.checkbox-switch):checked {
      --o: 1;
    }
    .icl-checkbox + label,
  .icl-radio + label {
      line-height: 21px;
      display: inline-block;
      vertical-align: top;
      cursor: pointer;
      margin-left: 8px;
    }
  
    .icl-checkbox:not(.checkbox-switch) {
      border-radius: 7px;
    }
    .icl-checkbox:not(.checkbox-switch):after {
      width: 5px;
      height: 9px;
      border: 2px solid var(--active-inner);
      border-top: 0;
      border-left: 0;
      left: 7px;
      top: 4px;
      transform: rotate(var(--r, 20deg));
    }
    .icl-checkbox:not(.checkbox-switch):checked {
      --r: 43deg;
    }
    .icl-checkbox.checkbox-switch {
      min-width: 38px;
      border-radius: 11px;
    }
    .icl-checkbox.checkbox-switch:after {
      left: 2px;
      top: 2px;
      border-radius: 50%;
      width: 15px;
      height: 15px;
      background: var(--ab, var(--border));
      transform: translateX(var(--x, 0));
    }
    .icl-checkbox.checkbox-switch:checked {
      --ab: var(--active-inner);
      --x: 17px;
    }
    .icl-checkbox.checkbox-switch:disabled:not(:checked):after {
      opacity: 0.6;
    }
  
    .icl-radio {
      border-radius: 50%;
    }
    .icl-radio:after {
      width: 19px;
      height: 19px;
      border-radius: 50%;
      background: var(--active-inner);
      opacity: 0;
      transform: scale(var(--s, 0.7));
    }
    .icl-radio:checked {
      --s: .5;
    }




    /** FIUX FOR WP ADMIN overrides bah */
    .wp-admin .icl-checkbox:checked::before
    {
        content:'';
    }

    .wp-admin .icl-checkbox:not(.checkbox-switch):after {
        top: 2px;
        left:6px;
      }

}
 


/* Forfe the datepicker not to be full width */
.datepicker
{
    max-width:250px;
}

.file
{
  margin-left:12px;
}

/* Bulma doesn't support different text input sizes very well so we add our own */
@media only screen and (min-width: 900px) {
    .input-tiny
    {
      width:80px !important;
    }
    .input-small
    {
        width:200px !important;
    }
    .input-medium
    {
        width:500px !important;
    }

}
