/*
Theme Name: DIWAYZ
Theme URI: http://ayadchokri.com/
Author: Ayad CHOKRI
Author URI: http://ayadchokri.com/
*/


body {
	font-family: 'Roboto Condensed', sans-serif;    
    margin: 0;
    background: #140024;
    color: #fff;
    background-image: url('img/diwayz-w.svg');  
    background-repeat: no-repeat;
    background-position: -70px -70px;
    background-size: cover;
}
* {
    box-sizing: border-box;
}
a {
	color: #fff;
    text-decoration: none;
}
img {
	max-width: 100%;
}
fieldset  {
	border: none;
}
.clearfix:after {
	content:"";
	display: block;
	clear: both;
}
.dark_text {
    color: #000 !important;
}
.white_text,
.white_text a {
    color: rgb(255, 255, 255) !important;
}
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}
.arabic_txt {
	font-family: 'El Messiri', sans-serif;   
	letter-spacing: 0 !important;
}
.outline {
	color: #140024;
    letter-spacing: 2px;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}
.center-txt {
	text-align: center;
}
/* HEADER */
.header {
	padding: 0 40px;
}
.header .logo {
    display: block;
    float: left;
    width: 20%;
}
.header .logo img {
	height: 60px;
    margin-top: 20px;
}
.header .menuWrapper {
    float: right;
    width: 80%;
}
.header .menuWrapper >  ul {
    float: right;
    margin: 0;
    padding: 0;
    margin-top: 35px;
}
.header .menuWrapper > ul li {
    list-style: none;
    float: left;
    margin-right: 30px;
}
.header .menuWrapper > ul li.sep {
    border-right: 1px solid white;
    height: 20px;
}
.header .menuWrapper > ul li:last-child {
    margin-right: 0;
}
.header .menuWrapper > ul li a {
    color: #fff;   
	font-weight: 700;
    letter-spacing: 1px;	
	background: linear-gradient(to right, #b7b7b7, #b7b7b7 50%, #fff 50%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-size: 200% 100%;
	background-position: 100%;
	transition: background-position 275ms ease;
	text-decoration: none;   
}
.header .menuWrapper > ul li.active a, 
.header .menuWrapper > ul li a:hover { 
   color: #b7b7b7;
   background-position: 0 100%;
}
.header .menuWrapper > ul li a.arabic_btn {
    letter-spacing: 0;
}
.header .socialWrapper {    
    position: fixed;
    z-index: 1;
    right: 40px;
    top: 40%;
    background: #310058;
    padding: 20px 10px;
    border-radius: 50px;
} 
.header .socialWrapper:before {
    content: "";
    height: 20px;
    width: 1px;
    background: #310058;
    display: block;
    position: absolute;
    top: -20px;
    right: 50%;
    z-index: 0;
}
.header .socialWrapper:after {
    content: "";
    height: 20px;
    width: 1px;
    background: #310058;
    display: block;
    position: absolute;
    bottom: -20px;
    right: 50%;
    z-index: 0;
}
.header .socialWrapper ul {
    margin: 0;
    padding: 0;
}
.header .socialWrapper ul li {
    list-style: none;
	margin-bottom: 15px;
}
.header .socialWrapper ul li:last-child {
    margin: 0;
}
.header .socialWrapper ul li img {
    width: 20px;
}

/* SLIDESHOW */
.diwayz_slideshow {
	position: relative;
    padding: 0 100px;
    margin-top: 120px;
}

.swiper {
    width:100%;
    height: 400px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    width: 80%;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide {
    width: 80%;
}

.swiper-slide:nth-child(2n) {
    width: 60%;
}

.swiper-slide:nth-child(3n) {
    width: 40%;
}

.swiper-slide {
    text-align: left !important;
}
.swiper-slide .title-head {
    text-align: left !important;
}
.swiper-slide .title-head .num {
    float: left;
    margin-right: 20px;
}
.swiper-slide .title-head h2 {
    font-size: 5rem;
    padding-left: 35px;
}
.swiper-slide .content_p {
    position: relative;
    font-size: 14px;
    text-align: left;
    padding-left: 140px;
    width: 600px;
    line-height: 20px;
    width: 100%;
}
.swiper-slide .content_p:before {
    position: absolute;
    display: block;
    content: "";
    width: 80px;
    height: 1px;
    background-color: #fff;
    top: 10px;
    left: 40px;
}

/* INTRO */
.profile_info_intro {
	position: relative;
    padding: 0 100px;
    margin-top: 120px;
}
.profile_info_intro span.meet {
    text-align: center;
    display: block;
    color: #b7b7b7;
}
.profile_info_intro h1 {
    text-align: center;
    font-size: 4em;
    line-height: 1.5;
    margin: 0;
}
.profile_info_intro h2 {
    text-align: center;
    font-size: 3em;
    line-height: 1.5;
    margin: 0;
}
.profile_info_intro p {
    text-align: center;
    font-size: 2em;
    line-height: 1.5;
    margin: 20px auto;
    width: 60%;  
    font-weight: bold;
}
.profile_info_intro h1 span.break {
	display: block;
}

a.lets_work_together {
    display: block;
    margin: auto;
    font-size: 1.2em;
    text-align: center;
    border: 1px solid #fff;
    padding: 20px;
    color: #fff;
    height: 60px;
    box-sizing: border-box;
    width: 321px;
}
a.lets_work_together:hover {
    border: 1px solid #fff;
}

.lets_work_together_wrapper:hover .shape {
    -webkit-animation: 0.5s draw linear forwards;
    animation: 0.5s draw linear forwards;
  }
  
.diwayz_slideshow .shap {
	position: absolute;
}
.diwayz_slideshow .shap.shap_1 {
    left: 20%;
    top: -50px;
}
.diwayz_slideshow .shap.shap_2 {
    right: 50%;
    top: 0;
    margin-right: -40%;
    opacity: .6;
}
.diwayz_slideshow .shap.shap_3 {
    bottom: 100px;
    right: 70%;
}
.diwayz_slideshow .shap.shap_4 {
    bottom: 100px;
    right: 15%;
}
.diwayz_slideshow .shap.shap_2 {
	-webkit-animation: action 1s infinite  alternate;
	animation: action 1s infinite  alternate;
}
@-webkit-keyframes action {
	0% { transform: translateY(0); }
	100% { transform: translateY(-10px); }
}
@keyframes action {
	0% { transform: translateY(0); }
	100% { transform: translateY(-10px); }
}


.lets_work_together_wrapper {
    height: 60px;
    margin: 70px auto;
    position: relative;
    top: 0;
    transform: translateY(-50%);
    width: 340px;
    text-align: center;
}
.lets_work_together_wrapper .shape {
  fill: transparent;
  stroke-dasharray: 140 540;
  stroke-dashoffset: -474;
  stroke-width: 8px;
  stroke: #fff;
  z-index: 9;
}
.lets_work_together_wrapper .text {
    position: relative;
    top: -65px;
}


/* CONTENT */ 

.wide-section {
    padding: 0 !important;
}
.section {
	position: relative;
    padding: 0 100px;
    margin-top: 120px;	
}

.section .header_section h3 {
    font-size: 2.5em;
    margin-bottom: 10px;
}
.section .header_section h4 {
    margin: 0;
    padding: 0;
}
.section .header_section h4 span.num {
    margin: 0 10px;
}
.section .header_section h4 span.line {
    width: 80px;
    display: inline-block;
    height: 1px;
    margin: 0 10px;
    background: #fff;
}
.section_content {
    padding: 0 100px;
}

.hero-large {
    font-size: 2.5em;
    width: 50%;
    margin: 60px auto 10px;
}
.hero-large span {
    font-size: 2em;
}
.middle_center_content {
    width: 70%;
    margin-right: auto;
    margin-left: auto;
}
.middle_center_content .content_col_wrapper .two-col {
	position: relative;
    margin: 1%;
    float: left;
    width: 48%;
}

.img-wrapper-big {
    margin: 30px 0;
}
.img-wrapper-big-brr {
    text-align: right;
}
.img-wrapper-big img.brr {
    -webkit-border-top-right-radius: 500px;
    -webkit-border-bottom-right-radius: 500px;
    -moz-border-radius-topright: 500px;
    -moz-border-radius-bottomright: 500px;
    border-top-right-radius: 500px;
    border-bottom-right-radius: 500px;
    max-height: 800px;
}
.img-wrapper-big-brl {
    text-align: left;
}
.img-wrapper-big img.brl {
    -webkit-border-top-left-radius: 500px;
    -webkit-border-bottom-left-radius: 500px;
    -moz-border-radius-topleft: 500px;
    -moz-border-radius-bottomleft: 500px;
    border-top-left-radius: 500px;
    border-bottom-left-radius: 500px;
    max-height: 800px;
}
.two-col article img {
	width: 100%;
}

.two-col article h2 a {
	text-decoration: none;
}





/* ARCHIVE PAGE */
.page_intro {
	position: relative;
    padding: 0 100px;
    margin-top: 150px;
    text-align: center;
}
.page_intro h1 {
    text-align: center;
    font-size: 3.5em;
    line-height: 1.5;
    margin: 0 0 60px;
}


/* PAGE NAVIGATION */
.wp-pagenavi {
    margin: 60px 1% 0;
    text-align: center;
    border-top: 1px solid #e8e8e8;
    padding-top: 30px;
}
.wp-pagenavi span.pages {display: none;}
.wp-pagenavi a,
.wp-pagenavi span {
    border: none !important;
}


@keyframes draw {
  0% {
    stroke-dasharray: 140 540;
    stroke-dashoffset: -474;
    stroke-width: 8px;
  }
  100% {
    stroke-dasharray: 760;
    stroke-dashoffset: 0;
    stroke-width: 2px;
  }
}

/* RESUME PAGE */

.profile_resume  {
    margin-top: 60px;	
}
.profile_resume .designer_coder_wrapper h3 {
    font-size: 42px;
    margin-bottom: 20px;
}
.profile_resume .designer_coder_wrapper h3.coder_label {
   color: #00AEE0;
}
.profile_resume .designer_coder_wrapper ul li {
    margin-bottom: 5px; 
	list-style: none; 
}
.profile_resume .designer_coder_wrapper  ul li::before {
  content: "\2022"; 
  color: #FFB900; 
  font-weight: bold; 
  display: inline-block;
  width: 1em; 
  margin-left: -1em; 
}
.profile_resume .designer_coder_wrapper .coder_col  ul li::before {
  color: #00AEE0; 
}
.profile_resume .two-col {
    position: relative;
    margin: 1%;
    float: left;
    width: 48%;
}

.profile_resume_quotes {
    background: black;
    color: #fff;
    padding: 20px 0;
	margin: 60px 0;
}
.profile_resume_quotes p {
    font-size: 3em;
    text-align: center;
    font-weight: 700;
    margin: 0;
}


.profile_resume_content .two-col {
    position: relative;
    margin: 1%;
    float: left;
    width: 48%;
}
.profile_resume_content h3 {
    font-size: 2em;
}
.profile_resume_timeline {
    margin-top: 60px;
    border-top: 1px solid #e2e2e2;
}
.profile_resume_timeline h2 {
    font-size: 42px;
    color: #412076;
}
.profile_resume_timeline li {
	margin-bottom: 20px;
	list-style: none; 
}
.profile_resume_timeline li::before {
    content: "\2022"; 
    color: #412076; 
    font-weight: bold; 
    display: inline-block;
    width: 1em; 
    margin-left: -1em; 
    float: left;
}
.profile_resume_timeline li .date {
    font-size: 0.9em;
    display: none;
}
.profile_resume_timeline li .company {
    display: block;
    font-size: 14px;
    color: #c5c5c5;
}
.profile_resume_timeline li .function {
    font-weight: 700;
}

/* PORTFOLIO */ 
.portfolio_wrapper {
    width: 100%;
    padding-top: 160px;
}
.portfolio_wrapper .portfolio_item {
    position: relative;
    float: left;
    width: 46%;
    margin: 2%;
    box-sizing: border-box;
}
.portfolio_wrapper .portfolio_item:nth-child(even) {
    margin-top: 80px;
}
.portfolio_wrapper .portfolio_item:nth-child(odd) {
    margin-top: -80px;
}
.portfolio_wrapper .portfolio_item img {
	display: block;
    width: 100%;
    border-radius: 20px;
}
.portfolio_wrapper .portfolio_item .portfolio_item_tag {
    position: absolute;
    bottom: 35px;
    left: 20px;
    letter-spacing: 1px;
    margin: 0;
    background: #fff;
    padding: 3px 14px;
    border-radius: 15px;
}
.portfolio_wrapper .portfolio_item .portfolio_item_date {
    position: absolute;
    color: #000;
    bottom: 20px;
    left: 20px;
    letter-spacing: 1px;
    margin: 0;
}
.portfolio_wrapper .portfolio_item .tag_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.portfolio_wrapper .portfolio_item .tag_list li {
    display: flex;
}
.portfolio_wrapper .portfolio_item .tag_list li:after {
    content: " / ";
    margin: 0 5px;
}
.portfolio_wrapper .portfolio_item .tag_list li:last-child:after {
    content: "";
}
.portfolio_wrapper .portfolio_item .tag_list li a {
    color: #000;
}
.portfolio_item img {
    width: 100%;
    border-radius: 20px;
}



.btn_wrapper {
    margin: 40px;
}
.btn_wrapper a {
    font-size: 18px;
    border: 2px solid #fff;
    padding: 5px 30px;
    border-radius: 20px;
    margin: 0 10px;
}
.btn_wrapper a:first-child {
    background: #310058;
    border: 2px solid #310058;
}



/* BLOG */
.blog_wrapper {
    width: 100%;
}
.blog_wrapper .blog_item {
    position: relative;
    float: left;
    width: 46%;
    margin: 2%;
    box-sizing: border-box;
}
.blog_wrapper .blog_item > img {
	display: block;
    width: 100%;
}
.blog_wrapper .blog_item .blog_item_title {
    margin: 0;
}

ul.meta_post {
    margin: 10px 0;
    padding: 0;
    list-style: none;
    display: flex;
}
ul.meta_post li {
    margin-right: 20px;
    display: flex;
}
ul.meta_post li ul.tag_list {
    margin: 0;
    padding: 0;
    display: flex;
}
ul.meta_post li ul.tag_list li {
    margin: 0;
}
ul.meta_post li ul.tag_list li:after {
    content:" - ";
    margin: 0 5px;
}
ul.meta_post li ul.tag_list li:last-child:after {
    content:"";
}

ul.meta_post a {
    display: flex;
}
ul.meta_post img {
    width: 18px;
    margin-right: 5px;
}
ul.meta_post img.folder {
    width: 20px;
}

.section_content_60 {
	width: 60%;
    margin: auto;
}

/* CONTACT PAGE*/

.contact_wrapper {	
	position: relative;
    padding: 0 100px;
    margin-top: 150px;	
    margin-bottom: 60px;
}
.contact_wrapper ul.links li {
    margin-bottom: 10px;
}


/* FOOTER */
.footer {	
	position: relative;
    padding: 0 100px;
    margin-top: 150px;	
    margin-bottom: 60px;	
}
.footer p {
    text-align: center;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll_top {
    display: none;
    position: fixed;
    left: 20px;
    bottom: 200px;
    -webkit-transform: rotate(-90deg) translate(-50%,0);
    -ms-transform: rotate(-90deg) translate(-50%,0);
    transform: rotate(-90deg) translate(-50%,0);
    color: #fff;
}
.scroll_top:after {
    content: "";
    position: absolute;
    top: 10px;
    right: -70px;
    height: 1px;
    width: 60px;
    background-color: #fff;
}

/* SEARCH*/

.search_action {
    position: fixed;
    left: 30px;
    bottom: 60px;
    width: 40px;
    height: 40px;
    text-align: center;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 100%;
    background: #310058;
    z-index: 99;
}
.search_action img {
    width: 24px;
}
.search_wrapper {
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: #140024;
    z-index: 99999;
    padding: 30px;
    box-sizing: border-box;
}
.search_wrapper .close_search_wrapper {
    top: 60px;
    position: absolute;
    right: 60px;
}
.search_wrapper .close_search_wrapper img {
    width: 50px;
}
.search_wrapper #mainSearch {
    position: absolute;
    top: 50%;
    width: 80%;
    left: 10%;
}
.search_wrapper input[type="search"] {
    padding: 20px;
    width: 100%;
    font-size: 16px;
}


/*  HEAD TITLE PAGE */
.head_title_page ul.meta_post {
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.head_title_page .page_intro h1 {
   margin-bottom: 20px;
}

.head_title_page {   
    position: relative;
    padding: 0 100px;
    margin-top: 150px;
    text-align: center;
} 
.head_title_page .brand {    
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.head_title_page .title { 
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    margin-top: 0;
    font-size: 3.5em;
}


@media screen and (max-width: 860px) {
    .header {
        height: 80px;
        background: #140024;
        position: fixed;
        border-bottom: 1px solid #5f5567;
        width: 100%;
        padding: 0 20px;
        top: 0;
        right: 0;
        box-sizing: border-box;
        z-index: 9999;
        box-shadow: 6px 5px 10px 0px rgb(0 0 0 / 5%);
    }
    .header .logo {
        position: relative;
        z-index: 99999;
		width: 40%;
    }
    .header .logo img {
        height: 38px;
        margin-top: 20px;
    }
    .diwayz_slideshow {
        padding: 80px  20px 20px;
    }
    .diwayz_slideshow .swiper {
        height: inherit;
    }
    .swiper-slide .title-head h2 {
        font-size: 3rem;
    }
    .swiper-slide {
        width: 100% !important;
    }
    .swiper-slide p {
        padding-left: 40px;
        padding-top: 40px;
        width: 100%;
        line-height: 20px;
    }
	.head_title_page .title {
		
    font-size: 2em;
	}
    .diwayz_slideshow .shap.shap_1 {
        left: -27%;
        top: 0;
    }
    .diwayz_slideshow .shap.shap_2 img {
        width: 100px;
    }
    .diwayz_slideshow .shap.shap_3 {
        bottom: 0;
        right: inherit;
        left: 0;
    }
    .diwayz_slideshow .shap.shap_4 {
        bottom: 120px;
        right: 20px;
    }
    .header .menuWrapper {
        display: none;
        float: right;
        width: 100%;
        background: #140024;
        position: fixed;
        height: 100%;
        right: 0;
        top: 0;
        padding: 80px 40px 0;
        box-sizing: border-box;
        z-index: 9999;
    }
    .header .menuWrapper ul {
        float: initial;
        margin: 0;
        padding: 0;
    }
    .header .menuWrapper > ul li {
        list-style: none;
        float: initial;
        margin-right: 0;
        margin-top: 15px;
        width: 100%;
    }
    .scroll_top {
        display: none !important;
    }
    .search_action {
        display: none;
        z-index: 99999;
    }
    .search_wrapper .close_search_wrapper {
        top: 100px;
    }
    a.mainM_t {
		display: block;
		text-align: right;
		padding: 10px;
		position: absolute;
		right: 20px;
		top: 15px;
		border-radius: 5px;
		z-index: 8;
        z-index: 99999;		
		width: 40px;
		height: 40px;
	}
	a.mainM_t .bar {
		display: block;
		width: 28px;
		height: 3px;
		background: #ffffffff;
		margin: 5px 1px;
	}
	a.mainM_t.active .bar:nth-child(1) {
		transform: rotate(-45deg);
		position: absolute;
		top: 18px;
		right: 10px;
	}
	a.mainM_t.active .bar:nth-child(2) {
		transform: rotate(45deg);
		position: absolute;
		top: 18px;
		right: 10px;
	}
	a.mainM_t.active .bar:nth-child(3) {
		display: none;
	}

	.head_title_page {
		padding: 0 20px;
	}
    .header .menuWrapper > ul li.sep {
        width: 80px;
        border-right: none;
        height: inherit;
        border-bottom: 1px solid #fff;
    }
    .lets_work_together_wrapper {
        width: 200px;    
        margin: 20px auto;
    }
    a.lets_work_together {
        width: 200px;
        margin: 60px 0;
    }
    .lets_work_together_wrapper .text {
        top: 60px;
        width: 200px;
        transform: inherit;
    }
    .lets_work_together_wrapper svg {
        display: none;
    }  
    .page_intro {
        padding: 0 20px;
    }
    .section_content {
        padding: 0 20px;
    }
    .section {
        padding: 0 20px;
    }
    .profile_info_intro {
        padding: 0px 20px;
    }
    .portfolio_wrapper .portfolio_item {
        width: 100%;
        margin: 2% 0;
    }
    .portfolio_wrapper .portfolio_item:nth-child(odd) {
        margin-top: 80px;
    }    
    .profile_resume .two-col {
        position: relative;
        margin: 1% 0;
        width: 100%;
    }
	.profile_info_intro p {
		font-size: 1.5em;
		width: 80%;  
	}
    .blog_wrapper .blog_item {
        margin: 1% 0;
        width: 100%;
    }
    ul.meta_post {
        display: block;
    }
    ul.meta_post li {
        margin-bottom: 5px;
    }  
    .middle_center_content {
        width: 100%;
        box-sizing: border-box;
    }
	.search_action {		
		bottom: 30px;
	}
	.hero-large span {
		    font-size: 1em;
	}
	.portfolio_wrapper {
		padding-top: 0;
	}
    .hero-large {
        width: 100%;
    }
	form.wpcf7-form {
		width: 100% !important;
		margin: auto;
	}
	.section_content_60 {
		width: 100%;
		margin: auto;
	}

}

form.wpcf7-form {
	width: 60%;
    margin: auto;
	direction: ltr;
}
.form-field {
	margin-bottom: 20px;

}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea,
.form-field select {
	direction: ltr;
    padding: 10px;
    text-align: left;
    width: 100%;
	font-family: 'El Messiri', sans-serif;
}
.form-field label {
	display: block;
	margin-bottom: 5px;
}
.form-field br {
	display: none;
}
form.wpcf7-form  input[type="submit"] {	
	font-family: 'El Messiri', sans-serif;
	cursor: pointer;
    padding: 10px 30px;
}

.more___portfolio {
	width: 200px;
    margin: auto;
    display: block;
    text-align: center;
    border: 1px solid #ffff;
    padding: 10px 0;
}

.wpcf7 form .wpcf7-response-output {
    margin: 20px 0;
    padding: 0;
    border: none;
}