h2.title-section {
  padding: 12px;
  width: 100%;
  border-bottom: 1px solid #cbcbcb;
}

button {
  margin-left: 0 !important;
}

input:invalid {
  border: 2px red solid;
}

.btn-outline-purple {
  color: #fff !important;
  background-color: #8735dc !important;
  border-color: #8735dc !important;
}

.f-20 {
  font-size: 20px !important;
}

.table {
  font-size: .9rem;
  font-family: "Avenir Next W01","Lato",-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

.table input[type="search"] {
  border-color: #e2e4ef;
  border-radius: 30px !important;
  height: calc(1.7rem + 4px);
  padding: 0.25rem 0.5rem;
  font-size: .8rem;
  line-height: 1.5;
}

.cursor-pointer {
  cursor: pointer !important;
}

.total-selected {
  font-weight: 300 !important;
}

.list-group.tab-menu {
  width: 100% !important;
  flex-direction: row !important;
  -ms-flex-direction: row !important;
  margin-top: 25px !important;
}

.list-group.tab-menu .list-group-item {
  border: 0 !important;
  border-top-left-radius: inherit !important;
  border-top-right-radius: inherit !important;
  border-bottom-left-radius: unset !important;
  border-bottom-right-radius: unset !important;
  padding: 10px !important;
}

.list-group.tab-menu .list-group-item.active {
  color: inherit !important;
  background-color: inherit !important;
  border-bottom: 3px solid !important;
  border-color: #007bff !important;
}

.list-group-item.disabled, .list-group-item:disabled {
  background-color: #dee2e6 !important;
}

.dropdown-menu {
  padding: 0 !important;
}

.dropdown-item {
  padding: 0.55rem 1.5rem !important;
}

.content-w {
  overflow: auto;
}

.sticky {
  position: sticky;
  top: 0;
}

.breadcrumb {
  background: none !important;
  margin: 0 !important;
}

.auth-box-w form {
  padding: 20px 70px !important;
}

.fb-container, .tiktok-container {
  margin: 30px 0 0;
}

.fb-container > div, .tiktok-container > div {
  margin-top: 10px;
}

.fb-start-stop {
  margin: 10px 0;
}

.fb-logo {
  margin: 15px auto;
  width: 50%;
}

.tiktok-logo {
  margin: 15px auto;
  width: 50%;
}

.notifyMessage {
  position: fixed;
  min-width: 250px;
  bottom: 6%;
  left: 4%;
  box-shadow: 0 0.15rem 0.45rem rgb(129 129 129) !important;
  z-index: 9999;
}

.schedule-table {
  width: 80%;
}

.schedule-header {
  font-size: 12px;
}

.schedule-rows td {
  width: 50px;
  height: 20px;
  margin: 3px;
  padding: 0;
  background-color: #df524d;
  cursor: pointer;
  font-size: 12px;
}

.schedule-rows td.time-slot {
  font-size: 16px;
  text-align: center;
  color: #FFFFFF;
  border: 1px solid;
}

.schedule-rows td.time-slot:hover {
  background-color: #28a74585;
}

.schedule-rows td:first-child {
  background-color: transparent;
  text-align: right;
  position: relative;
  top: 0;
}

.schedule-rows td[data-selected],
.schedule-rows td[data-selecting] { background-color: #28a745; }

.schedule-rows td[data-disabled] { opacity: 0.55; }

.bootstrap-tagsinput .badge-info { color: #fff; background-color: #007bff; }

#custom-metrics .bootstrap-tagsinput {
  padding: 7.5px 6px;
}

#custom-metrics .bootstrap-tagsinput input {
  width: 255px;
}

mark {
  color: #FFFFFF;
  background-color: #0168D9 !important;
  border-radius: 6px !important;
}

/* static conditional task */
.static-preview-disabled {
  background-color: #e9ecef;
}
.static-preview-timeframe {
  font-size: 12px;
}
.static-preview-conditions {
  margin-top: 10px;
  opacity: .4;
}
.static-preview-group {
  position: relative;
  padding-left: 20px;
}
.static-preview-group.OR::before {
  background: #238e70;
}
.static-preview-group::before {
  content: "";
  width: 6px;
  background: #1890ff;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  border-radius: 10px;
  opacity: .6;
}
.static-preview-condition::after {
  content: "";
  width: 15px;
  height: 1px;
  margin-left: -15px;
  background: #ccc;
  position: absolute;
}
.static-preview-condition {
  display: flex;
  align-items: center;
  margin-top: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
}
.static-preview-condition > div {
  margin-right: 10px;
  padding: 5px 10px;
}
.static-preview-condition > div.static-preview-logic {
  opacity: 1;
  font-weight: 400;
  color: #b1b1b1;
}
.static-preview-op-condition {
  padding: 2px 8px 4px 4px;
  opacity: .6;
  font-size: 11px;
  color: #fff;
  display: inline-block;
  margin-top: 10px;
  border-radius: 0 50px 50px 0;
  margin-left: -14px;
  font-weight: 700;
  transition: .3s;
}
.static-preview-condition.subgroup {
  border: none !important;
}
.static-preview-subcondition {
  position: relative;
  padding-left: 20px !important;
  width: 100%;
}
.static-preview-subcondition.OR::before {
  background: #238e70;
}
.static-preview-subcondition::before {
  content: "";
  width: 6px;
  background: #1890ff;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  border-radius: 10px;
  opacity: .6;
}
/* end static conditional task */
/* dynamic conditional task */
.no-bg-bd {
  background: transparent !important;
  border: 0 !important;
}
.type-or-bg-bd {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
}
.conditional-task {
  width: 20px;
  padding: 0;
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
  background-color: #1890ff;
  border: 1px solid #1890ff;
  text-shadow: 0 -1px 0 rgb(0 0 0 / 12%);
  box-shadow: 0 2px 0 rgb(0 0 0 / 5%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}
.type-conditional-task:hover, .add-conditional-task:hover {
  background: hsla(0,0%,100%,.3);
}
.type-conditional-task {
  height: calc(100% - 24px);
  display: flex;
  justify-content: center;
  cursor: pointer;
  transition: all .3s;
}
.type-conditional-task span {
  height: auto;
  display: flex;
  transform: rotate(270deg);
  align-items: center;
  font-size: 11px;
}
.add-conditional-task {
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all .3s;
}
.os-icon-task {
  font-size: 18px;
  font-weight: bold;
}
.add-pop-task div:hover {
  background: #EEE;
}
.add-pop-task div {
  font-size: 14px;
  cursor: pointer;
}
.form-task {
  width: 100%;
  margin-left: 14px;
}
.no-shadow {
  box-shadow: none !important;
}
.form-item-task::before {
  content: "";
  height: 1px;
  width: 14px;
  background: #bbb;
  position: absolute;
  left: -14px;
}
.form-item-task:hover .form-action-task .os-icon-task {
  display: unset;
}
.form-item-task {
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 4px;
  /* border-top: 1px solid rgba(18,18,18,.05); */
  background: #fff;
  box-shadow: 0 1px 4px rgb(0 0 0 / 10%);
}
.level-task {
  display: flex;
  width: 100%;
  margin: 20px 0;
  background: transparent;
  border-top: 0;
  border-radius: 4px;
  box-shadow: none;
}
.components-task {
  border: 1px solid #EEE;
}
.form-metric-task select {
  padding: 9px;
  margin: 2px 4px;
  width: 98%;
  border: 0;
}
.form-operator-task select {
  padding: 9px;
  margin: 2px 4px;
  width: 93%;
  border: 0;
}
.form-value-task .input-prepend, .form-value-task .input-append {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10%;
}
.form-value-task input {
  padding: 10px 15px;
  margin: 0;
  width: 80%;
  border: 0;
}
.form-action-task {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 10px;
  border-radius: 0 4px 4px 0;
  z-index: 1;
  margin-bottom: 0;
  flex: 1 1;
}
.form-action-task .os-icon-task:hover {
  opacity: 1;
}
.form-action-task .os-icon-task {
  opacity: .4;
  cursor: pointer;
  display: none;
}
.form-dynamic-conditional {
  width: 100%;
  border: 1px solid rgba(18,18,18,.1);
  border-radius: 8px;
  background: #fff;
  overflow: visible;
  box-shadow: 0 0 6px rgb(0 0 0 / 8%);
  padding: 20px;
}
.form-dynamic-conditional .form-row {
  margin: 5px 0 25px;
}
.action-task {
  padding: 10px;
}
.action-task:hover {
  background: #eee;
  border-radius: 8px;
  cursor: pointer;
}
.counter-action-task {
  padding: 10px;
  background: #f0f4f8;
  border-radius: 8px;
}
.counter-action-task:hover {
  background: #d5e4f2;
  border-radius: 8px;
}
.action-label {
  font-weight: bold;
  margin-bottom: 16px;
}
.btn-action-task {
  width: 45px;
  height: fit-content;
  padding: 14px !important;
  font-size: 14px !important;
}
.btn-action-task-modal {
  margin-right: 14px;
  width: 40px;
  padding: 12px !important;
  font-size: 12px !important;
}
.btn-action-task-modal-param {
  width: 65px;
  padding: 20px !important;
  font-size: 20px !important;
  cursor: default !important;
}
.action-task .input-group .action-txt, .counter-action-task .input-group .counter-action-txt {
  width: 90%;
  margin-left: 10px;
  font-size: 16px;
}
.action-task-modal-param .container .row {
  margin: 20px 0;
}
.action-task-modal-param .container .row:nth-child(2) .col {
  font-size: 26px;
}
.action-task-modal-param .container .row:nth-child(2) .col small {
  font-size: 14px;
}
/* end dynamic conditional task */

.edit-duplication-badge {
  font-size: 14px !important;
  font-weight: normal !important;
  padding: 7px 12px !important;
  margin-top: 10px;
}
.edit-duplication-badge small {
  font-size: 14px !important;
}

/* custom filepond */
ul#edit-adcreative-media-preview > li {
  display: inline-block;
}
ul#edit-adcreative-media-preview.filepond--file-poster-wrapper canvas {
  background-image: linear-gradient(#616161, #ffff0000);
}
.filepond--drop-label {
  border: 1px dashed;
  border-radius: 0.45em;
}
.filepond--root .filepond--list-scroller {
  height: 165px !important;
  top: 15px !important;
}

/* media selector */
.media-load {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.9);
}
.media-load div {
  position: absolute;
  left: 48%;
  top: 40%;
  width: 40px;
  height: 40px;
}
.media-selector {
  overflow: auto;
  max-height: 250px;
}
.media-selector .image-checkbox {
  cursor: pointer;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border: 3px solid transparent;
  box-shadow: 0 0 4px #ccc;
  outline: 0;
  margin: 4px 6px;
  border-radius: 12px;
}
.media-selector .video-link, #selected-media-preview .video-link, #edit-adcreative-media-index .video-link {
  position: relative;
}
.media-selector .video-link::after, #selected-media-preview .video-link::after, #edit-adcreative-media-index .video-link::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: url("../images/play-btn.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 25%;
  filter: drop-shadow(0 0 10px rgba(0,0,0,.4));
}
#selected-media-preview div {
  margin: 0;
  border-radius: 0;
}
#selected-media-preview ul > li {
  display: inline-block;
}
#selected-media-preview ul {
  margin: 0;
  padding: 0;
}
#selected-media-preview .image-preview {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border: 3px solid transparent;
  box-shadow: 0 0 4px #ccc;
  outline: 0;
  margin: 4px 6px;
  border-radius: 12px;
}
.media-selector .image-checkbox-checked {
  border-color: #2196f3;
}
.media-selector .image-checkbox img {
  border-radius: 8px;
  max-height: 100px !important;
  max-width: -webkit-fill-available;
}
#selected-media-preview .image-preview img {
  border-radius: 8px;
  max-height: 50px !important;
  max-width: -webkit-fill-available;
}
.media-selector .image-checkbox i {
  display: none;
  color: #2196f3;
}
.media-selector .image-checkbox-checked {
  position: relative;
}
.media-selector .image-checkbox-checked i {
  display: block;
  position: absolute;
  top: 10px;
  right: 10px;
}

/* image filter modal */
.filter-reset {
  position: absolute;
  right: 15px;
  top: -1px;
  padding: 0 !important;
}
.range-filter-input {
  position: absolute;
  right: 0;
  text-align: end;
}
.range-color-rgb {
  position: relative;
  z-index: 1;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-radius: 0.5em;
  background-color: rgba(0, 0, 0, 0.1);
  height: 0.5em;
  width: 100%;
  display: block;
  outline: none;
  margin: 6px auto;
  transition: color 0.05s linear;
  background: linear-gradient(to right, red, yellow, lime, aqua, blue, fuchsia, red);
}
.range-color-rgb:focus {
  outline: none;
}
.range-color-rgb:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 1px #fff, none
}
.range-color-rgb:focus::-moz-range-thumb {
  box-shadow: 0 0 0 1px #fff, none
}
.range-color-rgb:focus::-ms-thumb {
  box-shadow: 0 0 0 1px #fff, none
}
.range-color-rgb::-moz-focus-outer {
  border: 0
}
.range-color-rgb:active, .range-color-rgb:hover {
  cursor: pointer;
  cursor: -webkit-pointer;
}
.range-color-rgb::-ms-thumb {
  width: 1rem;
  height: 1rem;
  margin-top: 0;
  margin-right: .2rem;
  margin-left: .2rem;
  background-color: #047bf8;
  border: 0;
  border-radius: 1rem;
  -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  appearance: none;
}
.range-color-rgb::-webkit-slider-thumb {
  width: 1rem;
  height: 1rem;
  margin-top: -.25rem;
  background-color: #047bf8;
  border: 0;
  border-radius: 1rem;
  -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  -webkit-appearance: none;
  appearance: none;
}
.range-color-rgb::-webkit-slider-thumb:active, .range-color-rgb::-webkit-slider-thumb:hover:active {
  background-color: #b1d6fe;
}
.range-color-rgb::-moz-range-thumb {
  width: 1rem;
  height: 1rem;
  background-color: #047bf8;
  border: 0;
  border-radius: 1rem;
  -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  -moz-appearance: none;
  appearance: none;
}
.range-color-rgb::-moz-range-thumb:active, .range-color-rgb::-moz-range-thumb:hover:active {
  background-color: #b1d6fe;
}
.range-color-rgb::-ms-fill-lower {
  background-color: #dee2e6;
  border-radius: 1rem;
}
.range-color-rgb::-ms-fill-upper {
  margin-right: 15px;
  background-color: #dee2e6;
  border-radius: 1rem;
}
.photo-frame {
  display: flex;
  align-items: start;
  justify-content: center;
}
.photo-frame .photo-img {
	width: 400px;
	height: 400px;
	object-fit: cover;
}
.photo-frame figure {
	margin: 0;
	text-align: center;
}

@media (min-width: 700px) {
	header h1 {
		font-size: 48px;
	}
	.photo-frame figure {
		text-align: left;
		margin: 1em auto;
		position: relative;
		background-color: #fff;
		width: 440px;
		padding: 20px;
		height: 500px;
		vertical-align: bottom;
		box-shadow: 2px 2px 8px rgba(0,0,0,0.6), inset 0 0 30px rgba(0,0,0,0.2);
	}
	.photo-frame figcaption {
		color: #333;
		font-size: 1.8em;
		line-height: 2;
		padding: 10px;
		text-align: center;
		font-weight: 400;
	}
}

/* Saved Filter Effects */
nav.saved-filters {
	position: relative;
  bottom: 0;
  text-align: center;
  width: 100%;
  padding: .75em 0 .5em;
  box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 60%), inset 0 0 20px rgb(0 0 0 / 20%);
}
nav.saved-filters #filterButtons {
  text-align: center;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 0 .5em;
}
nav.saved-filters .filter {
  display: inline-block;
  position: relative;
  margin: 5px 8px;
  border-radius: 8px;
  box-shadow: inset 0 0 10px #000;
  height: 72px;
  width: 72px;
  cursor: pointer;
  background: #047bf8 no-repeat 0 0;
  background-size: cover;
}
nav.saved-filters .filter:hover {
	box-shadow: 0 0 12px #000;
}
nav.saved-filters .filter img {
  height: 72px;
  width: 72px;
  border-radius: 7px;
}
nav.saved-filters .filter.filter-selected img {
  border: 4px solid #000;
}
nav.saved-filters .filter i.filter-selected {
  display: none;
  color: #000;
  text-shadow: 1px 1px 1px #000;
}
nav.saved-filters .filter i.filter-remove {
  display: block;
  position: absolute;
  margin-top: -5px;
  margin-left: 60px;
  cursor: pointer;
  width: 20px;
  height: 20px;
  padding: 2px;
  border-radius: 10px;
  background-color: #000;
  color: #fff;
}
nav.saved-filters .filter.filter-selected i.filter-selected {
  display: block;
  position: absolute;
  top: 25px;
  right: 25px;
}
nav.saved-filters .filter-tag {
  color: #fff;
  font-size: .8em;
  text-shadow: 1px 1px 1px #000;
  text-align: center;
  margin-top: -20px;
}

/* daterangepicker */
.daterangepicker .active {
  color: #fff !important;
  background-color: #007bff !important;
}

/* ag grid custom */
.ag-theme-quartz {
  --ag-border-color: #babfc745 !important;
}

/* ads manager */
.mygrid-actions {
  display: flex;
  padding: 10px 20px 10px 20px;
}
.mygrid-actions .mygrid-actions-left-section, .mygrid-actions .mygrid-actions-right-section {
  display: flex;
  width: 50%;
}
.mygrid-actions .mygrid-actions-left-section {
  align-items: center;
  justify-content: left;
}
.mygrid-actions .mygrid-actions-right-section {
  align-items: center;
  justify-content: right;
}
.mygrid-actions .mygrid-actions-left-section button {
  margin-right: 15px;
}
.mygrid-actions .mygrid-actions-right-section button {
  margin-left: 15px;
}
.mygrid-tooltip {
  font-size: 13px;
  width: 200px;
  min-height: 70px;
  border-radius: 5px;
  background-color: #000;
  color: #f1f1f1;
  padding: 10px;
  overflow: hidden;
}

.channels div button {
  height: 32px;
}
.channels div .dropdown-menu {
  width: 350px;
  height: 250px;
  overflow: scroll;
}
.channels div .dropdown-menu .dropdown-item {
  cursor: pointer;
}
.channels div .dropdown-menu .dropdown-header {
  display: flex;
  align-items: center;
}
.channels div .dropdown-menu .dropdown-header img {
  width: 20px;
  margin-inline-end: 5px;
}
.channels div .dropdown-menu .dropdown-divider {
  margin: 0;
}
.channels div .channels-selected {
  width: 90%;
  display: flex;
  flex-wrap: wrap;
}
.channels div .channels-selected span {
  margin-left: 15px;
  margin-bottom: 7px;
  padding: 7px;
}
.channels div .channels-selected span img {
  width: 17px;
  margin-inline-end: 5px;
}
.channels div .channels-selected span i.remove {
  z-index: 99;
  position: absolute;
  margin-top: -15px;
  cursor: pointer;
  width: 20px;
  height: 20px;
  padding: 4px;
  border-radius: 100%;
  background-color: #000;
  color: #fff;
}
.launch-ads .container {
  background: white;
  padding-top: 6px;
  padding-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 0 1px #b2b2b2;
}
.load-more {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  background: #F8F9FA !important;
  padding: 7px;
  cursor: pointer;
}
.load-more:hover {
  background: #E2E6EA !important;
}

.video-container {
  position: relative;
}

video {
  width: 100%;
  height: auto;
  display: block;
}

.spinner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.4); /* semi transparan */
  z-index: 10;
}
