@import url(http://fonts.googleapis.com/earlyaccess/droidarabickufi.css);
html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Droid Arabic Kufi', serif;
    font-size: 10.5%;
    font-size: 5px;
}
/*-- Inspiration taken from abdo steif -->
/* --> https://codepen.io/abdosteif/pen/bRoyMb?editors=1100*/

/* Navbar section */
.search{
    width: 100%;
    height: 70px;
    margin-bottom: 40px;
    line-height: 55px;
    text-align: center;
   
   
}
div.social_kd{
    margin-left: 5%;
}
.socialmedia{
    margin-top: 5px;
}
.socialmedia a.medias{
    font-family: 'Courier New', Courier, monospace;
    text-decoration: none;
    font-weight: bolder;
    color: rgb(174, 4, 4);
    
}

.socialmedia a.fa{
    
    background-color: rgba(207, 204, 201, 0.998);
    color: rgb(174, 4, 4); ;
    margin-top: 5px;
    width: 26px;
    text-align: center;
    border-radius: 15px;
    margin-left: 5px;
    font-size: 13px;
    font-weight: 600;
    
    
   
}
.nav {
    width: 100%;
    height: 70px;
    position: fixed;
    line-height: 55px;
    background-color:rgb(188, 22, 22); 
    margin-top: -60px;
    z-index: 1030;
}

.nav div.logo {
    float: left;
    width: auto;
    height: auto;
    padding-left: 3rem;
    margin-top: 5px;
    font-family: 'Courier New', Courier, monospace;
    /* margin-top: -20px; */
}
.war{
    background-color: rgb(176, 192, 10);
}
.nnnnn{
    background-color: rgb(174, 4, 4);
}

.nav div.logo a {
    text-decoration: none;
    color: rgb(249, 249, 249);
    font-size: 30px;
}

.nav div.logo a:hover {
    color: #060b09;
}

.nav div.main_list {
    height: 70px;
    float: right;
}

.nav div.main_list ul {
    width: 100%;
    height: 70px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    float: right;
}

.nav div.main_list ul li {
    width: auto;
    height: 50px;
    padding: 0;
    padding-right: 3rem;
}

.nav div.main_list ul li a {
    text-decoration: none;
    color: #fffcfc;
    display: block;
    font-size: 13.5px;
    font-weight: 600;
}
.nav div.main_list ul li .departments{
    display: none;
}
.nav div.main_list ul li{
    display: block;
}
.nav div.main_list ul li .departments :hover:after {
    
    width: 100%;
    transform: scaleX(0);
    border-bottom: solid 0.5px ;
    border-color: white;
    
  }
.nav div.main_list ul li:hover .departments{
    display: block;
    position: absolute;
    /* margin: -20px; */
    list-style: none;
    background-color: #b40000; 
    width: 130px;
    height: 215px;
    margin:-12px 1px 0px 0px;    
}
.nav div.main_list ul li .departments a{
    border-bottom: solid 1px ;
    border-color: rgb(255, 255, 255);   
    display: block;
}
.nav div.main_list ul li .departments :hover a{
    border-bottom: solid 1px ;
    border-color: rgb(209, 219, 16);
    
}
i .btn{
    /* background-color: #bcbcbc80; */
    background-color: #8d8b8b7b;
    height: 30px;
    border-color: #8d8b8b7b;
    display:flex;
}
.search_div{
    display: flex;
    width: 95%;
    margin: 0 auto;
    
}

.form-control{
    background-color: #8d8b8b7b;
    height: 30px;
    border: none;
    width: 80%;
    color: rgb(218, 218, 211);
    flex: 1;
}
@media only screen and (min-width: 768px) {
.search{
    float: left;
    width: 100%;
    display: none;
 
}

}
 /*...your mobile-only style...*/
 @media only screen and (max-width: 768px) {
    
    .search_desktop{
        display: none;
    }
    .when_on_desktop{
        display: none;
    }
    
    .nav{
        margin-top: -100px;
    }
    .vvvvvvvvv{
        background-color: #033965;
    }
    .nav div.main_list ul li a {
      color: white;
    }
    i.btn-primary{
        background-color: rgb(234, 234, 234);
        margin-bottom: 1px;
    }
}
.nav div.main_list ul li a {
     padding-top: 6px; 
     padding-bottom: -2px;
     padding-left: 10px;
     padding-right: 10px;
     
}
.nav div.main_list ul li :hover{
    position: relative;
    /* background-color: #afc61a; */
    /* color: rgb(15, 13, 13);  */
}

.nav div.main_list ul li :hover:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(1);
    height: 2px;
    bottom: 0;
    left: 0;
    margin-top: px;
    background-color: #d9e313;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
    
  }
 
.nav div.main_list ul li :hover:after {
/*     
    transform: scaleX(1);
    transform-origin: bottom left; */
   
}


/* Home section */



.navTrigger {
    display: none;
}

.nav {
    
    padding-bottom: 20px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}


/* Media qurey section */
@media screen and (min-width: 768px) and (max-width: 922px) {
    .socialmedia{
        margin-top: -19px;
    }

}
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        margin: 0;
    }

}

@media screen and (max-width:768px) and (max-width: 1024px) {
    .nav div.main_list ul li:hover .departments{
        display: block;
        position: absolute;
      
        list-style: none;
        background-color: #0e0d0d; 
        width: 130px;
        height: 215px;
        margin-bottom: -97%;
    }
    .nav div.main_list ul li .departments a{
        border-bottom: solid 1px ;
        border-color: rgb(255, 255, 255);   
        display: block;
    }
    .nav div.main_list ul li .departments :hover a{
        border-bottom: solid 1px ;
        border-color: rgb(9, 139, 245);
        
    }
    .form-control{
        background-color: #eaeaeaeb;
        color: black;
    }
    .search_div{
        background-color: #fffcfc;
     }
    .search_desktop{
        display: none;
    }
    .nav {
     margin-top: -150px;
     height: 80px;
    }
 
    .navTrigger {
        display: block;
    }
    .nav div.logo {
        margin-left: 15px;
    }
    .nav div.main_list {
        width: 100%;
        height: 0;
        overflow: hidden;
        margin-right: 0%;
    }
    .nav div.show_list {
        height: auto;
        display: none;
    }
    .nav div.main_list ul {
        flex-direction: column;
        width: 100%;
        height: 60vh;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: #b50808;
        /*same background color of navbar*/
        background-position: center top;
    }
    .nav div.main_list ul li {
        width: 100%;
    }
    .nav div.main_list ul li a {
        text-align: right;
        width: 100%;
        font-size: 3rem;
        padding: 2px;
    }
    .nav div.media_button {
        display: block;
    }
}


/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
    cursor: pointer;
    width: 25px;
    height: 25px;
    margin: auto;
    position: absolute;
    right: 30px;
    top: 0;
    bottom: 0;
}

.navTrigger i {
    background-color: rgb(242, 235, 235);
    border-radius: 2px;
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    color: white;
   
}

.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
    margin-bottom: 7px;
}

.navTrigger i:nth-child(2) {
    margin: 5px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
    margin-bottom: 7px;
}

.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
}

@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes inM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes outM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }

}

.affix {
    padding: 0;
    /* background-color: rgb(5, 31, 84); */
    background-color: rgb(184, 18, 18);
    margin-top: -150px;
    height: 70px;
    transition: 0.s;
}






.myH2 {
	text-align:center;
	font-size: 4rem;
}
.myP {
	text-align: justify;
	padding-left:15%;
	padding-right:15%;
	font-size: 20px;
}
@media all and (max-width:700px){
	.myP {
		padding:2%;
	}
}
h1.social{
    color: rgb(195, 0, 0);
    background-color: white;
    width: 110px;
    padding: 5px;
    margin-right: 10px;
    border-radius: 5px;
}