body {
    font-family: Arial, Helvetica, sans-serif;
    background-color:#EBEBEB;
}

div {
    outline: 0 none;
}

a {
    color: #ce230c;
}

a:hover, a:focus {
    color: #c20016;
}

#page {
    margin: 20px auto 0;
    background: none;
    border: none;
    position:relative;
    background-color:#fff;
    -webkit-box-shadow: 0px 0px 14px -3px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 14px -3px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 14px -3px rgba(0,0,0,0.75);	
}

.span-19  {
    width:100%;
}

.span-5 {
    width:100%;
}

.w-100 {
    width: 100%;
}

.center-text {
    text-align: center;
}

.font-weight-bold {
    font-weight: bold;
}

.items.table>tbody>tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

button.ui-datepicker-current {
    display: none;
}

input[type=file][hidden] {
    display: none !important;
}

.file-info-name {
    margin-left: 10px;
}

#sidebar {
    clear:both;
    width:100%;
    padding:0;
}

#sidebar .portlet-decoration {
    width:100px;
    float:left;
    line-height:25px;
    border-color:#ce230c;
}

#sidebar .portlet-content {
    float:left;
    line-height:25px;
    margin:0!important;
    padding:0!important;
}

#sidebar .portlet-content li {
    float:left;
    line-height:25px;
}

#sidebar .operations li a {
    line-height:25px;
    color:#ce230c;
    padding:0;
    padding-left:10px;
    padding-right:10px;
}

.breadcrumbs {
    clear:both;
    margin-bottom:10px;
    margin-top:10px;
}

#content {
    background-color: #ffffff;
    clear:both;
    width:96%;
    padding:2%;
    overflow: hidden;
}

#content h1 {
    font-size:1.3em;
    margin-bottom:0.2em;
}

#mainmenu {
    float:right;
    width:70%;
    background:none;
}

#mainmenu ul {
    height: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    background:none;
}

#mainmenu ul li {
    float: left;
    height: 40px;
    margin: 0;
    padding: 0;
}

#mainmenu ul li a {
    border-bottom:1px solid;;	
    border-color: #fff;
    color: #000;
    display: block;
    float: left;
    font-weight: 400;
    height: 39px;
    line-height: 40px;
    margin-right: 5px;
    padding: 0 8px;
    text-decoration: none;
    text-transform: uppercase;
}

#mainmenu ul li a:hover, #mainmenu ul li.active a {
    background:none;
    color:#d31114;
    border-color:#d31114;
    border-bottom:1px solid;
}

#banner {
    text-align:center;
    width:30%;
    min-height:70px;
    max-height:150px;
    padding: 5px;
    float:left;
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    overflow: hidden;
}

#banner.preview {
    text-align:left;
    width: 100%;
}

#banner_image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 150px;
    display: inline-block;
}

#footer {
    border-top: 1px solid #c20016;
}

.info.success {
    color: #008800;
    padding: 20px 0;
}

.info.error {
    color: #880000;
    padding: 20px 0;
}

.uploadinfo {
    margin-bottom: 30px;
}

.uploadinfo .image img {
    height: auto;
    max-height: 200px;
    width: auto;
}

.color_box {
    font-size: 200%;
    margin-top: -10px;
    margin-bottom: -3px;
    display: inline-block;
}

.grid-view {
    padding-top: 20px;
    background-position: 6px 0px;
}

.grid-view .button-column {
    width: 90px;
    white-space: nowrap;
    overflow: hidden;
}

.grid-view .button-column.wide {
    width: 120px;
}

.grid-view .button-column a.copy,
.grid-view .button-column a.delete,
.grid-view .button-column a.undelete,
.grid-view .button-column a.action_reply:last-child
{
    margin-left: 10px;
}

#import-assign select.empty-select,
#import-assign select option[value=""]
{
    background-color: #dddddd;
}

#import-assign select, #import-assign select option {
    background-color: #ffffff;
}

.image_card {
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
    float: left;
    position: relative;
}

.image_card .image_preview {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    border: 1px solid #aaaaaa;
    box-sizing: border-box;
    cursor: pointer;
}

.image_card .image_actions {
    width: 100%;
    border: 1px solid #aaaaaa;
    border-top: none;
    box-sizing: border-box;
    padding: 15px 10px;
}

.image_card .image_actions a {
    text-decoration: none;
}

#lightbox {
    display: none;
    position: relative;
}

#urlview {
    display: none;
    position: relative;
}

#urlview span {
    display: inline-block;
    max-width: 80%;
    word-break: break-all;
    padding: 10px 0;
}

.backgroundurl {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.checkbox-list input[type=checkbox] {
    margin: 5px 10px 5px 20px;
}

.checkbox-list input[type=checkbox]:first-child {
    margin-left: 0;
}

.list-down input[type=checkbox], .list-down input[type=radio] {
    margin: 5px 10px 5px 0;
}

.view img {
    width: auto;
    height: auto;
    max-width: 100%;
}

@media only screen and (max-width: 991px) {
    .admin-table-page .container {
        width: 100%;
        width: -moz-max-content;
        width: -webkit-max-content;
        width: max-content;
    }
    .admin-table-page #content {
        overflow: visible;
    }
}

@media only screen and (min-width: 768px) {
    div.form div.color-picker:not(.first) {
        margin-left: 100px;
    }
}

@media only screen and (max-width: 767px) {

    #banner {
        position:relative;
        width:100%;
        min-height:40px;
        max-height: 90px;
    }
    
    #banner_image {
        max-height: 90px;
    }

    #mainmenu {
        width:100%;
        float:left;
        border-bottom:1px solid;
        margin-bottom:10px;
    }

}