:root {
    --primary-color: #da0266;
    --accent-color: #09b4eb;
    --text-accent-color: #777;
}

html,
body {
    background-color: #fff;
    color: #636b6f;
    font-family: 'Nunito', sans-serif;
    font-weight: 200;
    height: 100vh;
    margin: 0;
    font-size: 0.875em;
}

th {
    font-weight: normal;
}

.navbar-brand {
    color: #002648;
}

h1,
h2,
h3,
h4 {
    margin-top: 20px;
    color: #002648;
    padding: 5px;
    padding-left: 0;
    border-bottom: 2px solid #002648;
}

h1 {
    font-size: 1.6em;
}

h2 {
    font-size: 1.4em;
}

h3 {
    font-size: 1.3em;
}

h1,
h2,
h3,
h4 {
    border-bottom: 2px solid #c0c0c0;
}

div.card-body {
    padding: 0.75em;
}

div.card-body > h1:first-child,
div.card-body > h2:first-child,
div.card-body > h3:first-child {
    margin-top: auto;
}

div.form-buttons {
    margin-top: 25px;
}

.full-height {
    height: 100vh;
}

.flex-center {
    align-items: center;
    display: flex;
    justify-content: center;
}

.position-ref {
    position: relative;
}

.top-right {
    position: absolute;
    right: 10px;
    top: 18px;
}

.content {
    text-align: center;
}

.title {
    font-size: 34px;
}

.title.m-b-md {
    font-size: 84px;
}

.links > a {
    color: #636b6f;
    padding: 0 25px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1rem;
    text-decoration: none;
    text-transform: uppercase;
}

.m-b-md {
    margin-bottom: 30px;
}

.input-error {
    border: 1px solid #aa0000;
}

div.card-header {
    font-size: 1.8em;
    padding: .35rem .55rem;
    text-transform: uppercase;
    color: var(--text-accent-color);;
}

th,
td {
    padding: 5px 10px;
}

td.url {
    word-wrap: break-word;
    word-break: break-all;
}

input:not([type='radio']),
textarea,
select {
    font-size: 1em;
    border: 2px solid #e0e0e0;
    border-radius: 3px;
    padding: 5px;
    width: auto;
    min-width: 100px;
    display: inline-block;
}

textarea.big {
    width: 50%;
    height: 100px;
}

select {
    min-width: 0;
}

input[type=date] {
    width: auto;
    min-width: 160px;
}

input[type=time] {
    width: auto;
    min-width: 100px;
}

input[type=submit],
input[type=button], div.button {
    padding: 2px 8px 0;
    line-height: 30px;
    background: none repeat scroll 0 0 var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    border-style: solid;
    border-width: 1px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    min-width: 0;
    width: auto;
}

a.button,
a.button:active,
a.button:visited,
a.button:hover {
    display: inline-block;
    float: none;
    margin: 0px;
    padding: 2px 8px 0;
    line-height: 30px;
    text-align: center;
    margin: 12px 0 0;
    height: 35px;
    border-radius: 4px;
    background: none repeat scroll 0 0 var(--primary-color);
    border: 0;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}

a.button.small,
a.button.small:active,
a.button.small:visited,
a.button.small:hover {
    padding: 2px 4px 0;
    line-height: 22px;
    text-align: center;
    margin: 6px 0 0;
    height: 25px;
    font-size: 0.9em;
}

a.button:active {
    background: none repeat scroll 0 0 #c0c0c0;
    color: #ffffff;
    border-color: #c0c0c0;
}

.nav-tabs.nav-fill > li {
    flex: 1;
}

.color-black {
    color: #636b6f;
}

.color-red {
    color: rgb(170, 0, 0);
}

.color.green {
    color: rgb(0, 170, 0);
}

.tooltip-inner{
    word-wrap: break-word;
    text-align: left;
    white-space: pre-line;
}

table.basic thead tr {
    background-color: #e0e0e0;
}

table.basic thead tr th {
    color: #636b6f;
}

.hover-increase:hover {
    transform: scale(4);
}


.no-controls::-webkit-media-controls {
    display: none; /* Hide controls for Webkit browsers (Chrome, Safari) */
}

.no-controls::-webkit-media-controls-enclosure {
    display: none; /* Hide controls for Webkit browsers (Chrome, Safari) */
}

.no-controls::-webkit-media-controls-panel {
    display: none; /* Hide controls for Webkit browsers (Chrome, Safari) */
}

.no-controls::-moz-media-controls {
    display: none; /* Hide controls for Mozilla Firefox */
}

table.basic td,
th {
    border-bottom: 1px solid #e0e0e0;
}

table.basic.hover tbody tr:hover, table.aqt-datatable tbody tr:hover {
    background-color: #f0f0f0;
}

table.stretch tbody td {
    max-width: 100%;
    white-space: nowrap;
}

table.basic tbody tr:hover td, table.aqt-datatable tbody tr:hover td {
    background-color: transparent;
}

table.aqt-datatable {
    border-collapse: collapse;
    border-radius: 4px;
    overflow: hidden;
}

table.aqt-datatable thead tr {
    background: linear-gradient(90deg, #b92972, #752b77, #03b3ea);
    color: white;
    border-collapse: collapse;
    border-radius: 4px;
    overflow: hidden;
}

table.aqt-datatable thead th {
    padding: 10px 12px;
}

div.lfloat,
div.lfloatm {
    float: none;
    width: 100%;
}

div.lfloatm {
    margin-right: 20px;
}

div.rfloat {
    float: none;
    width: 100%;
}

div.nfloat {
    float: none;
    clear: both;
}

div.fc {
    font-size: 0.8em;
}

div.fc a.fc-event.hollow-red {
    background-color: red;
    border-color: red;
}

div.fc a.fc-event.hollow-orange {
    background-color: orange;
    border-color: orange;
}

div.fc a.fc-event.green,
div.fc a.fc-event.hollow-green {
    background-color: green;
    border-color: green;
}

.nowrap {
    white-space: nowrap;
}

strong {
    font-weight: bold;
}

td a.button,
td a.button:hover,
td a.button:active {
    margin-top: 0;
}

a.button.reliance {
    background-color: #ddd;
}

a.button.relianceG {
    background-color: #088A08;
}

a.button.relianceP {
    background-color: #FF8000;
}

a.button.relianceX {
    background-color: #6E6E6E;
}

a.button.relianceR {
    background-color: #000;
}

tr.noapply td {
    color: #ccc;
}

td.center {
    text-align: center;
}

.modal-header {
    display: block;
}

.elem.event {
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    background-color: #f0f0f0;
    border: 1px solid #f0f0f0;
}

.elem.event.indent {
    margin-left: 20px;
    border-left: 5px solid var(--text-accent-color);;
}

.elem.event.link {
    cursor: pointer;
}

.elem.event > .name {
    font-weight: bold;
}

.elem.event .start {
}

table.noborder td {
    border: 0;
}

div.needs ul,
.elem.event div.needs ul {
    margin-bottom: 0;
}

div.needs,
.elem.event div.needs {
    display: inline-block;
    border: 1px solid #d0d0d0;
    background-color: #d0d0d0;
    border-radius: 5px;
    margin: auto;
    margin-top: 10px;
    padding: 10px;
    margin-bottom: 10px;
    width: auto;
    min-width: 0;
}

.elem.event div.needs.warning {
    border: 1px solid #c0c0c0;
    background-color: #c0c0c0;
}

.urloversize {
    width: 800px;
    height: 200px;
    overflow: scroll;
}

.vtop {
    vertical-align: top;
}

div.scrollable {
    overflow-x: auto;
}

nav .container {
    padding-left: 0;
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-brand,
.navbar-light .navbar-brand:focus,
.navbar-light .navbar-brand:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav,
.navbar-light .navbar-nav .nav-link:active,
.navbar-light .navbar-nav .nav-link:visited {
    color: var(--text-accent-color);
}

.nav-link.selected, .nav-link:hover {
    border-bottom: solid 2px var(--accent-color);
    padding-bottom: 4px
}

.nav-item {
    margin: 0 5px;
}


.navbar-laravel {
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
    height: 80px;
}

.navbar-brand {
    background-image: url("/images/ad-alliance.png");
    background-size: 42px;
    background-repeat: no-repeat;
    background-position: 2px 15px;
    height: 60px;
    width: 170px;
    padding-left: 50px;
    padding-top: 15px;
}

select.long, .ss-main.long, input.long {
    width: 90%;
}

input.short {
    width: 100px;
}

div.col-md-12 {
    flex: 0 0 98%;
    max-width: 98%;
    padding-left: 0;
    margin-left: 0;
}

div.error {
    display: block;
    overflow: auto;
    max-width: 60%;
    padding-left: 3px;
    border-left: 3px solid #f00;
}

div.pagination {
    margin-top: 10px;
}

.ui-icon-circle-close {
    color: #aa0000;
}

a.button.adcheck-run {
    background-color: #c0c0c0;
}

a.button.adcheck-run.valid {
    background-color: #008800;
}

a.button.adcheck-run.invalid {
    background-color: #a00;
}

a.button.adcheck-run.active.invalid {
    background-color: #c0c0c0;
    border-left: 5px solid #a00;
}

a.button.adcheck-run.active.valid {
    background-color: #c0c0c0;
    border-left: 5px solid #008800;
}

address,
dl,
ol,
ul {
    margin-bottom: 0;
}

.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
    font-family: "Nunito", sans-serif;
}

h5.modal-title {
    font-size: 1.3em;
    background-color: #fff;
    color: var(--text-accent-color);
    text-transform: uppercase;
    border: 0;
    font-weight: normal;
}

div.searchform.colexp {
    display: none;
}

div.searchform-modal label {
    display: block;
}

div.searchform-modal .col-auto {
    margin-top: 10px;
}

.modal-title {
    display: inline-block;
    border: 0;
}

.modal-header {
    display: block;
}

.ui-widget {
    font-family: 'Nunito', sans-serif;
    font-weight: 200;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    border: 0;
}

.ui-state-active {
    border: 1px solid #75ab19;
    background: #c0c0c0;
    border: 0;
}

.leftrottitle {
    top: 5px;
    left: 70px;
    position: fixed;
    text-align: left;
    width: 700px;
    height: 60px;
    font-size: 1em;
    text-transform: uppercase;
    padding: 15px;
    display: none;
    z-index: 500;
    width: 65%;
    overflow: hidden;
}

.leftrottitle.show {
    display: block;
}

.page-link {
    color: #636b6f;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-link:hover {
    color: white;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.ui-icon {
    color: var(--primary-color);
}

.ui-icon-action {
    color: var(--accent-color);
}

.actionCol.ui-icon {
    color: #394956;
}

.actionCol.ui-icon:hover {
    color: #00b6ed;
}

a, a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

@media (min-width: 992px) {
    div.container {
        max-width: 98%;
    }
}

@media (min-width: 1000px) {
    div.container {
        max-width: 98%;
    }
}

@media (min-width: 1200px) {
    div.container {
        max-width: 98%;
    }
}

.chart {
    display: inline-flex;
    position: relative;
}

.checklist {
    margin-top: 2rem;
}

.chart-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    top: 30px
}

.chart-left-legend {
    position: absolute;
    bottom: 18%;
    left: 10%;
}

.chart-right-legend {
    position: absolute;
    bottom: 18%;
    right: 10%;
}

.paginate_button.current {
    color: white !important;
    background-color: var(--primary-color) !important;
}

.paginate_button {
    border: 1px solid #dee2e6 !important;
    margin: 0 !important;
    margin-left: -1px !important;
    padding: 0.5rem 0.75rem;
}

.paginate_button.current:hover {
    background-color: var(--primary-color) !important;
}

.paginate_button:not(.disabled):hover {
    background-color: #DA0266FF !important;
}

.blinkRow {
    background: #fff;
    animation: blink 1s;
    animation-iteration-count: 3;
}

@keyframes blink {
    50% {
        background: #e7f7ee;
    }
}

.loader_container {
    width: 100%;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
}

.loader {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid var(--primary-color);
    width: 60px;
    height: 60px;
    -webkit-animation: spin 1s linear infinite; /* Safari */
    animation: spin 1s linear infinite;
}

.loader_container.small {
    width: fit-content;
    height: fit-content;
    display: inline-block;
    position: relative;
    top: 9px;
    left: 10px;
}

.loader_container.small .loader {
    width: 25px;
    height: 25px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
}

.loader_container.mini {
    width: fit-content;
    height: fit-content;
    display: inline-block;
    position: relative;
}

.loader_container.mini .loader {
    width: 15px;
    height: 15px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--primary-color);
}

#uploadModal #loading_overlay {
    top: -8px !important;
    left: 0 !important;
    width: 470px !important;
    height: 102% !important;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#multiUploadResult .wrapper {
    padding: 10px 0;
    margin: 10px 0;
}

#multiUploadResult .wrapper:not(:last-child) {
    border-bottom: 1px solid #f3f3f3;
}

#multiUploadResult .wrapper .clicktag {
    display: flex;
    justify-content: end;
    cursor: pointer;
    user-select: none;
    padding: 5px 0;
    width: 200px;
    align-self: end;
}

#multiUploadResult .ui-icon {
    color: #81909c;
}

#multiUploadResult .ui-icon.ui-icon-caret-1-e {
    position: relative;
    top: -1px;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}