* { 
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    text-align: right;
}

body{
    background-image: url(../images/bg1.png);
}

.social-media-icons-container{
    padding-top: 0.3rem;
    padding-left: 1rem;
}
.icon{
    height: 1.3rem;
    margin-left: 0.35rem;
}

.simple-test-social .icon{
    height: 1.6rem;
}
.logo{
    height: 8rem;
}

.google-search-div{
    margin-top: 1rem!important;
}
.main-page{
    background-color: white;
    /* border-right: 1px solid rgba(109, 101, 101, 0.2);;
    border-left: 1px solid rgba(109, 101, 101, 0.2);; */
    padding-right: 0.05rem;
    padding-left: 0.05rem;
}

.content{
    min-height: 25rem;
}
a{
    color: black;
  
}

a:hover{
    text-decoration: none;
}


.navbar a, .navbar-dark .navbar-nav .nav-link{
    color: white;
    transition: 0.5s;
}

.navbar a:hover{
    color: #ce9919!important;
    
}

.navbar .dropdown-menu a{
    color: black!important;
    transition: 0.4s;
}

.navbar .dropdown-menu a:hover{
    color: #ce9919!important;
    background-color: rgba(109, 101, 101, 0.2);
    transition: 0.4s;
}

.link{
    color: blue !important;
}
.list-group-item:hover{
    background-color: #d8d8d8;
}

.bg-gray{
    background-color: #d8d8d8;
}
.card-header{
    text-align: right;
    font-weight: bold;
    background-color: rgba(0,0,0,0.1);
}

.list-group{
    text-align: right;
    padding-left: none;
    padding-right: 0;
}

.w-15{
    width: 15%!important;
}


.w-8{
    width: 8%!important;
}

.branch-class-card{
    width: auto;
    min-width: 17rem;
}

.size-3{
    width: 3rem;
}

.card{
    margin-right: 1rem;
    margin-left: 1rem;
}

/* col-x */
@media (min-width: 576px){
    .corona-table{
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .news-img-show{
        width: 100%;
        border-radius: calc(.25rem - 1px);
    }

 
}


/* col-sm */
@media (max-width: 576px){
    .corona-table{
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .w-mobile-100{
        width: 100%!important;
        display: inline-table;
    }
    .news-img-show{
        width: 100%;
        border-radius: calc(.25rem - 1px);
    }
    
}



/* col-md */
@media (max-width: 768px){
    .card{
        /* width: 20rem; */
    }

    .card .card-header, .card .list-group-item{
        text-align: center;
    }

    .branch-class-card{
        /* width: 20rem; */
    }

    .home-h1, .home-h2, .home-h3, .home-4{
        text-align: center;
    }
    
    .corona-table{
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .w-mobile-100{
        width: 100%!important;
        display: inline-table;
    }

    .news-img-show{
        width: 80%;
        border-radius: calc(.25rem - 1px);
        display: block;
        margin: 0 auto!important;
    }
}



/* col-lg */
@media (max-width: 992px){
    .card{
        /* width: 20rem; */
    }

    .card .card-header, .card .list-group-item{
        text-align: center;
    }

    .news-img-show{
        width: 80%;
        border-radius: calc(.25rem - 1px);
        display: block;
        margin: 0 auto!important;
    }

   
}



/* col-xl */
@media (min-width: 1200px){
    .news-img-show{
        width: 80%;
        border-radius: calc(.25rem - 1px);
        display: block;
        margin: 0 auto!important;
    }
}


.channel-icon{
    width: 2.5rem;
}

.fit-content{
    width: fit-content !important;
}

.home-h1{
    font-size: inherit;
    font-weight: bold;;
}


.home-h2{
    font-size: inherit;
}


.home-h3{
    font-size: inherit;
}

.home-h4{
    font-size: inherit;
}

.corona-table{
    width: 100%;
}

.corona-table tr td, .corona-table tr th{
    text-align: center;
    font-size: 1rem;
}

.table-text-center tr td, .table-text-center tr th{
    text-align: center;
}

.w-fit-content{
    width: fit-content;
}
.a2a_svg{
    width: 3rem!important;
    height: 3rem!important;
}

footer{
    background-color: #343a40!important;
    color: white;
    text-align: center;
}

footer h5{
    text-align: center;
    font-size: 1.15rem;
}

footer hr{
    background-color: white;
    width: 70%;
}

footer ul{
    list-style-type: none;
}
footer ul li {
    text-align: center;
    color: white;
    margin: 0.25rem;
}

footer ul li a{
    color: white !important;
    text-decoration: none;
    transition: 0.5s;
}

footer ul li a:hover{
    color: #ce9919!important;
}

.active{
    color: #ce9919!important;
}

.contact-us p{
    font-size: 1.2rem;
}

.icon-button{
    background: none;
    border: none;;
}

.color-grey{
    color: grey;
}

.teachers{
    border-right: none;
    border-left: none;
}

.teachers .teacher,.teachers .card-title, .teachers .card-text{
    text-align: center;
}
.teacher .card-title{
    font-size: 1rem;
    height: 2rem;
}

.teacher .card-text{
    font-size: 1rem;
    height: 2rem;
}

#teachers-page-row #loading{
    margin-top: 1rem;
}
.avatar-size{
    min-width: 8rem;
    min-height: 8rem;
    width: 8rem;
}

.material table tr:first-child{
   text-align: center;
}

legend{
    font-size: 1rem;
}

#materials{
    height: fit-content;
    padding: 0.3rem;
}


#teachers{
    height: 25rem;
}

select.form-control {
    height: unset;
}

/* .news-img-show{
    border-radius: calc(.25rem - 1px);
} */

.no-border{
    border: none !important;
}

.last-news {
    background-color: #eaeaea;
    height: 100%;
    padding: 0 3%;
    border-color: #bfbfbf!important;
}

.effetc {
    border-width: 1px .25rem .25rem 1px;
    border-style: solid;
    border-radius: 0 .25rem 0 .25rem;
    border-color: #e1e1e1;
}

.title-page-in {
    font-size: 20px;
    color: #e87224;
    padding: 0 0 2px;
    border-bottom: 2px #e87224 solid;
}

.last-news ul li h2 {
    font-size: 0.9rem;
    font-weight: 400;
    color: #000;
    line-height: 22px;
    transition: 0.4s;
}

.last-news ul li h2:hover {
    color: orange;
}

.last-news span{
    font-size: 0.9rem;
}

.policy h5{
    font-size: 1.1rem;
    font-weight: bold;
}

.policy p{
    color: #535353;
    text-align: justify;
}

.policy ol li{
    margin-top: 0.75rem;
}

.news-body img{
    max-width: 100%;
}

.extra-info svg{
    color: #e87224;
}

.download-link{
    padding: 0.25rem;
    border-radius: 10px;
    background-color: #8f8c8c;
    border: 1px solid #7d898d;
    transition: 0.4s;
    color: white;
    text-align: center;
}

.download-link:hover{
    text-decoration: underline;
    cursor: pointer;
}

.brief{
    color: grey;
    text-align: center;
    font-size: 0.7rem;
}
.questions-row{
    /* width: 75%; */
    margin: 0 auto;
    text-align: right;
    display: none;
}

.test-option{
    display: block;
    margin: 0 auto;
    /* width: fit-content; */
}

.test-option span{
    margin-right: 0.1rem;
}

.simple-test-hint {
    display: none;
    color: grey;
    font-size: 0.7rem;
}

.simple-test-result{
    display: none;
    text-align: center;
}

.simple-test-result p{
    text-align: center;
}

.social-pages{
    display: block;
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    margin: 1rem;
    padding: 0.5rem;
    background-color: white;
}

#test{
    min-height: 400px;
    border: 1px solid #c0bebe;
    padding: 0.5rem;

}

.correct-answer{
    color: green;
}

.wronge-answer{
    color: red;
}

#result{
    display: none;
    min-height: 10rem;
    border: 1px solid #c0bebe;
    padding: 0.5rem; 
}

.downlaod-file-msgs p{
    font-size: 1.3rem;
}

.big-btn{
    height: 3rem;
    font-size: 1rem;
    width: fit-content;
    min-width: 14rem;
}

.download-btn{
    min-width: 20rem;
}
.text-dir-rtl{
    direction: rtl!important;
    text-align: right!important;
}

.text-dir-ltr, .text-dir-ltr span{
    direction: ltr!important;
    text-align: left!important;
    font-size: 1.1rem;
}

.telegram-code{
    background: #c2c2c2;
    width: 200px;
    height: 60px;
    display: block;
    margin: 0 auto;
    text-align: center;
    padding: 10px;
    font-size: 1.5rem;
    border-radius: 13px;
}

.no-resize{
    resize: none;
}

#bot-msg{
    display: block;
    direction: ltr;
    text-align: center;
    display: none;
}

.news-list-img{
    max-height: 200px;
max-width: 200px;
width: auto;
height: auto;
display: block;
margin: 0 auto;
}

.material > h1, h2, h3{
    text-align: center;
}

.material h1{
    font-size: 1.35rem;
}

.material h2 a{
    font-size: 1.2rem;
}


#files-table tbody tr td:nth-child(2), #folders-table tbody tr td:nth-child(2){
    width: 100%!important;
}