﻿.ajaxLoader {
    max-width: 100%;
    text-align: center;
    margin-top: 30px;
}

form fieldset {
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
}

.download-customers select {
    vertical-align: middle;
}

/*
This style was created to show the date picker in
the modal pop up. It will unfortunately put datepicker's
above the modal-backdrop class. If you have a datepicker on
a form and in a modal then you might have to come up with
another solution.
*/
.datepicker.datepicker-dropdown,
.format-datepicker {
    z-index: 9999 !important;
}

.has-success .bootstrap-touchspin .input-group-btn-vertical > .btn {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #3c763d;
}

.has-error .bootstrap-touchspin .input-group-btn-vertical > .btn {
    color: #a94442;
    background-color: #f2dede;
    border-color: #a94442;
}

.table {
    width: 100% !important;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

.clip-check input[type="checkbox"]:checked + label:after {
    text-align: left;
}

.datepicker table tr td.today.disabled,
.datepicker table tr td.today.disabled:active,
.datepicker table tr td.today.disabled:hover {
    background: none;
    color: #ccc !important;
}

.datepicker table tr td.disabled,
.datepicker table tr td.disabled:hover {
    color: #ccc;
}

.modal-header-fixed .modal-body {
    max-height: calc(100vh - 175px);
    overflow-y: auto;
}

.modal-header-fixed .modal-header {
    padding: 0px;
}

.modal-header-fixed .modal-header .modal-title,
.modal-header-fixed .modal-header > .close {
    padding: 15px;
}

.modal-subtitle {
    padding: 15px;
    background-color: #58748b;
    color: #fff;
    margin-bottom: 0px !important;
}

.letter-icon-extra-sm {
    min-height: 20px !important;
    min-width: 20px !important;
}

.letter-icon-extra-sm .letter-icon-wrapper {
    height: 20px !important;
    width: 20px !important;
    font-size: 11px !important;
}

.letter-icon-extra-sm .letter-icon-wrapper .letter-icon {
    line-height: 21px !important;
}

/*Collapse table row*/
.detail-control:not(th) {
    cursor: pointer;
}

.detail-control-icon:not(th) {
    position: relative;
    margin-right: 15px;
}

.detail-control-icon:not(th):after {
    /*position: absolute;*/
    font-family: FontAwesome;
    /*font-size: 12px;*/
    /*top: calc(50% - 8px);*/
    content: "\f0d7";
    padding: 5px;
    /*cursor: pointer;*/
}

tr.shown .detail-control-icon:not(th):after {
    content: "\f0d8";
}
/*End Collapse table row*/

/*Shortcut menu*/
.shortcut-menu {
    display: flex;
    align-items: center;
    padding-left: 0px;
}

.shortcut-menu li {
    display: inline-block;
}

.shortcut-menu li + li {
    margin-left: 4px;
}

.btn-default .badge {
    background-color: #58748b !important;
    margin-left: 10px !important;
}

.shortcut-menu > li > .btn {
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.shortcut-menu > li > .btn:hover {
    border: 1px solid rgba(0, 0, 0, 0.07);
    color: #666;
    background-color: #fff;
}

.shortcut-menu > li > .btn.active {
    border: 1px solid rgba(0, 0, 0, 0.07);
    color: #666;
    font-weight: bold;
    background-color: #fff;
}
/*End Shortcut menu*/

.table-striped > tbody > tr.white-background + tr {
    background-color: #fff;
}

.fullwidth {
    width: 100%;
}

.popover {
    position: fixed;
    z-index: 1;
}

.dataTables_processing {
    background: linear-gradient(
            to right,
            transparent 0%,
            rgba(255, 255, 255, 0.9) 25%,
            rgba(255, 255, 255, 0.9) 75%,
            transparent 100%
        ),
        white url("/Content/theme/img/spinner.gif") no-repeat center center;
    background-size: 100%, 42px 35px;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100px;
    margin-left: -50%;
    margin-top: -25px;
    padding-top: 20px;
    text-align: center;
    color: transparent;
}

.btn-group .btn-primary.disabled.active {
    background-color: #90a6b9 !important;
}

.btn-group .btn-primary.active {
    background-color: #3c763d !important;
}

/* CSS Loader */

.spinner {
    width: 50px;
    height: 35px;
    text-align: left;
    font-size: 10px;
    display: inline-block;
    position: absolute;
    margin-left: 30px;
    background: url("/Content/theme/img/spinner.gif") no-repeat;
    background-size: 42px 35px;
}

.modal .spinner {
    float: left;
    position: relative;
    margin-left: 0;
}

.modal .modal-body .spinner {
    float: right;
    margin: -35px 0 0 0;
}

.modal .modal-body .form-group.has-error .spinner {
    margin: -68px 0 0 0;
}
.modal .modal-body .form-group.has-success .spinner {
    margin: -45px 0 0 0;
}

.modal .modal-body .form-group .image-preview img {
    max-width: 100px;
    max-height: 100px;
    border: 1px solid #ddd;
    padding: 5px;
}

span.btn.btn-transparent {
    color: #58748b;
}

button.btn.btn-transparent {
    color: #58748b;
    background-color: transparent !important;
}

.btn.btn-noclick {
    cursor: default;
}

.grey-background {
    background-color: #dee1e2;
}

.system-generated-background {
    background-color: #f0f3f4;
}
/*.form-group-wrapper {
 background-color: #DEE1E2;
 padding: 15px;
 margin-bottom: 5px;
}
.form-group-wrapper-system-message {
 background-color: #F0F3F4;
 padding: 15px;
 margin-bottom: 5px;
}*/
.clear-both {
    clear: both;
}
/* Menu item alignment*/
.lyt-2 #sidebar > div nav > ul > li .item-media {
    padding: 10px 5px 10px 15px;
    min-width: 38px;
}
/* Menu item alignment*/

.panel .align-right .clip-check label {
    margin-right: 0px;
}

.clickable:hover {
    cursor: pointer;
}

.two-columns {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}

/*Subscription status modal*/
.checkbox-btn-group {
    width: 100%;
}

.checkbox-btn-group .btn {
    width: 100%;
    border-radius: 2px !important;
    border: none !important;
    margin-bottom: 10px;
}

.icons-status-modal {
    border-bottom: 1px solid;
    border-color: rgba(0, 0, 0, 0.07);
}

/*.letter-icon-status-modal::after {
    display: inline-block;
    content: "";
    position: relative;
    top: -3px;
    width: 59px;
    height: 1px;
    margin: 0 5px 0 7px;
    background-color: #58748B;
}*/

.letter-icon-status-modal:last-child::after {
    display: none;
}

.letter-icon-status-modal .letter-icon {
    font-size: 16px;
}

.detail h5 {
    font-weight: bold;
}

.detail span.red {
    color: #c0392b;
}

.detail span.green {
    color: #3dc34b;
}

.detail span.yellow {
    color: #f5af29;
}

.panel-small {
    max-width: 900px;
}

.panel-medium {
    max-width: 1200px;
}

.panel-large {
    max-width: 1500px;
}

.js-dtApi-table thead {
    background-color: white;
}

.js-dtApi-table tbody tr td {
    vertical-align: middle;
}

.svg-icon {
    height: 12px;
    width: 14px;
    fill: currentColor;
    position: relative;
    top: 2px;
}

.edit-modal-right .modal-body > div {
    z-index: 1;
}

/* This has been commented out because of a problem with popover's in the modal's */
/* It was initially put in because of a problem with a white overlay in the modal on a Mac */
/*.modal-aside.horizontal.edit-modal-right .modal-dialog {
    position: fixed;
}*/

.inline-clipcheckboxes-container .checkbox {
    display: inline-block;
}

.inline-clipcheckboxes-container .checkbox {
    margin-left: 30px;
}

.quadColumn {
    -webkit-column-count: 4; /* Chrome, Safari, Opera */
    -moz-column-count: 4; /* Firefox */
    column-count: 4;
}

.dropdown-menu.dropdown-menu-xs {
    min-width: 50px;
}

.dropdown-menu .icon-item {
    padding: 10px 5px;
}

.dropdown-menu .icon-item div,
.dropdown-menu .icon-item span {
    cursor: pointer;
}

td .lettericon {
    margin-right: 5px;
}

.btn-group-title {
    display: inline-block;
    height: 22px;
}

.reset-filter {
    min-height: 36px;
}

.lettericon-fa {
    display: inline-block;
    background: #7f8c8d;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    padding-left: 4px;
    color: #ffffff;
}

.lettericon-fa i {
    margin-top: 3px;
}

.underline-hover:hover {
    text-decoration: underline !important;
}

.popover {
    z-index: 9999 !important;
}

.post-code-input-group input:nth-child(1) {
    width: 45%;
    float: left;
}

.post-code-input-group input:nth-child(2) {
    width: 45%;
    float: left;
    clear: right;
    margin: 0 0 10px 5%;
}

.help-block-info {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
    color: rgb(115, 115, 115);
}

.inline-form-post {
    display: inline;
}

.day.highlight {
    background-color: #a94442;
    color: #ffffff !important;
}

.js-show-notes:hover {
    cursor: pointer;
    text-decoration: underline;
}
.subscription-notes dl {
    margin-bottom: 0 !important;
}
.subscription-notes dl:nth-child(odd) {
    background-color: #cfcfd2;
}

.subscription-notes dt,
.subscription-notes dd {
    padding-top: 10px;
    padding-bottom: 10px;
}

.column {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.column > * + * {
    margin-top: 1rem;
}

.margin-left-auto {
    margin-left: auto !important;
}

.overview-inline-form .control-label {
    margin-top: 9px;
}

.control-label strong.underline {
    text-decoration: underline;
}
