.rgIconRight
{
    float:right;
}

.rgBorder
{
    border: 1px solid red;
}

/* ------ SubMenu----------*/

.rgSubDropDown {
    min-width: 200px;
    position:absolute;
    padding: 5px 0;
    margin: 2px 0 0;
    background-clip: padding-box;
    background-color: white;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,0.2);
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    color:black;
    z-index: 3010;
    display:none;
}

/* Not comfortable definition of arrows on the dropdowns border */

.rgSubDropDownLeftDown:before {
  content: '';
  display: inline-block;
  border-top: 7px solid transparent;
  border-left: 7px solid #ccc;
  border-bottom: 7px solid transparent;
  position: absolute;
  bottom: 8px;
  right: -7px;
}

.rgSubDropDownLeftDown:after {
  content: '';
  display: inline-block;
  border-top: 6px solid transparent;
  border-left: 6px solid #ffffff;
  border-bottom: 6px solid transparent;
  position: absolute;
  bottom: 9px;
  right: -6px;
}

.rgSubDropDownRightDown:before {
  content: '';
  display: inline-block;
  border-top: 7px solid transparent;
  border-right: 7px solid #ccc;
  border-bottom: 7px solid transparent;
  position: absolute;
  bottom: 8px;
  left: -7px;
}

.rgSubDropDownRightDown:after {
  content: '';
  display: inline-block;
  border-top: 6px solid transparent;
  border-right: 6px solid #ffffff;
  border-bottom: 6px solid transparent;
  position: absolute;
  bottom: 9px;
  left: -6px;
}

.rgSubDropDownLeftUp:before {
  content: '';
  display: inline-block;
  border-top: 7px solid transparent;
  border-left: 7px solid #ccc;
  border-bottom: 7px solid transparent;
  position: absolute;
  top: 7px;
  right: -7px;
}

.rgSubDropDownLeftUp:after {
  content: '';
  display: inline-block;
  border-top: 6px solid transparent;
  border-left: 6px solid #ffffff;
  border-bottom: 6px solid transparent;
  position: absolute;
  top: 8px;
  right: -6px;
}

.rgSubDropDownRightUp:before {
  content: '';
  display: inline-block;
  border-top: 7px solid transparent;
  border-right: 7px solid #ccc;
  border-bottom: 7px solid transparent;
  position: absolute;
  top: 7px;
  left: -7px;
}

.rgSubDropDownRightUp:after {
  content: '';
  display: inline-block;
  border-top: 6px solid transparent;
  border-right: 6px solid #ffffff;
  border-bottom: 6px solid transparent;
  position: absolute;
  top: 8px;
  left: -6px;
}

/* ------ Panel ----------*/

.rgPanel button
{
    margin-left: 4px;
}

.rgPanel
{
    min-height: 30px;
    padding-top: 0px;
    padding-left: 6px;
    padding-right: 6px;
}

.rgPanelRight
{
    text-align: right;
}

.rgPanelLeft {
    text-align: left;
}

.rgPanelView {
    min-width: 280px;
}

/* ------ Group Item ----------*/

.rgGroupItemTitle
{
    margin: 0px 5px 0px 5px;

    padding-left: 8px;
    padding-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;

    font-style: italic;
    color: #bbb;
    background-color: transparent;
}

/* ------ Separator Item ----------*/

.rgSeparatorItem
{
    margin: 0px 5px 0px 5px;

    padding-left: 0px;
    padding-right: 0px;
    padding-top: 3px;
    padding-bottom: 3px;

    line-height: 15px;
    cursor: pointer;
    font-weight: bold;
}

.rgSeparatorItem div
{
    width: 100%;
    height: 1px;
    background-color: #ccc;
}

/* ------ Text Item  ----------*/

.rgTextItem
{
    margin: 0px 5px 0px 5px;

    padding-left: 8px;
    padding-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;

    line-height: 15px;
    cursor: pointer;
    font-weight: bold;
}

.rgTextItem:hover
{
    background-color: #00BBFF;
    color: white;
}

.rgTextItemDisabled, .rgTextItemDisabled:hover{
    color: #ddd;
    cursor:default !important;
    background-color: transparent;
}

.rgTextItemHighlight, .rgTextItemHighlight:hover
{
    background-color: #3399CC;
    color: white;
}

/* ------ Menu----------*/
.rgMenuItem
{
    float:right;
    margin: 8px 5px 0px 5px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 10px;
    cursor: pointer;
}

.rgMenuItem:hover
{
    background-color: #00BBFF;
    color: white;
}

.rgMenuItemDisabled, .rgMenuItemDisabled:hover{
    color: #ddd;
    cursor:default !important;
    background-color: transparent;
}

.rgMenuItemHighlight, .rgMenuItemHighlight:hover
{
    background-color: #87b87f;
    color: white;
    font-weight: bold;
}


.rgDropDownArrowRight:before {
  content: '';
  display: inline-block;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #ccc;
  border-bottom-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: -7px;
  right: 6px;
}

.rgDropDownArrowRight:after {
  content: '';
  display: inline-block;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #ffffff;
  position: absolute;
  top: -6px;
  right: 7px;
}

.rgDropDownArrowLeft:before {
  content: '';
  display: inline-block;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #ccc;
  border-bottom-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: -7px;
  left: 6px;
}
.rgDropDownArrowLeft:after {
  content: '';
  display: inline-block;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #ffffff;
  position: absolute;
  top: -6px;
  left: 7px;
}

.rgDropDown {
    position:absolute;
    padding: 5px 0;
    margin: 2px 0 0;
    background-clip: padding-box;
    background-color: white;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,0.2);
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    color:black;
    z-index: 3010;
    display:none;
    min-width: 200px;
}


/* ------ List ----------*/

.rgList {
    padding: 5px;
    margin: 3px;
}

.slimScrollDiv {
    padding-right: -10px;
    border: solid 1px #ccc;
    background-color: #f9f9f9;
}

.rgList ul {
    margin: 0px;
    margin-right: 8px;
}

.rgList ul li {
    list-style: none;

    position: relative;
    min-height: 38px;
    background-color: #f8f8f8;
    background-image: -moz-linear-gradient(top, #ffffff, #eeeeee);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#eeeeee));
    background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee);
    background-image: -o-linear-gradient(top, #ffffff, #eeeeee);
    background-image: linear-gradient(to bottom, #ffffff, #eeeeee);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffeeeeee', GradientType=0);
    color: #222;
    border-bottom: 1px solid #CCC;
    border-bottom: 1px solid #DDD;
    padding: 4px;
    text-align: left;
}

.rgList ul li.rgListSelectable:hover div {
    color: black;
}

.rgList ul li.rgListSelectable:hover {
    list-style: none;
    position: relative;
    min-height: 38px;
    cursor: pointer;

    background-image: -moz-linear-gradient(top, #ffeeee, #ee8888);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffeeee), to(#ee8888));
    background-image: -webkit-linear-gradient(top, #ffeeee, #ee8888);
    background-image: -o-linear-gradient(top, #ffeeee, #ee8888);
    background-image: linear-gradient(to bottom, #ffeeee, #ee8888);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffeeee', endColorstr='#ffee8888', GradientType=0);

    color: #222;
    border-bottom: 1px solid #CCC;
    border-bottom: 1px solid #DDD;
    padding: 4px;
    text-align: left;
}

.rgList ul li.rgListDisabled {
    list-style: none;

    position: relative;
    min-height: 38px;
    background-color: #e8e8e8;
    background-image: -moz-linear-gradient(top, #dddddd, #cccccc);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#dddddd), to(#cccccc));
    background-image: -webkit-linear-gradient(top, #dddddd, #cccccc);
    background-image: -o-linear-gradient(top, #dddddd, #cccccc);
    background-image: linear-gradient(to bottom, #dddddd, #cccccc);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdddddd', endColorstr='#ffcccccc', GradientType=0);
    color: #222;
    border-bottom: 1px solid #CCC;
    border-bottom: 1px solid #DDD;
    padding: 4px;
    text-align: left;
}

.rgList ul li.rgListSelected * {
    color: black;
}
.rgList ul li.rgListSelected {
    list-style: none;

    position: relative;
    min-height: 38px;
    background-color: #e8e8e8;

    background-image: -moz-linear-gradient(top, #ffeeee, #cc8888);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffeeee), to(#cc8888));
    background-image: -webkit-linear-gradient(top, #ffeeee, #cc8888);
    background-image: -o-linear-gradient(top, #ffeeee, #cc8888);
    background-image: linear-gradient(to bottom, #ffeeee, #cc8888);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffeeee', endColorstr='#ffcc8888', GradientType=0);

    color: black;
    border-bottom: 1px solid #CCC;
    border-bottom: 1px solid #DDD;
    padding: 4px;
    text-align: left;
}

.rgListItemDisabled {
    color: #999;
}

.historyItemMessage {
}
.historyItemDate {
    float: left;
    text-align: left;
    font-weight: bold;
}
.historyItemUserName {
    text-align: right;
    font-weight: bold;
}

.historyItemSingleUndoBtn {
    position: absolute;
    top: 0px;
    right: 4px;
    font-size: 14px;

    -webkit-transition: all .1s;
    transition: all .1s;
}

.historyItemSingleUndoBtn:hover {
    text-decoration: none;
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}

.rgMenu {
    padding-bottom:6px;
    float: right;
}

#grid-sliding-menu {
    position: absolute;
    padding-top: 0px;
    box-sizing: border-box;
    left: -4px;
}

.opts-slider-container {
    position: absolute;
    left: 0;
    top: auto;
    z-index: 600;
}

.opts-slider-button {
    position: absolute;
    right: 0;
    top: 0;
    width: 14px;
    display: block;
    text-align: center;
    border-radius: 0 4px 4px 0;
    opacity: 0.9;
    /*vertical-align: top;*/
    margin: 0;
    background: #00aafb;
    font-size: 11px;
    padding-bottom: 7px;
    padding-top: 7px;
    line-height: 1.45;
    color: #fff;
    cursor: pointer;
}

.opts-slider-button:hover {
    filter: brightness(85%);
}

.opts-slider-content-wrapper {
    margin-right: 14px;
    width: 0;
    overflow: hidden;
    position: relative;
    padding: 0;
}

.opts-slider-content-wrapper.opts-slider-transitions {
    -webkit-transition: max-width 0.25s linear;
    -o-transition: max-width 0.25s linear;
    transition: max-width 0.25s linear;
}

.opts-slider-content-wrapper.open {
    overflow: visible;
}

.opts-slider-content {
    padding: 0 20px 0 14px;
    background-color: #FFF;
    border: 1px solid #00aafb;
    position: absolute;
    top: 0;
    right: 0;
}


/**************************************************** Horizontal separator *******************************************/

.opts-horiz-separator {
    margin: 0 1px 0 1px;
    padding: 3px 0 3px 0;
    line-height: 15px;
    cursor: pointer;
}

.opts-horiz-separator div {
    width: 100%;
    height: 1px;
    background-color: #ccc;
}

/************************************************* Vertical separation table *****************************************/

.opts-vertical-sep {
    display: table;
    margin: 7px 0 10px 0;
}

.opts-vertical-sep > div {
    display: table-row;
}

.opts-vertical-sep > div > div {
    display: table-cell;
    padding: 0 7px;
}

.opts-vertical-sep > div > div + div {
    border-left: 1px solid #ccc;
}

/***************************************************** Smaller switch ************************************************/

input[type=checkbox].ace-switch.ace-switch-6-small + .lbl {
    position: relative;
}
input[type=checkbox].ace-switch.ace-switch-6-small + .lbl::before {
    font-family: FontAwesome;
    content: "\f00d";
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    box-shadow: none;
    border: none;
    font-weight: lighter;
    font-size: 10px; /*16px;*/
    border-radius: 7px; /*12px*/
    display: inline-block;
    background-color: #888;
    color: #F2F2F2;
    width: 32px; /*52px*/
    height: 14px; /*22px*/
    line-height: 14px; /*20px*/
    text-indent: 18px; /*32px*/
    -webkit-transition: background 0.1s ease;
    -moz-transition: background 0.1s ease;
    -o-transition: background 0.1s ease;
    transition: background 0.1s ease;

    margin-top: 3px;
    margin-right: 3px;
}
input[type=checkbox].ace-switch.ace-switch-6-small + .lbl::after {
    content: '';
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    position: absolute;
    top: 2px;
    left: 2px;
    border-radius: 7px; /*12px*/
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    width: 6px; /*10px;*/
    height: 6px; /*10px;*/
    text-align: center;
    background-color: #F2F2F2;
    border: 2px solid #F2F2F2; /* 4px */
    -webkit-transition: left 0.2s ease;
    -moz-transition: left 0.2s ease;
    -o-transition: left 0.2s ease;
    transition: left 0.2s ease;

    margin-top: 3px;
    margin-right: 3px;
}
input[type=checkbox].ace-switch.ace-switch-6-small + .lbl.no-icon::before {
    font-family: FontAwesome;
    content: "";
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    box-shadow: none;
    border: none;
    font-weight: lighter;
    font-size: 10px; /*16px;*/
    border-radius: 7px; /*12px*/
    display: inline-block;
    background-color: #ff893c;
    color: #FFF;
    border-color: #b7d3e5;
    width: 32px; /*52px*/
    height: 14px; /*22px*/
    line-height: 14px; /*20px*/
    text-indent: 4px; /*6px*/
    -webkit-transition: background 0.1s ease;
    -moz-transition: background 0.1s ease;
    -o-transition: background 0.1s ease;
    transition: background 0.1s ease;
    margin-top: 3px;
    margin-right: 3px;
}
input[type=checkbox].ace-switch.ace-switch-6-small:checked + .lbl::before {
    content: "\f00c";
    text-indent: 4px; /*6px*/
    color: #FFF;
    border-color: #b7d3e5;
    background-color: #ff893c;
}
input[type=checkbox].ace-switch.ace-switch-6-small:checked + .lbl.no-icon::before {
    content: "";
}
input[type=checkbox].ace-switch.ace-switch-6-small:checked + .lbl::after {
    left: 20px; /*32px*/
    background-color: #FFF;
    border: 2px solid #FFF; /* 4px */
    text-shadow: 0 -1px 0 rgba(0, 200, 0, 0.25);
}

input[type=checkbox].ace-switch.ace-switch-6-small {
    width: 43px;
    height: 14px;
}

input[type=checkbox].ace-switch.ace-switch-6-small + span.lbl {
    min-height: 0;
    padding-right: 35px;
}


input[type=checkbox].ace-switch.ace-switch-6-small:indeterminate + .lbl::before {
    font-family: FontAwesome;
    content: "\f068";
    text-indent: 12px;
    color: #FFF;
    border: none;
    box-shadow: none;
    text-shadow: none;
    background-color: #bbb;
    transition: none;
}
input[type=checkbox].ace-switch.ace-switch-6-small:indeterminate + .lbl::after {
    font-family: FontAwesome;
    content: "";
    border: none;
    box-shadow: none;
    text-shadow: none;
    background-color: #bbb;
    transition: none;
}

/***************************************************** In-out switch *************************************************/

input[type=checkbox].rows-in-out-switch + .switch-backend {
    position: relative;
    display: inline-block;
}
input[type=checkbox].rows-in-out-switch + .switch-backend::before {
    font-family: FontAwesome;
    content: "\f08d";
    /*text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);*/
    box-shadow: none;
    border: none;
    font-weight: lighter;
    font-size: 11px;
    border-radius: 8px;
    display: inline-block;
    background-color: #888;
    color: #F2F2F2;
    width: 16px;
    height: 14px;
    line-height: 15px;
    /* text-indent: 2px; */
    text-align: center;
    -webkit-transition: background 0.1s ease;
    -moz-transition: background 0.1s ease;
    -o-transition: background 0.1s ease;
    transition: background 0.1s ease;
    margin-top: 3px;
    margin-right: 5px;

    display: inline-block;
    vertical-align: middle;
}
input[type=checkbox].rows-in-out-switch:checked + .switch-backend::before {
    color: #FFF;
    border-color: #357cff;
    background-color: #357cff;
}

input[type=checkbox].rows-in-out-switch:disabled + .switch-backend::before {
    background-color: #ddd !important;
    border-color: #ccc !important;
    box-shadow: none !important;
    color: #F2F2F2 !important;
}

input[type=checkbox].rows-in-out-switch {
    width: 14px;
    height: 14px;
}

input[type=checkbox].rows-in-out-switch + .switch-backend {
    min-height: 0;
}




.opts-slider-content label {
    margin: 0;
    font-size: 13px;
}


/********************************************** Specifics for different menus ****************************************/

.opts-slider-content-inner {
    padding: 5px 5px 5px 12px;
    white-space: nowrap;
}

.opts-slider-content {
    white-space: nowrap;
}

/****************************************************** Filters menu *************************************************/
#contractsStartFilterDateRange {
    margin-bottom: 10px;
    border: 1px solid #aaa;
    width: 248px;
    height: 24px;
    text-indent: 5px;
}

.input-icon.daterange-input-button-wrapper > input {
    padding-left: 0;
    padding-right: 0;
}

.daterange-input-clear-icon {
    opacity: 0.7;
}

.daterange-input-clear-icon:hover {
    opacity: 1;
}


div.riedit-label-editor > div > label.control-label {
    width: 110px;
}

div.riedit-label-editor > div > div.controls {
    margin-left: 120px;
}

button.riedit-btn {
    margin: 0;
    border-width: 0px;
    line-height: 26px;
}

button.riedit-btn-selected {
    background-color: #94C27B !important;
}

div.riedit-note {
    margin-bottom: 10px;
}

button.riedit-btn-selected:hover {
    background-color: #94C27B !important;
}

div.riedit-float-right, button.riedit-float-right {
    float: right;
    margin-right: 10px;
}

div.riedit-tab {
    width: 520px;
}

div.tab-inner-wrapper {
    /*overflow: hidden;*/
}

div.riedit-parallel-tab {
    width: 520px;
}

.riedit-es {
    float: left;
}

div.riedit-bottom-label {
}

div.riedit-bottom-controlgrp {
    margin-bottom: 10px;
}

label.riedit-bottom-label {
    float:left;
    width: 80px;
    text-align: right;
    padding-top: 5px;
}

div.riedit-bottom-controls {
    margin-left: 90px;
}

div.riedit-parts {
    margin-bottom: 10px;
}

/*----------------- repeating -------------*/
div.riedit-repeating {
    display: table;
    border: 1px solid #ddd;
    padding: 3px;
    margin-top: 20px;
}

div.riedit-repeating > div {
    display: table-row;
}

div.riedit-repeating > div > div {
    display: table-cell;
    vertical-align: middle;
}

div.riedit-repeating > div > div > div {
    margin-left: 110px;
}

div.riedit-repeating > div > div:nth-of-type(1) {
    /*width: 200px;*/
}

div.riedit-repeating > div > div:nth-of-type(2) {
    /*width: 200px;*/
}

div.riedit-repeating > div > div > label {
   float: left;
   width: 100px;
   text-align: right;
   margin: 0px;

}

#ri-repeating-tab > div.riedit-repeating {
    border: 0px;
    margin-top: 0px;
    padding: 0px;
}



/*----------------- notes -----------------*/
div.riedit-note {
    border: 1px solid #ddd;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 7px;
}

div.riedit-note-open {
    margin-right: 10px;
    margin-bottom: 10px;
}

#RosterItemNotesDiv label {
    display: inline;
}

#RosterItemNotesDiv textarea {
    width: 428px;
}

#NotesDiv label {
    display: inline;
}

#NotesDiv textarea {
    width: 520px;
}

div.riedit-notes-controls {
    margin-top: 5px;
}

div.notes-editor {
    margin-right: 10px;
}

div.note-edit-delete {
    float: right;
    margin-right: 3px;
}

.note-date
{
    font-style: italic;
}

.note-author
{
    font-style: italic;
}

.note-visibility
{
    font-style: italic;
}
/* Careful when updating: this CSS file has been patched to be fluid (in percentage width of the control)
 * The original CSS styles had fixed with in pixels.
 */

.ms-container{
  width: 100%;
}

.ms-container:after{
  content: "."; display: block; height: 0; line-height: 0; font-size: 0; clear: both; min-height: 0; visibility: hidden;
}

.ms-container .ms-selectable, .ms-container .ms-selection{
  width: 45%;
  background: #fff;
  color: #555555;
  float: left;
}

.ms-container .ms-list{
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
  -ms-transition: border linear 0.2s, box-shadow linear 0.2s;
  -o-transition: border linear 0.2s, box-shadow linear 0.2s;
  transition: border linear 0.2s, box-shadow linear 0.2s;
  border: 1px solid #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}


.ms-selected{
  display:none;
}
.ms-container .ms-selectable{
  padding-right: 10%;
  background-image: url('../img/switch.png');
  background-repeat: no-repeat;
  background-position: 95% center;
}

.ms-container .ms-list.ms-focus{
  border-color: rgba(82, 168, 236, 0.8);
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  outline: 0;
  outline: thin dotted \9;
}

.ms-container ul{
  margin: 0;
  list-style-type: none;
  padding: 0;
}

.ms-container .ms-optgroup-container{
  width: 100%;
}

.ms-container ul.ms-list{
  width: 100%;
  height: 200px;
  padding: 0;
  overflow-y: auto;
}

.ms-container .ms-optgroup-label{
  margin: 0;
  padding: 5px 0px 0px 5px;
  cursor: pointer;
  color: #999;
}

.ms-container .ms-selectable li.ms-elem-selectable,
.ms-container .ms-selection li.ms-elem-selection{
  padding: 2px 10px;
  color: #555;
  font-size: 14px;
}

.ms-container .ms-selectable li.ms-hover,
.ms-container .ms-selection li.ms-hover{
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  background-color: #0bf;
}

.ms-container .ms-selectable li.disabled,
.ms-container .ms-selection li.disabled{
  background-color: #eee;
  color: #aaa;
  cursor: text;
}

/*! perfect-scrollbar - v0.4.3
* http://noraesae.github.com/perfect-scrollbar/
* Copyright (c) 2013 HyeonJe Jun; Licensed MIT */

.ps-container .ps-scrollbar-x{position:absolute;bottom:3px;height:8px;background-color:#aaa;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;opacity:0;filter:alpha(opacity=0);-o-transition:opacity .2s linear;-webkit-transition:opacity.2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.ps-container.ie6 .ps-scrollbar-x{font-size:0}.ps-container:hover .ps-scrollbar-x,.ps-container.hover .ps-scrollbar-x{opacity:.6;filter:alpha(opacity=60)}.ps-container .ps-scrollbar-x:hover,.ps-container .ps-scrollbar-x.hover{opacity:.9;filter:alpha(opacity=90);cursor:default}.ps-container .ps-scrollbar-x.in-scrolling{opacity:.9;filter:alpha(opacity=90)}.ps-container .ps-scrollbar-y{position:absolute;right:3px;width:8px;background-color:#aaa;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;opacity:0;filter:alpha(opacity=0);-o-transition:opacity .2s linear;-webkit-transition:opacity.2s linear;-moz-transition:opacity .2s linear;transition:opacity .2s linear}.ps-container.ie .ps-scrollbar-y{font-size:0}.ps-container:hover .ps-scrollbar-y,.ps-container.hover .ps-scrollbar-y{opacity:.6;filter:alpha(opacity=60)}.ps-container .ps-scrollbar-y:hover,.ps-container .ps-scrollbar-y.hover{opacity:.9;filter:alpha(opacity=90);cursor:default}.ps-container .ps-scrollbar-y.in-scrolling{opacity:.9;filter:alpha(opacity=90)}
/*
    Original font-awesome icons classes from AceAdmin are in font-awesome.css.
    But we've added new font-awesome fonts and we need to add class definitions for them as well. This file serves that purpose.
*/

.icon-user-circle-o:before {
    content: "\f2be";
}

.icon-user-plus:before {
    content: "\f234 ";
}

.icon-check-circle-0:before {
    content: "\f05d";
}

.icon-times-circle-0:before {
    content: "\f05c";
}

.icon-bug:before {
    content: "\f188";
}

.icon-pdf-file:before {
    content: "\f1c1";
}

.icon-employee-errors:before {
    content: "\f057";
}

.icon-employee-warnings:before {
    content: "\f071";
}

.icon-employee-infos:before {
    content: "\f05a";
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: local('Open Sans Light'), local('OpenSans-Light'), url(../Font/OpenSansLight.woff) format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(../Font/OpenSans.woff) format('woff');
}



/* ------------ Forms ----------------- */
.at-form {
    margin: 0;
}

.at-form .modal-footer {
    text-align: center;
}

.at-form .control-group {
    margin-bottom: 7px;
}

.modal-body {
    overflow: hidden;
    max-height: none;
}

.modal {
    width: auto;
    min-width: 560px;
}

.modal-header .close {
    font-size: 25px;
}

.modal-header .question {
    margin-right: 10px;
}

select {
    width: auto;
}

input.real-number {
    width: 50px;
}

.modal-error-msg {
    color: red;
    white-space: pre-line;
}

@media screen and (orientation:landscape) and (max-width: 900px) {
    .modal-responsive {
        overflow: auto !important;
        height: 350px;
    }
}

label {
    display: inline-block;
}

/* --------------Validation ---------------*/
span.field-validation-error {
    color: red;
}

div.validation-summary-errors {
    color: red;
}

.invalid-overtime-row {
    background-color: #ffe3dd !important;
}

.edit-overtime-column {
    background-color: white;
}

/* --------------TabPane ---------------*/
div.dataTable-border {
    border-bottom: 1px solid #ddd;
}

.scroll-pane {
    min-width: 520px;
    width: 100%;
    max-height: 400px;
    overflow: auto;
}

.tab-content {
    overflow: hidden;
}

/* ----------- DataTables ------------- */
table.dataTable {
    /* border-style: none none none none !important; */
    max-width: none;
    min-width: 100%;
}

div.dataTables_scrollBody {
    position: relative;
}

div.dataTables_scrollHeadInner {
    /* TODO: color according to style with LESS? */
    background-color: #eff3f8;
}

/* Supports removing of second header in dataTables when scrolling is enabled. */
div.dataTables_scrollBody > table > thead > tr > th:after {
    content: "" !important;
}

/* DataTables Footer styling */
div.dataTables_info, div.dataTables_length, div.dataTables_paginate {
    display: inline;
    vertical-align: middle;
    font-size: 13px;
}

div.dataTables_paginate {
    float: right;
}

div.dataTables_length {
    margin-left: 80px;
}

    div.dataTables_length > label {
        font-size: 13px;
        margin-bottom: 0px;
    }

div.dataTables_wrapper > .row-fluid {
    width: auto;
    border: solid 1px rgb(221, 221, 221);
}

/* action-buttons are from newer version of AceAdmin */
.action-buttons a {
    margin: 0px 4px 0px 5px;
    display: inline-block;
    opacity: .85;
    -webkit-transition: all .1s;
    transition: all .1s;
    cursor: pointer;
}

.action-buttons a:hover {
    text-decoration: none;
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 1;
}

.edit-delete-column {
    font-size: larger;
    min-width: 40px !important;
    max-width: 45px !important;
    width: 45px !important;
}

.filter-dropdown-menu {
    display: inline-block;
    z-index: 1039; /* .modal confirmation window has z-index 1050, the black background has z-index 1040 */
}

.checked_filter {
    width: auto;
}

.date_range_filter {
    width: 175px;
}

.employee_filter .chzn-container {
    min-width: 175px;
    width: auto;
}

/* IE fix */
.chzn-search input {
    line-height: normal !important;
}

select[name="site-selection"], select[name="activity-selection"], select[name="requesttype-selection"] {
    margin: 0 0 0 5px;
    height: 25px;
    padding: 2px 3px;
    width: auto;
}

.dropdown-menu {
    z-index: 1050;
}

/* --------------TabPane ---------------*/
.chzn-container-multi .chzn-drop .result-selected {
    display: list-item;
    color: #ccc;
    cursor: default;
}

#user_info_msps {
    max-width: 100px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    line-height: 15px;
    position: relative;
    top: 0px;
}

.sidebar-shortcuts-large > .btn {
    width: 41px;
    line-height: 24px;
    margin-top: -2px;
    padding: 0;
    border-width: 4px;
    text-align: center;
}

.control-group .controls {
    font-size: 14px;
    line-height: 20px;
}

.control-value {
    padding-top: 5px;
}

.control-inlined {
    display: inline-block;
}

.tab-content > .tab-pane {
    position: relative;
}

.table-header {
    margin-bottom: 0px;
}

.tooltip.top .tooltip-arrow {
    border-top-color: #4b89aa;
}

.tooltip.bottom .tooltip-arrow {
    border-bottom-color: #4b89aa;
}

.tooltip.right .tooltip-arrow {
    border-right-color: #4b89aa;
}

.tooltip.left .tooltip-arrow {
    border-left-color: #4b89aa;
}

.tooltip-inner {
    background-color: #4b89aa;
    color: #FFF;
    text-shadow: none;
    border-radius: 5px;
    text-align: center;
}

.dataTable th.sorting_disabled {
    color: #707070;
}

.login-layout input {
    line-height: normal !important;
}

ul.help {
    float: right;
    line-height: inherit;
    margin-right: 8px;
}

.btn-help {
    background-color: rgb(245, 245, 245) !important;
    border-color: rgb(245, 245, 245) !important;
    color: rgb(85, 85, 85) !important;
    text-shadow: none !important;
}

.btn-help:hover {
    background-color: #707070 !important;
    border-color: #707070 !important;
    color: white !important;
    text-shadow: none !important;
}

/* Roster item content validator */
.content-validator-top
{
    vertical-align: text-top;
}

/* Duration validator */
#duration input {
    width: 50px;
    display: inline;
}

#duration div {
    padding-left: 0px;
    padding-right: 0px;
}

.chzn-drop {
    background: #fff;
    border: 1px solid #aaa;
    border-top: 0;
    position: absolute;
    top: 100%;
    left: -9999px;
    -webkit-box-shadow: 0 4px 5px rgba(0,0,0,.15);
    -moz-box-shadow: 0 4px 5px rgba(0,0,0,.15);
    box-shadow: 0 4px 5px rgba(0,0,0,.15);
    z-index: 1010;
    width: 100%;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -khtml-box-sizing: border-box;
    box-sizing: border-box;
}

.chzn-drop {
  margin-top: -1px;
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius   : 0 0 4px 4px;
  border-radius        : 0 0 4px 4px;
  -moz-background-clip   : padding;
  -webkit-background-clip: padding-box;
  background-clip        : padding-box;
}

.chzn-container-multi .chzn-choices .search-choice .search-choice-close:before {
  content: "\f00d";
  display: inline-block;
  font-family: FontAwesome;
  font-size: 13px;
  color: white;
  position: absolute;
  right: 2px;
  top: -1px;
}
.chzn-container-multi .chzn-choices .search-choice .search-choice-close:hover:before {
  color: red;
}
.chzn-container-multi .chzn-choices .search-choice-focus .search-choice-close:before{
    color: red;
}

#topbar-space,.topbar-space {
    float:left;
    display: block;
    width: 15px;
    height: 1px;
}

.ffix {
    clear: both;
}

.nav-list>li .submenu>li.sub-submenu-item:before {
    width: 18px;
}

.breadcrumb>li.rosterSelectDisabled {
    display: none;
    visibility: hidden;
    width: 0px;
    height: 0px;
}

/* Report pages */
div#page-content.no-padding {
    padding: 0px;
}

.parameters-widget-box {
    margin: 0px;
    border-bottom: 0px;
}

.parameters-widget-box div.widget-body {
    border-left: 0px;
    border-right: 0px;
}

.parameters-widget-box div.widget-header {
    border-left: 0px;
    border-right: 0px;
    border-top: 0px;
}

#requestsSelection {
    margin-right: 20px;
}

.requestsSelect-allowed {
    color: green;
}

.requestsSelect-forbidden {
    color: red;
}

#params{
    float: left;
    line-height: 42px;
}

/* TopBar drop down menus */
ul.nav.ace-nav > li > div.dropdown-navbar.dropdown-menu.dropdown-caret.dropdown-close {
    width: 300px;
}

/* TopBar drop down menus */
ul.nav.ace-nav > li > div.dropdown-navbar.dropdown-menu.dropdown-caret.dropdown-close > ul.dropdown-navbar.dropdown-menu {
    width: 300px;
    height: 100%;
    display: block;
    right: 0px;
    top: 0px;
    margin: 0px;
    border: 0px;
}

.ace-nav > li.delegation-background {
    background: #4f99c6 !important;
}

.dropdown-navbar .msg-body {
  max-width: 260px;
}

/* TopBar brand icon and title. */
.navbar span.brand {
    /* Specified to make the TopBar the same height in Firefox as in Chrome, Firefox was making to 3px taller. */
    padding: 10px 20px 6px;
}

/* Menu shortcuts */
a.main-menu-shortcut.btn {
    width: 33px;
    height: 24px;
}

/* RequestType administration */
div.requesttype-edit-employeeselect {
    margin-top: 15px;
}

/* Plot */
div.plot-vertical-x-labels > div.flot-tick-label {
    transform: rotate(-90deg);
    -ms-transform: rotate(-90deg); /* IE 9 */
    -moz-transform: rotate(-90deg); /* Firefox */
    -webkit-transform: rotate(-90deg); /* Safari and Chrome */
    margin-top: 15px;
}

div.plot-vertical-x-labels-long > div.flot-tick-label {
    transform: rotate(-90deg);
    -ms-transform: rotate(-90deg); /* IE 9 */
    -moz-transform: rotate(-90deg); /* Firefox */
    -webkit-transform: rotate(-90deg); /* Safari and Chrome */
    margin-top: 55px;
}

div.flot-x-axis > div.flot-tick-label {
    margin-left: 3px;
    margin-right: 3px;
    white-space: nowrap;
}

div.flot-x-axis > div.flot-tick-label > .weekend-label {
    color: red;
}

/* bootstrap tooltip setting */
div.tooltip-inner {
    max-width: 500px;
}

span.tooltip-strong {
    color: #DAA3A3;
}

/* rostering rules administration */
div.rosteringrule-admin-header-site {
    float: left;
}

div.rosteringrule-admin-header-site select {
    height: 25px;
    padding: 2px 3px;
    margin: 0 0 5px 5px;
}

.rosteringrule-form .control-label {
    width: 200px;
}

.rosteringrule-form .bold {
    font-weight: bold;
}

.rosteringrule-form .controls {
    margin-left: 220px;
}

/* queue administration */
div.queue-admin-header-site {
    float: left;
}

div.queue-admin-header-site select {
    height: 25px;
    padding: 2px 3px;
    margin: 0 0 5px 5px;
}

/* report administration */
div.report-admin-header-site {
    float: left;
}

div.report-admin-header-site select {
    height: 25px;
    padding: 2px 3px;
    margin: 0 0 5px 5px;
}

.report-form .control-label
{
    width: 200px;
}

.report-form .bold
{
    font-weight: bold;
}

.report-form .controls
{
    margin-left: 220px;
}

/* date range picker */
.daterangepicker div.buttonDiv
{
    margin-top: 3px;
}

.daterangepicker.dropdown-menu
{
    width: 622px;
}

.daterangepicker.dropdown-menu .range_inputs {
    min-width: 130px;
}

.daterangepicker.dropdown-menu .ranges {
    width: 130px;
}

.hidden.btn {
    display: none;
}

.rr-disabled span.fancytree-title {
    color: grey;
}

/* Html reports */
table.report-table {
    margin-top: 20px;
}

div.report-wrapper {
    padding: 0px 30px 30px 30px;
    overflow: auto;
}

td.report-data {
    text-align: right;
}

table.report-table td {
    min-width: 50px;
    border: 1px solid #AAAAAA;
}

table.report-table td.report-namecolumn-header {
    text-align: left;
    color: white;
    background-color: #1C3A70;
}

table.report-table td.report-data-header {
    background-color: #E3E6ED;
}

table.report-table td.report-total {
    background-color: #8D9CB7;
    font-weight: bold;
}

table.report-table thead td {
    text-align: center;
}

.table-item-cache-detail td {
    padding-left: 7px;
    padding-right: 7px;
}

/* Main menu and header - update of z-index so that it is above RosterGrid controls */

#sidebar, #sidebar .menu-min .nav-list > li > ul.submenu {
    z-index: 1030;
}

#navbar > .navbar-inner, #sidebar .menu-min .nav-list > li > a > span {
    z-index: 1031;
}

/* Breadcrumb always with margin zero - we've switched to a new side-menu toggling button */
@media only screen and (max-width: 979px) {
    .breadcrumb {
        margin-left: 0 !important;
    }
}

@media only screen and (max-width: 320px) {
    .breadcrumb {
        margin-left: 0 !important;
    }
}

/* menu-toggler from new AceAdnim */
.navbar .navbar-toggle {
    border: 1px solid transparent;
    width: 40px;
    height: 35px;
    line-height: 0;
    padding: 0 0 1px;
    text-align: center;

    background-color: rgba(255, 255, 255, 0.37);
}
.navbar .navbar-toggle.pull-right {
    margin: 5px 6px 4px 0;
}
.navbar .navbar-toggle.pull-left {
    margin: 5px 5px 4px 6px;
}
.navbar .navbar-toggle:active {
    top: 1px;
}
.navbar .navbar-toggle.navbar-toggle-img {
    width: auto;
    height: auto;
    overflow: hidden;
    padding: 0;
    border-width: 0;
}
.navbar .navbar-toggle.navbar-toggle-img > img {
    border-radius: inherit;
    max-height: 35px;
    border-width: 0;
}
.navbar .navbar-toggle .icon-bar {
    background-color: #FFF;
    border-radius: 0;
    width: 24px;
    margin-left: 7px;
}

.navbar .navbar-toggle:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.1);
}
.navbar .navbar-toggle.display {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: inset 1px 1px 2px 0 rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
}

/* navbar-toggle settings copied from newer bootstrap css than we currently have, remove once newer version is included */
.navbar-toggle {
    position: relative;
    /*float: right;*/
    padding: 9px 10px;
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
.navbar-toggle:focus {
    outline: 0;
}
.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
}
.navbar-toggle .icon-bar + .icon-bar {
    margin-top: 4px;
}
@media (min-width: 979px) {
    .navbar-toggle {
        display: none;
    }
}

/* Language switcher. */
.app-language-container {
    padding: 4px;
    border: 1px solid #b5b5b5;
    border-radius: 4px;
    background-image: linear-gradient(to top, #555, #ccc);
    cursor: pointer;
}

.app-language-container:hover {
    background-image: linear-gradient(to top, #444, #bbb);
}

.app-language-container:active .app-language-flag {
    position: relative;
    top: 1px;
}

.app-language-flag {
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.app-language-flag.app-language-flag-selected {
    width: 20px;
    height: 15px;
    display: block;
}

.app-language-popup {
    padding: 2px;
    background-color: #868686;
    border: 1px solid #b5b5b5;
    border-radius: 4px;
}

.app-language-popup .app-language-flag {
    padding: 2px;
    border-radius: 2px;
}

.app-language-popup .app-language-flag:hover {
    padding: 2px;
    border-radius: 2px;
    background-color: #e1e1e1;
}

/* ------------ Context help ----------------- */
.hlp-link-container .hlp-link {
    visibility: hidden;
    opacity: 0.5;
}

.hlp-link-container:hover .hlp-link {
    visibility: visible;
}

.hlp-link:hover {
    visibility: visible;
    opacity: 1;
}

/* ------------ Help pages ----------------- */
.userdoc-page h3 {
    font-size: 18px;
    line-height: 24px;
}

/* ------- TopBar responsiveness ----------- */

.flex-row {
    flex-direction: row !important;
}

.flex-column {
    flex-direction: column !important;
}

.align-items-center {
    align-items: center;
}

@media screen and (max-width: 423px) {
    .only-desktop {
        display: none !important;
    }

    ul.nav.ace-nav.pull-right > .red {
        display: none !important;
    }

    .responsive-header-line-height {
        line-height: 44px !important;
    }

    #navbar > .navbar-inner > .d-flex-sm {
        display: flex !important;
        justify-content: space-between;
    }

    #TopBarTasksNotificationsUserMenu > li.user-profile > a.d-flex-sm {
        display: flex !important;
    }
}

@media screen and (max-width: 370px) {
    .only-desktop {
        display: none !important;
    }

    .responsive-header-line-height {
        line-height: 22px !important;
    }

    #navbar > .navbar-inner > .d-flex-sm {
        display: flex !important;
    }

    #TopBarTasksNotificationsUserMenu {
        height: 60px;
    }

    #TopBarTasksNotificationsUserMenu > li.user-profile {
        height: 60px;
        max-height: 60px;
    }

    #TopBarTasksNotificationsUserMenu > li.user-profile > a.d-flex-sm {
        display: flex !important;
    }
}
.non-available-status {
    position: absolute;
    border-radius: 2px;
    overflow: hidden;
    line-height: 17px;
    z-index: 50;
    white-space: nowrap;
}
.attendance-status {
    position: absolute;
    border-radius: 2px;
    overflow: hidden;
    line-height: 17px;
    z-index: 50;
    white-space: nowrap;
    opacity: 0.2;
}
.crossedleft {
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,.5) 10px, rgba(255,255,255,.5) 20px);
}
.date-period-wrapper {
    width: 330px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.date-period-wrapper .date-period-editor {
    flex-direction: column;
    justify-content: space-between;
}
.date-period-wrapper input[type="radio"] {
    opacity: 1;
    position: unset;
}
/*.date-period-wrapper input[type="text"] {
    height: 25px;
}*/
.date-period-wrapper .custom-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}
.date-period-wrapper .border-decoration {
    border: 1px solid #aaa !important;
    background-image: linear-gradient(#eee 1%, #fff 15%) !important;
}
/*.date-period-wrapper select {
    height: 35px!important;
}*/
.date-period-wrapper i {
    padding: 0 10px;
    cursor: pointer;
}
.date-period-wrapper .mb-10 {
    margin-bottom: 5px;
}
.date-period-wrapper .column {
    display: flex;
    flex-direction: column;
}
.date-period-wrapper .grid {
    min-width: 330px;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    align-items: center;
    gap: 10px;
    grid-template-areas:
        "input input year"
        ". weekRadio monthRadio";
}
.date-period-wrapper .grid-small {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    align-items: center;
    gap: 10px;
    grid-template-areas:
        "input input year";
}
.date-period-wrapper .grid-input {
    grid-area: input;
}
.date-period-wrapper .grid-year {
    grid-area: year;
}
.date-period-wrapper .grid-week-radio {
    grid-area: weekRadio;
}
.date-period-wrapper .grid-month-radio {
    grid-area: monthRadio;
}
.nav-list>li{
    z-index: 1;
}

#VersionInfo {
    position: fixed;
    bottom: 5px;
    left: 5px;
    z-index: 0;
}

#VersionInfo, #VersionInfo>a {
    color: #585858;
}

.compact > * {
    margin: unset;
}

.activity-column-two-children {
    line-height: initial;
    height: stretch!important;
    font-size: 12px !important;
}
.activity-column-three-children {
    line-height: 11.3px !important;
    font-size: 11px !important;
}

/* ------- Sidebar ----------- */
.ps-container .ps-scrollbar-y.sidebar-scrollbar {
    right: 0px !important;
    z-index: 300;
    width: 6px;
    border-radius: 0px;
}

.submenu-arrow {
    display: inline-block;
    position: absolute;
    right: 7px;
    top: 11px;
    color: #666666;
}

/* ------- Calculations dashboard ----------- */
#CalculationDashboardWrapper {
    box-sizing: border-box;
    position: relative;
    height: auto !important;
    margin: -8px -20px -24px;
    padding: 0;
    top: 0;
}

#CalculationDashboardWrapper * {
    box-sizing: inherit;
}

#CalculationDashboardWrapper .widget-box {
    margin: 0 !important;
}

#CalculationDashboardWrapper .add-on {
    height: 30px !important;
    display: inline-block !important;
}

#CalculationDashboardWrapper .add-on *{
    display: inline-block !important;
}

input.selection {
    position: relative;
    margin: 0;
    float: right;
    right: 10px;
    opacity: 1;
}

/* ------- Table ----------- */

.table tfoot tr {
    color: #707070;
    font-weight: normal;
    background: #F2F2F2;
    background-color: #f3f3f3;
    background-image: -moz-linear-gradient(top, #f8f8f8, #ececec);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f8f8f8), to(#ececec));
    background-image: -webkit-linear-gradient(top, #f8f8f8, #ececec);
    background-image: -o-linear-gradient(top, #f8f8f8, #ececec);
    background-image: linear-gradient(to bottom, #f8f8f8, #ececec);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8f8f8', endColorstr='#ffececec', GradientType=0);
}
#FreeShiftsWrapper {
    box-sizing: border-box; }
#FreeShiftsWrapper * {
    box-sizing: inherit; }
#FreeShiftsWrapper *:before {
    box-sizing: inherit; }
#FreeShiftsWrapper *:after {
    box-sizing: inherit; }
#FreeShiftsWrapper .widget-box {
    margin: 0 !important; }
@media (max-width: 423px) {
    #FreeShiftsWrapper select {
        width: 100%; } }

.form-horizontal .control-label {
    overflow-wrap: break-word;
    white-space: normal;
}

.filter2-detail {
    max-height: 70VH ;
}

@media (max-height: 800px) {
    .filter2-detail {
        max-height: 50VH ;
    }
}

@media (max-height: 500px) {
    .filter2-detail {
        max-height: 35VH ;
    }
}

.login-h4
{
    font-size: 12px;
    margin-top: 0px;
    margin-bottom: 15px;
}

.login-h1
{
    margin-top: 25px;
    margin-bottom: 0px;
}

.brand-icon
{
    margin-right: 8px;
}

.login-layout .widget-box
{
    padding: 2px 2px 0px 2px;
}
div.appearance-widget {
    display: inline-block;
    white-space: nowrap;
}

div.appearance-widget button i.underline {
    border-bottom: 4px solid;
    padding: 0px 4px !important;
}

div.appearance-widget button span.caret {
    margin-left: 5px !important;
}

ul.border-selector {
    min-width: 130px;
}

ul.border-selector table {
    width: 100%;
    height: 12px;
}

ul.border-selector li.selected a {
    border: 1px solid black;
}

div.appearance-widget button:hover i{
    color: black !important;
}

.appearance-sample {
    height: 14px !important;
    width: 40px;
    text-align: center;
}

div.appearance-widget div.sample-text {
    width: 60px !important;
}
.date-picker
{
    margin:0px !important;
}


.daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.ampmselect {
    width: 50px;
    margin-bottom: 0;
    padding: 2px;
    height: 25px;
}

.daterangepicker .calendar-date {
  border: 1px solid #ddd;
  padding: 4px;
  border-radius: 4px;
  background: #fff;
}

.daterangepicker .calendar-time {
  text-align: center;
  margin: 8px auto 0 auto;
  line-height: 30px;
}

.daterangepicker .calendar {
    border: none;
}

.daterangepicker .ranges .range_inputs > div:nth-child(2) {
    padding-left: 0px;
}

.daterangepicker .ranges .range_inputs > div {
    float: none;
}

.daterangepicker-menu-above.daterangepicker.dropdown-menu.opensright:before {
    position: absolute;
    top: auto;
    bottom: -7px;
    left: 9px;
    display: inline-block;
    border-bottom: none;
    border-right: 7px solid transparent;
    border-top: 7px solid #ccc;
    border-left: 7px solid transparent;
    border-top-color: rgba(0,0,0,0.2);
    content: '';
}

.daterangepicker-menu-above.daterangepicker.dropdown-menu.opensright:after {
    position: absolute;
    top: auto;
    bottom: -6px;
    left: 10px;
    display: inline-block;
    border-right: 6px solid transparent;
    border-top: 6px solid #fff;
    border-bottom: none;
    border-left: 6px solid transparent;
    content: '';
}
.datetimepicker-dropdown {
}
.datetimepicker-dropdown:before {
  content: '';
  display: inline-block;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #ccc;
  border-bottom-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: -7px;
  left: 6px;
}

.datetimepicker-dropdown:after {
  content: '';
  display: inline-block;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #ffffff;
  position: absolute;
  top: -6px;
  left: 7px;
}

.datetimepicker-dropdown-above:before {
  content: '';
  display: inline-block;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #ccc;
  border-top-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  bottom: -7px;
  left: 6px;
}

.datetimepicker-dropdown-above:after {
  content: '';
  display: inline-block;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #ffffff;
  position: absolute;
  bottom: -6px;
  left: 7px;
}

.datetime-dropdown-menu {
    position:absolute;
    padding: 5px 0;
    margin: 2px 0 0;
    background-clip: padding-box;
    background-color: white;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,0.2);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    color:black;
    z-index: 1060;
    display:none;
}

/*****************************************TimePicker TODO: move to a separate file************************************/
.bootstrap-timepicker-widget.dropdown-menu.dropdown-menu-above:before {
    border-top: 7px solid rgba(0,0,0,.2);
    border-bottom: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    content: "";
    display: inline-block;
    left: 9px;
    position: absolute;
    top: auto;
    bottom: -7px;
}

.bootstrap-timepicker-widget.dropdown-menu.dropdown-menu-above:after {
    border-top: 6px solid #fff;
    border-bottom: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    content: "";
    display: inline-block;
    left: 10px;
    position: absolute;
    top: auto;
    bottom: -6px;
}



.AT-FilterEditor {
    position: relative;
    display: inline-block;
    width: 700px;
    margin: 5px;
}

.filter-editor-swap-btn {
    display: block;
    margin: auto;
    width: 50px;
}

.FilterEditor-invisible {
    display: none !important;
}

.entity-filter {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.boolean-filter {
    width: 100%;
}

.filter-group-filter-container {
    width: 100%;
    display: grid;
    grid-template-columns: min-content auto;
    column-gap: 0px;
    row-gap: 10px;
    grid-auto-flow: row;
    align-items: start;
    margin-bottom: 4px;
    padding: 0px 0px 0px 10px;
    /*border-left: 4px solid #ECECEC; */
    box-sizing: border-box;
}

/* NOTE: :has support has to be explicitly enabled in firefox */
.filter-group-filter-container:has(.filter-row:not(:first-of-type)) {
    column-gap: 15px;
}

.filter-group {
    width: 100%;
}

.filter-group-notbar {
    display: block;
    width: 10px;
    background-color: #ECECEC;
    height: auto;
}

.filter-group-notbar:hover {
    background-color: gainsboro;
    cursor: pointer;
}

.notbar-negate {
    background-color: #A18E8E;
}

.notbar-negate:hover {
    background-color: #8C6767;
}

.filter-group-other {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.filter-operation-select {
    display: flex;
    position: relative;
    width: 60px;
    grid-column: 1;
}

.filter-row {
    position: relative;
    width: 100%;
    height: auto;
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    grid-column: 2;
    gap: 10px;
}

.filter-row-filter {
    width: 100%;
}

.filter-row:nth-last-child(n+2) /*> .filter-row-filter:not(.filter-group)*/ {
    padding-bottom: 5px;
    border-bottom: 2px solid #ECECEC;
}

.filter-grid-filter {
    grid-column: 2;
}

.filter-group-btn-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 10px;
}

.filter-btn:hover {
    cursor: pointer;
    background-color: gainsboro;
}

.filter-btn {
    display: inline-block;
    background-color: #ECECEC; /*lighter -> #F5F5F5*/
    border-radius: 3px;
    padding: 4px 8px 4px 8px;
}

.filter-btn-new-group {
    margin-left: 3px;
}

.filter-btn-clear-group, .filter-btn-new-group {
    opacity: 0.0;
}

.filter-group-btn-container:hover .filter-btn-clear-group,
.filter-group-btn-container:hover .filter-btn-new-group {
  opacity: 1.0;
  transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
}

.filter-group-btn-container .filter-btn-clear-group,
.filter-group-btn-container .filter-btn-new-group {
  opacity: 0.0;
  transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
}

.filter-remove-btn::before {
    line-height: 15px;
    width: 15px;
    height: 15px;
    display: inline-block;
    color: dimgray;
    background-color: gainsboro;
    border-radius: 3px;
    padding: 2px;
    margin-left: 4px;
    text-align: center;
    cursor: pointer;
    content: "\2715";
}


.filter-value {
    visibility: hidden;
}

.AT-FilterEditor .filter-row-filter-select .msng,
.AT-FilterEditor .filter-row-filter-select .msng-dd,
.AT-FilterEditor .filter-row-filter-select .msng-dd-options,
.AT-FilterEditor .filter-row-filter-select .msng-dd-option {
    width: 200px;
}

.entity-filter-entity {
    flex-grow: 1;
}

.entity-filter-action {
    margin: 0px 10px 0px 0px;
}

.AT-FilterEditor .entity-filter-entity .msng,
.AT-FilterEditor .entity-filter-entity .msng-dd,
.AT-FilterEditor .entity-filter-entity .msng-dd-options,
.AT-FilterEditor .entity-filter-entity .msng-dd-option {
    width: 100%;
}



/* This has to be the exact copy of class .ms-hover from 
    multi-select.css in Scripts\jQueryPlugins\multiselect */

.ms-container .ms-selectable input,
.ms-container .ms-selection input
{
    margin-top: 4px;
}

.ms-container .ms-selectable li.ms-to-select,
.ms-container .ms-selection li.ms-to-select{
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  background-color: #08c;
}

.ms-buttons {
    float: left;
    width: 10%;
    height: 250px;
}

.ms-button {
    cursor: pointer;
    border: solid 1px #aaa;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center center;
    margin: auto;
}

.ms-button:hover {
    border-color: #4c8fbd; 
    box-shadow: 0px 0px 5px #4c8fbd;
}

.ms-remove-all {
    background-image: url('../img/doubleleft.png');
}
.ms-select-all {
    background-image: url('../img/doubleright.png');
}
.ms-remove-chosen {
    background-image: url('../img/left.png');
}
.ms-select-chosen {
    background-image: url('../img/right.png');
}

.ms-find-enabled
{
}

.ms-find-disabled
{
    border: none 0px !important; 
}
select.msdate
{
    display: none;
}
.chzn-container-single .chzn-single div b {
  background: url('../img/chosen-sprite2.png') no-repeat 0px 2px;
  display: block;
  width: 100%;
  height: 100%;
}
.chzn-container-single .chzn-search input {
  background: #fff url('../img/') no-repeat 100% -20px;
  background: url('../img/chosen-sprite2.png') no-repeat 100% -20px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
  background: url('../img/chosen-sprite2.png') no-repeat 100% -20px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url('../img/chosen-sprite2.png') no-repeat 100% -20px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url('../img/chosen-sprite2.png') no-repeat 100% -20px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url('../img/chosen-sprite2.png') no-repeat 100% -20px, linear-gradient(#eeeeee 1%, #ffffff 15%);
  margin: 1px 0;
  padding: 4px 20px 4px 5px;
  outline: 0;
  border: 1px solid #aaa;
  font-family: sans-serif;
  font-size: 1em;
  width: 100%;
  -moz-box-sizing   : border-box;
  -ms-box-sizing    : border-box;
  -webkit-box-sizing: border-box;
  -khtml-box-sizing : border-box;
  box-sizing        : border-box;
}
.chzn-container-multi .chzn-choices .search-choice {
  -webkit-border-radius: 3px;
  -moz-border-radius   : 3px;
  border-radius        : 3px;
  -moz-background-clip   : padding;
  -webkit-background-clip: padding-box;
  background-clip        : padding-box;
  background-color: #e4e4e4;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2283c5', endColorstr='#2283c5', GradientType=0 );

  background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #2283c5), color-stop(50%, #2283c5), color-stop(52%, #2283c5), color-stop(100%, #2283c5));
  background-image: -webkit-linear-gradient(top, #2283c5 20%, #2283c5 50%, #2283c5 52%, #2283c5 100%);
  background-image: -moz-linear-gradient(top, #2283c5 20%, #2283c5 50%, #2283c5 52%, #2283c5 100%);
  background-image: -o-linear-gradient(top, #2283c5 20%, #2283c5 50%, #2283c5 52%, #2283c5 100%);
  background-image: linear-gradient(#2283c5 20%, #2283c5 50%, #2283c5 52%, #2283c5 100%);

  -webkit-box-shadow: 0 0 2px #2283c5 inset, 0 1px 0 rgba(0,0,0,0.05);
  -moz-box-shadow   : 0 0 2px #2283c5 inset, 0 1px 0 rgba(0,0,0,0.05);
  box-shadow        : 0 0 2px #2283c5 inset, 0 1px 0 rgba(0,0,0,0.05);

  color: #fff;
  border: 1px solid #eee;
  line-height: 13px;
  padding: 3px 20px 3px 5px;
  margin: 3px 0 3px 5px;
  position: relative;
  cursor: default;
}
.chzn-container-multi .chzn-choices .search-choice .search-choice-close {
  display: block;
  position: absolute;
  right: 3px;
  top: 4px;
  width: 12px;
  height: 12px;
  font-size: 1px;
  /*background: url('../img/chosen-sprite2.png') -42px 1px no-repeat;*/
}
.chzn-container .chzn-results-scroll-down span {
  background: url('../img/chosen-sprite2.png') no-repeat -4px -3px;
}
.chzn-container .chzn-results-scroll-up span {
  background: url('../img/chosen-sprite2.png') no-repeat -22px -3px;
}
.chzn-rtl .chzn-search input {
  background: #fff url('../img/chosen-sprite2.png') no-repeat -30px -20px;
  background: url('../img/chosen-sprite2.png') no-repeat -30px -20px, -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
  background: url('../img/chosen-sprite2.png') no-repeat -30px -20px, -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url('../img/chosen-sprite2.png') no-repeat -30px -20px, -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url('../img/chosen-sprite2.png') no-repeat -30px -20px, -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background: url('../img/chosen-sprite2.png') no-repeat -30px -20px, linear-gradient(#eeeeee 1%, #ffffff 15%);
  padding: 4px 5px 4px 20px;
  direction: rtl;
}
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-resolution: 144dpi)  {
  .chzn-rtl .chzn-search input, .chzn-container-single .chzn-single abbr, .chzn-container-single .chzn-single div b, .chzn-container-single .chzn-search input, .chzn-container-multi .chzn-choices .search-choice .search-choice-close, .chzn-container .chzn-results-scroll-down span, .chzn-container .chzn-results-scroll-up span {
      background-image: url('../img/chosen-sprite@2x2.png') !important;
      background-repeat: no-repeat !important;
      background-size: 52px 37px !important;
  }
}

.chzn-container-multi .chzn-drop .result-disabled
{
    display: list-item;
    color: #ccc;
    cursor: default;
}

.chzn-container .chzn-results .group-result {
  cursor: default;
  color: #999;
  font-weight: bold;
  font-style: italic;
}


.chzn-container.chzn-with-drop .chzn-drop {
  left: 0;
}

/*.chzn-container-multi .chzn-choices {
  background-color: #fff;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
  background-image: -webkit-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background-image: -moz-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background-image: -o-linear-gradient(top, #eeeeee 1%, #ffffff 15%);
  background-image: linear-gradient(#eeeeee 1%, #ffffff 15%);
  border: 1px solid #aaa;
  margin: 0;
  padding: 0;
  cursor: text;
  overflow: hidden;
  height: auto !important;
  height: 1%;
  position: relative;
  width: 500px;
}*/


.msng {
    display: inline-block;
    width: 250px;
    height: fit-content;
    position: relative;
    overflow: visible;
}

/* For administration grid filters. TODO: Should this be elsewhere. */
#AdministrationGridFiltersDropDown .msng,
#AdministrationGridFiltersDropDown .msng-dd,
#AdministrationGridFiltersDropDown .msng-dd-options,
#AdministrationGridFiltersDropDown .msng-dd-option {
    width: 300px;
}

.msng-search-container {
    /*width: 250px; */
    border: 1px solid #aaa;
    /* display: flex; */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    background-image: linear-gradient(#eee 1%,#fff 15%);
    font-size: 13px;
}

.msng-single-item-container {
    height: 25.33px; /* TODO: this kinda sucks */
    /*width: 250px; */
    border: 1px solid #aaa;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    background-image: linear-gradient(#eee 1%,#fff 15%);
    font-size: 13px;
    padding: 0px 3px;
}

.msng-arrow::before {
    content: "\25be"; /* Down arrow */
}

.msng-arrow.msng-dd-visible::before {
    content: "\25b4"; /* Up arrow */
}

.msng-search-container-pastesuccess {
    background-color: #90f290;
    background-image: none;
}

.msng-search-container-pastewarning {
    background-color: #ff6700;
    background-image: none;
}

.msng-search-container-pasteerror {
    background-color: #f29191;
    background-image: none;
}

.msng-search-container.clipped, .msng-single-item-container.clipped {
    line-height: 20px;
    max-height: 300px;
    overflow-x: hidden;
    overflow-y: auto;
}

.msng-search-container.active, .msng-single-item-container.active {
    border: 1px solid #5897fb;
}

.msng-search-container.msng-dd-visible {
    /* border-bottom: 0; */
}

.msng-item {
    /* height: 13px; */
    line-height: 13px;
    margin: 2px;
    border-radius: 3px;
    background-image: linear-gradient(#2283c5 20%, #2283c5 50%, #2283c5 52%, #2283c5 100%);
    box-shadow: 0 0 2px #2283c5 inset, 0 1px 0 rgba(0,0,0,0.05);
    color: #fff;
    border: 1px solid #eee;
    padding: 3px 5px 3px 5px;
    white-space: normal; /* Necessary for roster grid filters */
    display: flex;
    justify-content: space-between;
}

.msng-remove-btn {
    cursor: pointer;
    margin-left: 4px;
}

.msng-remove-btn:hover {
    color: red;
}

.msng-clear-btn {
    border-radius: 50%;
    width: 17px;
    height: 17px;
    position: absolute;
    right: 1px;
    top: 1px;
    visibility: hidden;
    margin: 4px;
    cursor: pointer;
    background-image: linear-gradient(#2283c5 20%, #2283c5 50%, #2283c5 52%, #2283c5 100%);
    color: #fff;
}

.msng-clear-btn::before {
    line-height: 0px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 17px;
    height: 16px; /* For some reason, setting this to 1 pixel less makes the centering work better */
}

.msng-clear-btn:hover {
    color: red;
}

.msng-search-container:hover .msng-clear-btn {
    visibility: visible;
}

.msng-search {
    flex-grow: 4;
    width: 50px;
    padding: 0;
    margin: 2px 6px;
}

.msng-search-embedded {
    height: 17px;
    width: 100%;
    line-height: 15px;
    padding: 4px 5px;
    margin: 0;
    white-space: nowrap;
}

.msng-dd .msng-search-embedded {
    border-bottom: 1px solid black;
    border-top: unset;
}

.msng-dd.msng-dd-up .msng-search-embedded {
    border-top: 1px solid black;
    border-bottom: unset;
}

.msng-spacer {
    flex-grow: 1;
    visibility: hidden;
}

input.msng-search-input {
    border: none;
    outline: none;
    box-shadow: none;
    width: 70%;
    /*margin: 2px;*/
    margin: 0;
    padding: 0;
    line-height: 15px;
    font-size: 14px;
}

input.msng-search-input:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

.msng-create-btn {
    position: absolute;
    right: 5px;
    top: 7px;
    cursor: pointer;
}

.msng-dd {
    z-index: 1000; /* ?? Needed to work in RG filters and administration windows. */
    width: 250px;
    border: 1px solid #aaa;
    /*border-top: 0;*/
    position: absolute;
    top: 100%;
    left: 0;
    box-sizing: border-box;
    /* max-height: 200px; */
    background-color: #fff;
    font-size: 13px;
    border-radius: 0 0 5px 5px;
    /* Without these, a second scrollbar is visible */
    overflow-x: hidden;
    overflow-y: hidden;
}

.msng-dd.msng-dd-up {
    /*border-bottom: 0;*/
    border-radius: 4px 4px 0 0;
    border-top: 1px solid #aaa;
    bottom: 100%;
    box-shadow: 0 -4px 5px rgba(0,0,0,.15);
    top: auto;
}

.msng-dd-options {
    width: 250px;
    border: none;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

.msng-dd-option {
    height: 17px;
    width: 100%;
    line-height: 15px;
    padding: 4px 5px;
    margin: 0;
    list-style: none;
    position: absolute;
    left: 0;
    white-space: nowrap;
    font-weight: normal;
    color: black;
}

.msng-dd-option.highlight {
    background-color: #3875d7;
    background-image: linear-gradient(#3875d7 20%,#2a62bc 90%);
    color: #fff;
    cursor: pointer;
}

.msng-dd-option-selected {
    color: #bbb;
    background-color: #fff !important;
    cursor: default !important;
}

.msng-action-buttons {
    display: inline;
    position: absolute;
    text-align: right;
}

.msng-edit-entity-btn {
    color: #68d130 !important;
    padding: 3px;
    cursor: pointer;
}

.msng-delete-entity-btn {
    color: #ff816c !important;
    padding: 3px;
    cursor: pointer;
}
/*! PhotoSwipe main CSS by Dmytro Semenov | photoswipe.com */

.pswp {
  --pswp-bg: #000;
  --pswp-placeholder-bg: #222;
  

  --pswp-root-z-index: 100000;
  
  --pswp-preloader-color: rgba(79, 79, 79, 0.4);
  --pswp-preloader-color-secondary: rgba(255, 255, 255, 0.9);
  
  /* defined via js:
  --pswp-transition-duration: 333ms; */
  
  --pswp-icon-color: #fff;
  --pswp-icon-color-secondary: #4f4f4f;
  --pswp-icon-stroke-color: #4f4f4f;
  --pswp-icon-stroke-width: 2px;

  --pswp-error-text-color: var(--pswp-icon-color);
}


/*
	Styles for basic PhotoSwipe (pswp) functionality (sliding area, open/close transitions)
*/

.pswp {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: var(--pswp-root-z-index);
	display: none;
	touch-action: none;
	outline: 0;
	opacity: 0.003;
	contain: layout style size;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Prevents focus outline on the root element,
  (it may be focused initially) */
.pswp:focus {
  outline: 0;
}

.pswp * {
  box-sizing: border-box;
}

.pswp img {
  max-width: none;
}

.pswp--open {
	display: block;
}

.pswp,
.pswp__bg {
	transform: translateZ(0);
	will-change: opacity;
}

.pswp__bg {
  opacity: 0.005;
	background: var(--pswp-bg);
}

.pswp,
.pswp__scroll-wrap {
	overflow: hidden;
}

.pswp__scroll-wrap,
.pswp__bg,
.pswp__container,
.pswp__item,
.pswp__content,
.pswp__img,
.pswp__zoom-wrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.pswp__img,
.pswp__zoom-wrap {
	width: auto;
	height: auto;
}

.pswp--click-to-zoom.pswp--zoom-allowed .pswp__img {
	cursor: -webkit-zoom-in;
	cursor: -moz-zoom-in;
	cursor: zoom-in;
}

.pswp--click-to-zoom.pswp--zoomed-in .pswp__img {
	cursor: move;
	cursor: -webkit-grab;
	cursor: -moz-grab;
	cursor: grab;
}

.pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active {
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: grabbing;
}

/* :active to override grabbing cursor */
.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img,
.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img:active,
.pswp__img {
	cursor: -webkit-zoom-out;
	cursor: -moz-zoom-out;
	cursor: zoom-out;
}


/* Prevent selection and tap highlights */
.pswp__container,
.pswp__img,
.pswp__button,
.pswp__counter {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.pswp__item {
	/* z-index for fade transition */
	z-index: 1;
	overflow: hidden;
}

.pswp__hidden {
	display: none !important;
}

/* Allow to click through pswp__content element, but not its children */
.pswp__content {
  pointer-events: none;
}
.pswp__content > * {
  pointer-events: auto;
}


/*

  PhotoSwipe UI

*/

/*
	Error message appears when image is not loaded
	(JS option errorMsg controls markup)
*/
.pswp__error-msg-container {
  display: grid;
}
.pswp__error-msg {
	margin: auto;
	font-size: 1em;
	line-height: 1;
	color: var(--pswp-error-text-color);
}

/*
class pswp__hide-on-close is applied to elements that
should hide (for example fade out) when PhotoSwipe is closed
and show (for example fade in) when PhotoSwipe is opened
 */
.pswp .pswp__hide-on-close {
	opacity: 0.005;
	will-change: opacity;
	transition: opacity var(--pswp-transition-duration) cubic-bezier(0.4, 0, 0.22, 1);
	z-index: 10; /* always overlap slide content */
	pointer-events: none; /* hidden elements should not be clickable */
}

/* class pswp--ui-visible is added when opening or closing transition starts */
.pswp--ui-visible .pswp__hide-on-close {
	opacity: 1;
	pointer-events: auto;
}

/* <button> styles, including css reset */
.pswp__button {
	position: relative;
	display: block;
	width: 50px;
	height: 60px;
	padding: 0;
	margin: 0;
	overflow: hidden;
	cursor: pointer;
	background: none;
	border: 0;
	box-shadow: none;
	opacity: 0.85;
	-webkit-appearance: none;
	-webkit-touch-callout: none;
}

.pswp__button:hover,
.pswp__button:active,
.pswp__button:focus {
  transition: none;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  opacity: 1;
}

.pswp__button:disabled {
  opacity: 0.3;
  cursor: auto;
}

.pswp__icn {
  fill: var(--pswp-icon-color);
  color: var(--pswp-icon-color-secondary);
}

.pswp__icn {
  position: absolute;
  top: 14px;
  left: 9px;
  width: 32px;
  height: 32px;
  overflow: hidden;
  pointer-events: none;
}

.pswp__icn-shadow {
  stroke: var(--pswp-icon-stroke-color);
  stroke-width: var(--pswp-icon-stroke-width);
  fill: none;
}

.pswp__icn:focus {
	outline: 0;
}

/*
	div element that matches size of large image,
	large image loads on top of it,
	used when msrc is not provided
*/
div.pswp__img--placeholder,
.pswp__img--with-bg {
	background: var(--pswp-placeholder-bg);
}

.pswp__top-bar {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 60px;
	display: flex;
  flex-direction: row;
  justify-content: flex-end;
	z-index: 10;

	/* allow events to pass through top bar itself */
	pointer-events: none !important;
}
.pswp__top-bar > * {
  pointer-events: auto;
  /* this makes transition significantly more smooth,
     even though inner elements are not animated */
  will-change: opacity;
}


/*

  Close button

*/
.pswp__button--close {
  margin-right: 6px;
}


/*

  Arrow buttons

*/
.pswp__button--arrow {
  position: absolute;
  top: 0;
  width: 75px;
  height: 100px;
  top: 50%;
  margin-top: -50px;
}

.pswp__button--arrow:disabled {
  display: none;
  cursor: default;
}

.pswp__button--arrow .pswp__icn {
  top: 50%;
  margin-top: -30px;
  width: 60px;
  height: 60px;
  background: none;
  border-radius: 0;
}

.pswp--one-slide .pswp__button--arrow {
  display: none;
}

/* hide arrows on touch screens */
.pswp--touch .pswp__button--arrow {
  visibility: hidden;
}

/* show arrows only after mouse was used */
.pswp--has_mouse .pswp__button--arrow {
  visibility: visible;
}

.pswp__button--arrow--prev {
  right: auto;
  left: 0px;
}

.pswp__button--arrow--next {
  right: 0px;
}
.pswp__button--arrow--next .pswp__icn {
  left: auto;
  right: 14px;
  /* flip horizontally */
  transform: scale(-1, 1);
}

/*

  Zoom button

*/
.pswp__button--zoom {
  display: none;
}

.pswp--zoom-allowed .pswp__button--zoom {
  display: block;
}

/* "+" => "-" */
.pswp--zoomed-in .pswp__zoom-icn-bar-v {
  display: none;
}


/*

  Loading indicator

*/
.pswp__preloader {
  position: relative;
  overflow: hidden;
  width: 50px;
  height: 60px;
  margin-right: auto;
}

.pswp__preloader .pswp__icn {
  opacity: 0;
  transition: opacity 0.2s linear;
  animation: pswp-clockwise 600ms linear infinite;
}

.pswp__preloader--active .pswp__icn {
  opacity: 0.85;
}

@keyframes pswp-clockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/*

  "1 of 10" counter

*/
.pswp__counter {
  height: 30px;
  margin-top: 15px;
  margin-inline-start: 20px;
  font-size: 14px;
  line-height: 30px;
  color: var(--pswp-icon-color);
  text-shadow: 1px 1px 3px var(--pswp-icon-color-secondary);
  opacity: 0.85;
}

.pswp--one-slide .pswp__counter {
  display: none;
}

.recurrence
{
    width: 400px;
}

.lbl-disabled
{
    color: rgb(57, 57, 57);
    cursor: pointer;
    display: inline-block;
    font-family: 'Open Sans';
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 1px;
    position: relative;
    text-align: left;
    vertical-align: middle;
    width: 13px;
    height: 13px;
    z-index: 11;
    border: 1px solid #ccc;
    background-color: #eee;
}

.msdate-disabled
{
    background-color: #eee;
    border: 1px solid #ccc;
    width: 198px !important;
    height: 27px;
}

.rcontrol-disabled
{
}

table.repeat-panel {
    width: auto;
    min-width: initial;
    border-top: none;
    border-bottom: none;
}

.repeat-panel-autoheight table.repeat-panel {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

table.repeat-panel td {
    padding: 4px 10px;
    border-top: 1px solid #ddd;
}

.repeat-panel-edit-column > div {
    width: 40px;
    overflow: hidden;
}

.repeat-panel-widget {
    margin-bottom: 4px;
}

.repeat-panel-wrapper {
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 1px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.repeat-panel-wrapper.repeat-panel-autoheight {
    border-top: 0px solid #ddd;
    border-bottom: 0px solid #ddd;
}

.repeat-panel-wrapper.no-border {
    border: 0px;
}

.ri-slider {
    margin-bottom: 10px;
    overflow-x: hidden;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.ri-slider-part-text {
    vertical-align: middle;
}

.ri-slider-parts {
    border-radius: 2px;
    height: 25px;
    position: relative;
}

.ri-slider-start {
    float: left;
}

.ri-slider-end {
    float: right;
}

.ri-slider-part {
    display: block;
    position: relative;
    /*border-right: 1px solid black;*/
    text-align: center;
    border-radius: 2px;
    height: 100%;
    float: left;
    white-space: nowrap;
}

.ri-slider-part.ri-slider-part-absolute {
    position: fixed;
    float: none;
    z-index: 5000;
}

.ri-slider-part-first {
}

.ri-slider-part.ri-slider-part-last {
}

div.tooltip {
    z-index: 3000;
}

.ri-slider-part .ri-slider-handle {
    top: 3px;
    left: 0px;
    margin-left: -2px;
    width: 4px;
    height: 19px;
    cursor: w-resize;
    position: absolute;
    z-index: 2;
    color: #4aa4ce;
    background-color: #333;
    border: 0px;
    border-radius: 2px;
}

.ri-slider-part .ri-slider-handle.ri-slider-handle-right {
    left: auto;
    right: 0px;
    margin-right: -2px;
}

.ri-slider-lines {
    margin-top: 5px;
}

.ri-slider-line {
    margin-top: 5px;
    position: relative;
    height: 25px;
}

.ri-slider-line .ri-slider-part {
    float: none;
    display: inline-block;
    position: absolute;
}


div.timeinterval-widget {
    float: left;
}

label.timeinterval-widget {
    float: left;
    vertical-align: middle;
    padding-top: 5px;
}

select.timeinterval-widget {
    float: left;
    margin-right: 4px;
    width: 130px;
}

button.timeinterval-widget {
    line-height: 19px;
}
.ui-slider-mark
{
    width:2px;
    height:25px;
    margin-top: -8px;
    background-color:#aaa;
    position: absolute;
}

.ui-slider-currenttext
{
    width:40px;
    height:25px;
    margin-top: -26px;
    margin-left: -20px;
    text-align: center;
    position: absolute;
}

.ui-slider-marktext
{
    width:40px;
    height:25px;
    margin-top: 16px;
    margin-left: -20px;
    text-align: center;
    position: absolute;
}

.ui-slider-mark1
{
    left: 0%;
}
.ui-slider-mark2
{
    left: 50%;
}
.ui-slider-mark3
{
    left: 100%;
}

.value-from-widget-hide-labels .ui-slider-marktext,
.value-from-widget-hide-labels .ui-slider-currenttext
{
    display: none
}
.valueFromIntervalRO 
{
    white-space: nowrap;
    background-color: #eee;
    height: 20px;
}

.valueFromIntervalRO div.bar
{
    display: inline-block;
    vertical-align: middle;
    margin: 0px;
    padding: 0px;
    height: 20px;
    margin-right: 5px;
}

.valueFromIntervalRO div.num
{
    display: inline-block;
    vertical-align: middle;
    position: relative;    
}
.weekdays-widget {
    text-align:center;
    margin: 0;
    display:inline-block;
}

.weekdays-widget li {
    display: block;
    float: left;
    width: 25px;
}

.weekdays-widget span.label {
    display: block;
}
