td, th {
    vertical-align: middle !important;
}

td a {
    display: block;
}

.select2-search--inline .select2-search__field:focus {
    border: none;
}

body.modal-open .wrapper{
    -webkit-filter: blur(1px);
    -moz-filter: blur(1px);
    -o-filter: blur(1px);
    -ms-filter: blur(1px);
    filter: blur(1px);
}
/* .modal-backdrop {
    background: none;
} */
.bootstrap-datetimepicker-widget {
    box-shadow: 1px 1px 20px rgba(0, 0, 0, .25);
}
.remove-item{
    float: none;
    line-height: normal;
}
.fa {
    padding-right: 4px;
}
.fileinput-button {
    position: relative;
    overflow: hidden;
}

.fileinput-button input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    /*transform: translate(-300px, 0) scale(4);*/
    font-size: 23px;
    direction: ltr;
    cursor: pointer;
}

#dropzone-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    font-weight: bold;
}

#dropzone {
    position: relative;
    height: 100%;
    font-weight: bold;
}
#dropzone h3{
    display: none;
}
#dropzone.in {
    width: 100%;
    height: 100%;
}
#dropzone.hover {
    z-index: 801;
    background-color: rgba(255, 255, 255, 0.5);
    border: 10px dashed #222d32;
}
#dropzone.hover h3 {
    display: block;
}
.content-wrapper{
    position:relative;
}

.drag-row {
    margin-left: -10px;
    zoom: 115%;
}
.drag-row table {
    background: #fff;
    box-shadow: 1px 1px 3px rgba(0,0,0, 0.3);
}
.draggable, .draggable td, .drag-me {
    cursor: grab;
    cursor: -webkit-grab;
    cursor: -moz-grab;
}
.drag-me span, .drag-me span:hover {
    cursor: pointer !important;
}
.ui-state-highlight {
    background-color: rgba(0, 192, 239, 0.2);
}

.thumbnail-overlay {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*opacity: .5;*/
    /*text-align: center;*/
    /*vertical-align: middle;*/
}

.thumbnail-count {
    /*text-align: center;*/
    color: #fff;
    font-size: 40px;
    line-height: 40px;
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: -20px;
}

.attachment-img .attachment-thumbnail-overlay {
    background: rgba(0, 0, 0, 0.5);
    position:absolute;
    width:100%;
    height:100%;
}

.attachment-img .fa-play-circle-o {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    margin-left: -23px;
    margin-top: -23px;
}

.attachment-img img {
    width:100%;
    height:100%;
}

.event-date-thumbnail {
    display:block;
    float:left;
    width:100px;
    height:100px;
    border:1px solid #999;
    cursor: pointer;
}
.event-date-thumbnail, .event-date-thumbnail:hover {
    color: #333;
}

.event-date-thumbnail h1, h2 {
    margin-top: 0px;
    font-weight: bold;
}

.event-date-thumbnail h2 {
    margin-top: 10px;
}

.widget-user-username, .widget-user-desc {
    font-weight: bold;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
}

.tasks {
    border: 1px solid #eee;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 7px;
    margin-bottom: 7px;
}

.separator {
    display: block;
    float: none;
    border-bottom: 1px solid #eee;
    padding: 0px 7px 7px;
    font-size: 18px;
    color: #444;
}

.select2-results .user-block .description {
    color: inherit !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background: #3c8dbc;
    opacity: .65;
    color: #fff;
}

.user-block .fa {
    font-size: 30px !important;
    float: left;
    padding-left: 5px;
}

.mr7 {
    margin-right: 7px;
}

.striped {
    background-color: #f9f9f9;
}

.file_display_name {
    display: inline;
    margin-left: 7px;
}

.bright-success {
    color: #00a65a;
}

.navbar-nav>.user-menu>.dropdown-menu {
    width: auto;
}

.dropdown-menu {
    max-height: 300px;
    overflow: auto;
}

#account-dropdown>li>a {
    padding: 5px 10px;
}

.main-header .sidebar-toggle:before {
    content: '';
}

.navbar .link {
    padding: 15px;
    color:#fff;
    float:left;
}

.navbar .link:hover {
    background-color: #367fa9;
}

.content-header>.breadcrumb {
    font-size: 14px;
}

@media (max-width: 767px) {
    .skin-blue .main-header .navbar .dropdown-menu li a {
        color: #777;
    }

    .skin-blue .main-header .navbar .dropdown-menu li a:hover {
        background-color: #e1e3e9;
        color: #333;
    }
}

.main-header .sidebar-toggle:before {
    content: none;
}

#permission-set legend {
    font-weight: bold;
}

#permission-set fieldset:not(:first-child){
    margin-top: 30px;
}

.has-error .input-group-prepend {
    border-color: #dd4b39;
    box-shadow: none;
}

.info-box-footer {
    background: #fff;
    border-top: 1px solid #f4f4f4;
    text-align: center;
}

.info-box-number {
    word-wrap: break-word;
}

.not-clickable, .not-clickable:hover, .not-clickable:visited, .not-clickable:active {
    color: #777;
    cursor: text;
}

.chat .item, .message {
    margin-bottom: 0px;
}

.flip-horizontal {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

.flip-vertical {
    -moz-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
    filter: FlipV;
    -ms-filter: "FlipV";
}

.rotate-90 {
    -ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
    transform: rotate(90deg);
    -moz-transform: rotate(90deg);
}

.rotate-180 {
    -ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
    transform: rotate(180deg);
    -moz-transform: rotate(180deg);
}

.rotate-270 {
    -ms-transform: rotate(270deg); /* IE 9 */
    -webkit-transform: rotate(270deg); /* Chrome, Safari, Opera */
    transform: rotate(270deg);
    -moz-transform: rotate(270deg);
}

.flip-horizontal-rotate-270 {
    -moz-transform: scaleX(-1) rotate(270deg);
    -o-transform: scaleX(-1) rotate(270deg);
    -webkit-transform: scaleX(-1) rotate(270deg);
    transform: scaleX(-1) rotate(270deg);
    filter: FlipH;
    -ms-filter: "FlipH";
    -ms-transform: rotate(270deg);
}


.flip-vertical-rotate-270 {
    -moz-transform: scaleY(-1) rotate(270deg);
    -o-transform: scaleY(-1) rotate(270deg);
    -webkit-transform: scaleY(-1) rotate(270deg);
    transform: scaleY(-1) rotate(270deg);
    filter: FlipH;
    -ms-filter: "FlipH";
    -ms-transform: rotate(270deg);
}

/*  Sortable list styles */
.menu-editable-list, .menu-editable-list ul, .menu-editable-list ol{
    list-style-type: none;
}
.menu-editable-list li{margin-bottom: 0.5rem; border-radius: 0.375rem !important;}
.menu-editable-list .list-group-item+.list-group-item{border-top-width: 1px;}
.menu-editable-list .ui-sortable-placeholder{padding: 0.5rem 1rem;}
.menu-editable-list .ui-sortable-placeholder:before{content: "\00a0"}

.ui-state-highlight{
    background: lightyellow;
    border: 3px dashed #eee;
    /* margin: 5px 0; */
}

#imgtable .ui-sortable-handle:hover, #imgtable .ui-sortable-handle td:hover, .ui-sortable-handle{
    cursor: ns-resize;
}

.ui-sortable-helper, .ui-sortable-helper td{
    cursor: grab !important;
}

.input-group-prepend .fa-refresh {
    padding: 0;
    cursor: pointer;
}

span.asteriskField {
    color: red !important;
}

/* Dark mode: improve visibility of modal close (X) button */
html.dark .modal-header .btn-close {
    filter: invert(1) grayscale(100%) !important;
}

/* Dark mode: direct class for MemberFilter clear (X) icon */
html.dark .member-filter-clear-icon {
    filter: invert(1) grayscale(100%) !important;
}
