﻿.input-validation-error {
    border: 1px solid #ff0000 !important;
    background-color: #ffeeee !important;
}

.field-validation-error {
    display: block !important;
    visibility: visible !important;
    color: #ff0000;
}

.sidebar-nav {
padding: 9px 0;
}

@media (max-width: 980px) {
/* Enable use of floated navbar text */
.navbar-text.pull-right {
    float: none;
    padding-left: 5px;
    padding-right: 5px;
}
}

.navbar-inner {
    border-bottom: solid 3px #E36112 !important;
}

.software-notices-link {
    text-decoration: underline !important;
    text-align: right;
    font-size: 12px !important;
}

/* Sidebar */

#sidebar li ul {
    display: none; /* used to hide sub-menus */
}

/* Bootstrap Overrides */

.input-block-level {
    width: 100%;
}

/*.multiselect-container {
    width: 100%;
}*/

.multiselect b.caret {
    position: absolute;
    right: 8px;
    top: 14px;
}

/* Removing the awful inbuilt validators */

input:invalid {
     box-shadow:none;
}

/* Validators - override because for some reason a valid field's validator is still showing... */

.field-validation-valid {
    display: none;
}

/* Sortable tables - this disables webkit's default bahaviour to highlight the entire table when touching it */

.table-sortable {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* needs to be applied when table is made sortable as it doesn't leave enough room at the bottom */
.table-spaced {
    padding-bottom: 20px;
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
     vertical-align: middle;
}

/* This fixes the issue where there's no placeholder when dropping and dragging tbodies */
.sortable-table-row {
  display: table-row;
}

.label-block {
    display: block;
    margin: 5px 0px;
}

legend>select {
    margin-bottom: 5px;
    float: right;
}

.grouped-section {
    background-color: #F5F5F5; 
    border: 1px solid #DDDDDD; 
    border-radius: 4px 0 4px; 
    padding-top: 20px;
    padding-left: 10px;
}

/* Bootstrap Multi-Selects */

.multiselect span {
    float: left;
}

.multiselect b.caret {
    float: right;
}

/*.multiselect .dropdown-toggle {
    text-align: left !important;
}*/

/*table input {
    margin: 0px !important;
}*/
table .form-group {
    margin-bottom: 0px !important;
}

th input[type=checkbox] {
       margin: 0 !important;
}

.boxcolumn {
       width: 10px;
}

.column-hover { 
    background-color: #FFFFCC !important;
}

.row-selected { 
    background-color: #FFFFCC !important;
}

.ajax-loading {
     background:url('images/ajax-loader.gif') no-repeat; 
     background-position: 50% 100px;
}

img.loading {
    content:url('images/ajax-loader.gif')
}

.row-selectable {
    cursor: pointer;
}

.change-page {
    cursor: pointer;
}

.cursor-pointer {
    cursor: pointer;
}

.dropdown-menu > .selected > a,
.dropdown-menu > .selected > a:hover,
.dropdown-menu > .selected > a:focus {
  color: #333333;
  text-decoration: none;
  background-color: #FFFFCC;
  background-image: -moz-linear-gradient(top, #FFFFCC, #FFFFCC);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#FFFFCC), to(#FFFFCC));
  background-image: -webkit-linear-gradient(top, #FFFFCC, #FFFFCC);
  background-image: -o-linear-gradient(top, #FFFFCC, #FFFFCC);
  background-image: linear-gradient(to bottom, #FFFFCC, #FFFFCC);
  background-repeat: repeat-x;
  outline: 0;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFCC', endColorstr='#FFFFCC', GradientType=0);
}

.tree {
    margin: 0px;
}

.tooltipanchor {
    padding-left: 5px;
    color: #333333;
}

.help-inline {
       padding-left: 0px;
}

.sortable-handle, .sortable-handle label {
    cursor: move;
}

.delete-item, .unlink-item {
    cursor: pointer;
}

.changeparent {
    cursor: pointer;
}

/* Larger Bootstrap Modals */

/*.large-modal .modal-body {

}*/

@media (min-width: 400px) {
    .large-modal .modal-dialog {
        width: 80%; /* respsonsive width */
    }
}

@media (min-width: 1200px) {
    .large-modal .modal-dialog {
    	width: 1100px; /* SET THE WIDTH OF THE MODAL */
    }
}

/*.small-modal .modal-body {

}*/

@media (min-width: 400px) {
    .small-modal .modal-dialog {
        width: 30%; /* respsonsive width */
    }
}

@media (min-width: 1200px) {
    .small-modal .modal-dialog {
    	width: 350px; /* SET THE WIDTH OF THE MODAL */
    }
}

table label {
    margin-bottom: 0px;
}

.tablePagination {
    text-align: center;
}

.site-header {
    background-image: url(Images/logo_manager.png); 
    background-repeat: no-repeat; 
    background-position: 15px 50%; 
    height: 65px; 
    padding-left: 300px; 
    position: relative;
}

.customer-site-header {
    background-image: url(Images/logo_customer_cloud_hdr.png);
    background-repeat: no-repeat;
    background-position: 15px 50%;
    height: 65px;
    width: 340px;
    padding-left: 300px;
    position: relative;
}

.home-logo {
    background-image: url(Images/perenso_logo_300x85_transparent_lightbg.png);
    background-position: center;
    background-repeat: no-repeat;
    height: 50px;
}

.save-button {
    float: right;
    margin-bottom: 10px;
}

.wizard a {
    padding: 10px 12px 10px;
    margin-right: 5px;
    background: #efefef;
    position: relative;
    display: inline-block;
}
.wizard a:before {
    width: 0;
    height: 0;
    border-top: 20px inset transparent;
    border-bottom: 20px inset transparent;
    border-left: 20px solid #fff;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
}
.wizard a:after {
    width: 0;
    height: 0;
    border-top: 20px inset transparent;
    border-bottom: 20px inset transparent;
    border-left: 20px solid #efefef;
    position: absolute;
    content: "";
    top: 0;
    right: -20px;
    z-index: 2;
}
.wizard a:first-child:before,
.wizard a:last-child:after {
    border: none;
}
.wizard a:first-child {
    -webkit-border-radius: 4px 0 0 4px;
       -moz-border-radius: 4px 0 0 4px;
            border-radius: 4px 0 0 4px;
}
.wizard a:last-child {
    -webkit-border-radius: 0 4px 4px 0;
       -moz-border-radius: 0 4px 4px 0;
            border-radius: 0 4px 4px 0;
}
.wizard .badge {
    margin: 0 5px 0 18px;
    position: relative;
    top: -1px;
}
.wizard a:first-child .badge {
    margin-left: 0;
}
.wizard .current {
    background: #007ACC;
    color: #fff;
}
.wizard .current:after {
    border-left-color: #007ACC;
}

.mywizard li {
    position: relative;
    background: #f5f5f5;
    padding-right: 30px;
    padding-left: 5px;
}

.mywizard li a:after, .mywizard li a:before {
    left: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.mywizard li a:after {
    border-color: rgba(245, 245, 245, 0);
    border-left-color: #f5f5f5;
    border-width: 20px;
    top: 50%;
    margin-top: -20px;
    margin-left: -30px;
}

.mywizard li a:before {
    border-color: rgba(255, 255, 255, 0);
    border-left-color: #fff;
    border-width: 30px;
    top: 50%;
    margin-top: -30px;
    margin-left: -30px;
}
.mywizard li .badge {
    vertical-align: text-bottom;
    padding-top: 3px;
}

form#isDirty {
    margin: 0 0 0 0;
}

#source-data-table {  
    height: 100%;
    overflow-x: scroll;
 }

.remove-set {
    cursor: pointer;
}

/* Overwriting Well Styles */

.well {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.alert-neutral {
  color: #333333;
  background-color: #F5F5F5;
  border-color: #F5F5F5;
}

/*.alert-neutral.summary-header {
    color: #f16923 !important;
}*/

.alert-blank {
  color: #555;
  background-color: #FFF;
  border-color: #FFF;
}


.accordion-heading > a{
   white-space:nowrap; 
    width:40em; 
    overflow:hidden;
    text-overflow:ellipsis;
    
}
.accordion-heading > span{
    margin-right:20px;
    margin-top:-28px;
}

.multiselect > span {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 90%;
    text-align: left;
}

.download-pdf {
  list-style: none;
  margin: 0;
  padding: 0;
}

.download-pdf > li > a {
  padding: 17px 10px 17px 52px;
  display: inline-block;
  background: url("pdficon_large.png") no-repeat 10px 50%;
  font-size: 20px;
}


.select2-add-choice input {
    background: none !important;
}

.uploadButtonHorizontal {
    margin-bottom: 10px;
    margin-top: 10px;
}

.container {
    max-width: 100%;
}


/* Sidebar */

.bs-sidebar.affix {
    position: static;
}
.bs-sidenav {
    background-color: #F5F5F5;
    border-radius: 5px 5px 5px 5px;
    padding-top: 10px;
    text-shadow: 0 1px 0 #FFFFFF;
}
.bs-sidebar .nav > li > a {
    color: #716B7A;
    display: block;
    padding: 5px 20px;
}
.bs-sidebar .nav > li > a:hover, .bs-sidebar .nav > li > a:focus {
    background-color: #E5E3E9;
    border-right: 1px solid #DBD8E0;
    text-decoration: none;
}
.bs-sidebar .nav > .active > a, .bs-sidebar .nav > .active:hover > a, .bs-sidebar .nav > .active:focus > a {
    background-color: rgba(0, 0, 0, 0);
    border-right: 2px solid #F26721;
    color: #F26721;
    font-weight: bold;
}
.bs-sidebar .nav .nav {
    display: none;
    margin-bottom: 8px;
}
.bs-sidebar .nav .nav > li > a {
    font-size: 90%;
    padding-bottom: 3px;
    padding-left: 30px;
    padding-top: 3px;
}
@media screen and (min-width: 992px) {
.bs-sidebar .nav > .active > ul {
    display: block;
}
.bs-sidebar.affix, .bs-sidebar.affix-bottom {
    width: 213px;
}
.bs-sidebar.affix {
    position: fixed;
    top: 80px;
}
.bs-sidebar.affix-bottom {
    position: absolute;
}
.bs-sidebar.affix-bottom .bs-sidenav, .bs-sidebar.affix .bs-sidenav {
    margin-bottom: 0;
    margin-top: 0;
}
}
@media screen and (min-width: 1200px) {
.bs-sidebar.affix-bottom, .bs-sidebar.affix {
    width: 263px;
}
}

#sidebar ul {
    margin-bottom: 0;
}

.help-inline {
    color: #B94A48;
}

.pagination {
    margin-top: 0px;
    margin-bottom: 0px;
}

.hide {
    display: none;
}

.badge-warning{background-color:#b94a48;}

.tooltip {
    z-index: 2000 !important;
}

.row-bottom-spacing {
    padding-bottom: 15px;
}

.perenso-gradient { 
    /* fallback */ 
    background-color: #444; 
    background-image: url(images/linear_bg_1.png); 
    background-repeat: repeat-y; 
    /* Safari 4-5, Chrome 1-9 */ 
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f26722), to(#f26722)); 
    /* Safari 5.1, Chrome 10+ */ 
    background: -webkit-linear-gradient(top, #f26722, #f26722); 
    /* Firefox 3.6+ */ 
    background: -moz-linear-gradient(top, #f26722, #f26722); 
    /* IE 10 */ 
    background: -ms-linear-gradient(top, #f26722, #f26722); 
    /* Opera 11.10+ */ 
    background: -o-linear-gradient(top, #f26722, #f26722);

}

.navbar-nav > li > a > [class*="icon-"]:first-child {
    display: inline-block;
    font-size: 18px;
    font-weight: normal;
    margin-right: 0;
    min-width: 30px;
    text-align: center;
    vertical-align: middle;
    padding-bottom: 3px;
}

.navbar-nav > li > a {
    padding-bottom: 0px;

}

/* Overwriting ACE */

.btn.btn-white.active, .btn.btn-white:active, .btn.btn-white:focus, .btn.btn-white:hover, .open .btn.btn-white.dropdown-toggle {
    background-color: #FFFFFF !important;
    border: 1px solid #D5D5D5 !important;
    color: #858585 !important;
}

button.multiselect.dropdown-toggle.btn-white.btn.btn-default {
    text-align: left;
}

.btn-group > .btn > .caret {
    border-top-color: #858585;
    margin-top: 0;
}

.header.perenso-orange {
    border-bottom-color: #F79421;
}

.perenso-orange {
    color: #F79421 !important;
}


.sub-breadcrumb {
    margin-bottom: 20px;
    border-bottom: none;
    
}

.sub-breadcrumb a {
    color: #428BCA !important;
}

.select2-container .select2-choice .select2-arrow b:before {
    content:none !important;
}

.btn-white-perenso, .btn-white-perenso:focus {
    background-color: #FFFFFF !important;
    border-color: #A0A0A0;
    border-width: 1px;
    color: #393939 !important;
    height: 34px;
    text-shadow: none !important;
}

.btn-success {
    background-color: #6F9D43 !important;
    border-color: #6F9D43 !important;
}

.select2-container .select2-choices .select2-search-field input, .select2-container .select2-choice, .select2-container .select2-choices {
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    color: #858585 !important;
}

.select2-chosen, .select2-choice > span:first-child, .select2-container .select2-choices .select2-search-field input{
    padding: 8px 5px !important;
}

.input-icon.input-icon-right > [class*="icon-"] {
    right: 5px;
    font-size: 20px;
    top: 5px;
}

i.fa.fa-bars.bigger-120.dropdown-toggle:hover {
    color: #f16923;
}

i.fa.fa-bars.bigger-120.dropdown-toggle {
    color: #428aca;
    cursor: pointer;
}

.required-marker{
    color:red;
}
 
.checkbox-in-list{
    margin-bottom: 0px;
}

/* Header Styles */

.navbar-header > .version-number {
    padding-left: 0; 
    color: white; 
    padding-top: 23px; 
    margin-bottom: 0; 
    white-space: nowrap; 
    float: left;
}

.navbar-header > .top-menu {
    padding-left: 15px; 
    padding-top: 20px; 
    white-space: nowrap; 
    float: left; 
}

.navbar-header .environment-label {
    background-color: #FFF686;
    width: 109px;
    height: 29px;
    border-radius: 6px;
    margin: 28px 30px 0px 10px;
    float: left;
}

.navbar-header #en-label-icon {
    background: url('images/sandbox_icon_sm.png');
    width: 15px;
    height: 19px;
    margin: 6px 0px 1px 13px;
    float: left;
}

.navbar-header #en-label-txt {
    margin-top: 3px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.2px;
}

.sandbox-alert {
    background: black;
    color: white;
    margin-top: -20px;
    line-height: 19px;
}

.profile-info-box {
    padding-top: 13px;
    padding-left: 10px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    display: block;
    float: left;
    text-align: right;
}

.logged-in-box {
     color: white !important; 
     text-decoration: none !important;
}

.logged-in-box-menu {
    font-size: 16px; 
    margin-left: 5px;
}

#avatar-picture{
    height: 50px;
    width: 50px;
    background-image: url(Images/perenso_icon_orange2.png);
    background-repeat:  no-repeat;
    margin-left: 10px;
    margin-top: 7px;
    margin-bottom: 7px;
    border-color: #555555;
    border-width: 2px;
    float: left;
}


.table tfoot tr {
    color: #A0A0A0;
}

.tooltip-inner {
    white-space:pre-wrap;
    text-align:left;
}

 .tooltip > p {
   text-align:left;
 }

 /*.table-nested {
 }*/

 .panel-heading .accordion-toggle:after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';  /* essential for enabling glyphicon */
    content: "\e114";    /* adjust as needed, taken from bootstrap.css */
    float: right;        /* adjust as needed */
}
.panel-heading .accordion-toggle.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\e080";    /* adjust as needed, taken from bootstrap.css */
}

.accordion-style1.panel-group .panel-heading .accordion-toggle {
    color: #478fca !important;
}

.minimum-pricing-label {
    text-align: right; 
    vertical-align: central; 
    padding-top: 12px; 
    padding-right: 5px; 
    color:#707070;
}

.dropdown-menu {
    min-width: 0;
}

.navbar .navbar-nav > li {
    border: none;
}

.navbar .navbar-brand {
    height: 60px !important;
}


/* Ace Overrides */

.no-skin .sidebar{
    background-color: #444;
}

.no-skin .nav-list>li>a, .no-skin .nav-list>li>a:focus{
    background-color: #444;
    color: #ffffff;
}

.no-skin .nav-list>li.open>a,.no-skin .nav-list > li.active > a, .no-skin .nav-list > li.active > a:hover
,.no-skin .nav-list > li.active > a,.no-skin .nav-list>li .submenu>li>a,.no-skin .nav-list .open:hover .parent {
    color:#f37a29;
    background-color: #FFFFFF;
}

.no-skin .nav-list>li>a:hover, .no-skin .nav-list>li .submenu>li>a:hover
,.no-skin .nav-list>li:hover>a
{
    color: #FFFFFF;
    background-color: #565656;
}

.no-skin .nav-list>li{
    border-color:#3c3c3c;
    color: #FFFFFF;
    background-color: #f37a29;
}

.nav-list > li.active > a, .nav-list > li.active > a:hover, .nav-list > li.active > a:focus, .nav-list > li.active > a:active {
    color: #F26721;
}

.no-skin .nav-list>li .submenu>li.active>a, .no-skin .nav-list>li .submenu>li.active:not(.open)>a,.no-skin .nav-list>li .submenu>li>a:hover 
,.no-skin .nav-list .open>a, .no-skin .nav-list .open>a:focus, .no-skin .nav-list .open>a:hover{
color: #f37a29;
background-color: #f5f7fa;
}



.breadcrumb>li>a {
color: #F26721;
}

.page-header h1 {
color: #F26721;
}

.no-skin .nav-list li.active>a:after {
border-right-color: #F26721;
-moz-border-right-colors: #F26721;
}

.no-skin .nav-list>li.active:after {
border-color: #F26721;
}

.no-skin .navbar .navbar-toggle {
background-color: #FFA742;
margin-top: 14px;
}

.no-skin .navbar .navbar-toggle.display, .no-skin .navbar .navbar-toggle[data-toggle=collapse]:not(.collapsed) {
background-color: #FFA742;
box-shadow: inset 1px 1px 2px 0 rgba(0,0,0,.25);
border-color: #F26721;
}

.no-skin .navbar .navbar-toggle:hover {
background-color: #FFA742;
border-color: rgba(255,255,255,.1);
}

.no-skin .navbar .navbar-toggle:focus {
background-color: #FFA742;
border-color: transparent;
}

.navbar-container {
padding-left: 10px;
padding-right: 10px;
}

@media (max-width: 992px){
    .version-number{
        display: none;
    }
    .top-menu{
        display: none;
    }
}

.page-content > .row .col-lg-12, .page-content > .row .col-md-12, .page-content > .row .col-sm-12, .page-content > .row .col-xs-12 {
    float: none;
    max-width: none;
}

.dropdown-menu>.disabled>a, .dropdown-menu>.disabled>a:focus, .dropdown-menu>.disabled>a:hover{
    color:#999;
}

::-webkit-input-placeholder {
   color: #999;
}

:-moz-placeholder { /* Firefox 18- */
   color: #999; 
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #999;
}

:-ms-input-placeholder {  
   color: #999;
}

label.checkbox{
    padding-left: 20px;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
    border-top: 2px solid #f26721;
}

input[type=color], input[type=date], input[type=datetime-local], input[type=datetime], input[type=email], input[type=month], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week], textarea {
    color: #6D6D6D;
}

.dropdown-menu>li>span.disabled {
font-size: 13px;
padding-left: 11px;
padding-right: 11px;
margin-bottom: 1px;
margin-top: 1px;
display: block;
padding-top: 3px;
clear: both;
font-weight: 400;
line-height: 1.42857143;
color: #999;
white-space: nowrap;
}


.fc-event {
    font-size: inherit !important;
}

.fc-event-container .popover{
    width: 300px;
}

.fc-event label-success{
    background-color: #82af6f!important;
}

input[type=date], input[type=datetime-local], input[type=month], input[type=time] {
    line-height: 1.42857143 !important  ;
}

/* Datatables */

.dataTables_wrapper .row:first-child {
    background-color: white;
    padding-top: 0;
}

.dataTables_wrapper .row:last-child {
    background-color: white;
    border-bottom: none;
}

.dataTable>thead>tr>th[class*=sort]:hover {
    color: #555;
}

.dataTable>thead>tr>th[class*=sorting_] {
    color: #555;
}

div.dataTables_info {
    padding-top: 8px;
}

.dataTables_info {
    font-size: 13px;
    font-weight: 400;
}

i.call-rate {
    float: right;
    font-size: 20px;
    margin-right: 3px;
    margin-top: 3px;
}

.label-grey {
    background-color: #abbac3 !important;
    border-radius: 0;
    border: none;
    padding: 2px 4px;
    border-top: 5px solid #abbac3;
    margin: 0 0 2px 0;
}

div.map-info {
    color: #000;
}

    div.map-info:hover{
        background-color: #fcf8e3;
        cursor: pointer;
    }

    div.map-info.selected {
        background-color: #ffc446;
        color: #000;
    }

    div.call-sequence {
        width: 33px;
        height: 28px;
        left: 20px;
        top: 20px;
        background: #4283F3;
        text-align: center;
        line-height: 25px;
        font-size: 18px;
        font-weight: bold;
        color: #fff;
        margin-bottom: 5px;
    }

div.map-other-info {
    color: #656565;
}



.calc-button{
    height: 50px;
    font-size: 18px;
}

.btn.btn-grey {
    color: #000!important;
    text-shadow: none;
    background-color: #ccc !important;
    border-color: #ccc !important;
}

.btn-grey:hover, .btn-grey:active, .open>.btn-grey.dropdown-toggle {
    background-color: #bbb!important;
    border-color: #ccc !important;
}

table.keypad {
    width: 100%;
}

table.keypad td {
    padding: 2px;
}

.input-group-lg > .form-control, .input-group-lg > .input-group-addon, .input-group-lg > .input-group-btn > .btn {
    padding: 8px 15px;
}

.input-group-lg>.form-control, .input-group-lg>.input-group-addon, .input-group-lg>.input-group-btn>.btn {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}

.highlight {
    background-color: grey;
}

div.order-qty {
    font-size: 16px; 
    text-align: center;
}

.fc-event.on-hover {
    height: auto !important;
}

.fc-event-time{
    display: none;
}

a.fc-event:hover{
    color: #fff !important;
}


.fc-day-grid-event .fc-time {
    font-weight: normal !important;
}

.fc-more{
    font-size: 14px !important;
}

.indicator-button{
    min-width: 124px;
}

.select2-search__field {
    min-width: 1em;
}

.select2-container--bootstrap .select2-results__option[aria-selected=true]{
    display: none !important;
}

.select2-search:after{
    display: none;
}

.fc-label-warning{
    background-color: #fff!important;
    /*border-left: 15px solid #82af6f!important;*/
    color:#000;
    border-color:#82af6f;
}

a.fc-label-warning:hover, a.fc-label-success:hover {
    color:#000!important;
}

.fc-label-success{
    background-color: #fafafa!important;
    /*border-left: 15px solid #6FB3E0!important;*/
    color:#000;
    border-color:#6FB3E0;
}
.legend-label-warning{
    /*background-color:#82af6f!important;*/
    background-color:#F89406 !important;
    color:#fff;
}
.legend-label-success{
    /*background-color:#6FB3E0!important;*/
    background-color:#93C47D !important;
    color:#fff;
}
.btn.label-warning.view-call {
    border-color: #F89406 !important;
    background-color: #F89406 !important;
    color: #fff;
}
    .btn.label-warning.view-call:hover {
        border-color: #DDD !important;
    }
fieldset.scheduler-border {
    border: solid 1px #DDD !important;
    padding: 0 10px 10px 10px;
    border-bottom: none;
}
legend.scheduler-border {
    width: auto !important;
    border: none;
    font-size: 14px;
}
#dt-list-1 dt{
    width:120px!important;
    text-align:left;
}
#dt-list-1 dd{
    margin-left:150px
}
#header-wrap {
    background: #353C3E;
    position: fixed;
    width: 20%;
    height: 50px;
    top: 0px;
    border: none;
    z-index: 1000;
}
.page-header {
    /*margin: 0 !important; 
    padding: 5px 0 !important;
    z-index:1000;*/
}
.page-header h1 {
   /*font-size: 14px; 
   font-weight: normal;
   color: #fff;
   padding: 0 10px; 
   margin: 5px 5px;*/
}
#sub-header {
    border: none !important;
    background: #353C3E;
    position: fixed;
    width: 80%;
    height: 50px;
    right: 0;
    top: 0;
    z-index:1000;
}

#sub-header #acct-detail,#sub-header #acct-history,#sub-header #call-obj
,#sub-header #call-notes, #contentBtn, #sub-header #cancel-call,#sub-header #finish-call
, #sub-header #ctn-later{ 
   margin: 12px 4px; 
   padding: 4px 12px; 
   border-radius: 15px; 
   border: none; 
   text-shadow: none !important;
} 
.page-header #key-shortcut{ 
   padding: 4px 12px; 
   border-radius: 15px; 
   border: none; 
   text-shadow: none !important;
}
#sub-header #acct-detail:hover, #sub-header #acct-history:hover, #sub-header #call-obj:hover, #sub-header #call-notes:hover, #sub-header #contentBtn:hover, .page-header #key-shortcut:hover {
    background-color: #D04E33 !important;
}

    #sub-header .sub-header-right {
        float: right;
        /*min-width: 620px;*/
        width:100%;
        text-align: right;
    }
            
.fixed-left-bar {
    position: fixed;
    top: 184px;
    bottom:0;
    z-index: 100;
    overflow-y: scroll;
    overflow-x:hidden;
}
.right-main-container{
    position: fixed;
    top:186px;
    left:16.5%;
    bottom:0;
    overflow-y: auto;
}
.fixed-left-bar::-webkit-scrollbar {
    display: none;
}
.hide-scroll-y{
    overflow-y:hidden;
}
.btn-heading {
    background-color: #444 !important;
    border-color: #444 !important;
}

.btn-mg {
    margin-top: 7px;
    margin-right: 23px;
    margin-left: 7px;
}

.btn-lg {
    width: 300px;
    /*max-width: 300px;*/
    border: 1px solid #444;
    font-size:12pt;
    text-shadow: none!important;
}

.btn-xlg {
    width: 100%;
    max-width: 504px;
    border: 1px solid #444;
    font-size:12pt;
    text-shadow: none!important;
    margin-left:10px!important;
    margin-right:20px!important;
}

.btn-clean {
    background-color: #fff !important;
    color: #858585 !important;
    border-color: #ddd !important;
}

.btn-lg.btn-clean:hover {
    color: white !important;
}

.btn-default:active, .btn-default:hover, .btn:active, .btn:hover, .open .btn-default.dropdown-toggle, .open .btn.dropdown-toggle {
    border-color: #ddd !important;
}

#tab-btns {
    position: fixed;
    bottom: 0;
    background-color: #353C3E;
    padding: 10px 0;
    text-align: center;
    z-index: 1000;
}
 
.summary-header {
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #fff2d6;
    cursor:pointer
}

@media (max-width: 1690px) {
    .input-group .btn-group {
    	width: 90%!important;
    }
}

.grp-header {
    background-color: #fff2d6;
    padding: 10px;
    /*color: #f16923;*/
    cursor: pointer;
}


.table-custom, .table-custom td {
    border: 1px solid #ddd;
}  

.table-custom td.boxcolumn {
    width:60px;
}

.btn.btn-white {
    color: #858585 !important;
}

a.disabled, .input-disabled, .btn.btn-white.input-disabled{
   pointer-events: none;
   cursor: default;
   background-color:#eeeeee!important;
   color:#999!important;
}

.radio-btn {
    background-color:white!important;
}
.radio-btn.btn-default {
    color:#abbac3!important;
    border-color:#abbac3!important;
}
.radio-btn.btn-primary {
    color:#2f7bba!important;
    border-color:#2f7bba!important;
}
.radio-btn.btn-danger {
    color:#d15b47!important;
    border-color:#d15b47!important;
}
.radio-btn.btn-default.active, .radio-btn.btn-default:hover {
    background-color:#abbac3!important;
    color:white!important;
}
.radio-btn.btn-primary.active, .radio-btn.btn-primary:hover{
    background-color:#2f7bba!important;
    color:white!important;
}
.radio-btn.btn-danger.active, .radio-btn.btn-danger:hover {
    background-color:#d15b47!important;
    color:white!important;
}
.ho-pass-fail-rd.radio-btn.btn-default.active:after {
    border-bottom: none;
}
.ho-pass-fail-rd.radio-btn.btn-primary.active:after {
    border-bottom: none;
}
.ho-pass-fail-rd.radio-btn.btn-danger.active:after {
    border-bottom: none;
}

.action-photos-wrapper, .survey-photos-wrapper {
    display: flex;
    gap: 20px;
    overflow: auto;
}

/* Inside the do modal the wrapper stacks: thumbnail grid, then the Add Photos button. */
#check-photo-container .action-photos-wrapper {
    display: block;
    overflow: visible;
}

    .action-photos-wrapper .action-photo-item, .survey-photos-wrapper .survey-photo-item {
        width: 200px;
        position: relative;
    }

    .action-photos-wrapper .todo-photo-preview, .survey-photos-wrapper .survey-photo-preview {
        cursor: pointer;
        height: 200px;
        width: 100%;
    }

    .action-photos-wrapper .todo-photo-caption, .survey-photos-wrapper .survey-photo-caption {
        width: 100%;
        height: 30px;
        line-height: 30px;
        text-align: center;
        font-size: 14px;
        position: absolute;
        background-color: #FFF;
        bottom: 0;
        overflow: hidden;
    }

/* Saved thumbnails keep their aspect ratio instead of being stretched to fill the box */
#check-photo-container .action-photos-wrapper .action-photo-item {
    width: 140px;
}

#check-photo-container .action-photos-wrapper .todo-photo-preview {
    height: 140px;
    object-fit: contain;
    background-color: #F9F9F9;
}

/* Multi-photo thumbnail row in the do modal - scrolls sideways rather than wrapping */
.uploaded-photo-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 5px;
}

    .uploaded-photo-container .action-photo-item {
        flex: 0 0 auto;
    }

.todo-photo-caption-badge {
    position: absolute;
    bottom: 5px;
    left: 5px;
    width: 26px;
    height: 26px;
    border-radius: 3px;
    background-color: #428BCA;
    color: #FFF;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.add-photos-container {
    margin-top: 15px;
}

    .add-photos-container .upload-photo-icon {
        border-radius: 0;
    }

#check-photos-section .check-photos-heading,
#check-note-container .check-notes-heading {
    margin-top: 0;
    margin-bottom: 15px;
}

    /* The label inside the heading carries its own Bootstrap sizing - inherit the
       h4 instead so Notes matches the Photos and Required: headings. */
    #check-note-container .check-notes-heading .control-label {
        font-size: inherit;
        font-weight: inherit;
        line-height: inherit;
        margin-bottom: 0;
    }

/* "Edit Photos" staging modal - thumbnail rail on the left, large preview on the right */
#edit-photos-modal .modal-dialog {
    width: 90%;
    max-width: 1100px;
}

/* Cap the body, not the panels: the body may also hold the duplicate/size warning,
   whose height is not known up front. Capping the panels alone let that alert push
   the modal past the viewport and scroll its header off-screen. */
#edit-photos-modal .modal-body {
    max-height: calc(100vh - 200px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#edit-photos-panels {
    display: flex;
    align-items: stretch;
    gap: 20px;
    /* Fills whatever the capped body leaves after the warning; min-height:0 lets
       it shrink so the thumbnail list scrolls instead of the modal growing. */
    flex: 1 1 auto;
    min-height: 0;
}

#edit-photos-modal #edit-photos-error {
    flex: 0 0 auto;
    margin-bottom: 0;
}

#edit-photos-thumbs {
    flex: 0 0 140px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding-right: 5px;
    border-right: 1px solid #EEE;
}

    #edit-photos-thumbs #add-more-photos {
        flex: 0 0 auto;
        white-space: nowrap;
        border-radius: 0;
    }

#edit-photos-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

    #edit-photos-list .staged-photo-item {
        position: relative;
        height: 90px;
        flex: 0 0 auto;
        cursor: pointer;
        border: 3px solid transparent;
        border-radius: 4px;
    }

        #edit-photos-list .staged-photo-item.selected {
            border-color: #428BCA;
        }

    /* contain, not cover: show the whole photo at its own aspect ratio rather than cropping tall images */
    #edit-photos-list .staged-photo-preview {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background-color: #F9F9F9;
        display: block;
        border-radius: 4px;
    }

    /* Small badge in the top-right corner. It must NOT cover the thumbnail:
       the whole thumbnail is the "select this photo" target, so a full-size
       delete overlay would turn an ordinary re-select into a deletion. */
    #edit-photos-list .remove-staged-img {
        position: absolute;
        top: 2px;
        right: 2px;
        width: 22px;
        height: 22px;
        padding: 0;
        line-height: 20px;
        text-align: center;
        border: 0;
        border-radius: 3px;
        background-color: rgba(0, 0, 0, 0.55);
        color: #FFF;
        font-size: 12px;
    }

        #edit-photos-list .remove-staged-img:hover,
        #edit-photos-list .remove-staged-img:focus {
            background-color: #D15B47;
            color: #FFF;
        }

#edit-photos-detail {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#staged-photo-large-container {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F9F9F9;
    min-height: 0;
    overflow: hidden;
}

    #staged-photo-large {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

/* Two-panel to-do modal body, with a full-height divider between the panels */
#ho-modal-body > .row {
    display: flex;
    flex-wrap: wrap;
}

/* min-width: 0 lets the left panel's flex children shrink instead of overflowing */
#ho-left-panel {
    min-width: 0;
}

#ho-right-panel {
    border-left: 1px solid #DDD;
}

/* Do-modal content slideshow: one image at a time, with arrows, dots and a
   counter in a row beneath it. Hidden entirely when the item has no content. */
#ho-content-slideshow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#ho-content-stage {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F9F9F9;
    min-height: 200px;
    max-height: 45vh;
    overflow: hidden;
}

    #ho-content-stage > a {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        max-height: 100%;
        cursor: default;
    }

        #ho-content-stage > a.ho-content-clickable {
            cursor: pointer;
        }

/* Type badge over a preview, marking content that is not just a flat image. */
#ho-content-badge {
    position: absolute;
    right: 4px;
    bottom: 4px;
    width: 32px;
    height: auto;
}

/* Caps height as well as width so a tall image cannot push the footer off-screen. */
#ho-content {
    max-width: 100%;
    max-height: 45vh;
    object-fit: contain;
    display: block;
}

    /* Stand-in icons are small, non-square assets - cap them rather than scaling
       up to fill the stage, and let the aspect ratio be whatever the asset is. */
    #ho-content.ho-content-icon {
        max-width: 100px;
        max-height: 100px;
    }

/* Arrows sit in the controls row below the image, flanking the dots and counter. */
.ho-content-nav {
    border: 1px solid #CCC;
    border-radius: 3px;
    background-color: #FFF;
    color: #555;
    width: 30px;
    height: 26px;
    padding: 0;
    font-size: 16px;
    line-height: 1;
}

    .ho-content-nav:hover, .ho-content-nav:focus {
        background-color: #F0F0F0;
        border-color: #ADADAD;
        color: #333;
    }

#ho-content-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

#ho-content-dots {
    display: inline-flex;
    gap: 6px;
}

/* display:block is required - width/height do not apply to an inline span. */
.ho-content-dot {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #CCC;
    cursor: pointer;
}

    .ho-content-dot.selected {
        background-color: #428BCA;
    }

#ho-content-counter {
    color: #777;
    font-size: 12px;
    white-space: nowrap;
}

/* Content viewer opened from a slide: PDF canvas, video player or full-size image. */
#ho-content-modal .modal-body {
    max-height: calc(100vh - 220px);
    overflow: auto;
    text-align: center;
}

.ho-pdf-toolbar {
    margin-bottom: 10px;
}

    .ho-pdf-toolbar .ho-pdf-pages {
        margin-left: 12px;
        color: #777;
        font-size: 12px;
    }

#ho-pdf-canvas {
    max-width: 100%;
    height: auto;
    border: 1px solid #DDD;
}

.ho-content-video, .ho-content-full {
    max-width: 100%;
    max-height: calc(100vh - 260px);
}

.ho-content-no-inline {
    padding: 30px 15px;
    color: #777;
}

/* Right-hand panel: Required indicators + Done / Not Done */
#ho-right-panel #ho-required-row {
    margin-bottom: 20px;
}

#ho-right-panel .ho-required-heading {
    margin-top: 0;
    margin-bottom: 10px;
}

#ho-right-panel .ho-required-icons {
    display: block;
    font-size: 16px;
}

    /* The icons are empty <i> elements until a requirement applies - the fa-camera /
       fa-comment class is added at runtime. Collapse the ones with no icon, otherwise
       they leave a gap, and never render an empty grey circle. */
    #ho-right-panel .ho-required-icons > i {
        display: none;
    }

    #ho-right-panel .ho-required-icons > i.fa-camera,
    #ho-right-panel .ho-required-icons > i.fa-comment {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        margin-right: 8px;
        border-radius: 50%;
        background-color: lightgray;
        color: inherit;
    }

#ho-right-panel .ho-state-buttons .ho-pass-fail-rd {
    display: block;
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 10px;
    border: 1px solid;
    border-radius: 0;
    text-align: center;
}

#ho-right-panel .ho-state-buttons .failed-reasons-panel .form-control {
    border-radius: 0;
}

/* Matches the delete badge in the Edit Photos modal so the two read the same */
.action-photos-wrapper .remove-uploaded-img, .action-photos-wrapper .remove-pending-img {
        background-color: rgba(0, 0, 0, 0.55);
        border: 0;
        border-radius: 3px;
        color: #FFF;
        width: 22px;
        height: 22px;
        padding: 0;
        font-size: 12px;
        position: absolute;
        top: 5px;
        right: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
        .action-photos-wrapper .remove-uploaded-img:hover, .action-photos-wrapper .remove-pending-img:hover,
        .action-photos-wrapper .remove-uploaded-img:focus, .action-photos-wrapper .remove-pending-img:focus {
            background-color: #D15B47 !important;
            color: #FFF !important;
        }

/* Read-only photo viewer - same master-detail shape as the Edit Photos modal */
#view-photos-modal .modal-dialog {
    width: 90%;
    max-width: 1100px;
}

/* Cap the body rather than the panels, so the modal can never outgrow the
   viewport and scroll its own header or footer off-screen. */
#view-photos-modal .modal-body {
    max-height: calc(100vh - 200px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#view-photos-panels {
    display: flex;
    align-items: stretch;
    gap: 20px;
    flex: 1 1 auto;
    min-height: 0;
}

#view-photos-thumbs {
    flex: 0 0 140px;
    overflow-y: auto;
    padding-right: 5px;
    border-right: 1px solid #EEE;
}

#view-photos-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    #view-photos-list .view-photo-item {
        position: relative;
        width: 110px;
        height: 90px;
        flex: 0 0 auto;
        cursor: pointer;
        border: 3px solid transparent;
    }

        #view-photos-list .view-photo-item.selected {
            border-color: #428BCA;
        }

        #view-photos-list .view-photo-item img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            background-color: #F9F9F9;
            display: block;
        }

#view-photos-detail {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#view-photo-caption {
    background-color: #EFEFEF;
    padding: 10px 15px;
}

#view-photo-large-container {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F9F9F9;
    min-height: 0;
    overflow: hidden;
}

    #view-photo-large {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

/* "View N photos" link in the Last Answer column */
.view-photos-count {
    display: inline-block;
    margin-left: 8px;
    white-space: nowrap;
}

/* Single photo edit modal: caption field above the image, image sized to fit. */
#todo-photo-modal #todo-caption-input {
    margin-bottom: 15px;
}

#todo-photo-modal #todo-modal-photo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F9F9F9;
    min-height: 300px;
    max-height: 500px;
    overflow: hidden;
}

    #todo-photo-modal #todo-modal-photo-container #todo-modal-photo {
        max-width: 100%;
        max-height: 500px;
        object-fit: contain;
    }

#survey-photo-modal #survey-modal-photo-container {
    position: relative;
    width: 400px;
    margin: auto;
}

    #survey-photo-modal #survey-modal-photo-container #survey-caption-display {
        width: 100%;
        height: 50px;
        line-height: 50px;
        text-align: center;
        font-size: 18px;
        position: absolute;
        background-color: #FFF;
        bottom: 0;
        overflow: hidden;
    }

    #survey-photo-modal #survey-modal-photo-container #survey-modal-photo {
        height: 400px;
        width: 100%;
    }
    
.call-top-margin {
    margin-top: 70px;
}

.modal-footer .btn {
    border-radius: 0px!important;
}

.mandatory-icons {
    font-size: 15px;
    margin-right: 5px;
}

@media (max-width: 1400px) {
    #sub-header {
        height: 100px;
    }

    #header-wrap {
        height: 100px;
    }
    .call-top-margin{
        margin-top:120px;
    }
    #sub-header .sub-header-right{
        width:80%;
    }
    .top-bar-separator{
        display:none;
    }
}
@media (max-width: 850px) {
    .page-content{
         min-width:666px;
    }
    .top-bar-wi{
        min-width:650px;
    }
    #sub-header {
        height: 150px;
        min-width:430px;
    }
    #header-wrap {
        height: 150px;
        min-width: 430px;
    }
    .call-top-margin{
        margin-top:100px;
    }
    #sub-header .sub-header-right{
        width:100%;
    }
    .top-bar-separator{
        display:none;
    }
}
#header-wrap h1.heading-acct-text {
    min-width: 195px;
    width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*Kit*/
.kit-label {
    width: 27px;
    height: 24px;
    padding: 4px 6px;
    margin-left: 10px;
    background-color: #333333;
    border-radius: 2px;
    color: #FFF;
    display: inline-block;
    font-size: 12px;
    line-height: 16px;
}

.kit-label-sm {
    font-size: 10px;
    width: 22px;
    height: 18px;
    padding: 2px 4px;
    margin-left: 5px;
    vertical-align: middle;
    line-height: 12px;
}

.kit-label-lg {
    font-size: 16px;
    width: 32px;
    height: 30px;
    vertical-align: text-bottom;
    line-height: 22px;
}

/*Multi Search*/
.search-box-container .control-label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-box-container .ids-entered {
    display: none;
    color: #999;
}

.search-box-container .clear-keywords-icon {
    display: none;
    cursor: pointer;
    margin-left: auto;
    color: red;
}

/*Product custom sort*/
#description-custom-sort label {
    display: flex;
    align-items: center;
    gap: 4px;
}

    #description-custom-sort label #description-sort-text {
        display: flex;
        flex-direction: column;
    }

        #description-custom-sort label #description-sort-text em {
            color: grey;
            font-size: 0.9em;
        }
/* ── Geolocation map modal (Account Records → Addresses tab) ──────────────
   Scoped to .geo-map-modal, not the #map-modal id, which AccountHistory and
   MyTeam/Diary reuse for their own map modals. Dialog width comes from the
   shared .large-modal rules above. */

#show-map-btn {
    font-size: 30px;
    padding: 2px 2px 2px 2px;
    line-height: 0px;
    height: 34px;
    width: 34px;
}

.geo-map-modal .modal-dialog {
    margin: 30px auto;
}

.geo-map-modal .modal-content {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
    max-height: calc(100vh - 60px);
    min-height: 320px;
}

.geo-map-modal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.geo-map-modal .modal-header,
.geo-map-modal .modal-footer {
    flex: 0 0 auto;
}

/* Keep the three buttons on one row: wrapped, they cost the map ~50px more. */
.geo-map-modal .modal-footer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.geo-map-modal .modal-footer .btn {
    margin: 0;
}

/* pull-left on Locate; the other two sit right. */
.geo-map-modal .modal-footer #locate-primary-btn {
    margin-right: auto;
    float: none;
}

.geo-map-modal #geoinfo-alerts {
    flex: 0 0 auto;
}

.geo-map-modal #geoinfo-alerts .alert {
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
}

.geo-map-modal #map-wrapper {
    flex: 1 1 auto;
    position: relative;
    min-height: 0;
}

.geo-map-modal #map-canvas {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Hidden until the Maps API reparents it into the canvas as a map control. */
.geo-map-modal #search-input {
    display: none;
}

.geo-map-modal #map-canvas #search-input {
    display: block;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 5px;
    box-sizing: border-box;
    width: 300px;
    height: 40px;
    padding: 0 11px 0 13px;
    margin-top: 10px;
    margin-left: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2), 0 -1px 0px rgba(0,0,0,0.02);
    font-family: FontAwesome, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 1.3em;
    text-decoration: inherit;
    text-overflow: ellipsis;
}

body.geo-map-open > .modal-backdrop.in {
    opacity: .2;
}

/* Short viewports: tighten the chrome so the map keeps usable height. */
@media (max-height: 550px) {
    .geo-map-modal .modal-dialog {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .geo-map-modal .modal-content {
        height: calc(100vh - 20px);
        max-height: calc(100vh - 20px);
        min-height: 0;
    }

    .geo-map-modal .modal-header,
    .geo-map-modal .modal-footer {
        padding: 8px 15px;
    }

    .geo-map-modal .modal-header .modal-title {
        font-size: 16px;
    }

    .geo-map-modal #geoinfo-alerts .alert {
        padding: 6px 30px 6px 12px;
        font-size: 12px;
    }
}
