﻿/* Global Styles */
.dwiz-no-bottom-margin {
   margin-bottom: 0;
}

.well {
   margin-bottom: 10px;
}

.well-sm > .row {
   margin-right: -9px;
   margin-left: -9px;
}

body #page-wrapper footer {
   padding-bottom: 15px;
}

/* Custom Styles */
div.dwiz-alert {
   min-height: 0;
}

.validation-summary-errors > span {
   display: inline-block;
   font-size: 18px;
   margin-top: 0;
   margin-bottom: 10px;
   font-family: inherit;
   font-weight: 500;
   line-height: 1.1;
   color: inherit;
}

hr {
   margin: 15px 0;
}

   hr.no-margin {
      margin: 0;
   }

   hr.narrow-margin {
      margin: 5px 0;
   }

.dwiz-narrow-group {
   margin: 5px 0;
}

.dwiz-group {
   margin: 10px 0;
}

.dwiz-horizontal-line-split > div {
   border-right: 1px solid #eee;
}

   .dwiz-horizontal-line-split > div:last-child {
      border-right: none;
   }

dl {
   margin-bottom: 0px;
}

dd:not(:last-child) {
   margin-bottom: 5px;
}

/* Radio */
.radio.radio-label {
   margin-top: 0;
   margin-bottom: 5px;
}

/* Checkbox */
.checkbox label label {
   padding-left: 0;
}

/* Validation Summary */
.validation-summary-errors ul {
   margin-bottom: 0;
}

/* Multiselect */
.multiselect-container {
   min-width: 100%;
}

/* Date Range Picker */
div.daterangepicker {
   border: 1px solid #ccc;
}

.daterangepicker.show-ranges.opensright .drp-calendar.left {
   border-left: none;
}

.daterangepicker .ranges {
   border-right: 1px solid #ddd;
}

/* Breadcrumbs */
ol.breadcrumb {
   margin-top: 10px;
   margin-bottom: 0;
}

   ol.breadcrumb ul.dropdown-menu {
      margin-top: 8px;
   }

      ol.breadcrumb ul.dropdown-menu > li:first-child {
         margin-top: 4px;
      }

      ol.breadcrumb ul.dropdown-menu > li:last-child {
         margin-bottom: 4px;
      }

/* Forms */
div.form-group {
   margin-bottom: 10px;
}

form .form-group textarea {
   min-width: 100%;
   max-width: 100%;
}

/* Tables */

/* Unused? */
.table.dataTable.dwiz-table-tight:not(.table-bordered) > tbody > tr > td,
.table.dataTable.dwiz-table-tight:not(.table-bordered) > tbody > tr > th,
.table.dataTable.dwiz-table-tight:not(.table-bordered) > tfoot > tr > td,
.table.dataTable.dwiz-table-tight:not(.table-bordered) > tfoot > tr > th,
.table.dataTable.dwiz-table-tight:not(.table-bordered) > thead > tr > td,
.table.dataTable.dwiz-table-tight:not(.table-bordered) > thead > tr > th {
   padding-left: 4px;
   padding-right: 4px;
}

/* Unused? */
.table.dataTable.dwiz-table-double-tight:not(.table-bordered) > tbody > tr > td,
.table.dataTable.dwiz-table-double-tight:not(.table-bordered) > tbody > tr > th,
.table.dataTable.dwiz-table-double-tight:not(.table-bordered) > tfoot > tr > td,
.table.dataTable.dwiz-table-double-tight:not(.table-bordered) > tfoot > tr > th,
.table.dataTable.dwiz-table-double-tight:not(.table-bordered) > thead > tr > td,
.table.dataTable.dwiz-table-double-tight:not(.table-bordered) > thead > tr > th {
   padding-left: 2px;
   padding-right: 2px;
   font-size: 12px;
}

table.apply-amount-options > tbody > tr > td {
   vertical-align: middle;
}

table.dwiz-table-editor > tbody > tr > td {
   vertical-align: middle;
}

/* Datatables */
/* BEGIN */

.dt-buttons button, .dt-buttons button:hover {
   color: #337ab7;
}

.dataTables_wrapper.form-inline .form-group {
   margin-bottom: 10px;
}

.dataTables_wrapper table.table .dwiz-data-table-column-filter {
   width: 100%;
}

.dataTables_wrapper table.table tfoot td {
   padding-left: 4px;
   padding-right: 4px;
}

.dataTables_wrapper table.table.table-condensed tfoot td {
   padding-left: 2px;
   padding-right: 2px;
}

.dwiz-custom-report-container {
   overflow-x: auto;
}

.dwiz-data-table-container {
   overflow-x: auto;
   max-height: 600px;
   overflow-y: auto;
}

.table {
   width: 100% !important;
}

.dataTables_filter {
   overflow-x: hidden !important;
}

/* align condensed table data with header when table is not bordered */
/*.table.table-condensed.dataTable:not(.table-bordered) thead tr th { 
   padding-left: 5px;
   padding-right: 5px;
}*/

/* align non-condensed table data with header when table is not bordered */
/*.table.dataTable:not(.table-bordered) thead tr th { 
   padding-left: 8px;
   padding-right: 8px;
}*/

/* give no float to sorting arrows when table is not bordered */
/*.table.dataTable:not(.table-bordered) thead th:after {
   float: none !important;
   margin-left: 2px !important;
}*/

/* place sorting icons before (instead of after) table headers that are aligned to the right */
/*table.dataTable thead .text-right.sorting:before,
table.dataTable thead .text-right.sorting_asc:before,
table.dataTable thead .text-right.sorting_desc:before{
   float: none;
   font-family: fontawesome;
   margin-right: 2px;
}
table.dataTable thead .text-right.sorting:before {
   content: "\f0dc";
   color: rgba(50, 50, 50, 0.5);
}
table.dataTable thead .text-right.sorting_asc:before {
   content: "\f0de";
}
table.dataTable thead .text-right.sorting_desc:before {
   content: "\f0dd";
}
table.dataTable thead .text-right.sorting:after,
table.dataTable thead .text-right.sorting_asc:after,
table.dataTable thead .text-right.sorting_desc:after {
   display: none;
}*/
/* hide the extra table header with sorting icons */
/*.dataTables_scroll .dataTables_scrollBody table thead{
   display:none;
}*/

/* hide the top border of header rows that are not the first AND tighten the spacing */
table.dataTable > tfoot tr:not(:first-child) > td {
   border-top: none;
   padding-top: 0;
}

/* hide top border of first row in body */
table.dataTable > thead + tbody > tr:first-child > td {
   border-top: none;
}

/* hide top border of first row in body */
table.dataTable > thead + tbody > tr:first-child > td {
   border-top: none;
}

/* thicken top border of footer */
table.dataTable > tfoot > tr > th {
   border-top: 2px solid #ddd;
}

/* adjust line height of sorting icons */
table.table-condensed.dataTable thead .sorting:before,
table.table-condensed.dataTable thead .sorting:after,
table.table-condensed.dataTable thead .sorting_asc:before,
table.table-condensed.dataTable thead .sorting_asc:after,
table.table-condensed.dataTable thead .sorting_desc:before,
table.table-condensed.dataTable thead .sorting_desc:after,
table.table-condensed.dataTable thead .sorting_asc_disabled:before,
table.table-condensed.dataTable thead .sorting_asc_disabled:after,
table.table-condensed.dataTable thead .sorting_desc_disabled:before,
table.table-condensed.dataTable thead .sorting_desc_disabled:after,
table.table-condensed.dataTable thead .sorting_desc_disabled:after {
   bottom: 0.5em;
}
table.dataTable thead .sorting:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before,
table.dataTable thead .sorting_desc_disabled:after,
table.dataTable thead .sorting_desc_disabled:after {
   bottom: .8em;
}

/* make space for sorting icons in left-aligned table headers */
.table.table-condensed.dataTable thead tr th:not(.text-right),
.table.table-condensed.dataTable tbody tr td:not(.text-right),
.table.table-condensed.dataTable tfoot tr th:not(.text-right) {
   padding-left: 25px;
}
.table.dataTable thead tr th:not(.text-right),
.table.dataTable tbody tr td:not(.text-right),
.table.dataTable tfoot tr th:not(.text-right) {
   padding-left: 25px;
}

/* make space for sorting icons in right-aligned table headers */
.table.table-condensed.dataTable thead tr th.text-right,
.table.table-condensed.dataTable tbody tr td.text-right,
.table.table-condensed.dataTable tfoot tr th.text-right {
   padding-right: 25px;
}
.table.dataTable thead tr th.text-right,
.table.dataTable tbody tr td.text-right,
.table.dataTable tfoot tr th.text-right {
   padding-right: 25px;
}

/* send UP sorting icons to the left of right-aligned headers */
table.dataTable thead .sorting:not(.text-right):before,
table.dataTable thead .sorting_asc:not(.text-right):before,
table.dataTable thead .sorting_desc:not(.text-right):before,
table.dataTable thead .sorting_asc_disabled:not(.text-right):before,
table.dataTable thead .sorting_desc_disabled:not(.text-right):before {
   left: 7px;
}
/* send DOWN sorting icons to the left of right-aligned headers */
table.dataTable thead .sorting:not(.text-right):after,
table.dataTable thead .sorting_asc:not(.text-right):after,
table.dataTable thead .sorting_desc:not(.text-right):after,
table.dataTable thead .sorting_asc_disabled:not(.text-right):after,
table.dataTable thead .sorting_desc_disabled:not(.text-right):after {
   left: 7px;
   padding-left: 7px;
}

/*.dataTables_scroll .table.table-condensed.dataTable thead tr th:not(.text-right),
.dataTables_scroll .table.table-condensed.dataTable tbody tr td:not(.text-right),
.dataTables_scroll .table.table-condensed.dataTable tfoot tr th:not(.text-right) {
   padding-left: 25px;
}
.dataTables_scroll .table.table-condensed.dataTable thead tr th.text-right,
.dataTables_scroll .table.table-condensed.dataTable tbody tr td.text-right,
.dataTables_scroll .table.table-condensed.dataTable tfoot tr th.text-right {
   padding-right: 25px;
}*/

/* END */
/* Datatables */

/* Sidebar Search */
.sidebar .sidebar-search ul li {
   border-bottom: none;
}

.sidebar .arrow {
   margin-top: 3px;
}

/* Nav Bar Dropdown Menu */
.navbar-top-links ul.dropdown-menu > li:first-child {
   margin-top: 4px;
}

.navbar-top-links ul.dropdown-menu > li:last-child {
   margin-bottom: 4px;
}

/* Navbar Top Links */
/* (5 - (64 * (index - 1))) */
ul.navbar-top-links li:nth-child(1) ul.dropdown-menu {
   margin-left: 5px;
   min-width: 300px;
}
/*ul.navbar-top-links li:nth-child(2) ul.dropdown-menu {
    margin-left: -59px;
}*/
/*ul.navbar-top-links li:nth-child(3) ul.dropdown-menu {
    margin-left: -123px;
}*/
/*ul.navbar-top-links li:nth-child(4) ul.dropdown-menu {
    margin-left: -187px;
}*/
/*.navbar-top-links .dropdown-menu:last-child{
   right: 0;
   left: auto;
}*/

/* Basic Tabs */
.panel-group {
   margin-bottom: 10px !important;
}

ul.nav.nav-tabs {
   margin-bottom: 10px !important;
}

.bg-alternate {
    background-color: rgba(210,210,220,0.25);
}

.saleshub-contract-details-publication {
    width: 50%;
    float: left;
}

.saleshub-contract-details-publication-year {
    width: 50%;
    float: right;
}

@media screen and (max-width: 767px) {
    .saleshub-contract-details-publication-year {
        width: 50%;
        float: left;
    }
}

.saleshub-contract-terms-table {
    float: right !important;
    margin: 25px 0px 0px 0px;
}
@media screen and (max-width: 991px) {
    .saleshub-contract-terms-table {
        float: left !important;
        margin: 0px 0px 5px 0px;
    }
}

.saleshub-contract-terms-header {
    min-width: 100px;
    background-color: black;
}

.saleshub-contract-terms-directory {
    /*min-width: 100px;*/
    background-color: blue;
    color: white;
    padding: 0px 5px 0px 5px;
}

.saleshub-contract-terms-digital {
    /*min-width: 100px;*/
    background-color: green;
    color: white;
    padding: 0px 5px 0px 5px;
}

.saleshub-contract-terms-total {
    /*min-width: 100px;*/
    background-color: black;
    color: white;
    padding: 0px 5px 0px 5px;
}

.saleshub-contract-terms-magazines {
    /*min-width: 100px;*/
    background-color: red;
    color: white;
    padding: 0px 5px 0px 5px;
}

.saleshub-contract-terms-single-cell {
    min-width: 100px;
    height: 50px !important;
    border: 1px solid #cccccc;
}
@media screen and (max-width: 1140px) {
    .saleshub-contract-terms-single-cell {
        min-width: 90px;
    }
}
@media screen and (max-width: 1080px) {
    .saleshub-contract-terms-single-cell {
        min-width: 80px;
    }
}
@media screen and (max-width: 1030px) {
    .saleshub-contract-terms-single-cell {
        min-width: 70px;
    }
}
@media screen and (max-width: 991px) {
    .saleshub-contract-terms-single-cell {
        min-width: 100px;
    }
}
@media screen and (-webkit-min-device-pixel-ratio: 1.25) {
    .saleshub-contract-terms-single-cell {
        min-width: 70px;
    }
}
    .saleshub-contract-terms-single-cell > input {
        width: 100%;
        height: 100%;
        border: 0px;
    }

.saleshub-contract-terms-double-cell {
    min-width: 100px;
    border: 1px solid #cccccc;
}
@media screen and (max-width: 1140px) {
    .saleshub-contract-terms-double-cell {
        min-width: 90px;
    }
}
@media screen and (max-width: 1080px) {
    .saleshub-contract-terms-double-cell {
        min-width: 80px;
    }
}
@media screen and (max-width: 1030px) {
    .saleshub-contract-terms-double-cell {
        min-width: 70px;
    }
}
@media screen and (max-width: 991px) {
    .saleshub-contract-terms-double-cell {
        min-width: 100px;
    }
}
@media screen and (-webkit-min-device-pixel-ratio: 1.25) {
    .saleshub-contract-terms-double-cell {
        min-width: 70px;
    }
}
    .saleshub-contract-terms-double-cell > input {
        /*width: 47.9%;*/
        width: 100%;
        align-content: center;
        border: 0px;
    }

.dropzone {
    color: #afafaf;
    border-radius: 5px;
    border: 1px dashed #afafaf !important;
    margin: 15px;
}

.dz-progress {
    display: none !important;
}

.input-validation-error {
    border: 2px solid #FF0000 !important
}

.loadingModal .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.15) !important;
}

.table-borderless-no-zebra td, .table-borderless-no-zebra th {
    border: 0 !important;
    background: rgba(255,255,255,0) !important;
}
@media screen and (max-width: 1430px) {
    .terms-accordian-container {
        display: block;
        clear: both;
        min-width: 41%;
        max-width: 100%;
    }
}

.panel-dark {
    border-color: rgba(0, 0, 0, 0.8);
}

    .panel-dark > .panel-heading {
        color: #ffffff;
        background-color: rgba(0, 0, 0, 0.8);
        border-color: rgba(0, 0, 0, 0.8);
    }

        .panel-dark > .panel-heading + .panel-collapse .panel-body {
            border-top-color: rgba(0, 0, 0, 0.8);
        }

    .panel-dark > .panel-footer + .panel-collapse .panel-body {
        border-bottom-color: rgba(0, 0, 0, 0.8);
    }

.pulse {
    animation: pulser-black 2s infinite;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
    transform: scale(1);
}

@keyframes pulser-black {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.pulse.red {
    box-shadow: 0 0 0 0 red;
    animation: pulser-red 2s infinite;
}

@keyframes pulser-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgb(255, 0, 0, 0.70);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

.pulse.yellow {
    box-shadow: 0 0 0 0 yellow;
    animation: pulser-yellow 2s infinite;
}

@keyframes pulser-yellow {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgb(255, 250, 0, 0.70);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgb(255, 250, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgb(255, 250, 0, 0);
    }
}

.pulse.green {
    box-shadow: 0 0 0 0 green;
    animation: pulser-green 2s infinite;
}

@keyframes pulser-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgb(0, 255, 0, 0.70);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgb(0, 255, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgb(0, 255, 0, 0);
    }
}

.pulse.blue {
    box-shadow: 0 0 0 0 blue;
    animation: pulser-blue 2s infinite;
}

@keyframes pulser-blue {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgb(0, 0, 255, 0.70);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgb(0, 0, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgb(0, 0, 255, 0);
    }
}