html {
    min-height: 100%;
    font-family: 'Open Sans', Verdana, sans-serif;
}

body {
    min-height: 100%;
    margin: 0 0;
    font-size: 14px;
    font-weight: 300;
}

h1 {
    margin-bottom: 10px;
    padding: 0;
    font-weight: 300;
}

button {
    box-sizing: border-box;
    padding: 5px 10px;
    border-radius: 3px;
    border: 1px solid #317EEB;
    background-color: #317EEB;
    font-size: 15px;
    font-family: 'Open Sans';
    color: #FFFFFF;
    outline: 0;
}

button:hover:not(:disabled) {
    cursor: pointer;
    background-color: #1760C7;
}

[data-placeholder]:empty:before {
    content: attr(data-placeholder);
    color: #a9a9a9;
    font-size: 14px;
    font-weight: normal;
}

/* Switch button
---------------------------------- */
.switch-btn {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch-btn input {
    width: 0;
    height: 0;
}

.switch-btn span {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 34px;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.switch-btn span:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    border-radius: 50%;
    background-color: white;
    -webkit-transition: .3s;
    transition: .3s;
}

.switch-btn input:checked + span {
    background-color: #00AA00;
}

.switch-btn input:checked + span:before {
    transform: translateX(20px);
}

form .row {
    display: flex;
    margin-bottom: 20px;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
select,
textarea {
    box-sizing: border-box;
    border-radius: 3px;
    border: 1px solid #B9B9B9;
    font-size: 14px;
    outline: 0;
}

input[type="text"],
input[type="number"],
input[type="password"],
select,
textarea {
    padding: 6px 10px;
}

input[type="date"] {
    padding: 4px 10px;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

a:link {
    text-decoration: none;
    color: inherit;
}

a:visited {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

.warn-field {
    border: 1px solid #D60030 !important;
}

.warn-txt {
    color: #D60030 !important;
}

.warn-bg {
    background-color: rgba(214, 0, 48, .2);
}


.ok-field {
    border: 1px solid #00AA00 !important;
}

.ok-txt {
    color: #00AA00 !important;
}

.ok-bg {
    background-color: rgba(0, 170, 0, .2);
}

label.checkbox input {
    display: none;
}

label.checkbox span {
    box-sizing: border-box;
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #DDDDDD;
    background: #FFFFFF;
    transition: 0.3s;
}

label.checkbox input:checked + span {
    background: #00AA00;
}

label.checkbox input:disabled + span {
    background: #EEEEEE;
}

.hidden {
    display: none !important;
}

/* Main wrapper
---------------------------------- */

#main {
    box-sizing: border-box;
    flex: 1 1 auto;
}

#main-content {
    margin: 60px 20px 30px 20px;
}

#main.analytics {
    background-color: #F8F8F8;
}

.stats-panel {
    background: #fff;
}

/* Page wrapper
---------------------------------- */
#wrapper {
    box-sizing: border-box;
    display: flex;
    min-height: 100vh;
}

/* Header
---------------------------------- */

header {
    box-sizing: border-box;
    display: flex;
    position: fixed;
    width: calc(100% - 250px);
    height: 40px;
    background-color: #317EEB;
    text-align: right;
    transition: width .3s ease-out;
    justify-content: space-between;
    align-items: center;
    z-index: 90;
    box-shadow: 0 5px 6px -3px rgba(0, 0, 0, 0.16), 0 5px 6px -3px rgba(0, 0, 0, 0.3);
}

header.analytics {
    background-color: #FBFBFB;
    border-bottom: 1px solid #ddd;
    box-shadow: none;
}

header.extended {
    width: 100%;
    transition: width .3s ease-out;
}

header i {
    font-size: 24px !important;
    color: #FFFFFF;
}

header.analytics i {
    color: #000;
}

header i:hover {
    cursor: pointer;
}

#sidebar-toggle {
    margin-left: 10px;
}

.navbar > li {
    box-sizing: border-box;
    display: inline-block;
    flex-grow: 1;
    margin-right: 10px;
    padding-top: 5px;
    padding-right: 25px;
    padding-bottom: 5px;
    padding-left: 25px;
    border-radius: 7px;
    text-align: center;
}

.navbar a:link,
.navbar span.lnk {
    display: inline-block;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #000000;
}

.navbar a:visited {
    color: #000000;
}

.navbar a:hover {
    text-decoration: none;
    color: #000000;
}

.navbar a:active {
    text-decoration: none;
}

.navbar a:hover:after,
.navbar span.lnk:hover:after {
    text-decoration: none;
    width: 100%;
    background: #D60030;
}

.navbar a:after,
.navbar span.lnk:after {
    content: '';
    display: block;
    margin: auto;
    height: 1px;
    width: 0;
    background: transparent;
    transition: width .3s ease-out, background-color .3s ease-out;
}

.navbar span.lnk:hover {
    cursor: pointer;
}

.navbar-item {
    position: relative;
}

.navbar-item i {
    color: #E2E2E2;
}

.navbar-item:hover i {
    color: #FFFFFF;
}

.navbar-item:hover .navbar-sub {
    visibility: visible;
    opacity: 1;
    z-index: 1;
    transform: translateY(0%);
    transition-delay: 0s, 0s, 0.3s;
}

.navbar-sub {
    position: absolute;
    overflow: auto;
    visibility: hidden;
    opacity: 0;
    top: 100%;
    left: -90px;
    width: 100%;
    min-width: 140px;
    padding-top: 5px;
    padding-bottom: 10px;
    transform: translateY(-1em);
    z-index: -1;
    transition: all 0.3s ease-out 0s;
    border: 1px solid #317EEB;
    background-color: #FFFFFF;
    border-radius: 5px;
}

/* Left sidebar
---------------------------------- */

#sidebar-left {
    box-sizing: border-box;
    overflow: hidden;
    width: 250px;
    background-color: #317EEB;
    transition: width .3s ease-out;
    z-index: 100;
    flex: 0 0 auto;
}

#sidebar-left.analytics {
    /*background-color: #F8F8F8;*/
    background-color: #FBFBFB;
    border-right: 1px solid #ddd;
    font-weight: 400;
}

#sidebar-header {
    box-sizing: border-box;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    position: fixed;
    overflow: hidden;
    width: inherit;
    height: 40px; /* Same as header height */
    /*background-color: #317EEB;*/
    background-color: inherit;
    z-index: 100;
}

#sidebar-left.analytics #sidebar-header {
    border-bottom: 1px solid #ddd;
}

/*#sidebar-header {

}*/

#sidebar-header span {
    margin-left: 20px;
    font-size: 24px;
    color: #FFFFFF;
    white-space: nowrap;
}

#sidebar-left.analytics span {
    color: #000;
}

#sidebar-left.analytics .menu-item a:link,
#sidebar-left.analytics .menu-item a:visited {
    color: #000;
}

#sidebar-content {
    overflow: hidden;
    position: fixed;
    width: inherit;
    z-index: 110;
    margin-top: 40px;
    margin-bottom: 10px;
    max-height: calc(100vh - 50px);
}

#sidebar-left.collapsed {
    width: 0;
    transition: width .3s ease-out;
}

#sidebar-left .scrollbar {
    opacity: 0;
    transition: opacity .2s ease-out;
}

#sidebar-left:hover .scrollbar {
    opacity: 1;
}

/* Panel
---------------------------------- */
.panel {
    overflow-x: hidden;
}

.panel-hd {
    font-size: 17px;
    border-bottom: 1px solid #DDDDDD;
    margin-bottom: 10px;
    padding: 10px 5px;
}

/* Table list
---------------------------------- */

.tbl {
}

.tbl i {
    cursor: pointer;
}

.tbl .tbl-head {
    padding: 0 12px 6px 12px;
    border-bottom: 1px solid #777777;
}

.tbl .tbl-head > li {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: space-between;
    color: #222222;
}

.tbl .tbl-head li > div {
    font-size: 17px;
}

.tbl .tbl-body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.tbl .tbl-body > li {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: space-between;
    padding: 12px 12px 6px 12px;
    border-bottom: 1px solid #dddddd;
    color: #222222;
}

.tbl .tbl-body > li {
    font-size: 14px;
}

.tbl .tbl-body > li label.cb input {
    display: none;
}

.tbl .tbl-body > li label.cb {
    display: inline-flex;
}

.tbl .tbl-body > li label.cb span {
    box-sizing: border-box;
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #cccccc;
    background: #d60030;
    transition: 0.3s;
}

.tbl .tbl-body > li label.cb input:checked + span {
    background: #00aa00;
}


/* status indicators
---------------------------------- */
.status {
    box-sizing: border-box;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    border: 1px solid #CCCCCC;
    width: 36px;
    height: 36px;
}

/* Manufacturers overview page
---------------------------------- */
.tbl .tbl-head li .cell {
    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
}

.tbl .tbl-head li .arrow:before {
    content: "\2195";
    margin: 0 5px 0 0;
    font-size: 15px;
    cursor: pointer;
}

.tbl .tbl-head li .arrow:hover {
    cursor: pointer;
}

.tbl.manfs-overview .tbl-head .status-filter {
    display: block;
    margin: 5px auto 0 auto;
    padding: 0;
    outline: 0;
}

.tbl.manfs-overview .tbl-head .manf-group-filter {
    width: 120px;
    margin: 5px auto 0 auto;
    padding: 1px 0;
    outline: 0;
}

.tbl.manfs-overview .tbl-head .status-filter option {
    font-size: 18px;
}

.tbl.manfs-overview .tbl-head .status-filter option.ok {
    color: #00AA00;
}

.tbl.manfs-overview .tbl-head .status-filter option.warn {
    color: #D60030;
}

.tbl.manfs-overview .tbl-head .status-filter option.rechek {
    color: #d6cb00;
}

.tbl.manfs-overview li .cell {
    box-sizing: border-box;
    margin: 10px 20px;
}

.tbl.manfs-overview .tbl-head .cell span.title {
    font-size: 15px;
}

.tbl.manfs-overview .tbl-head li {
    justify-content: flex-start;
    align-items: center;
}

.tbl.manfs-overview .tbl-head .cell.manf {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-end;
    align-self: stretch;
    width: 290px;
}

.tbl.manfs-overview .tbl-head .cell.manf .sort-manf-name {
    width: 100%;
}

.tbl.manfs-overview .tbl-body.is-hidden {
    visibility: hidden;
}

.tbl.manfs-overview .tbl-body li {
    justify-content: flex-start;
    align-items: flex-start;
    background-color: #FFFFFF;
}

.tbl.manfs-overview .tbl-body .manf-item.is-hidden,
.tbl.manfs-overview .tbl-body .manf-item.is-hidden-manf-group {
    display: none !important;
}

.tbl.manfs-overview li .cell.status-summary {
    width: 70px;
}

.tbl.manfs-overview .tbl-body .cell.manf {
    width: 290px;
}

.tbl.manfs-overview .cell.manf .manf-name a:hover {
    text-decoration: underline;
}

.tbl.manfs-overview li .cell.manf .edit-manf {
    float: right;
    margin-top: 5px;
    margin-left: 30px;
}

.tbl.manfs-overview li .cell.manf .manf-name {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

.tbl.manfs-overview li .cell.manf .is-active-laz {
    font-size: 8px;
    font-weight: 600;
}

.tbl.manfs-overview li .cell.manf .is-active-laz .orange {
    color: #E96329;
}

.tbl.manfs-overview .cell.sku-update {
    width: 100px;
    text-align: right;
}

.tbl.manfs-overview .tbl-head .cell.sku-update {
    align-self: flex-end;
}

.tbl.manfs-overview li .cell.spec-status,
.tbl.manfs-overview li .cell.page-status {
    width: 58px;
    text-align: center;
}

.tbl.manfs-overview li .cell.spec-status .status,
.tbl.manfs-overview li .cell.page-status .status,
.tbl.manfs-overview li .cell.links-status .status {
    margin: 0 auto;
    flex-flow: row wrap;
}

.tbl.manfs-overview li .cell.spec-status .status div,
.tbl.manfs-overview li .cell.page-status .status div,
.tbl.manfs-overview li .cell.links-status .status div {
    flex: 1 0 100%;
    font-size: 12px;
}

.tbl.manfs-overview li .cell.spec-status .last-check,
.tbl.manfs-overview li .cell.page-status .last-check {
    font-size: 12px;
    text-align: center;
}

.tbl.manfs-overview li .cell.links-status {
    width: 58px;
    text-align: center;
}

.tbl.manfs-overview li .cell .status.ok,
.tbl.manfs-overview li .cell .status.ok {
    background-color: #00AA00;
    color: #FFFF00;
}

.tbl.manfs-overview li .cell .status.recheck,
.tbl.manfs-overview li .cell .status.recheck {
    background-color: #FFFF00;
}

.tbl.manfs-overview li .cell .status.warn,
.tbl.manfs-overview li .cell .status.warn {
    background-color: #D60030;
    color: #FFFF00;
}

.tbl.manfs-overview li .cell .status.warn-mild {
    background-color: #FFFF00;
}

.tbl.manfs-overview li .cell.force-recheck {
    align-self: center;
}

.tbl.manfs-overview li .cell.force-recheck .force-recheck-btn {
    display: block;
    font-size: 18px;
    color: #555555;
}

.tbl.manfs-overview li .cell.force-recheck .in-progress {
    display: none;
    font-size: 16px;
    color: #555555;
    pointer-events: none;
}

.tbl.manfs-overview li .cell.force-recheck.is-checking .force-recheck-btn {
    display: none;
}

.tbl.manfs-overview li .cell.force-recheck.is-checking .in-progress {
    display: block;
}


.tbl.manfs-overview li .cell.linkchecker-schedule {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    align-self: center;
    position: relative;
}

.tbl.manfs-overview li .cell.linkchecker-schedule .linkchecker-schedule-btn {
    display: block;
}

.tbl.manfs-overview li .cell.linkchecker-schedule .in-progress {
    font-size: 16px;
    color: #555555;
    pointer-events: none;
    display: none;
}

.tbl.manfs-overview li .cell.linkchecker-schedule.is-checking .linkchecker-schedule-btn {
    display: none;
}

.tbl.manfs-overview li .cell.linkchecker-schedule.is-checking .in-progress {
    display: block;
}

.tbl.manfs-overview li .cell.linkchecker-schedule .linkchecker-schedule-btn:hover {
    cursor: pointer;
}

.tbl.manfs-overview li .cell.linkchecker-schedule .info {
    width: 70px;
    margin-right: 15px;
}

.tbl.manfs-overview li .cell.linkchecker-schedule .info > div {
    text-align: center;
}

.tbl.manfs-overview li .cell.linkchecker-schedule .linkchecker-schedule-opts {
    position: absolute;
    display: flex;
    flex-flow: row nowrap;
    top: 30px;
    right: -10px;
    padding: 5px 2px;
    background-color: #F5F5F5;
    border: 1px solid #DDDDDD;
    border-radius: 5px;
}

.tbl.manfs-overview li .cell.linkchecker-schedule .linkchecker-schedule-opts select {
    padding: 2px 5px;
    margin: 0 5px;
}

.tbl.manfs-overview li .cell.edit-sku {
    align-self: center;
    text-align: center;
    margin-left: auto;
}

.tbl.manfs-overview li .cell.edit-sku:hover {
    color: #777;
}

.tbl.manfs-overview .tbl-body .manf-item {
    display: none;
}

.tbl.manfs-overview .tbl-body .manf-item.has-active-fams {
    display: flex;
}

.tbl.manfs-overview .tbl-body.show-inactive .manf-item.has-active-fams {
    display: none;
}

.tbl.manfs-overview .tbl-body.show-inactive .manf-item {
    display: flex;
}

.tbl.manfs-overview .manf-update .switch-btn span {
    background-color: #d60030;
}

.tbl.manfs-overview .manf-update .switch-btn input:checked + span {
    background-color: #00AA00;
}

.track-urls-c {
    margin: 50px 0;
    padding: 0 0 25px 0;
    border-bottom: 1px solid #bbb;
}

.track-urls-c .toggle-track-urls {
    cursor: pointer;
}

.track-url-list-c {
    margin: 30px 0;
}

.track-url-list-c.is-hidden {
    display: none;
}

.track-url-list-c .track-url-inp {
    width: 100%;
    max-width: 1000px;
}

.track-urls-tbl {
    margin: 30px 0 0 0;
}

.track-urls-tbl .url {
    flex: 1 1 auto;
}

.track-urls-tbl .cell.date-scraped {
    width: 150px;
}

.track-url-item.warn .url {
    color: #ff6100;
}

.tbl.track-urls-tbl a:hover {
    text-decoration: underline;
}

/* Family overview page
---------------------------------- */
#family-overview-nav {
    display: flex;
    flex-flow: row nowrap;
}

#family-overview-nav li {
    box-sizing: border-box;
    display: block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    margin: 0 20px 30px 0;
    border: 1px solid #dddddd;
    text-align: center;
    color: #222222;
    cursor: pointer;
}

#family-overview-nav li:last-of-type {
    margin: 0 0 0 auto;
}

.family-groups-c.is-hidden {
    display: none;
}

.family-groups-c {
    display: block
}

.fam-group-opts {
    width: 300px;
    margin: 0 0 30px 0;
}

.tbl.fam-group-items .cell {
    margin-right: 20px;
    font-size: 15px;
}

.tbl.fam-group-items .cell .title {
    font-size: 15px;
}

.tbl.fam-group-items a:hover {
    text-decoration: underline;
}

.tbl.fam-group-items .image {
    width: 80px;
}

.tbl.fam-group-items .image img {
    max-width: 100%;
    height: auto;
}

.tbl.fam-group-items .group-name {
    width: 250px;
}

.tbl.fam-group-items .fam-group-inp,
.tbl.fam-group-items .fam-name-inp {
    width: 100%;
}

.tbl.fam-group-items .buttons-c {
    margin: 5px 5px 0 0;
    text-align: right;
}

.tbl.fam-group-items .buttons-c .fa-check {
    color: #00AA00;
}

.tbl.fam-group-items .buttons-c .fa-save:hover {
    color: #555;
}

.tbl.fam-group-items .fam-code {
    width: 120px;
    word-break: break-all;
}

.tbl.fam-group-items .fam-name {
    width: 250px;
}

.tbl.fam-group-items .active-laz {
    width: 60px;
}

.tbl.fam-group-items .active-laz div {
    width: 36px;
    height: 36px;
    border: 1px solid #CCCCCC;
    margin: 0 auto;
}

.tbl.fam-group-items .active-laz.active div {
    background: #00AA00;
}

.tbl.fam-group-items .manf-page,
.tbl.fam-group-items .manf-spec {
    width: 250px;
    word-break: break-all;
}

.tbl.fam-group-items .spec-date {
    width: 90px;
}

.tbl.fam-group-items .search-opts-changed {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-end;
    width: 50px;
}

#create-fam-toggle.is-disabled {
    pointer-events: none;
    opacity: .6;
}

.tbl.family-overview.is-hidden {
    display: none;
}

.tbl.family-overview .tbl-body .fam-item.is-hidden {
    display: none;
}

.tbl.family-overview .cell.family {
    width: 300px;
}
.tbl.family-overview .tbl-head .cell.family {
    text-align: left;
}

.tbl.family-overview .tbl-head .cell span.title {
    font-size: 15px;
}

.tbl.family-overview .tbl-head .cell {
    text-align: center;
}

.tbl.family-overview .tbl-head .status-filter {
    display: block;
    margin: 5px auto 0 auto;
    padding: 0;
    outline: 0;
}

.tbl.family-overview .tbl-head .status-filter option {
    font-size: 18px;
}

.tbl.family-overview .tbl-head .status-filter option.ok {
    color: #00AA00;
}

.tbl.family-overview .tbl-head .status-filter option.warn {
    color: #D60030;
}

.tbl.family-overview .tbl-head .status-filter option.rechek {
    color: #d6cb00;
}

.tbl.family-overview .tbl-head > li {
    align-items: stretch;
}
.tbl.family-overview .tbl-head .cnt {
    margin: auto 0 0 0;
    padding: 10px 0 0 0;
    font-weight: 600;
    font-size: 14px;
    color: #ff8c00;
}

.tbl.family-overview .tbl-head .cnt .cnt-remaining {
    font-weight: 400;
    color: #ada5a5;
}

.tbl.family-overview .cell {
    box-sizing: border-box;
    margin: 5px 0;
    width: 65px;
}

.tbl.family-overview .cell .status {
    margin: 0 auto;
}

.tbl.family-overview .cell .date-inf {
    width: 60px;
    margin: 0 auto;
    text-align: center;
    font-size: 12px;
}

.tbl.family-overview .cell.status-summary .status {
    margin: 0;
}

.tbl.family-overview .cell.status-summary {
    width: 70px;
}

.tbl.family-overview .tbl-body .cell.family {
    display: flex;
    flex-flow: row nowrap;

}

.tbl.family-overview .tbl-body .cell.family .images {
    width: 90px;
    margin-right: 10px;
    flex: 0 0 80px;
}

.tbl.family-overview .tbl-body .cell.family img {
    max-width: 100%;
    height: auto;
}

.tbl.family-overview .tbl-body .cell.family .fam-info a:hover {
    text-decoration: underline;
}

.tbl.family-overview .cell.active-laz {
    width: 67px;
}

.tbl.family-overview .cell.active-mnf {
    width: 85px;
}

.tbl.family-overview .cell.duplicate {
    display: none;
}

/* Archived family */
.tbl.family-overview .archived-fams-hd {
    display: none;
    margin: 60px 0 10px 0;
    padding: 0 0 5px 0;
    border-bottom: 1px solid #000000;
    font-size: 18px;
}

.tbl.family-overview.create-fam .archived-fams-hd {
    display: block;
}

.tbl.family-overview.create-fam .fam-archive-btn {
    cursor: pointer;
}

.tbl.family-overview .tbl-body.archived .fam-item {
    display: none;
}

.tbl.family-overview.create-fam .tbl-body.archived .fam-item {
    display: flex;
}

.tbl.family-overview.create-fam .tbl-body .fam-item .fa-archive {
    color: #BBBBBB;
}

.tbl.family-overview.create-fam .tbl-body.archived .fam-item.is-archived .fa-archive {
    color: #000000;
}

.tbl.family-overview.create-fam .cell.duplicate {
    display: flex;
    justify-content: center;
    margin-left: 20px;
}

.tbl.family-overview .cell.archive {
    display: none;
}

.tbl.family-overview.create-fam .cell.archive {
    display: flex;
    justify-content: center;
    margin-left: auto;
}

.tbl.family-overview .create-fam-li {
    display: none;
}

.tbl.family-overview.create-fam .create-fam-li {
    display: flex;
}

.tbl.family-overview.create-fam li #show-create-fam {
    box-sizing: border-box;
    display: block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border: 1px solid #dddddd;
    text-align: center;
    color: #222222;
    cursor: pointer;
}

.tbl.family-overview.create-fam .cell:not(.status):not(.duplicate):not(.family):not(.archive) {
    display: none;
}

.tbl.family-overview .cell.featured {
    width: 35px;
}

.tbl.family-overview .cell.featured .star {
    display: inline-block;
    margin: -3px 0 0 0;
}

.tbl.family-overview .cell.fam-page-preview,
.tbl.family-overview .cell.fam-search-preview {
    width: 50px;
}

.tbl.family-overview .cell.active {
    width: 55px;
}

.tbl.family-overview .tbl-body .cell .status.ok {
    background-color: #00AA00;
    color: #FFFF00;
}

.tbl.family-overview .tbl-body .cell .status.warn {
    background-color: #D60030;
    color: #FFFF00;
}

.tbl.family-overview .tbl-body cell.ok {
    background-color: #D60030;
    color: #FFFF00;
}

.tbl.family-overview .cell.featured span.star:before {
    content: "\2606";
    font-size: 20px;
}

.tbl.family-overview .cell.featured.is-featured span.star:before {
    content: "\2605";
    font-size: 20px;
}

.tbl.family-overview .cell.active-laz,
.tbl.family-overview .cell.active-mnf,
.tbl.family-overview .cell.fam-page-preview,
.tbl.family-overview .cell.fam-search-preview,
.tbl.family-overview .cell.search-opts-changed,
.tbl.family-overview .cell.archive {
    text-align: center;
}

.tbl.family-overview .cell.fam-page-preview i,
.tbl.family-overview .cell.fam-search-preview i {
    font-size: 16px;
    color: #222222;
}

.tbl.family-overview .tbl-body .cell.search-opts-changed {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-end;
}

.tbl.family-overview .tbl-body .cell label.checkbox.round span {
    border-radius: 50%;
    border: 1px solid #777777;
}

.tbl.family-overview .sku-lock-status,
.tbl.fam-group-items .sku-lock-status {
    margin: 0 0 0 20px;
}

.tbl.family-overview .sku-lock-status.locked:before,
.tbl.fam-group-items .sku-lock-status.locked:before {
    font-family: FontAwesome;
    content: "\f023";
    display: block;
    color: #D60030;
    font-size: 18px;
    pointer-events: none;
}

.tbl.family-overview .sku-lock-status.locked.unlock:before,
.tbl.fam-group-items .sku-lock-status.locked.unlock:before {
    content: '\f13e';
    color: #00AA00;
    cursor: pointer;
    pointer-events: all;
}

.tbl.family-overview .tbl-body .cell.downloads {
    text-align: center;
    cursor: pointer;
}

.tbl.family-overview .tbl-body .cell .d-name {
    opacity: .4;
}

.tbl.family-overview .tbl-body .cell.has-file .d-name {
    font-weight: bold;
    opacity: 1;
    color: #00AA00;
}

.fam-downloads-form {
    margin: 30px;
}

.fam-downloads-form .form-section {
    margin: 0 0 20px 0;
}

.fam-downloads-form .resource-list .resource-w {
    margin: 0 0 7px;
    padding: 3px 5px;
    display: grid;
    grid-template-columns: 1fr 100px 50px;
    gap: 10px;
}

.fam-downloads-form .resource-list .resource-w:nth-child(even) {
    background-color: #FAFAFA;
}

.fam-downloads-form h4 {
    margin: 7px 0;
}

.fam-downloads-form input[type="file"] {
    margin: 10px 0;
}

.fam-downloads-form .del-btn {
    margin: 0 0 0 10px;
    cursor: pointer;
}

.fam-downloads-form .del-btn:hover {
    color: #d60030;
}

/* Create family */
#popwin.create-fam {
    width: 300px;
}

#popwin.create-fam form {
    width: 200px;
    margin: 30px auto;
}

#popwin.create-fam form .fam-code,
#popwin.create-fam form .create-fam-btn {
    width: 100%;
}

/* Duplicate family */
#popwin.duplicate-fam-pw {
    width: 400px;
}

#popwin.duplicate-fam-pw form {
    width: 350px;
    margin: 30px auto;
}

#popwin.duplicate-fam-pw form .fam-alt-code {
    width: 150px;
}

#popwin.duplicate-fam-pw form .fam-type {
    margin: 0 10px;
}

#popwin.duplicate-fam-pw form .msg {
    margin-bottom: 5px;
}

#popwin.duplicate-fam-pw form .msg.warn {
    color: #D60030;
}

#popwin.duplicate-fam-pw form .duplicate-fam-btn:disabled {
    opacity: .7;
}

/*Families status overview */
.fams-links-overview {
    box-sizing: border-box;
    width: 100%;
    height: 300px;
    margin: 50px 0;
    overflow-y: auto;
    border: 1px solid #ccc;
}

.fams-links-overview.is-hidden {
    display: none;
}

.fams-links-overview .manf-site-urls {
    margin: 0 20px 20px 20px;
}

.fams-links-overview .manf-site-urls li {
    margin: 5px 0;
}

.fams-links-overview .manf-site-urls li.url-compare-excluded,
.fams-links-overview .manf-site-urls li.status-1,
.fams-links-overview .manf-site-urls li.status-2 {
    display: none;
}

.fams-links-overview .manf-site-urls.all li.url-compare-excluded,
.fams-links-overview .manf-site-urls.all li.status-1,
.fams-links-overview .manf-site-urls.all li.status-2 {
    display: block;
}

.fams-links-overview .manf-site-urls li a {
    text-decoration: none;
    margin-left: 10px;
}

.fams-links-overview .manf-site-urls li.status-0 a {
    color: #000;
    opacity: .5;
}

.fams-links-overview .manf-site-urls li.status-1 a {
    color: #000;
}

.fams-links-overview .manf-site-urls li.status-2 a {
    color: #FF6100;
}

.fams-links-overview .manf-site-urls li.status-3 a {
    color: #0093ea;
}

.fams-links-overview .manf-site-urls li label.checkbox input:checked + span {
    background: #FFFFFF;
    position: relative;
}

.fams-links-overview .manf-site-urls li label.checkbox input:checked + span:after {
    content: "\2714";
    font-size: 11px;
    position: absolute;
    top: -3px;
    left: 1px;
    color: #333333;
}

.fam-links-overview-buttons {
    margin: 10px 20px 20px 20px;
}

.fam-links-overview-buttons .view-all-links-toggle {
    cursor: pointer;
}


/* Family page
---------------------------------- */

#fam-controls {
    display: flex;
    flex-flow: row nowrap;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dddddd;
}

#fam-controls .fam-info {
    padding-top: 15px;
}

#fam-controls .fam-info .fam-name {
    margin-right: 30px;
    font-weight: 600;
}

#fam-controls .fam-info .manf-name {
    margin-top: 15px;
    font-weight: 600;
}

#fam-controls .status-controls {
    display: flex;
    flex-flow: row nowrap;
    margin-left: auto;
}

#fam-controls .status-controls li {
    margin-left: 10px;
    width: 50px;
}

#fam-controls .status-controls li .txt {
    height: 25px;
    line-height: 25px;
    margin: 0 auto;
    text-align: center;
    font-size: 11px;
}

#fam-controls .status-controls li .txt i {
    font-size: 14px;
}

#fam-controls .status-controls li .status {
    margin: 0 auto;
    position: relative;
}

#fam-controls .status-controls li .status .status-select {
    box-sizing: border-box;
    align-self: flex-start;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
    width: 100px;
    margin-top: 2px;
    margin-right: 2px;
    margin-left: auto;
    cursor: pointer;
}

#fam-controls .status-controls li .status .status-select .caret {
    box-sizing: border-box;
    width: 16px;
    height: 12px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid #555555;
    border-bottom: 0px solid transparent;
}

#fam-controls .status-controls li .status .status-select .status-options {
    box-sizing: border-box;
    position: absolute;
    visibility: hidden;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    padding: 3px 0;
    border-radius: 3px;
}

#fam-controls .status-controls li .status .status-select .status-options li {
    width: auto;
    margin-left: 0;
    white-space: nowrap;
    margin: 3px 0;
    padding: 0 10px;
    font-size: 12px;
}

#fam-controls .status-controls li .status .status-select .status-options i {
    display: none;
}

#fam-controls .status-controls li .status .status-select .status-options .is-active i {
    display: inline-block;
}

#fam-controls .status-controls li .status .status-select .status-options li:hover span {
    text-decoration: underline;
}

#fam-controls .status-controls li .status .status-select .status-options {
    position: absolute;
    right: -1px;
}

#fam-controls .status-controls li .status .status-select .status-options {
    visibility: hidden;
}


#fam-controls .status-controls li .status .status-select:hover .status-options {
    visibility: visible;
    top: 12px;
}

#fam-controls .status-controls li .date-inf {
    width: 100%;
    font-size: 11px;
    text-align: center;
}

#fam-controls .status-controls li .status label input {
    display: none;
}

#fam-controls .status-controls li .status label span {
    box-sizing: border-box;
    display: block;
    width: 14px;
    height: 14px;
    border: 1px solid #777777;
    background: #FFFFFF;
    border-radius: 50%;
    transition: 0.3s;
}

#fam-controls .status-controls li .status label input:checked + span {
    background: #00AA00;
}

#fam-controls.is-archived .status-controls li .status {
    background-color: #C0C0C0;
}

#fam-controls.is-archived .status-controls li .status label,
#fam-controls.is-archived .status-controls li .status:not(.family) .status-select .caret {
    display: none !important;
}

#fam-controls .status-controls li .status.family .status-select li.archive {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
}


/*#fam-qa {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

#fam-qa .panel {
    box-sizing: border-box;
    width: 48%;
    padding: 0 5px;
    border: 1px solid #dddddd;
}

#fam-qa .panel .qa-controls {
    display: flex;
    flex-flow: row nowrap;
    margin: 0 0 15px 0;
}

#fam-qa .panel .qa-controls li {
    margin-right: 10px;
    text-align: center;
}

#fam-qa .panel .qa-controls li .txt {
    font-size: 11px;
}

#fam-qa .panel .qa-controls li:first-of-type {
    margin-right: 30px;
}

#fam-qa .panel .qa-controls li:last-of-type {
    margin-left: 30px;
}

#fam-qa .panel .qa-controls li i {
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    text-align: center;
    border: 1px solid #ccc;
    line-height: 34px;
}

#fam-qa .panel .comments {
    box-sizing: border-box;
    height: 250px;
    border: 1px solid #ddd;
    margin-bottom: 5px;
}*/

/*#fam-manage .tab-buttons {
    display: flex;
    flex-flow: row nowrap;
}

#fam-manage .tab-buttons .tab-btn {
    box-sizing: border-box;
    padding: 5px 20px;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
    cursor: pointer;
}

#fam-manage .tab-buttons .tab-btn:first-of-type {
    border-left: 1px solid #ddd;
}

#fam-manage .tab-buttons .tab-btn.active {
    background-color: #317EEB;
    color: #FFFFFF;
    cursor: default;
}*/

#fam-edit {
    box-sizing: border-box;
    /*border: 1px solid #ddd;*/
    /*padding: 10px 15px 0 15px;*/
}

#fam-edit .row label {
    display: block;
    margin-bottom: 2px;
}

#fam-edit .row.fam-names input {
    width: 100%;
}

#fam-edit .row.fam-names .group {
    margin-right: 20px;
}

#fam-edit .row.fam-names .group:last-child {
    margin-right: 0;
}

#fam-edit .group.fam-code {
    width: 180px;
}

#fam-edit .group.fam-group {
    width: 200px;
}

#fam-edit .group.fam-name {
    flex: 1 1 auto;
}
#fam-edit .group.featured {
    text-align: center;
}

#fam-edit .group.url {
    flex: 1 1 auto;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

#fam-edit .group.url input {
    width: 100%;
}

#fam-edit .group.url .spinner-container {
    margin-left: 10px;
}

#fam-edit .group.url .spinner-container i {
    font-size: 14px;
}

#fam-edit .group.external-link .btn {
    display: block;
    box-sizing: border-box;
    height: 31px;
    line-height: 31px;
    margin: 0 20px;
    padding: 0 10px;
    border: 1px solid #B9B9B9;
    border-radius: 3px;
    cursor: pointer;
}

#fam-edit input[name="url_date"]:read-only {
    width: 170px;
    border: 0;
    padding-left: 0;
    background-color: #FFFFFF;
}

#fam-edit input[name="pdf_date"] {
    width: 170px;
    background-color: #FFFFFF;
}

#fam-edit span.star:before {
    content: "\2606";
    font-size: 20px;
}

#fam-edit label.cb-star input {
    display: none;
}

#fam-edit label.cb-star span:before {
    content: "\2606";
    font-size: 20px;
}

#fam-edit label.cb-star input:checked + span:before {
    content: "\2605";
    color: #00AA00;
}

#fam-edit label.cb input {
    display: none;
}

#fam-edit label.cb span {
    box-sizing: border-box;
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #cccccc;
    background: #fff;
    transition: 0.3s;
}

#fam-edit label.cb input:checked + span {
    background: #00aa00;
}

#fam-edit .fam-descr-wrapper {
    box-sizing: border-box;
    width: 1005px;
}

#fam-edit .fam-descr-wrapper .html-editor {
    border: 1px solid #ddd;
}

#fam-edit .fam-descr-wrapper .html-edit-box {
    height: 800px;
}

#fam-edit .images {
    margin-left: auto;
    padding: 10px;
    border: 1px solid #ddd;
}

#fam-edit .images .fam-img-wrapper {
    box-sizing: border-box;
    position: relative;
    width: 400px;
    margin: 0 auto 20px auto;
    border: 1px solid #ddd;
}

#fam-edit .images .fam-img-wrapper .controls {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-end;
    margin: 7px 10px;
    visibility: hidden;
}

#fam-edit .images .fam-img-wrapper .controls label {
    margin-bottom: 0;
    cursor: pointer;
}

#fam-edit .images .fam-img-wrapper .controls label input {
    display: none;
}

#fam-edit .images .fam-img-wrapper .controls label span {
    box-sizing: border-box;
    display: block;
    width: 14px;
    height: 14px;
    border: 1px solid #777777;
    background: #FFFFFF;
    border-radius: 50%;
    transition: 0.3s;
}

#fam-edit .images .controls label input:checked + span {
    background: #BBBBBB;
}

#fam-edit .images .controls .fam-img-del {
    margin-right: 14px;
    font-size: 16px;
    cursor: pointer;
}

#fam-edit .images .controls .fam-img-del:hover {
    color: #D60030;
}

#fam-edit .images .fam-img-wrapper.has-image .controls {
    visibility: visible;
}

#fam-edit .images .fam-img-wrapper .fam-img {
    box-sizing: border-box;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    width: 400px;
    height: 250px;
    cursor: pointer;
}

#fam-edit .images .fam-img-wrapper span.fam-add-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

#fam-edit .images .fam-img-wrapper.has-image span.fam-add-img {
    display: none;
}

#fam-edit .images .fam-img img {
    max-width: 95%;
    max-height: 95%;
    height: auto;
}

#fam-downloads-c {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 50px;
    margin: 20px 0 70px 0;
}

#fam-downloads-c .resource-name {
    margin: 0 20px 0 0;
    font-weight: 600;
}

#fam-downloads-c input[type="file"] {
    display: none;
}

#fam-downloads-c .btn {
    box-sizing: border-box;
    padding: 1px 7px;
    border-radius: 3px;
    border: 1px solid #317EEB;
    background-color: #317EEB;
    color: #FFFFFF;
    outline: 0;
    cursor: pointer;
}

#fam-downloads-c .spinner-w {
    margin: 0 0 0 20px;
    display: none;
}

#fam-downloads-c .spinner-w.is-visible {
    display: inline;
}

#fam-downloads-c .resource-list {
    margin: 20px 0;
}

#fam-downloads-c .resource-w {
    display: flex;
    flex-flow: row nowrap;
    padding: 3px;
}

#fam-downloads-c .resource-w:hover {
    background-color: #F0F0F0;
}

#fam-downloads-c .resource-w .date {
    margin: 0 20px 0 auto;
}

#fam-downloads-c .resource-w .del-btn:hover {
    cursor: pointer;
    color: #D60030;
}

/* Image Cropper
---------------------------------- */

#image-cropper {
    overflow: hidden;
    width: 900px;
    margin: 20px;
}

#image-cropper .cr-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 800px;
    height: 500px;
    outline: 3px solid gray;
    margin: 20px auto;
    cursor: move;
}

#image-cropper .cr-buttons {
    display: flex;
    flex-flow: row nowrap;
    width: 806px;
    margin: 20px auto 10px auto;
}

#image-cropper .cr-buttons button {
    min-width: 36px;
    margin-right: 10px;
}

#image-cropper .cr-buttons button.save-fam-img {
    margin-left: auto;
    margin-right: 0;
}

#image-cropper .cr-buttons label.cr-upload-img input {
    display: none;
}

/* HTML Editor
---------------------------------- */
.html-editor {
    width: 1005px;
    white-space: pre-line;
}

.html-editor .toolbar {
    display: flex;
    flex-flow: row wrap;
    align-items: baseline;
    padding: 7px 0 7px 7px;
    border-bottom: 1px solid #ddd;
    font-size: 12px;
}

.html-editor .toolbar i {
    font-weight: normal;
    margin-right: 12px;
    cursor: pointer;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.html-editor .html-edit-box {
    box-sizing: border-box;
    outline: none;
    padding: 7px;
    height: 400px;
    border-bottom: 1px solid #ddd;
    overflow-y: scroll;
}

.html-editor .fam-descr {
    font-family: 'Raleway';
    font-size: 13px;
    line-height: 1.6em;
}

.html-editor .fam-descr .hd {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
}

.html-editor .fam-descr .hd-small {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
}

.html-editor .fam-descr .txt-small {
    font-size: 12px;
}

.html-editor ul {
    list-style-type: disc;
    padding-left: 40px;
}

.html-editor ul li {
    font-family: inherit;
}

.family-descr b {
    font-weight: 700;
}

.family-descr sup {
    font-size: smaller;
}

.family-descr sub {
    font-size: smaller;
}

/* User Visits stats
---------------------------------- */

.tbl.user-visits .tbl-head li .cell {
    width: 12%;
}

.tbl.user-visits .tbl-body > li {
    flex-flow: row wrap;
}

.tbl.user-visits .tbl-body li .cell {
    width: 12%;
}

.tbl.user-visits .tbl-body li .cell.visits-list {
    width: 100%;
    flex: 1 1 100%;
    margin-top: 15px;
}

/* Data transfer
---------------------------------- */
.data-transfer-wrapper {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.data-transfer-wrapper .panel {
    width: 40%;
    margin: 50px 30px 0 30px;
}

.data-transfer-wrapper .tbl.data-transfer {
    margin: 30px 0;
}

.data-transfer-wrapper .tbl.data-transfer .cell.transfer {
    flex: 1 1 auto;
}

.data-transfer-wrapper .tbl.data-transfer .msg {
    margin-bottom: 20px;
}

.data-transfer-wrapper .tbl.data-transfer .cell.auto-switch {
    width: 60px;
    margin: 0 30px;
    text-align: center;
}

.data-transfer-wrapper .tbl.data-transfer .cell.transfer-buttons {
    width: 60px;
    margin: 0 30px;
    text-align: center;
    display: flex;
    flex-flow: row nowrap;
}

.data-transfer-wrapper .tbl.data-transfer .cell.transfer-buttons .transfer-btn i {
    font-size: 20px;
}

.data-transfer-wrapper .tbl.data-transfer .cell.transfer-buttons .transfer-btn.inactive i {
    color: #D60030;
}

.data-transfer-wrapper .tbl.data-transfer-settings .tbl-body li {
    border-bottom: 0;
}

@media (max-width: 1100px) {
    .data-transfer-wrapper {
        width: 100%;
    }

    .data-transfer-wrapper .panel {
        width: 100%;
        margin: 50px 0;
    }

    .data-transfer-wrapper .tbl.data-transfer .cell.transfer {
        /*flex: 1 0 auto;*/
        width: 33%;
    }

    .data-transfer-wrapper .tbl.data-transfer .cell.auto-switch {
        margin-left: auto;
    }

    .data-transfer-wrapper .tbl.data-transfer .cell.transfer-buttons {
        margin: 0;
    }
}

/* Brand
---------------------------------- */
#create-brand-c {
    margin: 30px 0 20px 0;
}

.toggle-create-brand {
    box-sizing: border-box;
    display: block;
    width: 36px;
    height: 36px;
    margin: 0 0 20px 0;
    border: 1px solid #dddddd;
    line-height: 36px;
    text-align: center;
    color: #222222;
    cursor: pointer;
}

#create-brand-c .brand-inp {
    width: 250px;
}

#create-brand-c .brand-inp,
#create-brand-c .create {
    display: none;
}

#create-brand-c.is-active .brand-inp,
#create-brand-c.is-active .create {
    display: inline-block;
}

.tbl.brands {
    margin: 0 0 50px 0;
}

.tbl.brands .edit {
    margin: 0 20px 0 auto;
}

.tbl.brands .del:hover {
    color: #D60030;
}

#edit-brand {
    width: 800px;
    margin: 0 0 0 20px
}

#edit-brand section {
    margin: 0 0 50px 0;
}

#edit-brand button {
    display: block;
    margin: 10px 0 0 0;
}

#edit-brand input[type="text"] {
    width: 100%;
}

#edit-brand .search-banner-c {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
    justify-content: space-between;
    margin: 50px 0 0 0;
}

#edit-brand .del-banner-btn {
    display: none;
    font-size: 16px;
    cursor: pointer;
    color: #D60030;
}

#edit-brand .banner-img + .del-banner-btn {
    display: block;
}

#edit-brand .banner-img {
    max-width: 90%;
    height: auto;
    margin: 0 0 30px 0;
}

/* Manufacturer Groups
-------------------------------- */

#manf-groups-c {
    margin: 30px 0 20px 0;
}

.toggle-create-manf-group {
    box-sizing: border-box;
    display: block;
    width: 36px;
    height: 36px;
    margin: 0 0 20px 0;
    border: 1px solid #dddddd;
    line-height: 36px;
    text-align: center;
    color: #222222;
    cursor: pointer;
}

#manf-groups-dd {
    width: 200px;
}

.tbl.manf-groups {
    margin: 30px 0;
}

.tbl.manf-groups .edit {
    box-sizing: border-box;
    width: 240px;
    padding: 5px;
    font-size: 14px;
    outline: none;
    border: 0 !important;
}

.tbl.manf-groups .del:hover {
    color: #D60030;
}

.tbl.manf-groups li:hover {
    background-color: #F9F9F9;
}

#manf-groups-c .manf-group-inp,
#manf-groups-c .create {
    display: none;
}

#manf-groups-c.is-active .manf-group-inp,
#manf-groups-c.is-active .create {
    display: inline-block;
}

#manf-grouping-c {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

#manf-grouping-c .item-w {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-start;
}

/* Homepage Sliders
-------------------------------- */

.adm-homepage-sliders {
    width: 60%;
}

#create-slide-form {
    width: 60%;
    display: flex;
    flex-direction: column;
    margin-bottom: 100px;
}

#create-slide-form label {
    margin-bottom: 5px;
}

#create-slide-form input, #slide-form button {
    margin-bottom: 10px;
}

#create-slide-form #image-container {
    position: relative;
    display: inline-block;
}

#create-slide-form #preview-slide {
    max-width: 100%;
    max-height: 200px;
}

#create-slide-form #remove-image {
    display: none;
    position: absolute;
    top: 5px;
    right: 35px;
    background-color: white;
    color: red;
    border: 1px solid red;
}
/*Sliders forms update img prev*/
.update-slider-form .image-container{
    position: relative;
    display: inline-block;
}
.update-slider-form .preview-slide{
    max-width: 100%;
    max-height: 200px;
}
.update-slider-form .remove-image{
    display: none;
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: white;
    color: red;
    border: 1px solid red;
}
/*End Sliders forms */

.update-slider-btn {
    background-color: orange;
    border: 1px solid #e1a819;
}

.update-slider-btn :hover {
    background-color: #f8d493;
    border: 1px solid #e1a819;
}

.sliders-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.adm-homepage-sliders .slider img {
    width: auto;
    height: 190px;
    margin-bottom: 14px;
    max-width: 100%;
    cursor: pointer;
}

.adm-homepage-sliders .slider form input {
    margin-bottom: 20px;
}

.adm-homepage-sliders .slider form input[type="text"] {
    width: 100%;
}

/* Inspiration's CSS */
#add-project-gallery {
    box-sizing: border-box;
    display: block;
    border: 1px solid #dddddd;
    text-align: center;
    color: #222222;
    cursor: pointer;
    padding: 8px;
}

.f-lft input[type="text"], input[type="number"], input[type="password"], select, textarea {
    width: 100%;
}

#categs {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 22px;
}

#family-codes-wrap {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    margin-top: 1rem;
}

#family-codes-wrap div {
    display: flex;
    flex: 0 0 30%;
    margin-bottom: 1.5rem;
    margin-right: 3.3%;
    align-items: center;
}

#family-codes-wrap div i {
    cursor: pointer;
    padding: 6px;
    font-size: 18px;
}

#manfs-fc, #codes-fc {
    width: 20%;
}

.f-lft label {
    margin: 18px 0 4px;
    display: block;
}

.mid-container {
    text-align: center;
    padding: 14px;
}

ul.breadcrumb {
    margin: 10px 0 20px 0;
    list-style: none;
}

ul.gallery-heads li {
    box-sizing: border-box;
    display: inline-block;
    margin: 0 50px 30px 0;
    border: 1px solid #dddddd;
    text-align: center;
    color: #222222;
    cursor: pointer;
    padding: 8px;
}

ul.gallery-heads li a {
    color: #222222;
}

ul.specs-list {
    max-width: 400px;
    display: grid;
    grid-gap: 10px 20px;
}

ul.specs-list li a {
    box-sizing: border-box;
    display: block;
    border: 1px solid #dddddd;
    text-align: center;
    color: #222222;
    cursor: pointer;
    padding: 8px;
}

.specs-edit {
    max-width: 400px;
}

.specs-edit li {
    box-sizing: border-box;
    border: 1px solid #dddddd;
    text-align: center;
    color: #222222;
    padding: 8px;
    margin-bottom: 6px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-gap: 16px;
    align-items: center;
}

.specs-edit i {
    cursor: pointer;
    padding: 2px 8px;
    font-size: 16px;
}

.specs-edit .spec input {
    border: none !important;
}

/* Display list items side by side */
ul.breadcrumb li {
    display: inline;
}

/* Add a slash symbol (/) before/behind each list item */
ul.breadcrumb li + li:before {
    padding: 8px;
    color: black;
    content: "/\00a0";
}

.edit-gallery-container {
    display: grid;
    grid-template-columns: auto 420px;
    grid-gap: 12px;
    margin: 12px 0;
}

.edit-gallery-container .f-lft {
    margin-right: 100px;
}

.gallery-img-wrapper {
    box-sizing: border-box;
    position: relative;
    width: 400px;
    margin: 0 auto 20px auto;
    border: 1px solid #ddd;
    padding: 12px;
}

.gallery-img-wrapper .controls {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-end;
    margin: 7px 10px;
}

.gallery-img-wrapper .controls i {
    cursor: pointer;
}

.gallery-img-wrapper .controls i:hover {
    color: #D60030;
}

.gallery-img-wrapper input {
    width: 100%;
}

.gallery-img {
    box-sizing: border-box;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    width: 400px;
    height: 250px;
    cursor: pointer;
}

.gallery-img img {
    max-width: 95%;
    max-height: 95%;
    height: auto;
}

/* Manufacturer contacts
-------------------------------- */

#manf-contacts-c {
    margin: 30px 0;
}

#manf-contacts-c.is-hidden {
    display: none;
}

#create-manf-contact-frm {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    width: 1000px;
    margin: 20px 0 0 0;
}

#create-manf-contact-frm.is-hidden {
    display: none;
}

#create-manf-contact-frm input {
    width: 200px;
    margin: 0 20px 0 0;
    padding: 6px 10px;
    border: 0;
    border-bottom: 1px solid #A0A0A0;
}

#create-manf-contact-frm input[type=text].warn,
#create-manf-contact-frm input[type=email].warn {
    border-bottom: 1px solid #D60030;
}

.manf-contacts-list {
    width: 1000px;
    margin: 20px 0 0 0;
    border-top: 1px solid black;
}

.manf-contact-item {
    display: grid;
    grid-template-columns: 250px 260px 150px 200px 100px;
    gap: 10px;
    margin: 7px 0;
}

.manf-contact-item .save,
.manf-contact-item .cancel-edit {
    display: none;
}

.manf-contact-item .show-edit,
.manf-contact-item .del {
    display: inline-block;
}

.manf-contact-item.is-edit .save,
.manf-contact-item.is-edit .cancel-edit {
    display: inline-block;
}

.manf-contact-item.is-edit .show-edit,
.manf-contact-item.is-edit .del {
    display: none;
}

.manf-contact-item .del:hover {
    color: #d60030;
}

.manf-contact-item .controls {
    text-align: right;
}

.manf-contact-item .controls span {
    margin: 0 0 0 15px;
    cursor: pointer;
}

.manf-contact-item .controls i {
    font-size: 18px;
}

.manf-contact-item [contenteditable="true"] {
    display: inline-block;
    min-width: 50px;
    padding: 5px 3px;
    outline: 0;
    border-bottom: 1px solid #B9B9B9;
}

.manf-contact-item .warn[contenteditable="true"] {
    border-bottom: 1px solid #D60030;
}

/*** Blog Post ***/

/*Show all posts page*/
.posts-list {
    width: 600px;
}

.posts-list li {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    margin: 0 0 15px 0;
    padding: 0 5px 3px 5px;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.posts-list li .set-active {
    margin: 0 0 0 auto;
}

.del-post-btn {
    margin-left: 20px;
    cursor: pointer;
}

#new-post-btn {
    margin: 0 0 30px 0;
}

/*End show all posts*/

/*Create New Post Page and Edit Post Page*/
#msg {
    color: red;
    font-weight: bold;
    padding: 10px;
    width: 100%;
    text-align: center;
}

.editor-landing {
    max-width: 950px;
    padding: 20px 0
}

#editorjs {
    background: #fff;
    border-radius: 8px;
    -webkit-box-shadow: 0 24px 24px -18px rgba(69, 104, 129, .33), 0 9px 45px 0 rgba(114, 119, 160, .12);
    box-shadow: 0 24px 24px -18px rgba(69, 104, 129, .33), 0 9px 45px 0 rgba(114, 119, 160, .12);
    font-size: 16px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.simple-image {
    padding: 20px 0;
}

.simple-image input,
.simple-image [contenteditable] {
    width: 100%;
    padding: 10px;
    border: 1px solid #e4e4e4;
    background: #fff;
    box-sizing: border-box;
    border-radius: 3px;
    outline: none;
    font-size: 14px;
}

.simple-image img {
    max-width: 100%;
    margin-bottom: 15px;
}

.simple-image.withBorder img {
    border: 1px solid #e8e8eb;
}

.simple-image.withBackground {
    background: #eff2f5;
    padding: 10px;
}

.simple-image.withBackground img {
    display: block;
    max-width: 60%;
    margin: 0 auto 15px;
}

.category-container .categories {
    width: 200px;
    /*    margin: 0 10px 10px 0;*/
}

.create-post-head-c {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    width: 950px;
}

.create-post-head-c #post-title {
    width: 100%;
    margin: 0 0 20px 0;
}

.save-post-btn-c {
    width: 950px;
    margin: 10px 0 0 0;
    overflow: auto;
}

.save-post-btn-c .btn {
    float: right;
    min-width: 80px;
}

/*End Create New Post Page and Edit Post Page*/

/*Post category*/

.save-category {
    visibility: hidden;
}

#post-categories-list-c {
    width: 400px;
    margin: 30px 0;
}

#post-categories-list-c .categ-item {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    margin: 0 0 5px 0;
    border-bottom: 1px solid #ddd;
}

#post-categories-list-c .categ-item i {
    margin: 0 0 0 20px;
    cursor: pointer;
}

#post-categories-list-c .categ-item .save-category {
    margin-left: auto;
}

#post-categories-list-c input {
    width: 70%;
    margin: 0 0 2px 0;
    border: 0;
    background-color: #F7F7F7;
}

#post-categories-list-c input:read-only {
    /*border: 0;*/
    background-color: #fff;
}

#cat-ul {
    display: flex;
    flex-flow: row wrap;
    margin: 30px 0;
}

.cursor-p {
    cursor: pointer;
}

/*End Post category*/

/*Advertisement section*/
.adv-filters {
    width: 800px;
    display: flex;
    align-items: center; /* Adjust vertical alignment */
    justify-content: space-between; /* This spreads the items evenly across the container */
}

.adv-list {
    width: 800px;
    display: grid;
    grid-template-columns: repeat(3, .2fr);
    margin-left: 50px;
    padding-bottom: 10px;
}

.adv-title {
    font-weight: bold;
}

.adv-manf-select {
    /*margin-top: 20px;*/
    width: 300px;
    height: 30px;
    border-radius: 5px;
    overflow-y: auto;
}

.view-clicks-list {
    margin-top: 30px;
}

.adv-stat-panel {
    width: 400px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* This creates two columns of equal width */
    gap: 10px; /* This adds some space between the grid items */
    /*padding: 20px; !* Optional: Adds some padding inside the stat-panel *!*/
}

.adv-top-states {
    border-radius: 5px;
    min-width: 400px;
    box-shadow: 0 1px 2px 0 rgb(60 65 65 / 35%), 0 1px 3px 1px rgb(60 65 66 / 15%);
}

.adv-top-states .top-title {
    margin-left: 20px;
}

.top-states-views-list, .top-states-clicks-list {
    padding: 0 0 10px 10px;
}

.top-states-views-list .view-data-li-container {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
}

.top-states-clicks-list .view-data-li-container {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
}

#loading-indicator {
    display: none;
    position: fixed;
    padding: 20px;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-left-color: #09f;
    animation: spin 1s ease infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*classes related to advertisement charts*/
.manfs-views-clicks-graph {
    width: 800px;
    height: 300px;
    /*margin: 30px*/
}

.adv-manf-btn {
    cursor: pointer;
}

#mvc-graph-tooltip {
    position: absolute;
    visibility: hidden;
    padding: 10px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    pointer-events: none;
}

#manf-adv-map-id {
    margin-top: 50px;
    width: 900px;
    height: 600px;
}

/*classes & ids related to advertisement charts END*/

/*Advertisement section End*//* Custom scrollbar
---------------------------------- */

.scrollable {
    box-sizing: border-box;
    visibility: hidden;
    overflow-x: hidden;
    overflow-y: auto;
    width: calc(100% + 18px);
    padding-right: 18px;
}

.scrollable-wrapper {
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.scrollable-wrapper .scrollable {
    visibility: visible;
}

.scrollbar {
    box-sizing: border-box;
    position: absolute;
    right: 0;
    width: .6rem;
    background-color: red;
    border-radius: .6rem;
}

.scrollbar.hidden {
    display:none;
}
/* Log in
---------------------------------- */

#login-frm {
    width: 30rem;
    margin-top: 5rem;
    margin-right: auto;
    margin-left: auto;
}

#login-frm input[type="text"],
#login-frm input[type="password"],
#login-frm button {
    display: block;
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Sidebar menu
---------------------------------- */

#sidebar-left .scrollbar {
    opacity: 0;
    transition: opacity .2s ease-out;
}

#sidebar-left:hover .scrollbar {
    opacity: 1;
}

#menu-sidebar {
    margin-top: 3rem;
    margin-left: 2rem;
    max-height: calc(100vh - 5rem);
}

.menu-item {
    margin-bottom: 1rem;
}

.menu-item a:link {
    text-decoration: none;
    color: #FFFFFF;
}

.menu-item a:visited {
    text-decoration: none;
    color: #FFFFFF;
}

.menu-item a:hover {
    text-decoration: underline;
}

.menu-item a:active {
    text-decoration: underline;
}

.menu-sub {
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
    max-height: 0;
    min-width: 14rem;
    margin-left: 2rem;
    transition: all .45s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.menu-sub.expanded {
    overflow-y: hidden;
    max-height: none;
}

.menu-sub-toggle {
    color: #FFFFFF;
}

.menu-sub-toggle:hover {
    cursor: pointer;
    text-decoration: underline;
}

/* Slide
---------------------------------- */
.slide {
    box-sizing: border-box;
    overflow: hidden;
    max-height: none;

}

.slide.collapsed {
    max-height: 0;
}

/* Custom scrollbar
---------------------------------- */

.scrollable {
    box-sizing: border-box;
    visibility: hidden;
    overflow-x: hidden;
    overflow-y: auto;
    width: calc(100% + 18px);
    padding-right: 18px;
}

.scrollable-wrapper {
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.scrollable-wrapper .scrollable {
    visibility: visible;
}

.scrollbar {
    box-sizing: border-box;
    position: absolute;
    right: 0;
    width: 6px;
    background-color: #A9A9A9;
    border-radius: 6px;
}

.scrollbar.hidden {
    display: none;
}
/* Log in
---------------------------------- */

#login-frm {
    width: 300px;
    margin-top: 50px;
    margin-right: auto;
    margin-left: auto;
}

#login-frm input[type="text"],
#login-frm input[type="password"],
#login-frm button {
    display: block;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Popup
---------------------------------- */
#win-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #DDDDDD;
    opacity: 0.3;
    z-index: 110;
}

#popwin {
    position: absolute;
    width: 80%;
    max-width: 1000px;
    min-height: 50px;
    margin: 0 auto;
    right: 0;
    left: 0;
    background-color: #FFFFFF;
    border: 1px solid #CECECE;
    z-index: 120;
    box-shadow: 3px 3px 7px rgba(50, 50, 50, .3);
}

#popwin-close {
    position: absolute;
    top: 7px;
    right: 7px;
    font-size: 18px;
    color: #777777;
}

#popwin-close:hover {
    color: #000000;
    cursor: pointer;
}/* Sidebar menu
---------------------------------- */

#menu-sidebar {
    margin-top: 30px;
    margin-left: 20px;
    max-height: calc(100vh - 50px);
}

.menu-item {
    margin-bottom: 10px;
}

.menu-item a:link {
    text-decoration: none;
    color: #FFFFFF;
}

.menu-item a:visited {
    text-decoration: none;
    color: #FFFFFF;
}

.menu-item a:hover {
    text-decoration: underline;
}

.menu-item a:active {
    text-decoration: underline;
}

.menu-sub {
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
    max-height: 0;
    min-width: 140px;
    margin-left: 20px;
    transition: all .45s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.menu-sub.expanded {
    overflow-y: hidden;
    max-height: none;
}

.menu-sub-toggle {
    color: #FFFFFF;
}

.menu-sub-toggle:hover {
    cursor: pointer;
    text-decoration: underline;
}

