body {
    font-family: 'Nunito', 'Inter', sans-serif;
    color: rgba(64, 81, 102, .96);
}

.header {
    padding-bottom: 5px;
    margin-bottom: 25px;
}

nav.navbar .badge-info {
    right: 50%;
    top: 0;
}

nav.navbar .navbar-nav .nav-link {
    padding: 0.8rem !important;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-tabs li a {
    color: #ffffff;
}

nav.navbar .navbar-nav .nav-item {
    white-space: nowrap;
}

nav.navbar .navbar-nav .nav-item.active {
    background: #f3f3f3;
}

nav.navbar .navbar-nav .nav-item.active>a {
    color: #000000 !important;
}

nav.navbar .navbar-nav .show .dropdown-menu>a {
    color: #000000 !important;
}

.section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.section.product {
    background-image: linear-gradient(0deg, #f5f9fc, #f5f9fc);
    background-repeat: no-repeat;
}

.section.notice {
    background-color: #fff3cd;
}

.article .image-style-side {
    float: right;
    margin-left: 1.5em;
    max-width: 50%;
}

.article .image-style-align-left {
    float: left;
    margin-right: 1.5em;
}

.article .image-style-align-center {
    margin-left: auto;
    margin-right: auto;
}

.article .image-style-align-right {
    float: right;
    margin-left: 1.5em;
}

.article .image.image_resized img {
    width: 100%;
}

.article .image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    min-width: 50px;
}

.footer {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    color: #fff;
    background-color: #3b474e;
}

.gateways .custom-control-label {
    font-size: 1.2em;
}

.btn-lg {
    font-size: 1.25rem;
}

.nav-item .img-thumbnail {
    max-width: 5rem;
    border: none;
}

.table-responsive .table.received thead {
    display: table-header-group;
}

.table-responsive .table.received tbody th {
    display: none;
}

#language_switcher {
    left: auto;
    right: 0 !important;
}

#background_tv {
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
}
#background_tv img{
    width: 100%;
    aspect-ratio: 16/9;
}

:dir(rtl) {

    body {
        direction: rtl;
        font-family: 'Cairo' !important;
        text-align: right;
    }
    
    /* th {
        text-align: right;
    } */
    
    /* .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
        float: right;
    } */
    
    .pull-left {
        float: right !important;
    }
    
    .pull-right {
        float: left !important;
    }
    
    .float-left {
        float: right !important;
    }
    
    .float-right {
        float: left !important;
    }
    
    .text-left {
        text-align: right !important;
    }
    
    .text-right {
        text-align: left;
    }
    
    .dropdown-menu {
        /* float: right; */
        text-align: right;
    }
    
    .nav {
        padding-right: 0;
        /* margin-bottom: 0; */
        /* list-style: none; */
    }
    
    .list-group {
        padding-right: 0;
    }

    .list-group-horizontal > .list-group-item + .list-group-item {
        border-right-width: 0;
        border-left-width: 1px;
    }

    .list-group-horizontal > .list-group-item:first-child {
        border-bottom-left-radius: 0;
        border-top-right-radius: .25rem;
        border-bottom-right-radius: .25rem;
        border-top-left-radius: 0;
    }

    .list-group-horizontal > .list-group-item:last-child {
        border-top-right-radius: 0;
        border-bottom-left-radius: .25rem;
        border-top-left-radius: .25rem;
        border-bottom-right-radius: 0;
    }

    .card {
        text-align: inherit !important;
    }

    .input-group-append, .input-group-btn {
        margin-right: -1px;
        margin-left: 0;
    }
         
    /* .dropdown-menu-right {
        right: auto;
        left: 0;
    } */
    
    /* .nav-tabs>li {
        float: right;
        margin-bottom: -1px;
    } */
    
    .pagination, div.pagination ul.pagination {
        padding-right: 0;
    }

    /* .pagination li {
        padding-left: auto;
        float: right;
    } */
    
    .radio, .checkbox {
        padding-left: auto;
        padding-right: 20px;
    }
    
    .radio input[type=radio], .radio-inline input[type=radio], .checkbox input[type=checkbox], .checkbox-inline input[type=checkbox] {
        float: right;
        margin-left: auto;
        margin-right: -20px;
    }
    
    .close {
        float: left;
    }
    
    .ml-auto {
        margin-right: auto !important;
        margin-left: 0 !important;
    }
    
    .input-group-prepend {
        margin-left: -1px;
        margin-right: 0 !important;
    }
    
    .list-unstyled {
        padding-right: 0;
    }
    
    @media (min-width: 768px) {
        .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
            float: right;
        }
    
        .navbar-nav {
            float: right;
            margin: 0;
        }

        .navbar-nav {
            float: none !important;
            padding-right: 0px !important;
        }
    
        .navbar-nav>li {
            float: right;
        }
    
        .navbar-right .dropdown-menu {
            right: auto;
            left: 0;
        }
    
        .navbar-right .dropdown-menu-left {
            right: 0;
            left: auto;
        }
    
        .navbar-left {
            float: right !important;
        }
    
        .navbar-right {
            float: left !important;
        }

        .col-md-offset-2, .offset-md-2 {
            margin-right: 16.66667%;
            margin-left: 0;
        }
    
    }
    
    @media (min-width: 992px) {
        .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
            float: right;
        }
    }
    
    @media (min-width: 1200px) {
        .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
            float: right;
        }
    
        .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
            float: right;
        }
    }
            
    .navbar-nav {
        padding-right: 0px !important;
    }

    #language_switcher {
        left: 0;
        right: auto !important;
    }

}

@media screen and (max-width: 600px) {
    #add-playlist .nav-tabs {
        display: block;
    }

    #add-playlist .nav-tabs li a.active {
        border-color: #dee2e6 #dee2e6 #dee2e6;
        background-color: #ccc;
    }

    .table-responsive .table.received thead {
        display: none;
    }

    .table-responsive .table.received tbody td, .table-responsive .table.received tbody th {
        display: block;
    }

    .table-responsive .table.received tbody th {
        border-bottom: none;
        font-size: 12px;
        font-weight: 700;
        color: #5a6268;
        background: #f8f9fa;
        position: relative;
    }

    /* Force table to not be like tables anymore */
    .table-mobile-view table,
    .table-mobile-view thead,
    .table-mobile-view tbody,
    .table-mobile-view th,
    .table-mobile-view td,
    .table-mobile-view tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .table-mobile-view thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .table-mobile-view tr {
        border: 1px solid #ccc;
    }

    .table-mobile-view td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 40% !important;
        white-space: normal;
        text-align: left;
    }

    .table-mobile-view td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 40% !important;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }

    /* Label the data */
    .table-mobile-view td:before {
        content: attr(data-title);
    }
}

@media only screen and (max-width: 800px) {}
