html,
body {
    height: 100%;
}

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

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


#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;
    max-height: 100px;
    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:not(.nav-pills) li a:hover,
.nav:not(.nav-pills) li a:active,
.nav:not(.nav-pills) li a:focus {
    background-color: transparent !important;
}

label {
    font-weight: 400;
}

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


.modal .modal-content {
    overflow: hidden;
}
.loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1010;
    background-color: rgba(255,255,255,0.4);
}
.loader i {
    font-size: 35px;
}



/*---- 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: contain;
    width: 100%;
    height: 12em;
    background: #dedede;
}
#mediaItems.popup-media .card {
    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: static; 
    bottom: 0;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    color: #d4d4d4;
    font-size: 9px;
    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;
}

.main-panel {
    width: calc(100% - 220px);
}

.sidebar {
    width: 220px;
}
.sidebar .sidebar-wrapper, .sidebar .logo {
    background-color: #111;
}
.sidebar .sidebar-wrapper {
    width: 220px;
    height: calc(100vh - 63px);
    padding-bottom: 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
}

.sidebar .nav li > a {
    margin: 0px 10px 0;
    font-size: 11px;
    padding: 7px 8px;
}
.sidebar .nav i {
    font-size: 20px;
}

.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%;
}

.featured_img label {
    position: relative;
    display: block;
}
.featured_img .remove-img,
.featured_img .remove-img:focus {
    border: none;
    outline: none;
    background: #dc3545;
    color: #FFF;
    right: 0;
    position: absolute;
    top: 0;
    z-index: 99999;
    transition: 0.3s all ease-in-out;
}

#prod-variations ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    padding: .5rem;
    margin: 0;
    border-bottom: 1px solid #ddd;
}
#prod-variations ul:hover {
    background-color: #f5f5f5;
}
#prod-variations ul li button {
    margin: 0;
    margin-left: .5rem;
}
#prod-variations ul li.variation-title {
    width: 30%;
}
#prod-variations ul li.variation-title-set {
    width: 40%;
}
#prod-variations ul li.variation-actions {
    width: 30%;
    text-align: right;
}


#cat {
    max-height: 70vh;
    overflow: auto;
}

.payment-list .list-group-item ul {
    list-style-type: none;
    display: flex;
    padding-left: 0;
    align-items: center;
}
.payment-list .list-group-item ul li {
    width: 100%;
}
.payment-list .list-group-item ul li.status {
    min-width: 10rem;
    text-align: right;
}

#loading-ajax {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.97);
    z-index: 10000;
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: .25em solid currentColor;
        border-right-color: currentcolor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

.row-add-cookie-item,
.row-add-cookie-detail-item {
    position: relative;

}
.btn-remove-cookie-item,
.btn-remove-cookie-detail-item {
    position: absolute;
    right: 0;
    top: 0;
    -webkit-appearance: none;
    appearance: none;
    z-index: 3;
    background: 0;
    border: 0;
    outline: 0;
}

.input-group span {
    padding: 6px 17px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-footer .btn + .btn {
    margin-bottom: 10px;
}

@keyframes spinner-border {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@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;
    }
}

@media only screen and (max-width: 991px){
    .main-panel {
        width: 100% !important;
    }
    .nav-open .main-panel {
        -webkit-transform: translate3d(220px, 0, 0);
        transform: translate3d(220px, 0, 0);
    }
    .navbar-toggler {
        display: none;
    }
    .navbar-toggle > .navbar-toggler {
        display: block;
    }
    .navbar-wrapper {
        width: 100%;
    }
    .navbar-brand {
        width: calc(100% - 170px);
        text-align: center;
    }
}

@media (max-width: 1200px) and (min-width: 991px){
    body .main-panel .row .nav-tabs-navigation.verical-navs{
      padding: 0 3px;
      width:fit-content;
    }      
}  
@media (max-width: 767px) and (min-width: 577px){
    body .main-panel .row .nav-tabs-navigation.verical-navs{
      padding: 0 3px;
      width:fit-content;
    }      
}  
@media (min-width: 768px) and (max-width: 1608px){
    body .col-md-3 .card-body .col-md-8{
        max-width:98%;
        padding:1%;
    }  
    body .col-md-3 .card-body .col-md-4{
        flex: 0 0 58%;
        max-width:58%;
        padding:1%;
    }      
}  
@media (max-width: 880px) and (min-width: 768px){
   body .content .site-index .body-content .row .col-md-6{
       max-width:46%;
   }
   body .content .site-index .body-content .row .col-md-3{
    max-width:29%;
}
} 
@media (max-width: 1124px) and (min-width: 990px){
    body .content .site-index .body-content .row .col-md-6{
        max-width:46%;
    }
    body .content .site-index .body-content .row .col-md-3{
     max-width:29%;
 }
 } 

@media (min-width: 768px) and (max-width: 1300px){
    body .content .row .toolbar.row .col-md-8{
        max-width: 45%;
    }
    body .content .row .toolbar.row .col-md-2.pull-right.text-right{
        max-width: 25%;
    }
}

@media (min-width: 768px) and (max-width: 1890px){
    body .content .row .col-md-1.col-md-offset-11{
        max-width:20%;
        margin-left:80%;
    }
}


@media (min-width: 768px) and (max-width: 1500px){
    body .card .card-header .row  .col-md-10{
        flex: 0 0 60%;
        max-width:60%;
    }
    body .card .card-header .row  .col-md-2{
        flex: 0 0 38%;
        max-width:38%;
    }
}


@media (min-width: 767px) and (max-width: 1220px){
    body .content .row .card .card-body .col-md-2{
        flex: 0 0 25%;
        max-width:25%;
    }
}
@media (min-width: 767px) and (max-width: 990px){
    body .content .row .card .card-body .col-md-2{
    margin:auto;
    }  
}

@media (min-width: 767px) and (max-width: 1200px){
    .col-md-9.col-xs-12{
        flex: 0 0 70%;
        max-width: 70%;
    }
    div#rightSide{
        flex: 0 0 30%;
        max-width: 30%;
    }
}
@media (min-width: 767px) and (max-width: 1120px){
    body .wrapper .main-panel .content .row .col-md-9{
        flex: 0 0 85%;
        max-width: 90%;
    }
    body .wrapper .main-panel .content .row .col-md-3{
        flex: 0 0 30%;
        max-width: 30%;
    }
}

@media (min-width: 570px) and (max-width: 1380px){
    body .card-body .col-sm-2{
        flex: 0 0 30%;
        max-width: 30%;
    }
    body .card-body .col-sm-10{
        flex: 0 0 70%;
        max-width: 70%;
    }
}

@media(max-width: 576px){
.col-4{
    max-width: 38.5%;
}
}

button.btn.btn-primary.btn-link{
    display:none;
}

@media screen and (max-width: 991px){
    .navbar-toggle{
        display:block;
    }

}