$white: #ffffff;
$veryLightGray: #E8E8E8;
$lightGray: #ced4da;
$gray: #adb5bd;
$darkGray: #6c757d;
$veryDarkGray: #545454;
$green: #4CAF50;
$lightGreen: #d1e7dd;
$red: #ED4028;
$blue: #0D6EFD;

html,
body {
    margin: 0px;
    padding: 0px;
    background-color: $white;
    direction: ltr;
    font-family: 'Oswald', sans-serif;
    top: 0 !important;
}

.main-nav {
    padding-block: .5em;

    >.container {
        >.row {
            align-items: center;
            text-align: center;
        }

        .navbar-brand {
            margin: 0;

            img {
                width: 75px;
            }
        }

        .navbar-language {
            .select2-container {
                .select2-selection--single {
                    height: unset;
                    background-color: transparent !important;
                    border: none;

                    .select2-selection__rendered {
                        line-height: 0;
                        padding: 0;
                    }

                    .select2-selection__arrow {
                        display: none;
                    }
                }
            }
        }

        .survey-button {
            img {
                width: 1.75em;
                cursor: pointer;
            }

        }
    }
}

.advertisements {
    .item {
        background-size: cover;
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        border-radius: 2em;
    }

    .owl-dots {
        position: absolute;
        bottom: 10px;
        width: 100%;

        .owl-dot {
            span {
                width: 32px;
                height: 4px;
                margin: 5px;
                background-color: $lightGray;

                &:hover {
                    background-color: $darkGray
                }
            }

            &.active {
                span {
                    background-color: $darkGray
                }
            }
        }
    }
}

.menu {
    margin-top: 2em;

    .search {
        position: relative;
        margin-block: 1em;

        .input {
            width: 100%;
            padding: 5px 1em;
            padding-inline-end: 2.5em;
            color: $darkGray;
            border: none;
            border-radius: 10px;
            border: 1px solid $gray;

            ::placeholder {
                color: $darkGray;
            }
        }

        .la-search {
            position: absolute;
            inset-inline-end: 25px;
            top: 5px;
            font-size: 25px;
            color: $darkGray;
        }
    }

    .view {
        text-align: center;

        i {
            font-size: 25px;
            background: grey;
            color: white;
            padding: 3px;
            cursor: pointer;
        }
    }


    &.list-view {
        .channel {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1em 2em;
            background-color: $darkGray;
            color: $white;
            border-radius: 50px;
            margin-bottom: 1em;

            .media {
                img {
                    width: 100px;
                }
            }
        }

        &:not(.active) {
            margin: 10px 0;

            .items {
                display: none;
            }
        }
    }

    &.grid-view {
        .channel {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 1em 2em;
            background-color: $darkGray;
            color: $white;
            border-radius: 50px;
            margin-bottom: 1em;

            .title {
                overflow: hidden;
                line-height: 1.75;
                height: 1.76em;
                margin-bottom: 0.5em;

                span {
                    width: 100%;
                    text-align: center;
                    text-overflow: ellipsis;
                    -webkit-box-orient: vertical;
                    display: -webkit-box;
                    -webkit-line-clamp: 1;
                    margin-bottom: 0;
                }
            }

            .media {
                img {
                    max-width: 100%;
                    object-fit: contain;
                    height: 60px;
                }
            }
        }

        &:not(.active) {
            margin: 10px 0;

            .items {
                display: none;
            }
        }
    }



}

.main-footer {
    text-align: center;
    padding-bottom: 1em;

    a {
        text-decoration: none;
        color: $darkGray;

        span {
            text-decoration: underline;
            color: $blue;
        }
    }
}

@import 'components/google_translate';
@import "../../../fonts/iconsmind/iconsmind.scss";
@import "rtl";