/* ------------------------------------------------------------------------------- 
    ADMIN STYLES
------------------------------------------------------------------------------- */
/*
 * General
 */
html {
    position: relative;
    overflow-y: scroll;
}
body {
    padding-top: 60px;
}
footer {
    clear:both;
    padding: 10px 0;
    background: #f5f5f5;
}

/*
 * Fix nav styling for links without href 
 */
.nav a, 
.pagination a, 
.carousel a, 
.panel-title a { 
    cursor: pointer; 
}

/*
 * Navbar
 */
.navbar-fixed-top {
    background: #241e20;
    border: 0;
}
.navbar-inverse .navbar-brand,
.navbar-brand {
    margin: 10px 0;
    padding: 0 15px;
    width: auto;
    height: auto;
    color: #fff;
    font-size: 16px;
}
.navbar-inverse p.navbar-brand {
    margin-top:18px;
}
.navbar-inverse p.navbar-brand strong{
    margin-right:10px;
}
.navbar-inverse p.navbar-brand span{
    color: #777;
}
.navbar-inverse p.navbar-brand img{
    margin-right: 15px;
}

.navbar-nav>li>a {
  padding-top: 19px;
  padding-bottom: 18px;
}

/*
 * Sidebar
 */
/* Hide for mobile, show later */
.sidebar {
    display: none;
}
@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 60px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 10px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        background-color: #f5f5f5;
        border-right: 1px solid #eee;
    }
}
/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}
.nav-sidebar > li > a {
    padding-right: 20px;
    padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    color: #fff;
    background-color: #428bca;
}
.sidebar .list-group {
    margin-bottom: 10px;
}

/*
 * Menu
 */
.list-group-item {
    padding: 5px 10px;
}


/*
 * Main content
 */

h1 {
    margin: 0 0 .72em;
}
.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.main {
    padding: 20px;
}
@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 40px;
    }
}
.main .page-header {
  margin-top: 0;
}
.form-group {
    overflow:hidden;
}


/*
 * Placeholder dashboard ideas
 */
.placeholders {
    margin-bottom: 30px;
    text-align: center;
}
.placeholders h4 {
    margin-bottom: 0;
}
.placeholder {
    margin-bottom: 20px;
}
.placeholder img {
    display: inline-block;
    border-radius: 50%;
}

/*
 * Signin form
 */
.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}
.form-signin h2 {
    text-align: center;
    margin-bottom: 20px;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin:0 0 10px 25px;
}
.form-signin .checkbox {
    font-weight: normal;
}
.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}
.form-signin .form-control:focus {
    z-index: 2;
}
.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.form-signin .alert {
    margin-top: 10px;
}

.panel.no-top{
    border-top:0; 
    border-top-left-radius:0;
    border-top-right-radius:0;
}

/*
 * Table list
 */
input.search {
    width:150px !important;
}

.db-list img{
    max-width:80px;  
}
p.bg-info {
    padding: 20px;
    clear:both;
}
.db-list .group-actions{
    width:40px;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}
.db-list .actions{
    width:80px;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}
.db-list .actions.wide{
    width:120px;
}
.db-list .actions a{
    margin: 0 5px;
    font-size:1.2em;
    color: #999;
    cursor: pointer;
}
.db-list .actions a:hover{
    color: #666;
    text-decoration: none;
}
.pagination{
    margin-top: 8px;
}

.filters {
    padding: 5px 15px 5px 0;
}
.filters label {
    float: left;
    padding: 8px 6px 0 0;
}
.filters select {
    float: left;
    margin: 0 6px 0 0;
    width: auto;
}


/*
 * Edit
 */
.edit-container {
    padding: 0 0 65px;
}
.edit-container .bottom-nav {
    position: absolute; 
    bottom: 40px; 
    right: 40px;
}
.no-gutter {
    margin-left: 0;
    margin-right: 0;
}
label.col-sm-2 {
    padding-top: 6px;
}

.no-gutter [class*='col-']:not(:first-child),
.no-gutter [class*='col-']:not(:last-child) {
    padding-right: 0;
    padding-left: 0;
}
.clear-both{
    clear: both;
}
input[type="file"]{
    margin-right:10px;
}
.panel-body h2{
    margin:0 0 15px;
    padding: 0 0 5px;
    font-size: 1.4em;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}
.panel-body h2.en{
    color:#0082ff;
}
.panel-body h2.es{
    color:#d60707;
}
.panel-body h2.eu {
    color:#319b02;
}
.panel-body h2.fr{
    color:#071fd6;
}
.panel-body h4{
    margin-bottom: 20px;
    padding: 8px 10px;
    background: #eee;
}

.image-thumbnail-container{
    position: relative;
    margin: 10px 0 0;
    max-width: 150px;
    text-align: center;
}
.image-thumbnail-container span {
    display: block;
    width: 90%;
    bottom: 10px;
    left: 5%;
    position: absolute;
    padding: 5px;
    background: rgba(0,0,0,.7);
    color: #fff;
    font-size: .8em;
}
.file-thumbnail-container {
    display: block;
    margin: 8px 0;
}
.file-thumbnail-container a {
    display: block;
    padding: 5px 10px;
    background: #efefef;
    text-decoration: none;
}
.file-thumbnail-container a:hover {
    background: #e9e9e9;
}
.file-thumbnail-container .bg-info {
    white-space: nowrap;
    width: fit-content;
}

.col-sm-10 .mce-tinymce {
    width: 99.5% !important;
}

.mce-fullscreen {
    z-index: 2000 !important;
}

/*
 * Image-doc list popup
 */
 .image-thumbnail-container,
 .file-thumbnail-container {
    position: relative;
    margin: 10px 0 0;
    max-width: 150px;
    text-align: center;
}
.image-thumbnail-container span {
    display: block;
    width: 90%;
    bottom: 10px;
    left: 5%;
    position: absolute;
    padding: 5px;
    background: rgba(0,0,0,.7);
    color: #fff;
    font-size: .8em;
}
.file-thumbnail-container {
    margin: 8px 0;
    padding: 0 5px;
}
.file-thumbnail-container a,
.file-thumbnail-container em {
    display: block;
    padding: 5px 10px;
    background: #efefef;
    text-decoration: none;
    
}

.file-thumbnail-container a:hover {
    background: #e9e9e9;
}
.asset-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;

    list-style: none;
    margin: 0;
    padding: 0; 
}
.asset-list .icon {
    width: 100%;
    font-size: 40px;
    color: black;
}

.asset-list li .select {
    display: block;
    position: relative;
    margin: 0 0 5px;
    word-break: break-all;
}
.asset-list li a.select {
    cursor: pointer;
}
.asset-list li a.select:hover img{
    background: #4189c8;
}

.asset-list li.image-thumbnail-container {
    width: 18%;
    margin: 5px 0;
}
.asset-list li.file-thumbnail-container {
    width: 18%;
    margin: 0;
}
.asset-list li.file-thumbnail-container .select{
    font-size: 12px;
}

.stock th.model {
    width: 35%;
}
.stock th.size,
.stock td.size {
    text-align: left;
}
.stock h2.type{
    margin: 0;
    padding: 15px 10px;
    background: #aaa !important;
}
.stock h3.category {
    margin: 1px 0 0;
    padding: 10px;
    background: #eee url(images/arrow-down.png) no-repeat right center;
    cursor: pointer;
}
.stock h3.category.opened {
    background-image: url(images/arrow-up.png);
}
.stock .table {
    margin-bottom: 0;
}
.stock table td {
    font-size: 13px;
}
.stock table label {
    display: inline-block;
    width: auto;
    margin-left: 6px;
}
.stock table input{
    display: inline-block;
    width: 60px;
}
.stock table span{display: block;
    padding-top: 10px;
}

.stock table .has-success input {
    background: #e8ffea;
}

.stock table .has-error input {
    background: #ffe8e8;
}

/*
sortables
*/
body.dragging, body.dragging * {
    cursor: move !important;
}

.dragged {
    position: absolute;
    opacity: 0.5;
    z-index: 2000;
}
.sorted_table tr.placeholder {
    display: block;
    background: red;
    position: relative;
    margin: 0;
    padding: 0;
    border: none; 
}
.sorted_table tr.placeholder:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-left-color: red;
    margin-top: -5px;
    left: -5px;
    border-right: none; 
}

.modal-footer {
    padding-bottom: 0 !important;
}


/*
manual
*/
.manual .tab-pane {
    padding: 20px 20px 5px;
    border: 1px solid #ddd;
    border-top: 0;
    border-radius: 4px;
}
.manual .tab-content {
    position: relative;
}
.manual .tab-content li {
    padding: 3px;
}
.manual .tab-content .nav > li {
    padding: 0;
}
.manual .tab-content .nav > li > a {
    padding: 3px;
}
.manual .tab-content .nav > li > a:hover,
.manual .tab-content .nav > li.active > a {
    background: none;
}
.manual ol {
    margin-top: 20px;
}

.manual .tab-content .affix-nav {
    position: absolute;
    top: 100px;
    right: 30px;
    width: 140px;
    font-size: 13px;
}
.manual .tab-content #tienda-cont .affix-nav {
    top: 30px;
}
.manual .tab-content .affix-nav .nav {
    padding-left: 5px;
    font-size: 11px;
}
.manual .tab-content .affix-nav.affix,
.manual .tab-content #tienda-cont .affix-nav.affix {
    position: fixed;
    top: 91px;
    right: 71px;
}

/* plpupload */
.upload-container {
    overflow: hidden;
    padding-bottom: 5px;
}
.upload-container .upload-file-list {
    width: 100%;
    margin: 0 0 10px;
    padding: 10px 10px 5px;
    background: #eee;
    border: 1px solid #ccc;
}
.upload-container .upload-file-list ul {
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 0;
}
.upload-container .upload-file-list ul .image-thumbnail-container {
    float: left;
    margin: 5px 11px 5px 0;
    max-width: 150px;
    cursor:move; 
    cursor:-webkit-grab; 
    cursor:-moz-grab; 
    cursor:grab;
}
.upload-container .upload-file-list ul .image-thumbnail-container .delete-file{
    position: absolute; 
    top: -5px;
    right: -5px;
}
.upload-container .upload-widget {
    float: left;
}


/* tinymce custom blocks */
.tinymce-blocks .form-inline {
    margin: 15px 0;
}
.tinymce-blocks .panel-img {
    position: relative;
    padding-top: 58.5%;
}
.tinymce-blocks .panel-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    padding: 5px;
}
.tinymce-blocks .panel {
    cursor: pointer;
}
.tinymce-blocks .content-html {
    display: none;
}