@import url('https://fonts.googleapis.com/css?family=Courgette&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');
@font-face {
    font-family: 'Piagio';
    src: url('../static/Pioggia.otf');
}

* {
    color: #16415b !important;
}

#site-name>a {
    font-size: 42px;
    font-family: 'Piagio', cursive !important;
}

th>div>span {
    color: white !important;
}

#header {
    background-color: white;
}

caption {
    background-color: #e73638 !important;
}

caption>a {
    color: white !important;
    font-family: 'Montserrat', sans-serif !important;
    text-decoration: none;
}

.module>table>tbody>tr>td>a {
    opacity: 0% !important;
    pointer-events: none;
    cursor: pointer;
}

.module>table>tbody>tr>th>a {
    font-family: 'Montserrat', sans-serif !important;
}

#content-related {
    opacity: 0%;
    display: none !important;
}

#container>nav>.breadcrumbs {
    opacity: 0%;
}

#content-main>.object-tools>li>a {
    background-color: #e73638 !important;
    color: white !important;
    font-family: 'Montserrat', sans-serif !important;
}

h2,
.deletelink {
    background-color: #e73638 !important;
    color: white !important;
}

fieldset.blue h2,
fieldset.blue thead>tr>th {
    background: #89cff0 !important;
}

fieldset.orange h2,
fieldset.orange thead>tr>th {
    background: tomato !important;
}

fieldset.green h2,
fieldset.green thead>tr>th {
    background: #90ee90 !important;
}

table>thead>tr>th,
.tabulator-col-content {
    color: white !important;
    background-color: #e73638 !important;
}

.green table>thead>tr>th,
.green .tabulator-col-content {
    background-color: #90ee90 !important;
}

.blue table>thead>tr>th,
.blue .tabulator-col-content {
    background-color: #89cff0 !important;
}

.orange table>thead>tr>th,
.orange .tabulator-col-content {
    background-color: tomato !important;
}

.tabulator-col-title {
    color: white !important;
}

table>thead>tr>th:hover,
table>thead>tr>th:hover>div,
table>thead>tr>th:hover>div>a {
    color: white !important;
    background-color: #e73638 !important;
}

.green table>thead>tr>th:hover,
.green table>thead>tr>th:hover>div,
.green table>thead>tr>th:hover>div>a {
    background-color: #90ee90 !important;
}

.blue table>thead>tr>th:hover,
.blue table>thead>tr>th:hover>div,
.blue table>thead>tr>th:hover>div>a {
    background-color: #89cff0 !important;
}

.orange table>thead>tr>th:hover,
.orange table>thead>tr>th:hover>div,
.orange table>thead>tr>th:hover>div>a {
    background-color: tomato !important;
}

.deletelink {
    font-family: 'Roboto' !important;
}

[type=submit],
.default {
    background-color: #16415b !important;
    color: white !important;
    font-family: 'Montserrat', sans-serif !important;
}

p.paginator,
div.selector>div>h2,
[type=text],
[type=number],
label.required,
option,
th,
td,
select,
.selector-chooseall,
.selector-clearall,
fieldset.module>h2,
th>div>span,
td>div>span,
th>div>a,
td>div>a,
th>a,
textarea,
.original>p,
.form-row>td>p,
.vCheckboxLabel,
.form-row>div>label,
.select2>span>span>span,
.select2-results>ul>li,
[type=search],
.normaltext,
[type=email],
.readonly,
.help,
.timezonewarning,
.datetimeshortcuts>a,
.datetime,
#id_password>strong {
    font-family: 'Montserrat', sans-serif !important;
}

.normaltext {
    margin: auto;
    /* Important */
    text-align: center;
    margin-right: 20px;
}

.user-thing {
    display: flex;
    flex-wrap: nowrap;
}

.module>h2 {
    font-weight: bold;
    opacity: 0.8;
}

#user-tools,
#user-tools>strong,
#user-tools>a {
    font-family: 'Roboto' !important;
}

[href="/"] {
    display: none;
}

#content {
    margin: auto;
}

th,
tr,
td {
    border: none !important;
}

thead,
tbody {
    border: none !important;
}

table>thead>tr>th>div>a {
    color: white !important;
}

.results {
    border: 1px solid white !important;
    border-radius: 5px !important;
    margin-bottom: 20px;
}

.actions>span {
    display: none !important;
}

.actions>label {
    color: transparent !important;
    text-indent: -9999px;
}

.actions>label>select {
    left: calc(50% - 120px);
    top: -45px;
    width: 200px;
    position: absolute;
}

.actions>button {
    left: calc(50% + 100px);
    top: -45px;
    position: absolute;
}

.actions {
    height: 0px;
}

#header {
    padding-top: 20px;
}

#changelist-filter>h2,
#changelist-filter>h3,
#changelist-filter>ul>li>a {
    font-family: 'Montserrat', sans-serif !important;
}

.messagelist,
.errornote {
    width: 600px;
    position: fixed;
    left: calc(50% - 300px);
    top: 0;
}

#content>h1 {
    color: transparent !important;
    text-indent: -9999px;
}

#toolbar {
    top: -55px;
    position: absolute;
    background: white !important;
    border: none !important;
}

.addlink {
    border-radius: 4px !important;
}

.actions {
    padding: 0 !important;
}

.breadcrumbs {
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.xfull {
    top: -45px;
    position: absolute;
    background: white !important;
    border: none !important;
    left: 440px;
    border: none;
}

.xfull {
    display: none;
}

.small {
    display: none !important;
}

caption {
    border-radius: 5px !important;
}

#changelist-filter>h2 {
    border-top-left-radius: 5px !important;
    border-top-right-radius: 5px !important;
}

tr:hover {
    background-color: rgba(231, 54, 56, 0.1) !important;
}

.model-client>div>div>div>div>form>div>table>tbody>tr:hover>td>div>select,
.model-client>div>div>div>div>form>div>table>tbody>tr:hover>td>input,
.model-clientelevated>div>div>div>div>form>div>table>tbody>tr:hover>td>div>select,
.model-clientelevated>div>div>div>div>form>div>table>tbody>tr:hover>td>input {
    background-color: rgba(231, 54, 56, 0) !important;
    color: black !important;
}

tr {
    background-color: white !important;
}

#id_licenses {
    width: 100%;
}

.model-client>div>div>div>div>form>div>table>tbody>tr>th,
.model-client>div>div>div>div>form>div>table>tbody>tr>td,
.model-clientelevated>div>div>div>div>form>div>table>tbody>tr>th,
.model-clientelevated>div>div>div>div>form>div>table>tbody>tr>td {
    height: auto;
    padding: 0;
    padding-right: 5px;
    padding-left: 5px;
    border: 1px solid lightgrey !important;
    vertical-align: middle;
}

.model-client>div>div>div>div>form>div>table>tbody>tr>td>input,
.model-client>div>div>div>div>form>div>table>tbody>tr>td>div>select,
.model-clientelevated>div>div>div>div>form>div>table>tbody>tr>td>input,
.model-clientelevated>div>div>div>div>form>div>table>tbody>tr>td>div>select {
    color: grey !important;
    border: none !important;
    background-color: white !important;
    -ms-box-sizing: content-box !important;
    -moz-box-sizing: content-box !important;
    -webkit-box-sizing: content-box !important;
    box-sizing: content-box !important;
}

.form-row>div>input:not([type="checkbox"]),
.form-row>div>select,
.form-row>div>textarea {
    width: 282px;
}

#row-title {
    width: 100vw !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.menu-title {
    color: rgba(231, 54, 56, 0.8) !important;
    font-size: 22px !important;
}

.row::after {
    content: "";
    flex: auto;
}

.row:last-child:nth-child(3n+2) {
    flex-grow: 1;
    margin-left: 10px;
}

.model-client>div>div>div>div>form>div>fieldset>.field-licenses,
.model-client>div>div>div>div>form>div>fieldset.field-set_media_fee_2,
.model-clientelevated>div>div>div>div>form>div>fieldset>.field-licenses,
.model-clientelevated>div>div>div>div>form>div>fieldset.field-set_media_fee_2 {
    border-bottom: 1px solid red !important;
}

.model-client>div>div>div>div>form>div>fieldset>.field-name,
.model-clientelevated>div>div>div>div>form>div>fieldset>.field-name {
    border-top: 1px solid red !important;
}

.tabulator {
    width: 100% !important;
    background-color: none !important;
    border: none !important;
    display: inline-block;
    box-sizing: border-box;
}

.tabular .module {
    display: inline-block;
    position: relative;
}

#license_set-group,
#license_set-2-group,
#license_set-3-group {
    margin-top: 30px;
}

.inline-related {
    max-width: calc(100vw - 80px);
    overflow: auto;
}

.inline-button {
    background-color: #e73638;
    color: white !important;
    padding: 4px 20px 6px;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
}

.inline-button.disabled {
    background-color: grey;
}

@keyframes myAnimation{
    0%{
        opacity: 1;
        transform: translateY(-10%);
    }
    100%{
        display: none;
        opacity: 0;
        transform: translateY(-100%);
    }
}

.messagelist {
    animation-name: myAnimation;
    animation-duration: 2000ms;
    animation-delay: 2s;
    animation-fill-mode: forwards;
}


.sk-circle {
    margin: 100px auto;
    width: 40px;
    height: 40px;
    position: relative;
  }
  .sk-circle .sk-child {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
  }
  .sk-circle .sk-child:before {
    content: '';
    display: block;
    margin: 0 auto;
    width: 15%;
    height: 15%;
    background-color: white;
    border-radius: 100%;
    -webkit-animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
            animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
  }
  .sk-circle .sk-circle2 {
    -webkit-transform: rotate(30deg);
        -ms-transform: rotate(30deg);
            transform: rotate(30deg); }
  .sk-circle .sk-circle3 {
    -webkit-transform: rotate(60deg);
        -ms-transform: rotate(60deg);
            transform: rotate(60deg); }
  .sk-circle .sk-circle4 {
    -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
            transform: rotate(90deg); }
  .sk-circle .sk-circle5 {
    -webkit-transform: rotate(120deg);
        -ms-transform: rotate(120deg);
            transform: rotate(120deg); }
  .sk-circle .sk-circle6 {
    -webkit-transform: rotate(150deg);
        -ms-transform: rotate(150deg);
            transform: rotate(150deg); }
  .sk-circle .sk-circle7 {
    -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
            transform: rotate(180deg); }
  .sk-circle .sk-circle8 {
    -webkit-transform: rotate(210deg);
        -ms-transform: rotate(210deg);
            transform: rotate(210deg); }
  .sk-circle .sk-circle9 {
    -webkit-transform: rotate(240deg);
        -ms-transform: rotate(240deg);
            transform: rotate(240deg); }
  .sk-circle .sk-circle10 {
    -webkit-transform: rotate(270deg);
        -ms-transform: rotate(270deg);
            transform: rotate(270deg); }
  .sk-circle .sk-circle11 {
    -webkit-transform: rotate(300deg);
        -ms-transform: rotate(300deg);
            transform: rotate(300deg); }
  .sk-circle .sk-circle12 {
    -webkit-transform: rotate(330deg);
        -ms-transform: rotate(330deg);
            transform: rotate(330deg); }
  .sk-circle .sk-circle2:before {
    -webkit-animation-delay: -1.1s;
            animation-delay: -1.1s; }
  .sk-circle .sk-circle3:before {
    -webkit-animation-delay: -1s;
            animation-delay: -1s; }
  .sk-circle .sk-circle4:before {
    -webkit-animation-delay: -0.9s;
            animation-delay: -0.9s; }
  .sk-circle .sk-circle5:before {
    -webkit-animation-delay: -0.8s;
            animation-delay: -0.8s; }
  .sk-circle .sk-circle6:before {
    -webkit-animation-delay: -0.7s;
            animation-delay: -0.7s; }
  .sk-circle .sk-circle7:before {
    -webkit-animation-delay: -0.6s;
            animation-delay: -0.6s; }
  .sk-circle .sk-circle8:before {
    -webkit-animation-delay: -0.5s;
            animation-delay: -0.5s; }
  .sk-circle .sk-circle9:before {
    -webkit-animation-delay: -0.4s;
            animation-delay: -0.4s; }
  .sk-circle .sk-circle10:before {
    -webkit-animation-delay: -0.3s;
            animation-delay: -0.3s; }
  .sk-circle .sk-circle11:before {
    -webkit-animation-delay: -0.2s;
            animation-delay: -0.2s; }
  .sk-circle .sk-circle12:before {
    -webkit-animation-delay: -0.1s;
            animation-delay: -0.1s; }
  
  @-webkit-keyframes sk-circleBounceDelay {
    0%, 80%, 100% {
      -webkit-transform: scale(0);
              transform: scale(0);
    } 40% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
  }
  
  @keyframes sk-circleBounceDelay {
    0%, 80%, 100% {
      -webkit-transform: scale(0);
              transform: scale(0);
    } 40% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
  }

#test-access-spinner {
    display: none !important;
    margin: 0 !important;
    width: 15px;
    height: 15px;
    top: 3px;
    left: 7px;
}

#import-spinner {
    display: none !important;
    margin: 0 !important;
    width: 15px;
    height: 15px;
    top: 3px;
    left: 7px;
}

.disabled #test-access-spinner {
    display: inline-block !important;
}

.disabled #import-spinner {
    display: inline-block !important;
}

.field-cm_monthly_fee_applicable .checkbox-row {
    display: flex;
    padding-top: 5px;
}

.form-row .field-cm_fee_type > div > select,
.form-row .field-cm_apply_when > div > select,
.form-row .field-cm_amount > div > input {
    width: auto;
}

.theme-toggle {
    display: none;
}

.field-licenses_status {
    padding: 15px;
}