/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 10.11.2021, 09:05:32
    Author     : admin
*/

input[type="text"], input[type="email"], input[type="password"], select {
    margin: 0 0 10px !important;
    /*padding:.8% !important;*/
    font-size: 1rem !important;
}

.admin-grid-container {
    width:100%;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 20px;
}

.admin-content-frame {
    background: #fefefe;
    border-radius: 5px;
    border: 1px solid rgba(180,180,180);
    padding:10px;
}

.table th, .table td {
    border:none !important;
}

#user_edit_code_add {
    text-transform: uppercase;
}

.codesite_block {
    border-radius: 5px;
    background-color: #eeeeee;
    padding:10px;
    margin-bottom:15px;
}
.codesite_block.green {
    background-color: #99EBA4;
}
.content_block {
    border-radius: 5px;
    background-color: #eeeeee;
    padding:10px;
    margin-bottom:15px;
}

/*.switch_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  background: #eee;
}*/

.switch_box {
    padding-left: 0px !important;
}

input[type="checkbox"].switch {
  font-size: 12px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 3.0em;
  height: 1.5em;
  background: #ddd;
  border-radius: 3em;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  padding-top: auto;
  padding-bottom: auto;
  vertical-align:middle;
  margin-bottom: 1px;
}

input[type="checkbox"].switch:before {
    content: '' !important;
}

input[type="checkbox"].switch-disabled:after {
    background: none !important;
}
  
input[type="checkbox"].switch:checked {
    background: #0ebeff;
}
  
input[type="checkbox"].switch:after {
    position: absolute;
    content: "";
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    background: #fff;
    -webkit-box-shadow: 0 0 .25em rgba(0,0,0,.3);
            box-shadow: 0 0 .25em rgba(0,0,0,.3);
    -webkit-transform: scale(.7);
            transform: scale(.7);
    left: 0;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
  
input[type="checkbox"].switch:checked:after {
    left: calc(100% - 1.5em);
}
  
  .code_input {
      text-transform: uppercase;
  }
  
  .admin-notice {
      padding:10px;
  }
  
  fieldset {
      border: 1px solid #dee2e6 !important;
      border-radius: 5px;
      padding: .5em !important;
  }
  
  fieldset legend {
      float: none !important;
      font-size: 1em;
      padding: .4em;
      width: auto !important;
      margin-bottom: 0px !important;
  }
  
  .multi-line-input {
      width:auto !important; 
      display: inline !important;
  }
  
  .code_settings_note {
      color:red !important;
  }
  
  .custom-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
      
  }
  
  .form-select {
      width: auto !important;
      padding: 0 !important;
  }
  
  /* code-verwaltung */
  
  .codes_free {
      color: green;
      font-weight: bold;
  }
  
  .codes_used {
      color: red;
      font-weight: bold;
  }
  
  .pageNumber {
      font-weight: bold;
      margin: 0 .3em;
  }
  