@font-face {
    font-family: 'Faricy New';
    font-style: normal;
    font-weight: 300;
    src: local('FaricyNew-rg'),url('fonts/faricynew-lt-webfont.woff2') format('woff2'),url('fonts/faricynew-lt-webfont.woff') format('woff');
}

@font-face {
    font-family: 'Faricy New';
    font-style: normal;
    font-weight: 400;
    src: local('FaricyNew-rg'),url('fonts/faricynew-rg-webfont.woff2') format('woff2'),url('fonts/faricynew-rg-webfont.woff') format('woff');
}

@font-face {
    font-family: 'Faricy New';
    font-style: normal;
    font-weight: 600;
    src: local('FaricyNew-rg'),url('fonts/faricynew-md-webfont.woff2') format('woff2'),url('fonts/faricynew-md-webfont.woff') format('woff2');
}

@font-face {
    font-family: 'Faricy New';
    font-style: normal;
    font-weight: 700;
    src: local('FaricyNew-rg'),url('fonts/faricynew-bd-webfont.woff2') format('woff2'),url('fonts/faricynew-bd-webfont.woff') format('woff');
}

@font-face {
    font-family: 'Frutiger';
    font-style: normal;
    font-weight: 400;
    src: local('Frutiger-rg'),url('../fonts/FrutigerLTArabic-45Light.woff2') format('woff2'),url('../fonts/FrutigerLTArabic-45Light.woff') format('woff');
}

@font-face {
    font-family: 'Frutiger';
    font-style: normal;
    font-weight: 600;
    src: local('Frutiger-rg'),url('../fonts/FrutigerLTArabic-55Roman.woff2') format('woff2'),url('../fonts/FrutigerLTArabic-55Roman.woff') format('woff');
}

@font-face {
    font-family: 'Frutiger';
    font-style: normal;
    font-weight: 700;
    src: local('Frutiger-rg'),url('../fonts/FrutigerLTArabic-65Bold.woff2') format('woff2'),url('../fonts/FrutigerLTArabic-65Bold.woff') format('woff');
}

html.font-ar .order-minus {
	order: -1;
}

.uk-navbar-container:not(.uk-navbar-transparent) {
	/*background: rgba(51, 51, 51, 1) !important;*/
	background: linear-gradient(96deg, #2D1321 0%, #16152C 100%);
}

.uk-navbar-toggle,
.uk-navbar-toggle:hover,
.uk-navbar-toggle[aria-expanded=true] {
	color: #fff;
}

.uk-navbar-nav > li:hover > a,
.uk-navbar-nav > li > a[aria-expanded=true] {
	color: #fff;
	text-decoration: underline;
}

html.font-ar .uk-navbar-nav {
    flex-direction: row-reverse;
}

.uk-navbar-nav > li > a {
	color: #fff;
	font-size: 16px;
	text-transform: none;
}

.uk-nav-primary > li > a {
	font-size: 20px;
	font-family: system-ui;
}

.uk-nav-primary > li > a,
.uk-nav-primary > li > a:hover {
	color: rgba(51, 51, 51, 1);
}

html.font-en {
    font-family: 'Faricy New';
}

html.font-ar {
    font-family: 'Frutiger';
}

html {
    font-size: 14px !important;
}

main {
    background-color: rgb(248, 248, 250) !important;
}

.link-gray {
	color: #444;
	text-decoration: underline;
}

.language-switcher {
	color: #fff;
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

@media(min-width: 480px) {
	html.font-en .language-switcher:before {
		content: '';
		width: 1px;
		height: 20px;
		background: rgba(255, 255, 255, 0.5);
		margin-right: 20px;
	}

	html.font-ar .language-switcher:after {
		content: '';
		width: 1px;
		height: 20px;
		background: rgba(255, 255, 255, 0.5);
		margin-left: 20px;
	}
}

.uk-container {
	max-width: 970px;
}

html.font-ar .uk-navbar-left {
    flex-direction: row-reverse;
}

.font-ar .gc-row {
    flex-direction: row-reverse;
}

.font-ar .gc-row.categoriesContainer {
	flex-direction: row;
}

.font-ar .topViewedArticlesList a svg {
	transform: rotateY(180deg) !important;
}

.categoriesContainer a {
    display: block;
    box-shadow: none;
    height: auto;
    background: transparent;
    width: 300px;
    padding: 15px;
    color: #ff0000;
    border: 1px solid #ff0000;
    border-radius: 8px;
    box-sizing: border-box;
}

    .categoriesContainer a:hover {
        color: #fff;
        background-color: #ff0000;
    }

    .categoriesContainer a * {
        font-weight: 600;
    }

div[data-testid=top-viewed-articles-container] {
    background: #fff;
    margin: 0 5% 20px;
    display: block;
    border-radius: 10px;
    box-shadow: 0px 2px 6px rgb(0 0 0 / 5%);
    padding: 15px 20px;
}

    div[data-testid=top-viewed-articles-container] nav {
        display: none;
    }

    div[data-testid=top-viewed-articles-container] h2 {
        margin-bottom: 5px;
    }
	
	[class^="KnowledgeSearch_container"] h1 {
        color: #fff;
    }

.topViewedArticlesList a {
    padding: 20px 10px;
}

    .topViewedArticlesList a:hover {
        color: #000;
        background: rgba(0, 0, 0, 0.02)
    }

[class^="CategoryArticles_categoryArticlesContainer"] {
    background: #fff;
    padding: 20px;
    gap: 0;
    border-radius: 10px;
    box-shadow: 0px 2px 6px rgb(0 0 0 / 5%);
}

[class^="KnowledgeArticle_title"] {
	background-color: rgba(0,0,0,0.05);
	padding: 10px !important;
	display: block;
	border-radius: 5px;
	font-size: 1.55rem !important;
}

[class^="KnowledgeResults_results_title"] {
	display: block;
	font-size: 1.55rem !important;
}

    [class^="CategoryArticles_categoryArticlesContainer"] li {
        width: 100% !important;
        border-bottom: 1px solid #ccc;
        padding: 5px 0;
    }

        [class^="CategoryArticles_categoryArticlesContainer"] li:last-child {
            border: 0;
        }

        [class^="CategoryArticles_categoryArticlesContainer"] li a {
            padding: 10px 5px;
            box-shadow: none;
        }

[class^="KnowledgeArticle_bodyContainer"] span {
    background: transparent !important;
}


p [class^="KnowledgeArticle_date"] {
	padding: 0 !important;
	background: transparent !important;
}

[class^="Divider_divider"] {
	margin: 24px 0 !important;
}

[class^="KnowledgeResultItem_knowledgeResultItemTitle"] {
	font-weight: bold !important;
	font-size: 1.15rem !important;
}

@media(min-width: 960px) {
    .categoriesContainer {
        padding: 30px 0 0;
    }

    [class^="Containers_mainContainer"] {
        margin-bottom: 30px;
    }
	
	[class^="KnowledgeArticle_title"] {
		padding: 10px 15px !important;
		font-size: 2.3rem !important;
		margin-bottom: 5px !important;
	}

    .categoriesContainer a {
        display: block;
        box-shadow: none;
        height: auto;
        background: transparent;
        width: 300px;
        padding: 25px 15px;
    }

    div[data-testid=top-viewed-articles-container] {
        margin: 0 5% 20px;
        border-radius: 15px;
        box-shadow: 0px 2px 6px rgb(0 0 0 / 10%);
        padding: 30px 40px;
        width: 100%;
        max-width: 960px;
        margin: 0 auto 100px;
    }

        div[data-testid=top-viewed-articles-container] .gc-row {
            display: block;
        }

            div[data-testid=top-viewed-articles-container] .gc-row > div {
                margin: 0;
            }

    body [class^="KnowledgeArticle_bodyContainer"] * {
        font-size: 16px !important;
    }

    [class^="Divider_divider"] {
        margin: 30px 0 20px;
    }
}
