@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Protest+Revolution&display=swap');

.backdrop{
    z-index: 1071;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: .5;
}
.backdrop .spinner-border{
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid white;
    border-right-color: black;
    border-radius: 50%;
    animation: spinner-border .75s linear infinite;
}

* ::-webkit-scrollbar {
    width: 5px;
}
* ::-webkit-scrollbar-track {}
* ::-webkit-scrollbar-track:hover {}
* ::-webkit-scrollbar-thumb {
    background-color: #dbdbdb;
}
* ::-webkit-scrollbar-thumb:hover {}
* ::-webkit-scrollbar-button {}

iframe {
    width: 100%;
    height: 100vh;
    border: 0;
}

form .table {
	font-size: 85%;
}

form .table th,
form .table td {
	padding: .75rem;
}

form .table thead th,
form .table tbody th,
form .table tbody td {
	border-top: 0;
}

.table .header {
	font-size: 90%;
	font-weight: bold;
	background-color: #dbdbdb;
}

.table .header > .row,
.table > .row {
	margin: 0;
	padding: 1rem 0;
	border-top: 1px solid #ced4da;
}

.table > .row:hover {
	background-color: rgba(0, 0, 0, 0.05);
}

.scrollable {
	height: 50vh;
	overflow-y: auto;
	scroll-behavior: smooth;
}

.sticky {
	position: sticky;
	top: 0;
	z-index: 999;
}

a i {
	margin: 0 .25rem;
}

.icon {
	font-size: 130%;
}

.btn-group .btn {
	width: 8rem;
}

[class*="status"] {
    font-size: 50%;
    position: relative;
    top: -2px;
}
.fa, .fab, .fad, .fal, .far, .fas {
	font-weight: lighter;
}

.status-inactive,
.status-invisible {
    color: var(--yellow);
    font-weight: bold!important;
}

.status-active,
.status-visible {
    color: var(--teal);
    font-weight: bold!important;
}

.section {
    position: relative;
}

.remove-section {
    position: absolute;
    top: 10px;
    right: -25px;
    z-index: 9;
}

.save-section {
    position: absolute;
    top: 10px;
    right: -13px;
    z-index: 9;
}

.toggle-visibility.hide {
	display: none;
}

.input-group > .form-control:not(:first-child),
.input-group > .custom-select:not(:first-child) {
    border-left: none;
}

.input-group > .form-control:not(:last-child),
.input-group > .custom-select:not(:last-child) {
    border-right: none;
}

div.panel,
div#nav-editor {
    height: calc(100vh - 176px);
    overflow: auto;
    position: relative;
}

div#article-pdfs {
    padding: .5rem 1rem;
    height: 210px;
    overflow-y: auto;
    border: 1px solid #adb5bd;
    border-radius: .25rem;
}

div#article-pdfs-preview {
    margin-top: 31px;
    padding: 1px;
    border: 1px solid #adb5bd;
    border-radius: .25rem;
    display: none;
}

div#nav-ads {
	height: calc(100vh - 176px);
	background: url('https://via.placeholder.com/1024x450/fff/e6e6e6?text=crop+your+ads+here') no-repeat right center;
	background-attachment: fixed;
    overflow-y: scroll;
}

div#nav-ads div[class|="col"] {
	position: relative;
}

div#nav-ads div[class|="col"]:hover i {
	display: block;
}

div#nav-ads i {
	display: none;
	position: absolute;
	top: 0;
	right: -5px;
}

/* GrapesJS */
.gjs-block {
    height: auto;
    min-height: 35px !important;
    width: 40% !important;
    padding: 0px;
    margin-top: 0px;
    float: left;
}

.gjs-block-label i {
    width: 100%;
    height: auto;
    font-size: 400%;
}

.gjs-block-label span {
    margin-top: 10px;
    display: inline-block;
    font-size: 150%;
}

.gjs-one-bg {
  background-color: var(--white);
}

.gjs-two-color {
  color: var(--black);
}

.gjs-three-bg {
  background-color: #1E8FE1;
  color: white;
}

.gjs-four-color,
.gjs-four-color-h:hover {
  color: var(--primary);
}

.gjs-pn-btn.gjs-pn-active {
	background-color: inherit;
}

.gjs-pn-views {
	border: 0;
}

.gjs-pn-commands,
.gjs-pn-views-container,
.gjs-pn-btn.gjs-pn-active {
	box-shadow: none;
}

.gjs-block-label > i, .gjs-block__media > i {
    font-size: 36px;
}

.gjs-block__media {
    margin-bottom: 0px;
}

.gjs-block-label {
    display: none;
}
.gjs-pn-views-container {
    scrollbar-width: thin;
}


.gjs-pn-views-container {
    padding: 2px 0px 0px;
}

.gjs-pn-panel.gjs-pn-views {
    display: none;
}
/**** END GrapesJS *****/

/* PDF Statuses*/
.pdf-status-1 {
    color: var(--light);
    background-color: #dbdbdb;
    border-radius: 5px;
}

.pdf-status-2 {
    color: var(--yellow);
    background-color: var(--yellow);
    border-radius: 5px;
}

.pdf-status-3 {
    color: var(--teal);
    background-color: var(--teal);
    border-radius: 5px;
}

.pdf-status-4, .pdf-status-6 {
    color: var(--red);
    background-color: var(--red);
    border-radius: 5px;
}

.pdf-status-5 {
    color: #4A4A4A;
    background-color: #4A4A4A;
    border-radius: 5px;
}

/* slider */
.slider  .slick-arrow {
    position: absolute;
    bottom: -60px;
    z-index: 1;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    padding: 0;
    overflow: hidden;
    font-size: 0;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    outline: none;
    transition: 0.25s;

  }

.slider  .slick-prev {
    left: 0px;
  }

.slider  .slick-next {
    right: 0px;
  }

.slick-prev:before {
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    content: "\f0a8";
    color: #3c64a2;
    font-size: 30px;
}

.slick-next:before {
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    content: "\f0a9";
    color: #3c64a2;
    font-size: 30px;
}

.slider__counter {
    font-weight: 700;
    text-align: center;
    padding: 10px;
}

.error {
    color: red;
}

.copy-to {
    text-align: center;
    font-size: 18px;
    background: #e6e6e6;
    position: absolute !important;
    z-index: 99999;
    width: 100%;
    top: 0;
    height: 25px;
    padding-left: 10px;
    margin-left: -20px;
}

.copy-to > div, .copy-to > .copy-to-area {
    z-index: 99999;
}

.copy-to > i {
    font-weight: 500;
    padding: 3px;
    z-index: 99999;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 16px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #3c64a2;
}

input:focus + .slider {
  box-shadow: 0 0 1px #3c64a2;
}

input:checked + .slider:before {
  -webkit-transform: translateX(14px);
  -ms-transform: translateX(14px);
  transform: translateX(14px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 14px;
}

.slider.round:before {
  border-radius: 50%;
}

.btn-holder {
    /* position: absolute; */
    /* left: 190px; */
    left: 0px;
    z-index: 10;
    top: 15px;
}

.switch-holder {
    display: inline-block;
    font-family: Helvetica,sans-serif;
    font-size: .75rem;
    padding: 0 5px;
}

.ads-full-img {
    font-size: 12px;
    float: right;
    background: #3c64a2;
    color: #fff;
    padding: 6px 12px;
    width: fit-content;
    border-radius: .25rem;
    cursor: pointer;
}

.full-ad-image {
    width: 100%;
    padding: 2px;
    cursor: pointer;
}
.full-ad-image-select {
    border: 2px solid #3c64a2;
}


.ad-edit {
    cursor: pointer;
}

.select-holder {
    background-color: rgba(0,0,0,0.2);
    border: none;
    box-shadow: none;
    border-radius: 2px;
    box-sizing: border-box;
    padding: 0;
    position: relative;
    display: inline-block;
}

.trm-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: inherit;
    border: none;
    background-color: transparent;
    box-sizing: border-box;
    width: 140px;
    position: relative;
    padding: 5px;
    z-index: 1;
    font-size: 12px;
}

.arrow-select {
    bottom: 0;
    top: 0;
    margin: auto;
    right: 5px;
    border-top: 4px solid rgba(255,255,255,0.7);
    position: absolute;
    height: 0;
    width: 0;
    border-left: 3px solid transparent;
    border-right: 4px solid transparent;
    cursor: pointer;
}

.select-label {
    display: inline-block;
    font-family: Helvetica,sans-serif;
    font-size: .75rem;
    padding: 0 5px;
}

.copy-to-area {
    padding: 5px;
    background: #fff;
    box-shadow: rgb(182, 182, 182) -1px 1px 5px;
    color: #575757;
    font-size: 14px;
}


.stepwizard-step p {
    margin-top: 10px;
}

.stepwizard-row {
    display: table-row;
}

.stepwizard {
    display: table;
    width: 100%;
    position: relative;
}

.stepwizard-step button[disabled] {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}

.stepwizard-row:before {
    top: 25px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 1px;
    background-color: #ccc;
    z-order: 0;

}

.stepwizard-step {
    display: table-cell;
    text-align: center;
    position: relative;
}

.stepwizard-step > p {
    margin-bottom: 0px;
}
.stepwizard-step > p a img {
    width: 150px;
    max-width: 150px;
}

.btn-circle {
  width: 50px;
  height: 50px;
  text-align: center;
  padding: 15px 0;
  font-size: 12px;
  line-height: 1.428571429;
  border-radius: 25px;
  background-color: #F7F4F2;
  color: #000;
  border: none;
}

.btn-circle.active {
    color: #fff;
    background-color: #3c64a2;
    border-color: #3c64a2;
}

.trm-card-header {
    background-color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 2px solid #3c64a2;
}

.card.ad-advertiser-card {
    margin-left: 0px !important;
    margin-right: 0px !important;
    border: none;
}

.card.ad-advertiser-card .card-header {
    background-color: #fff;
    padding: 5px 2px;
}
.card.ad-advertiser-card .card-header h2 > button {
    font-weight: bold;
    color: #000;
}

.card.ad-advertiser-card .collapse {
    background-color: #E2E2E2;
}
.btn-xxs {
    padding: 0px 3px;
    font-size: 12px;
}

table.trm-table thead th {
    border-bottom: none;
}

table.trm-table tbody tr td {
    border-top: 1px solid #ced4da;
}

.checkbox-1x {
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
}

.pdf-gallery-checkbox {
    position: absolute;
    top: 20px;
    right: 25px;
}
.btn-plain {
    color: #325386;
    text-decoration: underline;
}
.btn-plain:hover {
    text-decoration: none;
    color: #325386;
}
.overdue {
    color: red;
    font-weight: bold;
}

i.placement-menu-toggle {
    background: #fff;
    padding: 3px;
    border: 1px solid gray;
    margin-right: 25px;
    border-radius: 50%;
    font-weight: bold;
    color: gray;
    cursor: pointer;
    z-index: 100;
}

i.placement-menu-toggle:hover {
    color: #000;
}

.dropdown-menu.placement-menu {
    position: absolute;
    top: 25px;
    left: inherit;
    max-width: 200px;
    padding: 10px;
    right: 25px;
    float: right;
}

.slider-container {
    max-height: 100%;
    overflow-y: scroll;
}

.iconpicker-popover.fade {
    opacity: 1;
}

.ad-img-container {
    display: block;
    position: relative;
}

.ad-img-container > .placement-label {
    background: #f4f4f4;
    padding: 3px 5px;
    font-size: 11px;
    position: absolute;
    bottom: 5px;
    left: 0px;
    border-radius: 5px;
    font-weight: bold;

}
i.icon-col-1-2 {
    display: block;
    background: url('/images/1-2.svg') no-repeat;
    background-position: center;
    min-height: 40px;
    background-size: 70px;
}

i.icon-col-1-1 {
    display: block;
    background: url('/images/1-1.svg') no-repeat;
    background-position: center;
    min-height: 40px;
    background-size: 70px;
}
i.icon-col-1-1-1 {
    display: block;
    background: url('/images/1-1-1.svg') no-repeat;
    background-position: center;
    min-height: 40px;
    background-size: 70px;
}

.no-href-anchor {
    text-decoration: none;
}
.no-href-anchor:hover {
    cursor: pointer;
    text-decoration: underline !important;
}
.modal-md {
    max-width: 800px;
    width: 800px;
}

.nav-link.active {
    text-decoration: underline;
    text-decoration-color: #3c64a2;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
}

/** article statuses**/
.article-status-1 {
    color: var(--light);
    background-color: #dbdbdb;
    border-radius: 5px;
}

.article-status-2 {
    color: var(--yellow);
    background-color: var(--yellow);
    border-radius: 5px;
}

.article-status-3 {
    color: #003366;
    background-color: #003366;
    border-radius: 5px;
}

.article-status-4, .article-status-6 {
    color: var(--teal);
    background-color: var(--teal);
    border-radius: 5px;
}

.article-status-5 {
    color: #4A4A4A;
    background-color: #4A4A4A;
    border-radius: 5px;
}

.article-status-10 {
    color: red;
    background-color: red;
    border-radius: 5px;
}

button.article-save.toolbar {
    border: none;
}
button.article-save.toolbar:hover {
    background: none;
    border: none;
}

.alert.pdf-form-duplicate-article {
    background-color: #D5DFFF;
    color: #5B5E66;
}

.alert.pdf-form-duplicate-article a {
    color: #3D65A2;
}
.text-underline {
    text-decoration: underline;
}

i.quote {
    background-image: url('/images/quote.png');
    display: block;
    width: auto;
    height: 45px;
    background-size: 35px;
    background-repeat: no-repeat;
    background-position: center center;
}

i.float-img-right {
    background-image: url('/images/floating-image-right.png');
    display: block;
    width: auto;
    height: 45px;
    background-size: 35px;
    background-repeat: no-repeat;
    background-position: center center;
}

i.float-img-left {
    background-image: url('/images/floating-image-left.png');
    display: block;
    width: auto;
    height: 45px;
    background-size: 35px;
    background-repeat: no-repeat;
    background-position: center center;
}

i.understitial-ad {
    background-image: url('/images/understitial-ad.png');
    display: block;
    width: auto;
    height: 45px;
    background-size: 35px;
    background-repeat: no-repeat;
    background-position: center center;
}

i.floating-ad {
    background-image: url('/images/floating-ad.png');
    display: block;
    width: auto;
    height: 45px;
    background-size: 35px;
    background-repeat: no-repeat;
    background-position: center center;
}

i.carousel-ad {
    background-image: url('/images/carousel-ad.png');
    display: block;
    width: auto;
    height: 45px;
    background-size: 35px;
    background-repeat: no-repeat;
    background-position: center center;
}

.google-preview .card-title {
    color: #1a0dab;
    font-size: 20px;
}

.google-preview .card-subtitle {
    color: #006621;
}

.google-preview .card-text {
    font-family: arial,sans-serif;
    font-size: 14px;
    color: rgb(77, 81, 86);
}

.card.pdf-gallery-item.selected-gallery-item {
    background-color: #6C7AD8;
}

.card.pdf-gallery-item.added-gallery-item {
    background-color: #DBDBDB;
}

.card.pdf-gallery-item.selected-gallery-item > .card-footer {
    color: #fff;
}
.fa-trash-o::before {
    content: "\f2ed";
}

.ad-card, .ad-card > div {
    z-index: 10 !important;
}

#uploadPdfBtn {
    margin-top: 30px;
}

.dashboard-stats-col, .dashboard-stats-col > * {
    font-size: 14px;
}

@media(max-width: 1280px) {
    #uploadPdfBtn {
        margin-top: 10px;
        font-size: 10px;
    }
}

.draggable-row {
    cursor: move;
}

i.dashboard-icon {
    display: block;
    background: url('/images/dashboard-icon.png') no-repeat;
    background-position: center;
    min-height: 25px;
    background-size: 25px;
    width: 25px;
}

.box-regular {
    border-radius: 6px;
    box-shadow:#D0D0D0 0px 1px 3px;
    padding: 8px 5px;
}

.smiley-face {
    background-image: url('/images/smiley-faces.png');
}

.smiley-face.sad {
	display: block;
	width: 26px;
	height: 32px;
	background-position: 0px 0px;
	background-size: 75px;
	background-repeat: no-repeat;
	background-position-x: 0px;
	background-position-y: 0px;
}
.smiley-face.neutral {
	display: block;
	width: 25px;
	height: 32px;
	background-position: 0px 0px;
	background-size: 75px;
	background-repeat: no-repeat;
	background-position-x: -25px;
	background-position-y: 0px;
}

.smiley-face.happy {
	display: block;
	width: 25px;
	height: 32px;
	background-position: 0px 0px;
	background-size: 75px;
	background-repeat: no-repeat;
	background-position-x: -49px;
	background-position-y: 0px;
}

.seo-content-preview img, .seo-content-preview > img {
    display: none;
}
.seo-content-preview .trm-print-header img {
    display: block;
    width: 100%;
}

.keyword-badge {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: normal;
    margin-right: 5px;
    padding: 8px 15px 9px 15px;
}
.hide-duplicates {
    position: absolute;
    top: 10px;
    right: -50px;
    z-index: 9;
    color: red !important;
    cursor: pointer;
}

.cursor-pointer {
    cursor: pointer;
}

.confirm-selection {
    background-color: #FFFAE3;
    border: 1px dashed #000;
    position:absolute;
    z-index: 200;
    border-radius: 6px;
}

#article-hubpage-image {
    position: inherit;
}

i.banderole-element-icon {
    background-image: url('/images/megaphone.png');
    display: block;
    width: auto;
    height: 45px;
    background-size: 35px;
    background-repeat: no-repeat;
    background-position: center center;
}

i.link-box-icon {
    background-image: url('/images/connection.png');
    display: block;
    width: auto;
    height: 45px;
    background-size: 35px;
    background-repeat: no-repeat;
    background-position: center center;
}

.editor-tab-link {
    padding: 0.2rem !important;
}
.editor-tab-link.active {
    text-decoration: none;
}
.publisher-toast-success .toast-message {
    font-size: 16px;
}

#toast-container.publisher-toast-success > div {
    width: 400px !important;
}
