/* global definitions */
iframe {
  border: 0;
}

.font-color {
  color: #878787 !important;
}

.list-group-item .caption.card-body {
  min-height: auto;
}

.container-fluid .list-group-item {
  -ms-flex: 0 0 100%;
  background-color: rgba(255, 255, 255, 0);
  border: 0;
  -webkit-box-flex: 0;
  flex: 0 0 100%;
  float: none;
  margin-bottom: 30px;
  max-width: 100%;
  padding: 0 1rem;
  width: 100%;
}

.position-fixed {
  bottom: 0;
  right: 0;
  z-index: 10;
}

section {
  min-height: calc(100vh - 240px);
}

input[type="search"] {
  background: url("/assets/images/search.svg") no-repeat 15px;
}

/* definitions for card */
#forms .card-body,
#templates .card-body {
  min-height: 135px !important;
}

#forms .auto-card-body,
#templates .auto-card-body {
  -ms-flex: 1 1 auto;
  -webkit-box-flex: 1;
  flex: 1 1 auto;
  min-height: auto !important;
  padding: 1.25rem;
}

.card .card-body {
  min-height: 135px;
}

img.thumbnail {
  border    : 1px solid #d3d3d3;
  max-height: 95px;
  max-width : 78px;
}
img.thumbnail.asset-tiles {
  max-height: 120px !important;
  max-width : 210px !important;
}

img.fullthumbnail {
  border: 1px solid #d3d3d3;
}

.list-group-item .card-body {
  min-height: auto;
}

.list-group-item .thumbnail {
  max-height: 50px;
  max-width: 90px;
}

.grid-group-item {
  padding-left: 4px !important;
  padding-right: 4px !important;
}

.history {
  right: 10px;
  top: 10px;
}

/* definitions for list and grid toggle */
.onoffswitch a:hover {
  text-decoration: none;
}

.onoffswitch {
  width: 71px;
}

/* definitions for campaign and job status */
.status-bglgray {
  background-color: #d3d3d3 !important;
  border-radius: 15px;
  color: #000000 !important;
}

.status-bgbblue {
  background-color: #98afc7 !important;
  border-radius: 15px;
  color: #000000 !important;
}

.status-bglyellow {
  background-color: #fff380 !important;
  border-radius: 15px;
  color: #000000 !important;
}

.status-bglorange {
  background-color: #fbbbb9 !important;
  border-radius: 15px;
  color: #000000 !important;
}

.status-bglorchid {
  background-color: #ff83fa !important;
  border-radius: 15px;
  color: #000000 !important;
}

.status-bglgreen {
  background-color: #32cd32 !important;
  border-radius: 15px;
  color: #ffffff !important;
}

.status-bgred {
  background-color: #ff0000 !important;
  border-radius: 15px;
  color: #ffffff !important;
}

.status-working {
  background-color: #cccccc !important;
  border-radius: 15px;
  color: #000000 !important;
}

.status-overdue {
  background-color: #f9c6ca !important;
  border-radius: 15px;
  color: #000000 !important;
}

.status-pill {
  display: inline-block;
  margin-bottom: 0;
  margin-top: 0;
  max-width: 100%;
  padding: 1px 8px;
}

.w-inherit {
  width: inherit;
}

.mw100 {
  max-width: 100px;
}

a:hover {
  text-decoration: none !important;
}

.showthumbnail {
  z-index: 1;
}

/* 
   * the z-index of the footer needs to be higher than the value for the pagination elements
   * because o/w the page clicked (w/ class .page-item.active) is displayed over the footer (when scrolling)  
  */
.bottom-fixed {
  background-color: #ffffff !important;
  bottom: 0px;
  z-index: 999;
}

/* definitions for checkbox */
.container-checkbox {
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  display: block;
  padding-left: 32px;
  position: relative;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container-checkbox input {
  cursor: pointer;
  height: 0;
  opacity: 0;
  position: absolute;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  background-color: #ffffff;
  border: #4495ff 1px solid;
  height: 15px;
  left: 6px;
  position: absolute;
  top: 3px;
  width: 15px;
}

/* On mouse-over, add a gray background color */
.container-checkbox:hover input ~ .checkmark {
  background-color: #cccccc;
}

/* When the checkbox is checked, add a blue background */
.container-checkbox input:checked ~ .checkmark {
  background-color: #2196f3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  display: none;
  position: absolute;
}

/* Show the checkmark when checked */
.container-checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container-checkbox .checkmark:after {
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  border: solid #ffffff;
  border-width: 0 3px 3px 0;
  height: 10px;
  left: 4px;
  top: 1px;
  transform: rotate(45deg);
  width: 5px;
}

.category-checkmark {
  left: 8px;
  top: 8px;
}

.assets-container:nth-child(2n) {
  background: rgba(228, 228, 228, 0.24);
}

.status {
  background-color: #3179c7 !important;
  border-radius: 15px;
}

.nav-tabs {
  border-bottom: 0px !important;
}

ul.nav-tabs li a {
  color: #ffffff;
}

.table {
  table-layout: fixed;
}

#setting-tabs .tab-content {
  background-color: #428bca;
  color: #ffffff;
  padding: 5px 15px;
}

#setting-tabs .nav-pills > li > a {
  border-radius: 0;
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 400;
}

#setting-tabs .nav-pills li a.active {
  border-bottom: 3px solid #7bc431;
  padding-bottom: 2px;
}

#setting-tabs .nav-pills > li {
  margin: 8px 0 0;
}

#loading {
  bottom: 0;
  display: none;
  height: 2em;
  left: 0;
  margin: auto;
  overflow: visible;
  position: fixed;
  right: 0;
  top: 7%;
  width: 2em;
  z-index: 999;
}

.loading {
  background-color: rgba(0, 0, 0, 0.4);
  bottom: 0;
  cursor: pointer;
  display: none;
  height: 100%;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 2;
}

.loading-text {
  bottom: 0;
  color: #ffffff;
  height: 50px;
  left: 0;
  margin: auto;
  position: fixed;
  right: 0;
  text-align: center;
  top: 0;
  width: 250px;
}

span.loading-text {
  font-size: 30px;
  top: 38%;
}

.loading-text small {
  font-size: 17px;
}

.card-header h6 {
  display: block;
  position: relative;
}

.card-header h6:after {
  color: #007bff !important;
  content: "Expand";
  position: absolute;
  right: 0;
}

.card-header h6.remove-expand:after {
  content: "";
}

.card-header h6[aria-expanded="true"]:after {
  content: "Collapse";
}

h4 {
  color: #646466;
}

/* For the "Change Options" button in the footer, we're using dropup, but still want the arrow to point down */
.dropup .dropdown-toggle::after {
  border-top: .3em solid;
  border-bottom: 0;
}

.menuoptions > .dropdown-toggle::before {
  border: none !important;
}

button.custom_select_dropdown
  > div.filter-option
  > div.filter-option-inner
  > div.filter-option-inner-inner {
  color: #878787 !important;
}

.user-photo {
  background-color: #3179c7;
  min-height: 72px;
}

.list-group-item .user-photo {
  margin: 0 auto;
  max-width: 50%;
  min-height: 50px;
}

.alert-success {
  color: #155724 !important;
}

.alert-danger {
  color: #721c24 !important;
}

.alert-warning {
  color: #856404 !important;
}

.checkbox-td {
  width: 50px !important;
}

.action-td {
  width: 85px !important;
}

.action-td-150 {
  width: 150px !important;
}

.action-td-170 {
  width: 170px !important;
}

td.textbusinessdept {
  cursor: move;
}

ol.XLSX-headers {
  list-style-type: square;
}

@media screen and (min-width: 1360px) {
  .largescreen-left {
    margin-left: 10px;
  }
  .largescreen-right {
    margin-right: 10px !important;
  }
}

.navbar-brand img {
  padding: 5px;
}

.modal-confirm .icon-box {
  border: 3px solid #f15e5e;
  border-radius: 50%;
  height: 80px;
  margin: 0 auto;
  text-align: center;
  width: 80px;
  z-index: 9;
}

.modal-confirm .icon-box a {
  color: #f15e5e;
  display: inline-block;
  font-size: 46px;
  margin-top: 3px;
}

a.btn-outline-secondary {
  background-color: transparent;
  background-image: none;
  border-color: #6c757d;
  color: #6c757d !important;
}

.font-size-bold {
  font-size: 90%;
}

.thumb-min-height {
  min-height: 125px !important;
}

table td {
  cursor: auto;
}

.border-yellow-4px {
  border: 4px solid #ffff00 !important;
}

.border-lightgray-4px {
  border: 4px solid rgba(230, 230, 230, 0.62) !important;
}

#accordianSetting .card {
  background-color: #f8f8f8;
}

#accordianSetting .card-body {
  background-color: #ffffff;
}

.accordianSetting .card {
  background-color: #f8f8f8;
  border-bottom: 2px solid rgba(0, 123, 255, 0.42);
}

.accordianSetting .card-header {
  background-color: transparent;
  border-bottom: none;
}

.accordianSetting .card-body {
  background-color: #ffffff;
}

.accordianSetting h4 {
  padding-left: 18px;
}

.accordianSetting .card-header h6 {
  position: relative;
}

.accordianSetting .card-header .triangle-up::before {
  border-bottom: 14px solid #ff0000;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  content: "";
  height: 0;
  left: 0px;
  position: absolute;
  top: 9px;
  width: 0;
}

div.accordionOptions > form > div.card {
  background-color: rgba(255, 255, 255, 0);
}

div.accordionOptions > form > div.card > div.card-header {
  background-color: #ffffff;
  border-bottom: 1px solid #4495ff !important;
}

div.accordionOptions > form > div.card > div.card-header:first-child {
  border-radius: 3px !important;
}

div.accordionOptions > form > div.card > div.accordionbody > div.card-footer {
  background-color: #ffffff;
  border-top: none;
}

div.accordionOptions
  > form
  > div.card
  > div.accordionbody
  > div.card-footer
  > a.btn-light {
  color: #000000 !important;
}

div.accordionOptions > form > div.card > div.accordionbody > div.card-body {
  background-color: #ffffff;
  border-bottom: none;
  border-radius: 0;
  min-height: auto;
}

div.accordionOptions
  > form
  > div.card
  > div.accordionbody
  > div.card-body
  > table
  > tbody
  > tr:first-child
  > td {
  border-top: 0px;
}

div.accordionOptions > form > h4 {
  display: block;
  position: relative;
}

div.accordionOptions > form > h4:after {
  color: #4495ff !important;
  content: attr(data-afterContent);
  font-size: 15px;
  padding-top: 5px;
  position: absolute;
  right: 0;
}

div.accordionOptions > form > h4.remove-expand:after {
  content: "" !important;
}

select.text-align-last {
  -moz-text-align-last: end;
  text-align-last: end;
}

#hide-expand::after {
  font-size: 0;
}

nav.navbar div.collapse ul.menuheader li.nav-item > a {
  font-size: 1.3rem;
}

.notify-result {
  padding: 5px;
}

a.btn.btn-link {
  color: #007bff !important;
  cursor: pointer;
}

.index-job.header {
  background: rgba(255, 243, 128, 0.56) !important;
}

.container-fluid .jobdetails .list-group-item {
  margin-bottom: 0;
}

.assets-change img.thumbnail {
  max-width: 70px;
}

.resp-iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.w-30 {
  width: 30% !important;
}

.w-70 {
  width: 70% !important;
}

.w-90 {
  width: 90% !important;
}

.w-55px {
  width: 55px;
}

.w-73px {
  width: 73px !important;
}

.w-100px {
  width: 100px !important;
}

.w-120px {
  width: 120px !important;
}

.mw-65 {
  max-width: 65px !important;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5) !important;
  bottom: 0;
  cursor: pointer;
  height: 100%;
  left: 0;
  position: fixed !important;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 2;
}

.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
  left: 16px !important;
  right: auto !important;
}

.bootstrap-select.show-tick .dropdown-menu li a span.text {
  margin-left: 15px !important;
  margin-right: 0 !important;
}

#templateModal img {
  border: 1px solid #d3d3d3;
}

.mce-panel {
  float: left !important;
  width: 90% !important;
}

div.mce-edit-area {
  width: 100% !important;
}

small.max-width {
  max-width: 145px;
}

ul.dropdown-menu li span.badge.productCat,
ul.dropdown-menu li span.badge.subcategory {
  margin-left: 12px;
}

ul.innercat {
  max-height: 1000px;
  overflow-x: hidden;
  overflow-y: auto;
}

.catdropdown-menu ul li span.productCat {
  color: #212529;
  font-weight: normal;
}

.catdropdown-menu {
  border: none !important;
}

button.btn.catdropdown-toggle {
  background: #cccccc url(/assets/images/tag.svg) no-repeat 10px 6px;
  color: #000000 !important;
  line-height: 0;
  max-width: 80%;
  padding-left: 34px !important;
  padding-top: 11px;
}

.cat-searchbox {
  padding: 4px 8px;
}

.cat-searchbox .form-control {
  float: none;
  margin-bottom: 0;
  width: 100%;
}

.catdropdown-menu > ul > li {
  list-style: none;
  margin: 5px 0 0 0;
}

.catdropdown-menu ul.cataccordion li {
  list-style: none;
}

.catdropdown-toggle.dropdown-toggle:focus {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.dropdown-menu.catdropdown-menu {
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 0.25rem !important;
}

.templateCategory.dropdowncat {
  max-width: 100% !important;
}

.dropdowncat .dropdown-toggle::after {
  border: none;
}

.templateCategory .catdropdown-toggle.dropdown-toggle::after {
  position: absolute;
  right: -20px;
}

#autocompleteCat {
  background: transparent url(/assets/images/round-search.svg) no-repeat right
    5px center;
}

.admindropdowncat
  button.custom_select_dropdown
  > div.filter-option
  > div.filter-option-inner
  > div.filter-option-inner-inner {
  color: #ffffff !important;
}

.admindropdowncat .dropdown-toggle::after {
  border: none;
}

.whichcategories table {
  background-color: #eeeeee;
}

.whichcategories table.table-catheader {
  background-color: #ffffff;
}

.whichcategories tr.hide-sources {
  background: #ffffff;
}

#secondDivSect .card-body {
  overflow-x: scroll;
}

#secondDivSect.jobdetails {
  background: transparent !important;
}

.row.assets-container a.text-body {
  color: #000000 !important;
}

div.colorpicker {
  padding: 4px;
}

input[name="search"] {
  background: #4495ff 15px;
  border: 1px solid #3179c7;
  border-radius: 50px;
  color: #ffffff !important;
  padding-left: 45px;
}

input[name="search"]:focus {
  background-color: #4495ff;
  color: #ffffff;
}

input[name="search"]::-webkit-input-placeholder {
  color: #ffffff;
}

input[name="search"]::-moz-placeholder {
  color: #ffffff;
}

input[name="search"]::-ms-input-placeholder {
  color: #ffffff;
}

input[name="search"]::placeholder {
  color: #ffffff;
}

.switch-toggle {
  display: inline-block;
  position: relative;
  vertical-align: middle;
}

.switch-toggle .btn:first-child:not(:last-child):not(.dropdown-toggle) {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

.switch-toggle .btn:first-child {
  border-bottom-left-radius: 50px !important;
  border-top-left-radius: 50px !important;
  margin-left: 0;
}

.switch-toggle .btn-primary:hover {
  background-color: #0069d9 !important;
  border-color: #0062cc !important;
  color: #ffffff !important;
}

.switch-toggle .btn.endSwitch {
  border-bottom-right-radius: 50px !important;
  border-top-right-radius: 50px !important;
}

.switch-toggle .btn:focus,
.switch-toggle .btn.active:hover {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

.switch-toggle .btn {
  float: left;
  position: relative;
}

.switch-toggle .btn {
  background-image: none !important;
  border: 1px solid transparent !important;
  border-radius: 4px !important;
  display: inline-block !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.42857143 !important;
  margin-bottom: 0 !important;
  padding: 6px 12px !important;
}

.switch-toggle .btn-default {
  background-color: #ffffff !important;
  border-color: #cccccc !important;
  color: #333333 !important;
}

.disable-div {
  opacity: 0.4;
  pointer-events: none;
}

.switch-toggle .btn {
  background-color: #ffffff !important;
  border-color: #cccccc !important;
  color: #333333 !important;
}

.switch-toggle .btn-primary {
  background-color: #0062cc !important;
  border-color: #005cbf !important;
  color: #ffffff !important;
}

.search-box {
  position: relative;
}

.search-box img {
  position: absolute;
  right: auto;
  top: 8px;
}

.searchSect.search-box img {
  left: 6%;
}

input[name="search"].searchAsset,
.searchContainer {
  max-width: 200px !important;
}

.searchContainer.assetSearchContainer {
  max-width: 282px !important;
  width: 282px !important;
}

.searchuser {
  left: auto;
  position: absolute;
  right: auto;
  top: 8px;
}

.searchContainer {
  background: #4495ff 15px;
  border: 1px solid #3179c7;
  border-radius: 50px;
  color: #000000;
}

.searchContainer input.form-control {
  background: transparent !important;
  border: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  height: 35px;
}

.searchContainer input[name="searchbtn"] {
  position: relative;
  top: 6px;
}

.clearable {
  background: #3179c7 url(/assets/images/clear.svg) no-repeat right -20px center !important;
  background-size: 18px !important;
  -webkit-transition: background 0.4s !important;
  transition: background 0.4s !important;
}
.clearable.blackx {
  background-image: url(/assets/images/black-clear.svg) !important;
}

.clearable.x {
  background-position: right 10px center !important;
}

.clearable.onX {
  cursor: pointer !important;
}

.bottom-fixed.bottom-container {
  background: #4495ff !important;
}

.m-50h {
  min-height: 50px;
}

.list-group-item .card-body.m-50h {
  min-height: 50px;
}

.deleteform #confirm-msg {
  display: inline;
  position: relative;
}

.deleteform #confirm-msg span.text-truncate {
  display: inline-block;
  font-weight: bold;
  max-width: 168px;
  position: relative;
  top: 7px;
  width: auto;
  word-wrap: break-word;
}

.catdropdown-menu {
  -webkit-transform: translate3d(0, 36px, 0) !important;
  transform: translate3d(0, 36px, 0) !important;
}

.catdropdown-menu.translate3d0 {
  -webkit-transform: translate3d(0, 0, 0) !important;
  transform: translate3d(0, 0, 0) !important;
}

.catdropdown-menu > ul,
ul.cataccordion {
  max-width: 400px;
  overflow-x: hidden;
  overflow-y: auto;
}

form[name="choose-form"] .catdropdown-menu.dropdown-menu.defaultDrop,
form[name="choose-template"] .catdropdown-menu.dropdown-menu.defaultDrop {
  -webkit-transform: translate3d(0, 0, 0) !important;
  transform: translate3d(0, 0, 0) !important;
}

form[name="choose-form"] .catdropdown-menu.dropdown-menu,
form[name="choose-template"] .catdropdown-menu.dropdown-menu {
  -webkit-transform: translate3d(0, 35px, 0) !important;
  transform: translate3d(0, 35px, 0) !important;
}

.catdropdown-menu ul li span.productCat,
ul.cataccordion li span.productCat {
  border-radius: 0.25rem;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  padding: 0.25em 0.4em;
  text-align: center;
  vertical-align: baseline;
  -webkit-transition: color 0.15s ease-in-out,
    background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
    -webkit-box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  -webkit-transition: color 0.15s ease-in-out,
    background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
    -webkit-box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
    -webkit-box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
    -webkit-box-shadow 0.15s ease-in-out;
}

.overlayScroll {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.overridetitle {
  font-size: 12px !important;
  margin-top: 0;
  position: relative;
  top: -7px;
}

.disabledOveride .container-checkbox input:checked ~ .checkmark {
  background-color: #cccccc;
}

.disabledOveride .checkmark {
  background-color: #ffffff;
  border: #cccccc 1px solid;
}

.disabledOveride .container-checkbox.globalOption input:checked ~ .checkmark {
  background-color: #2196f3;
}

.disabledOveride .globalOption .checkmark {
  background-color: #ffffff;
  border: #4495ff 1px solid;
}

input[name="search"].form-control.clearsearch {
  background: #4495ff url(/assets/images/clear.svg) no-repeat right -20px center !important;
  background-size: 18px !important;
  -webkit-transition: background 0.4s !important;
  transition: background 0.4s !important;
}
input[name="search"].form-control.clearsearch.blackx {
  background-image: url(/assets/images/black-clear.svg) !important;
}

input[name="search"].form-control.clearsearch.x {
  background-position: right 0 center !important;
}

input[name="search"].form-control.clearsearch.onX {
  cursor: pointer !important;
}

form[name="forms"] input[name="search"].form-control.clearsearch.x,
form[name="templates"] input[name="search"].form-control.clearsearch.x {
  background-position: right 7px center !important;
}

.bootstrap-select button.btn.dropdown-toggle {
  background-color: #ffffff !important;
  border: 1px solid #ced4da !important;
  border-radius: 0.25rem !important;
  color: #000000 !important;
}

.bootstrap-select button.btn.dropdown-toggle .filter-option-inner-inner {
  padding-right: 5px;
}

.bootstrap-select .dropdown-menu {
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

#navbarSupportedContent ul.dropdown-menu {
  border: 3px solid #000000;
}

.productCateall span.productCat {
  margin-left: 9px !important;
  padding-left: 0 !important;
}

.cataccordion .status-working {
  margin-left: 4px;
}

.productCateall span.productCat.status-working {
  margin-left: 7px !important;
  padding-left: 4px !important;
}

.switch-hide_logo label.selected {
  background-color: #4495ff;
}

.switch-hide_logo label.selected span {
  background: #4495ff;
  color: #ffffff;
}

.field.switch {
  border: 1px solid #4495ff;
  border-radius: 40px;
  display: inline-block;
  margin: 0;
  margin-top: 0;
}

.cb-collapse {
  float: left;
}

.switch-hide_logo label {
  background-color: #ffffff;
  border-radius: 40px;
  color: #22b2d6;
  cursor: pointer;
  margin: 0;
  padding: 0 5px;
}

.assets-container .font-smaller {
  font-size: 12px;
  margin-bottom: -1px;
  padding: 2px 0;
}

#template_thumbnail {
  max-width: 100%;
}

#form_thumbnail {
  border: 1px solid #d3d3d3;
  max-height: 480px;
  max-width: 100%;
  overflow: auto;
}

button:hover {
  background: #0000ff;
}

#templates a,
#forms a,
#templates a:hover,
#forms a:hover {
  color: #000000;
}

.topdist {
  top: 15px;
}

body .popover {
  cursor: auto;
  margin-bottom: 0;
  top: -4px !important;
  z-index: 9999999;
  border: 2px solid #000000 !important;
  border-radius: 0;
}

.popover .arrow {
  display: none !important;
}

.popover > .popover-body {
  background-color: #ffffff !important;
  border-color: 1px solid #000000 !important;
  color: #000000 !important;
}

.item {
  z-index: 1;
}

.recent-approval li {
  margin-bottom: 8px;
}

.recent-approval span {
  font-size: 90%;
  word-break: break-all;
}

.recent-approval ul {
  margin-bottom: 0;
}

.card-body.recent-approval {
  min-height: auto;
}

.recent-approval li:last-child {
  margin-bottom: 0;
}

.signin-form .btn-success {
  background-color: #79ca01 !important;
  border-color: #155724 !important;
  color: #ffffff !important;
}

.signin-form input.btn-success:hover {
  color: #ffffff !important;
}

.btn-link.focus,
.btn-link:focus,
.btn-link:hover {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

#templates .page-item .page-link:hover,
#templates .page-item.active .page-link,
#forms .page-item .page-link:hover,
#forms .page-item.active .page-link {
  z-index: 1;
}

#adminuserformprofile .position-absolute {
  top: -1px;
  z-index: 9;
}

.nonePointer {
  pointer-events: none !important;
}

.disabledOveride .enableblue .container-checkbox input:checked ~ .checkmark {
  background-color: #2196f3;
}

div.card-header {
  font-style: italic;
}

#clientdetails_database .input-group-addon:not(:first-child) {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  padding: 10px;
  position: absolute;
  right: 12px;
  top: 8px;
}

.navbar-expand-lg #navbarSupportedContent .lingo-space a.nav-link {
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}

/* definitions for header */
.header {
  background-color: #4495ff !important;
  color: #ffffff !important;
}

.header-max {
  max-width: 1340px;
}

.header .navbar-nav li:hover > ul.dropdown-menu {
  display: block;
}

.header .dropdown-submenu {
  position: relative;
}

.header .dropdown-submenu > .dropdown-menu {
  margin-right: -1px;
  margin-top: -1px;
  top: 0;
}

/* rotate caret on hover */
.header .dropdown-menu > li > a:hover:after {
  text-decoration: underline;
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

nav.navbar a.navbar-brand {
  background: #cccccc;
  border-radius: 4px;
  padding: 0 3px;
}

nav.navbar a.navbar-brand img {
  height: 50px;
}

nav.navbar form.form-inline img {
  position: absolute;
}

nav.navbar form.form-inline img.searchhead {
  cursor: pointer;
  margin-left: 10px;
  margin-top: 1px;
}

nav.navbar form.form-inline img.calenderhead {
  cursor: pointer;
  margin-left: 38px;
  max-height: 20px;
}

nav.navbar form.form-inline input#searchfrom,
nav.navbar form.form-inline input#searchto {
  width: 218px;
}

nav.navbar form.form-inline input#globalsearch {
  background-color: #3179c7;
  border: 1px solid #3179c7;
  border-radius: 50px;
  color: #ffffff !important;
  padding-left: 70px;
  width: 100%;
}

nav.navbar form.form-inline input#globalsearch::-webkit-input-placeholder {
  color: #ffffff !important;
  opacity: 1;
}

nav.navbar form.form-inline input#globalsearch::-moz-placeholder {
  color: #ffffff !important;
  opacity: 1;
}

nav.navbar form.form-inline input#globalsearch::-ms-input-placeholder {
  color: #ffffff !important;
  opacity: 1;
}

nav.navbar form.form-inline input#globalsearch::placeholder {
  color: #ffffff !important;
  opacity: 1;
}

nav.navbar form.form-inline input#globalsearch:-ms-input-placeholder {
  color: #ffffff !important;
  padding-left: 30px;
}

nav.navbar form.form-inline input#globalsearch::-ms-input-placeholder {
  color: #ffffff !important;
  padding-left: 30px;
}

nav.navbar div.collapse ul.menuheader li.nav-item a.nav-link {
  border-bottom: 3px solid #4495ff;
  color: #ffffff !important;
}

nav.navbar div.collapse ul.menuheader li.nav-item a.nav-link:hover {
  border-bottom: 3px solid #7bc431;
  color: #ffffff;
}

nav.navbar div.collapse ul.menuheader li.nav-item a.active {
  border-bottom: 3px solid #7bc431;
  color: #ffffff;
}

nav.navbar div.collapse ul.avatarheader li.nav-item a.nav-link {
  background-color: #3179c7;
  border-radius: 50%;
  color: #ffffff !important;
  font-size: x-large;
  height: 55px;
  padding: 5px;
  text-align: center;
  width: 55px;
}

nav.navbar
  div.collapse
  ul.avatarheader
  li.nav-item
  a.nav-link
  img.rounded-circle {
  height: 45px;
  width: 45px;
}

nav.navbar div.collapse ul.avatarheader li.nav-item a.nav-link h3.username {
  padding-top: 6px;
}

nav.navbar div.collapse ul.avatarheader li.nav-item a.dropdown-toggle::after {
  display: none;
}

nav.navbar
  div.collapse
  ul.avatarheader
  li.nav-item
  div.dropdown-menu
  .dropdown-item {
  padding: 0.1rem 1.5rem;
}

nav.navbar div.collapse ul.avatarheader li.nav-item div.dropdown-menu span {
  color: #808080;
  font-size: 10px;
}

/* No greater than 1245px, no less than 991px */
@media (max-width: 1245px) and (min-width: 991px) {
  .navbar .mr-md-5,
  .navbar .mx-md-5 {
    margin-right: 1rem !important;
  }
}

@media (max-width: 1245px) and (min-width: 991px) {
  .navbar .ml-md-5 {
    margin-left: 1rem !important;
  }
}

/* definitions for footer */
footer {
  background-color: rgba(0, 123, 255, 0.5) !important;
  border: 3px solid #4495ff;
  border-radius: 5px;
  -webkit-box-shadow: inset 0 0 5px #4495ff, 0 1px 0 rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 5px #4495ff, 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #ffffff !important;
}

/* definitions for light and dark themes */
.tm-light .showsortingmenu.custom-select {
  background-color: transparent;
}

.tm-dark .tm-dark-text,
.tm-dark
  button.custom_select_dropdown
  > div.filter-option
  > div.filter-option-inner
  > div.filter-option-inner-inner {
  color: #ffffff !important;
}

.tm-dark button.btn.catdropdown-toggle.tm-dark-text {
  color: #ffffff !important;
}

/* Button CSS copied from _global.css from admin.santacruzsoftware.com */
.btn {
  font-family: Roboto, Arial, sans-serif;
}

.btn-success,
.btn-success:hover,
.btn-success:focus {
  background-color: #79ca01;
  border-color: #155724;
  border-width: 2px;
  color: #ffffff;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus {
  background-color: #007bff;
  border-color: #1a336e;
  border-width: 2px;
  color: #ffffff;
}

.btn-danger,
.btn-danger:hover,
.btn-danger:focus {
  background-color: #dc3545;
  border-color: #761822;
  border-width: 2px;
  color: #ffffff;
}

a.btn,
a.btn:hover,
button.btn,
input.btn,
input.btn:hover {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

a.btn,
a.btn:hover,
button.btn,
input.btn,
input.btn:hover {
  border-radius: 5px;
}

.bg-secondary {
  background-color: #d3d3d3;
}

.bg-success {
  background-color: #79ca01 !important;
}

.bg-success.action {
  padding: 1em 1em;
}

.button-highlight {
  -webkit-border-radius: 20px;
  background-color: #e4e4e4;
  border-radius: 20px;
  color: #000000;
  cursor: default;
  display: inline;
  padding: 2px 9px 4px;
  text-decoration: none;
}

/*
 * Similar to the one above, but without the colors, that will be added with the class header-element in the client css
 * The padding comes from .status-pill
 */
.header-pill {
  -webkit-border-radius: 20px;
  border-radius: 20px;
  cursor: default;
  display: inline;
  padding: 1px 8px;
  text-decoration: none;
}

/* all tiles and rows in grid and list views */
div.assets-container h4,
div.assets-container th,
div.assets-container td {
  cursor: default !important; /* change cross-hairs to arrow */
}
/* apparently it's not enough to say something like "td.redirect" without the "div.assets-container" because then the !important of the prev definition would override! */
div.grid-group-item,
div.assets-container td div.openTemplateImage,
td div.openTemplateImage,
div.assets-container td div.formopenTemplateImage,
td div.formopenTemplateImage,
div.assets-container td div.openPackageImage,
td div.openPackageImage,
div.assets-container td.redirect,
td.redirect,
div.assets-container td div.redirect,
td div.redirect {
  cursor: pointer !important;
}

.tooltip.show,
.tooltip-inner {
  opacity: 1 !important;
}

.tooltip-inner img {
  max-height: 125px;
}

.little-circle {
  position: absolute;
  border-radius: 50%;
  display: inline-block;
  font-size: 75%;
  padding: 0.25em 0.4em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  margin-left: -0.25rem;
  margin-top: -0.25rem;
  background-color: #4495ff;
  color: white;
}

/* For docked category droppdowns */
.sidebar-menu
{
  width     : 100%;
  max-height: calc(100vh - 50px);
  overflow-y: auto;
  position  : static !important;
  transform : none !important;
}

/* To override the definition in bootstrap's _rfs.scss ("Responsive Font Size") that gives it a relative size of .875em and caused trouble in Mac */
small
{
  font-size: 80% !important;
}

/* For the scrollable catpills in the admin assets pages, that use arrows instead of the scroll bar */
.catpills
{
  display: flex;
  overflow-x: auto;
  column-gap: 10px;
  justify-content: center; /* this will be dynamically overridden */
  align-items: flex-start;
  height: 100%;
  scrollbar-width: none;    /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  padding: 0 2em;
  flex: 1;
}

.catpills::-webkit-scrollbar
{
  display: none; /* Chrome, Safari */
}

.scroll-arrow
{
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 0.2em;
  background: rgba(255, 255, 255, 0.8);
  z-index: 10;
  cursor: pointer;
  pointer-events: auto;
}

.scroll-arrow.left  { left: 0.2em; }
.scroll-arrow.right { right: 0.2em; }

.scroll-arrow.disabled
{
  opacity: 0.3;
}
