/* Main Style */
@font-face {
    font-family: 'Janna';
    src: url('../../../../fonts/JannaLT-Bold.woff2') format('woff2'),
    url('../../../../fonts/JannaLT-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Janna';
    src: url('../../../../fonts/JannaLT-Regular.woff2') format('woff2'),
    url('../../../../fonts/JannaLT-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
body{
    font-family: 'Janna';
}
.form-control:focus {
    border-color: transparent;
    outline: 0;
    box-shadow: none;
}
a,
a:visited{
    color: #E6222A;
}
a:hover,
a:focus,
a:active{
    color: #BF161D;
}
img{
    max-width: 100%;
}

/* Header */
header#site-header{
    background: #6C9DE2;
    color: #fff;
    background-image: url('../images/header-bg.svg');
    background-size: cover;
}
header#site-header .first-row{
    padding-top: 15px;
    padding-bottom: 15px;
}
header#site-header .first-row .logo{
    height: 150px;
    display: flex;
    align-items: center;
}
header#site-header .first-row .logo img{
    width: auto;
    max-width: 100%;
    height: 140px;
    max-height: 140px;
}
header#site-header .first-row .logo h1{
    font-size: 1.3rem;
    display: inline-block;
    padding: 15px;
    background: rgba(255,255,255,0.8);
    border-radius: 20px;
    color: #E6222A;
}
header#site-header .black-wrapper{
    background: rgba(0,0,0,0.6);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
}
header#site-header .first-row .logo .titleHeader h1{
    font-size: 1.3rem;
    display: inline-block;
    padding: 15px;
    border-radius: 20px;
    color: #fff;
    background: unset;
}
.social-box{
    margin-top: 15px;
}
.social-box ul{
    margin: 0;
    padding: 0;
    margin-top: 5px;
}
.social-box i{
    background: #E7212A;
    font-size: 1rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    line-height: 35px;
    text-align: center;
    color: #fff;
    -webkit-transition: 0.2s all;
    -o-transition: 0.2s all;
    transition: 0.2s all;
}
.social-box i:hover{
    transform: translateY(5px);
}
.social-box i.fab.fa-youtube{background: #ff0000;}
.social-box i.fab.fa-google-plus-g{background: #dd4b39;}
.social-box i.fab.fa-twitter{background: #1da1f2;}
.social-box i.fab.fa-facebook-f{background: #3b5998;}
.search-box input[type="search"]{
    border: none;
    font-size: 0.8rem;
}
.search-box .input-group-addon{
    border-radius: .25rem 0 0 .25rem;
    overflow: hidden;
}
.search-box .input-group-addon button[type="submit"]{
    height: calc(2.25rem + 2px);
    cursor: pointer;
    width: 37px;
    border: none;
    background: none;
    background-color: #E6222A;
    color: #fff;
    -webkit-transition: 0.2s all;
    -o-transition: 0.2s all;
    transition: 0.2s all;
}
.search-box .input-group-addon button[type="submit"]:hover,
.search-box .input-group-addon button[type="submit"]:focus{
    background-color: #BF161D;
    outline: none;
    box-shadow: none;
    border: none;
}
header#site-header nav{
    background: #4AB5E2;
    padding: 0;
}
header#site-header nav .navbar-nav > li:hover,
header#site-header nav .navbar-nav > li:focus,
header#site-header nav .navbar-nav > li.dropdown.show,
header#site-header nav .navbar-nav > li.active{
    background-color: #3e93b7;
}
header#site-header nav .navbar-nav > li > a{
    color: #fff;
    font-weight: bold;
    padding: 0.8rem;
}
header#site-header nav .navbar-nav .dropdown-menu{
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin: 0;
    background: #4ab5e2;
    padding: 0;
}
header#site-header nav .navbar-nav .dropdown-toggle::after {
    vertical-align: 0.155em;
}
header#site-header nav .navbar-nav .dropdown-menu a.dropdown-item{
    color: #fff;
    font-weight: bold;
    border-radius: 0;
    padding-top: 8px;
    padding-bottom: 8px;
}
header#site-header nav .navbar-nav .dropdown-menu a.dropdown-item:hover,
header#site-header nav .navbar-nav .dropdown-menu a.dropdown-item:focus{
    background-color: #3e93b7;
}
header#site-header nav .navbar-nav > li.home.active{
    background-color: transparent
}
header#site-header nav .navbar-nav > li.home > a{
    padding: 0;
    padding-top: 7px;
    padding-left: 7px;
}
header#site-header nav .navbar-nav > li.home > a > i.fa-home{
    background-color: #E6222A;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    -webkit-transition: 0.2s all;
    -o-transition: 0.2s all;
    transition: 0.2s all;
}
header#site-header nav .navbar-nav > li.home > a > i.fa-home:hover,
header#site-header nav .navbar-nav > li.home > a > i.fa-home:focus{
    background-color: #BF161D;
}
header#site-header nav .form-inline .btn,
.search-box .d-lg-none .btn{
    background-color: #E6222A;
    color: #fff;
    font-weight: bold;
}
.search-box .d-lg-none .btn{
    margin-bottom: 5px;
    display: block;
}
header#site-header nav .form-inline .btn:hover,
header#site-header nav .form-inline .btn:focus,
.search-box .d-lg-none .btn:hover,
.search-box .d-lg-none .btn:focus{
    background-color: #BF161D;
}
header#site-header nav .form-inline .btn i,
.search-box .d-lg-none .btn i{
    margin-right: 15px;
}
.navbar-light .navbar-toggler{
    background-color: #E6222A;
    color: #fff;
    margin-top: 40px;
}
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.hidden-x-button{
    position: fixed;
    top: 8px;
    left: 15px;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    opacity: 0;
    -webkit-transform-origin: center;
    -moz-transform-origin: center;
    -ms-transform-origin: center;
    -o-transform-origin: center;
    transform-origin: center;
    -webkit-transition: 0.3s all;
    -o-transition: 0.3s all;
    transition: 0.3s all;
}
.hidden-x-button .navbar-toggler{
    border-radius: 50%;
    width: 55px;
    height: 55px;
    background: rgba(255,255,255,0.8);
}
.hidden-x-button .navbar-toggler .navbar-toggler-icon{
    -webkit-transform: scale(0.8);
    -ms-transform: scale(0.8);
    transform: scale(0.8);
    background-image: url("data:image/svg+xml,%3csvg width='64' version='1.1' xmlns='http://www.w3.org/2000/svg' height='64' viewBox='0 0 64 64' xmlns:xlink='http://www.w3.org/1999/xlink' enable-background='new 0 0 64 64'%3e%3cg%3e%3cpath fill='#E6222A' d='M28.941,31.786L0.613,60.114c-0.787,0.787-0.787,2.062,0,2.849c0.393,0.394,0.909,0.59,1.424,0.59   c0.516,0,1.031-0.196,1.424-0.59l28.541-28.541l28.541,28.541c0.394,0.394,0.909,0.59,1.424,0.59c0.515,0,1.031-0.196,1.424-0.59   c0.787-0.787,0.787-2.062,0-2.849L35.064,31.786L63.41,3.438c0.787-0.787,0.787-2.062,0-2.849c-0.787-0.786-2.062-0.786-2.848,0   L32.003,29.15L3.441,0.59c-0.787-0.786-2.061-0.786-2.848,0c-0.787,0.787-0.787,2.062,0,2.849L28.941,31.786z'/%3e%3c/g%3e%3c/svg%3e");
}
#login-modal .top-icon{
    position: relative;
    top: -60px;
}
#login-modal .top-icon i{
    color: #E6222A;
    padding: 15px;
    font-size: 1.3rem;
    border-radius: 50%;
    width: 60px;
    line-height: 30px;
    height: 60px;
    background: #fff;
    box-shadow: 5px 0 45px 0 rgba(0,0,0,0.2)
}
#login-modal input[type="text"],
#login-modal input[type="password"],
#login-modal input[type="email"]{
    width: 100%;
    display: block;
    direction: rtl;
    text-align: right;
    padding: 15px;
    margin-bottom: 5px;
    border: 2px solid #ddd;
    box-shadow: none;
    outline: none;
    border-radius: 0.25rem;
    -webkit-transition: 0.3s all;
    -o-transition: 0.3s all;
    transition: 0.3s all;
    font-size: 0.85rem;
    min-height: 35px;
    max-height: 121px;
    background-clip: unset;
}
#login-modal input[type="text"]:focus,
#login-modal input[type="password"]:focus,
#login-modal input[type="email"]:focus{
    border: 2px solid #E6222A;
    box-shadow: none;
    outline: none;
}
#login-modal button[type="submit"]{
    cursor: pointer;
    border: none;
    display: block;
    width: 100%;
    background: none;
    background-color: #E6222A;
    color: #fff;
    -webkit-transition: 0.2s all;
    -o-transition: 0.2s all;
    transition: 0.2s all;
    margin-bottom: 15px;
}
#login-modal button[type="submit"]:hover,
#login-modal button[type="submit"]:focus{
    background-color: #BF161D;
    outline: none;
    box-shadow: none;
    border: none;
}
a[type="submit"]{
    background-color: #BF161D;
    outline: none;
    box-shadow: none;
    border: none;
}

/******************/
/* Main Contents */
/****************/

/* First Section */
/*section.first-section ul.grades-list{*/
    /*margin-top: 15px;*/
/*}*/
section.first-section ul.grades-list li{
    background: transparent;
    overflow: hidden;
    border-radius: .3rem;
    line-height: 1;
    position: relative;
    margin-bottom: 5px;
    cursor: pointer;
}
section.first-section ul.grades-list > li{
    -webkit-transition: 0.2s all;
    -o-transition: 0.2s all;
    transition: 0.2s all;
}
section.first-section ul.grades-list > li:after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 35px;
    height: 45px;
    display: inline-block;
    background-image: url('../images/left-arrow.svg');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    -webkit-transition: 0.1s all;
    -o-transition: 0.1s all;
    transition: 0.1s all;
}
section.first-section ul.grades-list li span{
    color: #fff;
    font-weight: bold;
    display: block;
    background: #6EC1E4;
    border-radius: .3rem;
}
/* section.first-section ul.grades-list > li.active span{
    background: #65a8df;
} */
section.first-section ul.grades-list li span:hover,
section.first-section ul.grades-list li span:focus,
section.first-section ul.grades-list li span:active,
section.first-section ul.grades-list li.active span{
    text-decoration: none;
}
section.first-section ul.grades-list > li:hover::after,
section.first-section ul.grades-list > li:focus::after,
section.first-section ul.grades-list > li:active::after,
section.first-section ul.grades-list > li.active::after{
    -webkit-transform: rotate(-92deg);
    -ms-transform: rotate(-92deg);
    transform: rotate(-92deg);
    top: 2px;
}
section.first-section ul.grades-list > li > span > i{
    background: #65A8DF;
    border-bottom-right-radius: .3rem;
    display: inline-block;
    width: 45px;
    height: 45px;
    background-image: url('../images/grade-icon.svg');
    background-size: 28px;
    margin-left: 10px;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
section.first-section ul.grades-list > li > ul{
    display: none;
}
section.first-section ul.grades-list > li > ul,
section.first-section ul.grades-list > li > ul > li{
    list-style-type: none;
    margin: 0;
    padding: 0;
    /* background: #65A8DF; */
    border-radius: 0;
}
section.first-section ul.grades-list > li > ul{
    margin-top: 5px;
    background: #6EC1E4;
    border-radius: .3rem;
    overflow: hidden;
}
section.first-section ul.grades-list > li > ul > li:hover{
    background: #99d0e6;
}
section.first-section ul.grades-list > li > ul > li > a{
    padding: 14px 15px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
    display: block;
}
section.first-section ul.grades-list > li > ul > li > a:hover,
section.first-section ul.grades-list > li > ul > li > a:focus,
section.first-section ul.grades-list > li > ul > li > a:active{
    text-decoration: none;
}
section.first-section .calendar-wrapper{
    position: relative;
    height: 215px !important;
}
section.first-section ul.calendar-list{
    width: 100%;
    display: block;
}
section.first-section ul.calendar-list.treadmill {
    overflow: hidden;
    height: 215px !important;
    margin-bottom: 0;
    padding: 5px;
}
section.first-section ul.calendar-list .treadmill-unit {
    overflow: hidden;
    position: relative;
}
section.first-section ul.calendar-list > li{
    background: #F8F9FA;
    /* box-shadow: 0 2px 6px 0px rgba(0,0,0,0.2); */
    box-shadow: 0 2px 3px 0px rgba(0,0,0,0.2);
    border-radius: .5rem;
    overflow: hidden;
    margin-bottom: 5px;
}
section.first-section ul.calendar-list > li:hover .info h6{
    color: #4DEAB9;
}
section.first-section ul.calendar-list > li a:after{
    content: '';
    display: block;
    clear: both;
}
section.first-section ul.calendar-list > li .date{
    width: 15%;
    color: #fff;
    float: right;
    line-height: 1;
    background: #65A8DF;
}
section.first-section ul.calendar-list > li .date .number,
section.first-section ul.calendar-list > li .date .title{
    display: block;
    text-align: center;
}
section.first-section ul.calendar-list > li .date .number{
    color: #4DEAB9;
    font-size: 1.5rem;
    padding: 8px 0;
}
section.first-section ul.calendar-list > li .date .title{
    border-top: 1px solid #F8F9FA;
    padding-bottom: 5px;
    padding-top: 3px;
}
section.first-section ul.calendar-list > li .info{
    width: 85%;
    float: right;
    color: #59595B;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 0.7rem;
    line-height: 1;
}
section.first-section ul.calendar-list > li .info h6{
    font-weight: bold;
    margin-bottom: 10px;
}
section.first-section ul.calendar-list > li .info .meta i{
    color: #4DEAB9;
    margin-left: 5px;
    vertical-align: middle;
    font-size: 0.8rem;
}
section.first-section ul.calendar-list > li .info .meta span{
    margin-left: 10px;
}
section.first-section .home-slider{
    margin-top: 15px;
    min-height: 150px;
}
section.first-section .home-slider .item{
    position: relative;
    height: 520px;
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
section.first-section .home-slider .item .caption{
    position: absolute;
    z-index: 3;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: rgba(0,0,0,0.45);
    top: 0;
    left: 0;
}
section.first-section .home-slider .item .caption [data-animation-in] {
    opacity: 0;
}
section.first-section .home-slider .item .caption .text{
    width: 70%;
    margin: 0 auto;
    padding-top: 30%;
    color: #fff;
}
section.first-section .home-slider .item .caption .text h4{
    margin: 0 auto;
    margin-bottom: 25px;
    text-align: center;
}
section.first-section .home-slider .item .caption .text h4::after{
    content: '';
    width: 25%;
    height: 1px;
    position: relative;
    bottom: -10px;
    display: block;
    margin: 0 auto;
    text-align: center;
    border-bottom-style: double;
    border-bottom-width: 4px;
    border-bottom-color: #E6222A;
}
section.first-section .home-slider .item .caption .text .btn{
    background-color: #E6222A;
    color: #fff;
}
section.first-section .home-slider .item .caption .text .btn:hover,
section.first-section .home-slider .item .caption .text .btn:focus{
    background-color: #BF161D;
    outline: 0;
    box-shadow: none;
}
/* section.second-section{
    padding: 25px 0;
} */
section.second-section .announcements .title{
    color: #8c8c8c;
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 25px;
}
section.second-section .announcements .title::after{
    content: '';
    width: 25%;
    height: 1px;
    position: relative;
    bottom: -10px;
    display: block;
    border-bottom-style: double;
    border-bottom-width: 4px;
    border-bottom-color: #6EC1E4;
}
section.second-section .announcements .announcements-wrapper{
    position: relative;
    /* by mahmoud */
    /* height: 445px !important; */
    /* height: 300px !important; */
}
section.second-section .announcements .announcements-list{
    border-top: 5px solid #65A8DF;
    background: #F8F9FA;
    box-shadow: 0 2px 6px 0px rgba(0,0,0,0.2);
    border-radius: .5rem;
    /* overflow: hidden; */
    /* max-height: 445px; */
    /* overflow-y: scroll; */
}
section.second-section .announcements .announcements-list.treadmill {
    overflow: hidden;
    /* by mahmoud */
    height: 400px !important;
    /* height: 445px !important; */

    padding: 5px;
}
section.second-section .announcements .announcements-list .treadmill-unit {
    overflow: hidden;
    position: relative;
}
section.second-section .announcements .announcements-list::-webkit-scrollbar {
    width: 13px;
    height: 16px;
}
section.second-section .announcements .announcements-list::-webkit-scrollbar-track {
    background: transparent;
}
section.second-section .announcements .announcements-list::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0);
    border-radius: 35px;
    border: 3px solid #F8F9FA;
}
section.second-section .announcements .announcements-list:hover::-webkit-scrollbar-thumb{
    background-color: rgba(0,0,0,0.4);
}
section.second-section .announcements .announcements-list::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0,0,0,0.6);
}
section.second-section .announcements .announcements-list li a{
    color: #6D6E70;
    width: 95%;
    border-bottom: 1px solid #dadada;
    padding: 9.5px 0;
    margin: 0 auto;
    display: block;
}
section.second-section .announcements .announcements-list li a:before{
    content: '';
    display: inline-block;
    width: 35px;
    height: 35px;
    background-image: url('../images/announcement-icon.svg');
    background-size: 35px;
    margin-left: 10px;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}
section.second-section .announcements .announcements-list li a:hover,
section.second-section .announcements .announcements-list li a:focus{
    text-decoration: none;
    color: #222;
}
section.second-section .news .title{
    color: #8c8c8c;
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 25px;
}
section.second-section .news .title::after{
    content: '';
    width: 10%;
    height: 1px;
    position: relative;
    bottom: -10px;
    display: block;
    border-bottom-style: double;
    border-bottom-width: 4px;
    border-bottom-color: #00c6b5;
}
section.second-section .news .newspaper .col-lg-4{
    padding-right: 8px;
    padding-left: 8px;
}
section.second-section .news .newspaper .news-article{
    background: #00C6B5;
    color: #fff;
    border-radius: .25rem;
    overflow: hidden;
    -webkit-transition: 0.3s all;
    -o-transition: 0.3s all;
    transition: 0.3s all;
    box-shadow: 0 0 122px 95px rgba(0,0,0,0) inset;
    min-height: 370px !important;
    max-height: 370px !important;
}
section.second-section .news .newspaper .col-lg-4:nth-child(5n+1) .news-article{
    background: #9D78B9;
}
section.second-section .news .newspaper .col-lg-4:nth-child(5n+3) .news-article{
    background: #6EC1E4;
}
section.second-section .news .newspaper .news-article:hover{
    box-shadow: 0 0 122px 95px rgba(0,0,0,0.3) inset;
}
section.second-section .news .newspaper .news-article .news-img img{
    max-width: 100%;
    width: 100%;
    max-height: 150px;
    height: 150px;
    object-fit: cover;
}
section.second-section .news .newspaper .news-article .news-title h2{
    font-size: 1.2rem;
    padding: 15px 15px;
    color: #fff;
}
section.second-section .news .newspaper .news-article .news-title a:hover,
section.second-section .news .newspaper .news-article .news-title a:focus{
    text-decoration: none;
}
section.second-section .news .newspaper .news-article .news-meta{
    font-size: 0.7rem;
    background-color: rgba(255,255,255,0.3);
    padding: 15px 0;
    margin-bottom: 10px;
    text-align: center;
}
section.second-section .news .newspaper .news-article .news-meta i{
    margin-left: 2px;
    margin-right: 2px;
}
section.second-section .news .newspaper .news-article p{
    font-size: 0.9rem;
    padding: 10px 15px;
}
section.second-section .news .newspaper .news-article .read-more{
    text-align: left;
}
section.second-section .news .newspaper .news-article .read-more .btn{
    color: #fff;
    background-color: rgba(255,255,255,0.3);
    border-radius: 0 5px 0 0;
}
section.second-section .news .newspaper .news-article .read-more .btn:hover,
section.second-section .news .newspaper .news-article .read-more .btn:focus{
    background-color: rgba(255,255,255,0.5);
    color: #222;
}
section.third-section .video .title{
    color: #8c8c8c;
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 25px;
}
section.third-section .video .title::after{
    content: '';
    width: 25%;
    height: 1px;
    position: relative;
    bottom: -10px;
    display: block;
    border-bottom-style: double;
    border-bottom-width: 4px;
    border-bottom-color: #6EC1E4;
}
section.third-section .video iframe{
    width: 100%;
    max-width: 100%;
    height: 200px;
    max-height: 200px;
}
section.third-section .websites .title{
    color: #8c8c8c;
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 25px;
}
section.third-section .websites .title::after{
    content: '';
    width: 10%;
    height: 1px;
    position: relative;
    bottom: -10px;
    display: block;
    border-bottom-style: double;
    border-bottom-width: 4px;
    border-bottom-color: #00c6b5;
}
section.third-section .websites .website{
    overflow: hidden;
    position: relative;
    border-radius: 0.5rem;
    height: 200px;
}
section.third-section .websites .website a{
    overflow: hidden;
    position: relative;
    display: block;
    height: 200px;
}
section.third-section .websites .website .website-img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    -webkit-transition: 3s all;
    -o-transition: 3s all;
    transition: 3s all;
    background-position: center;
    background-size: 160% 160%;
}
section.third-section .websites .website:hover .website-img{
    background-size: 100% 100%;
    filter: blur(8px);
    -webkit-filter: blur(8px);
}
section.third-section .websites .website .caption{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}
section.third-section .websites .website .caption h6{
    display: block;
    width: 100%;
    -webkit-transition: 3s all;
    -o-transition: 3s all;
    transition: 3s all;
}
section.third-section .websites .website:hover .caption h6{
    font-size: 1.2rem;
}
section.third-section .websites .website .caption h6:before{
    content: '';
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    background-image: url('../images/website-icon.svg');
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    width: 100%;
}

/* Footer  */
footer#site-footer{
    position: relative;
    margin-top: 65px;
}
footer#site-footer svg{
    -webkit-transform: scaleY(0.45);
    -ms-transform: scaleY(0.45);
    transform: scaleY(0.45);
    -webkit-transform-origin: top;
    -moz-transform-origin: top;
    -ms-transform-origin: top;
    -o-transform-origin: top;
    transform-origin: top;
    background-color: #48b4e2;
    position: absolute;
    top: 0;
}
footer#site-footer svg .shape-fill {
    fill: #fff;
    -webkit-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg)
}
footer#site-footer #footer-wrap{
    background-color: #48b4e2;
    padding: 110px 0 35px;
}
footer#site-footer #footer-wrap .card-1{
    background: #fff;
    padding: 15px;
    padding-top: 20px;
    border-radius: 0.25rem;
    text-align: center;
    min-height: 350px;
}
footer#site-footer #footer-wrap .card-1 img{
    display: block;
    width: 45px;
    height: 45px;
    text-align: center;
    margin: 0 auto;
}
footer#site-footer #footer-wrap .card-1 .title{
    color: #48b4e2;
    font-weight: bold;
    font-size: 1.3rem;
    margin-top: 15px;
    margin-bottom: 25px;
}
footer#site-footer #footer-wrap .card-1.social-card{
    margin-top: 5px;
    padding: 14px;
}
footer#site-footer #footer-wrap .card-1.social-card .social-box{
    margin-top: 0;
}
footer#site-footer #footer-wrap .card-1.social-card .copyrights{
    display: block;
    line-height: 1;
    width: 100%;
    margin-top: 15px;
}
footer#site-footer #footer-wrap .card-2{
    background: #fff;
    padding: 15px;
    padding-top: 20px;
    border-radius: 0.25rem;
    text-align: center;
}
footer#site-footer #footer-wrap .card-2 img{
    display: block;
    width: 45px;
    height: 45px;
    text-align: center;
    margin: 0 auto;
}
footer#site-footer #footer-wrap .card-2 .title{
    color: #48b4e2;
    font-weight: bold;
    font-size: 1.3rem;
    margin-top: 15px;
    margin-bottom: 25px;
}
footer#site-footer #footer-wrap .card-2 table{
    width: 100%;
    display: block;
    text-align: right;
}
footer#site-footer #footer-wrap .card-2 table td{
    padding: 10px 0;
    font-size: 0.8rem;
    font-weight: bold;
}
footer#site-footer #footer-wrap .card-2 table i{
    color: #E6222A;
    font-size: 1.2rem;
    vertical-align: middle;
    padding-left: 15px;
}
footer#site-footer #footer-wrap .contact-form .title{
    color: #fff;
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 25px;
}
footer#site-footer #footer-wrap .contact-form .title::after{
    content: '';
    width: 10%;
    height: 1px;
    position: relative;
    bottom: -10px;
    display: block;
    border-bottom-style: double;
    border-bottom-width: 4px;
    border-bottom-color: #E6222A;
}
footer#site-footer #footer-wrap .contact-form input[type="text"],
footer#site-footer #footer-wrap .contact-form input[type="tel"],
footer#site-footer #footer-wrap .contact-form input[type="email"],
footer#site-footer #footer-wrap .contact-form textarea{
    width: 100%;
    display: block;
    direction: rtl;
    text-align: right;
    padding: 15px;
    margin-bottom: 5px;
    border: 2px solid transparent;
    box-shadow: none;
    outline: none;
    border-radius: 0.25rem;
    -webkit-transition: 0.3s all;
    -o-transition: 0.3s all;
    transition: 0.3s all;
    font-size: 0.85rem;
    min-height: 35px;
    max-height: 121px;
    background-clip: unset;
}
footer#site-footer #footer-wrap .contact-form textarea{
    min-height: 121px;
}
footer#site-footer #footer-wrap .contact-form input[type="text"]:focus,
footer#site-footer #footer-wrap .contact-form input[type="tel"]:focus,
footer#site-footer #footer-wrap .contact-form input[type="email"]:focus,
footer#site-footer #footer-wrap .contact-form textarea:focus{
    border: 2px solid #E6222A;
    box-shadow: none;
    outline: none;
}
footer#site-footer #footer-wrap .contact-form button[type="submit"]{
    cursor: pointer;
    border: none;
    background: none;
    background-color: #E6222A;
    color: #fff;
    -webkit-transition: 0.2s all;
    -o-transition: 0.2s all;
    transition: 0.2s all;
}
footer#site-footer #footer-wrap .contact-form button[type="submit"]:hover,
footer#site-footer #footer-wrap .contact-form button[type="submit"]:focus{
    background-color: #BF161D;
    outline: none;
    box-shadow: none;
    border: none;
}

/* Media Queries Inherited */
/**************************/

/* Extra large devices (large desktops) */
@media (max-width: 1200px) {
    .social-box small {
        font-size: 70%;
    }
    section.second-section .news .newspaper .news-article .news-img img{
        height: 120px;
    }
    footer#site-footer #footer-wrap .card-2 table td,
    section.second-section .news .newspaper .news-article p{
        font-size: 0.75rem;
    }
    footer#site-footer #footer-wrap .card-2 table i {
        font-size: 0.9rem;
        padding-left: 10px;
    }
}
/* End (max-width: 1200px) */

/* Large devices (desktops) */
@media (max-width: 992px) {
    .navbar-collapse{
        position: fixed;
        background: #4AB5E2;
        z-index: 9;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        padding: 20%;
        display: flex;
        align-items: center;
        -webkit-transition: 0.3s all;
        -o-transition: 0.3s all;
        transition: 0.3s all;
    }
    .show .hidden-x-button{
        opacity: 1;
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
    header#site-header .navbar-collapse .navbar-nav{
        width: 100%;
        display: block;
        -webkit-transition: 0.3s all;
        -o-transition: 0.3s all;
        transition: 0.3s all;
    }
    header#site-header .navbar-collapse .navbar-nav > li{
        text-align: center;
        border-radius: 50px;
    }
    header#site-header .navbar-collapse .navbar-nav > li.active,
    header#site-header .navbar-collapse .navbar-nav > li.home.active{
        background-color: transparent;
    }
    header#site-header .navbar-collapse .navbar-nav > li.home:hover{
        background-color: #3e93b7;
    }
    header#site-header .navbar-collapse .navbar-nav .dropdown-menu a.dropdown-item{
        text-align: center;
    }
    header#site-header{
        background-size: auto 400px;
    }
    header#site-header .first-row .col-lg-9:after{
        content: '';
        display: table;
        clear: both;
    }
    header#site-header .first-row .col-lg-9 .logo{
        width: 50%;
        float: right;
    }
    header#site-header .first-row .col-lg-9 .d-lg-none{
        width: 50%;
        float: right;
    }
    header#site-header .first-row .d-lg-none .navbar{
        display: block;
        text-align: left;
    }
    header#site-header nav .navbar-nav > li.home.active{
        background-color: #3e93b7;
    }
    header#site-header nav .navbar-nav > li.home > a{
        color: #fff;
        font-weight: bold;
        padding: 0.8rem;
    }
    .announcements .title,
    .news .title,
    .video .title,
    .websites .title{
        margin-top: 35px;
    }
    section.second-section .news .newspaper.row {
        justify-content: center;
    }
    section.second-section .news .newspaper .news-article{
        margin-bottom: 15px;
    }
    section.third-section .video iframe {
        height: 300px;
        max-height: 300px;
    }
    footer#site-footer #footer-wrap .contact-form{
        margin-bottom: 35px;
    }
}
/* End (max-width: 992px) */

/* Medium devices (tablets) */
@media (max-width: 768px) {
    section.second-section .news .newspaper .news-article .news-img img{
        height: auto;
        max-height: none;
    }
    section.second-section .news .newspaper .news-article .news-meta .date,
    section.third-section .websites .website,
    footer#site-footer #footer-wrap .card-2{
        margin-bottom: 5px;
    }
}
/* End (max-width: 768px) */

/* Small devices (phones) */
@media (max-width: 576px) {
    section.first-section .home-slider .slick-next,section.first-section .home-slider  .slick-prev{
        display: none !important;
    }
    section.first-section .home-slider .item{
        height: 420px;
    }
    section.first-section .home-slider .item .caption .text{
        font-size: 0.75rem;
    }
    section.first-section .home-slider .item .caption .text h4{
        font-size: 1rem;
    }
    section.first-section ul.calendar-list > li .date .title{
        font-size: 0.75rem;
    }
    section.third-section .video iframe {
        height: 200px;
        max-height: 200px;
    }
    .ex-modal {
        min-width: 95%;
        max-width: 95%;
    }
    #login-modal .top-icon{
        top: -50px;
    }
    section.first-section ul.calendar-list.treadmill {
        height: 202px !important;
    }
}
/* End (max-width: 576px) */


/* Media Queries 2 */
/******************/

/* Extra large devices (large desktops) */
@media (min-width: 1200px) {
}

/* Medium devices (desktops) */
@media (min-width: 992px) and (max-width: 1199px) {
}

/* Medium devices (tablets) */
@media (min-width: 768px) and (max-width: 991px) {
}

/* Small devices (landscape phones) */
@media (min-width: 576px) and (max-width: 767px) {
}

/* Small devices (portrait phones) */
@media (max-width: 575px) {
}









/*****************Mahmoud ***************/


ul.grades-list{
    padding: 0 !important;
}

/* section{
    padding-top: 20px !important;
} */

section h3.title {

    margin-top: 23px;
}

section.first-section ul.calendar-list.treadmill{
    height: 200px !important;
}



/************* posts *************/

.news_box {
    position: relative;
    transition: all ease-in-out .2s;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-bottom: 45px;
}
.news_box:last-child {
    margin-bottom: 0;
}

.category-page .news_box {
    margin-bottom: 30px;
}

.news_box.inner {
    box-shadow: none;
    margin-bottom: 20px;
}

.news_box .news_box_content {
    padding: 15px;
}

.news_box .news_box_content .title > a {
    color: #4a4a4a;
}

.news_box .news_img {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-clip: content-box;
    box-sizing: border-box;
}

.news_box.inner .news_img {
    height: 140px;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.news_box p,
.news_box .title {
    margin: 0;
}

.news_box .title {
    height: 2.5em;
    overflow: hidden;
}

.news_box .title a {
    text-decoration: none;
    color: #333;
}

.news_box p {
    margin: 10px 0;
    color: #595959;
}

.news_box .show_more {
    overflow: hidden;
}

.news_box .show_more span {
    font-size: 12px;
    line-height: 31px;
}
/* Subjects */


.subject_menu {
    display: flex;
    flex-wrap: wrap;
}

.subject_menu .item {
    width: 25%;
    min-width: 120px;
    padding: 5px 5px 15px 5px;
    margin-bottom: 20px;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
    border-left: 3px solid #fff;
}

.subject_menu .item p {
    margin: 5px 0;
}

.subject_menu .item a {
    color: #4a4a4a;
}

.subject_menu .item span.number {
    color: #FF2D55;
}

.subject_menu .item .logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto;
    color: #ffffff;
    position: relative;
    line-height: 60px;
    background-clip: content-box;
    border: 2px solid #81ce2f;
    background-color: #3a4f16;
}

.subject_menu .item .logo i {
    font-size: 30px;
    transition: all ease-in-out .3s;
}

.subject_menu .item:hover .logo i {
    transform: rotateY(180deg)
}
.img-thumbnail-item{
    height: 170px;
    object-fit: cover;
    float: left;
}
