.modal textarea {
    resize: vertical !important;
}
div.box-body {
    overflow-x: auto;
    padding: 0 !important;
    margin: 10px !important;
}
div.box-body.personalize-box a {
    display: block; 
    box-shadow: 0 0 3px rgba(0,0,0,0.4);
}
div.box-body.personalize-box span {
    display: block;
    float: left;
}
div.box-body.personalize-box span.logo-lg {
    background-size: 75%;
}
div.box-body.personalize-box ul.row li {
    padding: 5px;
}
div.box-body.personalize-box div span:first-child {
    width: 20%;
}
div.box-body.personalize-box div span:last-child{
    width: 80%;
}
div.box-body.personalize-box div.top span {
    height: 28px;
}
div.box-body.personalize-box div.bottom span {
    height: 80px;
}
.user.user-menu.open .dropdown-menu {
    padding: 0 !important;
    right: 0 !important;
    border: 0 !important;
    box-shadow: -2px 2px 4px #ccc;
}
.user.user-menu.open .dropdown-menu .user-header {
    height: unset !important;
}
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a {
    padding: 0 10px !important;
}
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > h4 {
    margin: 10px 0 0 0 !important;
}
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > p {
    margin: 0 0 10px 0 !important;
}
.logo {
    background-color: white !important;
    color: #024361 !important;
}
.logo-mini {
    height: 100%;
    background-image: url('/images/favicon.png');
    background-size: auto 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: white;
}
.logo-lg {
    height: 100%;
    background-image: url('/images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: white;
}
.login-logo {
    width: 100%;
    background-color: white;
    margin: 0;
    padding: 25px;
}
.error-box {
    margin: 7% auto;
}
.dataTables_wrapper .dataTables_paginate {
	float: none;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
	padding: 0;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
	background: none;
	border: 1px solid transparent;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:active {
	background: none;
	box-shadow: none;
}
.dataTables_processing {
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    height: 100% !important;
    background: rgba(255, 255, 255, .75) !important;
    z-index: 99;
}
.ui-dialog {
    z-index: 10005 !important;
}
.ui-widget-overlay.ui-front {
    z-index: 10000 !important;
    opacity: .1;
}
#dialog-confirm {
    padding-top: 20px;
}
.p-relative {
    position: relative;
}
.o-auto {
    overflow: auto;
}
.ox-auto {
    overflow-x: auto;
}
.oy-auto {
    overflow-y: auto;
}
.align-middle {
    vertical-align: middle !important;
}
tr.align-middle td, tr.align-middle th {
    vertical-align: middle;
}
table.align-middle td, table.align-middle th {
    vertical-align: middle;
}
table tr.clickable {
    cursor: pointer;
    transition: 250ms all;
}
table tr.clickable:hover {
    background-color: #ccc;
}
.overlay-wrapper {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 50;
}

#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: .25rem;
    padding: 16px;
    position: fixed;
    z-index: 99999; 
    left: 50%;
    bottom: 30px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
.box.no-margin {
    margin: 0 !important;
}
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 1;}
}
@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}
@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
}
@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

.printable {
    display: none;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    transition: all 0.3s;
    margin-right: 4px;
}
.switch::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: all 0.3s;
}

.checkbox-switch input[type=checkbox] {
    display: none;
}
.checkbox-switch input[type=checkbox] + label {
    display: flex;
    align-items: center;
}
.checkbox-switch input[type=checkbox]:checked + label .switch::after {
    left: 20px;
}
.checkbox-switch input[type=checkbox]:checked + label .switch {
    background-color: #7983ff;
}

@media print {
	table tr > td, table tr > th {
		padding: 2px !important;
	}
	.print-header table tr > td, .print-header table tr > th {
		padding: 0 !important;
	}
    .box.dont-break {
        page-break-inside: avoid;
    }
    .content-wrapper, .main-footer {
        border-left: 0 !important;
    }
    hr {
        margin: 10px 0;
    }
    .printable {
        display: block;
        position: relative;
    }
    .printable .row.print-title {
        position: absolute;
        top: 0;
        left: 0;
        text-align: center;
        width: 100%
    }
    .printable .row.print-header > div {
        height: 135px;
    }
    .bottom-right-print-header {
        position: absolute;
        bottom: 0;
        right: 15px;
    }
    .screen {
        display: none;
    }
    footer {
        position: relative;
        bottom: 0;
        left: 0;
        width: 100%;
    }
    ::-webkit-scrollbar {
        display: none;
    }
}