html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

/*.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}*/

.section-image:after {
    background-color: #003540;
}

#minimizeSidebar i {
    line-height: 2.4rem;
    font-size: 12px;
}
.navbar .navbar-brand {
    line-height: 3.625rem;
}

#collapseUser .btn {
    width: 89%;
}
#collapseUser .btn .sidebar-normal {
    text-align: left;
} 

.logoCMS {
    max-width: 12em;
    height: auto !important;
    padding: 7px;
}
.logo-mini {
    padding-top: 15px !important;
    left: 5px !important;
    position: relative;
}
.logo-mini .logo-image-small {
    width: 34px;
    height: 34px;
    border-radius: 100%;
    background: #FFF;
    color: #66615b;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 20px;
    padding-top: 2px;
}

.sidebar .user .photo {
    width: 34px;
    height: 34px;
    border: 1px solid #FFF;
    color: #FFF;
    text-transform: uppercase;
    padding: 0.9em 0.8em;
    font-weight: 700;
    font-size: 10px;
}

.nopadding {
    padding: 0 !important;
}
.nomargin {
    margin: 0 !important;
}

.modal.fade.show {
    opacity: 1;
}
.modal-header .close {
    font-size: 1.5em;
}
.modal .modal-footer {
    padding: 0 20px;
}

.bootstrap-select {
    width: 100% !important;
}
.bootstrap-select .dropdown-menu {
    cursor: pointer;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.nav li button {
    margin: 10px 15px 0;
    color: #FFFFFF !important;
    display: block;
    text-decoration: none;
    position: relative;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 12px;
    padding: 10px 8px;
    line-height: 30px;
    opacity: .7 !important;
    font-weight: 100 !important;
}
.nav li button:hover {
    background-color: transparent !important;
    border-color: transparent !important;
}
.nav li button span.sidebar-mini-icon {
    text-transform: uppercase;
    width: 34px;
    margin-right: 10px;
    margin-left: 0px;
    font-size: 12px;
    text-align: center;
    line-height: 20px;
    position: relative;
    float: left;
    z-index: 1;
    display: inherit;
    color: rgba(255, 255, 255, 0.5);
}
.nav li button span.sidebar-normal {
    margin: 0;
    position: relative;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    opacity: 1;
    white-space: nowrap;
    display: block;
    line-height: 20px;
    z-index: 1;
}
.nav li a:hover,
.nav li a:active,
.nav li a:focus {
    background-color: transparent !important;
}

label {
    font-weight: 400;
}

.clean-input {
    width: 40%;
    border: none;
    outline: none;
}

/*---- MEDIA -----*/
#upload-file {
    margin-bottom: 20px;
}
#upload-file .dropzone {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 12em;
    cursor: pointer;
    border-radius: 10px;
    opacity: .7;
    background-color: rgba(76, 158, 230, 0.26);
    border: 0.15em dashed #4c9ee6;
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}
#upload-file .dropzone:hover {
    opacity: 1;
}
#upload-file .dropzone .dz-message {
    margin: 3.5em 0;
}


#mediaItems .item {
    width: 16.14%;
    margin-right: 10px;
    display: inline-block;
    max-height: auto;
    overflow: hidden;
} 
#mediaItems .item:nth-child(6n) {
    margin-right: 0;
}
#mediaItems .cart img,
#mediaItems .item img {
    object-fit: cover;
    width: 100%;
    height: 12em;
}
#mediaItems.popup-media .card {
    /*display: inline-block;*/
    margin-right: 5px;
    cursor: pointer;
}
/*---- END MEDIA -----*/


.text-disabled {
    cursor: text !important;
    font-size: 11px;
}

.alert.fade:not(.show) {
    opacity: 1;
}


.code,
.code:hover,
.code:focus {
    line-height: 1.4em !important;
    font-size: 13px;
    background: #2f2f2f;
    color: #b7b7b7;
    height: 40em !important;
    max-height: 40em !important;
}

.btn .media_count {
    position: absolute;
    top: 45%;
    left: 0;
    color: #FFF;
    font-size: 17px;
    width: 100%;
    text-align: center;
    opacity: .5;
}
.btn:hover .media_count {
    color: #000;    
}

.alignment {
    padding-top: 22px;
}
.alignment input[type="radio"] + i {
    font-size: 22px;
}
.alignment input[type="radio"]:checked + i {
    color: #51bcda;
}
.alignment .form-check-label {
    cursor: pointer;
    text-align: center;
}
.alignment span {
    font-size: 10px;
    display: -webkit-box;
}

.menu-items ul li {
    overflow: hidden;
}
.menu-items ul li span.pull-right {
    position: absolute;
    right: -7.5%;
    transition: all 0.5s cubic-bezier(.25, .8, .25, 1);
}
.menu-items ul li:hover span.pull-right {
    right: 0;
}

.clearBtn {
    position: absolute;
    right: 9em;
    margin-top: 7px;
}

.ui-autocomplete {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border-right-width: 2px;
    border-bottom-width: 2px;
    border: 1px solid #ccc;
    color: #337ab7;
    text-decoration: none;
    font-size: 12px;
    padding: 2px 12px;
    background: #FFF;
}
.ui-autocomplete li {
    list-style: none;
    cursor: pointer;
}

#status-update p span {
    margin-right: 5px;
}
i.spinn {
    animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.logs-table tbody tr td {
    padding: 5px 10px;
    font-size: 12px;
}
.logs-table tbody tr td:first-child {
    max-width: 50em;
}

#versionNO {
     position: absolute; 
    bottom: 0;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    color: #d4d4d4;
    font-size: 11px;
    padding: 5px 0;
    border-top: 1px solid #75706a;
}


.clean-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.clean-list li {
    border-right: 1px solid #000;
    text-transform: uppercase;
    display: inline-block;
    font-size: 10px;
    padding: 0 5px;
}
.clean-list li:last-child {
    border-right: none;
}

.badge .close {
    background: transparent;
    color: #ff6262;
    opacity: 1;
    padding: 9px;
    text-shadow: none;
}

.table > thead > tr > th a {
    text-transform: capitalize;
}

.sidebar {
}
.sidebar .sidebar-wrapper, .sidebar .logo {
    background-color: #003540;
    overflow: hidden;
}

.btn {
    border-radius: 0;
}

.btn-primary:not(.btn-link), .btn-success:not(.btn-link),
.btn-primary:not(.btn-link):hover, .btn-success:not(.btn-link):hover {
    background-color: #1d87b0 !important;
}
.btn-primary, .btn-success {
    opacity: 0.9;
}
.btn-primary:hover, .btn-success:hover {
    opacity: 1;
}

.btn-quick-edit {
    opacity: 0;
    font-size: 10px;
}
.table tr:hover .btn-quick-edit {
    opacity: 1;
}

.card {
    border-radius: 0;
    box-shadow: none;
}

.thumbnail-container {
    position: relative;
    text-align: center;
}

.thumbnail-saving-info {
    display: flex;
    position: absolute;
    text-align: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: #fff;
    transition: .5s;
    opacity: 0;
    pointer-events: none;
    z-index: 20;
}

.thumbnail-saving-info img {
    align-self: center;
    height: auto !important;
    width: auto !important;
}

.updating-thumbnail .thumbnail-saving-info {
    opacity: 1;
    pointer-events: all;
}

.thumbnail-container small {
    display: block;
    padding: 0 10px;
}

form#w0 {
    width: 100%;
}
form .field-uploadform-imagefile {
    border: 2px dashed #e6e6e6;
    border-radius: 7px;
    text-align: center;
    background-color: #f7f7f7;
    padding: 4em;
    flex: 0 0 100%;
    max-width: 100%;
}
form .field-uploadform-imagefile span {
    display: block;
    padding: 10px;
}
form .field-uploadform-imagefile i.fa {
    display: block;
    font-size: 40px;
    opacity: .2;
}
form .field-uploadform-imagefile input[type=file] {
    cursor: pointer;
}
form .field-uploadform-imagefile input[type=text]::placeholder {
    font-weight: 300;
}
form .field-uploadform-imagefile input[type=text] {
    background-color: transparent;
    text-align: center;
    font-weight: 600;
    border: none;
    width: 100%;
}

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

    #mediaItems .item,
    #mediaItems .item:nth-child(6n) {
        width: 24%;
       margin-right: 10px;
    }
    #mediaItems .item:nth-child(4n) {
       margin-right: 0;
    }
}