/* Enhanced date picker */

.datepicker-days .day-in-range {
    background-color: #e7eff6;
}
.datepicker-days .day-start-in-range,
.datepicker-days .day-end-in-range {
    background-color: #8bb6e4;
    color: #ffffff;
}
.datepicker-days .day-start-in-range.today:before,
.datepicker-days .day-end-in-range.today:before {
    border-bottom-color: #fff;
}

/* Enhanced dual list */

.dual-list-container .dual-title-container
{
    display: table;
    height: 30px;
}
.dual-list-container .dual-title-container .dual-title
{
    display: table-cell;
    vertical-align: bottom;
}

.dual-list-container .list-left li,
.dual-list-container .list-right li {
    cursor: pointer;
}

.dual-list-container .dual-list .list-group-item {
    border-radius: 0px;
    border-left: none;
    border-right: none;
}
.dual-list-container .dual-list .list-group-item:first-child {
    border-top: none;
}

.dual-list-container .container-with-fixed-height-300 {
    height: 300px;
    overflow-y: scroll;
    border: solid 1px #ddd;
    border-radius: 3px;
}
/* Enhanced checkboxes */

.checkbox label:after, 
.radio label:after {
    content: '';
    display: table;
    clear: both;
}

.checkbox .cr,
.radio .cr {
    position: relative;
    display: inline-block;
    border: 1px solid #a9a9a9;
    border-radius: .25em;
    width: 1.3em;
    height: 1.3em;
    float: left;
    margin-right: .5em;
}

.radio .cr {
    border-radius: 50%;
}

.checkbox .cr .cr-icon,
.radio .cr .cr-icon {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 20%;
    left: 20%;
}

.radio .cr .cr-icon {
    margin-left: 0.04em;
}

.checkbox label input[type="checkbox"],
.radio label input[type="radio"] {
    display: none;
}

.checkbox label input[type="checkbox"] + .cr > .cr-icon,
.radio label input[type="radio"] + .cr > .cr-icon {
    transform: scale(3) rotateZ(-20deg);
    opacity: 0;
    transition: all .3s ease-in;
}

.checkbox label input[type="checkbox"]:checked + .cr > .cr-icon,
.radio label input[type="radio"]:checked + .cr > .cr-icon {
    transform: scale(1) rotateZ(0deg);
    opacity: 1;
}

.checkbox label input[type="checkbox"]:disabled + .cr,
.radio label input[type="radio"]:disabled + .cr {
    opacity: .5;
}

/* General styles */
.u-bold
{
    font-weight: 600;
}
.u-very-concealed
{
    display: none !important;
}
.u-concealed
{
    display: none;
}
.u-invisible
{
    visibility: hidden;
}
.u-inline-block
{
    display: inline-block;
}
.u-full-width
{
    width: 100%;
}
.u-ellipsable
{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.u-clickable
{
    cursor: pointer;
}
.u-draggable
{
    cursor: move;
}
.u-forbidden
{
    cursor: not-allowed !important;
}
.u-text-centered
{
    text-align: center;
}
.u-no-pr
{
    padding-right: 0;
}
.u-no-pl
{
    padding-left: 0;
}
.u-3-pr
{
    padding-right: 3px;
}
.u-3-pl
{
    padding-left: 3px;
}
.u-3-pt
{
    padding-top: 3px;
}
.u-3-pb
{
    padding-bottom: 3px;
}
.u-6-pr
{
    padding-right: 6px;
}
.u-6-pl
{
    padding-left: 6px;
}
.u-no-mr
{
    margin-right: 0;
}
.u-no-ml
{
    margin-left: 0;
}
.u-3-mr
{
    margin-right: 3px;
}
.u-3-ml
{
    margin-left: 3px;
}
.u-5-mb
{
    margin-bottom: 5px;
}
.u-10-mb
{
    margin-bottom: 10px;
}
.u-fa-fix-width
{
    min-width: 15px;
}
.u-rounded-left
{
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}
.u-rounded-right
{
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}
.u-vertical-center
{
    display: inline-block;
    vertical-align: middle;
    float: none;
}
.u-blue-fg-colored
{
    color: #337ab7 !important;
}
.u-scrollbar-hidden::-webkit-scrollbar {
    /* Hide scrollbar for Chrome, Safari and Opera */
    display: none;
}
.u-scrollbar-hidden {
    /* Hide scrollbar for IE, Edge add Firefox */
    -ms-overflow-style: none;
    scrollbar-width: none; /* Firefox */
}

.short-date
{ 
    display: none;
}
.dropdown-menu > li > a.disabled,
a.disabled
{
    color: #7A7A7A;
    cursor: not-allowed;
}

/* New appointment */
.new-appointment
{
    text-align: center;
}
.new-appointment-prompt
{
    margin-top: 1em;
    margin-bottom: 1em;
}
.new-appointment-icon
{
    margin-top: 2em;
    margin-bottom: 2em;
}
.new-appointment-title
{
    margin-bottom: 1em;
}
.like-button
{
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.like-button:hover
{
    background-color: #e6e6e6;
    border-color: #adadad
}

/* Bootstrap button customization */

.btn-default.active.negated,
.btn-default.negated:active,
.open>.dropdown-toggle.btn-default.negated {
    background-color: #fa867e;
}

/* Bootstrap navbar customization */
.navbar-brand
{
    padding: 0 15px;
}
.navbar-brand-logo
{
    height: 40px;
    margin: 5px;
}

/* Bootstrap alert customization */
.tidal-alert
{
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1999;
    margin-bottom: 0;
}
.tidal-alert.alert-warning,
.tidal-alert.alert-danger
{
    background-color: #f00;
    color: #fff;
}
.tidal-alert.alert-warning .close,
.tidal-alert.alert-danger .close
{
    opacity: 0.7;
}

/* Bootstrap table customization */
.added-to-toolbar
{
    margin-bottom: 10px;
    margin-top: 10px;
}
.added-to-toolbar.right-spaced
{
    margin-right: 5px;
}
.tidal-table th:first-of-type,
.tidal-table td:first-of-type
{
    display:none;
}
.tidal-table td
{
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}
.tidal-table > tbody > tr > td
{
    vertical-align: middle;
}
.fixed-table-container .tidal-table tbody .selected td
{
    background-color: #b4e0ff !important;
    border-color: #fff;
}
.tidal-table .tooltip > .tooltip-inner
{
    background-color: #266092;
}
.tidal-table .tooltip.top > .tooltip-arrow
{
    border-top-color: #266092;
}
.tidal-table.table.compact > tbody > tr > td,
.tidal-table.table.compact > tbody > tr > th,
.tidal-table.table.compact > tfoot > tr > td,
.tidal-table.table.compact > tfoot > tr > th,
.tidal-table.table.compact > thead > tr > td,
.tidal-table.table.compact > thead > tr > th
{ 
    padding: 4px; 
}
.tidal-toolbar .glyphicon
{
    margin-right: 10px;
}
.pagination-detail 
{
    color: #999;
}
.row-note
{
    font-style: italic;
    color: #999;
}
.attribute-distance-km
{
    width: 55%;
    max-width: 60px;
    text-align: left;
    border-left: solid 1px #ddd;
    margin-left: 8px;
    padding-left: 6px;
}
.attribute-distance-km .unit-of-measure
{
    font-size: 80%;
}
.attribute-locked
{
    width: 25%;
    max-width: 20px;
    margin-left: 2px; 
    text-align: left;
}
.col-button-invoice
{
    cursor: pointer;
    padding: 10px;
}
.col-button-invoice:hover
{
    color: #266092;
    font-weight: 600;
    text-decoration: underline;
}

/* Bootstrap select customization */
.bootstrap-select a
{ 
    outline: none;
}

/* Bootstrap modal customization */
.modal-header-coast-to-coast
{
    position: relative;
    padding-left: 0;
    padding-right: 0;
    border-bottom: none;
}
.modal-header-coast-to-coast .inner-padded
{
    padding-left: 15px;
    padding-right: 15px;
}
.modal-header-coast-to-coast .bottom-line
{
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
    position: absolute;
    bottom: 15px;
    left: 0;
}
.modal-header-coast-to-coast .nav-tabs.nav-justified > li > a
{
    border-bottom: none !important;
}
.modal-title,
.modal-header-coast-to-coast .modal-title
{
    text-align: center;
}
.modal-body.tall
{
    min-height: 425px;
}
.modal-body.mid-tall
{
    min-height: 400px;
}
.modal-body.short
{
    min-height: 250px;
}
.modal-body.bottom-spaced
{
    padding-bottom: 2.5em;
}
.modal-footer {
    position: relative;
}
.modal-footer-bottom-left {
    position: absolute;
    left: 0;
    bottom: 0;
    margin-left: 10px;
    margin-bottom: 5px;
    font-size: 12px;
}
.modal-footer-bottom-left-2nd {
    position: absolute;
    left: 0;
    bottom: 0;
    margin-left: 10px;
    margin-bottom: 25px;
    font-size: 12px;
    color: red !important;
    font-weight: 600;
    text-decoration: underline;
}
.modal-footer-explanation
{
    display: inline-block;
    margin-right: 10px;
    color: #999;
    font-style: italic;
}

/* Form customization */
.form-1st-input-ontop
{
    border-top-right-radius: 4px !important;
}
.form-2nd-input-below
{
    margin-top: -1px;
    border-top-right-radius: 0 !important;
}
.form-spacer
{
    width: 100%;
    margin-bottom: .5em;
}
.form-flex-inline {
    display: flex;
    align-items: stretch;
}
.form-flex-inline .with-right-margin {
    margin-right: 5px;
}
.form-flex-inline .with-left-margin {
    margin-left: 5px;
}
.form-flex-inline .width-50,
.form-flex-inline .bootstrap-select.form-control.width-50 {
    width: 50px;
}
.form-flex-inline .width-100,
.form-flex-inline .bootstrap-select.form-control.width-100 {
    width: 100px;
}
.form-flex-inline .width-150,
.form-flex-inline .bootstrap-select.form-control.width-150 {
    width: 150px;
}
.form-flex-inline .width-200,
.form-flex-inline .bootstrap-select.form-control.width-200 {
    width: 200px;
}
.form-flex-inline .width-250,
.form-flex-inline .bootstrap-select.form-control.width-250 {
    width: 250px;
}
.form-flex-inline .width-half,
.form-flex-inline .bootstrap-select.form-control.width-half {
    width: 280px;
}
.form-flex-inline .width-300,
.form-flex-inline .bootstrap-select.form-control.width-300  {
    width: 300px;
}
.form-flex-inline .width-350,
.form-flex-inline .bootstrap-select.form-control.width-350 {
    width: 350px;
}
.form-flex-inline .width-400,
.form-flex-inline .bootstrap-select.form-control.width-400 {
    width: 400px;
}
.form-flex-inline .grow-1 {
    flex-grow: 1;
}


.form-inline-left-half,
.form-inline-right-half
{
    width: 49.25% !important;
}
.form-inline-left-big,
.form-inline-right-big
{
    width: 80% !important;
}
.form-inline-right-small
{
    width: 19.25% !important;
}
.form-inline-left-mid
{
    width: 38.7% !important;
}
.form-inline-right-mid
{
    width: 60% !important;
}
.form-inline-left-mid.swapped
{
    width: 60% !important;
}
.form-inline-right-mid.swapped
{
    width: 38.7% !important;
}
.form-hint
{
    font-style: italic;
    font-weight: 400;
    color: #999;
}
.input-group-addon.u-clickable:hover
{ 
    background-color: #ddd;
}
.form-abso-elements-anchor
{
    position: relative;
}
.form-abso-element-under-textfield
{
    position: absolute;
    top: 60px;
}
.form-autocomplete-scrolldown
{
    width: 90%;
    max-height: 168px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.form-autocomplete-scrolldown li
{
    cursor: pointer;
    padding-left: 10px;
    padding-right: 10px;
}
.form-autocomplete-scrolldown li:hover
{
    background-color: #c4f0ff;
}

@-o-keyframes blinkFadeRed
{
    0%   { background-color: #ffffff; }
    50%  { background-color: #fdd8d8; }
    100% { background-color: #ffffff; }
  }
@keyframes blinkFadeRed
{
    0%   { background-color: #ffffff; }
    50%  { background-color: #fdd8d8; }
    100% { background-color: #ffffff; }
}
.invalid, .form-control.invalid, .invalid .form-control
{
    background-image:  none !important; 
    -o-animation: blinkFadeRed 1s ease-in-out 3;
    animation: blinkFadeRed 1s ease-in-out 3;
    border-color: red;
}

@-o-keyframes blinkFadeCyan
{
    0%   { background-color: #ffffff; }
    50%  { background-color: #c4f0ff; }
    100% { background-color: #ffffff; }
  }
@keyframes blinkFadeCyan
{
    0%   { background-color: #ffffff; }
    50%  { background-color: #c4f0ff; }
    100% { background-color: #ffffff; }
}
.highlight, .form-control.highlight
{
    background-image:  none !important; 
    -o-animation: blinkFadeCyan 1s ease-in-out 3;
    animation: blinkFadeCyan 1s ease-in-out 3;
    border-color: #a6b5ff;
}

@-o-keyframes blinkFadeRedFront
{
    0%   { color: initial; }
    50%  { color: #ff0000; }
    100% { color: initial; }
}
@keyframes blinkFadeRedFront
{
    0%   { color: initial; }
    50%  { color: #ff0000; }
    100% { color: initial; }
}
.text-red-blink
{
    -o-animation: blinkFadeRedFront 3.5s ease-in-out infinite;
    animation: blinkFadeRedFront 3.5s ease-in-out infinite;
}

@-o-keyframes blinkFadeGreenFront
{
    0%   { color: initial; }
    50%  { color: #2eb62c; }
    100% { color: initial; }
}
@keyframes blinkFadeGreenFront
{
    0%   { color: initial; }
    50%  { color: #2eb62c; }
    100% { color: initial; }
}
.text-green-blink
{
    -o-animation: blinkFadeGreenFront 3.5s ease-in-out infinite;
    animation: blinkFadeGreenFront 3.5s ease-in-out infinite;
}

.input-group-addon.static-highlight,
.input-group-addon.u-clickable.static-highlight
{
    background-color: #777;
}
.input-group-addon.static-highlight svg
{
    color: #eee;
}

#modal-alert-popup .modal-footer .btn,
.btn.btn-min-width
{
    min-width: 80px;
}

/* Tablet and smartphones */
@media (max-width: 767px)
{
    .modal-header-coast-to-coast .nav-tabs.nav-justified > li.active > a
    {
        border-bottom: 1px solid #e5e5e5 !important;
    }
    .new-facture-body .col-xs-4
    {
        padding-left: 2px;
        padding-right: 2px;
    }
    .fixed-table-toolbar .search
    {
        display: none;
    }
    .modal-header-coast-to-coast .nav-tabs.nav-justified > li
    {
        width: 49%;
	    display: inline-block;
    }
    .modal-header-coast-to-coast .bottom-line
    {
        bottom: 20px;
    }
    .form-inline .form-control, .form-inline input
    {
        display: inline-block;
    }
    .form-inline .input-group
    {
        display: inline-table;
        vertical-align: top;
    }
    .form-inline-left-big
    {
        width: 69% !important;
    }
    .form-inline-right-small
    {
        width: 28.8% !important;
    }
    .form-inline-left-mid
    {
        width: 35% !important;
    }
    .form-inline-right-mid
    {
        width: 63% !important;
    }
    .form-inline-left-mid.swapped
    {
        width: 63% !important;
    }
    .form-inline-right-mid.swapped
    {
        width: 35% !important;
    }
    .attribute-distance-km .unit-of-measure
    {
        display: none;
    }
    .short-date { display: inline; }
    .long-date  { display: none; }
}

/* Small sizes */
@media (max-width: 999px) {

    .tidal-toolbar .btn-group .glyphicon-detail { display: none; }
    .tidal-toolbar .btn-group .glyphicon { margin-right: 0; }
}
@media (max-width: 649px) {

    .small-hided { display: none !important; }
}

/* Fontawesome customization */
.fs-dark
{
    color:black;
}
.fs-light
{
    color:lightgray;
}
.fs-dark.blue
{
    color:#266092;
}
.fs-light.blue
{
    color:#bfcdda;
}

