@import url(https://fonts.googleapis.com/css?family=Raleway:400,300,500);
#load {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 9999999999999999;
    background: url("../images/ring.svg") no-repeat center center #000019
}

* {
    padding: 0;
    margin: 0;
    font-family: 'Amiri', sans-serif;
    outline: none;
}

*,
*:after,
*::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.outer-wrapper {
    overflow: hidden;
}

.fa-bars {
    font-size: 30px;
    color: #000019;
    display: block;
    top: 10px;
    right: 7px;
    position: fixed
}

.nav-container {
    position: fixed;
    top: 0;
    background-color: rgba(250, 248, 238, 0.95);
    height: 60px;
    width: 100%;
    box-shadow: 1px 1px 7px rgba(5, 22, 51, 0.37);
    z-index: 22;
}

.logo {
    display: none;
}

.logo-phone {
    display: block;
    margin: 2px auto;
    width: 60px
}



.lan {
    font-family: 'Amiri', serif;
    top: 10px;
    left: 7px;
    padding: 4px 6px;
    position: fixed;
    font-size: 14px;
    text-decoration: none;
}

.lan:hover {
    text-decoration: none;
}

.topnav a,
.topnav .fa {
    float: right;
    display: block;
    color: #000019;
    text-align: center;
    padding: 10px 5px 10px 5px;
    text-decoration: none;
    font-size: 14px;
}

.topnav .fa {
    float: right;
    display: block;
    padding: 10px 10px;
    color: #e74c3c;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
}

/* Change the color of links on hover */

.topnav a:hover {
    background-color: #e74c3c;
    color: whitesmoke;
}

/* Style the "active" element to highlight the current page */

.topnav a.active {
    color: white;
}

/* search */
.togglesearch {
    background: #E8E8E4;
    position: absolute;
    top: 4px;
    left: 10.7%;
    width: 60%;
    height: 30px;
    line-height: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-top: 4px solid #D80B15;
    display:  none;
}

.togglesearch:before {
    content: "";
    position: absolute;
    /* top: -32px; */
    left: -26px;
    bottom: -10px;
    transform: rotate(-90deg);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 14px solid transparent;
    border-bottom: 14px solid #D80B15;
}


.main-menu {
    display: block;
    transform: translateX(100%);
    background-color: #000019;
    position: fixed;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    overflow: auto;
}

.open {
    transform: translateX(0)
}

.main-menu ul {
    list-style: none;
}

.main-menu ul li {
    list-style: none;
    overflow: hidden
}

.main-menu ul li a {
    display: block;
    font-size: 24px;
    padding: 26px 20px;
    text-align: center;
    text-decoration: none;
    color: rgba(250, 248, 238, 0.95);
    font-weight: 400;
}

.main-menu .nav-toggle {
    position: absolute;
    top: 0.1%;
    right: 2%;
    font-size: 30px;
    color: whitesmoke;
}

.a-wrapper {
    margin: 80px auto 30px auto;
    max-width: 90%;
}

/* CV btn */
.myBtn_multi {
  position: relative;
  background-color: #f1f1f1;
  color: black;
  font-size: 12px;
  padding: 7px 10px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  text-align: center;
}
.myBtn_multi:hover {
  background-color: black;
  color: white;
}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto 15% auto; /* 15% from the top and centered */
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 20px;
  padding-top: 10px;
  text-align: left;
  justify-content: center;
  align-items: center;
  border: 1px solid #888;
  border-radius: 5px;
  width: 60%; /* Could be more or less, depending on screen size */
  height: auto;

}
.model_title{
    color: #111827;
    padding: 1.5em 2em;
    pointer-events: all;
    position: relative;
    width: calc(100% - 4.5em);
}
.model_title h1{
    font-size: 1.25rem;
    font-weight: 600;
    line-height: normal;
}
.details-modal-content{
  border-top: 1px solid #e0e0e0;
  padding: 2em;
  pointer-events: all;
}
/*header*/
.H {
    display: flex;
    flex-direction: row;
    margin-bottom: 20px; 
    transition: height 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
}
.avatar{
    border-radius: 41px;
    height: 82px;
    margin-left: 10px;
    position: relative;
    top: 10px;
    width: 82px;
}
.me {
    background-image: url(../images/Partens/Mahdi.jpg);
    background-size: cover;
}
.me1 {
    background-image: url(../images/Partens/ahmed.png);
    background-size: cover;
}
.me2 {
    background-image: url(../images/Partens/ayman.png);
    background-size: cover;
}
.me3 {
    background-image: url(../images/Partens/muthana.jpg);
    background-size: cover;
}
.me4 {
    background-image: url(../images/Partens/shihab.png);
    background-size: cover;
}
.name {
    color: black;
    font-weight: bold;
    font-size: 20px;
    line-height: 90px;
    margin-left: 20px;
}
/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.card {
    margin: 200px 30px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    width: 30%;
    text-align: center;
    transition: 0.3s;
    border-radius: 5px;/* 5px rounded corners */
    border: thin solid silver;
    background-color: rgba(241, 233, 220,.48);
}


/*
=====
POPUP
=====
*/

/*
1. Creating the top and bottom gaps for the modal so that content doesn't touches window's edges
*/

.popup:not(:target){
  display: none;
}

.popup:target{
  width: 100%;
  height: 70vh;
  
  display: flex;
 
  position: fixed;
  top: 0px;
  right: 0;  
}

.popup::before{
  content: "";
  box-sizing: border-box;
  width: 100%;
  background-color: #fff;

  position: fixed;
  left: 0;
  top: 50%;
}

.popup::after{
  content: "";
  width: 0;
  height: 2px;
  background-color: #f0f0f0;

  position: absolute;
  top: 50%;
  left: 0;
  margin-top: 10px;
}

.popup__container{
  box-sizing: border-box;  
  padding: 15% 15%;

  height: calc(100vh - 40px); /* 1 */
  margin: auto; /* 1 */
  overflow-y: scroll; /* 1 */
  overscroll-behavior: contain; /* 1 */
}
.popup__container::-webkit-scrollbar{
    display: none;
}

.popup__title{
  --rTitleMarginBottom: 1.5rem;
  font-size: 1.5rem;
}

.popup__close{
  width: 2rem;
  height: 2rem;

  position: fixed;
  top: 10.5rem;
  right: 1.5rem;

  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  background-image: url(data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjMDAwMDAwIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4gICAgPHBhdGggZD0iTTE5IDYuNDFMMTcuNTkgNSAxMiAxMC41OSA2LjQxIDUgNSA2LjQxIDEwLjU5IDEyIDUgMTcuNTkgNi40MSAxOSAxMiAxMy40MSAxNy41OSAxOSAxOSAxNy41OSAxMy40MSAxMnoiLz4gICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==);
}

/*
animation
*/

.popup::before{
  will-change: height, top;
  animation: open-animation .6s cubic-bezier(0.83, 0.04, 0, 1.16) .65s both;
}

.popup::after{
  will-change: width, opacity;
  animation: line-animation .6s cubic-bezier(0.83, 0.04, 0, 1.16) both;
}

@keyframes line-animation{

  0%{
    width: 0;
    opacity: 1;
  }

  99%{
    width: 100%;
    opacity: 1;
  }

  100%{
    width: 100%;
    opacity: 0;
  }  
}

@keyframes open-animation{

  0%{
    height: 0;
    top: 50%;
  }

  100%{
    height: 100vh;
    top: 0;
  }
}

.popup__container{
  animation: fade .5s ease-out 1.3s both;
}

@keyframes fade{

  0%{
    opacity: 0;
  }

  100%{
    opacity: 1;
  }
}

/*
=====
DEMO
=====
*/

body{
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Open Sans, Ubuntu, Fira Sans, Helvetica Neue, sans-serif;
  font-size: 1rem;
  color: #222;
  background-color: #512da8;
  margin: 0;
}

p{
  margin: 0;
  line-height: 1.5;
  text-align: justify;
}

p:nth-child(n+2){
  margin-top: 1rem;
}

.open-popup{
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  padding: .75rem 1.25rem;
  border: 1px solid;
}

body {
    background-color: #faf9f8
}

.cover {
    width: 200px;
    height: auto;
}

.all {
    margin: 60px auto 30px auto;
}


.blank h2{
    height: 60px;
    display: block;
    text-align: center;
    font-weight: 500;
    margin: 0px auto;
    padding: 15px 0 0 0;
    color: rgba(0, 0, 25, 0.97)
}





/* News code pen */

.post-content{
        border-bottom: 4px black

}

.news-wrapper {
    width: 80%;
    margin: auto auto;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.post-module {
    position: relative;
    margin: 15px;
    display: inline-block;
    background: #FFFFFF;
    min-width: 50%;
    max-width: 84%;
    height: 300px;
    -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -ms-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}


.post-module:hover,
.hover {
    -webkit-box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.3);
}

/*.post-module:hover .thumbnail img,
.hover .thumbnail img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    transform: scale(1.1);
}*/

.post-module .thumbnail {
    background: #000000;
    height: 310px;
    overflow: hidden;
}


.post-module .thumbnail img {
    display: block;
    width: 100%;
    object-fit: cover;
    align-content: top;
    padding-top: 0px;
    background-color: white;
}

@media ( max-width:1180px) {
    .post-module .thumbnail img {
        display: block;
        width: 100%;
        object-fit: cover;
        margin: 0 0;
        background-color: #000019;
    }
}


.post-module .post-content {
    position: absolute;
    bottom: 0;
    background: #FFFFFF;
    width: 100%;
    padding: 30px;
    top:150px;
    -webkti-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
    -moz-transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
    -ms-transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
    -o-transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
    transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
}


.post-module .post-content .category {
    position: absolute;
    top: -36px;
    right: 0;
    background: #e74c3c;
    padding: 10px 15px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.post-module .post-content .title {
    margin: 0;
    padding: 0 0 6px;
    color: #333333;
    font-size: 14px;
    font-weight: 700;
}

.post-module .post-content .sub_title {
    margin: 0;
    padding: 0 0 10px;
    color: #e74c3c;
    font-size: 16px;
    font-weight: 400;
}

.post-module .post-content .description {
    display: none;
    color: #666666;
    font-size: 14px;
    line-height: 1.8em;
}

@media ( max-width:1180px) {
    .post-content {}
    .post-module .post-content .description {
        display: none;
        color: #666666;
        font-size: 15px;
        line-height: 1em;
    }
}

.post-module .post-content .post-meta {
    margin: 5px 0 0;
    color: #999999;
}

.post-module .post-content .post-meta .timestamp {
    margin: 0 16px 0 0;
}

.post-module .post-content .post-meta a {
    color: #999999;
    text-decoration: none;
}

.hover .post-content .description {
    display: block;
    height: auto;
    opacity: 1;
}

.container {
    max-width: 800px;
    min-width: 640px;
    margin: 0 auto;
}

.container:before,
.container:after {
    content: '';
    display: block;
    clear: both;
}

.container .column {
    width: 50%;
    padding: 0 25px;
    -webkti-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
}

.container .column .demo-title {
    margin: 0 0 15px;
    color: #666666;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

.container .info {
    width: 300px;
    margin: 50px auto;
    text-align: center;
}

.container .info h1 {
    margin: 0 0 15px;
    padding: 0;
    font-size: 24px;
    font-weight: bold;
    color: #333333;
}

.container .info span {
    color: #666666;
    font-size: 12px;
}

.container .info span a {
    color: #000000;
    text-decoration: none;
}

.container .info span .fa {
    color: #e74c3c;
}


footer {
    bottom: 0;
}

.footer-part1 {
    background-color: #000019;
    display: flex;
    justify-content: center;
}

.footer-part1>div {
    margin: 20px 40px;
}

.mag-img {
    width: 125px;
    height: 70px;
    margin-top: 2px;
    border-radius: 20px;
    background-color: rgba(250, 248, 238, 1);
}

.footer-part1 p {
    display: block;
    color: rgba(250, 248, 238, 0.95);
    font-size: 16px;
    padding: 10px;
    text-align: center
}

footer .fab {
    border: 1.5px solid rgba(250, 248, 238, 0.95);
    color: rgba(250, 248, 238, 0.95);
    text-align: center;
    font-size: 15px;
    width: 33px;
    height: 33px;
    padding: 8px;
    margin: 3px;
    border-radius: 50%;
    transition: all ease-in-out .4s;
    align-content: center;
}

@media (max-width: 450px) {
    .footer-part1>div {
        margin: 20px 10px;
    }
}

@media (max-width: 344px) {
    footer {
        display: flex;
        flex-direction: column;
    }
}

.footer-part2 h5 {
    background-color: rgba(250, 248, 238, 0.95);
    color: #000019;
    font-size: 12px;
    text-align: center;
    padding: 4px;
    font-weight: 200
}

.company {
    background-color: #000019;
    color: rgba(250, 248, 238, 0.95);
    font-size: 12px;
    width: 100%;
    text-align: center;
    padding: 10px;
}
