html,body{
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    background-color: #f3f3f3;
}
h1{margin:0px 0px 20px 0;}
.input-mini {
    width: 60px;
    display: inline;
}
#resMsg{display: none;}
.validation-error {
    color: red;
}
.invalidField {
    border: 1px solid red !important;
}
.pos-rel,.rel-pos{position: relative;}
.pos-abs,.abs-pos{position: absolute;}
/*override bootstrap 4**********************************************************/
.boxFocused{
    -webkit-box-shadow: 0 3px 3px 0 rgba(0,0,0,0.16), 0 0 0 3px rgba(0,0,0,0.04) !important;
    box-shadow: 0 3px 3px 0 rgba(0,0,0,0.16), 0 0 0 3px rgba(0,0,0,0.04) !important;
    -webkit-transition: box-shadow .3s ease-in-out !important;
    transition: box-shadow .3s ease-in-out !important;
}
.passwordStrengthWrap {
    width: 100%;
    height: 10px;
    background: #EBEFF1;
    border: 1px solid #DDE1E2;
    display: block;
    position: relative;
    white-space: nowrap;
    margin-bottom: 0px;
}
.passwordStrengthBar {
    position: absolute;
    top: 0;
    left: 0;
    height: 9px;
    width: 0px;
    -webkit-transition: width 1s;
    transition: width 1s;
}
main{margin-top: 50px;}
.p1[data-count]:after{
    position:absolute;
    right:0%;
    top:5%;
    content: attr(data-count);
    font-size:10px;
    border-radius:50%;
    line-height:16px;
    color: white;
    background:rgba(255,0,0,.85);
    text-align:center;
    width: 16px;height:16px;
}
.svg-inline--fa{margin-right: 2px;font-size:18px;}
.icon-small{font-size:14px;}
.fixed-top {z-index: 998;}
.navbar,.nav-link{padding: 0;}
.navbar{
    background: #fff;
    -webkit-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.09);
    -moz-box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.09);
    box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.09);
    padding-right: 10px;
}
.navbar-toggler{margin:10px;}
.nav-link{
    display: flex;
    /* flex-direction: row; */
    align-items: center;
    padding: 10px 5px;
}
.navbar-nav{padding-left: 20px;}
.glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
}
.glyphicon-arrow-right:before {
    content: "\e092";
}
.glyphicon-arrow-left:before {
    content: "\e091";
}
a.locationBlock,a.locationBlock:hover{color:#212529;text-decoration:none;line-height: 1.5;}
/*
.locationBlockDesc{
    width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
*/
.locationBlockDesc {
    /* hide text if it more than N lines  */
    overflow: hidden;
    /* for set '...' in absolute position */
    position: relative; 
    /* use this value to count block height */
    line-height: 1.2em;
    /* max-height = line-height (1.2) * lines max number (3) */
    max-height: 3.6em; 
    /* fix problem when last visible word doesn't adjoin right side  */
    text-align: justify;  
    /* place for '...' */
    /*margin-right: -1em;*/
    padding-right: 1em;
    width:300px;
  }
  /* create the ... */
  .locationBlockDesc:before {
    /* points in the end */
    content: '...';
    /* absolute position */
    position: absolute;
    /* set position to right bottom corner of block */
    right: 0;
    bottom: 0;
  }
  /* hide ... if we have text, which is less than or equal to max lines */
  .locationBlockDesc:after {
    /* points in the end */
    content: '';
    /* absolute position */
    position: absolute;
    /* set position to right bottom corner of text */
    right: 0;
    /* set width and height */
    width: 1em;
    height: 1em;
    margin-top: 0.2em;
    /* bg color = bg color under block */
    background: white;
  }
a{color:#c14000;}
a:hover{color:#ee0000;text-decoration: none;}
.bg-primary{background: #c14000 !important;color:#fff;}
.btn.bg-primary:hover{background: #ee4400 !important;}
/* change the background color */
.navbar-custom {
    background-color: #c14000 !important;
}
/* change the brand and text color */
.navbar-custom .navbar-brand,
.navbar-custom .navbar-text {
    color: rgba(255,255,255,.8);
}
/* change the link color */
.navbar-custom .navbar-nav .nav-link {
    color: rgba(255,255,255,1);
}
/* change the color of active or hovered links */
.navbar-custom .nav-item.active .nav-link,
.navbar-custom .nav-item:hover .nav-link {
    color: #ffffff;
    background-color: #ee4400;
}
.navbar-nav .nav-item{display: flex;}
label.required:after {
    content: "*";
    color: red;
}
.hidden{display: none !important;}
.form-control.pac-target-input{border:0 !important;}
/********CALENDAR****************************************************************/
.calendarWrap{display:table-cell;padding:0px 5px 0px 5px;}
.calendarWrap.firstCal{padding-left:0px !important;}
.calendarWrap.lastCal{padding-right:0px !important;}

.calendarWrap_small{display:block;}
.calendarDropdown {
    background: #fff;
    padding: 10px;
    position: absolute;
    z-index: 300;
    left: 0;
    top: 35px;
    border: 0;
    border-radius: 4px;
    -webkit-box-shadow: 0 2px 16px rgba(0,0,0,0.15);
    box-shadow: 0 2px 16px rgba(0,0,0,0.15);
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    max-height:400px;
    overflow:auto;
}
.calendarDropdown .calendarNav .calendarNav_left{left:5px;cursor:pointer;}
.calendarDropdown .calendarNav .calendarNav_right{right:5px;cursor:pointer;}
.calendar-weekCellWrap{display:flex;align-items:center;justify-content:center;}
.calendar-dayCell-empty, .calendar-weekCell, .calendar-dayCell, .calendar-dayCell-disabled {
    display: flex;
    width: 40px;
    height: 38px;
    justify-content: center;
    align-items: center;
}
.calendar-dayCell{cursor: pointer;}
.calendar-dayCell-disabled,.navArrow_disabled{cursor:auto !important;color:#BCC2C7 !important;}
.dtRangeSelected {
    background: #3498db;
    color: #fff;
}
.dtRangeSelected2 {
    background: #c9dfed;
}
.center {
    margin: 0 auto;
    text-align: center !important;
}
button.calDateOptionsButton {
    margin: 10px 5px 10px 0;
    padding: 5px 10px;
    border: 1px solid #bbb;
    color: #545b5b;
    border-radius: 3px;
    cursor: pointer;
    white-space: nowrap;
    display: inline-block;
    background:#fff !important;
}
button.calDateOptionsButton:hover{background:#efefef !important;}
.fakeInput {
    padding:5px 5px 5px 10px;
    font-size: 14px;
    background-color: #fff;
    color:#6a6a6a;
    background-image: none;
    border: 1px solid #bcc2c7;
    border-radius: 3px;
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    margin-bottom: 0;
    display: inline-block;
    height:35px;
    width:100%;
}
/*override bootstrap 4**********************************************************/
.btn-secondary {
    color: #fff;
    background-color: #bcc2c7;
    border-color: #bcc2c7;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="color"]:focus,
textarea:focus,
select:focus,
.form-control:focus {
  -moz-box-shadow: 0 0 5px #3498DB  !important;
  -webkit-box-shadow: 0 0 5px #3498DB  !important;
  box-shadow: 0 0 5px #3498DB  !important;
  border: 1px solid #3498DB  !important;
}
.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: 0;
    margin-left: 0;
}
.form-group {margin-bottom: 10px;}
#navbarCollapse .dropdown-menu{
    min-width: 250px;
    line-height: 1.5 !important;
    padding: 0px !important;
}
#navbarCollapse .dropdown-menu li{padding:3px 10px;cursor: pointer;}
#navbarCollapse .dropdown-menu li:hover{background:#eee;}
.rowWrap{
    display: block;
    padding: 16px;
    -webkit-box-shadow: 0 1px 3px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.04);
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.04);
    -webkit-transition: box-shadow .3s ease-in-out;
    transition: box-shadow .3s ease-in-out;
    background-color: #fff;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    outline: none;
    width:100%;
    margin-bottom: 15px;
}
.rowWrap h1, .rowWrap h2{margin-top: -5px;}
.reportRowWrap{
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: start;
    justify-content: start;
    -webkit-align-content: flex-start;
    align-content: flex-start;
    -webkit-flex-direction: row;
    flex-direction: row;
    z-index: 0;
}
.reportImageWrap{
    margin-right: 16px;
    display: block;
    min-width: 144px;
    max-width: 144px;
    min-height: 144px;
    min-height: 144px;
    overflow: hidden;
}
.reportImage{
    position: relative;
    display: block;
    width: 100%;
    height: 144px;
    line-height: 0;
    max-height: 144px;
}
.reportImage img{
    line-height: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
    image-rendering: auto;
    border-radius: 4px;
}
.leftNav ul{
    list-style-type: none;
    padding-left: 0;
}
.subtle{color:#aaa;}
.pagination li {
    float: left;
    list-style-type: none;
    border-left:1px solid #ddd;
}
.pagination a {

    padding: 0 14px;
    line-height: 34px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-left-width: 0;
}
.pagination .disabled span, .pagination .disabled a, .pagination .disabled a:hover {
    color: #999999;
    cursor: default;
    background-color: transparent;
}

[class*="dropdown-menu-tip-"]::after {
  content: '';
  position: absolute;
  width: .5rem;
  height: .5rem;
  background-color: white;
  border: solid 1px rgba(0, 0, 0, .15);
  border-bottom: none;
  border-left: none;
}

/* North */
.dropdown-menu-tip-n::after {
  top: calc(-.25rem - 1px);
  left: calc(50% - .25rem);
  transform: rotate(-45deg);
}

/* Northeast */
.dropdown-menu-tip-ne::after {
  top: calc(-.25rem - 1px);
  right: 1rem;
  transform: rotate(-45deg);
}

/* Northwest */
.dropdown-menu-tip-nw::after {
  top: calc(-.25rem - 1px);
  left: 1rem;
  transform: rotate(-45deg);
}

/* South */
.dropdown-menu-tip-s::after {
  left: calc(50% - .25rem);
  bottom: calc(-.25rem - 1px);
  transform: rotate(135deg);
}

/* Southeast */
.dropdown-menu-tip-se::after {
  right: 1rem;
  bottom: calc(-.25rem - 1px);
  transform: rotate(135deg);
}

/* Southwest */
.dropdown-menu-tip-sw::after {
  left: 1rem;
  bottom: calc(-.25rem - 1px);
  transform: rotate(135deg);
}
.passwordViewOnOff{
    position: absolute;
    right: 25px;
    top: 9px;
    color: #545B5B;
    cursor: pointer;
}

/*Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
    .navbar-nav li.nav-item:last-child {
        margin-bottom: 10px;
    }
    .dropdown-menu-right{left:0;}
    .navbar-nav .dropdown-menu {
    position: absolute;
    float: none;
    }
 }

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767.98px) {
    .navbar-nav li.nav-item:last-child {
        margin-bottom: 10px;
    }
 }

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991.98px) {

 }

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199.98px) {

 }

/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {

 }
