@import url(https://fonts.googleapis.com/css?family=Raleway:400,300,500);
* {
    padding: 0;
    margin: 0;
    font-family: 'Amiri', serif;
    outline: none;
}

*,
*:after,
*::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

@media (min-width:1600px) {
    body {
        font-size: 24px;
    }
}

#load {
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 999999999999999999999;
    background: url("../../images/ring.svg") no-repeat center center #000019
}

.nav-toggle,
.logo-phone {
    display: none
}

nav a {
    font-family: 'Amiri', serif;
    position: relative;
    outline: none;
    text-decoration: none;
}

nav a:hover,
nav a:focus {
    outline: none;
}


/* Effect 4: bottom border enlarge */

.cl-effect-4 a {
    padding: 0 0 10px;
}

.cl-effect-4 a::after {
    position: absolute;
    top: 80%;
    left: 0;
    width: 100%;
    height: .5px;
    background: #e74c3c;
    content: '';
    opacity: 0;
    -webkit-transition: all 0.5s, opacity 0.5s, -webkit-transform 0.5s;
    -moz-transition: all 0.5s, opacity 0.5s, -moz-transform 0.5s;
    transition: all 0.5s, opacity 0.5s, transform 0.5s;
    -webkit-transform: translateY(-3px);
    -moz-transform: translateY(-3px);
    transform: translateY(-3px);
}

.cl-effect-4 a:hover::after,
.cl-effect-4 a:focus::after {
    height: 4px;
    opacity: 1;
    -webkit-transform: translateY(1px);
    -moz-transform: translateY(1px);
    transform: translateY(1px);
}

header .nav-container {
    top: 0;
    left: 0;
    display: block;
    position: fixed;
    background-color: #000019;
    color: whitesmoke;
    height: 160px;
    width: 100%;
    margin-top: 0;
    box-shadow: 1px 1px 7px rgba(5, 22, 51, 0.37);
    z-index: 99999999;
}

/* search */

.togglesearch {
    background: #E8E8E4;
    position: absolute;
    top: 22px;
    left: 4.7%;
    width: 600px;
    height: 30px;
    line-height: 20px;
    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;
}

.top {
    background-color: #e9e9e9;
    height: 100px;
    position: fixed;
    width: 100%;
    z-index: 44;
}

.logo {
    display: inline-block;
    width: 270px;
    height: 170px;
    margin-top: -35px;
    margin-left: 30px;

}

#logo-mouse {
    cursor: default;
}


.lan {
    display: block;
    font-size: 14px;
    text-align: center;
    padding: 2px 10px;
    font-family: 'Amiri', serif;
    text-decoration: none;

}



/* Add a black background color to the top navigation bar */

.topnav {
    background-color: #e9e9e9;
    color: #000019;
    left: 0;
    position: fixed;
    padding: 10px 10px;
    top: 12px;
}

/* Style the links inside the navigation bar */

.topnav a,
.topnav .fa {
    float: right;
    display: block;
    color: #000019;
    text-align: center;
    padding: 18px 16px;
    text-decoration: none;
    font-size: 14px;
}

.topnav .fa {
    float: right;
    display: block;
    color: #e74c3c;
    text-align: center;
    padding: 18px 10px;
    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;
}

/* Style the search box inside the navigation bar

.topnav input[type=text] {
    float: left;
    padding: 6px;
    background-color: whitesmoke;
    border: none;
    margin-top: 12px;
    margin-right: 16px;
    font-size: 14px;
}

/* When the screen is less than 600px wide, stack the links and the search field vertically instead of horizontally

@media screen and (max-width: 600px) {
    .topnav a,
    .topnav input[type=text] {
        float: none;
        display: block;
        text-align: right;
        width: 100%;
        margin: 0;
        padding: 14px;
    }
    .topnav input[type=text] {
        border: 1px solid #ccc;
    }
}*/

.main-menu {
    margin-top: 140px;
    list-style: none;
    margin-left: 25px;

}

.main-menu li {
    margin-top: -54px;
    display: block;
    position: relative;
    float: right;
    text-decoration: none;
    list-style: none;
    transition: all 0.5s, opacity 0.5s, transform 0.5s;

}

.main-menu li a {
    display: inline-block;
    padding: 30px 28px;
    text-decoration: none;
    text-align: justify;
    font-size: 17px;
    color: whitesmoke;

    letter-spacing: 1px;
    font-weight: bolder;
    transition: .2 linear all
}

.main-menu li:hover,
.main-menu li a:hover {
    background-color: #e9e9e9;
    color: #000019;
    z-index: 9999999999;
}



@media (max-width:1080px) {
    .main-menu li:nth-child(6) {
        display: none;
    }
    .logo {
        display: inline-block;
        width: 250px;
        height: 150px;
        margin-top: -35px;
        margin-left: 30px;
    }
}

@media (max-width:955px) {
    .main-menu li:nth-child(5) {
        display: none;
    }
}

/* 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;
}

/*main*/

body {
    background-color: #faf9f8
}


.cover {
    width: 200px;
    height: auto;
}

.all {
    margin: 150px auto 40px auto;
}

.news-wrapper {
    background-color: #f2f2f2;
}

.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
}

.post-module {
    margin: 30px 20px;
    position: relative;
    display: inline-block;
    background: #FFFFFF;
    min-width: 21%;
    max-width: 25%;
    height: 350px;
    -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: 360px;
    overflow: hidden;
}

@media (max-width:1140px) {
    .post-module .thumbnail {
        background: #000000;
        height: 200px;
        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;
    top: 150px;
    background: #FFFFFF;
    width: 100%;
    padding: 30px;
    -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: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.post-module .post-content .title {
    margin: 0;
    padding: 0 0 15px;
    color: #333333;
    font-size: 21px;
    font-weight: 700;
}

.post-module .post-content .sub_title {
    margin: 0;
    padding: 0 0 10px;
    color: #e74c3c;
    font-size: 18px;
    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: 20px 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;
}

.post-module:first-child {
    margin-right: 20%;
}

.post-module:last-child {
    margin-left: 20%;
}



.footer-part1 {
    background-color: #000019;
    display: flex;
    justify-content: center;
    height: 240px;
}

.footer-part1 > div {
    margin: 20px 50px;
}

.mag-img {
    width: 240px;
    display: block;
    margin: auto auto;
    border-radius: 20px;
    background-color: #e9e9e9;
    margin-top: 20px;
}

#mag-arabic {
    text-align: center;
    display: block;
    margin: auto auto;
    font-size: 14px;
    color: #e74c3c;
    margin-top: -9px;
}

.footer-part1 p {
    display: block;
    color: #e9e9e9;
    font-size: 22px;
    padding: 10px;
    text-align: center
}

footer .fab {
    border: 2px solid rgba(250, 248, 238, 0.95);
    color: #e9e9e9;
    text-align: center;
    width: 50px;
    height: 50px;
    font-size: 24px;
    padding: 11px;
    margin: 7px;
    border-radius: 50%;
    transition: all ease-in-out .4s
}

footer .fab-facebook:hover {
    border: 2px solid #4e69a2;
    background-color: #4e69a2;
}

footer .fab-twitter:hover {
    border: 2px solid #1da1f2;
    background-color: #1da1f2;
}

footer .fab-linkedin:hover {
    border: 2px solid #0077b5;
    background-color: #0077b5;
}

footer .fab-google-plus:hover {
    border: 2px solid #d73d32;
    background-color: #d73d32;
}

footer .fab-skype:hover {
    border: 2px solid #00a7e5;
    background-color: #00a7e5;
}

footer .fab-youtube:hover {
    border: 2px solid #d52423;
    background-color: #d52423;
}

.footer-part2 {
    width: 100%;
    height: 50px;
    background-color: #e9e9e9;
}

.footer-part2 h5 {
    height: 60px;
    display: block;
    text-align: center;
    font-weight: 500;
    margin: 0px auto;
    padding: 15px 0 0 0;
    font-size: 16px;
    color: rgba(0, 0, 25, 0.97)
}

.company {
    border-top: .5px solid #000015;
    width: 100%;
    background-color: #000019;
}

.company span {
    display: block;
    text-align: center;
    margin: 0px auto;
    padding: 7px;
    font-size: 18px;
    color: #e9e9e9;
    ;
}
