﻿html {
    min-height: 100%;
}

body {
    font-family: Arial !important;
    background: #f1f2f7 !important;
    min-height: 100%;
}

.red {
    color: red;
}

.blue {
    color: blue;
}

.white {
    color: white;
}

.txt-size-sm {
    width: 16% !important;
}

.link {
    background-color: #DDDDDD;
}

.form-control {
    color: inherit;
}

.form-group label {
    vertical-align: middle;
    margin-bottom: 5px !important;
}

.form-control, .fileupload-new.thumbnail, .fileupload .btn {
    border: 1px solid #C3C3C3 !important;
}

a > img {
    outline: initial;
}

.bg_loading {
    background-color: #511C0B;
    text-align: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0%;
    vertical-align: middle;
    opacity: 0.8;
}

.bg_loading img {
    width: 18%;
    margin: auto;
    position: absolute;
    left: 38%;
    top: 20%;
}

form.tasi-form {
    position: relative;
}

.help-block {
    margin-bottom: 0;
    font-size: 14px;
    color: red;
}

/*label{
    font-weight:normal;
}*/
#main-content {
    min-height: 500px;
}

/********PAGING*******/
.paging {
    text-align: center;
    margin-top: 10px;
}

.paging .currentPage {
    color: red;
    border: 1px solid;
    padding: 6px 8px;
}

.paging a {
    color: black !important;
    border: 1px solid;
    padding: 5px 8px;
}

/******END PAGING*****/

/*#sidebar {
    overflow: auto;
}*/
/*

ul.sidebar-menu li ul.sub li a{
        line-height: 20px !important;
  height: inherit !important;
}*/

.table {
    table-layout: fixed;
}

.grid thead {

}

/*.grid{
    display:block;
}
.grid thead{
      display: block;
}.grid tbody {
  display: block;
    height:400px;
}
.grid tbody {
    overflow: auto;
}*/

.nicescroll-rails {
    opacity: 1 !important;
}

.btn-back {
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .form-inline .form-control {
        display: inline-block;
        width: 100% !important;
    }
}

.fancybox-slide--complete .my_dialog {
    opacity: 1;
    transform: translate(0%) translateZ(0) rotate(0deg);
}

.my_dialog {
    max-width: 550px;
    width: 300px;
    padding: 15px !important;
    box-shadow: 0 7px 8px -4px rgba(0, 0, 0, .2), 0 13px 19px 2px rgba(0, 0, 0, .14), 0 5px 24px 4px rgba(0, 0, 0, .12);
    border-radius: 4px;
    opacity: 0;
    transition: all .3s;
    transform: translate(30%) translateZ(600px) rotate(10deg);
    display: none;
}

.my_dialog .alert {
    margin-bottom: 0 !important;
}

.fancybox-message .fancybox-close-small:after {
    border: 1px solid #FF6666;
    color: #FF6666;
}

.dropdown-menu.extended.logout > li {
    float: left;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
}

ul.sidebar-menu li a i {
    font-size: 15px;
    padding-right: 6px;
    width: 20px;
}

/**********************/
.loader-bg {
    position: fixed;
    z-index: 11;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, .2);
    display: none;
}

.loader {
    margin: 60px auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(0, 128, 192, 0.2);
    border-right: 1.1em solid rgba(0, 128, 192, 0.2);
    border-bottom: 1.1em solid rgba(0, 128, 192, 0.2);
    border-left: 1.1em solid red;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

.loader,
.loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

ul.sidebar-menu li a img {

    display: inline-block;

    width: 17px;

    margin-right: 3px;
}

ul.sidebar-menu li a span {
    vertical-align: text-top;
}

.icheckbox_square-green {
    border: 2px solid #1B7E5A;
}

.icheck:hover .icheckbox_square-green {
    border: none;
}

.icheckbox_square-green.checked {
    border: none;
}

.bootstrap-datetimepicker-widget {
    width: 300px !important;
}

.bootstrap-datetimepicker-widget table td.day {
    width: 15px;
    padding: 7px;
}

.bootstrap-datetimepicker-widget table th {

}

.bootstrap-datetimepicker-widget table th.picker-switch {
    width: auto !important;
}

.search {
    width: 100% !important;
}

.ui.selection.dropdown {
    border: 1px solid #C3C3C3 !important;
    width: 100%;
}

.ui.dropdown:not(.button) > .default.text, .ui.default.dropdown:not(.button) > .text {
    color: #555;
}

.ui.label > .close.icon, .ui.label > .delete.icon {
    color: red;
    opacity: 1 !important;
    font-size: 18px;
    position: absolute;
    right: 7px;
    top: 45%;
    transform: translateY(-50%);
}

.ui.selection.dropdown .menu > .item {
    line-height: 25px;
    padding: 7px 10px !important;
}

.ui.multiple.dropdown > .label {
    width: 100%;
    text-align: left;
    line-height: 21px;
    position: relative;
    padding-right: 25px !important;
    font-weight: normal;
    font-size: 13px;
}

#sidebar ul li a {
    border-radius: 4px;
    display: flex;
    align-items: center;
}

ul.sidebar-menu li a span {
    margin-left: 5px;
}

.sidebar-close .sidebar-menu {
    margin-top: 20px;
}

.sidebar-close.sidebar-closed .sidebar-menu {
    display: none !important;
}

#sidebar {
    overflow: auto;
}

.header {
    position: fixed;
}

.header, .footer {
    min-height: 50px;
}

.total-box .container-box {
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

ul.sidebar-menu {
    display: block !important;
}

@media (min-width: 992px) {
    .sidebar-toggle-box {
        display: none;
    }

    #sidebar {
        display: block !important;
    }
}

@media (max-width: 600px) {
    .header {
        position: fixed;
        height: 50px !important;
        overflow: hidden;
        /* padding: 0px; */
        min-height: auto;
        display: flex;
        align-items: center;
    }

    .sidebar-toggle-box {
        margin-top: 0px;
    }

    a.logo {
        margin-top: 0px;
    }

    .sidebar-menu {
        display: none;
        /* padding-bottom: 20px !important; */
    }

    .box-search {
        display: table !important;
    }

    .box-search .item {
        margin-bottom: 10px;
        width: 100%;
    }

    h4 {
        margin-top: 0px;
    }

    .total-box .container-box {
        display: table;
        margin: auto;
        margin-bottom: 20px;
    }

    .table {
        table-layout: fixed;
        background: white;
    }

    #sidebar {
        position: fixed;
        top: 50px;
        overflow: scroll;
        z-index: 99999;
        height: 100%;
        padding-bottom: 40px !important;
    }

    .sidebar-close #sidebar {

    }

    .sidebar-close.sidebar-closed #sidebar {
        display: none !important;
    }
}