/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

body[class*="mergado"] .update-nag {
    display: none !important;
    background-color: red;
}

.card.full {
    max-width: 100%;
}

.card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 0;
}

.card .card-header h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    padding-bottom: 0;
}

.mergado__topbar_icon {
    font-size: 11px !important;
    font-weight: bold !important;
    color: #ffffff;
}

#mmpheader {
    margin-left: -20px;
    background: #fff;
}

#mmpheader h1 {
    float: left;
}

#mmpheader .menu {
    float: right;
}

#mmpheader .menu li {
    float: left;
    margin-left: 20px;
}

#mmpheader .menu li a.btn {
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    display: inline-block;
    padding: 4px 20px;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    border-radius: 14px;
    background-color: #067834;
}

#mmpheader .menu li a.btn.btn-header-secondary {
    background-color: #83b726;
}

.clearfix::before,
.clearfix::after {
    display: block;
    clear: both;
    content: "";
}

#mmpabout {
    margin-left: -20px;
    padding: 35px 30px 35px 30px;
    text-align: center;
    color: #fff;
    background: #14a5b8;
}

#mmpabout h3 {
    font-size: 28px;
    text-transform: uppercase;
    color: #fff;
}

#mmpabout p {
    font-size: 18px;
    max-width: 660px;
    margin: 0 auto 20px;
}

#mmpabout img {
    max-width: 1000px;
}

body[class*="mergado_page_mergado"] table label {
    font-weight: bold;
}

.mmp-flash .flash {
    font-size: 14px;
    font-weight: bold;
    margin-top: 20px;
    padding: 15px;
    text-align: center;
    color: green;
    border: 1px solid green;
    background: lightyellow;
}

.mmp-flash .flash-danger {
    font-size: 14px;
    font-weight: bold;
    margin-top: 20px;
    padding: 15px;
    text-align: center;
    color: darkred;
    border: 1px solid darkred;
    background: #ffdede;
}

.mergado_page_mergado-adsys table tr th:nth-child(1) {
    width: 180px;
    min-width: 180px;
}

.mergado-custom-icon {
    display: block;
    float: left;
    width: 18px !important;
    height: 18px !important;
    margin-top: 7px !important;
    margin-right: 5px !important;
    margin-left: 5px !important;
    background-image: url('../img/logo.png');
    background-size: contain;
}

.d-flex {
    display: flex;
    flex-wrap: wrap;
}

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

.pl-10 {
    padding-left: 10px;
}

.cron-inputs input,
.cron-inputs select {
    margin-left: 10px !important;
}

.mergado-updated-notice.update {
    align-items: center;
    border-left-color: #bd0000;
}

.mergado-updated-notice.news {
    align-items: center;
    border-left-color: #06a9b8;
}

.mergado-updated-notice.update p,
.mergado-updated-notice.news p {
    display: flex;
    align-items: center;
}

.mergado-updated-notice.news {
    display: flex;
    padding: 10px;
}

.mergado-updated-notice.news ul {
    list-style-type: circle;
}

.mergado-updated-notice.update a {
    font-weight: bold;
    text-decoration: none;
}

.mergado-updated-notice.update .dashicons {
    font-size: 1.5rem;
    width: auto;
    height: auto;
    margin-right: 10px;
    color: #bd0000;
}

.mergado-updated-notice.news .dashicons {
    font-size: 1.5rem;
    width: auto;
    height: auto;
    margin-right: 10px;
    color: #06a9b8;
}

.mergado-updated-notice.update .dashicons::before,
.mergado-updated-notice.update .dashicons::after {
    width: auto;
    height: auto;
}

.mergado-link {
    font-weight: 400 !important;
    text-decoration: none;
    color: black !important;
}

.mergado-link:hover,
.mergado-link:focus {
    text-decoration: underline !important;
}

.mergado-pb-10 {
    padding-bottom: 10px;
}

.wrap .card.full.UPDATE,
.wrap .card.full.update {
    border-left-width: 5px;
    border-left-color: #bd0000;
}

.wrap .card.full.TOP,
.wrap .card.full.top {
    border-left-width: 5px;
    border-left-color: #bd0000;
}

.mergado-updated-notice {
    position: relative;
    margin: 5px 0 2px;
    padding: 1px 12px;
    border-left: 4px solid #fff;
    background: #fff;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1);
}

/* Main navigation */

.header-logo-mergado {
    height: 23px;
    margin-top: 5px;
}

.mmp-header-top h1 {
    margin: 0;
}

.mmp-header-top a {
    display: inline-block;
    margin-top: 7px;
    margin-bottom: 7px;
}

.mmp-header-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 3px 30px;
    background-color: black;
}

.mmp-header-top .menu {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.header-logo-mmp {
    height: 50px;
}

.mmp-header-bot {
    padding: 0 30px 15px 30px;
    background-color: #14a5b8;
}

.mmp-header-bot h2 {
    font-weight: bold;
    margin: 0;
    padding-top: 25px;
    padding-bottom: 25px;
}

/* Main navigation links */
.mmp-nav-links {
    display: flex;
    flex-wrap: wrap;
}

.mmp-nav-links li a {
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-right: 5px;
    padding: 8px 16px;
    text-decoration: none;
    color: white;
    border: 2px solid white;
    border-radius: 6px;
    outline: none;
}

.mmp-nav-links li a:hover,
.mmp-nav-links li a:focus,
.mmp-nav-links li a:active {
    color: black;
    outline: none;
    background-color: white;
    box-shadow: none;
}

.mmp-nav-links li a.active {
    font-weight: 700;
    color: black;
    background-color: white;
}

h2 {
    font-weight: bold;
}

/* MERGADO TABS */
.mmp_tabs.mmp_tabs__menu {
    display: flex;
    margin-bottom: 0;
    list-style-type: none;
}

.mmp_tabs.mmp_tabs__menu li {
    position: relative;
    margin-bottom: 0;
    border-top: 1px solid #ccd0d4;
    border-right: 1px solid #ccd0d4;
}

.mmp_tabs.mmp_tabs__menu li:first-of-type {
    border-top: 1px solid #ccd0d4;
    border-right: 1px solid #ccd0d4;
    border-left: 1px solid #ccd0d4;
}

.mmp_tabs.mmp_tabs__menu a {
    font-weight: 600;
    display: inline-block;
    padding: 12px 16px;
    text-decoration: none;
    color: grey;
    background-color: white;
}

.mmp_tabs.mmp_tabs__menu a:hover,
.mmp_tabs.mmp_tabs__menu a:focus,
.mmp_tabs.mmp_tabs__menu a:active {
    outline: none;
    box-shadow: none;
}

.mmp_tabs.mmp_tabs__menu li.active a {
    color: black;
}

.mmp_tabs.mmp_tabs__menu li.active::before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 4px;
    content: '';
    background-color: #7fba2c;
}

.mmp_tabs.mmp_tabs__menu li.active::after {
    position: absolute;
    z-index: 9;
    bottom: -2px;
    left: 1px;
    display: block;
    width: calc(100% - 2px);
    height: 4px;
    content: '';
    background-color: white;
}

.mmp_tabs__tab {
    display: none;
}

.mmp_tabs__tab.active {
    display: block;
}

.mmp_tabs__tab .card:first-child {
    margin-top: 0;
}

.mmp-disabled {
    opacity: 0.2;
}

/* Information badges near for fields */
.badge::before {
    line-height: 1.5;
    position: relative;
    display: inline-block;
    margin: 9px 9px 3px 3px;
    padding: 1px 10px;
    content: '';
    color: white;
    background-color: #00a9b8;
}

.badge.badge_info::before {
    content: 'Info';
}

.badge.badge_question::before {
    content: '?';
}

/* Popup */

.mmp-popup {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    visibility: hidden;
    transition: opacity 0.23s;
    opacity: 0;
}

.mmp-popup.active {
    visibility: visible;
    transition: opacity 0.23s;
    opacity: 1;
}

.mmp-popup__background {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
}

.mmp-popup__box {
    min-width: 300px;
    max-width: 100vw;
    max-height: 100vh;
    margin: 20px;
    border-radius: 5px;
    background-color: white;
}

.mmp-popup__output {
    font-size: 15px !important;
}

.mmp-popup.active .mmp-popup__box {
    transition: box-shadow 0.5s, transform 0.5s;
    transform: translateY(-20px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.mmp-popup__box_body {
    min-height: 50px;
    padding: 10px 15px;
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
}

.mmp-popup__content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mmp-popup__box_top {
    padding: 15px;
}

.mmp-popup__title {
    margin: 0;
}

.mmp-popup__box_foot {
    padding: 15px;
    text-align: right;
}

/* BUTTONS */

/*.button.button-primary {*/
/*    border-color: #00919e;*/
/*    background: #00a9b8;*/
/*}*/

/*.button.button-primary:hover,*/
/*.button.button-primary:focus,*/
/*.button.button-primary:active {*/
/*    border-color: #009dab;*/
/*    background: #009dab;*/
/*}*/

/** LOADER **/

.sk-chase {
    position: relative;
    left: calc(50% - 20px);
    width: 40px;
    height: 40px;
    margin: 30px 0;
    animation: sk-chase 2.5s infinite linear both;
}

.sk-chase-dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: sk-chase-dot 2.0s infinite ease-in-out both;
}

.sk-chase-dot:before {
    display: block;
    width: 25%;
    height: 25%;
    content: '';
    animation: sk-chase-dot-before 2.0s infinite ease-in-out both;
    border-radius: 100%;
    background-color: #007cba;
}

.sk-chase-dot:nth-child(1) {
    animation-delay: -1.1s;
}

.sk-chase-dot:nth-child(2) {
    animation-delay: -1.0s;
}

.sk-chase-dot:nth-child(3) {
    animation-delay: -0.9s;
}

.sk-chase-dot:nth-child(4) {
    animation-delay: -0.8s;
}

.sk-chase-dot:nth-child(5) {
    animation-delay: -0.7s;
}

.sk-chase-dot:nth-child(6) {
    animation-delay: -0.6s;
}

.sk-chase-dot:nth-child(1):before {
    animation-delay: -1.1s;
}

.sk-chase-dot:nth-child(2):before {
    animation-delay: -1.0s;
}

.sk-chase-dot:nth-child(3):before {
    animation-delay: -0.9s;
}

.sk-chase-dot:nth-child(4):before {
    animation-delay: -0.8s;
}

.sk-chase-dot:nth-child(5):before {
    animation-delay: -0.7s;
}

.sk-chase-dot:nth-child(6):before {
    animation-delay: -0.6s;
}

@keyframes sk-chase {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes sk-chase-dot {
    80%, 100% {
        transform: rotate(360deg);
    }
}

@keyframes sk-chase-dot-before {
    50% {
        transform: scale(0.4);
    }
    100%, 0% {
        transform: scale(1.0);
    }
}

/* RangeSlider */
.rangeSlider {
    position: relative;
    padding: 2px 10px;
    text-align: center;
    border: 1px solid #ccd0d4;
    border-radius: 3px;
    background-color: white;
}

.rangeSlider span {
    font-size: 14px;
    position: relative;
    z-index: 9;
    color: black;
}

.rangeSlider::before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    height: 100%;
    content: '';
    background-color: #7fba2c;
}

.mmp-cross {
    font-size: 16px;
    position: absolute;
    top: 1px;
    right: 5px;
    color: #828282;
}

.mmp-cross:hover,
.mmp-cross:focus {
    cursor: pointer;
    color: black;
}

.mmp-news__holder {
    display: flex;
    flex-wrap: wrap;
}

.mmp-news__item:hover,
.mmp-news__item:focus,
.mmp-news__item:active {
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.mmp-news__item {
    padding: 10px 20px;
}

.mmp-news__item p {
    margin: 0;
}

.mmp-news__title {
    font-weight: bold;
    padding-bottom: 6px;
}

.mmp-news__date {
    color: #5a5a5a;
}

.mmp-badge {
    font-size: 11px;
    font-weight: 600;
    margin-right: 5px;
    padding: 1px 4px;
    text-transform: capitalize;
    color: white;
    border-radius: 3px;
}

.mmp-badge--top {
    background-color: #bd0000;
}

.mmp-badge--news {
    background-color: #7fba2c;
}

.mmp-badge--update {
    background-color: #06a9b8;
}

@media only screen and (min-width: 768px) {
    form#import-form th {
        width: 40%;
    }
}

.widefat td {
    vertical-align: middle
}

.feed-link-col {
    max-width: 150px;
    word-break: break-all;
}

.feed-link-col a {
    display: block;
    word-break: break-all;
}

@media only screen and (max-width: 1130px) {
    #cron-form tbody tr td .button:nth-child(n+1) {
        margin-top: 5px;
    }
}

@media only screen and (min-width: 768px) {
    #cron-form tbody th {
        width: 170px;
    }

    .feed-link-col {
        max-width: 100px;
    }
}


@media only screen and (min-width: 992px) {
    #cron-form tbody th {
        width: 180px;
    }

    #cron-form tbody tr td {
        width: 400px;
    }
}


@media only screen and (min-width: 1200px) {
    #cron-form tbody th {
        width: 200px;
    }

    #cron-form tbody tr td {
        width: 430px;
    }

    .feed-link-col {
        max-width: 200px;
    }
}

@media only screen and (min-width: 1500px) {
    #cron-form tbody tr td {
        width: 520px;
    }

    .feed-link-col {
        max-width: 500px;
    }
}

.mergado_page_mergado-cron .widefat th input[type="checkbox"] {
    margin-top: 3px;
}

.btn-icon svg {
    height: 15px;
    width: auto;
    padding: 0 5px 0 0;
    margin: -3px 0;
}

/* BTN HOVERS */

.mmp-btn-hover--info svg path,
.mmp-btn-hover--info svg path {
    fill: #0071a1 !important;
}

.mmp-btn-hover--success svg path,
.mmp-btn-hover--success svg path {
    fill: white !important;
}

/*.mmp-btn-hover--danger:hover svg path,*/
/*.mmp-btn-hover--danger:focus svg path,*/
/*.mmp-btn-hover--info:hover svg path,*/
/*.mmp-btn-hover--info:focus svg path,*/
/*.mmp-btn-hover--success:hover svg path,*/
/*.mmp-btn-hover--success:focus svg path {*/
/*    fill: white !important;*/
/*}*/

/*.mmp-btn-hover--danger:hover,*/
/*.mmp-btn-hover--danger:focus {*/
/*    background-color: #d5676f !important;*/
/*    border-color: #d5676f !important;*/
/*    color: white !important;*/
/*}*/

/*.mmp-btn-hover--success:focus,*/
/*.mmp-btn-hover--success:hover {*/
/*    color: white !important;*/
/*    background-color: #72C279 !important;*/
/*    border-color: #72C279 !important;*/
/*}*/


/*.mmp-btn-hover--info:hover,*/
/*.mmp-btn-hover--info:focus {*/
/*    color: white !important;*/
/*    background-color: #00aff0 !important;*/
/*    border-color: #00aff0 !important;*/
/*}*/

.glami-ECO {
    width: 50px;
}

iframe {
    width: 50px;
    min-width: 100%;
}

.wp-core-ui .button-danger,
.wp-core-ui .button-danger:hover,
.wp-core-ui .button-danger:focus {
    background: #d5676f;
    border-color: #d5676f;
    color: white;
}

.mmp-btn-hover--danger svg path,
.mmp-btn-hover--danger svg path {
    fill: white !important;
}

.rowmer .col-side {
    display: none;
    margin-top: 30px;
}

.merwide {
    margin-top: 30px;
}

@media (min-width: 1220px) {
    .merwide {
        margin-top: 30px;
        display: none;
    }

    .rowmer {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .rowmer .col-side.col-side-extra {
        margin-top: 20px;
    }

    .rowmer .col-side {
        display: block;
        margin-top: 0;
        min-width: 320px;
        padding-left: 20px;
        -webkit-box-flex: 0;
        -ms-flex: 0 340px;
        flex: 0 340px;
    }
}

.col-content {
    width: 100%;
}