/*noinspection CssUnknownTarget*/
@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic);

body, input, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'PT Sans', sans-serif;
}

body {
    padding-top: 72px;
    overflow-y: scroll;
}

body.modal-open {
    margin-right: 17px;
}

body.unpinned-nav {
    padding-top: 0;
}

.div-highlight {
    padding: 9px 14px;
    margin-bottom: 14px;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
    border-radius: 4px;
}

.ajax-loader {
    display: none;
}

.errors .alert {
    display: none;
}

.form-full {
    clear: left;
}

.padding-tight-horizontal {
    padding-right: 5px;
    padding-left: 5px;
}

html, body {
    height: 100%;
}

#wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

#footer {
    height: 60px;
    background-color: #f5f5f5;
}

#footer img {
    margin-top: 5px;
}

#footer .text-muted {
    margin-top: 20px;
}

#tour-admin-nav-pills {
    margin-top: 20px;
}

.report {
    min-height: 450px;
}

form.cancelled {
    background: repeat url("../assets/images/cancelled.png");
}

div.cancelled {
    background: repeat url("../assets/images/cancelled.png");
}

.item-placeholder {
    height: 60px;
    border: 2px dotted #ccc;
    border-radius: 10px;
    list-style: none;
}

.number-cell {
    text-align: right;
    margin-right: 5px;
}

/*Calendar*/

.brick {
    height: 50px;
    border: 1px solid black;
    background-color: #ccc;
}

.modal.large .modal-dialog {
    width: 960px;
}

#report-application {
    font-size: 80%;
}

#report-application div.left-col {
    float: left;
    width: 48%;
}

#report-application div.right-col {
    float: left;
    width: 48%;
}

#report-application h4 {
    padding-top: 10px;
}

#report-application .app_line {
    font-weight: bold;
}

#report-application .app_line span.app_data {
    font-weight: normal !important;
}

#report_footer {
    /* padding: 50px; */
    width: 100%;
    height: 50px;
    position: fixed;
    bottom: 0;
}

#carousel-reports .carousel-control.left {
    background-image: none;
    margin-left: -10%;
    color: #333;
    width: 10%;

}

#carousel-reports .carousel-control.right {
    background-image: none;
    margin-right: -10%;
    color: #333;
    width: 10%;
}

.selectize-control.contacts .selectize-input > div {
    padding: 1px 10px;
    font-size: 13px;
    font-weight: normal;
    -webkit-font-smoothing: auto;
    color: #f7fbff;
    text-shadow: 0 1px 0 rgba(8, 32, 65, 0.2);
    background: #2183f5;
    background: -moz-linear-gradient(top, #2183f5 0%, #1d77f3 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2183f5), color-stop(100%, #1d77f3));
    background: -webkit-linear-gradient(top, #2183f5 0%, #1d77f3 100%);
    background: -o-linear-gradient(top, #2183f5 0%, #1d77f3 100%);
    background: -ms-linear-gradient(top, #2183f5 0%, #1d77f3 100%);
    background: linear-gradient(to bottom, #2183f5 0%, #1d77f3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2183f5', endColorstr='#1d77f3', GradientType=0);
    border: 1px solid #0f65d2;
    -webkit-border-radius: 999px;
    -moz-border-radius: 999px;
    border-radius: 999px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

.selectize-control.contacts .selectize-input > div.active {
    background: #0059c7;
    background: -moz-linear-gradient(top, #0059c7 0%, #0051c1 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #0059c7), color-stop(100%, #0051c1));
    background: -webkit-linear-gradient(top, #0059c7 0%, #0051c1 100%);
    background: -o-linear-gradient(top, #0059c7 0%, #0051c1 100%);
    background: -ms-linear-gradient(top, #0059c7 0%, #0051c1 100%);
    background: linear-gradient(to bottom, #0059c7 0%, #0051c1 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0059c7', endColorstr='#0051c1', GradientType=0);
    border-color: #0051c1;
}

.selectize-control.contacts .selectize-input > div .email {
    opacity: 0.8;
}

.selectize-control.contacts .selectize-input > div .name + .email {
    margin-left: 5px;
}

.selectize-control.contacts .selectize-input > div .email:before {
    content: '<';
}

.selectize-control.contacts .selectize-input > div .email:after {
    content: '>';
}

.selectize-control.contacts .selectize-dropdown .caption {
    font-size: 12px;
    display: block;
    color: #a0a0a0;
    margin-left: 10px;
}

.selectize-control.contacts .selectize-dropdown .label {
    font-size: 12px;
    display: block;
    color: #a0a0a0;
    text-align: left;
    margin-left: 0;
}

.selectize-control.reports {
    display: inline-block;
    width: auto;
    /*min-width: 288px;*/
}

.selectize-control.reports .selectize-input {
    padding: 2px 36px 2px 4px;
    min-height: 26px;
    vertical-align: inherit;
}

.selectize-control.reports.tour {
    min-width: 288px;
}

.selectize-control.reports.year {
    min-width: 78px;
}

.selectize-control.reports.date {
    min-width: 288px;
}

.selectize-control.reports.misc {
    min-width: 288px;
}

.avery-initial-pad {
    height: 0.3in;
    display: block;
}

.avery-label {
    /* Avery 5160 labels -- CSS and HTML by MM at Boulder Information Services */
    width: 2.075in; /* plus .6 inches from padding */
    height: .875in; /* plus .125 inches from padding */
    padding: .150in .3in 0;
    margin-right: .25in; /* the gutter */
    float: left;
    text-align: center;
    overflow: hidden;
    outline: 1px dotted; /* outline doesn't occupy space like border does */
}

.avery-label p {
    color: black !important;
    margin: 0;
    padding: 0;
    font-size: 10pt;
}

.avery-label-page-break {
    clear: left;
    display: block;
    page-break-after: always;
}

.btn-textbox {
    height: 34px;
    line-height: 35px;
    border-radius: 0 5px 5px 0;
    padding-left: 5px;
    vertical-align: middle;
}

.btn-textbox-success {
    border: 1px solid #4cae4c;
    background: rgba(76, 174, 76, 0.31);
}

.btn-with-textbox {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: -5px;
}

.btn-link {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.btn-link:focus {
    outline: none;
}

.margin-top-1 {
    margin-top: 1em;
}

#payment-history-table td {
    vertical-align: middle;
}

#registrant-table, #advisors-table {
    padding-top: 10px;
}

.table > thead > tr > td.blue,
.table > tbody > tr > td.blue,
.table > tfoot > tr > td.blue,
.table > thead > tr > th.blue,
.table > tbody > tr > th.blue,
.table > tfoot > tr > th.blue,
.table > thead > tr.blue > td,
.table > tbody > tr.blue > td,
.table > tfoot > tr.blue > td,
.table > thead > tr.blue > th,
.table > tbody > tr.blue > th,
.table > tfoot > tr.blue > th {
    background-color: #d0e7fc !important;
    border-color: #c1dffa !important;
}

.table-hover > tbody > tr:not(.disabled) > td:hover,
.table-hover > tbody > tr:not(.disabled) > th:hover,
.table-hover > tbody > tr:not(.disabled):hover > td,
.table-hover > tbody > tr:not(.disabled):hover > th {
    background-color: #d0e7fc !important;
    border-color: #c1dffa !important;
}

.table-hover > tbody > tr:not(.disabled) > td:active,
.table-hover > tbody > tr:not(.disabled) > th:active,
.table-hover > tbody > tr:not(.disabled):active > td,
.table-hover > tbody > tr:not(.disabled):active > th {
    background-color: #b6d8fa !important;
    border-color: #9dcafa !important;
}

.table-pointer > tbody > tr:not(.disabled) > td:hover,
.table-pointer > tbody > tr:not(.disabled) > th:hover,
.table-pointer > tbody > tr:not(.disabled):hover > td,
.table-pointer > tbody > tr:not(.disabled):hover > th {
    cursor: pointer;
}

.table-pointer > tbody > tr.disabled > td {
    color: #aaa;
    text-decoration: line-through;
    cursor: not-allowed;
}

h6.small-label {
    text-transform: uppercase;
    font-weight: bold;
    color: grey;
    margin: 10px 0 5px 5px;
}

.well-xs {
    padding: 4px 6px;
    border-radius: 3px;
}

.well-tight {
    margin-bottom: 5px !important;
}

.well-flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 3px !important;
}

input[type="date"]::-webkit-clear-button {
    -webkit-appearance: none;
    display: none;
}

input[type="date"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    display: none;
}

input[type="date"]::-ms-clear {
    display: none;
}

#billing-structure > tbody > tr > td > span > input {
    /*width: 110px;*/
}

.no-padding {
    padding: 0 !important;
}

#sendingModal {
    text-align: center;
}

#sendingModalLabel {
    font-size: 20px;
}

.pre-modal {
    display: block;
    padding: 10px;
    line-height: 1.42857143;
    word-break: break-all;
    color: #ffffff;
    background-color: #9b1313;
    border: 4px solid #d10606;
    border-radius: 10px;
    box-shadow: 0 0 19px 6px red;
    float: left;
    position: fixed;
    z-index: 9999;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 2em;
    /*bottom: 2em;*/
    min-width: 15%;
    max-width: 60%;
    width: inherit;
    max-height: 90%;
    font-family: sans-serif;
    font-size: 24px;
    text-align: center;
    font-weight: bold;
    overflow-y: auto;
}

.pre-modal > pre {
    text-align: left;
    background: #c76b6b;
    border-radius: 4px;
    margin: 0;
    border: 2px solid #e96464;
    font-weight: normal;
    font-size: 11px;
    line-height: 1;
    color: white;
}

.backtrace-modal > .modal-dialog {
    width: inherit !important;
    max-width: 66% !important;
}


.backtrace-modal > .modal-dialog > .modal-content > .modal-body > pre {
    text-align: left;
    background: #c76b6b;
    border-radius: 4px;
    margin: 0;
    border: 2px solid #e96464;
    font-weight: normal;
    font-size: 11px;
    line-height: 1;
    color: white;
}

@media screen and (min-width: 768px) {
    #sendingModal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
}

#sendingModal > .modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

#mailerLoading {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: block;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}


#invoicing .table thead tr .view-header {
    width: 92px;
}

#invoicing .table tbody tr td .installment-name-xs {
    display: none;
}

@media screen and (max-width: 767px) {
    #invoicing .table {
        margin-bottom: 10px;
    }

    #invoicing .table thead tr th {
        font-size: 12px;
        padding: 2px;
    }

    #invoicing .table thead tr .view-header {
        width: auto;
    }

    #invoicing .table tbody tr td {
        font-size: 12px;
        padding: 2px;
    }

    #invoicing .table tbody tr td .view {
        padding: 2px 6px;
        font-size: 10px;
    }

    #invoicing .table tbody tr td .installment-name-xs {
        display: block;
    }

    #invoicing .table tbody tr td .installment-name {
        display: none;
    }

    .post-20358 .entry-content .profile-content {
        width: 100%;
        padding: 0 3px;
    }
}

thead tr th, .vertical {
    padding: 0;
}

thead tr th div, .vertical {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.modal-open .navbar-fixed-top.container, .modal-open .navbar-fixed-bottom.container {
    margin-right: auto;
    left: -17px;
}

.navbar .divider-vertical {
    height: 40px;
    margin-top: 5px;
    border-right: 1px solid #ccc;
}

.navbar-inverse .divider-vertical {
    border-right-color: #222222;
    border-left-color: #111111;
}

@media (max-width: 767px) {
    .navbar-collapse .nav > .divider-vertical {
        display: none;
    }
}

.tour-reg-shortcut {
    cursor: pointer;
    width: 72px;
    border: 1px solid;
    border-radius: 3px;
    padding: 0 3px;
    font-size: 12px;
    margin-left: 10px;
    color: #ffffff;
}

.tour-reg-shortcut > .shortcut-title {
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

.tour-reg-shortcut > .shortcut-value {
    text-align: center;
    font-size: 150%;
    line-height: 22px;
}

.tour-reg-shortcut-divider {
    width: 1px;
    height: 40px;
    border-left: 1px solid #000000;
    font-size: 12px;
    margin: 2px 0 0 10px;
}

.btn-border-primary {
    border-color: #124d7f;
    background: #428bca;
}

.btn-border-warning {
    border-color: #714d06;
    background: #f0ad4e;
}

.btn-border-danger {
    border-color: #710906;
    background: #d9534f;
}

.btn-border-success {
    border-color: #2b7b2b;
    background: #5cb85c;
}

.btn-border-info {
    border-color: #2f6271;
    background: #2aabd2;
}

.btn-border-secondary {
    border-color: #57317a;
    background: #9363bf;
}

.bg-primary {
    background-color: #428bca;
    color: white;
}

.modal-header.bg-primary {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}


.filter-off {
    filter: brightness(65%);
}

.report-column-count {
    max-width: 2%;
    text-align: right;
    padding-right: 2px !important;
}

.report-column-name {
    width: 15.66%;
}

.report-column-phone {
    width: 8.5%;
}

header .jumbotron {
    margin: 16px 0;
}

header .jumbotron h1 {
    margin-top: 0;
    font-size: 48px;
}

header .jumbotron p:last-child {
    margin-bottom: 0;
}

header h1 {
    margin-top: 0;
}

.navbar-brand {
    padding: 2px;
}

.navbar-brand > img {
    height: 46px;
}

.navbar {
    border-start-end-radius: 0 !important;
    border-start-start-radius: 0 !important;
}

.navbar-fixed-top {
    border-radius: 4px;
    border-width: 0 1px 1px;
    box-shadow: 0 1px 2px 0 #bbb;
}

.navbar-fixed-top #navbar-toggle-pinned span:before {
    display: inline-block;
    transform: rotate(315deg);
}

.navbar-fixed-top #navbar-toggle-pinned span:before {
    display: inline-block;
    transform: rotate(315deg);
}



/* Larger navbar font, at Tom's request
Restricting to smaller widths for now since he said "especially mobile" */
@media (max-width: 767px) {
    .navbar-nav .open .dropdown-menu > li > a {
        line-height: inherit !important;
    }

    .navbar-collapse {
        max-height: 480px;
    }

    .navbar-nav {
        font-size: 21px;
    }

    .navbar-right {
        font-size: 16px;
    }

    .dropdown-menu {
        font-size: 20px;
    }
}



.mb-1 {
    margin-bottom: 5px;
}

hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

.ui-tooltip-content {
    font-size: 0.8em !important;
}

.ui-tooltip {
    border: 1px solid #003c6f !important;
    border-radius: 2px;
}

.ui-front {
    z-index: 1000;
}

.ex-tooltip {
    position: fixed;
    z-index: 9999;
    background: white;
    border: 1px solid black;
    border-radius: 4px;
    padding: 2px 4px;
}

.reports-index > .panel > .panel-heading > h3 {
    display:inline;
    vertical-align:bottom
}

.reports-index > .panel > .panel-heading > .divider-vertical {
    margin:0 6px;
}

.reports-table {
    position: relative;
}

.reports-table .overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: rgba(200, 200, 200, 0.4);
    /*pointer-events: none;*/
}

.reports-table .overlay td {
    display: none;
    height: 100%;
    font-size: 2em;
    align-items: center;
    user-select: none;
}

.reports-table tr {
    cursor: default;
}


.reports-table.active .overlay {
    display: none;
}

.reports-table.active tr {
    cursor: pointer;
}

.reports-table.active .report-name {
    color: #2a6496 !important;
    font-weight: bold !important;
}

.reports-table.active tr:hover .report-name {
    text-decoration: underline;
}

.selectize-input.attention {
    animation: attention-shadow 8s;
}

input.attention {
    animation: attention-shadow 8s;
}

@keyframes attention-shadow {
    0% {
        box-shadow: 0 0 6px 3px rgba(217, 83, 79, 0);
    }
    10% {
        box-shadow: 0 0 6px 3px rgb(217, 83, 79);
    }
    90% {
        box-shadow: 0 0 6px 3px rgb(217, 83, 79);
    }
    100% {
        box-shadow: 0 0 6px 3px rgba(217, 83, 79, 0);
    }
}

.whatsnew-item {
    padding: 4px 6px;
    text-align: center;
}
.whatsnew-item h4 {
    margin-top: 0;
}


#edit-registrant-form fieldset legend {
    font-size: 14px;
    line-height: 1.428571429;
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;
    border: none;
}

#edit-registrant-form fieldset .radio-inline {
    margin-top: 6px;
}

.padding-top-m {
    padding-top: 8px;
}

.leads-checkbox-cell {
    padding: 4px 8px 0 !important;
}

.leads-checkbox-cell > input {
    width: 20px;
    height: 20px;
}

@media print {
    * {
        background: transparent !important;
        color: black !important;
        text-shadow: none !important;
        filter: none !important;
        -ms-filter: none !important;
    }

    a, a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
        content: "";
    }

    pre, blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr, img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }

    h2, h3 {
        page-break-after: avoid;
    }

    .form-control {
        border: none !important;
        margin: 0;
    }

    #search-registry-container {
        display: none !important;
    }

    #footer {
        display: none;
    }
}
