@import url(http://fonts.googleapis.com/css?family=Ubuntu:400,700);
html, body{
    height: 100%;
}
body{
    background: #fff;
    font-family: 'Ubuntu';
}
.top{
    position: fixed;
    width: 100%;
    height: 60px;
    background: #ff1a1a;
    z-index: 9001;
}
.top .mobile-menu{
    display: none;
}
.top .logo-ambcom{
    float: left;
    height: 50px;
    margin-top: 2px;
    margin-left: calc(50% - 74px);
}
.top .logout{
    float: right;
    height: 60px;
    line-height: 60px;
    width: 60px;
    text-align: center;
    font-size: 23px;
    color: #fff;
}
.top .logout:hover{
    background: #E61731;
}
.top .user{
    float: right;
    color: #fff;
    height: 60px;
    line-height: 55px;
    font-size: 17px;
    margin-right: 5px;
}
.menu{
    float: left;
    width: 250px;
    background: #F3F3F3;
    height: calc(100% - 60px);
    border-right: 1px solid #cccccc;
    z-index: 9000;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Let's get this party started */
.menu::-webkit-scrollbar {
    width: 5px;
}
 
/* Track */
.menu::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
}
 
/* Handle */
.menu::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #aaa;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}

.menu-fixed{
    position: fixed;
    margin-top: 60px;
}
.menu .logo-empresa{
    max-width: 90%;
    max-height: 200px;
    display: table;
    margin: 20px auto 0;
}
.menu ul{
    float: left;
    width: 100%;
    list-style-type: none;
    padding: 0;
}

.menu ul li{
    float: left;
    width: 100%;
}
.menu ul li a{
    float: left;
    width: 100%;
}
.menu ul li a i{
    float: left;
    color: #777;
    margin-left: 20px;
    margin-top: 1px;
    padding: 9px 0;
}
.menu ul li a span{
    float: left;
    color: #777;
    margin-left: 10px;
    font-size: 15px;
    padding: 7px 0;
}
.menu ul li a:hover,
.menu ul li a.active{
    background: #C6C6C6;
    width: calc(100% - 4px);
    border-left: solid 4px #ff1a1a;
    color: #fff;
}
.menu ul li a:hover i,
.menu ul li a.active i{
    margin-left: 16px;
    color: #fff;
}
.menu ul li a:hover span,
.menu ul li a.active span{
    color: #fff;
}
.menu ul li a span.notification-count{
    padding: 0;
    float: right;
    margin-right: 20px;
    background: #ff1a1a;
    width: 21px;
    height: 21px;
    font-size: 11px;
    color: #fff;
    text-align: center;
    line-height: 21px;
    border-radius: 25px;
    margin-top: 6.5px;
    font-family: Arial;
}
.menu .right{
    float: right;margin-right: 20px;
}
.menu ul li ul{
    float: left;
    width: calc(100% - 4px);
    border-left: solid 4px #ff1a1a;
    background: #C6C6C6;
}
.menu ul li ul li{
    float: left;
    width: 85%;
    margin-left: 15%;
}
.menu > ul > li > ul > li > a{
    border: none !important;
    padding: 5px 0;
    text-decoration: none;
    color: #fff;
}
.menu > ul > li > ul > li > a:hover{
    text-decoration: underline;
}
.sub{
    display: none;
}
.spacer{
    float: left;
    width: calc(100% - 300px);
    margin-left: 275px;
    padding-top: 85px;
    padding-bottom: 15px;
}
.content{
    width: calc(100% - 40px);
    padding: 0 20px 20px;
    background: #f9f9f9;
    border: solid 1px #eee;
    margin: auto;
}
.container{
    width: 80%;
    margin: auto;
}
footer{
    float: left;
    width: 100%;
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #333;
}
footer a{
    color: #333;
    text-decoration: none;
}
footer a:hover{
    text-decoration: underline;
}
.content .page-title{
    float: left;
    width: 100%;
    font-size: 25px;
    color: #666;
}
.alert{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    width: 50%;
    min-height: 50px;
    border-radius: 15px;
    margin: 20px auto;
}
.alert i{
    float: left;
    flex-align: center;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
    margin-left: 15px;
    text-align: center;
    font-size: 20px;
}
.alert span{
    flex-align: center;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
    width: calc(100% - 70px);
    text-align: center;
    font-weight: bold;
    font-size: 1em;
    justify-content: center;
    padding: 10px 0;
    padding-left: 5px;
}
.success{
    background: #00F20D;
}
.success i,
.success span{
    color: #009933;
}
.error{
    background: #FF4040;
}
.error i,
.error span{
    color: #8F0000;
}

.info{
    background: #5bc0de;
}
.info i,
.info span{
    color: #46b8da;
}

.loading-page{
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.8);
    z-index: 9999;
}
.loading-page span{
    position: fixed;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 40px;
    top: 40%;
}
.row{
    float: left;
    width: 100%;
    margin-bottom: 40px;
}
.right{
    float: right !important;
}
.left{
    float: left;
}
.table-controls a{
    text-align: center;
    margin-top: 4px;
}
.table-controls a i{
    text-align: center;
    color: #333;
    padding: 0 4px;
}

#cropbox{
    float: left;
    width: 100% !important;
}

.pagination {
    margin-top: 10px;
}

.pagination a{
    float: left;
    padding: 5px 11px;
    background: #fff;
    border: solid 1px #ccc;
    border-left: 0;
    color: #333;
    text-decoration: none;
    font-size: 13px;
}

.pagination a.active,
.pagination a:hover{
    background: #ff1a1a;
    color: #fff;
}

.pagination a:first-child{
    border-left: solid 1px #ccc;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.pagination a:last-child{
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.search-style input[type="text"]{
    float: left;
    width: calc(100% - 200px);
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    outline: none;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.search-style select{
    float: left;
    width: 127px;
    padding-left: 3px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    border: solid 1px #cdcdcd;
    border-right: none;
    outline: none;
    font-size: 13px;
    height: 34px;
    color: #999;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    margin-left: 4px;
}

.search-style button {
    float: left;
    width: 34px;
    height: 34px;
    background: #fff;
    border: solid 1px #cdcdcd;
    border-left: none;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    outline: none;
}

.search-style button i{
    float: left;
    width: 100%;
    text-align: center;
    color: #999;
}

.select2-container .select2-selection--single {
    height: 34px;
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 14px;
    line-height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #ff1a1a;
}

h3 {
    margin: 0;
}

h2 {
    font-weight: normal;
    font-style: italic;
    margin-top: -15px;
    float: left;
}

h1.auto {
    float: left;
    margin: 0.57em 0;
}
.grid header,
.grid section {
    display: grid;
    grid-template-columns: 67px 170px 1fr 86px;
}

.grid header {
    line-height: 1.42857143;
    border: 1px solid #ddd;
    font-weight: bold;
}

.grid header div:not(:last-child),
.grid section div:not(:last-child) {
    border-right: 1px solid #ddd;
}

.grid header div,
.grid section div {
    padding: 8px;
}

.grid {
    color: #333;
}

.grid section {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    user-select: none;
    background-color: #fff;
}

header.wrap-btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btns a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
}
.form-box::after {
    content: "";
    display: block;
    clear: both;
}

.content::after {
    content: "";
    display: table;
    clear: both;
}