body {
    overflow-x: hidden;
}

.cke_button__maximize {
    float: right !important;
}

/* ##########DATATABLES STYLES########### */
.dataTables_filter {
    float: right !important;
    width: auto !important;
}

.dataTables_wrapper > .dataTables_filter {
    display: none !important;
}

div.dataTables_paginate {
    text-align: right;
    padding-top: 12px;
    float: none;
}

div.dataTables_info {
    float: left;
    margin-top: 12px;
}

/* ##########SELECT2 STYLES########### */

.select2-container--menuSearch .select2-dropdown {
    animation: GoUp 0.6s ease forwards;

}

.select2-results__option[aria-selected=true] {
    display: none;
}

.select2-selection--single {
    position: relative !important;
}

.select2-selection__clear {
    cursor: pointer !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    font-size: 3rem !important;
    right: 38px !important;
    font-weight: bold !important;
    color: #ff0911 !important;
}

.select2-selection__clear:hover {
    color: #990B13 !important;
}

/* ##########ANIMATIONS########### */
@keyframes GoUp {
    0% {
        opacity: 0;
        top: 100%
    }
    100% {
        opacity: 1;
        top: -25px;
    }

}

@keyframes FadeIn {
    0% {
        visibility: hidden;
        opacity: 0;

    }
    100% {
        visibility: visible;
        opacity: 1;
    }

}

/* ############# Main Elements */
.menu-on-top .menu-item-parent {
    max-width: none !important;
}

#menu .select2 {
    margin-top: 10px;
    width: 230px !important;
}

@media (max-width: 600px) {
    #menu .select2 {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    #edtp-logo a {
        display: none;
    }
}

#menu .select2-selection--single {
    animation: FadeIn 1s ease alternate;
}

#searchBar {
    display: none;
}

#impersonate {
    display: none;
}

#menu .select2-selection__arrow b:before {
    content: "\f002" !important;
}

.disabled {
    cursor: not-allowed;
    background-color: #eee;
    opacity: 1;
    color: #204149;
}

#jcropImage {
    max-width: 600px;
    margin-top: 15px;
}

.required.control-label:after {
    content: "*";
    color: red;
}

input::-webkit-calendar-picker-indicator {
    display: none;
}

input[type="date"]::-webkit-input-placeholder {
    visibility: hidden !important;
}

.badge-danger {
    background-color: #a90329;
    border-color: #900323;
}

.badge-danger:hover {
    background-color: #b94a48;
}

.dataTable {
    min-width: 600px;
}

.dataTables_wrapper {
    overflow-x: auto;
}

.knp-right-menu-fix ul {
    right: 0px;
}

.admin-logo-group {
    width:322px !important;
}

#edtp-logo {
    float: right !important;
    margin-top:13px;
}

#edtp-logo img {
    width:48px;
    height: 15px;
}
/* ##########ACCEPTANCE MENU########### */

.menu-on-top nav ul ul li:hover > a:after,
.menu-on-top nav > ul ul > li a:after,
.menu-on-top nav > ul ul > li a:hover:after,
.menu-on-top nav > ul > li > a:after {
    content: "" !important;
}

.badge-acceptance {
    position: absolute;
    right: 10px;
    top: 7px;
}

.dt-button-collection.dropdown-menu {
    overflow-y: auto !important;
    max-height: 258px !important;
}

.dataTables_wrapper.form-inline.dt-bootstrap {
    overflow-y: hidden !important;
}

.ui-datepicker.ui-widget.ui-widget-content {
    z-index: 99999 !important;
}

/* ##########ORDER EDIT########### */
.order-form .help-block {
    color: red;
}

.order-form .prescription .qty {
    width: 10%;
}

.order-form .prescription .product .delete {
    width: 6%;
    float: right;
}

.order-form .prescription .actions {
    text-align: right;
}

/* fix for select2 */
.fix-select2-required-notification {
    width: 0px !important;
    height: 28px !important;
    display: block !important;
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* colorize elements line on table */
.clRows:nth-child(even) {
    background-color: #f9f9f9;
}

.clRows:hover {
    background-color: #fffff0;
}

/* styles for order lines */
.orderLineProduct, .orderLineTextInputShort, .orderLineTextInput, .orderLineText, .orderLineText8, .orderLineButton {
    position: relative;
    min-height: 1px;
    padding-left: 13px;
    padding-right: 13px;
    float: left;
}

.orderLineProduct {
    min-width: 450px;
    width: 42%;
}

.orderLineTextInputShort {
    min-width: 50px;
    width: 5%;
}

.orderLineTextInput {
    min-width: 50px;
    width: 7.4%;
}

.orderLineText {
    min-width: 35px;
    width: 7.2%;
}

.orderLineText8 {
    margin-top: 8px;
    min-width: 35px;
    width: 7.2%;
}

.orderLineButton {
    min-width: 35px;
    width: 4%;
}

.linePaddingBorder {
    padding: 4px 0 4px 0;
    border-bottom: 1px solid #dddddd;
}

/* ##########QUIZ EDIT########### */

.quiz-form .question .actions {
    text-align: right;
}

.quiz-form .question .answer .num {
    text-align: center;
    margin-top: 6px;
    font-weight: bold;
    font-size: 14px;
}

.quiz-form .question .answer .delete {
    text-align: right;
}

.quiz-form .toolbar {
    text-align: center;
}

/* ########## ARTICLE CATEGORY FORM ########### */

.article-category-form .in-menu{
    float: left;
}

/* for EDTPAdmin/UserBundle/acl */

.acl-div {
    height: 500px;
    overflow: auto;
    display: flex;
    align-items: flex-start;
    border: 1px solid #e9e9e9;
}

.acl-headrow0, .acl-headrow, .acl-headrow2 {
    position: -webkit-sticky;
    position: sticky;
    padding-left: 3px;
    padding-right: 3px;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 30px;
}

.acl-headrow0 {
    background-color: #fffff5;
    z-index: 100;
    left: 0;
    top: 0;
    box-shadow: inset 0 -1px 0 #e9e9e9;
}

.acl-headrow {
    background-color: #f5ffff;
    z-index: 10;
    top: 0;
    box-shadow: inset 1px 0 0 #e9e9e9,
    inset 0 -1px 0 #e9e9e9;
}

.acl-headrow2 {
    background-color: #f5ffff;
    z-index: 10;
    box-shadow: inset 1px 0 0 #e9e9e9,
    inset 0 -1px 0 #e9e9e9;
}

.acl-headcol {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    background-color: #fffff5;
    padding-left: 3px;
    padding-right: 3px;
    box-shadow: inset 0 -1px 0 #e9e9e9;
}

.acl-long {
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 37px;
    padding-left: 3px;
    padding-right: 3px;
    box-shadow: inset 1px 0 0 #e9e9e9,
    inset 0 -1px 0 #e9e9e9;
}

.aclRoleActive, .aclRolePassive {
    background-repeat: no-repeat;
    background-position: center;
}

.aclRoleActive {
    background-image: url('../img/ok-32.png');
}

.aclRolePassive {
    background-color: #ffffff;
}

.aclSave {
    width: 60%;
}

.roleRow:hover td {
    background-color: #fcfcfc !important;
}

.roleRow:hover td:hover {
    background-color: #f1f1f1 !important;
}

tbody td.vhover {
    background-color: #fff9f9 !important;
}

/* ##########PAYER EDIT########### */
.save-and-create {
    float: right;
}

.productEntrySelected {
    background-color: #ccffcc !important;
}

.products-exceeded {
    background-color: #ffdddd !important;
}

.products-exceeded .exceeded {
    font-weight: bold;
}

@media only screen and (min-width: 1200px) {
    #notes-container {
        position: fixed;
        right: 3%;
        top: 170px;
    }
}
/* ##########TABS (overwritten by smartadmin WTF)########### */

.jarviswidget-color-pink .nav-tabs li:not(.active) a {
    color: #3276b1!important;
}

input[type="checkbox"][readonly] {
    pointer-events: none;
}

.btn-export {
    margin-left: 7px;
}
.btn-export.processing {
    background-image: url("../img/bars.svg");
    background-repeat: no-repeat;
    background-position: left;
    margin-left: 7px;
    padding-left: 40px;
}

.extranet_package_related_product {
    padding-top: 2px;
    position: relative;
    float: left;
    padding-left: 10px;
    padding-right: 10px;
    min-width: 550px;
    width: 70%;
}

.extranet_package_form_related_product, .extranet_package_form_count, .extranet_package_form_discount, .extranet_package_form_action {
    padding-top: 2px;
    position: relative;
    float: left;
    padding-left: 10px;
    padding-right: 10px;
    min-width: 550px;
    width: 70%;
}

.extranet_package_form_related_product {
    min-width: 550px;
    width: 70%;
}

.extranet_package_form_count {
    min-width: 95px;
    width: 11%;
}

.extranet_package_form_discount {
    min-width: 45px;
    width: 11%;
}

.extranet_package_form_action {
    min-width: 45px;
    width: 8%;
}
