﻿* {
    margin: 0;
}

body {
    background-color: #f4f7fc;
    font-family: "Rubik";
    padding:0;
}
#page-wrap {
    margin:10px;
    background:#fff;

}
a {
    text-decoration: none;
}

header {
    width: 100%;
    background-color: white;
    box-shadow: 0px 2px 20px #0000000d;
}

.main {
    display: flex;
    justify-content: center;
    padding: 10px;
}

.flex {
    display: flex;
}

.navigation-bar {
    display: flex;
    align-items: center;
    height: 80px;
}

.logo-img {
    width: 110px;
    cursor: pointer;
}

.logo-for-mobile-icon {
    display: none;
}

.logout-icon {
    margin-left: 28px;
    margin-right: 28px;
    width: 15px;
    height: 15px;
}

.navbar-icon {
    width: 15px;
    cursor: pointer;
}

.navbar-menu a {
    text-align: center;
    border-right: 2px solid #f4f7fc;
    line-height: 1;
    height: 78px;
    display: block;
    line-height: 78px;
    width: 78px;
    color: #173e6766;
    transition: font-size ease-in-out 0.15s;
    position:relative;
    overflow:hidden;
}
.navbar-menu a span {
    position: absolute;
    left: 0;
    bottom: 0;
    line-height: 1em;
    width: 78px;
    text-align: center;
    font-size: 12px;
    transform: translateY(1em);
    transition: transform ease-in-out 0.15s;
}
.navbar-menu a:hover  {
    font-size:200%;
}

.navbar-menu a:hover span {
    transform: translateY(-.2em);
}

.navbar-menu {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.email, .email a{
    letter-spacing: 0.11px;
    color: #173e6766;
}

.user-box {
    height: 100%;
    border-right: 2px solid #f4f7fc;
    display: flex;
    margin-left: auto;
    align-items: center;
    padding-right: 12px;
}

.avatar {
    width: 38px;
    height: 38px;
    margin-right: 20px;
    position: relative;
    background-image: url("../assets/avatar.png");
    border-radius: 50%;
    background-size: cover;
}

.user-status {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: green;
    border: 2px solid white;
    position: absolute;
    top: 3px;
    right: -3px;
}

.cursor-pointer {
    cursor: pointer;
}

.table-section {

    width: 100%;
    background-color: white;
    box-shadow: 0px 1px 30px #1432501a;
    border-radius: 5px;
    
    margin-bottom: 50px;
}

.filters-container {
    background-color: #f9fbfd;
    border-top: 1px solid #173e6733;
    padding: 15px 17px;
    display: flex;
    justify-content: flex-end;
}

.select-input {
    width: 200px;
    height: 40px;
    box-shadow: 0px 2px 3px #1432500d;
    border: 1px solid #173e6733;
    border-radius: 5px;
    color: #173e6766;
    font-size: 14px;
    font-family: "Rubik";
    background-color: white;
}

.search-input {
    box-shadow: 0px 2px 3px #1432500d;
    border: 1px solid #173e6733;
    border-radius: 5px;
    width: 500px;
    height: 36px;
    background: url(/images/search-icon.png) no-repeat scroll 12px 11px;
    padding-left: 38px !important;
    padding-right: 30px !important;
    background-color: white;
}

select.sort-order {
    box-shadow: 0px 2px 3px #1432500d;
    border: 1px solid #173e6733;
    border-radius: 5px;
    height: 40px;
    padding-left: 38px !important;
    padding-right: 30px !important;
    background-color: white;
}

.sort-order-icon {
    position: absolute;
    color: #9EAFC2;
    margin-left: 6px;
    margin-top: 5px;
    color: #979797;
    display: inline-block;
    height: 2em;
    width: 2em;
    line-height: 2em;
    text-align: center;
}
.sort-order-icon:hover {
    cursor: pointer;
    background: #F0F0F0;
    border-radius: 100%;
}

.advanced-filter-wrap.active .advanced-search-button {
    background-color: #007BFF;
    color:#fff !important;
}

.advanced-search-button, .clear-search-button {
    color: #606368 !important;
    border-radius: 100%;
    display: inline-block;
    position: absolute;
    cursor: pointer;
    height: 2em;
    width: 2em;
    line-height: 2em;
    text-align: center;
    margin: 4px;
    margin-left: -36px;
}
.clear-search-button {
    margin-left: -70px;
}
.advanced-search-button:hover, .clear-search-button:hover {
    background: #F0F0F0;
}
.advanced-filter-wrap.open .advanced-filter-settings{
    display:block;
}

.advanced-filter-settings {
    display: none;
    border: 1px solid #ccc;
    padding: 1em;
    background: #fff;
    box-shadow: 2px 2px 4px rgb(0 0 0 / 10%);
    position: absolute;
    width: 500px;
    margin-top: -1px;
    z-index: 2;
}
.advanced-filter-settings td {
    padding:3px;
    vertical-align:middle;
}
.advanced-filter-settings input[type="date"] {
    width:160px;
}
.advanced-filter-settings .d-flex {
    gap: 5px;
    align-items: center;
}
.advanced-filter-settings .percentage {
    width:5em;
}

a.btn-clear-advanced-search {
    color: #999;
    margin-right: 2em;
}

.search-input::placeholder {
    color: #173e6766;
    font-size: 14px;
}

.table-heading {
    color: #173e67;
    font-size: 15px;
}

.table-heading-cell {
    background-color: white;
    white-space: nowrap;
}

td,
th {
    padding: 8px;
}

.sort-by-icon {
    width: 8px;
    margin-right: 15px;
    cursor: pointer;
}

.tab {
    color: #a8b0b7;
    cursor: pointer;
    padding: 31px 40px 6px 40px;
    font-weight: bold;
}

.active-tab {
    border-bottom: 6px solid #007fff;
    color: #173e67;
}

.table {
    border-collapse: collapse;
    width: 100%;
}

.expanded-row-arrow-icon {
    transform: rotate(90deg);
    fill: #173e67;
}

.hide-expanded-row {
    display: none;
}

.id-column {
    color: #173e67;
    font-size: 12px;
}

.table-data {
    color: #007ffc;
    font-size: 12px;
    text-align: right;
    font-weight: 200;
}

.table-data-expanded {
    font-size: 12px;
    color: #9dafc1;
    padding: 12px 0 12px 28px;
    border-bottom: 1px solid #d0d8e0;
}

.expanded-text {
    margin-left: 20px;
}

.table-data-info {
    color: #173e6799;
    font-size: 12px;
}

.add-icon-cell {
    display: flex;
    justify-content: center;
}

.add-icon {
    width: 13px;
    height: 13px;
    cursor: pointer;
}

.actions-table-data {
    justify-content: flex-start;
    min-width: 125px;
}

.action-icon-container {
    display: flex;
    width: 32px;
    height: 32px;
    background-color: #007ffc;
    margin-right: 5px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    
    
}
.action-icon-container i {
    
    color: white !important;
}
.action-icon-container:hover  {
    color: white;
}

.action-icon-container:hover {
    background: #4AA4FC;
}
.action-icon-container.red-color:hover {
    background: #FD4B4B;
}
.action-icon {
    height: 22px;
    margin: auto;
    cursor: pointer;
}

.table-paginator {
    box-shadow: 0px 1px 30px #1432501a;
    padding: 14px 26px 14px 26px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.paginator-info {
    font-size: 15px;
    margin-top: 10px;
}

.page-number {
    width: 30px;
    background-color: #173e6712;
    border-radius: 6px;
    color: #7c93ac;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 14px;
    cursor: pointer;
}

.active-page {
    background-color: #007ffc;
    color: white;
}

.paginator-arrow {
    height: 10px;
    margin: auto 0 auto 14px;
    cursor: pointer;
}

.paginator-buttons-container {
    margin-top: 10px;
}

.number-of-items-select {
    height: 30px;
    box-shadow: 0px 2px 3px #1432500d;
    border: 1px solid #173e6733;
    border-radius: 5px;
    color: #173e6766;
    font-size: 14px;
    font-family: "Rubik";
    background-color: white;
}

.red-color {
    background-color: red;
}

.biscay-color {
    color: #173e67;
}

.gray-chateau-color {
    color: #a8b0b7;
}

.perano-color {
    background-color: #a0c7f01f;
}

.align-left {
    text-align: left;
}


.navigation-bar picture  {
    margin-left: 10px;
}

@media screen and (max-width: 768px) {
    .navigation-bar {
        height: auto;
    }

    .avatar {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .email {
        display: none;
    }

    .search-input {
        margin-left: 15px;
    }

    .paginator-info {
        margin-bottom: 10px;
    }
    #page-wrap {
        margin:0;
    }

}

@media screen and (max-width: 450px) {
    .logo-img {
        width: 35px;
    }

    .tab {
        padding: 15px 10px;
        text-align: center;
        font-size: 14px;
    }

    .navbar-menu-item-container {
        padding: 20px 20px;
    }

    .filters-container {
        padding: 12px;
        flex-wrap: wrap;
    }

    .select-input {
        width: 100%;
        order: 1;
    }

    .search-input {
        width: 100%;
        margin-bottom: 10px;
        margin-left: 0;
    }
    .flex.tab-strip 
    {
        align-items:center;
    }
    #dash-details-panel, #dash-details-panel.visible{
        width: 100vw;
        left: 0;
    }
    #dash-details-panel:not(.visible) {
        display:none;
    }
    .fly-in-resize {
        display: none;
    }

}

.dash-table {
    background: #F9FBFD;
}
#dash-details-wrap .dash-table,
#dash-details-wrap .dash-table th,
#dash-details-wrap .dash-table thead
{
    background: #0000;
}
#dash-details-wrap .dash-table thead {
    background: #4F437D;
}

.dash-table td {
    font-size: 15px;
    border: 0;
}
.dash-table tr.more-info td {
    border-top: 1px solid #DEE4EB;
    border-bottom: 1px solid #DEE4EB;
}

.dash-table  thead th {
    border: none;
    vertical-align:middle;
}
.dash-table tbody td {

    vertical-align: middle;
}


.dash-table thead,
.dash-table th,
.dash-table tfoot {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1;
    background: #fff;
}

.dash-table thead {
    inset-block-start: 0; /* "top" */
}

.dash-table tfoot {
    inset-block-end: 0; /* "bottom" */
}


/* reports */
.subtitle {
    letter-spacing: 0.11px;
    color: #173e6766;
}

.user-status {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: green;
    border: 2px solid white;
    position: absolute;
    top: 3px;
    right: -3px;
}

.section-title {
    color: #173e67;
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 11px;
}

.copy-icon {
    width: 10px;
    cursor: pointer;
}

.reports-section {
    max-width: 1510px;
    width: 100%;
}

.reports-grid {
    display: grid;
    grid-template-columns: 2.1fr 2.1fr 1.6fr 1.6fr 1.6fr 2.1fr;
    grid-gap: 20px;
    margin-top: 30px;
}

.report-card {
    box-shadow: 0px 1px 30px #1432501a;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 5px;
    position: relative;
}
.report-card .btn {
    padding: .375rem .25rem;
}
.report-card.disabled-stat .btn, .report-card.loading .btn {
    display: none;
}
.report-card.disabled-stat .card-value {
    letter-spacing: -2px;
}
.report-card.disabled-stat .card-value a {
    color: #a0b1c3 !important;
    pointer-events: none;
    font-weight: normal;
}

.blur {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-title {
    font-size: 16px;
    color: #a0b1c3;
}

.download-icon {
    margin-left: auto;
    height: 15px;
}

.card-value {
    margin-top: 17px;
    margin-bottom: 25px;
    color: #173e67;
    letter-spacing: 1.07px;
    font-size: 30px;
    font-weight: bold;
}

.report-card-earnings {
    flex-wrap: wrap;
    margin-top: auto;
}
.report-card-earnings p {
    margin:0;
}

p.statistics-rate {
    color: #00b69b;
    font-size: 16px;
    margin-right: 4px;
    margin-left: 10px;
}

.chart-card {
    grid-row: 1 / span 2;
    grid-column: 3 / span 4;
    padding: 10px;
}

.chart-margins {
    margin: 10px 26px 0 20px;
}

.chart-card-value-margin {
    margin-top: 9px;
    margin-bottom: 0;
}

.bar-chart {
    flex: 1;
    margin-right: 80px;
    height:100px;
}

.column-container {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-end;
}

.column-bar {
    border-right: 6px solid white;
}

.bar-chart-green-gradient {
    background: linear-gradient(#44e894, #24bdb9);
}

.bar-chart-purple-gradient {
    background: linear-gradient(#7877fe, #eb7c98);
}

.cinnabar-color {
    color: #e5462d;
}

.crown-of-thrones-color {
    color: #7e241e;
}

.cursor-pointer {
    cursor: pointer;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: 0.3s ease;
    display: flex;
    justify-content: center;
    cursor: pointer;
}


.table-section {

    width: 100%;
    background-color: white;
    box-shadow: 0px 1px 30px #1432501a;
    border-radius: 5px;
    margin: 31px 0;
}

.tab {
    color: #a8b0b7;
    cursor: pointer;
    padding: 31px 40px 6px 40px;
    font-weight: bold;
}

.active-tab {
    border-bottom: 6px solid #007fff;
    color: #173e67;
}

.reports-table {
    margin-top: 0;
    border-collapse: collapse;
    text-align: left;
    font-size: 16px;
    width: 100%;
}

td,
th {
    padding: 15px;
    vertical-align: top;
}

.dash-table.striped > tbody > tr:nth-child(odd) {
    background-color: #a0c7f01f;
}
.dash-table tr.table-row-odd {
    background-color: #a0c7f01f !important;
}


.table-heading {
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
}

.table-heading-column {
    background-color: white;
    font-size: 16px;
}

.text-data {
    max-width: 700px;
    color: #173e6766;
}

.active-page {
    background-color: #007ffc;
    color: white;
}

.biscay-color {
    color: #173e67;
}

.gray-chateau-color {
    color: #a8b0b7;
}

.perano-color {
    background-color: #a0c7f01f;
}

.align-left {
    text-align: left;
}


@media screen and (max-width: 1200px) {
    .chart-margins {
        margin: 42px 0 0 0;
    }

    .bar-chart {
        margin-right: 30px;
    }
}

@media screen and (max-width: 1024px) {
    .reports-grid {
        grid-template-columns: 6fr 6fr;
    }

    .chart-card {
        grid-column: 1 / span 2;
        padding-left: 5px;
    }

    .chart-margins {
        margin: 42px 0 0 21px;
    }
}

@media screen and (max-width: 600px) {
    .email {
        display: none;
    }

    .user-box {
        padding-right: 0;
    }

    .avatar {
        margin: 10px 0;
    }

    .navigation-bar {
        height: auto;
    }

    .section-title {
        font-size: 24px;
    }

    .subtitle {
        font-size: 14px;
    }

    .card-value {
        font-size: 20px;
    }

    .reports-grid {
        grid-template-columns: 12fr;
    }

    .chart-card {
        grid-column: 1 / span 1;
    }

    .chart-margins {
        flex-direction: column;
        height: 140px;
    }

    .svg-graphic-container {
        margin-top: 10px;
    }

    .svg-graphic-for-mobile-version {
        width: 70px;
    }

    .paginator-info {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 450px) {
    .column-bar {
        border-right: 2px solid white;
    }

    .logo-img {
        width: 35px;
    }

    .tab {
        padding: 15px 10px;
        text-align: center;
        font-size: 14px;
    }
}

.report-table {
    width:100%;
}
.report-table.striped tbody tr:nth-of-type(odd) {
    width: 100%;
    background-color: #a0c7f01f;
}




/* jQuery Growl
 * Copyright 2015 Kevin Sylvestre
 * 1.3.5 https://github.com/ksylvest/jquery-growl
 */
.ontop, #growls-default, #growls-tl, #growls-tr, #growls-bl, #growls-br, #growls-tc, #growls-bc, #growls-cc, #growls-cl, #growls-cr {
    z-index: 50000;
    position: fixed;
}

#growls-default {
    top: 10px;
    right: 10px;
}

#growls-tl {
    top: 10px;
    left: 10px;
}

#growls-tr {
    top: 10px;
    right: 10px;
}

#growls-bl {
    bottom: 10px;
    left: 10px;
}

#growls-br {
    bottom: 10px;
    right: 10px;
}

#growls-tc {
    top: 10px;
    right: 10px;
    left: 10px;
}

#growls-bc {
    bottom: 10px;
    right: 10px;
    left: 10px;
}

#growls-cc {
    top: 50%;
    left: 50%;
    margin-left: -125px;
}

#growls-cl {
    top: 50%;
    left: 10px;
}

#growls-cr {
    top: 50%;
    right: 10px;
}

#growls-tc .growl, #growls-bc .growl {
    margin-left: auto;
    margin-right: auto;
}

.growl {
    opacity: 0.8;
    filter: alpha(opacity=80);
    position: relative;
    border-radius: 4px;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.growl.growl-incoming {
    opacity: 0;
    filter: alpha(opacity=0);
}

.growl.growl-outgoing {
    opacity: 0;
    filter: alpha(opacity=0);
}

.growl.growl-small {
    width: 200px;
    padding: 5px;
    margin: 5px;
}

.growl.growl-medium {
    width: 250px;
    padding: 10px;
    margin: 10px;
}

.growl.growl-large {
    width: 300px;
    padding: 15px;
    margin: 15px;
}

.growl.growl-default {
    color: #FFF;
    background: #7f8c8d;
}

.growl.growl-error {
    color: #FFF;
    background: #C0392B;
}

.growl.growl-notice {
    color: #FFF;
    background: #2ECC71;
}

.growl.growl-warning {
    color: #FFF;
    background: #F39C12;
}

.growl .growl-close {
    cursor: pointer;
    float: right;
    font-size: 14px;
    line-height: 18px;
    font-weight: normal;
    font-family: helvetica, verdana, sans-serif;
}

.growl .growl-title {
    font-size: 18px;
    line-height: 24px;
}

.growl .growl-message {
    font-size: 14px;
    line-height: 18px;
}


#dashboard-alerts {
   
}

.dashboard-alert {
    pointer-events: all;
    
    margin: 1rem 0;
    background: #BD1F25;
    color: white;
    padding: 1rem;
    text-align: left;
    box-shadow: 0px 2px 20px #00000060;
    transition: all ease-in-out 0.25s;
}
.dashboard-alert-header {
    display:flex;
    justify-content:space-between;
}
.dashboard-alert-header h1 {
    font-size:24px;
    color:white;
}
.dashboard-alert-close {
    font-size:20px;
    cursor:pointer;
}
.dashboard-alert.dismissed {
    transform: translateX(-2000px);
}
.dashboard-alert.dismissed.hidden {
    height:0;
    overflow:hidden;
    margin:0;
    padding:0;
}
.dashboard-alert.template {
    display:none;
}



.tweet-button {
    position: relative;
    box-sizing: border-box;
    padding: 3px 12px 3px 12px;
    background-color: #1d9bf0;
    color: #fff;
    border-radius: 9999px;
    font-weight: 500;
    cursor: pointer;
}
.tweet-button:hover {
    color:white!important;
}
.tweet-button i {
    position: relative;
    top: 2px;
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #0000 0 0 no-repeat;
    background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2072%2072%22%3E%3Cpath%20fill%3D%22none%22%20d%3D%22M0%200h72v72H0z%22%2F%3E%3Cpath%20class%3D%22icon%22%20fill%3D%22%23fff%22%20d%3D%22M68.812%2015.14c-2.348%201.04-4.87%201.744-7.52%202.06%202.704-1.62%204.78-4.186%205.757-7.243-2.53%201.5-5.33%202.592-8.314%203.176C56.35%2010.59%2052.948%209%2049.182%209c-7.23%200-13.092%205.86-13.092%2013.093%200%201.026.118%202.02.338%202.98C25.543%2024.527%2015.9%2019.318%209.44%2011.396c-1.125%201.936-1.77%204.184-1.77%206.58%200%204.543%202.312%208.552%205.824%2010.9-2.146-.07-4.165-.658-5.93-1.64-.002.056-.002.11-.002.163%200%206.345%204.513%2011.638%2010.504%2012.84-1.1.298-2.256.457-3.45.457-.845%200-1.666-.078-2.464-.23%201.667%205.2%206.5%208.985%2012.23%209.09-4.482%203.51-10.13%205.605-16.26%205.605-1.055%200-2.096-.06-3.122-.184%205.794%203.717%2012.676%205.882%2020.067%205.882%2024.083%200%2037.25-19.95%2037.25-37.25%200-.565-.013-1.133-.038-1.693%202.558-1.847%204.778-4.15%206.532-6.774z%22%2F%3E%3C%2Fsvg%3E);
}
.tweet-button span {
    margin-left: 4px;
    white-space: nowrap;
}

.form-switch {
    padding-left: 2.5em;
}

.form-switch .form-check-input {
    width: 2em;
    margin-left: -2.5em;
    background-image: url("data:image/svg+xml; charset=utf-8, %3Csvg xmlns='http: //www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='rgba(0,  0,  0,  0.25)'/%3E%3C/svg%3E"); background-position: 0;
    border-radius: 2em;
    transition: background-position .15s ease-in-out;
}

@media(prefers-reduced-motion:reduce) {
    .form-switch .form-check-input {
        transition: none;
    }
}

#toast-wrap {
    position: fixed;
    top:  98px;
    right: 16px;
    z-index: 9999;
    width:300px;
}

.toast {
    width:100%;
    padding:0.5rem;
    margin-bottom:0.5rem;
    width:100%;
    border-radius:0.25rem;
}


.form-switch .form-check-input {
    width: 1em;
    height: 1em;
    margin-top: .3em;
    vertical-align: top;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: contain;
    border: 1px solid rgba(0, 0, 0, .25);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    print-color-adjust: exact;
}

.form-switch .form-check-input:focus {
    background-image: url("data:image/svg+xml; charset=utf-8, %3Csvg xmlns='http: //www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%233b71ca'/%3E%3C/svg%3E");
}

.form-switch .form-check-input:checked {
    background-position: 100%;
    background-image: url("data:image/svg+xml; charset=utf-8, %3Csvg xmlns='http: //www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E");
    background-color: #F0625D;
}

.form-switch.form-check-reverse {
    padding-right: 2.5em;
    padding-left: 0;
}

.form-switch.form-check-reverse .form-check-input {
    margin-right: -2.5em;
    margin-left: 0;
}
.form-switch .form-check-input {
    background-image: none;
    border-width: 0;
    border-radius: .4375rem;
    width: 2rem;
    height: .875rem;
    background-color: rgba(0, 0, 0, .25);
    margin-top: .3em;
    margin-right: 8px;
}

.form-switch .form-check-input:after {
    content: "";
    position: absolute;
    border: none;
    z-index: 2;
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
    background-color: #fff;
    margin-top: -.1875rem;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, .07), 0 2px 2px 0 rgba(0, 0, 0, .04);
    transition: background-color .2s, transform .2s;
}


.form-switch .form-check-input:before {
    content: "";
    position: absolute;
    box-shadow: 0 0 0 13px transparent;
    border-radius: 50%;
    width: .875rem;
    height: .875rem;
    background-color: transparent;
    opacity: 0;
    pointer-events: none;
    transform: scale(0);
}

.form-switch .form-check-input:focus:before {
    opacity: .12;
    box-shadow: 0 0 0 13px rgba(0, 0, 0, .6);
    transform: scale(1);
    transition: box-shadow .2s, transform .2s;
}

.form-switch .form-check-input:focus {
    background-image: none;
    outline: 0;
}

.form-switch .form-check-input:focus:before {
    box-shadow: 3px -1px 0 13px rgba(0, 0, 0, .6);
    transform: scale(1);
    transition: box-shadow .2s, transform .2s;
}

.form-switch .form-check-input:focus:after {
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
}

.form-switch .form-check-input:checked, .form-switch .form-check-input:checked:focus {
    background-image: none;
}

.form-switch .form-check-input:checked:focus:before {
    margin-left: 1.0625rem;
    box-shadow: 3px -1px 0 13px #F0625D;
    transform: scale(1);
    transition: box-shadow .2s, transform .2s;
}


.form-switch .form-check-input:checked[type=checkbox] {
    background-image: none;
}

.form-switch .form-check-input:checked[type=checkbox]:after {
    content: "";
    position: absolute;
    border: none;
    z-index: 2;
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
    background-color: #F0625D;
    margin-top: -3px;
    margin-left: 1.0625rem;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
    transition: background-color .2s, transform .2s;
}

.form-switch .form-check-input:disabled {
    pointer-events: none;
    filter: none;
    opacity: .5;
}


.tippy-box[data-theme='danger'] {
    background-color: #c62828; /* red */
    color: white;
    border: 1px solid #8b1f1f;
}

.tippy-box[data-theme='danger'] .tippy-arrow {
    color: #c62828;
}