html {
    position: relative;
    min-height: 100%;
}
body {
    margin: 0;
    margin-bottom: 80px; /* Margin bottom by footer height + 20px */
}
hr {
    border-color: #000;
    border-width: 2px;
}

select > option[disabled="disabled"] {
    color: #ccc;
}

body:not(.page--media):not(.page--adsocy-tests):not(.page--besocy-tests) > .container-fluid {
    padding: 90px 20px 0 !important;
}

/* Header */
.header {
    background-color: #000;
    color: #fff;
    -webkit-box-shadow: 0 0 20px rgba(0,0,0,0.8);
    -moz-box-shadow: 0 0 20px rgba(0,0,0,0.8);
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}
.header-content {
    display: table;
    width: 100%;
}
.header-content > * {
    display: table-cell;
    vertical-align: middle;
}
.header-content .back,
body.page--password-reset .title .back {
    width: 36px;
}
.header-content .back a,
body.page--password-reset .title .back a {
    border: solid #007bff;
    border-width: 6px 0 0 6px;
    color: #000;
    display: inline-block;
    vertical-align: middle;
    padding: 10px;
    width: 0;
    height: 0;
    overflow: hidden;
    -webkit-transform: rotate(-45deg) translate(4px, 2px);
    transform: rotate(-45deg) translate(4px, 2px);
    -webkit-transition : border 0.15s ease-in-out;
    -moz-transition : border 0.15s ease-in-out;
    -o-transition : border 0.15s ease-in-out;
    transition : border 0.15s ease-in-out;
}
.header-content .back a:hover,
body.page--password-reset .title .back a:hover {
    border-color: #fff;
}
.header-content .logo {
    width: 70px;
    padding-right: 10px;
}
.header-content .logo img {
    width: 100%;
    max-width: 60px;
    min-height: 60px;
    max-height: 60px;
    background-color: #fff;
    color: #000;
    font-size: 10px;
    line-height: 100%;
    object-fit: contain;
}
.header-content .title {
    text-align: left;
    line-height: 80%;
}
.header-content .title small {
    color: #999;
    font-size: 70%;
}
.header-content .menu > * {
    float: right;
    margin: 1px 0 1px 3px !important;
}

body[data-mobile="1"] .header-content .title {
    font-size: 1.5rem;
}
body[data-mobile="1"] .header-content .logo {
    display: none;
}

/* Sticky Header */
body:not(.page--media):not(.page--adsocy-tests):not(.page--besocy-tests) .header {
    position: fixed;
    width: 100%;
    z-index: 999;
}
body:not(.page--media):not(.page--adsocy-tests):not(.page--besocy-tests) > .container {
    padding-top: 90px;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
    background-color: #fff;
    border-top: 2px solid #000;
}
.footer a {
    font-weight: bold;
}

/* Tables */
.table td, .table th {
    padding: 0.5rem;
    border-top: none;
    border-bottom: 1px solid #c4c5c6;
    vertical-align: middle;
}
.table thead th {
    border-top: none;
    border-bottom: 2px solid #000;
}
.table thead th.separator {
    width: 20px;
    padding: 0;
}
body.page--admin .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .03);
}
.table tbody tr:last-child:not(.new) td {
    border-bottom: 2px solid #000;
}
#last-articles-results .table tbody tr:last-child td {
    border-bottom: none;
}
.table tbody tr.new td {
    border: none;
    border-top: 2px solid #000;
}
.table tbody td.mat-active-toggle > span {
    cursor: pointer;
    width: 3em;
}
.table tbody td.mat-active-toggle > span:not(.btn) .fa-times {
    color: #dc3545;
}
.table tbody td.mat-active-toggle > span:not(.btn) .fa-check {
    color: #28a745;
}
.table tbody td.mat-active,
.table tbody td.phase {
    text-align: center;
    font-weight: bold;
}
.table tbody td.mat-active-0,
.table tbody td.phase-1 {
    background: #6c757d;
    color: #fff;
}
.table tbody td.mat-active-1,
.table tbody td.phase-2 {
    background: #28a745;
    color: #fff;
}
table tr.in-production {
    border: 3px solid #28a745 !important;
}
table tr.in-production > td {
    background-color: #c3e6cb !important;
}
.clickable-row {
    cursor: pointer;
}
body.page--admin .phase-toggle > span {
    font-weight: bold;
}
body.page--admin[data-type="manager"] .phase-toggle > span[data-value="2"] {
    color: #28a745;
}
.page--admin-articles-check table td .error {
    font-weight: bold;
    color: red;
}
.page--admin-media table td.description {
    padding: 0.4rem 0.5rem;
}
.page--admin-media table td.description div.token {
    line-height: 1.2;
    font-size: 70%;
}
.page--admin-media table td.description div.private {
    line-height: 1.2;
    font-weight: bold;
}
.page--admin-media table td.description div.public {
    line-height: 1.2;
    font-size: 100%;
}
.page--admin-media table td.description div.token small {
    font-weight: bold;
    opacity: 0.6;
}
.page--admin-media table td.token-links {
    width: 15em;
}
.page--admin-users table td:not(.new) {
    padding: 0.2rem 0.5rem;
    line-height: 1.2;
}
.page--admin-users table td.media-info small {
    margin-bottom: 2px;
    color: rgba(0, 0, 0, 0.5);
    font-size: 70%;
}
.page--admin-users table tr.user.table-info {
    border: 3px solid #72c8d5 !important;
}

/* Media Info table */
table#media-info th {
    font-size: 90%;
}
table#media-info th.mat-active {
    width: 8em;
}
table#media-info th.phase {
    width: 5em;
}
table#media-info th.articles {
    width: 13em;
}
table#media-info th.stats {
    width: 12em;
}
table#media-info th.prod-tokens {
    width: 16em;
}
table#media-info th.mat-sessions {
    width: 14em;
}
table#media-info th.conversions {
    width: 14em;
}
body.page--admin-media-stat table#media-info tbody tr:nth-child(1) td {
    border-bottom: 2px solid #000;
}
body.page--admin-media-stat table#media-info tbody tr:nth-child(2) td {
    border-bottom: none;
}
body.page--admin-media-stat table#media-info td.dates input {
    float: left;
    width: calc(50% - 10px);
    margin: 0 5px;
}

/* Last Articles */
#last-articles table .art-title,
#last-articles table .art-published {
    font-size: 13px;
}
#last-articles-header th {
    border: none;
}
#last-articles-header {
    border-bottom: 2px solid #000;
}
#last-articles-results {
    overflow-y: auto;
    max-height: 455px;
    border-bottom: 2px solid #000;
}
#last-articles-results td.art-title a {
    font-weight: bold;
    color: #1877dd;
}
#last-articles-results td.art-title small {
    display: block;
}
#last-articles-header th.art-published,
#last-articles-results td.art-published {
    width: 8em;
}
#last-articles-results td.art-published {
    font-size: 11px;
}
#last-articles-header th.art-remove,
#last-articles-results td.art-remove {
    width: 7em;
}

/* Articles Stats */
#stats-chart-container {
    margin: 20px 0 0;
    border-bottom: 2px solid;
    padding-bottom: 20px;
}
#articles-stats table {
    text-align: right;
}
#articles-stats table th {
    font-size: 90%;
    line-height: 100%;
}
#articles-stats table td {
    padding: 0.1rem 0.5rem;
    font-size: 12px;
}
#articles-stats table tr.total td {
    background-color: #ddd;
    font-weight: bold;
}
#articles-stats table th,
#articles-stats table td {
    width: 9%;
}
#articles-stats table th.unique,
#articles-stats table td.unique {
    width: 12%;
}
#articles-stats table th.conversion,
#articles-stats table td.conversion {
    width: 12%;
}
#articles-stats table th.date,
#articles-stats table td.date {
    width: auto;
}

/* MAT - Modal */
.mat-modal .background {
    position: absolute;
    z-index: 9998;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.mat-modal .form {
    position: fixed;
    z-index: 9999;
    left: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: -150px;
    padding: 10px;
    width: 300px;
    background: #eee;
    -webkit-box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.mat-modal.spc-anchors .form {
    background: #fff;
}
.mat-modal.size-small .form {
    width: 300px;
    margin-left: -150px;
}
.mat-modal.size-normal .form {
    width: 450px;
    margin-left: -225px;
}
.mat-modal.size-big .form {
    width: 600px;
    margin-left: -300px;
}
.mat-modal.size-full .form {
    width: calc(100% - 40px);
    margin-left: calc(-50% + 20px);
}
.mat-modal label,
.mat-modal .message {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}
.mat-modal .message {
    text-align: center;
    margin-bottom: 10px;
}
.mat-modal .message pre {
    text-align: left;
    background: #ddd;
    padding: 10px 20px;
    width: 100%;
    max-height: 400px;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}
.mat-modal input {
    margin-bottom: 10px;
    width: 100%;
    padding: 2px 5px;
}
.mat-modal .buttons {
    text-align: center;
}

/* MAT - MEDIA CAMPAIGNS (Stats) */
body.page--admin-media-campaigns table {
    font-size: 85%;
}
body.page--admin-media-campaigns table th.id {
    width: 5em;
}
body.page--admin-media-campaigns table th.date {
    width: 10em;
}
body.page--admin-media-campaigns table th.asigned {
    width: 11em;
}
body.page--admin-media-campaigns table th.views {
    width: 11em;
}
body.page--admin-media-campaigns table th.perc {
    width: 6em;
}
body.page--admin-media-campaigns table td {
    padding: 0.1rem 0.5rem;
}
body.page--admin-media-campaigns table tr.totals td {
    background: #eee;
}
body.page--admin-media-campaigns .anchor {
    padding-bottom: 90px;
    margin-top: -90px;
    visibility: hidden;
}

/* MAT - Errors */
body.page--admin-errors #filters > a {
    margin: 1px;
}
body.page--admin-errors #search form {
    display: flex;
    margin: auto;
    align-items: flex-end;
    width: 35em;
    max-width: 100%;
}
body.page--admin-errors #search form #field-segment {
    flex: 1;
}
body.page--admin-errors table th,
body.page--admin-errors table td {
    font-size: 11px;
    line-height: 13px;
    padding: 0.2rem 0.5rem;
    word-break: break-all;
}
body.page--admin-errors table td.origen {
    width: 9em;
}
body.page--admin-errors table td.useragent {
    width: 25vw;
}
body.page--admin-errors table td.fecha {
    width: 7em;
}

/* MAT - Performance */
body.page--admin-performance #media-filters .form-group {
    max-width: 450px;
    margin: 0 auto;
    text-align: left;
    display: flex;
}
body.page--admin-performance #media-filters .form-group select {
    flex: 1;
    margin-right: 10px;
}
body.page--admin-performance table th,
body.page--admin-performance table td,
body.page--admin-spc-performance table th,
body.page--admin-spc-performance table td{
    font-size: 11px;
    line-height: 13px;
    padding: 0.2rem 0.5rem;
    word-break: break-all;
}
body.page--admin-performance table tr.selected td,
body.page--admin-spc-performance table tr.selected td {
    background-color: #d1ecf1 !important;
}
body.page--admin-performance table td.delta,
body.page--admin-spc-performance table td.delta {
    width: 4em;
}
body.page--admin-performance table td.origen {
    width: 14em;
}
body.page--admin-performance table td.media-id {
    width: 6em;
}
body.page--admin-spc-performance table td.story-id {
    width: 8em;
}
body.page--admin-performance table td.url a,
body.page--admin-spc-performance table td.url a {
    font-weight: bold;
    color: #1877dd;
}
body.page--admin-performance table td.data,
body.page--admin-spc-performance table td.data {
    width: 8em;
}
body.page--admin-performance table td.data .btn,
body.page--admin-spc-performance table td.data .btn {
    padding: .1rem .5rem;
}
body.page--admin-performance table td.total-time,
body.page--admin-spc-performance table td.total-time {
    width: 9em;
}
body.page--admin-performance table td.total-time.text-warning,
body.page--admin-performance table td.total-time.text-danger,
body.page--admin-spc-performance table td.total-time.text-warning,
body.page--admin-spc-performance table td.total-time.text-danger{
    font-weight: bold;
}
body.page--admin-performance p.alert .text-warning,
body.page--admin-performance table td.total-time.text-warning,
body.page--admin-spc-performance p.alert .text-warning,
body.page--admin-spc-performance table td.total-time.text-warning{
    color: #ff9922 !important;
}
body.page--admin-performance p.alert .text-warning,
body.page--admin-performance p.alert .text-danger,
body.page--admin-spc-performance p.alert .text-warning,
body.page--admin-spc-performance p.alert .text-danger{
    font-size: 75%;
}
body.page--admin-performance table td.date,
body.page--admin-spc-performance table td.date {
    width: 7em;
}

/* MAT - DB Check */
body.page--admin-db-check table tr.table-danger td,
body.page--admin-db-check table tr.table-success td {
    border-color: #fff !important;
}
body.page--admin-db-check table td.pixel-id {
    width: 5em;
}
body.page--admin-db-check table td.db-check {
    width: 10em;
}

/* BMIND - Stats */
body.page--admin-bmind-stats h3 {
    font-size: 14px;
    padding: 4px 10px 2px 10px;
    margin: 0;
    background-color: #000;
    color: #fff;
}
body.page--admin-bmind-stats table {
    text-align: right;
    margin-bottom: 2rem;
}
body.page--admin-bmind-stats table thead {
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    border-right: 2px solid #000;
}
body.page--admin-bmind-stats table th {
    width: 10%;
    background: #eee;
}
body.page--admin-bmind-stats table td {
    padding: 0 0.5rem;
    font-size: 0.8rem;
}
body.page--admin-bmind-stats table.table tbody tr:last-child td {
    border-bottom: none;
}
body.page--admin-bmind-stats table.table:last-of-type tbody tr:last-child td {
    border-bottom: 1px solid #c4c5c6;
}
body.page--admin-bmind-stats table tr.totals td {
    background-color: #c4c5c6;
    font-weight: bold;
    padding: 0.2rem 0.5rem;
}

/* XANDR - Publishers */
body.page--admin-xandr table thead th {
    padding: 0.5rem 3px;
    font-size: 10px;
}
body.page--admin-xandr table tbody td {
    padding: 0 3px;
    font-size: 10px;
}
body.page--admin-xandr table tbody tr:not(.empty) td {
    background-color: #c8e7c6;
}
body.page--admin-xandr table tbody td.color-red {
    color: #ff0000;
}

/* XANDR - Story ADS */
body.page--admin-xandr-story-ads table thead th {
    padding: 0.5rem 3px;
    font-size: 12px;
}
body.page--admin-xandr-story-ads table tbody td {
    padding: 4px 3px;
    font-size: 12px;
}
body.page--admin-xandr-story-ads table tbody td a,
body.page--admin-xandr-story-ads table tbody td.name {
    font-weight: bold;
}
body.page--admin-xandr-story-ads table tbody td.ad-formats > span {
    padding: 2px 4px;
    border-radius: 4px;
}
body.page--admin-xandr-story-ads table tbody td.ad-formats > span.desktop_left {
    background-color: #00a756;
    color: #fff;
}
body.page--admin-xandr-story-ads table tbody td.ad-formats > span.sticky_small,
body.page--admin-xandr-story-ads table tbody td.ad-formats > span.sticky_large {
    background-color: #0084a7;
    color: #fff;
}
body.page--admin-xandr-story-ads table tbody td.ad-formats > span.frame {
    background-color: #a70096;
    color: #fff;
}
body.page--admin-xandr-story-ads table tbody td.ad-formats > span.disabled {
    background-color: #eee !important;
    color: #aaa !important;
}
body.page--admin-xandr-story-ads table tbody tr:hover td {
    background-color: #eee;
}

/* XANDR - AMP */
body.page--admin-xandr-amp #search #form-flex #amp-number-filter,
body.page--admin-xandr-amp #search #form-flex #amp-type-filter {
    margin-right: 5px;
}
body.page--admin-xandr-amp table thead th {
    padding: 0.5rem 3px;
    font-size: 12px;
}
body.page--admin-xandr-amp table tbody td {
    padding: 1px 3px;
    font-size: 12px;
}
body.page--admin-xandr-amp table tbody tr.even td {
    background-color: #efefef;
}
body.page--admin-xandr-amp #filters label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    padding: 4px 5px;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
}
body.page--admin-xandr-amp #filters input {
    margin-left: 4px;
}

/* XANDR - STATS */
body.page--admin-xandr-stats #search #month-filter,
body.page--admin-xandr-stats #search #placement-filter {
    margin-right: 5px;
}
body.page--admin-xandr-stats #search #month-filter,
body.page--admin-xandr-stats #search #year-filter {
    margin-bottom: 5px !important;
}
body.page--admin-xandr-stats table thead th {
    padding: 0.5rem 3px;
    font-size: 12px;
}
body.page--admin-xandr-stats table tbody td {
    padding: 1px 3px;
    font-size: 12px;
}
body.page--admin-xandr-stats table tbody tr.even td {
    background-color: #efefef;
}
body.page--admin-xandr-stats #filters label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    padding: 4px 5px;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
}
body.page--admin-xandr-stats #filters input {
    margin-left: 4px;
}

/* Pager */
ul.pager {
    padding: 0;
    text-align: center;
}
ul.pager li {
    list-style-type: none;
    display: inline-block;
}
ul.pager li a,
ul.pager li span{
    margin: 0;
    padding: 0.2em 0.5em;
}
table tbody tr.pager td {
    border-top: 2px solid #000;
}
body.page--admin ul.pager.top,
body.page--admin-users ul.pager.top {
    border-bottom: 2px solid #000;
    padding-bottom: 20px;
    margin-bottom: 0;
}
body.page--admin-users ul.pager.bottom {
    border-top: 2px solid #000;
    padding-top: 20px;
    margin-top: 0;
}
body.page--admin-users table {
    margin-bottom: 0;
}

/* Separators */
h2.separator-label {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    font-size: 20px;
    text-align: center;
    color: #777;
    line-height: 1;
    padding: 5px 20px 7px;
    margin: 10px 0 25px;
    border-radius: 3px;
    -webkit-transition : color 0.15s ease-in-out;
    -moz-transition : color 0.15s ease-in-out;
    -o-transition : color 0.15s ease-in-out;
    transition : color 0.15s ease-in-out;
}
body.page--admin-media-config .form-group,
body.page--admin-record .form-group {
    margin-left: 20px;
    margin-right: 20px;
}

h2.separator-label:not([data-collapsible="0"]),
h4.section-label:not([data-collapsible="0"]) {
    cursor: pointer;
}
h2.separator-label:not([data-collapsible="0"]).opened {
    color: #444;
}
h2.separator-label:not([data-collapsible="0"]).opened:hover {
    color: #777;
}
h2.separator-label:not([data-collapsible="0"]).closed {
    color: #777;
    margin-bottom: 0;
}
h2.separator-label:not([data-collapsible="0"]).closed:hover {
    color: #444;
}

h4.section-label:not([data-collapsible="0"]).opened {
    color: #000;
    border-color: #000;
}
h4.section-label:not([data-collapsible="0"]).opened:hover {
    color: #999;
    border-color: #999;
}
h4.section-label:not([data-collapsible="0"]).closed {
    color: #999;
    border-color: #999;
}
h4.section-label:not([data-collapsible="0"]).closed:hover {
    color: #000;
    border-color: #000;
}

h4.section-label.active:not([data-collapsible="0"]).opened {
    color: #009500;
    border-color: #009500;
}
h4.section-label.active:not([data-collapsible="0"]).opened:hover {
    color: #00af00;
    border-color: #00af00;
}
h4.section-label.active:not([data-collapsible="0"]).closed {
    color: #00af00;
    border-color: #00af00;
}
h4.section-label.active:not([data-collapsible="0"]).closed:hover {
    color: #009500;
    border-color: #009500;
}

h4.section-label > .alt-category-token,
h4.section-label > .anchor-comment {
    font-size: 14px;
}

/* Misc */
.hidden {
    display: none !important;
}
.card {
    margin-top: 10px;
    background-color: #000;
    color: #fff;
    border: none;
}
.card-body {
    padding: 1rem !important;
}
.card-body h1 {
    font-size: 1.5rem;
}
body.page--adsocy-tests .card-body,
body.page--besocy-tests .card-body {
    padding: 0.2rem 1rem !important;
}
body.page--adsocy-tests .card-body h1 small,
body.page--besocy-tests .card-body h1 small {
    opacity: 0.7;
}
.new {
    text-align: right;
    color: #ffffff;
}
.checkbox label {
    margin-bottom: 0;
}
.title {
    text-align: center;
}
#forUsers {
    padding-top: 1em;
    clear: left;
}
.cardToken {
    border: 3px solid #E3E3E3;
    padding: 0.5em;
    margin-top: 1em;
    background: #F3F2F2;
    cursor: grab;
}
#lista {
    list-style-type: none;
    padding: 0;
}
.controladores {
    margin-top: 0;
    margin-bottom: 0;
}
.controladores a {
    margin-left: 0.5em;
}
#selectT, #user-agent {
    margin-right: 1em;
}
.ui-state-highlight {
    height: 4em;
    line-height: 1.2em;
    margin-top: 1em;
}
#modal {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.4);
    width: 100vw;
    height: 100vh;
    line-height: 100vh;
    text-align: center;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 1px 1px #000;
}
#ua {
    width: 100%;
    margin-top: 15px;
    font-size: 12px;
}
.btn {
    border-radius: 2px !important;
}
#ads-txt {
    margin-bottom: 20px;
}
#ads-txt > p {
    margin: 4px 0 0;
}
#ads-txt > span {
    margin: 0 0 0 10px;
}
#ads-txt .fa-code {
    font-size: 130%;
    line-height: 130%;
}
#active-media-toggle {
    display: block;
    margin: 0 auto 20px;
    text-align: center;
}

/* Collapsible Panels */
body.page--admin-media .media-panel-container.closed {
    margin-bottom: 0 !important;
}
body.page--admin-media .media-panel-container h2 {
    text-align: center;
    padding: .3rem 1.25rem;
    font-size: 1.6rem;
    cursor: pointer;
    -webkit-transition : color 0.15s ease-in-out;
    -moz-transition : color 0.15s ease-in-out;
    -o-transition : color 0.15s ease-in-out;
    transition : color 0.15s ease-in-out;
}
body.page--admin-media .media-panel-container.opened h2 {
     color: #444;
}
body.page--admin-media .media-panel-container.opened h2:hover {
    color: #777;
}
body.page--admin-media .media-panel-container.closed h2 {
    color: #777;
}
body.page--admin-media .media-panel-container.closed h2:hover {
    color: #444;
}
body.page--admin-media .media-panel-container h2 small,
body.page--admin-media-config h2.separator-label small,
body.page--admin-record h2.separator-label small {
    font-size: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-top: -0.5rem;
}
body.page--admin-media-config h2.separator-label small,
body.page--admin-record h2.separator-label small {
    margin-top: -0.4rem;
}
body.page--admin-media .media-panel-container h2.alert-success {
    background-color: #c3e6cb !important;
    border-color: #aed0b6 !important;
}

/* Forms */
.options {
    float: right;
}
.media-panel form {
    margin-bottom: 0.4rem;
}
.media-panel .form-inline input, label, a, span {
    margin-right: 0.5em;
}
.media-panel .form-inline button {
    margin-right: 2em;
}
form .form-submit {
    text-align: center;
}
.form-group .description {
    color: #aaa !important;
    font-size: 90%;
    line-height: 1.2;
}
.form-group label span.admin-only {
    color: #ee0000 !important;
    margin: 0;
}
.form-group .description span.replaces {
    color: #dc7c00 !important;
    margin: 0;
}
form input.form-control::-webkit-input-placeholder {
    color: #aaa;
}
form input.form-control::-moz-placeholder {
    color: #aaa;
}
form input.form-control::-ms-input-placeholder {
    color: #aaa;
}
form input.form-control::placeholder {
    color: #aaa;
}
form textarea.form-control::-webkit-input-placeholder {
    color: #aaa;
}
form textarea.form-control::-moz-placeholder {
    color: #aaa;
}
form textarea.form-control::-ms-input-placeholder {
    color: #aaa;
}
form textarea.form-control::placeholder {
    color: #aaa;
}

body.page--login form,
body.page--password-reset form {
    margin-top: 20px;
}
body.page--login form .input-group-addon,
body.page--password-reset form .input-group-addon {
    width: 2.6rem;
}
body.page--login form .input-group-addon > .fa,
body.page--password-reset form .input-group-addon > .fa {
    width: 100%;
    height: 100%;
    vertical-align: top;
}
body.page--login form .input-group-addon > .fa:before,
body.page--password-reset form .input-group-addon > .fa:before {
    display: inline-block;
    font-size: 1.5rem;
    padding-top: 0.3rem;
}
body.page--login form .input-group-addon > .fa-unlock-alt:before {
    padding-top: 0.4rem;
}
body.page--admin-users-record a.generate-random-password {
    margin-left: 5px;
    text-decoration: none;
}
body.page--admin select#filter-media-token-list,
body.page--admin select#filter-media-list,
body.page--admin-general-check select#filter-media-token-list,
body.page--admin-general-check select#filter-media-list {
    margin-bottom: 5px;
}

body.page--admin #search #form-flex,
body.page--admin-general-check #search #form-flex,
body.page--admin-bmind-stats #search #form-flex,
body.page--admin-xandr-amp #search #form-flex,
body.page--admin-xandr-stats #search #form-flex,
body.page--admin-prod-tokens-check #search #form-flex {
    display: flex;
}
body.page--admin-bmind-stats #search #form-flex {
    width: 50%;
    min-width: 300px;
    margin: 0 auto;
}
body.page--admin #search #form-flex #field-media-name,
body.page--admin-general-check #search #form-flex #field-media-name,
body.page--admin-bmind-stats #search #form-flex #field-year,
body.page--admin-bmind-stats #search #form-flex #field-week,
body.page--admin-xandr-amp #search #form-flex #amp-number-filter,
body.page--admin-xandr-amp #search #form-flex #amp-type-filter,
body.page--admin-xandr-stats #search #form-flex #month-filter,
body.page--admin-xandr-stats #search #form-flex #year-filter,
body.page--admin-xandr-stats #search #form-flex #placement-filter,
body.page--admin-prod-tokens-check #search #form-flex #field-check {
    flex: 1;
}

body.page--admin-media label.admin-panel.checked,
body.page--admin-media label.adsocy-panel.checked {
    background: #d6d8d9;
    border-color: #c6c8ca;
}

body.page--admin-record .section-label {
    margin-left: 20px;
    margin-right: 20px;
    color: #000;
    border-bottom: 2px solid #000;
}
body.page--admin-record .section-label-spc_stories_panel_separator_start,
body.page--admin-record .section-label-spc_stories_panel_separator_end {
    border-bottom: 2px solid #ced4da;
    margin-bottom: 20px;
}

body.page--admin-record select#data-mix_anchors_font,
body.page--admin-record select#data-spc_anchors_font,
body.page--admin-record select#data-spc_anchor_1_stories,
body.page--admin-record select#data-spc_anchor_2_stories,
body.page--admin-record select#data-spc_anchor_3_stories,
body.page--admin-record select#data-spc_anchor_4_stories,
body.page--admin-record select#data-spc_anchor_5_stories,
body.page--admin-record select#data-spc_anchor_6_stories,
body.page--admin-record select#data-spc_anchor_7_stories,
body.page--admin-record select#data-spc_anchor_8_stories,
body.page--admin-record select#data-spc_anchor_9_stories,
body.page--admin-record select#data-spc_anchor_10_stories,
body.page--admin-record select#data-spc_anchor_11_stories,
body.page--admin-record select#data-spc_anchor_12_stories,
body.page--admin-record select#data-spc_anchor_13_stories,
body.page--admin-record select#data-spc_anchor_14_stories,
body.page--admin-record select#data-spc_anchor_15_stories,
body.page--admin-record select#data-close_button_referers {
    resize: vertical;
}
body.page--admin-record .field--tooltip_tutorial_text,
body.page--admin-record .field--tutorials_disable_home {
    border-top: 2px dashed #ced4da;
    padding-top: 15px;
}

@media (max-width: 992px) and (min-width: 768px), (max-width: 400px) {
    .options {
        float: none;
        clear: left;
    }
}

/* Syntax highlight */
.CodeMirror.CodeMirror-empty {
    color: rgba(238, 255, 255, 0.5);
}
.CodeMirror .CodeMirror-code span {
    margin: 0;
}
.CodeMirror-fullscreen {
    top: 20px;
}
.CodeMirror-fullscreen:before {
    content: attr(data-fullscreen-msg);
    position: fixed;
    top: 0;
    left: 0;
    height: 20px;
    line-height: 20px;
    font-size: 13px;
    z-index: 9999999;
    color: #000;
    background: #ff9922;
    width: 100%;
    padding: 0 10px;
    font-weight: bold;
    text-align: center;
}
.CodeMirror-buttons {
    text-align: right;
    background: #151c20;
    padding: 4px;
}
.CodeMirror .CodeMirror-gutters {
    background: #151c20;
}
.CodeMirror-resizer {
    background: #151c20;
    height: 20px;
    user-select: none;
    cursor: row-resize;
    border: 1px solid #151c20;
}
.CodeMirror-resizer:before {
    content: '\2261';
    color: #888;
    position: absolute;
    left: 50%;
    height: 18px;
    line-height: 15px;
}
.CodeMirror-resizer:hover {
    background: #151c20;
    border-color: #151c20;
}
.CodeMirror-resizer:hover:before {
    color: #fff;
}

/* Color widget */
.form-group .color-field {
    width: 100%;
}
.form-group .color-field .color-widget {
    width: 40px;
    background: #f6f6f6;
    border: 1px solid #ced4da;
    border-radius: 4px;
    cursor: pointer;
}
.form-group .color-field input {
    margin-left: 5px;
}

/* Toolbar example */
a.show-toolbar {
    margin-left: 5px;
    text-decoration: none;
}
#toolbar-example {
    position: relative;
    color: #fff;
    height: 40px;
    line-height: 40px;
    padding: 0 6px;
}
#toolbar-example .button {
    box-sizing: content-box;
    display: inline-block;
    padding: 0;
    height: 28px;
    width: 28px;
    margin: 6px 4px;
}
#toolbar-example .button > svg {
    width: 100%;
    height: 100%;
}
#toolbar-example .pager-icon {
    margin: 0 5px;
}
#toolbar-example .forward {
    margin: 0;
}
#toolbar-example .forward .button-next {
    margin: 6px 0;
}
#toolbar-example .forward .forward-text {
    vertical-align: top;
    margin: 0;
    font-size: 13px;
    font-family: Arial,Helvetica,sans-serif;
    text-transform: uppercase;
}
#toolbar-example .pager {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
}
#toolbar-example .pager-icon {
    box-sizing: border-box;
    display: inline-block;
    border: 1px solid #FFF;
    background-color: #FFF;
    border-radius: 100%;
    margin-left: 3px;
    margin-right: 3px;
    width: 6px;
    height: 6px;
    margin-top: 17px;
    margin-bottom: 17px;
}
#toolbar-example .pager-icon.current {
    width: 10px !important;
    height: 10px !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}
#toolbar-example .pager-icon:first-child,
#toolbar-example .pager-icon:last-child {
    width: 4px;
    height: 4px;
    margin-top: 18px;
    margin-bottom: 18px;
}


#toolbar-example .pager.miniballs .pager-icon {
    width: 4px !important;
    height: 4px !important;
    margin-top: 18px !important;
    margin-bottom: 18px !important;
    vertical-align: top !important;
    background-color: rgba(255,255,255,0.6) !important;
    border: none !important;
}
#toolbar-example .pager.miniballs .pager-icon.current {
    background-color: #fff !important;
}

#toolbar-example .pager.dashes .pager-icon {
    border-radius: 0;
    margin-left: 2px;
    margin-right: 1px;
    opacity: 0.4;
    width: 14px;
    height: 3px;
    margin-top: 17px;
    margin-bottom: 17px;
}
#toolbar-example .pager.dashes .pager-icon.current {
    width: 13px !important;
    height: 3px !important;
    margin-top: 17px !important;
    margin-bottom: 17px !important;
    opacity: 1 !important;
}
#toolbar-example .pager.dashes .pager-icon:first-child,
#toolbar-example .pager.dashes .pager-icon:last-child {
    width: 13px;
    height: 3px;
    margin-top: 17px;
    margin-bottom: 17px;
}

#toolbar-example.type--recirculation {
    border-radius: 10px 10px 0 0;
}

#toolbar-example.type--small {
    height: 25px;
    line-height: 25px;
}
#toolbar-example.type--small .button {
    height: 20px;
    width: 20px;
    margin: 2px 4px;
}
#toolbar-example.type--small .forward .button-next {
    height: 18px;
    width: 18px;
    margin: 3px 0;
}
#toolbar-example.type--small .pager {
    height: 25px;
    line-height: 25px;
}
#toolbar-example.type--small .pager.balls .pager-icon {
    margin-top: 10px;
    margin-bottom: 10px;
}
#toolbar-example.type--small .pager.balls .pager-icon.current {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}
#toolbar-example.type--small .pager.balls .pager-icon:first-child,
#toolbar-example.type--small .pager.balls .pager-icon:last-child {
    margin-top: 11px;
    margin-bottom: 11px;
}
#toolbar-example.type--small .pager.miniballs .pager-icon {
    width: 4px !important;
    height: 4px !important;
    margin-top: 11px !important;
    margin-bottom: 11px !important;
    vertical-align: top !important;
    background-color: rgba(255,255,255,0.6) !important;
    border: none !important;
}
#toolbar-example.type--small .pager.miniballs .pager-icon.current {
    background-color: #fff !important;
}
#toolbar-example.type--small .pager.dashes .pager-icon {
    margin-top: 11px !important;
    margin-bottom: 10px !important;
}
#toolbar-example.type--small .pager.dashes .pager-icon.current {
    margin-top: 11px !important;
    margin-bottom: 10px !important;
}
#toolbar-example.type--small .pager.dashes .pager-icon:first-child,
#toolbar-example.type--small .pager.dashes .pager-icon:last-child {
    margin-top: 11px !important;
    margin-bottom: 10px !important;
}

#toolbar-example.type--mini {
    height: 12px;
    line-height: 12px;
}
#toolbar-example.type--mini .pager {
    height: 12px;
    line-height: 12px;
}
#toolbar-example.type--mini .pager.miniballs .pager-icon {
    width: 4px !important;
    height: 4px !important;
    margin-top: 4px !important;
    margin-bottom: 4px !important;
    vertical-align: top !important;
    background-color: rgba(255,255,255,0.6) !important;
    border: none !important;
}
#toolbar-example.type--mini .pager.miniballs .pager-icon.current {
    background-color: #fff !important;
}

#toolbar-example.type--custom .login {
    text-transform: uppercase;
}

.girar > i{
    animation: giro 1.4s infinite linear;
}

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

/* SPC anchor example */
a.show-spc-model {
    margin-left: 5px;
    text-decoration: none;
}

/*Main Menu*/
header .header-content .menu {
    width: 6em;
}
.menu-content {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    padding: 0 10px 6px;
    width: 100%;
    max-width: 250px;
    color: #fff;
    background: #000;
    border-radius: 0 0 4px 4px;
    -webkit-box-shadow: 0 0 20px rgba(0,0,0,0.8);
    -moz-box-shadow: 0 0 20px rgba(0,0,0,0.8);
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}
.menu-content > * {
    display: block;
    margin: 2px 0 !important;
}
.menu-content > hr {
    margin: 4px 0 !important;
}
.menu-content > .user-info {
    text-align: center;
    margin: 0 0 15px !important;
}
.menu-content > .user-info > div:first-child {
    font-weight: bold;
    color: #bbb;
    line-height: 100%;
}
.menu-content > .user-info > div:last-child {
    font-size: 80%;
    line-height: 80%;
    color: #999;
    margin-top: 5px;
}
.menu-content #mat-panel-version {
    text-align: center;
    font-size: 12px;
    color: #aaa;
}

/*GENERAL CHECK*/
body.page--admin-general-check a.media-link {
    float: left;
    text-decoration: none;
    min-width: calc(25% - 4px);
    padding: 10px;
    background-color: #eee;
    color: #000;
    margin: 2px;
    box-sizing: border-box;
    -webkit-transition : background-color 0.2s ease-in-out;
    -moz-transition : background-color 0.2s ease-in-out;
    -o-transition : background-color 0.2s ease-in-out;
    transition : background-color 0.2s ease-in-out;
}
body.page--admin-general-check a.media-link:hover {
    background-color: #f6f6f6;
}

/*MEDIA PODS*/
body.page--admin-media-pods #media-pods {
    display: flex;
}
body.page--admin-media-pods .media-pod {
    padding: 0 1px;
    margin: 0 10px 0 0;
    flex-basis: inherit;
}
body.page--admin-media-pods #media-pods .media-pod:last-child {
    margin: 0;
}
body.page--admin-media-pods .media-pod h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
}
body.page--admin-media-pods .media-pod h2 .count {
    font-size: 0.8rem;
    font-weight: normal;
    margin-top: 6px;
}
body.page--admin-media-pods .media-pod .media-link {
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 0 1px 0;
    padding: 0 0 0 8px;
    background: #eee;
}
body.page--admin-media-pods .media-pod .media-link:hover {
    background: #f6f6f6;
}
body.page--admin-media-pods .media-pod .media-link.flow {
    background: #c9ebfb;
}
body.page--admin-media-pods .media-pod .media-link.flow:hover {
    background: #e0f4fd;
}
body.page--admin-media-pods .media-pod .media-link a {
    color: #000;
    text-decoration: none;
}
body.page--admin-media-pods .media-pod .media-link a .mini {
    background-color: #3ba148;
    font-weight: bold;
    color: #fff;
    padding: 0 0.3em;
    border-radius: 4px;
}
body.page--admin-media-pods .media-pod .media-link a .xandr {
    color: #ff7722;
    font-weight: bold;
}
body.page--admin-media-pods .media-pod .media-link .btn-container {
    margin: 0;
    text-align: right;
    width: 80px;
    min-width: 80px;
}
body.page--admin-media-pods .media-pod .media-link .btn-container .motor {
    font-size: 10px;
}
body.page--admin-media-pods .media-pod .media-link .btn-container .btn {
    padding: 0.1rem 0.3rem !important;
}

/*PRODUCTION TOKENS CHECKS*/
body.page--admin-prod-tokens-check a.token-info {
    display: block;
    font-size: 80%;
    background: #f1f1f1;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 5px;
    text-decoration: none;
}
body.page--admin-prod-tokens-check td a.token-info:last-of-type {
    margin-bottom: 0;
}

/*ROW FIELDS*/
.field--spc_stories_panel_icon_position_selector,
.field--spc_stories_panel_icon_position_selector_2,
.field--spc_stories_panel_icon_position_selector_3,
.field--spc_stories_panel_icon_position_selector_type,
.field--spc_stories_panel_icon_position_selector_type_2,
.field--spc_stories_panel_icon_position_selector_type_3,
.field--tutorial_no_repeat_value,
.field--tutorial_no_repeat_value_type {
    display: inline-block;
    vertical-align: bottom;
}
.field--spc_stories_panel_icon_position_selector,
.field--spc_stories_panel_icon_position_selector_2,
.field--spc_stories_panel_icon_position_selector_3,
.field--tutorial_no_repeat_value {
    width: calc(60% - 45px);
}
.field--spc_stories_panel_icon_position_selector_type,
.field--spc_stories_panel_icon_position_selector_type_2,
.field--spc_stories_panel_icon_position_selector_type_3,
.field--tutorial_no_repeat_value_type {
    width: calc(40% - 40px);
}

/*CUSTOM TOOLTIP*/
.custom-tooltip {
    position: relative;
    border-bottom: 1px dashed #000;
}
.custom-tooltip .tooltip-content {
    position: absolute;
    bottom: 100%;
    transform: translateX(-50%);
    left: 0;
    margin-bottom: 15px;
    width: 300px;
    padding: 5px 10px;
    border-radius: 10px;
    background: #000;
    color: #fff;
    text-align: left;
    font-size: 12px;
    display: none;
}
.custom-tooltip:hover .tooltip-content {
    display: block;
}
.custom-tooltip .tooltip-content:after {
    content: "";
    position: absolute;
    left: 50%;
    margin-left: -5px;
    bottom: -20px;
    border: 10px solid #000;
    border-color: black transparent transparent transparent;
    display: none;
}
.custom-tooltip:hover .tooltip-content:after {
    display: block;
}

.custom-tooltip .tooltip-content table {
    width: 100%;
}
.custom-tooltip .tooltip-content tr td:first-child {
    text-align: right;
}
.custom-tooltip .tooltip-content td {
    padding: 5px;
    border-bottom-color: #444;
    width: 50%;
}
.custom-tooltip .tooltip-content .check-ok {
    color: #00ff00;
    margin: 0;
}
.custom-tooltip .tooltip-content .check-error {
    color: #ff0000;
    margin: 0;
}