body {
    overflow-x: hidden;
}

.small-gutters {
    margin-right: -8px !important;
    margin-left: -8px !important;
}

.small-gutters>[class*="col-"] {
    padding-right: 8px !important;
    padding-left: 8px !important;
}

@media (max-width: 991px) {
    .row.small-gutters {
        padding-left: -15px;
        padding-right: -15px;
    }

    .small-gutters>[class*="col-"] {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }
}

.datafilters {
    display: flex;
}

.datafilters>* {
    margin-bottom: 0px;
    padding: 2px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    margin-top: 5px;
}

.datafilters input[type="text"],
.datafilters input[type="password"],
.datafilters select,
.datafilters textarea {
    width: 160px !important;
    padding: 2px 12px;
}

.datafilters select {
    width: auto !important;
    max-width: 150px !important;
}

.datafilters input[type=submit] {
    background-color: #666;
    color: #fff;
    cursor: pointer;
    border-radius: 15px;
    padding: 0px;
    margin: 0px 0px 0px 10px;
}

.datafilters input[type=submit]:hover {
    background-color: #9d81ea !important;
}

.datafilters .nice-select.wide {
    display: inline-block !important;
    width: auto;
    float: none;
    height: 30px;
    line-height: 30px;
    ;
    vertical-align: bottom;
    margin-bottom: 0px;
}

.form {
    border: 1px solid #ccc;
    padding: 20px;
    text-align: left;
    font-size: 14px;
}

.form.no-border {
    border: none !important
}

.form.no-padding {
    padding: 0px !important
}

.form input[type="text"],
.form input[type="email"],
.form input[type="password"],
.form select,
.form textarea {
    width: 100%;
    border: 1px solid #ccc;
    margin-bottom: 6px;
    padding: 7px 12px;
    border-radius: 25px;
    font-size: 12px;
    vertical-align: middle;
}

.form input[type="text"].line {
    border-radius: 0;
    padding: 2px 7px;
    border-top: none;
    border-left: none;
    border-right: none;
}

.form .token-input-list {
    margin-bottom: 30px;
}

.form textarea.line {
    border-radius: 0;
    padding: 2px 7px;
    border-top: none;
    border-left: none;
    border-right: none;
}

.form input.integer {
    text-align: right;
}

.form textarea {
    border-radius: 12px;
    height: 60px;
    ;
}

.form select {
    border-radius: 25px 0px 0px 25px;
}

.form input[type=submit],
.form input[type=button] {
    border: none;
    margin: 3px 0px 7px 0px;
    vertical-align: middle;
    padding: 2px 10px 4px 10px;
    background-color: #666;
    color: #fff;
    cursor: pointer;
    background-color: #736bdf;
}

.form input[type=submit]:hover,
.form input[type=button]:hover {
    background-color: #9d81ea;
}

.form input[type="checkbox"],
.form input[type="radio"],
.checkboxReadOnly {
    margin: 4px 4px 6px 0px !important;
    cursor: pointer;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid blueviolet !important;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    clear: none;
    cursor: pointer;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.form.printable input[type="checkbox"],
.printable.checkboxReadOnly {
    -moz-appearance: checkbox;
    -webkit-appearance: checkbox;
}

.form.printable input[type="radio"] {
    -moz-appearance: radio;
    -webkit-appearance: radio;
}

.form input[type="checkbox"]:checked:before,
.form input[type="radio"]:checked:before,
.checkboxReadOnly.checked:before {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    color: #ffffff !important;
    background-color: #555;
    content: "";
    border: 2px solid #fff;
}

.form input[type="checkbox"],
.form input[type="checkbox"]:checked:before,
.checkboxReadOnly,
.checkboxReadOnly.checked,
.checkboxReadOnly.checked:before {
    border-radius: 0px !important;
    padding: 0px !important;
}

.form .input-file-preview {
    width: 120px;
    height: 120px;
    background-size: cover;
    background-position: 50% 50%;
    /*display: block;*/
    margin: 10px 0px;
    border: 5px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form .input-file {
    display: none;
}

.form .file-label {
    cursor: pointer;
    border: 2px solid #003366;
    margin: 0px 0px 20px 0px !important;
    vertical-align: middle;
    padding: 5px 10px;
    color: #000;
    background-color: transparent;
    font-weight: 500;
}

.form .signature-area {
    overflow: hidden;
}

.form .signature-area .reset-button,
.form .signature-area .edit-button {
    border: none;
    margin: -5px 0px 15px 5px;
    padding: 2px 10px 4px 10px;
    background-color: #666;
    color: #fff;
    cursor: pointer;
    background-color: #333;
    font-size: 12px;
    display: inline-block;
}

.form .signature-area textarea {
    display: none;
}

input[disabled],
input[readonly],
select[disabled],
textarea[readonly] {
    background-color: #eee !important;
}

input[readonly].datepicker,
input.datetimepicker {
    background-color: #fff !important;
}

.form label {
    margin-right: 10px;
}

.form label:not(.input-label) {
    font-size: 12px;
    margin: 4px 0px 2px 10px;
    display: block;
    font-weight: bold;
    color: #555;
}

.form label.input-label {
    margin-left: 12px;
    display: inline-block;
    cursor: pointer;
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 20px;
}

form label.input-label.push_down {
    margin-bottom: 5px;
}

.form label.input-label.input-label-more-content {
    font-weight: bold;
}

.form label.input-label.input-label-more-content:after {
    content: ' \00bb';
}

.form .subcontainer {
    padding: 0px 30px 10px 30px;
    display: none;
}

.form .small-print {
    font-size: 11px;
    padding: 0px 30px 10px 30px;
}

.formError {
    font-size: 13px;
    color: red;
    padding: 7px 22px;
    text-align: left;
    border: 1px solid red;
    margin: 47px 0px;
    font-weight: 400;
}

.formSuccess {
    font-size: 13px;
    color: green;
    padding: 7px 22px;
    text-align: left;
    border: 1px solid green;
    margin: 47px 0px;
    font-weight: 400;
}
.whole-site-wrapper .formSuccess {
    font-size: 13px;
    color: white;
    padding: 7px 22px;
    text-align: center;
    border: 1px solid white;
    margin: 47px 0px;
    font-weight: 400;
}
label.error {
    color: red !important;
    margin: -33px 0px -13px 0px !important;
    display: inline-block !important;
    position: absolute;
    left: 15px;
    bottom: 24px;
    font-weight: 400 !important;
}

.input-label label.error {
    color: red !important;
    margin: -33px 0px -13px 0px !important;
    display: inline-block !important;
    position: absolute;
    left: 21px;
    bottom: 20px;
    font-weight: 400 !important;
}

.formOk {
    font-size: 13px;
    color: #36951c;
    padding: 20px 10px;
    text-align: left;
}

table.datatable {
    width: 100%;
    border-radius: 5px;
    display: block;
    overflow-x: auto;
}

table.datatable a {
    color: #353535;
}

table.datatable a:hover {
    color: #003366;
}

table.datatable tr:nth-child(odd) {
    background-color: #f1f5f8;
}

table.datatable.double-row tr {
    background-color: #fff;
}

table.datatable.double-row tr:nth-child(4n) {
    background-color: #f1f5f8;
}

table.datatable.double-row tr:nth-child(4n+1) {
    background-color: #f1f5f8;
}

table.datatable td {
    text-align: left;
    font-size: 13px;
    padding: 8px 10px;
}

table.datatable tr.disabled td, table.datatable tr.disabled td * {
    color: #ccc
}

table.datatable th.short, table.datatable tr:nth-child(1) td.short {
    width: 1%
}

table.datatable tr td:nth-child(1) {
    width: 60px;
    text-align: center !important;
}

table.datatable .center {
    text-align: center;
}

table.datatable th, table.datatable tr:nth-child(1) td {
    background-color: #e5eaee;
    text-align: left;
    padding: 8px 10px;
    font-size: 15px;
    margin: 4px 0px 2px 10px;
    font-weight: 700;
    color: #000
}

table.datatable tr.entity-disable td,
table.datatable tr.entity-disable td a {
    color: red;
}

table.datatable.with-actions td:not(.left):last-child {
    text-align: right;
    width: 1%;
    white-space: nowrap;
}

table th.column-order, table td.column-order {
    cursor: pointer;
}

table th i.icon-sort, table td i.icon-sort {
    color: #aaa !important;
}

.dataorderby {
    display: none;
}

.paginator {
    text-align: right;
    padding: 5px 0px;
}

.paginator .page {
    border-radius: 4px;
    background-color: #aaa;
    color: #fff;
    padding: 2px 8px;
    font-size: 12px;
    margin-left: 3px;
    display: inline-block;
    cursor: pointer;
}

.paginator .page.active {
    background-color: #9d81ea;
}

.paginator .page:hover {
    background-color: #9d81ea;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.text-center {
    text-align: center !important;
}

form .tox-tinymce {
    margin-bottom: 30px;
}

input[type="button"] {
    outline: none !important;
    box-shadow: none !important;
}

button:focus {
    outline: none;
}


.extension-gmap-input, .extension-gmap-map {
    height: 500px
}

/************** WYSIWYG ******************/

div.readony_html {
    background-color: #eee !important;
    border: 1px solid #ccc;
    margin-bottom: 6px;
    padding: 7px 12px;
    border-radius: 12px;
    font-size: 12px;
    vertical-align: middle;
}

.app-modal .modal-dialog {
    width: calc(100vw - 60px);
    max-width: calc(100vw - 60px);
}

.app-modal.small .modal-dialog {
    width: 300px;
}

.app-modal .modal-content {
    height: calc(100vh - 60px);
    max-height: calc(100vh - 60px);
}

.app-modal .modal-content {
    height: auto;
}

.app-modal .modal-body {
    max-height: calc(100vh - 125px);
    text-align: right;
    overflow: auto;
}

.app-modal.small .modal-body {
    height: auto
}

.app-modal .btn.btn-default {
    background-color: #f0f0f0;
    background-image: none;
    background-position: 0 0;
    background-repeat: repeat;
    border-color: #f0f0f0;
    border-radius: 3px;
    border-style: solid;
    border-width: 1px;
    box-shadow: none;
    color: #222f3e;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: normal;
    outline: 0;
    padding: 4px 16px;
    text-decoration: none;
    text-transform: capitalize;
}

.app-modal .searchbox {
    max-width: 300px;
}

.app-modal .search {
    border: none;
    margin: 3px 0px 7px 20px;
    vertical-align: middle;
    padding: 2px 10px 4px 10px;
    background-color: #666;
    color: #fff;
    cursor: pointer;
    background-color: #736bdf;
}

.app-modal .search:hover {
    background-color: #9d81ea;
}

.app-modal .gallery {
    margin: 20px
}

.app-modal .gallery>div {
    background-color: #eee;
    ;
    margin: 10px;
    padding: 10px;
    width: 200px;
    text-align: left;
    cursor: pointer;
}

.app-modal .gallery>div .img {
    height: 100px;
    background-size: cover;
    background-position: 50% 50%;
}

.app-modal .gallery>div .img.file {
    height: 100px;
    background-size: cover;
    background-position: 50% 50%;
    background-image: none;
}

.app-modal .gallery>div .txt {
    min-height: 60px;
    padding-top: 10px;
    font-weight: 700;
}

.app-modal .gallery>div .txt span {
    font-size: 11px;
    font-weight: 500;
    line-height: 13px;
    display: block;
}

/****** SORTABLE **********/

.input-sort ul {
    list-style-type: none;
    margin: 0;
    border: 1px dashed #ccc;
    padding: 10px;
}

.input-sort ul li {
    cursor: pointer;
    padding: 7px 10px;
    border: 1px solid #ccc;
    margin: 5px 0px;
    border-radius: 0px;
    font-size: 12px;
    background-color: #fff;
    position: relative;
}

.input-sort ul li span.delete {
    height: 10px;
    width: 10px;
    position: absolute;
    top: 12px;
    right: 10px;
}

.input-sort ul li span.delete::before {
    content: '\e807';
    font-family: 'fontello';
    margin-top: -2px;
    font-size: 14px;
    position: absolute;
    line-height: 11px;
}

.input-sort ul .highlight {
    background-color: #eee;
}

.input-sort ul .highlight::before {
    content: " ";
    width: 0px;
    white-space: pre;
}

.input-sort .sortable-add-box {
    display: flex;
    padding-top: 20px;
    border-top: 1px solid #ccc;
    margin-top: 20px;
}

.input-sort .sortable-add-box>div:nth-child(1) {
    flex-grow: 1;
}

.input-sort .sortable-add-box .add-button {
    border: none;
    margin: 9px 0px 7px 10px;
    vertical-align: middle;
    /* padding: 2px 10px 4px 10px; */
    background-color: #666;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    display: inline-block;
    height: 28px;
    width: 28px;
    text-align: center;
    line-height: 28px;
}

.input-sort .sortable-add-box .add-button:hover {
    background-color: #003366;
}

/************** WEB ******************/

.loginpage .login {
    margin: 40px auto;
    text-align: center;
}

/************** NICE SELECT ******************/

.nice-select {
    border-radius: 0px !important;
    border: solid 2px blueviolet !important;
    margin-bottom: 30px;
    border-radius: 5px !important;
}

.nice-select .current {
    max-width: 100%;
    display: inline-block;
    overflow: hidden;
}

.nice-select .list {
    max-height: 200px;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: solid 1px #ccc !important;
    border-radius: 0px !important;
    width: min-content;
}


.nice-select:after {
    border-bottom: 2px solid blueviolet !important;
    border-right: 2px solid blueviolet !important;
}

form .adjust-prices label {
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px !important;
    display: block;
    font-size: 14px !important;
}

form .adjust-prices {
    padding: 10px;
    border: 1px solid #fff;
    margin: 10px 0px 20px 0px;

}

form .adjust-prices .value {
    width: 100px !important;
    text-align: right;
    padding: 5px !important;
    display: inline-block;
    margin-bottom: 0px !important;
    margin-right: 2px !important;
}

form .adjust-prices .col-md-6 {
    text-align: center;
}

form .adjust-prices .col-md-6>* {
    vertical-align: middle;
}