.map {
    height: 400px;
}

input[type=checkbox].form-control {
    width: auto;
    height: auto;
    display: inline;
}

.form-control {
    border: 1px solid #455a64;
}

form fieldset .form-group label {
    padding-left: 50px;
}

.daterangepicker.dropdown-menu {
    z-index: 1060;
}

form.form-horizontal .bs-searchbox:after {
    top: 57%;
}

form.form-horizontal .bootstrap-select.btn-group .dropdown-toggle .caret {
    margin-top: -7px;
}

form.form-horizontal .bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a span.check-mark {
    margin-top: -8px;
}

p.error {
    font-weight: bold;
    color: red;
}

a.close::after {
    font-family: icomoon;
    line-height: 1;
    content: '\e9b6';
    font-size: 16px;
    min-width: 16px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
}
.page-title > h4 > a > i {
  font-size: 1.5em;
  color: #FC5C26 !important;
}
.remove_form {
    
}
.remove_form button{
    border: none;
    padding: 0;
    background: transparent;
}

.loader {
  position: relative;
  text-align: center;
  margin: 15px auto 35px auto;
  z-index: 9999;
  display: block;
  width: 80px;
  height: 80px;
  border: 10px solid rgba(0, 0, 0, .3);
  border-radius: 50%;
  border-top-color: #000;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}

.list-group-item {
    margin: 10px 0;
}

td.fc-year-month-separator,
td.fc-first,
td.fc-last {
    width: 5px;
}

td > .custom_value {
    margin-left: 5px;
}


.fc-year-week-days th {
    padding: 0;
}

.closeon {
    top: 4px;
    position: absolute;
    right: 4px;
}

.fc-scroller {
    min-height: auto;
}

.fc-resizer {
    pointer-events: none;
}



#year-calendar .currentmonth {
    color: blue;
    text-align: center;
}
#year-calendar .currentday {
    border: 1px solid black;
    /*color: #00FF00;*/
    text-align: center;
}

#year-calendar table.calendar {
    margin:1em 1em 2em 1em;
}
#year-calendar:not(.no-click) table.calendar {
    cursor: pointer;
}
#year-calendar:not(.no-click) table.calendar:hover {
    box-shadow: inset 0 0 0 4px rgba(189, 168, 253, 0.5);
}
#year-calendar.no-click a:hover {
    cursor: default;
}

table.calendar th {
    padding:1em;
}

table.schedule {
    margin-bottom: 200px !important;
}

table.schedule .month-title {
    text-align: left;
}

table.schedule .month-title > div {
    position: sticky;
    display: inline;
    left: 20px;
}

table.schedule .sticky {
    position: sticky;
    left: 0px;
    background-clip: padding-box;      /* Firefox 4, Safari 5, Opera 10, IE 9 */
    border: 1px solid #ddd;
    -moz-background-clip: padding;     /* Firefox 3.6 */
    -webkit-background-clip: padding;  /* Safari 4? Chrome 6? */
}
table.schedule .sticky.right {
    right: 0;
}

/*
table.schedule worker.sticky > div > span {
    display: inline-block;
    width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
*/

table.schedule th,
table.schedule td {

}

table.schedule th.day_6,
table.schedule th.day_0 {
    background-color: #c4bebe;
}

table.schedule th.today { 
    box-shadow: inset 0 0 0 4px red;
}

table.schedule td.worker > div {
    display: flex;
}

table.schedule td.worker > div > i {
    margin: 3px 5px 0 -10px;
    cursor: grab;
}

table.schedule td.location {
    font-weight: bold;
    color: #6f6f6f;
    text-transform: uppercase;
    font-size: 1.1em;
}

table.schedule td.location > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
table.schedule td.location > div > button.shutter {
    border: none;
    background-color: transparent;
    margin-left: 5px;
}
table.schedule td.location.open > div > button.shutter.down {
    display: none;
}
table.schedule td.location.open > div > button.shutter.up {
    display: block;
}

table.schedule td.location.closed > div > button.shutter.down {
    display: block;
}
table.schedule td.location.closed > div > button.shutter.up {
    display: none;
}

table.schedule th {
    text-align: center;
}

table.schedule th.sticky,
table.schedule td.sticky {
    background-color: #FFF;
    z-index: 10;
}

table.schedule td.day_6 > span,
table.schedule td.day_0 > span {
    background-color: #c4bebe !important;

}

table.schedule td.sticky.worker > span,
table.schedule td.sticky.location > span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 120px;
    font-weight: bold;
}

table.schedule td > span {
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    cursor: pointer;
    font-size: 1.2em;
    text-align: center;
    padding: 2px 0;
    print-color-adjust:exact;
    -webkit-print-color-adjust:exact;
    line-height: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

table.schedule td > span.turno {
    background-color: #92b7d9;
}

table.schedule td > span.turno.laborable-false {
    background-color: red !important;
}

table.schedule td {
    position: relative;
}

table.schedule .border-inset, 
table.schedule th.sticky.right.total {
    box-shadow: inset 0 0 0 2px #ddd;
    padding: 6px 10px;
}

table.schedule td.total.sticky.right > div {
    width: 160px;
}

.truncate-label {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

span.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu.dropdown-menu-right-outer {
    left: auto;
    right: -210px;
    top: 0;
}

td.worker.cell {
    padding: 0;
}

td.worker.open {
    position: relative;
}

td.worker.open ul.dropdown-menu {
    display: block;
    position: absolute;
}

td.pattern-cell {
    text-align: center; 
}


#year-calendar table.calendar td {
    width: 45px;
    height: 45px;
    vertical-align: top;
    text-align: center;
}

#year-calendar.all-workers table.calendar td {
     width: 40px;
}

#year-calendar table.calendar {
    display:inline-block;
    zoom:1;
    vertical-align:top;
}

#year-calendar table.calendar td .events {

}

#year-calendar table.calendar td .events > .event{
    height: 15px;
    -webkit-print-color-adjust: exact;
}

ul.leyend {
    list-style: none;
    display: inline-block;
}

ul.leyend li {
    float: left;
    margin: 2px 10px 2px 0;
}

ul.leyend li > div {
        width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 15px;
        top: 5px;
    position: relative;
}

.dynamic-form .bootstrap-select {
    width: auto !important;
}

.dynamic-form .help-block.mintime,
.dynamic-form .help-block.maxtime {
    display: none;
}

.dynamic-form ul,
ul#id_days {
    list-style: none;
    padding: 0;
}

.worker_form .alerts .alert_geoposition > .fields {
    display: none;
}


@media print {
    .sidebar.sidebar-main,
    .heading-btn-group,
    .page-title i,
    a:after {
        display: none;
    }

    #year-calendar table.calendar td {

    }
}


.assistance_control > table,
.work_calendar > table {
    max-width: 750px;
    margin: auto;
}

.assistance_control table,
.work_calendar table {
    width: 100%;
}

.assistance_control > table th,
.work_calendar > table th {
    text-align: center;
}

.assistance_control table.year > tbody > tr,
.work_calendar table.year > tbody > tr{
    vertical-align: top;
}
.assistance_control table.year > tbody > tr > td,
.work_calendar table.year > tbody > tr > td {
    padding: 5px;
}

.work_calendar > table td.day:hover {
    background-color: #b69494;
}

.assistance_control > table td.day,
.work_calendar > table td.day {
    background-color: #e3e3e3;
    cursor: pointer;
}

.assistance_control > table td.day.sun,
.work_calendar > table td.day.sun,
.work_calendar > table td.day.no-laborable {
    background-color: #fa8282;
    color: #FFFFFF;
    font-weight: bold;
}

.work_calendar > table td.day.no-laborable {
    box-shadow: inset 0 0 0 4px rgba(255, 0, 0, 0.5);
    text-decoration: underline;
}

.assistance_control > table td.day.sun:hover,
.work_calendar > table td.day.sun:hover,
.work_calendar > table td.day.no-laborable:hover {
   background-color: #fa4141;
}

.assistance_control > table td.day.assistance {
    background-color: #cd8604 !important;
    color: #fff !important;
    font-weight: bold;
}


.assistance_control > table th.year,
.work_calendar > table th.year {
    font-size: 2em;
}

.assistance_control > table th.month,
.work_calendar > table th.month {
    font-size: 1.5em;
    color: #166dba;
    padding-top: 10px;
    text-transform: capitalize;
}

.print_window .fc-toolbar .fc-right{
    display: none !important;
}

.print_window .fc-view > table {
    min-width: auto;
    width: 98%;
}

.assistance_control > table td.day,
.assistance_control > table td.noday,
.work_calendar > table td.day,
.work_calendar > table td.noday{
    padding: 12px;
    text-align: center;
}

.pac-container {
    z-index: 10000;
}
.timelines .panel-flat {
    margin-bottom: 0;
}
.timelines .panel-flat > .panel-heading {
    padding-top: 11px;
    padding-bottom: 11px;
}

.timelines .Droppable {
    height: 20px;
}

.timelines .Droppable.last {
    height: 160px;
}

.timelines .Droppable.over {
    height: 160px;
    background-color: #d3d3d3;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 2px dashed #b4b4b4;
}

.timelines .h6.panel-title, h6.panel-title {
    font-size: 12px;
}

.timelines .h6.panel-title, h6.panel-title .position-left {
    margin-right: 2px;
}

.timeline-wrapper {
    height: 60px;
    position: relative;
    /*overflow: hidden;*/
}

.one_column_layout .timeline-wrapper {
    height: 50px;
}

.timeline-wrapper > .line {
    border-top: 1px solid #004165;
    border-bottom: 1px solid #004165;
    position: absolute;
    height: 1px;
    width: 100%;
    top: 50%;
}

.timeline-wrapper > .line > .position {
    width: 14px;
    height: 14px;
    display: block;
    position: absolute;
    top: calc(50% - 6px);
    left: 0px;
    background: #fff;
    border-radius: 8px;
}

.timeline-wrapper > .line > .registry,
.timeline-wrapper > .line > .work_order_membership,
.timeline-wrapper > .line > .work_order_part,
.timeline-wrapper > .line > .incidence {
    position: absolute;
    top: calc(50% - 31px);
    left: 0px;
    width: 90px;
    text-align: center;
}

.timeline-wrapper > .line > .userEvent {
    position: absolute;
    top: calc(50% - 15px);
}

.timeline-wrapper > .line > .userEvent > svg,
.timeline-wrapper > .line > .work_order_membership > svg,
.timeline-wrapper > .line > .work_order_part > svg,
.timeline-wrapper > .line > .incidence > svg {
    display: block;
    background: transparent;
    width: 30px;
    height: 30px;
    margin: auto;
}

.timeline-wrapper > .line > .registry > span,
.timeline-wrapper > .line > .userEvent > span,
.timeline-wrapper > .line > .work_order_membership > span,
.timeline-wrapper > .line > .work_order_part > span,
.timeline-wrapper > .line > .incidence > span {
    font-size: 10px;
    font-family: Arial, Helvetica, sans-serif;
    color: #9E9E9E;
    background: #FFFFFF;
    box-shadow: 0 0 1px gray;
    cursor: default;
}

.timeline-wrapper > .line > .userEvent > span {
    width: 30px;
    display: inline-block;
    text-align: center;
}

.timeline-wrapper > .line > .registry > svg,
.timeline-wrapper > .line > .work_order_membership > svg,
.timeline-wrapper > .line > .work_order_part > svg,
.timeline-wrapper > .line > .incidence > svg {
    display: block;
    background: #fff;
    /*border-radius: 12px;*/
    width: 9px;
    height: 24px;
    margin: auto;
}

.timeline-wrapper > .line > .event-bubble {
    position: absolute;
    background-color:
    rgba(158, 158, 158, 0.1);
    width: 139px;
    height: 60px;
    top: -80px;
    /*left: -15px;*/
    border-radius: 5px;
    /*box-shadow: inset 0 0 5px rgba(158, 158, 158, 0.64);*/
    border: 1px solid #ddd;
    padding: 5px;
}

.timeline-wrapper > .line > .event-bubble::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-bottom-style: solid;
    border-color: transparent;
    border-bottom-color: transparent;
    border-bottom: 0;
    border-bottom-width: 0px;

    bottom: -12px;
    left: 13px;
    border-top-color: rgba(222, 222, 222, 0.66);
    border-width: 12px;
}

.timeline-wrapper > .start-time,
.timeline-wrapper > .end-time {
    top: 54%;
    position: absolute;
    color: grey;
    font-size: 0.9em;
}

.timeline-wrapper > .end-time {
    right: 0px;
}

.panel-body.alert-event {
    box-shadow: inset 0 0 0 10px rgb(255, 44, 49);

    animation: blink 2.0s linear infinite;
}


@keyframes blink {
    0% { box-shadow: inset 0 0 0 10px rgb(255, 44, 49); }
    50% { box-shadow: inset 0 0 0 10px rgb(251, 255, 255); }
    100% { box-shadow: inset 0 0 0 10px rgb(255, 44, 49); }
}

@-webkit-keyframes blink {
    0% { box-shadow: inset 0 0 0 10px rgb(255, 44, 49); }
    50% { box-shadow: inset 0 0 0 10px rgb(251, 255, 255); }
    100% { box-shadow: inset 0 0 0 10px rgb(255, 44, 49); }
}

.panel-body.warning-event {
    box-shadow: inset 0 0 0 10px rgb(2, 161, 2);

    animation: blink-green 2.0s linear infinite;
}

@keyframes blink-green {
    0% { box-shadow: inset 0 0 0 10px rgb(2, 161, 2); }
    50% { box-shadow: inset 0 0 0 10px rgb(251, 255, 255); }
    100% { box-shadow: inset 0 0 0 10px rgb(2, 161, 2); }
}

@-webkit-keyframes blink-green {
    0% { box-shadow: inset 0 0 0 10px rgb(2, 161, 2); }
    50% { box-shadow: inset 0 0 0 10px rgb(251, 255, 255); }
    100% { box-shadow: inset 0 0 0 10px rgb(2, 161, 2); }
}

.timelines .companies_list .panel > .panel-body .company-name-column {
    width: 75%;
}

.timelines .companies_list .panel > .panel-body .company-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.timelines .company-timeline .list-inline > li{
    padding-right: 5px;
}

.timelines .company-timeline.panel .panel-body ul {
    margin-top: 10px;
}

.timelines .company-timeline.panel .panel-body {
    padding: 10px;
}

.timelines .company-timeline.panel .panel-body .company-name-column {
    width: 70%;
}

.events-mailer {
}

.events-mailer.highlight {
    animation: background 1s ease-in-out infinite;
    -webkit-animation: background 1s ease-in-out infinite;
}

@keyframes background {
    0% {
        background: transparent;
        color: #333333;
    }
    50% {
        background: #FF8A65;
        color: #FFFFFF;
    }
    100% {
        background: transparent;
        color: #333333;
    }
}

@-webkit-keyframes background {
    0% {
        background: transparent;
        color: #333333;
    }
    50% {
        background: #FF8A65;
        color: #FFFFFF;
    }
    100% {
        background: transparent;
        color: #333333;
    }
}

.bg-yellow {
    background-color: yellow;
    color: #333;
    box-shadow: 0 0 2px orange;
}


.manage-events-modal table {
    width: 100%;
}

.manage-events-modal table th {
    text-align: center;
}

.manage-events-modal table tr td {
    padding: 5px;
}

.manage-events-modal table tr td:not(.new) {
    border-bottom: 1px solid #d4d4d7;
}

.manage-events-modal table tr td button {
    padding: 2px 9px;
}

.manage-events-modal table tr.new {
    background-color: #dbdbdb;
}

.manage-events-modal table tr.new td {
    padding-top: 10px;
}

.manage-events-modal input {
    padding: 3px;
    height: 25px;
    line-height: 20px !important;
}

.manage-events-modal select {
    height: 25px;
    padding: 2px 10px;
}

#workers_info {
    max-height: 200px;
    overflow: auto;
    border: 1px solid gray;
    margin-top: 10px;
    border-radius: 3px;
}

/* FIXME: Fix dropdown to upper hide screen */
.dropdown-menu{
    transform: translate3d(5px, 0px, 0px)!important;
    bottom: auto !important;
}

tr.group, tr.group:hover {
  background-color: rgba(0, 0, 0, 0.1) !important;
}

@media print {
    div.do-not-print,
    a.do-not-print,
    span.do-not-print,
    i.do-not-print
        {display: none;}
    div.panel{page-break-after: always;}
    div.no-padding-print{padding:0;}
    .table.table-bordered thead tr td,
    .table.table-bordered tbody tr td{
        border-width: 1px !important;
        border-style: solid !important;
        border-color: black !important;
        padding:0px;
        -webkit-print-color-adjust:exact ;
    }
}

.selectable-demo-list {
    width: 450px;
}

.selectable-demo-list > li.ui-sortable-handle {
    position: relative;
}

.selectable-demo-list > li.ui-sortable-handle > a {
    position: absolute;
    right: 5px;
}

.selectable-demo-list > li.ui-sortable-handle > span {
    position: absolute;
    left: 5px;
}

@media (max-width:768px) {
    .footer {
        bottom:auto;
    }
}

.home-banner {
    margin: -20px;
    position: relative;
    overflow: hidden;
}


.home-banner > img{
    width: 100%;
}

.home-banner .home-banner-text {
    position: absolute;
    top: 38%;
    left: 13%;
    font-size: 1.2em;
    font-weight: bold;
    max-width: 34%;
    text-align: left;
    background: white;
    color: #333;
    padding: 2px 15px;
}

@media (min-width:1094px){
    .home-banner .home-banner-text {
        font-size: 2em;
    }
}

@media (min-width:1500px){
    .home-banner .home-banner-text {
        font-size: 3em;
    }
}

.home-buttons {
    margin-top: 60px;
}
.home-button {
    display: block;
    width: 200px;
    height: 200px;
    margin: auto;
    margin-bottom: 20px;
    position: relative;
}
.home-submenu > div.col-md-12 {
    margin: 20px 0;
}
.home-submenu > div.col-sm-6 {
    position: relative;
    padding: 15px 6%;
    text-align: center;
}

.home-submenu > div.col-sm-6 > a > span1 {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-40%);
    font-size: 40px;
    font-weight: bold;
    color: white;
    white-space: nowrap;
}

.home-submenu > div.col-sm-6 > a > span2 {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 21px;
    color: white;
    font-weight: bold;
    text-align: center;
    width: 60%;
    white-space: normal;
    word-wrap: break-word;
}

.home-menu-back-button {
    cursor: pointer;
}

.home-menu-button > img {
    width: 100%;
    max-width: 520px;
}

@media (min-width:769px){
   .home-button {
       width: 100px;
   }
}

@media (min-width:1025px){
   .home-button {
       width: 190px;
   }
}

@media (min-width:1200px){
   .home-button {
       width: 250px;
   }
}

@media (min-width:1400px){
   .home-button {
       width: 320px;
   }
}

.companies-button {
    background: url("/static/images/botones/empresas.png?_=453221");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    position: relative;
}

.companies-button span {
    position: absolute;
    bottom: -20px;
    font-size: 30px;
    color: #000;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

.companies-button:hover {
    background: url("/static/images/botones/empresas.hover.png?_=453221");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.workers-button {
    background: url("/static/images/botones/trabajadores.png?_=453221");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    position: relative;
}

.workers-button span {
    position: absolute;
    bottom: -20px;
    font-size: 30px;
    color: #000;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

.workers-button:hover {
    background: url("/static/images/botones/trabajadores.hover.png?_=453221");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.alarms-button {
    background: url("/static/images/botones/alarmas-regislab.png?_=453221");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    position: relative;
}

.alarms-button span {
    position: absolute;
    bottom: -20px;
    font-size: 30px;
    color: #000;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

.alarms-button:hover {
    background: url("/static/images/botones/alarmas-regislab.hover.png?_=453221");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.stock-button {
    background: url("/static/images/botones/control_de_stocks.png?_=453221");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    position: relative;
}

.stock-button span {
    position: absolute;
    bottom: -20px;
    font-size: 30px;
    color: #000;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

.stock-button:hover {
    background: url("/static/images/botones/control_de_stock.hover.png?_=453221");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.support-button {
    background: url("/static/images/botones/soporte.png?_=453221");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    position: relative;
}

.support-button span {
    position: absolute;
    bottom: -20px;
    font-size: 30px;
    color: #000;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

.support-button:hover {
    background: url("/static/images/botones/soporte.hover.png?_=453221");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.work_order_maps .floating-panel {
    float: right;
}

.page-title > h4,
.text-primary,
.text-primary-300,
.text-primary-300:focus,
.text-primary-300:hover,
.text-primary:focus,
.text-primary:hover {
    color: #FC5C26 !important;
}

.panel {
    border-color: #FC5C26;
    border-width: 2px;
    border-radius: 5px;
}

.panel.companies .dataTables_wrapper  .datatable-scroll {
    min-height: 300px;
}

.dataTable td > a {
    text-transform: lowercase;
}

.page-title > h4 > i {
    font-size: 1.5em;
}

.table ul.icons-list {
    background-color: #FC5C26;
    padding: 5px;
    border-radius: 10px;
    color: #FFF;
    display: inline-block;
}

.dataTables_paginate
.paginate_button.current,
.dataTables_paginate .paginate_button.current:focus,
.dataTables_paginate .paginate_button.current:hover {
    background-color: #FC5C26;
    color: #FFF;
}
div.datatable-scroll {
    overflow-x: auto;
}

.documents .datatable-scroll,
.companies .datatable-scroll {
    overflow: visible;
}
.btn-primary
{
    background-color: #FC5C26;
    border-color: #c33100;
    color: #FFF;
}

.btn-primary.active,
.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary.focus,
.btn-primary:active,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover,
.btn-primary:focus,
.btn-primary:hover,
.open>.dropdown-toggle.btn-primary,
.open>.dropdown-toggle.btn-primary.focus,
.open>.dropdown-toggle.btn-primary:focus,
.open>.dropdown-toggle.btn-primary:hover {
    background-color: #FC5C26;
    border-color: #c33100;
    color: #FFF;
}

li.selected {
    background-color: #d2d2d2;
}

li.selected button {
    font-weight: bold;
}

#WelcomeHelpModal .modal-content {
    background-color: transparent;
}
#WelcomeHelpModal .modal-body {
    padding: 0;
    position: relative;
}
#WelcomeHelpModal .background {
    width: 100%;
}

#WelcomeHelpModal .accept,
#WelcomeHelpModal .ignore {
    width: 120px;
}
@media (min-width:769px){
    #WelcomeHelpModal .accept,
    #WelcomeHelpModal .ignore {
        width: 230px;
    }
}
#WelcomeHelpModal .accept img,
#WelcomeHelpModal .ignore img{
    width: 100%;
}
#WelcomeHelpModal .accept {
    position: absolute;
    bottom: 50px;
    left: 30px;
}

#WelcomeHelpModal .ignore {
    position: absolute;
    bottom: 50px;
    right: 30px;
}

.scrollx {
    overflow-x: auto;
}

.document-image {
    border: 1px solid #ddd;
    margin: 50px 40px;
}

a.back-icon {
    color: #FC5C26 !important;
}

a.back-icon > i {
    font-size: 25px;
}

.note-editor table {
    table-layout: fixed;
}

.navbar-brand > span {
    color: #FFFFFF;
    padding: 0 15px;
    font-size: 20px;
}

tr.clickable-row {
    cursor: pointer;
}

tr.clickable-row:hover {
    background-color: #26A69A;
    border-color: #26A69A;
    color: #fff;
}

tr.clickable-row:active {
    background-color: #29C2B3;
    border-color: #26A69A;
    color: #fff;
}

.attachments-list {
    display:flex;
    list-style: none;
    padding: 0;
}

.attachments-list > li {
    text-align: center;
    margin: 0 10px;
}

.attachments-list > li img {
    max-width: 100px;
    margin: auto;
    display: block;
}

#PdfDocument {
    width: 100%;
    border: 0;
    min-height: 600px;
}

#Signature {
    border: 1px dashed black;
    margin: 10px;
}

.loading {
  position: fixed;
  z-index: 10000;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.workplaces_tree li {
    list-style: none;
}

.tag-value-selector {
    float: right;
    width: 60%;
    margin-top: -10px;
}

.navigation li > span {
  color: rgba(255,255,255,.75);
  display: block;
  -webkit-transition:
    background .15s linear,color .15s linear;
  -o-transition: background .15s linear,color .15s linear;
  transition:
    background .15s linear,color .15s linear;
}

.navigation > li > span {
  padding: 12px 20px;
  min-height: 44px;
  font-weight: 500;
  cursor: pointer;
}

.sidebar-default .navigation li > span {
  color: #333;
}

.sidebar-default .navigation li > span:hover {
  background-color: #f5f5f5;
}

.dimmed {
    opacity: 0.3;
    pointer-events: none;
}

.d-flex {
    display: flex;
}

.workplaces_tree .media.border-top {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid #ddd;
}

.category-title {
    padding: 10px 20px 10px 20px;
}

.workplaces-calendar-container {
    position: relative;
}
.workplaces-calendar-container .daterangepicker {
    background-color:#fff;
    border:1px solid transparent;
    border-radius:3px;
    -webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);
    box-shadow:0 1px 1px rgba(0,0,0,.05);
    padding: 5px;
}

#workplaceShiftsForm .add-row {
    margin: 10px 20px;
    display: block;
}

.workplace-line.active .media-body a.select-zone {
    text-decoration: underline;
}

.workplace-line.active .media-left a.select-zone,
.workplace-line.active .media-body span.label {
    box-shadow: 0px 0 1px #333;
}

.workplace-line.active .icon-dots {
    color: #000;
}

/* Transparent Overlay */
.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));

  background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
}


.button-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    transition: color 0.2s;
    width: 80%;
    margin: 0 auto;
}

.round-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 8px solid #FC5C26;
    background: #fff;
    margin-bottom: 12px;
    transition: border-color 0.2s, background 0.2s;
}

.round-icon svg {
    width: 70%;
    height: 70%;
    color: #FC5C26;
    transition: color 0.2s;
}

.button-icon .label .h3,
.button-icon .label .text-black {
    color: #222;
  font-size: 2em;
  font-weight: 800;
  text-align: center;
  transition: color 0.2s;
  margin-top: 0;
}

.button-big-header {
    background-color: #FC5C26;
    font-size: 24px;
    font-weight: bold;
    height: 80px;
    padding: 6px;
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 10px 24px 16px 24px;
}

.button-big-header > div {
    display: flex;
    align-items: center;
    width: 100%;
}

.button-big-header svg {
    flex-shrink: 0;
    margin-right: 20px;
    font-size: 2.5rem;
    color: #fff;
    display: block;
    width: 40px;
}

.button-big-header p {
    flex: 1;
    margin: 0;
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #222;
}


.button-big-header .h2 {
    font-size: 25px;
  font-weight: bold;
  color: white;
  white-space: nowrap;
    padding: 4px 30px 4px 0;
  text-overflow: ellipsis;
  overflow: hidden;
}


@media (min-width:1200px) {
    .button-big-header .h2  {
        font-size: 40px;
    }
}

.button-big-content {
    background-color: #5684bc;
  font-size: 18px;
  font-weight: bold;
  height: 150px;
  position: relative;
  top: -8px;
  z-index: 5;
  color: white;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  padding: 20px;
  overflow: hidden;
}


@media (min-width:1200px) {
    .button-big-content {
        font-size: 20px;
    }
}

.rounded {
    border-radius: 10px;
}

.rounded-bottom {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.button-icon:hover .round-icon {
    border-color: transparent;
    background: #FC5C26;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
}

.button-icon:hover .round-icon svg {
    color: #fff !important;
}

.button-icon:hover .label .h3,
.button-icon:hover .label .text-black {
    color: #FC5C26;
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 150ms infinite linear;
  -moz-animation: spinner 150ms infinite linear;
  -ms-animation: spinner 150ms infinite linear;
  -o-animation: spinner 150ms infinite linear;
  animation: spinner 150ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
