@import url("https://fonts.googleapis.com/css?family=Alegreya:400,500|Open+Sans&display=swap");

@font-face {
    font-family: "Bahij Semi Bold";
    src: url("../fonts/bahij/BAHIJ THESANSARABIC-SEMIBOLD.TTF");
}

@font-face {
    font-family: "Bahij Regular";
    src: url("../fonts/bahij/BAHIJ_JANNA-REGULAR.TTF");
}

@font-face {
    font-family: "Bahij Black";
    src: url("../fonts/bahij/BAHIJ_THESANSARABIC-BLACK.TTF");
}

@font-face {
    font-family: "Bahij Bold";
    src: url("../fonts/bahij/BAHIJ_THESANSARABIC-BOLD.TTF");
}

@font-face {
    font-family: "Bahij Extra Bold";
    src: url("../fonts/bahij/BAHIJ_THESANSARABIC-EXTRABOLD.TTF");
}

@font-face {
    font-family: "Bahij Extra Light";
    src: url("../fonts/bahij/BAHIJ_THESANSARABIC-EXTRALIGHT.TTF");
}

@font-face {
    font-family: "Bahij Light";
    src: url("../fonts/bahij/BAHIJ_THESANSARABIC-LIGHT.TTF");
}

@font-face {
    font-family: "Bahij Plain";
    src: url("../fonts/bahij/BAHIJ_THESANSARABIC-PLAIN.TTF");
}

body *:not(i):not(.glyphicon) {
    font-family: "Arial", "Open Sans", sans-serif;
}

#main {
    padding: 0 100px;
}

a,
a:hover,
a:focus {
    outline: none;
    text-decoration: none;
    color: #D51C29;
}

a:hover {
    color: rgb(213, 28, 41) !important;
}

button,
button:focus {
    outline: none;
}

#header {
    width: 100%;
    /* margin-bottom: 15px; */
    /* margin-top: 30px; */
    padding: 5px 0;
}

#header .header-wrapper {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#header .header-right ul .dropdown-menu:not(.sub-menu), .dropdown-menu-wrapper {
    /* position: absolute !important;
    z-index: 1000;
    top: 52px;
    background: #ffffffa8;
    left: 0;
    width: 100%;
    padding: 10px; */
    border-radius: 13px;
    border: none;
    background-color: rgba(255, 255, 255, 0.95);
}

#header .header-right ul .navbar-collapse ul li {
    margin: 0;
}

#header .header-right ul .navbar-collapse ul li a {
    color: #fff;
}

#header .header-right ul.main-nav>li {
    margin: 0px 15px;
    text-align: center;
}

#header .header-right .nav-item>a,
.language>a {
    color: white;
    font-size: 16px !important;
}

#header .header-right ul li a:hover {
    color: #D51C29;
}

#header .header-right ul li.active a {
    /* color: #D51C29; */
}

#header .header-right ul li a img {
    height: 25px;
    margin-right: 5px;
}

#header .header-right ul li a .title {
    font-size: 18px;
}

.serf {
    font-family: "Alegreya", serif !important;
}

.dropdown-toggle::after {
    display: none;
}

.banner-thumb {
    width: 100%;
    height: 570px;
    background: no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.banner-thumb .slider-title {
    text-transform: uppercase;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
}

.banner-thumb .slider-sub-title {
    text-transform: uppercase;
    font-size: 2.5rem;
}

.banner-thumb .slider-url {
    margin-top: 50px;
    border: 2px solid #000;
    padding: 5px 20px;
    color: #000;
    text-decoration: none;
}

.owl-dots {
    width: 100%;
    margin-top: 15px;
    display: flex;
    justify-content: center;
}

.owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    margin: 0 10px;
    border-radius: 100%;
    background-color: rgba(0, 0, 0, 1) !important;
    cursor: pointer;
}

.owl-dots .owl-dot:hover,
.owl-dots .owl-dot.active {
    background-color: rgb(213, 28, 41) !important;
}

.categories-list {
    /* display: flex; */
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

.categories-list .categories-item a {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 150px;
    width: 150px;
    margin: 0 0;
    border-radius: 8px;
}

.categories-list .categories-item .category-thumb {
    width: 100%;
    height: 95px;
    background: no-repeat center center;
    background-size: contain;
}

.categories-list .categories-item .category-name {
    color: #000;
    margin-top: 0;
    font-size: 100%;
}

.categories-list .categories-item:hover .category-name {
    color: #D51C29;
}

.categories-list .categories-item:hover a {
    background: #ddcaca;
}

.catalogs-list .catalog-item {
    border: 1px solid #a9a9a9;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100px;
    width: 100px;
    padding: 5px;
}

.catalogs-list .catalog-item .catalog-thumb {
    width: 100%;
    height: 100%;
    background: no-repeat center center;
    background-size: cover;
}

.catalog-title {
    color: #000;
    margin: 5px;
}

.catalog-title>a {
    color: #000;
}

#footer {
    width: 100%;
    margin-top: 20px;
}

#footer .footer-wrapper {
    width: 100%;
    height: 120px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#footer ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: unset;
    list-style: none;
}

#footer ul li:nth-child(2) {
    margin: 0 15px;
}

#footer ul li img {
    width: 25px;
}

#footer .copyright {
    margin-top: 12px;
}

.engoc-pagination {
    margin-top: 20px;
    direction: ltr;
}

.engoc-pagination ul.pagination {
    padding: 0;
}

.page-link {
    color: #000;
}

.page-item.active .page-link {
    background: #D51C29;
    border-color: #D51C29;
}

ol.breadcrumb {
    margin-top: 20px;
    padding: 0 1em;
    list-style: none;
}

ol.breadcrumb li {
    margin-right: 20px;
    position: relative;
}
[dir="rtl"] ol.breadcrumb li:first-child {
    margin-right: 0;
}

ol.breadcrumb li:not(:last-child):before {
    content: "";
    border-color: transparent #afafaf;
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.45em;
    display: block;
    height: 0;
    width: 0;
    right: -15px;
    top: 7px;
    position: absolute;
}
[dir="rtl"] ol.breadcrumb li:not(:last-child):after {
    content: "";
    border-color: transparent #afafaf;
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.45em;
    display: block;
    height: 0;
    width: 0;
    left: -12px;
    top: 7px;
    position: absolute;
    transform: rotate(180deg);
}
[dir="rtl"] ol.breadcrumb li:not(:last-child):before {
    content: none;
}

.products-wrapper {
    padding: 0 5%;
}

.products-wrapper .products-list .block-link {
    display: block;
    width: 100%;
    height: 270px;
    overflow: hidden;
}

.products-wrapper .products-list .product-thumb {
    height: 270px;
    background: no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transform: scale(1);
    will-change: transform;
    transition: -webkit-transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        -webkit-transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.products-wrapper .products-list .product-thumb:not(.desc):hover {
    transform: scale(1.2);
}

.products-wrapper .products-list .product-thumb.desc {
    background: #eee;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 15px;
}

.products-wrapper .products-list .product-thumb.desc h2 {
    font-size: 2.5rem;
}

.products-wrapper .products-list .product-name {
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 0 5px;
}

.products-wrapper .products-list .product-url {
    color: #000;
    background: #eee;
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    padding: 10px;
}

.product-wrapper .product-thumb {
    min-height: 30vw;
    background: no-repeat center center;
    background-size: cover;
}

.items-list {
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-gap: 18px;
    padding: 0px;
}

.pagination {
    justify-content: center;
}

.items-list>div.item-thumb {
    padding: calc(38% - 115px) 25%;
    font-size: 30px;
    text-align: center;
    /* background: no-repeat center center;
    background-size: cover; */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.items-list>div.item-thumb .item-name {
    font-size: 1rem;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.5);
    padding: 0 5px;
    z-index: 1;
}

.items-list>div.item-thumb .item-url {
    margin-top: 10px;
    border: 2px solid #000;
    padding: 0px 10px;
    color: #000;
    text-decoration: none;
    font-size: 1rem;
    z-index: 1;
}

.item-0,
.item-1,
.item-5,
.item-6,
.item-8,
.item-9,
.item-13,
.item-14,
.item-16,
.item-17,
.item-21,
.item-22,
.item-24,
.item-25,
.item-29,
.item-30,
.item-32,
.item-33,
.item-37,
.item-38,
.item-40 {
    padding: calc(76% - 105px) 25% !important;
}

.item-2 {
    grid-column: 1 / 3;
    grid-row: 2;
}

.item-3 {
    grid-column: 3 / 5;
    grid-row: 1 / 3;
}

.item-4 {
    grid-column: 1 / 3;
    grid-row: 3 / 5;
}

.item-7 {
    grid-column: 3 / 5;
    grid-row: 4;
}

.item-10 {
    grid-column: 1 / 3;
    grid-row: 6;
}

.item-11 {
    grid-column: 3 / 5;
    grid-row: 5 / 7;
}

.item-12 {
    grid-column: 1 / 3;
    grid-row: 7 / 9;
}

.item-15 {
    grid-column: 3 / 5;
    grid-row: 8;
}

.item-18 {
    grid-column: 1 / 3;
    grid-row: 10;
}

.item-19 {
    grid-column: 3 / 5;
    grid-row: 9 / 11;
}

.item-20 {
    grid-column: 1 / 3;
    grid-row: 11 / 13;
}

.item-23 {
    grid-column: 3 / 5;
    grid-row: 12;
}

.item-26 {
    grid-column: 1 / 3;
    grid-row: 14;
}

.item-27 {
    grid-column: 3 / 5;
    grid-row: 13 / 15;
}

.item-28 {
    grid-column: 1 / 3;
    grid-row: 15 / 17;
}

.item-31 {
    grid-column: 3 / 5;
    grid-row: 16;
}

.item-34 {
    grid-column: 1 / 3;
    grid-row: 18;
}

.item-35 {
    grid-column: 3 / 5;
    grid-row: 17 / 19;
}

.item-36 {
    grid-column: 1 / 3;
    grid-row: 19 / 21;
}

.item-39 {
    grid-column: 3 / 5;
    grid-row: 20;
}

.breadcrumb {
    background: none !important;
    padding: 0 !important;
    font-size: 13px;
}

.breadcrumb li {
    color: #afafaf;
}

a,
.breadcrumb li a {
    color: #afafaf;
    /* color: #D51C29; */
}

.product-view .item-thumb {
    height: 644px;
    background-size: cover;
    background-position: center;
}

.product-view .share-bar {
    padding: 10px;
}

@media (min-width: 768px) {
    #main {
        padding: 0 15px;
    }
}

@media (min-width: 576px) {
    #main {
        padding: 0 15px;
    }
}

@media (min-width: 992px) {
    #main {
        padding: 0 100px;
    }
}

.catalogs-year {
    border-top: 1px solid #c3bcbc;
    font-size: 1.5rem;
    margin: 10px 0px;
}

.text-center-justify {
    text-align: justify;
    text-align-last: center;
}

.category-content {
    margin: 20px 0px;
}

.category-content a {
    color: #000;
}

.text-img {
    position: absolute;
    top: 15%;
    left: 20px;
}

.text-img p {
    margin-bottom: 0;
}

@media (max-width: 730px) {
    .text-img {
        position: relative;
    }
}

@media (max-width: 768px) {
    ul.dropdown-menu.sub-menu.show {
        margin-top: 15px;
    }

    ul.dropdown-menu.sub-menu.show::after {
        transform: rotate(90deg);
        position: absolute;
        top: 10px;
        right: -13px;
        display: inline-block;
        border-right: 8px solid transparent;
        border-bottom: 12px solid #e0e0e0;
        border-left: 8px solid transparent;
        content: "";
        top: 28px;
        right: 72px;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
        border-right: 12px solid rgba(255, 255, 255, 0.76);
    }
}

@media (max-width: 800px) {
    .items-list>div.item-thumb {
        margin: 15px !important;
        padding: 55px !important;
    }

    .items-list {
        display: inline;
    }

    .product-title {
        z-index: 1;
        text-align: center;
    }

    .product-card {
        padding: 10px !important;
    }

    .products-wrapper .products-list .product-url {
        background: none;
        padding: 0px;
    }

    .products-wrapper .products-list .block-link {
        height: 150px;
    }

    .products-wrapper .products-list .product-thumb {
        height: 150px;
    }
}

.content-center {
    display: flex;
    align-items: center;
}

#fixed-content {
    position: fixed;
    bottom: 10px;
    right: 15px;
    /* border-radius: 10px 10px 0px 0px !important; */
    padding: 6px 16px !important;
    font-weight: normal;
    z-index: 100;
    background: #ffffff6b;
}

.a-black {
    color: #000 !important;
    font-weight: bold;
}

.item-img {
    background: no-repeat center center;
    background-size: cover;
    height: 100%;
    width: 100%;
    position: absolute;
    /* z-index: -1; */
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

.item-img:hover {
    transform: scale(1.2);
}
