@import url('../assets/fonts/inter/inter.css');

html, body { font-family: 'Inter', sans-serif; }
@supports (font-variation-settings: normal) {
    html, body { font-family: 'Inter var', sans-serif; }
}

html {
    position: relative;
    min-height: 100%;
}
body {
    /* Margin bottom by footer height */
    margin-bottom: 45px;
    font-size: 14px;
    color: #333
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 45px;
    /*line-height: 40px; !* Vertically center the text there *!*/
    background-color: #fff;
    padding: 0 10px;
}

h1 {
    font-size: 28px;
    line-height: 32px;
    color: #333333;
}

h2 {
    font-size: 20px;
    line-height: normal;
    color: #333333;
}

h3 {
    font-size: 16px;
    line-height: normal;
    color: #333333;
}

h4 {
    font-size: 11px;
    line-height: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #999999;
}

p {
    font-size: 14px;
    line-height: 19px;
    color: #666666;
}

.caption {
    font-size: 12px;
    line-height: 16px;
    color: #999999;
}

/* overwrite bootstrap */
.table thead tr {
    background: #F7F7F7;
    border: 0 !important;
}
.table thead th {
    padding: 0.6rem 0.75rem;
    font-weight: normal;
    font-size: 11px;
    line-height: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #333333;
    border: 0 !important;
}

body > .container {
    padding: 84px 15px 0;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

code {
    font-size: 80%;
}

/********************************************************
Order form leftover
********************************************************/
.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5; }
.border-top-gray { border-top-color: #adb5bd; }

.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }

.lh-condensed { line-height: 1.25; }

/********************************************************
Navigation bar
********************************************************/
.navbar {
    min-height: 73px;
}

.nav-order-link {
    padding-left: 2px;
    margin-left: 10px;
    padding-right: 2px;
    margin-right: 10px;
}
.nav-order-link span {
    padding-bottom: 3px;
    border-bottom: 3px solid #f8f9fa;
}
.nav-order-link:hover span, .nav-order-link.active span  {
    border-bottom: 3px solid #087FFD;
}

.nav-order-link a {
    color: #0574fd !important;
    padding-bottom: 1rem;
}

.navbar-brand {
    margin-right: 1.5rem;
}

.mp-nav-menu .dropdown-item {
    font-size: 14px;
}

img.mp-logo {
    max-height: 55px;
    max-width: 165px;
    margin: -4px 20px -4px -3px;
}

.mp-nav {
    color: #888
}

.mp-nav-menu.dropdown-menu .dropdown-item {
    color: #007bff;
}
.mp-nav-menu.dropdown-menu .dropdown-item:active {
    color: #fff;
}

.mp-nav.dropdown-toggle::after {
    content:url('/images/icon_arrow_down.svg');
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    border: 0;
    color: blue;
    vertical-align: 0;
}

/********************************************************
 Marketplace Tabulator Cell Styles
********************************************************/

.cell-contents {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    width: 100%;
    height: 100%;
}

.cell-contents .full-width {
    width: 100%;
}

.cell-contents.left {
    justify-content: flex-start;
}

.cell-contents.right {
    justify-content: flex-end;
}

.tabulator-cell .preview-button {
    border-radius: 3px;
    color: #3A3C43;
    border: 1px solid #D0D0D0;
    background-color: #F8F8F8;
    text-transform: uppercase;
    width: 98%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
}

.tabulator-cell .preview-button div {
    text-align: center;
    white-space: normal;
}

.tabulator-cell .review-button {
    border-radius: 3px;
    color: #fff;
    background-color: #3A3C43;
    text-transform: uppercase;
    width: 98%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
}

.req-pill {
    display: inline-block;
    background-color: #F7F7F7;
    border-radius: 10px;
    padding: 4px 8px;
    margin-left: 4px;
    color: #999999;
    font-size: 12px;
}

.cart-zone-cell,
.cart-channel-cell {
    font-size: 12px;
    color: #999;
}

.cell-contents .bottom-line {
    padding-top: 4px;
}

.cell-contents .full-width .bottom-line {
    display: flex;
    justify-content: center;
}

.bar-wrapper {
    position: relative;
    background-color: #DBDBDB;
    width: 100%;
    border-radius: 20px;
    height: 12px;
}

.bar-wrapper .bar {
    background-color: #595b63;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 20px;
}

.cell-contents .strike-out {
    text-decoration: line-through;
    color: #73777B;
}

/********************************************************
Marketplace Order History Styles
********************************************************/
.order-history-wrapper {
    display: flex;
    flex-direction: row;
}

.order-history-wrapper .back-arrow {
    width: 34px;
    padding-top: 22px;
    padding-right: 8px;
    color: #087FFD;
}
.order-history-wrapper .back-arrow img {
    width: 14px;
}


.order-history-wrapper .order-history-container {
    max-width: 900px;
}

.order-history-wrapper .order-history-container,
.order-history-wrapper #order-history-table {
    width: 100%;
}

.default-status {
    /*font-size: 12px;*/
    padding: 6px 12px;
}

.red-pill {
    color: #e6282e;
    background-color: #FFF6F4;
    /*font-size: 12px;*/
    padding: 6px 14px;
    border-radius: 15px;
}

.red-pill .bang {
    width: 14px;
    border-radius: 10px;
    background-color: #e6282e;
    color: #FFF6F4;
    display: inline-block;
}

.yellow-pill {
    background-color: #FEFCEC;
    color: #675F46;
    /*font-size: 12px;*/
    padding: 6px 14px;
    border-radius: 15px;
}

.yellow-pill .bang {
    width: 14px;
    border-radius: 10px;
    color: #FEFCEC;
    background-color: #675F46;
    display: inline-block;
}

/********************************************************
Marketplace Spinner
********************************************************/
.mp-spinner {
    position: absolute;
    top: 0;
    left: 46%;
    display: none;
}

/********************************************************
Order Tables
********************************************************/
.order-table {
    margin: 15px 0 30px;
}


/********************************************************
 Marketplace Details Styles
********************************************************/

.xmarketplace-details-wrap {
    display: flex;
    flex-direction: row;
    margin-top: 32px;
    margin-bottom: 16px;
}

.marketplace-details-wrap .image-column {
    width: 20%;
}

.navbar-brand img.mp-logo {
    border-radius: 4px;
}

.marketplace-details-wrap .image-column img {
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 130px;
    max-height: 130px;
}

.marketplace-details-wrap .image-column #publisher-logo-empty {
    width: 150px;
    height: 150px;
    border: 1px solid #ddd;
    font-size: 90px;
    line-height: 150px;
    text-align: center;
    color: inherit;
    border-radius: 5px;
    background-color: #E2E2E2;
    color: #3A3C43;
}

.marketplace-details-wrap .small-text {
    color: #73777B;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 10px;
    padding-bottom: 4px;
}

.marketplace-details-wrap .text-column .name {
    color: #3A3C43;
    font-size: 26px;
    line-height: 26px;
    font-weight: 500;
    padding-bottom: 8px;
}

.marketplace-details-wrap .text-column .url {
    padding-bottom: 16px;
}

.marketplace-details-wrap .text-column .url a {
    color: #087FFD;
    font-size: 12px;

}
.marketplace-details-wrap .text-column .description {
    color: #73777B;
    font-size: 12px;
}

.marketplace-details-wrap .media-kit-column {
    width: 20%;
}

.image-media-progress-wrap {
    display: none;
    vertical-align: middle;
}

/*******************************************************
Cart main display
*******************************************************/

#xpublisher-main-wrap {
    margin: 20px 0;
    display: table-row
}

#xpublisher-logo-wrap {
    display: table-cell;
    padding: 0 0 10px 20px;
    cursor: inherit;
}

#publisher-middle-wrap {
    display: table-cell;
    padding: 10px 0 10px 10px;
    vertical-align: top;
    /*width: 75%*/
}

#publisher-right-wrap {
    display: table-cell;
    width: 25%;
    vertical-align: top;
    text-align: right;
}

#publisher-logo-empty {
    width: 100px;
    height: 100px;
    border: 1px solid #ddd;
    font-size: 90px;
    text-align: center;
    color: inherit;
}

.more-info-span {
    font-size: 0.7rem;
    padding-left: 4px;
}

/*******************************************************
Creatives
*******************************************************/
.creative-card .nav-tabs {
    margin-bottom: 0;
    border: none;
}
.creative-card .nav-item {
    margin-right: 36px;
}
.creative-card .nav-item:last-child {
    margin-right: 0;
}
.creative-card input[type='radio'] {
    /*transform: scale(1.5);*/
}
.creative-card .nav-item label {
    padding: 0 3px 0 8px;
}
.creative-card .form-group {
    margin-bottom: 0.75rem;
}
.creative-card .card-header {
    padding: 30px 40px 10px;
    border-bottom: none;
}
.creative-card .card-body {
    padding: 10px 40px 10px;
}
.creative-card .card-footer {
    padding: 10px 40px 30px;
    border-top: none;
}
.creative-modal .creative-card .card-header {
    padding: 10px 10px 10px;
    border-bottom: none;
}
.creative-modal .creative-card .card-body {
    padding: 20px 10px 10px;
}
.creative-modal .creative-card .card-footer {
    padding: 10px 10px 30px;
    border-top: none;
}

.incomplete-item-text * {
    color: #dc3545 !important;
}

.incomplete-item-text .template-variable-input,
.incomplete-item-text .raw-text-input,
.incomplete-item-text .dest-url-input,
.incomplete-item-text .auction-text-input
{
    border-color: #dc3545 !important;
}

.template-variable-required:after {
    padding-left: 1px;
    content: "*";
    color: #dc3545;
}

.incomplete-textarea {
    border-color: #dc3545 !important;
}
.incomplete-items-text {
    padding-top: 4px;
    color: #dc3545;
    display: none;
}

.upload-button {
    position: relative;
    overflow: hidden;
    background: #f0f7ff;
    padding: 7px 17px;
    border-radius: 1rem !important;
    color: #0574fd;
    font-size: 12px;
}

@media (min-width: 992px) {
    .upload-button .file-input-upload,
    .upload-button .template-file-input-upload {
        padding: 7px 30px;
    }
}

.upload-button .file-input-upload,
.upload-button .template-file-input-upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    /*font-size: 20px;*/
    padding: 7px 17px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}
.upload-button span {
    padding: 7px 30px;
}

.file-input-message {
    /*margin-left: -20px;*/
}


/*******************************************************
Profile page
*******************************************************/
.profile-view-form > .mp-form-group > .mp-field-wrap > .profile-field-edit { display:none; padding:15px; border:1px solid #ddd; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.profile-view-form > .mp-form-group.edit { margin-right:0; }
.profile-view-form > .mp-form-group.edit .profile-field-edit { display:block; }
.profile-view-form > .mp-form-group.edit .profile-field-preview { display:none; }
.profile-view-form > .mp-form-group.edit .btn-pull { display:none; }

.profile-view-form .field-col-label { margin-bottom:5px; color:#999; }
.profile-view-form .field-edit-inner { margin-bottom:10px; }
.profile-view-form .field-edit-options { padding-top:10px; text-align:right; }

.profile-view-form .profile-field-preview > p:last-child { margin-bottom:0; }
.profile-view-form .profile-thumb-preview { width:34px; height:34px; background-size: cover; background-repeat:no-repeat; background-position: center; }

.profile-view-form .spinner { display:inline-block; height:34px; width:34px; vertical-align:middle; padding:4px; }
.profile-view-form .spinner.hidden { display:none; }

.profile-view-form .btn-pull { float:right; }
.profile-view-form .edit-btn.disabled,
.profile-view-form .edit-btn.disabled:active,
.profile-view-form .edit-btn.disabled:hover { color:#CCC; }



#profile-form .question-media-progress-wrap { vertical-align:middle; display:none; }
#profile-form .question-media-progress { display:inline-block; vertical-align:middle; border:1px solid #ccc; padding:2px; border-radius:4px; width:200px; height:34px; }
#profile-form .question-media-progress .bar { display:block; border-radius:2px; height:100%; width:25%; background-color:#65d2e5;
    color:#fff; text-align:left; line-height:28px; font-size:12px; padding:0 5px; font-weight:bold; }
#profile-form .question-media-progress .bar {
    -moz-transition: all .25s ease-in-out;
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}
#profile-form .question-media-spinner { display:inline-block; vertical-align:middle; height:34px; padding:5px 2px; }
#profile-form .question-media-error { display:inline-block; vertical-align:middle; padding:5px; }

#profile-form .question-media-thumb-view { display:none; }
#profile-form .question-media-thumb-view .img-preview { max-height:34px; }
#profile-form .question-media-thumb-view .popover { background:#000; color:#FFF; }
#profile-form .question-media-thumb-view .popover .popover-content { padding: 5px 5px; }
#profile-form .question-media-thumb-view .popover.top .arrow:after { border-top-color:#000; }

#profile-form .question-media-change-btn { padding-left:3px; padding-right:3px; }

.mp-form-group { padding: 12px 0; border-bottom: 1px solid #eee; }
.mp-form-group:first-child { border-top: 1px solid #eee; }
.mp-form-group .control-label { font-weight: bold; margin-bottom: 0; }
.mp-form-group input.form-control.inline { display:inline-block; }
.mp-form-group select.form-control { width:auto; display:inline-block; background-color:#ffffff; }
.mp-form-group select.form-control.full { width:100%; }
.mp-form-group select.form-control option { vertical-align:middle; }
.mp-form-group textarea.form-control { min-height:100px; resize: vertical; }

.mp-form-group-narrow { margin-bottom:10px; margin-left:120px; }
.mp-form-group-narrow .control-label { width:120px; float:left; margin-left:-120px; text-align: left; color: #7D848C; font-weight:normal; }

.mp-form-group.full { margin-left: 0; }
.mp-form-group.full .control-label { width:auto; float:none; margin-left:0; }

/*******************************************************
Button styles
*******************************************************/
.btn-grey {
    color: #212529;
    background-color: #f1f1f1;
    border-color: #c1c1c1;
}
.btn-grey:hover {
    color: #212529;
    background-color: #e1e1e1;
    border-color: #c1c1c1;
}
.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active {
    color: #212529;
    background-color: #e1e1e1;
    border-color: #c1c1c1;
}

a small, button small {
    letter-spacing: 1px;
}



.mp-form-group .control-label,
.mp-form-group .profile-field-preview { padding-top: 7px; }
.mp-form-group .profile-field-preview { text-align: right; margin-right: 100px }

/* Conversion Tags */
.zt { width: 100%; }
.zt-label-cell { padding: 6px 0 2px 0; vertical-align: top; }
.zt-option-cell { padding: 4px 0 4px 0; vertical-align: top; }
.zt-label-cell { width: 130px; }
.zt-option-cell {}
.zt-setting-advanced { display: none; }
.zt-conv-tags { font-family: 'courier new', monospace; width: 100%; height: 80px; border: 1px solid #ccc; padding: 6px; }
.zt-conv-email-options { margin-bottom: 10px; text-align: center; padding: 5px; background-color: #F2F2F2; border: 1px solid #ccc; border-top-width: 0px; }
#zt-pretty { border: 1px solid #ccc; padding: 10px; line-height: 150%; font-size: 13px; display: none; }
#zt-tags { display:block; font-family: 'courier new', monospace; font-size: 12px; width: 100%; height: 140px; border: 1px solid #ccc; }
.hb-code-block { display:block; font-family: 'courier new', monospace; font-size: 12px; width: 100%; border: 1px solid #ccc; padding: 10px; white-space: pre-wrap; box-sizing: border-box;}
.hb-tag-tip { margin-top: 10px; margin-bottom: 2px; font-weight:700;}
table.zt-options { width:100%; margin-bottom: 10px; }

/*******************************************************
Template styles
*******************************************************/

.template-modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100%;
    height: 100%;
    background: white;
    overflow-y: auto;
}

.template-edit-layout {
    display: table;
    width: 100%;
    height: 100%;
    margin: 0;
    padding-bottom: 80px;
}

.template-edit-layout .cell {
    display: table-cell;
    vertical-align: top;
}
.template-edit-layout .cell-config {
    width: 540px;
    border-left: 1px solid #E6E6E6;
}

.dist-modal-top-buttons { float: right; margin-top: -10px; }
.dist-modal-top-buttons .btn-cancel { padding: 10px }
.cell-config-title { margin: 0;}

.cell-config .cell-config-header { padding: 20px; }
.cell-config .cell-config-body { padding: 0 20px 20px; }

.cell-preview {
    position:absolute;
    top: 0;
    left: 0;
    padding: 30px 30px 80px 30px;
    right:540px;
    bottom:0;
    overflow: hidden;
    background: #F7F7F7;
}

.cell-preview-frame {
    position: relative;
    border: 1px solid #D0D0D0;
    box-sizing: border-box;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    background: #FFF;
}

.template-modal-bottom-bar {
    position: fixed;
    bottom: 0;
    height: 80px;
    width: 100%;
    background: #FFF;
    border-top: 1px solid #E6E6E6;
    z-index: 1060;
}

.template-bottom-bar-wrap {
    color:white;
    line-height:34px;
    margin:15px
}

.content-box-details {
    font-family: sans-serif;
    display: table;
    padding-bottom: 4px;
}
.content-box-details-name {
    display: table-cell;
}
.content-box-details-size {
    display: table-cell;
    text-align: right;
    color: #999999;
    font-size: 0.9rem;
}

.content-wrap {
    display: table;
    margin: 28px auto 0;
    position: relative;
}

/*******************************************************
Template Input forms Styles
*******************************************************/

.variables-div .input-group>.form-control {
     width: 100%;
}

.variables-div .input-group .max-length-message {
    color: #999999;
    font-size: 0.75rem;
    padding-left: 4px;
}

/*******************************************************
Cart View styles
*******************************************************/

/* Date selector */
.order-button div button {
    background: #0772e4 !important;
    border-color: #0772e4 !important;
    color: #FFF !important;
}
.order-button div button.disable-button {
    display: none;
}
button.disable-button {
    display: none;
}
.order-button div button.has-been-pressed {
    background: #aaa !important;
    border-color: #888 !important;
    cursor: default;
}

.cart-button:disabled {
    background-color: #808080;
    border-color: #5d6165;
}

.daterangepicker .drp-calendar td.in-range {
    background-color: rgba(8,127,253, 0.15);
}

.daterangepicker .drp-calendar td.active {
    background-color: #087FFD;
}

#dates::after {
    content:url('/images/icon_arrow_down.svg');
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    border: 0;
    color: blue;
    vertical-align: 0;
    padding-top: 4px;
    float: right;
}

#dates-continuous::after {
    content: url('/images/icon_arrow_down.svg');
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    border: 0;
    color: blue;
    vertical-align: 0;
    padding-top: 4px;
    float: right;
}

.fromDate, .toDate {
    padding: 3px 4px;
    width: 80px;
}

.date-wrap-left, .date-wrap-right {
    display: inline-grid;
    padding-bottom: 15px;
}

.date-selector {
    padding-bottom: 10px;
}
.date-selector input {
    width: 105px;
}

.date-wrap-left {
    padding-right: 10px;
}

.date-wrap-left label, .date-wrap-right label {
    display: block;
    font-size: 14px;
}

.date-fetch-btn {
    display: inline-grid;
    vertical-align: bottom;
    padding-bottom: 15px;
}

/* Cart table */
table.table-cart-items tbody tr.not-available {
    opacity: 0.5;
}
table.table-cart-items tbody td {
    padding: 10px;
}
table.table-cart-items thead th {
    /*padding-top: 6px;*/
    /*padding-bottom: 6px;*/
}
table.table-cart-items thead th:first-child,
table.table-cart-items tbody td:first-child {
    padding-left: 10px;
}
table.table-cart-items thead th:last-child,
table.table-cart-items tbody td:last-child {
    padding-right: 0;
}
table.table-cart-items .order-amounts thead th:last-child,
table.table-cart-items .order-amounts tbody td:last-child {
    text-align: right;
    padding-right: 10px;
}

table.table-cart-items tbody td { vertical-align: middle;}
td.quantity-td {
    min-width: 222px;
}
td.cost-td {
    min-width: 85px;
}

.quantity-select {
    vertical-align: top; display: inline-block; min-width: 120px; width: 120px; margin-right: 3px;
}
.quantity-custom {
    display: none; width: 120px; text-align: left; margin-right: 3px; vertical-align: top;
}
.impression-details {
    display: inline-block; text-align: left; min-width: 76px
}
.impression-details a {
    color: #087FFD !important;
}
.type-selection {
    line-height: 14px;
}
.custom-qty-link {
    cursor: pointer;
}
.select-qty-link {
    display: none; cursor: pointer
}

/*******************************************************
Sidebar Item styles
*******************************************************/
#publisher-wrap .list-group-item:not(:first-child) { border-top: 0; }
li.cart-list-item {
    padding: 0 20px;
    margin-bottom: 3px;
}
li.cart-list-item .cart-item-title {
    font-weight: 600;
    margin-bottom: 2px;
}
li.cart-list-item .cart-item {
    background: #f7f7f7;
    padding: 12px;
}
li.cart-list-item .cart-remove-item {
    padding-top:4px;
}
li.cart-list-item .cart-item-dates {
    margin-top: 2px;
}

#cart-total {
    padding: 16px 0 20px;
}
#cart-total li {
    padding: 0 32px 0;
}

#cart-next-btn {
    padding: 0 30px 20px;
}

.btn-disabled-light {
    background-color: #ccc !important;
    border-color: #b7b7b7 !important;
}

#sidebar-cart-wrap {
    padding: 0 10px;
}
.publisher-title {
    text-transform: uppercase;
    font-size: 14px;
    color: #AAA;
    margin: 0.5em 0;
    letter-spacing: 0.03em;
}
.cart-item {
    padding-bottom: 0.5em;
}
#cart-button-wrap {
    margin-top: 30px;
    text-align: center;
}
.cart-item-remove-button {
    color: dodgerblue;
    padding-right: 4px;
    cursor: pointer;
}

/*******************************************************
Payment page styles
*******************************************************/
.has-danger .form-control {
    background: rgba(255, 82, 38, 0.05) none !important;
    border-color: #ff5226;
    color: #ff5226;
}
.has-danger .form-control:active, .has-danger .form-control:focus {
    border-color: #ea3506;
}
.has-danger .special-select {
    background: rgba(255, 82, 38, 0.05) none !important;
    border-color: #ff5226;
    color: #ff5226;
}
.has-danger .form-control-feedback, .has-danger .form-control-label {
    color: #ff5226;
}
.has-danger .form-control-feedback {
    display: block;
}

.form-control-feedback {
    margin-top: 0.25rem;
    display: none;
}
.has-danger :-moz-placeholder,
.has-danger :-ms-input-placeholder,
.has-danger ::-moz-placeholder,
.has-danger ::-webkit-input-placeholder {
    color: #ff5226 !important;
}

#checkout-pane .card-number .input-image-wrapper .visa-img {
    right: 100px;
}
#checkout-pane .card-number .input-image-wrapper .mc-img {
    right: 63px;
}
#checkout-pane .card-number .input-image-wrapper .amex-img {
    right: 26px;
}
#checkout-pane .card-number .input-image-wrapper img {
    position: absolute;
    top: 37px;
    width: 32px;
    height: 22px;
}

#error-div {

}

#error-list {
    background: rgba(255, 82, 38, 0.05) none !important;
    border: 1px solid #ff5226;
    color: #ff5226;
    padding: 0;
}

#error-list li { background: rgba(255, 82, 38, 0.05) none !important; }

.label-title {
    padding-left: 10px;
    color: #4b4f53;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#checkout-pane .form-control-lg {
    font-size: 1rem;
}

#checkout-pane select.form-control-lg {
    height: 42px;
}

#checkout-pane .form-group #address1 {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0; }
#checkout-pane .form-group #address2 {
    border-top: none;
    border-top-right-radius: 0;
    border-top-left-radius: 0; }


.checkbox-confirm {
    width: inherit;
    zoom: 2;
    text-align: left;
    transform: scale(2);
    -ms-transform: scale(2);
    -webkit-transform: scale(2);
    -o-transform: scale(2);
    -moz-transform: scale(2);
    transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
}

.confirmation-group {
    /*height:80px;*/
    padding: 20px 0 30px;
    margin-bottom: 10px;
    background-color: #eee;
    border-radius: 5px;
}

.confirmation-checkbox-div {
    display:table-cell;
    padding-left: 20px;
}

.confirmation-label-div {
    display:table-cell;
    position: relative;
    top: 5px;
    left: 27px
}

/*******************************************************
Keyword Template Modal
*******************************************************/
.keyword-template-modal .tab-pane {
    border: 1px solid #dee2e6;
    border-radius: .25rem;
}

.keyword-template-modal .modal-cancel {
    margin-bottom: 10px;
    display: block;
}

.keyword-template-modal .creative-card .nav-item {
    margin-right: 24px;
    margin-bottom: 8px;
}

.keyword-template-modal .modal-footer .included-keywords {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.keyword-template-modal .modal-footer .keyword-template-span {
    padding: 8px 12px;
    background-color: #F7F7F7;
    border-radius: 16px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.keyword-template-modal .modal-footer .keyword-template-remove {
    margin-right: 6px;
    color: #007bff;
    font-size: 12px;
}

.keyword-template-modal .keyword-template-warning-message {
    color: #FF5226 !important;
}

.keyword-template-tab-pane {
    margin: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.keyword-template-tab-pane .form-group {
    padding: 8px 16px;
    width: 175px;
    margin-bottom: 0;
}

.keyword-select-all {

}
.keyword-selections {
    margin: 0 0 18px 18px;
}

.keyword-selections a {
    margin: 0 8px 0 8px;
}

.keyword-template-remove {
    cursor: pointer;
}

.btn.cart-item-modal-btn-has,
.btn.btn-has-creative,
.btn.btn-has-dayparting,
.btn.btn-has-target,
.btn.btn-has-keywords {
    background: #F0F7FF;
    color: #087FFD !important;
    border: 2px solid #F0F7FF;
    margin-top: 0 !important;
}

.btn.cart-item-modal-btn-has:hover,
.btn.btn-has-creative:hover,
.btn.btn-has-dayparting:hover,
.btn.btn-has-target:hover,
.btn.btn-has-keywords:hover {
    background: #DEEDFF;
    border: 2px solid #DEEDFF;
}

.btn.cart-item-modal-btn-no,
.btn.btn-no-creative,
.btn.btn-no-dayparting,
.btn.btn-no-target,
.btn.btn-no-keywords {
    background: #FFF;
    border: 2px dashed #F0F7FF;
    color: #087FFD !important;
    box-sizing: border-box;
    border-radius: 6px;
    margin-top: 0 !important;
}

.btn.cart-item-modal-btn-no:hover,
.btn.btn-no-creative:hover,
.btn.btn-no-dayparting:hover,
.btn.btn-no-target:hover,
.btn.btn-no-keywords:hover {
    background: #F0F7FF;
    border: 2px dashed #087FFD;
}

/*******************************************************
Miscellaneous
*******************************************************/

/* Increase max-width for container */
@media only screen and (min-width : 1200px) {
    #navbar-container.container,
    #portal-container.container { max-width: 1260px; }
}

.modal-xl { max-width: 1260px; }

.btn-disabled-light {
    background-color: #ccc !important;
    border-color: #b7b7b7 !important;
}

.creative-modal .modal-footer { padding: 16px 0 0 0;}

.text-black-30 { color: rgba(0,0,0,0.3) !important; }

.modal-dialog-below-top {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(50% - (.5rem * 2));
}

.block-title {
    color: #61636a;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.order-progress .progress { margin: 0 16%; height: 3px; }
.order-progress .progress-bar { background-color: #3A3C43; }

.cart-item-remove-button:hover, .custom-qty-link:hover, .select-qty-link:hover { text-decoration: underline !important; color: #1A6AE4; }

.btn:not(.btn-link):not(.btn-sm) {
    font-size: 12px;
    letter-spacing: 1px;
    padding:12px 16px;
    text-transform: uppercase;
}

.image-upload-button, .template-image-upload-button {
    cursor: pointer !important;
}

.form-control::placeholder {
    color: #D0D0D0;
}

#cart-calendar.dimmed {
    opacity: .2;
}

.geo-targets-row {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background-color: #FFF;
    margin: 4px 0;
    padding: 4px;
}

.geo-target-remove {
    cursor: pointer;
}

/* Fix extra padding added by Bootstrap on Firefox */
.template-modal {
    padding-right: 0 !important;
}



.navbar.bg-custom {
    background-color: #e21b2d!important;
    color: #fff!important;
}

.bg-custom .btn-primary,
.bg-custom .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    border: 0;
    background-color: #ff9733!important;
    color: #fff!important;
}

.bg-custom .daterangepicker .drp-calendar td.active,
.bg-custom .daterangepicker .drp-calendar td.active.in-range {
    background-color: #ff9733!important;
}

.bg-custom .daterangepicker .drp-calendar td.in-range {
    background-color: #ffe9d6 !important;
}


.bg-custom .hourCell.selected:hover{
    background: #ff9733!important;
}

.bg-custom .hourCell.selected{
    background: #fdd2a5 !important;
}

.link-separater {
    color: #888;
}

.navbar.bg-custom .nav-order-link a,
.navbar.bg-custom a.navbar-brand,
.navbar.bg-custom a.nav-link,
.navbar.bg-custom .link-separater,
.navbar.bg-custom a.navbar-link,
.navbar.bg-custom.navbar-dark .navbar-text
{
    color: #fff!important;
}

.navbar.bg-custom .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.85)!important;
}

.navbar.bg-custom .nav-order-link:hover span,
.navbar.bg-custom .nav-order-link.active span
{
    border-bottom: 3px solid #fff!important;
}

.navbar.bg-custom.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

.navbar.bg-custom .mp-nav.dropdown-toggle::after {
    content: url('/images/icon_arrow_down_white.svg') !important;
}

.bg-custom .btn.cart-item-modal-btn-no,
.bg-custom .btn.btn-no-creative,
.bg-custom .btn.btn-no-dayparting,
.bg-custom .btn.btn-no-keywords {
    color: #ff9733!important;
}

.bg-custom .btn.cart-item-modal-btn-no:hover,
.bg-custom .btn.btn-no-creative:hover,
.bg-custom .btn.btn-no-dayparting:hover,
.bg-custom .btn.btn-no-keywords:hover {
    background: #fff0f0!important;
    border: 2px dashed #ff9733!important;
}

.bg-custom .btn.cart-item-modal-btn-has,
.bg-custom .btn.btn-has-creative,
.bg-custom .btn.btn-has-dayparting,
.bg-custom .btn.btn-has-keywords {
    color: #ff9733!important;
    background: #fff0f0!important;
}

.bg-custom .btn.cart-item-modal-btn-has:hover,
.bg-custom .btn.btn-has-creative:hover,
.bg-custom .btn.btn-has-dayparting:hover,
.bg-custom .btn.btn-has-keywords:hover {
    background: #fff0f0 !important;
    border: 2px solid #ff9733;
}

.bg-custom .mp-nav-menu.dropdown-menu .dropdown-item {
    color: #ff9733;
}

.bg-custom a,
.bg-custom .btn-link,
.bg-custom .cart-item-remove-button,
.bg-custom .daypartingButton,
.bg-custom .keyword-template-modal .modal-footer .keyword-template-remove {
    color: #ff9733!important;

}

.bg-custom #dates span {
    color: #ff9733!important;
}

.bg-custom #dates::after {
    content: url('/images/icon_arrow_down_orange.svg') !important;
}

.bg-custom .dropdown-item.active,
.bg-custom .dropdown-item:active {
    color: #ff9733!important;
    background-color: #f8f9fa!important;
}

@media (min-width: 992px) {
    .navbar.bg-custom .nav-order-link:hover,
    .navbar.bg-custom .nav-order-link.your-orders.active,
    .navbar.bg-custom .dropdown-toggle:hover
    {
        background-color: #ff9733!important;
    }

    .navbar.bg-custom .nav-order-link {
        margin-left: 2px!important;
        padding-left: 6px!important;
        margin-right: 2px!important;
        padding-right: 6px!important;
    }

    .navbar.bg-custom {
        padding-top: 0!important;
        padding-bottom: 0!important;
    }
    .navbar.bg-custom .navbar-container,
    .navbar.bg-custom .navbar-nav {
        min-height: 73px !important;
    }

    .navbar.bg-custom .navbar-nav a.nav-link {
        min-height: 73px !important;
        padding-top: 22px !important;
    }

    .navbar.bg-custom .navbar-nav .navbar-text {
        padding-top: 23px !important
    }

    .navbar.bg-custom .mp-nav.dropdown-toggle {
        padding-left: 12px!important;
    }

    .navbar.bg-custom .mp-nav.dropdown-toggle::after {
        padding-right: 16px!important;
    }

    .navbar.bg-custom #navbar-container {
        padding-right: 0!important;
    }
}

/* DAYPARTING */
.daypartingButton {
    color: #087ffd;
    padding: 0 8px 0 8px;
    cursor: pointer;
}

.daypartingButton:hover {
    text-decoration: underline;
}

.hourCell {
    width: 35px;
    height: 15px;
    border: 1px solid #e6e6e6;
    user-select: none;
}

.hoursTable {
    font-size: 0;
    border-collapse: collapse;
    cursor: pointer;
}

.hoursTable .dayCell {
    font-size: 14px;
    padding: 0 4px 0 4px;
}

.hoursTable .headerCell {
    font-size: 11px;
    padding: 0 4px 0 4px;
    vertical-align: bottom;
    min-width:20px;
}

.hoursTable td:nth-child(2) {
    border-left: 2px solid black;
}

.hoursTable td:nth-child(14) {
    border-left: 2px solid black;
}

.hourCell.selected {
    background: #79A8F7;
}

.hourCell.selected:hover {
    background: #1a6ae4;
}

.hourCell:hover {
    background: #e6e6e6;
}

/* Template Modal */
.variable-wrap {
    margin-bottom: 0.5rem;
}

.template-variables-text {
    margin-bottom: 1rem;
    padding-bottom: 6px;
    border-bottom: 1px solid #CED4DA;
}

/* Portal Order View */
.button-wrap {
    margin-top: 20px;
}

.order-button {
    width: 49%
}

.order-item-button {
    width: 143px;
}

#order-name-wrap { height: 38px; line-height: 38px; }

#order-name-label { margin-right: 5px; font-weight: bold; }
#order-name-span { display: inline-block; }
#order-name-text.has-name { margin-right: 5px; }
#order-name-input { width: 400px; margin-right: 5px; }

#order-name-input-wrap { display: none; }
#order-name-input-span { display: inline-block; }

/* Colour picker stuff - Carter 02/2023 */

#transparent-overlay-bg { background:transparent; z-index: 2000; position:fixed; top:0; right:0; bottom:0; left:0; width:100%; height:100%; display:none; }
.config-option-coloursample,
.config-option-coloursample-label { float:left; }
.config-option-coloursample {
    width:52px; height:26px; box-shadow:0 0 1px rgba(0,0,0,0.75);
    text-align:center;
    cursor:pointer;
}
.config-option-coloursample-label {
    width:72px;
    height: 26px;
    padding: 0 !important;
    text-align:center;
    margin-right:5px;
    font-family:monospace;
}
.colorpicker {
    z-index: 2000;
}
.colorpicker a, .colorpicker input { outline: 0; }

.font-style-btn { width:26px;text-align:center; }
.customizer-style-option { display:inline-block; }
.customizer-color-option { float:left; }
.config-option-coloursample-label {
    width:72px; text-align:center; margin-right:5px;
    font-family:monospace;
}