/*
~mhkh@2022-07-06 08:18:02
#
##
### كتب هذا الستايل لاجل موقع التعليم المستمر
*/
body {
    line-height: 20%;
    font-size: 1rem;
}

/* ستايل الهدير  */
.swiper-img {
    width: 100%;
    height: 30rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.swiper-img h4 {
    position: absolute;
    bottom: 0;
    color: var(--c-light);
}

.d-dropdown {
    position: relative;
}

ul.menu-drop {
    position: absolute;
    transition: all .3 ease-in;
    display: none;
    margin-top: 3px;
    padding: 5px 10px;
    width: 13.5rem;
    margin-right: -8px;
    z-index: 10;
}

ul.menu-drop.open {
    display: block;
}

@media only screen and (max-width: 768px) {
    .d-dropdown a {
        text-align: right;
    }

    .d-dropdown .sub1 {
        position: absolute;
        text-align: center;
        top: 0;
        left: 0;
        color: var(--c-white);
        z-index: 9999;
        width: 30px;
        height: 30px;
    }

    .d-dropdown .sub1::after {
        content: "+";
        position: absolute;
        text-align: center;
        font-size: 26px;
        top: 0;
        left: 0;
        color: var(--c-white);
    }

    ul.menu-drop {
        position: relative;
        width: 100%;
        margin-right: 0px;
    }

    .mxh250 {
        height: auto;
    }

    .top-circle {
        left: 50%;
        width: 100%;
        text-align: center;
    }

    .card-2 {
        width: auto;
    }
}

ul.menu-drop li {
    padding: 2px 10px;
    display: block;
    width: 100%;
    text-align: right;
}

ul.menu-drop li a {
    color: #fff !important;
    transition: all 0.3s ease;
}

ul.menu-drop li a:hover {
    opacity: 0.9 !important;
}

.d-dropdown:hover ul.menu-drop,
.d-dropdown:checked ul.menu-drop {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}

ul.menu-drop li:hover a {
    color: #ccc !important;
}

.d-dropdown:hover span.down {
    transform: rotate(45deg);
}


/* Background Animation  clc*/

/* .bg-box div {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 2px solid rgba(44 77 170)
}

.bg-box div:nth-child(1) {
    top: 130px;
    left: 42%;
    animation: animate 10s linear infinite;
}

.bg-box div:nth-child(2) {
    top: 130px;
    left: 50%;
    animation: animate 7s linear infinite;
}

.bg-box div:nth-child(3) {
    top: 130px;
    left: 6%;
    animation: animate 9s linear infinite;
}

.bg-box div:nth-child(4) {
    top: 130px;
    left: 60%;
    animation: animate 10s linear infinite;
}

.bg-box div:nth-child(5) {
    top: 130px;
    left: 10%;
    animation: animate 6s linear infinite;
}

.bg-box div:nth-child(6) {
    top: 130px;
    left: 70%;
    animation: animate 12s linear infinite;
}

.bg-box div:nth-child(7) {
    top: 130px;
    left: 80%;
    animation: animate 15s linear infinite;
}

.bg-box div:nth-child(8) {
    top: 130px;
    left: 25%;
    animation: animate 16s linear infinite;
}

.bg-box div:nth-child(9) {
    top: 130px;
    left: 25%;
    animation: animate 9s linear infinite;
}

.bg-box div:nth-child(10) {
    top: 130px;
    left: 80%;
    animation: animate 5s linear infinite;
} */

@keyframes animate {
    0% {
        transform: scale(0) translateY(0) rotate(0);
        opacity: 1;
    }

    100% {
        transform: scale(1.3) translateY(-90px) rotate(360deg);
        opacity: 0;
    }
}

.top-circle {
    position: absolute;
    padding: 5px 10px;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    color: #fff;
    background: var(--c-indigo);
}

.mxh250 {
    height: 250px;
}

.bg-img {
    height: 250px;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

/*  ىستايل بطاقة جديدة */

.card-2 {
    background: var(--c-indigo);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    width: 20rem;
    height: 450px;
    margin: 30px;
    border-radius: 20px;
    border-bottom-left-radius: 160px;
    border-bottom-right-radius: 160px;
    overflow: hidden;
}


.card-2:nth-child(1),
.card-2:nth-child(2),
.card-2:nth-child(3) {

    transition: box-shadow 0.3s ease-in-out;
    background: linear-gradient(10deg, var(--c-indigo) 0%, var(--c-indigo) 35%, var(--c-indigo) 100%);
}

.card-2:nth-child(1):hover,
.card-2:nth-child(2):hover,
.card-2:nth-child(3):hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.card-2 .icon {
    position: relative;
    width: 140px;
    height: 120px;
    background: var(--c-gray);
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    /* box-shadow: 0 15px 0 rgba(0, 0, 0, 0.1), inset 0 -8px 0 #fff; */
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.card-2 .icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50px;
    width: 50px;
    height: 50px;
    background: transparent;
    border-top-right-radius: 50px;
    box-shadow: 15px -15px 0 15px var(--c-gray);
}

.card-2 .icon::after {
    content: "";
    position: absolute;
    top: 0;
    right: -50px;
    width: 50px;
    height: 50px;
    background: transparent;
    border-top-left-radius: 50px;
    box-shadow: -15px -15px 0 15px var(--c-gray);
}

.card-2 .icon .svg-icon {
    margin-top: 30px;
}

.card-2 .content {
    position: absolute;
    width: 100%;
    padding: 30px;
    padding-top: 150px;
    text-align: center;
}

.card-2 .content h2 {
    font-size: 1.8em;
    color: #fff;
    margin-bottom: 15px;
}

.card-2 .content p {
    color: #fff;
    line-height: 1.5em;
}


/*  ستايل بطاقة الاخبار الجديدة */

.gray-bg {
    background-color: #ebf4fa;
}

.blog-grid {
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 12px;
    margin-right: 12px;
}

.blog-grid .blog-img {
    position: relative;
    border-radius: 5px;
    /* max-height: 117px; */
}

.blog-grid .blog-img .date {
    position: absolute;
    color: #ffffff;
    padding: 5px 10px;
    left: 0;
    top: 10px;
    font-size: 12px;
}

.blog-grid .blog-img .img {
    height: 250px;
    background-repeat: no-repeat !important;
    background-size: 100% 100% !important;
}

.blog-grid .blog-info {
    box-shadow: 0 0 30px rgba(31, 45, 61, 0.125);
    border-radius: 5px;
    background: #ffffff;
    position: relative;
    margin: 1px;
    height: 125px;

}

.blog-info a {
    padding: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 15px !important;
    margin: 1px;
}


.blog-grid .blog-info .btn-bar {
    position: absolute;
    bottom: 0;
    left: 6.5rem;
}


/*  ستايل اعداد الكادر و الموظفين و الدورات */

.counter {
    font-family: 'Open Sans', sans-serif;
    color: #fff;
    background: #f1d18a;
    text-align: center;
    width: 190px;
    padding: 25px 30px 10px;
    margin: 0 auto;
    border-radius: 30px 0;
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.counter:before {
    content: "";
    background: #22356d;
    border-radius: 15px 0 30px 0;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.15);
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 27px;
    z-index: -1;
}

.counter h3 {
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.counter .counter-value {
    color: #666;
    background: #f1d18a;
    font-size: 30px;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    line-height: 55px;
    width: 90%;
    height: 50px;
    padding: 0 15px;
    margin: 0 0 0 -20px;
    display: block;
}

@media screen and (max-width:990px) {
    .counter {
        margin-bottom: 40px;
    }
}


/*  ستايل لاجل بطاقة الخبر المركز الاخبار */

.card-header {
    width: 100%;
    height: 250px;
    background-size: 100% 100% !important;
    border-radius: 1px 1px 0 0;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.card-new {
    height: 30rem;
}

.card-new:hover .card-header {
    filter: brightness(50%);
}

.card-header-date,
.card-body-header-category {
    text-transform: uppercase;
    background-color: #22356d;
    color: #FFF;
    font-weight: bold;
    text-align: center;
}

.card-body-header-category {
    position: absolute;
    font-size: 13px;
    top: -47px;
    left: 0;
    padding: 8px 14px;
    line-height: 15px;
    border-top-right-radius: 5px;
}

.card-body-header {
    position: absolute;
    left: 0;
    width: 100%;
    padding: 5px;
    background-color: #FFF;
}

.card-body-header-sentence {
    color: #22356d;
    margin-top: 14px;
    font-size: 19px;
}

.card-body-description {
    font-size: 14px;
    margin-top: 5rem;
    color: #757B82;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.card-body-footer {
    text-align: center;
    display: none;
    position: absolute;
    right: 22%;
    width: 50%;
    bottom: 0;
    -webkit-transition: bottm .3s ease;
    -moz-transition: bottm .3s ease;
    -ms-transition: bottm .3s ease;
    -o-transition: bottm .3s ease;
    transition: bottm .3s ease;
}

.card-new:hover .card-body-footer {
    display: block;
    left: 50%;
    bottom: 0px;
}


/* هذا الكود معاد من الصفحة الرئيسية للتعليم المستمر */

.px-btn-arrow {
    color: #2D4E89;
    font-size: 12px;
}

.px-btn-arrow .arrow {
    border: solid #2D4E89;
    border-width: 0 3px 3px 0;
}

.arrow.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

/* تصميم محتوى الكلمة و الرؤية و الاهداف و الهيكلية  */
.mang_words {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.header__bg {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--c-indigo);
    transform: skewY(-4deg);
    transform-origin: top left;
}

.header__bg::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--c-orange);
    transform: skewY(-4deg);
    transform-origin: top left;
    z-index: 3;
}

.links>i {
    font-size: 14px;
    color: #fff;
    margin: 0 4px;
}