body,html {
	min-height: 100%;
}
body {
    font-family: "Nunito",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    color: #626262;
    background: #f6f6fa;
}
img {
	max-width: 100%;
}
a {
	outline: none !important;
}
.form-control:focus {
    box-shadow: none;
}
button:focus {
    outline: none;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}
.text-primary {
    color: #9b2023 !important;
}
.text-secondary {
    color: #1f1a49 !important;
}
.table.align-middle td, .table.table.align-middle th {
    vertical-align: middle;
}
#login-page {
	position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    padding: 0 10px;
    background: #1f1a49;
    background: linear-gradient(150deg, rgba(2,0,36,1) 0%, rgba(28,26,74,1) 0%, rgba(155,32,35,1) 0%, rgba(28,26,74,1) 100%);
}
.login-card {
	width: 400px;
	max-width: 100%;
    background: rgba(255,255,255,.4);
    margin: 0 auto;
    transform: translateY(-50%);
    top: 50%;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,.3);
}
.login-logo img {
	display: block;
	margin: 0 auto;
	max-width: 90%;
}
#login-page .form-group {
	position: relative;
}
#login-page .form-group .icon {
	position: absolute;
	font-size: 28px;
    left: 15px;
    top: 8px;
    color: #9b2023;
}
#login-page .form-control {
	border: 0;
	background: #fff;
	border-radius: 0;
	height: 44px;
	font-size: 18px;
	font-weight: 600;
	color: #1c1a4a;
	padding-left: 52px;  
}
#login-page .actions .btn {
	width: 100%;
	border: 0;
	border-radius: 22px;
    background-color: #1c1a4a;
    font-weight: 600
}


.header {
	background: #1f1a49;
    background: linear-gradient(150deg, rgba(2,0,36,1) 0%, rgba(28,26,74,1) 0%, rgba(155,32,35,1) 0%, rgba(28,26,74,1) 100%);
    color: #ffffff;
    box-shadow: 0 0px 10px rgba(0,0,0,.6);
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 9;
}
.header .logo a {
    color: #ffffff;
}
.header.light {
    background: #aaa8a9;
}
.header.light .logo {
    color: #4a4a4a;
}
.header.light .logo a {
    color: #4a4a4a;
}
.header.light .logout {
    padding-left: 15px;
    margin-left: 10px;
    border-left: 1px solid #4a4a4a;
    font-size: 20px;
}
.header .logo img {
	height: 50px;
	margin: 5px 0;
}
.header .user-name a {
	color: #ffffff;
	border-left: 1px solid #fff;
    padding: 5px 10px;
    margin-left: 10px;
}
.header .header-search {
    max-width: 100%;
    margin: 0 auto;
	position: relative;
}
.header .header-search .icon {
	position: absolute;
    left: 10px;
    top: 0;
    color: #992023;
    font-size: 24px;
    line-height: 38px;
}
.header .header-search .btn {
    position: absolute;
    top: 0;
    height: 100%;
    right: 0;
    bottom: 0;
    background: #992023;
    color: #ffffff;
}
.header .header-search .form-control {
	padding-left: 44px;
}

.card {
	box-shadow: 0 5px 20px rgba(0,0,0,.3);
	border: 0;
    border-radius: 10px;
}

.page-content {
	padding: 15px 0;
}
.page-content .no-gutters > div {
	padding: 10px;
}
.page-content .no-gutters > div .card {
	min-height: 100%;
	-webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none; 
       -moz-user-select: none; 
        -ms-user-select: none;
            user-select: none; 
}

.items .card .image {
	height: 160px;
}
.items .card img {
	max-width: 70%;
	height: 100%;
}
.items a {
	color: #626262;
	text-decoration: none;
}

.footer {
	padding: 15px;
    text-align: center;
    border-top: 1px solid #dadada;
}


body.modal-open .page-content, body.modal-open .footer {
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
}

.loader {
	position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0,0,0,.7);
    z-index: 9999;
}
.loader > div {
   	width:50px;
   	height:50px;
   	position: absolute;
    padding: 0px;
    left: 50%;
    top: 50%;
    margin-top: -25px;
    margin-left: -25px;
}
.loader > div span {
   position:absolute;
   display:inline-block;
   width:50px;
   height:50px;
   border-radius:100%;
   background:rgb(255 255 255);
   -webkit-animation:loader 1.5s linear infinite;
   animation:loader 1.5s linear infinite;
}
.loader > div span:last-child {
   animation-delay:-0.9s;
   -webkit-animation-delay:-0.9s;
}
@keyframes loader {
   0% {transform: scale(0, 0);opacity:0.8;}
   100% {transform: scale(1, 1);opacity:0;}
}
@-webkit-keyframes loader {
   0% {-webkit-transform: scale(0, 0);opacity:0.8;}
   100% {-webkit-transform: scale(1, 1);opacity:0;}
}

@media (min-width: 1024px) {
    .header .header-search {
        max-width: 600px;
    }
}
@media (max-width: 991px) {
    .modal-dialog {
        max-width: 90%;
    }
}
@media (max-width: 767px) {
	.header {
        margin-bottom: 38px;
        box-shadow: none;
	}
	.header .search {
	    position: absolute;
	    left: 0;
	    bottom: -38px;
	    right: 0;
        padding: 0;
        box-shadow: 0 4px 10px rgba(0,0,0,.3);
	}
	.header .search .header-search {
		width: 100%;
	}
}