.fr-fir {
    float: right;
    margin-left: 50px;
}

.fr-fil {
    float: left;
    margin-right: 50px;
}

.filter-bg {
    background-image: url('../img/bg-video.png');
}

@media (max-width: 599px) {
    .produto_card {
        left: -5% !important;
    }
}

.hero-carousel .owl-nav .owl-prev span::after {
    font-family: "Font Awesome 5 Light";
    content: "\f106";
    visibility: visible;
    font-size: 32px;
    /* font-weight: 900; */
    border: solid 1px #ffffff;
    color: #ffffff;
    border-radius: 100%;
    width: 37px;
    height: 37px;
    display: inline-block;
}

.hero-carousel .owl-nav .owl-prev span::after {
    height: 34px;
    padding-top: 0;
}

.hero-carousel .owl-nav .owl-next span::after {
    height: 33px;
    padding-top: 3px;
}

.lojas_virtuais_carousel .owl-nav .owl-prev:hover span::after,
.lojas_virtuais_carousel .owl-nav .owl-next:hover span::after,
.hero-carousel .owl-nav .owl-prev:hover span::after,
.hero-carousel .owl-nav .owl-next:hover span::after {
    border: solid 1px #000;
    background: #000;
}

.portal-carousel .owl-nav .owl-prev:hover span::after,
.portal-carousel .owl-nav .owl-next:hover span::after {
    background: #000;
    color: #fff;
}

nav .menu-topp {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-top: solid 1px #F6F6F6;
    visibility: hidden;
    background: #ffffff;
    z-index: -1;
    overflow: hidden;

    height: 0;

    -webkit-transition: height 200ms ease-in;
    -moz-transition: height 200ms ease-in;
    -o-transition: height 200ms ease-in;
    transition: height 200ms ease-in;
}

nav .menu-topp .inner {
    margin-top: 85px;
    border-top: solid 2px #F6F6F6;
    padding-left: 280px;
    padding-top: 10px;
}

nav .menu-topp .inner .side {
    display: inline-block;
    width: 170px;
    vertical-align: top;
    height: auto;
    margin-bottom: 40px
}

nav .menu-topp .inner .column {
    display: inline-block;
    border-left: solid 2px #F6F6F6;
    padding-left: 30px;
    vertical-align: top;
    padding-right: 30px;
}

nav .menu-topp .inner .video {
    display: inline-block;
    height: 324px;
    width: 772px;
    background-size: cover;
    position: relative;
}

nav .menu-topp .video i {
    /* height: 100vh; */
    position: absolute;
    right: 12px;
    bottom: 12px;
    color: #ffffff;
}

nav .menu-topp .inner ul {
    list-style-type: none;
    padding-left: 0;
}

nav .menu-topp .inner ul li {
    padding: 8px;
}

nav .menu-topp .inner ul li:hover a,
nav .menu-topp .inner ul li.active a {
    color: #D5C088;
}

nav .menu-topp .inner ul li a {
    color: #000000;
    text-decoration: none; /* text-transform: uppercase; */
    font-size: 14px;
    font-weight: 400;
}

nav .menu-topp.popped {
    visibility: visible;
    width: calc(100%);
    right: 0;
    height: auto;
}

.fa-phone {
    transform: rotateY(180deg);
}

.title-categ {
    font-family: Rajdhani;
    font-size: 18px;
    margin-bottom: -13px;
    display: block;
}

.post_card .content .continue a:hover {
    text-decoration: underline;
}

nav {
    z-index: 9;
    position: absolute;
    left: 0;
    right: 0;
    /* width: 100%; */
    background: rgba(255, 255, 255, 0.75);
}

nav #secao_busca {
    position: absolute;
    top: 0;
    height: 420px;
    right: 15px;
    /* right: 0px; */
    z-index: 10;
    visibility: hidden;
}

nav #secao_busca input {
    border: 0;
    width: calc(100% - 90px);
    /* border: red 1px solid; */
    font-size: 20px;
    padding: 12px;
}

nav #secao_busca .barra {
    height: 39px;
    background: #ffffff;
    padding: 24px;
    width: 0;
    float: right;
    transition-delay: 0.6s;
    overflow: hidden;
    transition-duration: 0.5s;
    opacity: 0;
}

nav #secao_busca .inner {
    background: #ffffff;
    /* width: 85%; */
    height: 0px;
    overflow: hidden;
    /* opacity: 0; */
    transition-delay: 0s;
    transition-duration: 0.5s;
    box-sizing: border-box;
    padding: 0 24px;
    float: right;
}

nav #secao_busca .barra .btn-black-circle {
    position: absolute;
    right: 24px;
    opacity: 0;
    transition: 0.5s;
}

nav #secao_busca .sugestoes {
    border-top: solid 1px #F6F6F6;
    padding-top: 20px;
    display: flex;
}

nav #secao_busca .sugestoes .column {
    width: 44%;
    display: inline-block;
    padding: 0 0 0 60px;
}

nav #secao_busca .sugestoes .column:first-of-type {
    border-right: solid 1px #F6F6F6;
}

nav #secao_busca .sugestoes .column > .titulo {
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 20px;
}

nav #secao_busca .sugestoes .column a {
    margin-top: 20px;
    display: inline-block;
    text-decoration: none;
    color: #287EB7;
    font-weight: 500;
}

nav #secao_busca.popped {
    visibility: visible;
    /* width: calc(100% - 15px); */
    /* right: 0; */
    width: 100%;
}

nav #secao_busca.popped .barra {
    width: calc(100% - 48px);
    transition-delay: 0s;
    transition-duration: 0.5s;
    opacity: 1;
}

nav #secao_busca.popped .inner {
    height: 350px;
    /* visibility: visible; */
    transition-delay: 0.6s;
    transition-duration: 0.5s;
    padding: 24px;
    padding-top: 0px;
    /* opacity: 1; */
}

nav #secao_busca.popped .barra .btn-black-circle {
    opacity: 1;
}

nav .logo, nav.animation .logo {
    height: 87px;
    width: 244px;
    background-image: url("../img/logo.png");
    background-color: #000000;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: top;
    position: relative;
}

nav.animation .logo {
    animation: 1s ease-out 0s 1 logo_load;
}

nav .menu-l,
nav .menu-r,
nav.animation .menu-l,
nav.animation .menu-r {
    display: inline-block;
    opacity: 0;
    /* animation-play-state: paused; */
}

nav.animation .menu-l,
nav.animation .menu-r {
    animation: 1s ease-out 1s 1 menu_load;
    animation-fill-mode: forwards;
    animation-delay: 1s;
}

nav.animation .menu-r {
    position: absolute;
    right: 26px;
    top: 25px;
}

nav .menu-r li {
    margin-right: 18px;
}

nav .menu-l {
    margin-left: 25px;
}

nav .menu-l li {
    width: auto;
    height: 87px;
    position: relative;
}

nav .menu-l li a {
    text-decoration: none;
    color: #000000;
    padding: 35px 30px;
    font-size: 14px;
    display: block;
}

nav {
    height: 87px;
    position: fixed;
    top: 0;
    transition: top 0.2s ease-in-out;
    width: 100%;
}

nav.nav-up {
    top: -87px;
}

#filtrar .titulo {
    font-size: 18px;
}

.pagination .next, .pagination .prev {
    padding-top: 0;
    margin-bottom: -11px;
}

.pagination .next, .pagination .prev {
    width: 36px;
    height: 36px;
}

.pagination .next span, .pagination .prev span {
    font-family: 'Rajdhani', sans-serif;
    font-size: 49px;
    text-decoration: none;
    font-weight: 100;
    display: block;
    position: absolute;
}

.pagination .next span {
    margin-top: -15px;
    margin-left: 11px;
}

.pagination .prev span {
    margin-top: -15px;
    margin-left: 10px;
}

.pagination .next:hover, .pagination .prev:hover {
    background: #000;
    color: #fff;
}

.pagination .next:hover span, .pagination .prev:hover span {
    color: #fff;
}

.pagination ul li:hover a {
    color: #D5C088;
}

.select-selected:after {
    top: 21px;
}

/*nav .menu-l li {
    width: inherit;
    padding-left: 20px;
    padding-right: 20px;
}*/

section#instagram h2 {
    margin-top: 20px;
}

section.post_interna {
    margin-bottom: 0;
}

section#produtos_pdc {
    margin-top: 0;
}

section#cabecalho .inner {
    font-size: 18px;
}

section.portal_da_cor .chamada {
    font-size: 18px;
    margin: 40px 0;
}

section.portal_da_cor .chamada h3 {
    margin-bottom: 10px;
}

.background-text.influencer {
    font-size: 360px;
}

.filtrar_input {
    margin-top: 15px;
}

/*section#lojas_virtuais {
    height: 205px;
}*/

.detalhe-down {
    cursor: pointer;
}

.video-control:hover i {
    cursor: pointer;
    background: #000;
    border-color: #000;
}

section#agenda {
    margin-bottom: 0;
}

.continue a {
    position: relative;
}

.continue.link a i {
    font-size: 23px;
    margin-top: 5px;
    position: absolute;
    top: -6px;
    right: -16px;
    font-weight: 100;
}

.portal-carousel .owl-nav .owl-next span::after {
    font-family: "Font Awesome 5 Light";
    content: "\f105";
    visibility: visible;
    font-size: 32px;
    /* font-weight: 900; */
    border: solid 1px #000000;
    color: #000000;
    border-radius: 100%;
    width: 37px;
    height: 35px;
    padding-top: 2px;
    display: inline-block;
    position: absolute;
    left: 100%;
    z-index: 9;
}

nav .menu-l ul li:hover a,
nav .menu-l ul li.active a {
    color: #D5C088;
}

section#cabecalho .video-bg video,
section#cabecalho .video-bg {
    /*height: 100vh;*/
}

.data-toggle-menu {
    display: none;
}

.data-toggle-menu.active {
    display: block;
}

@media (max-width: 599px) {
    nav .popup-menu ul li a {
        text-decoration: none;
        color: inherit;
    }
}

.destaque_produto .tons_select div input:checked + label:after {
    margin: 0;
}

.tons_select label {
    cursor: pointer;
}

.destaque_marca .image {
    width: 40%;
    background-size: contain;
    display: inline-block;
    background-repeat: no-repeat;
    /* max-width: 813px; */
    left: 123px;
    position: relative;
    height: inherit;

}

.destaque_marca .content {
    padding-left: 19%;
    width: 34%;
    display: inline-block;
    vertical-align: top;
    height: inherit;
}

.destaque_marca .content .preview {
    font-size: 18px;
    height: inherit;
    overflow: hidden;
    line-height: 25px;
    margin-bottom: 30px;
    color: #1A1A1A;
}

.destaque_produto .image {
    width: 48%;
    height: 705px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 85%;
}

@media (min-width: 768px) and (max-width: 1366px) {
    section#entre_em_contato_hero h2 {
        margin-top: 32px;
    }

    .destaque_produto .image {
        width: 30%;
        height: 705px;
        display: inline-block;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: top center;
    }

    .destaque_produto {
        padding-left: 17%;
        padding-top: 31px;
        min-height: 100vh;
    }

    .destaque_produto > .content {
        width: 48% !important
    }

    .background-text-vertical {
        top: 133px;
    }

    .destaque_produto .tons_select div input + label {
        margin: 3px;
    }

    .destaque_produto .tons_select div input:checked + label {
        width: 46px;
        height: 46px;
        margin: 0;
    }
}

.destaque_produto > .content {
    padding: 30px 10% 67px 67px;
    width: 36%;
    display: inline-block;
    vertical-align: top;
    font-size: 18px;
}

.destaque_produto .content .titulo {
    font-size: 50px;
    font-weight: bold;
    height: inherit;
    overflow: hidden;
    line-height: 63px;
    text-transform: uppercase;
    margin-bottom: 33px;
    font-family: Dosis, Rajdhani, sans-serif;
}

.destaque_produto .content .preview {
    font-size: 18px;
    height: inherit;
    line-height: 25px;
    overflow: inherit;
    color: #1A1A1A;
    margin-bottom: 14px;
}

.destaque_produto .content .continue {
    border-top: solid 1px #E8E8E8;
    font-size: 16px;
    margin: 0;
    padding: 26px 0px;
    text-decoration: none;
}

@media (min-width: 1024px) {
    section#cabecalho_onde .inner .titulo {
        margin-top: 80px;
    }

    .destaque_marca {
        display: flex;
        justify-content: right;
        align-items: center;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .produto_card .image {
        max-height: 326px !important;
    }

    .produtos-pdc-carousel-mobile .owl-item {
        margin-bottom: 30px;
    }

    .destaque_produto > .content > .preview {
        left: inherit;
    }

    .custom-select-color .color-tag {
        float: left;
    }

    .custom-select-color .overflow-menu, .custom-select .overflow-menu {
        width: 100%;
    }

    #hero .owl-dots .owl-dot {
        margin: 0 -3px 0px 0 !important;
    }

    .destaque_marca .content .continue {
        padding: 20px 0 !important;
    }

    .destaque_marca .btn-black, .destaque_marca .btn-black-circle {
        width: 100%;
        font-size: 14px;
    }

    .btn-black, .btn-black-circle {
        font-size: 14px;
    }

    .destaque_produto .image {
        width: 68% !important;
    }

    section#faca_voce_mesmo {
        margin-bottom: 0 !important;
    }

    footer .column {
        margin-bottom: 30px !important;
    }

    section#cabecalho + section.post_interna {
        top: -78vh !important;
    }

    section#rodape_social .desc {
        height: auto !important;
        overflow: inherit !important;
        margin-bottom: 30px;

    }

    section#rodape_social {
        height: auto !important;
        margin: 62px 5%;
        margin-bottom: 0px !important;
    }

    section#rodape_social .social_list_container {
        bottom: 0 !important;
        display: none !important;
    }

    section#rodape_social .nome {
        font-size: 14px;
    }

    section#rodape_social .nome a {
        color: #0569AB !important;
    }

    section#rodape_social .avatar {
        margin-bottom: 20px !important;
    }

    section#rodape_social {
        padding-bottom: 0 !important;
    }

    .breadcrumb {
        left: 25px;
        top: 179px !important;
        position: absolute;
    }

    section#entre_em_contato_hero {
        margin-top: 67px !important;
    }

    section.contato_panel table {
        top: 50%;
        margin-top: -164px !important;
    }

    section.contato_panel {
        padding: 0 !important;
    }

    nav .popup-search button {
        float: right;
        position: relative;
        top: -27px;
        width: 25px;
        height: 25px;
        color: #999;
    }

    .produto_card_panel {
        width: 100% !important;
    }

    nav .popup-cabelos {
        overflow-y: scroll !important;
    }

    ul.menu_list li a {
        text-transform: capitalize !important;
    }

    section#a_beautycolor {
        height: auto !important;
        padding-top: 20px !important;
        padding-bottom: 30px !important;
    }

    section#a_beautycolor .blurb {
        position: initial !important;
        top: 422px;
        text-align: center;
        height: auto !important;
        overflow: inherit;
    }

    .desktop-only {
        display: none !important;
    }

    section#a_beautycolor .video-container {
        position: initial !important;
        margin-top: 0 !important;
    }

    section#cabecalho_onde .inner .titulo {
        font-size: 26px;
        max-width: 100% !important;
        font-weight: 800;
        text-align: center !important;
    }

    .lojas_virtuais_carousel .owl-nav .owl-next {
        top: 48px !important;
        right: 24px !important;
    }

    .lojas_virtuais_carousel .owl-nav .owl-prev {
        top: 48px !important;
        left: -20px !important;
    }

    .lojas_virtuais_carousel .owl-item > div {
        width: 245px !important;
        height: 113px !important;
    }

    .lojas_virtuais_carousel .owl-item {
        text-align: center !important;
    }

    section#lojas_virtuais {
        /* margin-bottom: 89px; */
        height: 138px !important;
        padding: 20px 0 !important
    }

    nav .popup-cabelos.popped {
        height: calc(100vh - 127px) !important;
        overflow-y: scroll;
    }

    .product-page section#entre_em_contato_hero h2 {
        margin-top: 36px !important;
    }

    .product-page section#entre_em_contato_hero {
        margin-top: 15px !important;
    }

    section#filtrar_mobile #filtrar_mobile_button {
        background: #000;
        color: #fff;
    }

    .detalhe-down {
        top: -60px;
    }

    nav .popup-cabelos ul.menu_list > li.active::after {
        display: none;
        font-weight: bold;
    }

    section#hero.cb-topo, section#cabecalho.cb-topo {
        height: calc(100vh - 137px) !important;
        margin-top: 137px !important;
        overflow: hidden;
    }

    section#cabecalho.cb-topo {
        background-size: cover !important;
        background-repeat: no-repeat !important;
    }

    #hero .owl-item > div {
        height: calc(100vh - 137px) !important;;
    }

    .destaque_marca .image {
        overflow: hidden !important;
    }

    .destaque_marca .content .titulo {
        font-family: Dosis, sans-serif;
    }

    .destaque_marca .content .preview {
        font-family: Rajdhani, sans-serif;
        font-size: 16px;
    }

    .destaque_produto>.content {
        padding-top: 0;
    }

    .destaque_marca .content {
        padding-bottom: 0 !important;
    }
}


section.post_interna p span,
section.post_interna p
{
    font-family: Rajdhani, sans-serif !important;
    font-size: 17px !important;
    text-align: left !important;
}


@media (min-width: 1024px) {

    #a_beautycolor .row {
        width: 100%;
        margin-left: 5%;
        margin-right: 5%;

        display: flex;
        align-content: center;
        align-items: center;
        margin-bottom: 68px;
    }

    #a_beautycolor .background-text {
        float: initial;
        z-index: -1;
        font-size: 250px;
        left: initial;
        position: initial;
        height: 0;
        bottom: initial;
        letter-spacing: 26px;
        WIDTH: initial;
        text-align: left;
        white-space: nowrap;
    }

    #a_beautycolor .row .image {
        width: 33%;
    }

    #a_beautycolor .row .content {
        width: 57%;
    }

    #a_beautycolor .row.image-right .image {
        order: 2;
    }

    #a_beautycolor .row.image-right .content {
        order: 1;
    }

    #a_beautycolor .row.image-left .image {
        order: 1;
    }

    #a_beautycolor .row.image-left .content {
        order: 2;
    }

    #a_beautycolor .row .image img {
        max-width: 100%;
    }

    #a_beautycolor .row .content h2 {
        font-family: Dosis, sans-serif;
        font-size: 40px;
        font-weight: bold;
        margin: 0 auto;
        margin-bottom: 10px;
        max-width: 70%;
    }

    #a_beautycolor .row .content p {
        font-family: Rajdhani, sans-serif;
        font-size: 16px;
        max-width: 70%;
        margin: 0 auto;
        line-height: 28px;
    }

    section.portal_da_cor .ordenador {
        margin-top: -20px;
    }

    .pagination {
        margin-top: -25px;
        margin-bottom: 50px;
    }
}

h1, h2, h3, h4, h5, h6, .content .titulo {
    font-family: Dosis, sans-serif;
    font-weight: bold;
}

h1 *, h2 *, h3 *, h4 *, h5 *, h6 * {
    font-family: Dosis, sans-serif !important;
    font-weight: bold !important;
}

hr.divisory {
    border: none;
    border-bottom: 2px solid #F2F2F2;
    margin: 30px 30px 10px;
}
section.portal_da_cor .ordenador {
    font-family: Dosis, sans-serif;
    font-weight: bold;
}

section.portal_da_cor h2 {
    font-family: Dosis, sans-serif;
}

.fa-menu-mobile {
    display: block;
    width: 30px;
    height: 30px;
    margin: 0 auto;
    margin-bottom: 10px;

    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.fa-icon-cabelos {
    background-image: url(../img/cabelos.svg);
}

.fa-icon-unhas {
    background-image: url(../img/unhas.svg);
}

.fa-icon-portal {
    background-image: url(../img/portal.svg);
}

.fa-icon-contato {
    background-image: url(../img/contato.svg);
}

.opened .fa-icon-cabelos,
.active .fa-icon-cabelos {
    background-image: url(../img/cabelos-white.svg);
}

.opened .fa-icon-unhas,
.active .fa-icon-unhas {
    background-image: url(../img/unhas-white.svg);
}

.opened .fa-icon-portal,
.active .fa-icon-portal {
    background-image: url(../img/portal-white.svg);
}

.opened .fa-icon-contato,
.active .fa-icon-contato {
    background-image: url(../img/contato-white.svg);
}

@media (min-width: 769px) {
    section#rodape_social .desc {
        margin-left: 120px !important;
    }
    
    .destaque_produto {
        overflow: hidden;
    }
}

@media (max-width: 1666px) {
    .destaque_produto .tons_select div input + label {
        width: 38px;
        height: 38px;
    }
}

.select-selected {
    white-space: nowrap;
}

.width-80-elipsis {
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
}

html, body {
    overflow-x: hidden;
}

.fab {
    font-family: "Font Awesome 5 Brands" !important;
}

.logo-rodape {
    float: left;
    background: url(../img/Company_logo.svg);
    background-size: 175px;
    width: 175px;
    content: "";
    background-position: left;
    padding-left: 0;
    margin-right: 12px;
    padding-right: 10px;
    padding-left: 10px;
    height: 27px;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4px;
}

.text-footer {
    line-height: 35px;
}


@media (max-width: 768px) {
    .logo-rodape {
        width: 100%;
    }

    .text-footer {
        line-height: 65px;
    }
    .footer__copyright-icon {
        margin-top: 15px !important;
    }
}


.btn-transparent {
    border: 1px solid #ffff;
    background: transparent;
    max-width: 508px;
    margin-top: 15px;
    display: block;
}

.btn-transparent:hover {
    background-color: rgba(255,255,255,.1);
}

.menu-topp ul li.header h2 {
    font-family: Rajdhani, sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.icon-cor {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    border-radius: 50%;
}


.more-content {
    display: none;
    max-height: 446px;
    overflow-y: auto;
    text-align: initial;
}

.destaque_marca .btn-black {
    margin-bottom: 25px;
}
.more-content h1 {
    font-size: 50px;
    font-weight: 700;
    height: auto;
    overflow: hidden;
    line-height: 63px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.more-content img {
    width: 100% !important;
}

@media (max-width: 1680px) {
    .more-content h1 {
        font-size: 36px;
        line-height: 45px;
    }
}


/*
 * Container style
 */
.ps {
    overflow: hidden !important;
    overflow-anchor: none;
    -ms-overflow-style: none;
    touch-action: auto;
    -ms-touch-action: auto;
}

/*
 * Scrollbar rail styles
 */
.ps__rail-x {
    display: none;
    opacity: 0;
    transition: background-color .2s linear, opacity .2s linear;
    -webkit-transition: background-color .2s linear, opacity .2s linear;
    height: 15px;
    /* there must be 'bottom' or 'top' for ps__rail-x */
    bottom: 0px;
    /* please don't change 'position' */
    position: absolute;
}

.ps__rail-y {
    display: none;
    opacity: 0;
    transition: background-color .2s linear, opacity .2s linear;
    -webkit-transition: background-color .2s linear, opacity .2s linear;
    width: 15px;
    /* there must be 'right' or 'left' for ps__rail-y */
    right: 0;
    /* please don't change 'position' */
    position: absolute;
}

.ps--active-x > .ps__rail-x,
.ps--active-y > .ps__rail-y {
    display: block;
    background-color: transparent;
}

.ps:hover > .ps__rail-x,
.ps:hover > .ps__rail-y,
.ps--focus > .ps__rail-x,
.ps--focus > .ps__rail-y,
.ps--scrolling-x > .ps__rail-x,
.ps--scrolling-y > .ps__rail-y {
    opacity: 0.6;
}

.ps .ps__rail-x:hover,
.ps .ps__rail-y:hover,
.ps .ps__rail-x:focus,
.ps .ps__rail-y:focus,
.ps .ps__rail-x.ps--clicking,
.ps .ps__rail-y.ps--clicking {
    background-color: #eee;
    opacity: 0.9;
}

/*
 * Scrollbar thumb styles
 */
.ps__thumb-x {
    background-color: #aaa;
    border-radius: 6px;
    transition: background-color .2s linear, height .2s ease-in-out;
    -webkit-transition: background-color .2s linear, height .2s ease-in-out;
    height: 6px;
    /* there must be 'bottom' for ps__thumb-x */
    bottom: 2px;
    /* please don't change 'position' */
    position: absolute;
}

.ps__thumb-y {
    background-color: #aaa;
    border-radius: 6px;
    transition: background-color .2s linear, width .2s ease-in-out;
    -webkit-transition: background-color .2s linear, width .2s ease-in-out;
    width: 6px;
    /* there must be 'right' for ps__thumb-y */
    right: 2px;
    /* please don't change 'position' */
    position: absolute;
}

.ps__rail-x:hover > .ps__thumb-x,
.ps__rail-x:focus > .ps__thumb-x,
.ps__rail-x.ps--clicking .ps__thumb-x {
    background-color: #999;
    height: 11px;
}

.ps__rail-y:hover > .ps__thumb-y,
.ps__rail-y:focus > .ps__thumb-y,
.ps__rail-y.ps--clicking .ps__thumb-y {
    background-color: #999;
    width: 11px;
}

/* MS supports */
@supports (-ms-overflow-style: none) {
    .ps {
        overflow: auto !important;
    }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .ps {
        overflow: auto !important;
    }
}