﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

:root {
  --bs-warning: #ffc107;
  --bs-secondary: #6c757d;
  --bs-info: #17a2b8;
  --bs-success: #28a745;
  --bs-danger: #dc3545;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
.container { max-width: 95%;}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
@media (max-width: 480px)
{
    .navbar { padding-right: 5px; padding-left: 5px;}
    .container { max-width: 100%; padding-left: 8px; padding-right: 8px; }
    .brand-logo { width: 270px !important; }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* Bootstrap toggle config overrides */
.toggle-handle {
    background-color: white;
}

/* Bootstrap overrides */
h1 { font-size: 1.5em; }
h2 { font-size: 1.3em; }
h3 { font-size: 1.2em; }

/* The table filters pick up some extra spacing from the table header - remove it */
table.dataTable .table-filter {
    padding-right: .5rem !important;
}

.db-table-overflow-scroll {
    width: 100% !important;
    overflow: auto !important;
}

.creative-wrapper-advertorial {
    font-family: Georgia, Times, "Times New Roman", serif;
    width: 100%;
}

.creative-advertorial-headline {
    font-size: 22px;
    font-style: italic;
    font-weight: bold;
}
.creative-advertorial-headline a {
    color: rgb(0, 53, 91);
    text-decoration: none;
}

.creative-advertorial-image {
    max-width: 30%;
    float: left;
    padding-right: 10px;
}

.creative-advertorial-story {

}

.creative-advertorial-button {
    text-align: center;
}

.creative-advertorial-button a {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14pt;
    font-weight: 700;
    padding: 10px 15px;
    background-color: rgb(238, 238, 238);
    color: rgb(0, 53, 91);
}

.creative-wrapper-email {
    height: 400px;
    overflow: hidden;
}
.creative-email-preview {
    width: 300%;
    height: 1200px;
    overflow: auto;
    -ms-transform: scale(0.33);
    -moz-transform: scale(0.33);
    -o-transform: scale(0.33);
    -webkit-transform: scale(0.33);
    transform: scale(0.33);
    -ms-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
}

.creative-wrapper-display {
    text-align: center;
}

.use-suggested-value:hover {
    cursor: pointer;
    text-decoration: underline;
}


.form-control-xs {
    height: calc(1.2em + 0.3rem + 2px);
    padding: 0.25rem 0.2rem;
    font-size: .775rem;
    line-height: 1.2;
    border-radius: 0.1rem;
}

.badge-supersuccess {
    color: #fff;
    background-color: #006604;
}

.supporting {
    font-size: 0.9em;
}

.bootstrap-border {
	border: 1px solid #ced4da; /* Matches form-control border */
	border-radius: 0.375rem; /* Matches form-control border radius */
	padding: 0.375rem 0.75rem; /* Optional: Add some padding for better appearance */
}

.creative-approval-status {
    background-color: var(--bs-secondary);
}

.creative-approval-status-1 {
    background-color: var(--bs-info);
}

.creative-approval-status-4 {
    background-color: var(--bs-success);
}

.creative-approval-status-6 {
    background-color: var(--bs-warning);
}

.creative-approval-status-5,
.creative-approval-status-9 {
    background-color: var(--bs-danger);
}