*:focus,
*:not(.form-signin):active {
    box-shadow: none !important;
    outline: none;
}

.pics_echeck {
    position: relative;
    margin: auto;
    width: 50%;
    text-align: center;
}

.label_pics_echeck {
    width: 110px;
}

.label_pics_echeck img,
label {

    max-width: 100%;
}

ul {
    list-style: none;
}

.c {
    display: block !important;
}

.c:after {
    content: '';
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
    color: transparent;
    font-size: 0;
}

body>.progress {
    display: none;
    position: fixed;
    top: 0;
    z-index: 10001;
    width: 100%;
}

.progress .progress-bar {
    transition: all 500ms ease;
}

label {
    margin-bottom: 0;
    font-weight: normal !important;
}

.radio-buttons {
    cursor: default;
}

.radio-buttons label {
    margin: 5px 10px;
    cursor: pointer;
}

.radio-buttons label input[type=radio] {
    visibility: hidden;
    opacity: 0;
    position: absolute;
}

.radio-buttons label input[type=radio]+span {
    display: inline-block;
    line-height: 20px;
    padding: 5px 10px;
    border-radius: 3px;
}

.radio-buttons label:hover input[type=radio]+span {
    background: #EFEFEF;
}

.radio-buttons label input[type=radio]:checked+span {
    background: #17a2b8;
    color: #FFF;
}

.radio-buttons label input[type=radio]+span span {
    margin-left: 3px;
}

.alerts {
    background: rgba(255, 255, 255, 0.9);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: all 300ms ease;
    line-height: 100vh;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    z-index: -1;
}

.alerts.show {
    z-index: 10001;
    visibility: visible;
    opacity: 1;
}

.alerts>* {
    display: inline-block;
    vertical-align: middle;
    min-width: 40%;
    max-width: 60%;
    line-height: normal;
}

.alerts .alert {
    width: 100%;
}

.filter-inline.form-control {
    width: auto;
    display: inline-block;
}

/* rewrite bootstrap START */
.ui-keyboard[data-ui-keyboard-layout="num"] {
    bottom: 0 !important;
    top: auto !important;
}

/* .btn:not(.btn-defsize):not(.def) {
    padding: 1rem 2rem;
} */

.btn.btn-defsize {
    padding: 0rem 0.5rem;
}

a.icon:not(.def) {
    padding: 1rem 1.5rem;
}

.form-control:not(.def),
.form-signin .form-control:not(.def) {
    padding: .375rem .75rem;
}

select.form-control:not([size]):not([multiple]) {
    height: auto;
}

.ui-keyboard-button {
    padding: 0 1.5em;
    height: 3.5em;
}

.form-control:not(.def) {
    line-height: 3.3;
}

.form-control:focus {
    border-color: #2cc990;
}

input[type=text],
input[type=date],
input[type=number] {
    text-indent: 5px;
}

.form-button-fixed {
    padding-bottom: 3rem;
}

.form-button-fixed button[type=submit] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
    padding: 0.5rem;
}

.dropdown>.btn {
    padding: 1.5rem 1rem;
}

.btn-fa {
    cursor: pointer;
    font-size: 24px;
    display: inline-block;
    vertical-align: -2px;
}

.anim {
    transition: all 200ms ease;
}

.highlight {
    outline: 2px solid #D6000D;
    color: #D6000D;
}

.jumbotron.small {
    padding: 1rem 2rem;
}

.jumbotron.full-width {
    width: 100%;
}

input.no-bg {
    background: transparent;
    border-color: transparent;
    width: 100%;
    cursor: unset;
}

input.width-auto {
    width: auto;
}

.border-success {
    border-color: #28a745;
}

.modal-header {
    font-size: 1.5em;
}

/* rewrite bootstrap END */
.display-block {
    display: block
}

.display-inlineblock {
    display: inline-block
}

.new_qst {
    margin: 10px;
    padding: 5px;
}

.checkbox-show tr td {
    transition: all 200ms linear;
}

.checkbox-show tr.text-success td {
    background: #dff0d8;
}

.checkbox-show tr.text-danger td {
    background: #f2dede;
}

.checkbox.maximize {
    position: relative;
}

.checkbox.maximize label {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    text-align: center;
    cursor: pointer;
}

th.checkbox.maximize label {
    position: static;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

.checkbox.maximize label input {
    opacity: 0.01;
}

.checkbox.maximize label span.fa-check-square {
    font-size: 22px;
    position: absolute;
    top: 50%;
    margin-top: -11px;
    opacity: 0.2;
    vertical-align: middle;
}

th.checkbox.maximize label span.fa-check-square {
    position: static;
    top: auto;
}

.checkbox.maximize label:hover span.fa-check-square {
    opacity: 0.5;
}

.checkbox.maximize label input:checked~span.fa-check-square {
    opacity: 1;
}

td.day {
    padding: 3px 6px;
}

.btn {
    cursor: pointer;
}

.loader,
.alternative-loader {
    display: none;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 9999;
}

.loader svg {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -32px;
}

.alternative-loader {
    display: block;
}

.loader img,
.alternative-loader img {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -32px;
}

.loader p,
.alternative-loader p {
    position: absolute;
    top: 50%;
    width: 100%;
    left: 0;
    right: 0;
    text-align: center;
    margin-top: 32px;
}

header {
    position: relative;
}

header .nav-item.home img {
    display: block;
    height: 24px;
}

.list-group-item label {
    margin: 0;
    display: block;
}

.icon {
    display: block;
    text-align: center;
    font-size: 25px;
}

.icon .fa-trash-o {
    color: red;
}

form:not(.filters) {
    padding-bottom: 3rem;
}

main.wrp {
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

td.filter {
    padding: 0;
}

td.filter input {
    width: 100%;
    border: none;
    background-color: #F3F3F3;
}

/* .form-filters { float: right; } */
form.filters.check_search[action="e-check"] {
    float: none;
}

tbody.content td {
    position: relative;
    height: 30px;
    padding-left: 5px;
    padding-right: 5px;
}

tbody.content input[type=text] {
    border: none;
    background: inherit;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    text-indent: 10px;
}

.comments {
    font-size: 1em;
    width: 250px;
    overflow: hidden;
    height: 200px;
    position: relative;
}

.comments ul {
    margin-bottom: 0;
}

.comments ul li+li {
    margin-top: 5px;
}

.comments .scroll {
    height: 80%;
    overflow-y: auto;
    width: 100%;
}

.comments .new-comment {
    position: absolute;
    bottom: 0;
}

.comments .card {
    width: 90%;
    position: relative;
}

.comments .new-comment>* {
    padding-top: 2px;
    padding-bottom: 2px;
}

.comments .new-comment input {
    width: 80%;
    font-size: 12px;
    padding-left: 5px;
    padding-right: 5px;
}

.comments .new-comment button {
    width: 20%;
}

.comments .icon {
    font-size: 16px;
}

.comments .card-body {
    padding: 5px;
}

.comments .show-all {
    padding: 0;
}

.comments .card-subtitle {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    padding: 2px 4px;
    color: #FFF;
    font-size: 12px;
    border-radius: 4px;
    top: 11px;
    left: 7px;
    border-radius: 3px;
}

.comments .card:hover .card-subtitle {
    display: block;
}

#tasks {
    font-size: 14px;
}

#tasks span.status {
    padding: 3px 5px;
    border-radius: 4px;
}

#taskform .reqornot {
    display: flex;
    justify-content: space-between;
}

.modal .scroll-comments li+li {
    margin-top: 10px;
}

.modal .scroll-comments .card {
    width: 90%;
}

.modal .card-subtitle {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    padding: 2px 4px;
    color: #FFF;
    font-size: 12px;
    border-radius: 4px;
    top: 11px;
    left: 7px;
    border-radius: 3px;
}

.modal .card:hover .card-subtitle {
    display: block;
}

.modal .card.bg-dark:hover .card-subtitle {
    background: rgba(255, 255, 255, 0.5);
}

.output {
    position: relative;
}

.output .scrollh {
    overflow-y: auto;
    position: absolute;
    top: 0;
    bottom: 0;
}

.output .scrollh.pull-left {
    left: 0;
}

.output .scrollh.pull-right {
    right: 0;
}

.ui-sortable-handle {
    cursor: -moz-grab;
    cursor: -webkit-grab;
    cursor: grab;
}

.ui-sortable-handle:hover {
    background: #EFEFEF;
}

.ui-sortable-handle.ui-sortable-helper {
    background: #EFEFEF;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
    cursor: grabbing;
}

.daily-schedule form button {
    position: fixed;
    border-radius: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0.5em 0;
}

.autocomplete-holder {
    position: relative;
}

.autocomplete-container {
    position: absolute;
    z-index: 1050;
    overflow: auto;
}

.autocomplete-container li:hover {
    background: #EEE;
}

.autocomplete-container li.active {
    background: #DDD;
    color: #000;
    border-color: #DDD;
}

.autocomplete-container li.list-group-item {
    cursor: pointer;
    padding-top: .20rem;
    padding-bottom: .20rem;
}

.notifications .radio-buttons label input.load-dtp {
    visibility: hidden;
}

.notifications .radio-buttons label input[type=radio]:checked~input.load-dtp {
    visibility: visible;
}

.schedule form[action=schedule] {
    white-space: nowrap;
}

.schedule form[action=schedule] input.load-dtp {
    display: inline-block;
    width: 50px;
}

.floating-new-tasks {
    padding: .7em 2em;
    font-size: 1.1em;
    position: absolute;
    top: 2%;
    left: 50%;
    margin-left: -75px;
    width: 150px;
    text-align: center;
    opacity: 1;
    cursor: pointer;
    animation: floating-new-tasks-anim 1s infinite;
    /* IE 10+, Fx 29+ */
}


.scrollbar {
    float: right;
    width: 100%;
    overflow-y: auto;
    margin-bottom: 25px;
    padding: 0 20px;
    border-left: 1px solid #c3c3c3;
}

.force-overflow {
    min-height: auto;
}

#style-1::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

#style-1::-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5F5;
}

#style-1::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #969998;
}

.add_photoinput {
    width: 100%;
    font-size: 20px;
    color: #2cc990;
    text-align: center;
}
.add_photoinput:before {
    font-size: 50px !important;
    margin-right:10px;
}

.add_photoinput_photos {
    margin-bottom: 10px;
    display: block;
    border: 1px solid;
    padding: 18px;
    text-align: center;
}

.photos_desc_input input {
    width: 100%;
}

.moreinputs label {
    width: 100%;
    text-align: center;
}

.moreinputs input {
    width: 100%;
}

.fontAwesome {
    font-family: 'Helvetica', FontAwesome, sans-serif;
}

.add_photo {
    cursor: pointer;
    -moz-box-shadow: 0px 10px 14px -7px #276873;
    box-shadow: 0px 7px 20px -7px #969696;
    -moz-border-radius: 8px;
    border-radius: 8px;
    display: inline-block;
    padding: 10px 20px;
}

.add_photo:hover {
    background: -o-linear-gradient(top, #408c99 5%, #599bb3 100%);
    background: -ms-linear-gradient(top, #408c99 5%, #599bb3 100%);
    background: linear-gradient(to bottom, #c3c3c3 5%, #ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#408c99', endColorstr='#599bb3', GradientType=0);
}

.bullelements span {
    font-weight: bold;
    font-size: 20px;
}

.remove_photoinput {
    -webkit-appearance: none;
}

.edit {
    display: block;
    cursor: pointer;
    position: relative;
    left: 100px;
}

.e-check-cont {
    width: 100%;
    border: 1px solid #007bff;
    padding: 20px;
}

.lbl-cam {
    width: 120px;
}

.lbl-cam img,
label {
    max-width: 100%;
}

.page-navigator {
    width: 100%;
    text-align: center;
    margin: 5px 0;
}

.page-nav {
    margin: 5px;
    line-height: 30px;
    border-radius: 4px;
    color: #007bff;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    padding: 0 15px;
    transition: all .5s cubic-bezier(0.4, 0, 1, 1);
}

.current-page {
    color: #000;
    background-color: #007bff;
}

.current-page:hover {
    text-decoration: none;
    color: #000 !important
}

.page-navigator a:not(.current-page):hover {
    color: #000;
    border-bottom: 2px solid #007bff;
    border-radius: 0px;
    text-decoration: none;
}

.checkstable .verticalmiddle {
    vertical-align: middle !important
}

/*progressbar*/
.progress-box {
    transition: .7s ease;
    border-radius: 30px;
}

.progress-box .bar {
    border-radius: 30px;
    position: relative;
    width: 100%;
    height: 7px;
    background-color: #d4d4d4;
}

.progress-box .bar-inner {
    position: relative;
    display: block;
    border-radius: 30px;
    width: 0%;
    height: 7px;
    background-color: rgb(32, 67, 48);
    -webkit-transition: all 1500ms ease;
    -ms-transition: all 1500ms ease;
    -o-transition: all 1500ms ease;
    -moz-transition: all 1500ms ease;
    transition: all 1500ms ease;
}

.progress-box .bar-inner.counted .count-text {
    opacity: 1;
}

.progress-box .count-text {
    position: absolute;
    text-align: center;
    right: 0px;
    bottom: -7px;
    line-height: 40px;
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    -webkit-transition: all 1000ms ease;
    -ms-transition: all 1000ms ease;
    -o-transition: all 1000ms ease;
    -moz-transition: all 1000ms ease;
    transition: all 1000ms ease;
}

.mob-menu {
    display: none
}

table.mobile tbody {
    border-bottom: solid black 2px;
}

table.mobile tr td:first-child {
    font-weight: bold;
}

#poll fieldset {
    box-shadow: #ccc 5px 10px 25px 1px;
    width: 500px;
    margin: 30px auto;
    padding: 8px 15px 15px 15px;
    border: 2px solid #989898;
    border-radius: 20px;
    display: block;
    text-align: center;
}

#poll legend {
    font-size: 19px;
    padding: 4px 6px 4px 6px;
    color: black;
    font-weight: 600;
}

#poll fieldset label {
    font-size: 25px;
    padding-left: 50px;
    color: black;
}

.toggle {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.toggle input {
    opacity: 0;
    cursor: pointer;
}

.checkphoto_label {
    background-color: indigo;
    color: white;
    padding: 0.5rem;
    font-family: sans-serif;
    border-radius: 0.3rem;
    cursor: pointer;
    margin-top: 1rem;
}

.checkmark {
    position: absolute;
    top: 20%;
    left: 15%;
    height: 25px;
    width: 25px;
    background-color: #cacaca;
    border-radius: 50%;
}

.toggle:hover input~.checkmark {
    background-color: #ccc;
}

.toggle input:checked~.checkmark {
    background-color: #2196F3;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.toggle input:checked~.checkmark:after {
    display: block;
}

.toggle .checkmark:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.short_content {
    white-space: nowrap;
    width: 200px;
    height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.radiocustom {
    padding: 0;
    font-size: inherit;
    width: 100%;
    margin-right: 70%;
}

.radioCheckmark {
    position: absolute;
    top: 15%;
    left: 100%;
    height: 20px;
    width: 20px;
    background-color: #cacaca;
    border-radius: 50%;
}

.radiocustom .radioCheckmark:after {
    top: 6px;
    left: 6px;
}

.regional_hover {
    cursor: pointer;
}

.regional_hover:hover {
    background-color: #eee;
}

.regional_hover:hover span {
    opacity: 1;
    visibility: visible;
    filter: alpha(opacity=100);
    top: 0;
    left: 120%;
    z-index: 99;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.regional_hover span {
    background: none repeat scroll 0 0 #eee;
    color: #2cc990;
    font-weight: 500;
    line-height: 1.5em;
    padding: 1rem;
    width: 240px;
    top: 0;
    left: 100%;
    margin-left: 0;
    visibility: hidden;
    opacity: 0;
    filter: alpha(opacity=0);
    position: absolute;
    z-index: 2;
    text-transform: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease-in-out;
    transition-delay: 200ms;
}

.regional_hover span:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-right: 13px solid #eee;
    left: -12px;
    top: 13px;
}

#divLoading {
    margin: 0px;
    display: none;
    padding: 0px;
    position: absolute;
    right: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    z-index: 30001;
    opacity: 0.8;
}

#loading {
    margin-top: -145px;
    margin-left: -220px;
    position: fixed;
    color: White;
    top: 50%;
    left: 50%;
}

.ths {
    background-color: #e9ecef;
    font-weight: 500;
}

.table {
    font-size: 14px;
}

.table-bordered td,
.table-bordered th {
    border: 1px solid #dee2e6;
    position: relative;
    vertical-align: middle;
    text-align: center;
}

.editableInput {
    font-size: 14px;
    width: 100%;
    display: inline;
    box-sizing: border-box;
}

.photoV {
    font-size: 20px;
    color: green;
    position: absolute;
    right: 15px;
    top: 42px;
    margin-top: -5px;
    cursor: pointer;
}

.photoX {
    font-size: 20px;
    color: rgb(151, 2, 2);
    position: absolute;
    right: 40px;
    top: 42px;
    margin-top: -5px;
    cursor: pointer;
}

.e-check .list-group .list-group-item {
    background-color: #f1f1f1 !important
}


.photocheck_comment {
    max-width: 80% !important;
    min-width: 80% !important
}

.photocheck_standart {
    max-width: 80% !important;
    min-width: 80% !important
}

.force-overflow label {
    margin: 5px;
    padding: 5px;
    line-height: 16px;
    width: 100%;
}

.force-overflow label input {
    vertical-align: middle;
}

.force-overflow label span {
    vertical-align: middle;
}

.historyfilter {
    margin-bottom: 1rem;
}

input[type=checkbox]:not(.is_required) {
    width: 30px;
    height: 20px;
}

#cboxOverlay {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #000;
    z-index: 1050;
    opacity: .5;
}

#colorbox {
    z-index: 9999;
}

#cboxPrevious {
    cursor: pointer;
    height: 100px;
    width: 40px;
    background-color: rgba(0, 0, 0, 0);
    position: absolute;
    left: 1px;
    top: 50%;
    margin-top: -50px;
    border: 0px;
    border-radius: 15px;
}

#cboxNext {
    cursor: pointer;
    width: 40px;
    height: 100px;
    background-color: rgba(0, 0, 0, 0);
    position: absolute;
    right: 1px;
    top: 50%;
    margin-top: -50px;
    border: 0px;
    border-radius: 15px;
}

#cboxClose {
    cursor: pointer;
    width: 35px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0);
    position: absolute;
    right: 1px;
    top: 0%;
    border: 0px;
    border-radius: 15px;
}

#cboxContent .fa-caret-left,
.fa-caret-right {
    font-size: 60px;
    color: #000;
}

#cboxContent .fa-times {
    font-size: 30px;
    color: #000;
}

.user_type_small {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    max-width: 100%;
    color: #b7b7b7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 5px;
}

input[name=ref_min_checktime]::-webkit-datetime-edit-ampm-field {
    display: none;
}

input[type=time]::-webkit-clear-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    -ms-appearance: none;
    appearance: none;
    margin: -10px;
}

header .nav>.nav-item>.nav-link {
    color: #007bff;
    padding: 1.5rem 1rem;
}

.nav-tabs .dropdown-menu {
    border-top: 0;
    background-color: #fff;
    background-clip: padding-box;
    border-bottom: 2px solid #f3f3f3;
    border-left: 2px solid #f3f3f3;
    border-radius: .25rem;
    border-right: 2px solid #f3f3f3;
    min-width: 100%;
    box-sizing: unset;
    margin-left: -2px;
}

header .nav {
    background: #f3f3f3;
}

.navbar-collapse.show {
    display: flex;
    align-items: flex-end;
}

.navbar-collapse ul {
    border: 0
}

.navbar-toggler-icon {
    font-size: 2.5rem !important
}

.navbar-toggler {
    outline: 0 !important
}

/* nav.navbar ul.nav a.btn.btn-outline-danger:hover {
    color: #000 !important;
} */

/* .nav-tabs .nav-item {
    margin-bottom: 0;
} */

/* .navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    background: #fff;
    border: 1px solid transparent;
} */

/* .navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
    color: rgba(0, 0, 0, .9);
    border: 1px solid transparent;
} */

#cboxPrevious:focus,
#cboxNext:focus,
#cboxClose:focus {
    outline: none;
    border: none;
}

.frame {
    width: 600px;
    height: 350px;
    margin: 250px auto 0;
    position: relative;
    background: #435d77;
    border-radius: 0 0 40px 40px;
}

#button_open_envelope {
    width: 180px;
    text-align: center;
    position: absolute;
    z-index: 311;
    top: 70%;
    left: 50%;
    margin-left: -90px;
    border-radius: 10px;
    color: #fff;
    font-size: 26px;
    border: 2px solid #fff;
    transition: .3s;
}

#button_open_envelope:hover {
    background: #FFf;
    color: #2b67cb;
    transform: scale(1.1);
    transition: background .25s, transform .5s, ease-in;
    cursor: pointer;
}

.message {
    position: relative;
    width: 90%;
    min-height: 300px;
    height: auto;
    background: #fff;
    margin: 0 auto;
    top: 10px;
    box-shadow: 0 0 5px 2px #333;
    transition: 2s ease-in-out;
    transition-delay: 1.5s;
    z-index: 300;
}

/*.form-inputs {
    margin: 10px;
    padding-bottom: 10px;
}*/
.frame .left,
.frame .right,
.frame .top {
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    z-index: 310;
}

.frame .left {
    border-left: 300px solid #337efc;
    border-top: 160px solid transparent;
    border-bottom: 160px solid transparent;
}

.frame .right {
    border-right: 300px solid #337efc;
    border-top: 160px solid transparent;
    border-bottom: 160px solid transparent;
    ;
    left: 300px;
}

.frame .top {
    border-right: 300px solid transparent;
    border-top: 200px solid #03A9F4;
    border-left: 300px solid transparent;
    transition: transform 1s, border 1s, ease-in-out;
    transform-origin: top;
    transform: rotateX(0deg);
    z-index: 500;
}

.frame .bottom {
    width: 600px;
    height: 190px;
    position: absolute;
    background: #2b67cb;
    top: 160px;
    border-radius: 0 0 30px 30px;
    z-index: 310;
}

.frame .open {
    transform-origin: top;
    transform: rotateX(180deg);
    transition: transform .7s, border .7s, z-index .7s ease-in-out;
    border-top: 200px solid #2c3e50;
    z-index: 200;
}

.frame .pull {
    -webkit-animation: message_animation 2s 1 ease-in-out;
    animation: message_animation 2s 1 ease-in-out;
    -webkit-animation-delay: .9s;
    animation-delay: .45s;
    transition: 1.5s;
    transition-delay: 1s;
    z-index: 350;
}

.frame #name,
#email,
#phone,
#company,
#count_regs,
#count_obj,
#email_send {
    margin: 3px 0 3px 0px;
    padding: 0 0 0 10px;
    width: 100%;
    height: 42px;
    float: left;
    display: block;
    font-size: 18px;
    color: #2b67cb;
    border: none;
    border-bottom: 1px solid #bdbdbd;
    font-family: cursive;
    letter-spacing: normal;
}

#email_send {
    border: none;
    cursor: pointer;
    background: #2c3e50;
    color: #fff;
    transition: .35s;
    letter-spacing: 3px;
}

.frame #email_send:hover {
    background: #337efc;
    transition: .35s;
}

*:focus {
    outline: none;
}

.frame input[type=number]::-webkit-inner-spin-button,
.frame input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.finished_filter {
    padding: 5px;
    cursor: pointer;
    display: inline-block;
    margin-right: 10px;
}

.finished_filter span {
    display: inline-block;
    vertical-align: middle;
}

.finished_filter input[type=checkbox] {
    display: none;
    vertical-align: middle;
    margin-right: 12px;
}

.invalid {
    border: 1px solid #dc3545 !important
}

.tab {
    display: none;
}


/* #prevBtn {
    background-color: #bbbbbb;
} */

.step {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #2cc990;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
}

.step.active {
    opacity: 1;
}

.step.finish {
    background-color: #bbbbbb;
}

.h-obj {
    position: relative;
    text-align: left;
}

#showtaskobjects {
    background-color: transparent;
    color: #17a2b8;
    text-align: center;
    width: 50%;
    transition: all 0.5s;
    cursor: pointer;
    margin: 20px auto;
}

#showtaskobjects {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

#showtaskobjects:after {
    content: '»';
    position: absolute;
    opacity: 0;
    top: 5px;
    right: 0px;
    transition: 0.5s;
}

#showtaskobjects:hover {
    padding-right: 24px;
    padding-left: 8px;
}

#showtaskobjects:hover+#hoverable {
    display: block;
}

#showtaskobjects:hover:after {
    opacity: 1;
    right: 10px;
}

#hoverable {
    display: none;
    position: absolute;
    top: 0%;
    right: 0;
    background: rgb(242, 242, 242);
    border: 2px solid rgb(0, 121, 140);
    padding: 10px;
    border-radius: 5px;
    z-index: 1;
    text-align: center;
    vertical-align: middle;
    width: 40%;
}

#hoverable:before {
    content: '';
    position: absolute;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid rgb(0, 121, 140);
    left: -10px;
    top: 25px;
}

#hoverable p {
    margin: 10px 0;
}



.alertoverlay {
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */
.alert-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
    position: relative;
}

.alert-header {
    text-align: center;
}

#customalert {
    font-size: 20px;
    text-align: center;
    border-bottom: 1px solid #ccc;
}

.alert-button1 {
    float: left;
    width: 25%;
}

.alert-button2 {
    float: right;
    width: 25%;
}

/* The Close Button */
.close-alert {
    position: absolute;
    right: 5px;
    font-size: 23px;
    top: 5px;
    color: #505356;
}

.close-alert:hover,
.close-alert:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.alerticon {
    font-size: 100px;
    width: 100%;
    text-align: center;
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

[type="radio"]:checked+label,
[type="radio"]:not(:checked)+label {
    position: relative;
    font-weight: normal;
    padding: 0 0 0 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
}

[type="radio"]:checked+label:before,
[type="radio"]:not(:checked)+label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #d2d2d2;
    border-radius: 100%;
    background: #fff;
}

[type="radio"]:checked+label:after,
[type="radio"]:not(:checked)+label:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #2cc990;
    position: absolute;
    top: 4px;
    left: 4px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

[type="radio"]:not(:checked)+label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

[type="radio"]:checked+label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}



input[type="checkbox"] {
    display: none;
}

input[type="checkbox"]+label {
    display: block;
    position: relative;
    padding-left: 35px;
    font-weight: normal !important;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

input[type="checkbox"]+label:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid #2cc990;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -10px;
    -webkit-transition: all .12s, border-color .08s;
    transition: all .12s, border-color .08s;
}

input[type="checkbox"]:checked+label:before {
    width: 10px;
    left: 5px;
    border-radius: 0;
    border: 2px solid #2cc990;
    opacity: 1;
    border-top-color: transparent;
    border-left-color: transparent;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

@-webkit-keyframes message_animation {
    0% {
        transform: translatey(0px);
        z-index: 300;
        transition: 1s ease-in-out;
    }

    50% {
        transform: translatey(-340px);
        z-index: 300;
        transition: 1s ease-in-out;
    }

    51% {
        transform: translatey(-340px);
        z-index: 350;
        transition: 1s ease-in-out;
    }

    100% {
        transform: translatey(0px);
        z-index: 350;
        transition: 1s ease-in-out;
    }
}

@keyframes message_animation {
    0% {
        transform: translatey(0px);
        z-index: 300;
        transition: 1s ease-in-out;
    }

    50% {
        transform: translatey(-340px);
        z-index: 300;
        transition: 1s ease-in-out;
    }

    51% {
        transform: translatey(-340px);
        z-index: 350;
        transition: 1s ease-in-out;
    }

    100% {
        transform: translatey(0px);
        z-index: 350;
        transition: 1s ease-in-out;
    }
}


.container-fluid hr:first-of-type,
main hr:first-of-type {
    visibility: hidden;
}

.modalwidth60 {
    max-width: 60%;
}

.modalwidth80 {
    max-width: 80%;
}

.ref_description {
    background: #f3f3f3;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: left;
}

.print-check {
    position: absolute;
    right: 0;
    margin-right: 3rem;
}

.history_check_preview .row.info .task {
    display: none;
}

form.filters .filter .input-group {
    margin-left: 10px;
}

.history_view_label {
    font-weight: bold;
    text-align: left;
    margin: auto;
    font-size: 20px;
}

/*step-bar*/
.step-bar {
    counter-reset: step;
    width: 100%;
    margin: 0 auto 30px;
    justify-content: space-between;
    display: flex;
    position: relative;
    padding: 0;
}

.step-bar:before {
    top: 22px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 1px;
    background-color: #4a4c4e;
}

.step-bar li {
    cursor: pointer;
    list-style-type: none;
    color: black;
    text-transform: uppercase;
    font-size: 30px;
    text-align: center;
    position: relative;
    /* border: 1px solid #2cc990; */
    border-radius: 3px;
    padding: 0 1rem;
    color: #4a4c4e;
    background: #fff;
}

.step-bar li.active {
    color: #2cc990;
}

.step-bar li:before {
    content: counter(step);
    counter-increment: step;
    width: 20px;
    display: block;
    font-size: 14px;
    color: #4a4c4e;
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.step-bar li:after {
    content: '';
    width: 50%;
    height: 1px;
    background: #cbcbcb;
    position: absolute;
    left: -50%;
    top: 50%;
    z-index: -1;
}

.step-bar li:first-child:after {
    content: none;
}

.step-bar li.active:before,
.step-bar li.active:after {
    color: #2cc990;
}

.main-sidebar .user-info {
    display: none;
}

.callout.callout-success {
    background-color: #8EC31F !important;
}

.callout.callout-danger {
    background-color: #dd4b39 !important;
}

.callout.callout-info {
    background-color: #00c0ef !important;
}

.callout.callout-warning {
    background-color: #FF9900 !important;
}

.callout.callout-success h5,
.callout.callout-danger h5,
.callout.callout-info h5,
.callout.callout-warning h5 {
    color: #fff;
    margin: 0;
}


.box {
    position: relative;
    border-radius: 3px;
    background: #ffffff;
    border-top: 3px solid #d2d6de;
    margin-bottom: 20px;
    width: 100%;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
}

.box.box-primary {
    border-top-color: #2cc990;
}

.box.box-success {
    border-top-color: #8EC31F;
}

.box.box-danger {
    border-top-color: #dd4b39;
}

.box.box-info {
    border-top-color: #00c0ef;
}

.taskform-holder form {
    padding: 2rem;
}

.uk-container> :last-child {
    margin-bottom: 0;
}

.uk-margin-large-top {
    margin-top: 40px !important;
}

.uk-list {
    padding: 0;
    list-style: none;
}

.uk-list>li::before,
.uk-list>li::after {
    content: "";
    display: table;
}

.uk-list>li::after {
    clear: both;
}

.timeline:before {
    width: 0;
}

.objectlabel, .photolabel, .questionlabel {
    border: 1px solid #e6e6e6;
    border-right: 10px solid #e6e6e6;
    margin: 10px 0;
}

.task_name-wrapper {
    position: relative;
}

.task_name-wrapper .fas {
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -8px;
}

@media screen and (max-width: 990px) {

    .main-header .user-info {
        display: none;
    }

    .main-sidebar .user-info {
        display: block;
    }
    
    .alert-content {
        width: 90%;
    }
}

@media screen and (max-width: 700px) and (min-width: 320px) {
    .modalwidth60 {
        max-width: 100%;
    }

    .modalwidth80 {
        max-width: 100%;
    }

    .login-body {
        max-width: 90%;
    }

    #cboxPrevious {
        width: 50px;
        height: 50px;
        position: absolute;
        left: 1px;
        top: 50%;
        margin-top: -25px;
    }

    #cboxNext {
        width: 50px;
        height: 50px;
        position: absolute;
        right: 1px;
        top: 50%;
        margin-top: -25px;
    }

    #cboxClose {
        width: 50px;
        height: 50px;
        position: absolute;
        right: 1px;
        top: 0%;
    }

    #cboxContent .fa-caret-left,
    .fa-caret-right {
        font-size: 45px;
        color: #fff;
    }

    #cboxContent .fa-times {
        font-size: 20px;
        color: #fff;
    }

    form.filters .filter .input-group:last-of-type {
        margin-top: 10px;
    }

    form.filters .filter .input-group {
        margin-left: 0;
    }
}

@media only screen and (max-width: 700px) {

    .frame {
        width: 300px;
        height: 150px;
        margin: 150px auto 0px;
        background: #435d77;
        border-radius: 0 0 40px 40px;
    }

    .frame .bottom {
        width: 300px;
        height: 150px;
        position: absolute;
        background: #2b67cb;
        top: 0;
        border-radius: 0 0 30px 30px;
        z-index: 310;
    }

    .frame .top {
        border-right: 150px solid transparent;
        border-top: 100px solid #03A9F4;
        border-left: 150px solid transparent;
    }

    .frame .left {
        border-left: 150px solid #337efc;
        border-top: 40px solid transparent;
        border-bottom: 80px solid transparent;
    }

    .frame .right {
        border-right: 150px solid #337efc;
        border-top: 40px solid transparent;
        border-bottom: 80px solid transparent;
        left: 150px;
    }

    #button_open_envelope {
        font-size: 15px;
    }

    .message {
        display: none;
    }
}

@media screen and (max-width: 1024px) and (min-width: 700px) {

    #cboxPrevious {
        position: absolute;
        left: 1px;
        top: 50%;
    }

    #cboxNext {
        position: absolute;
        right: 1px;
        top: 50%;
    }

    #cboxClose {
        position: absolute;
        right: 0px;
        top: 0;
    }

    #cboxContent .fa-caret-left,
    .fa-caret-right {
        font-size: 55px;
        color: #000;
    }

    #cboxContent .fa-times {
        font-size: 30px;
        color: #000;
    }
}

@media screen and (max-width: 2000px) and (min-width: 1024px) {
    header:before {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background: #DDD;
        position: absolute;
        z-index: -1;
        top: 73px;
        left: 0;
    }

    .timeline {
        box-sizing: border-box;
        position: relative;
    }

    .timeline:before {
        content: '';
        position: absolute;
        top: 0;
        left: calc(25% - 2px);
        bottom: 0;
        width: 3px;
    }

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

    .timeline-entry {
        clear: both;
        text-align: left;
        position: relative;
    }

    .timeline-entry .timeline-time {
        padding-top: 1px;
        float: left;
        width: 25%;
        padding-right: 35px;
        text-align: right;
        position: relative;
    }

    .timeline-entry .timeline-time h5 {
        margin-top: -5px;
    }

    .timeline-entry .timeline-time:before {
        content: '';
        position: absolute;
        width: 15px;
        height: 15px;
        border: 3px solid #2cc990;
        background-color: #fff;
        border-radius: 100%;
        top: 0;
        right: -10px;
        z-index: 99;
    }

    .timeline-entry .timeline-body {
        float: right;
        width: 75%;
        margin-bottom: 50px;
        padding-left: 70px;
        margin-top: -10px;
    }

    .timeline-entry:last-of-type .timeline-body {
        margin-bottom: 0;
    }
}

@media print {

    body>*,
    main.wrp,
    .print-check,
    .modal-footer,
    .modal-header,
    .modal-footer,
    .history_check_preview .row.pics a.mClick,
    .history_check_preview .row.info hr {
        display: none !important;
    }

    #modal,
    .history_check_preview .row,
    .history_check_preview .row.info .task {
        display: block !important;
    }

    .history_view_label {
        margin: 20px 0;
    }

    .modal-content {
        border: 0;
    }

    .modal {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
        padding: 0;
        min-height: 550px;
        visibility: visible;
        overflow: visible !important;
    }

    .modal-dialog {
        visibility: visible !important;
        overflow: visible !important;
    }
}