.stroke-black{
    text-shadow:1px 0 1px #000 , 0 1px 1px #000 , -1px 0 1px #000,0 -1px 1px #000;
}
*{
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8)
}
.stroke-khaki{
/*    text-shadow:1px 0 1px #fefefe, 0 1px 1px #fefefe, -1px 0 1px replace,0 -1px 1px replace;  */
    text-shadow:1px 0 1px #CF5E00 , 0 1px 1px #CF5E00 , -1px 0 1px #CF5E00,0 -1px 1px #CF5E00;
}
.stroke-light-green{
    text-shadow:1px 0 1px rgba(34, 0, 0,0.6) , 0 1px 1px rgba(34, 0, 0,0.6) , -1px 0 1px rgba(34, 0, 0,0.6),0 -1px 1px rgba(34, 0, 0,0.6);
}
.stroke-white{
    text-shadow:1px 0 1px rgb(199, 234, 255) , 0 1px 1px rgb(199, 234, 255) , -1px 0 1px rgb(199, 234, 255),0 -1px 1px rgb(199, 234, 255);
    color:#093028 !important;
}
.span-20{
    width: 200%;
}
.span-40{
    width: 400%;
}
.span-60{
    width: 600%;
}
.image-center-wrapper{
    display: flex;
    height: 100%;
    align-items: center;

    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    background-blend-mode: multiply;
}
.image-me{
    width: 100%;
    box-shadow: 0 15px 30px 0px rgba(0,0,0,0.5);
}
.intro-text{
    font-size:16px;
    font-weight: bold;
}

.panel > *.color0{
    background: linear-gradient(to bottom left , #200122,#6f0000);
}
.dawn-gradient{
    background: linear-gradient(to bottom left , #F3904F,#3B4371);
}
.banner *{
    color:rgba(218, 208, 208, 0.918);
}
.spotlight *{
    color:rgba(218, 208, 208, 0.918);
}
input[type="submit"].primary.color1, input[type="reset"].primary.color1, input[type="button"].primary.color1, button.primary.color1, .button.primary.color1{
    color:#093028 !important;
}
.under-the-lake-gradient{
    background: linear-gradient(to bottom right,#093028,#237A57);
    background: linear-gradient(to bottom left,#0f0c29,#302b63,#24243e);
}
a{
    -webkit-user-drag: none;
}
.panel.color1{
    background: linear-gradient(to bottom left,#ED213A,#93291E) !important;
    background: linear-gradient(to bottom left,#0F2027,#203A43,#2C5364) !important;
}
.panel > .intro.color2{
    background: linear-gradient(to bottom left,#000,#333,#000);
}
.panel > .intro.color2 *{
    /*color: goldenrod;*/
    /*text-shadow:3px 2px 4px rgba(0,0,0,0.6);*/
}
.first-look{
    padding-left: 8rem !important;
}
.about-text{
    padding-left: 1.7rem !important;
}
.icon[class*=flaticon],.icon[class*=flaticon]::before{
    font-family: 'Flaticon' !important;
}
a.icon:hover{
    text-decoration: none;
}

.bg-black{
    background-color: #000;
}
.gallery-item{
    background: linear-gradient(to bottom left,#0F2027,#203A43,#2C5364);
    position: relative;
}
.portfolio{
    position: relative;
    cursor: pointer;
    padding: 80px;
    padding-top: 30px;
    box-shadow: inset 0 0 8px 8px black;
    border: solid 1px white;
    overflow: hidden;
}
.portfolio a.image{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.portfolio img,.portfolio span{
    transition: 0.6s 0.2s transform;
}
[data-img]{
    position: relative;
    filter:blur(3px);
}
.portfolio:hover a.image[data-img]{
    filter: none;
    background-color: rgba(0,0,0,0.4) !important;
}
.portfolio:hover span{
    transform: translate(-50%,300px) !important;
}
.portfolio:hover img{
    transform: translateY(-300px) !important;
}
.gallery-item-title{
    position: absolute;
    left: 50%;
    top: 50%;
    font-size:24px;
    transform: translate(-50%,100%);
    width: 100%;
    text-align: center;
    font-weight: bold;
    /*background-color: white;*/
    /*background-blend-mode: multiply;*/
    /*background: linear-gradient(to bottom , #999,#fff,#999);*/
    /*-webkit-text-fill-color: transparent;*/
    /*-webkit-background-clip:text;*/
    /*background-clip: text;    */
    color:silver;
}
.portfolio-logo{
    width: 100%;
    height: auto;
    left: 50%;
    top: 50%;
    /* transform: translate(-50%,-70%); */
    filter:grayscale(100%);
    transition: .6s;
}
.portfolio:hover .portfolio-logo{
    filter:grayscale(0);

}
.wide-portfolio{
    width: 40%;
    top:40%;
    transform: translate(-50%,-50%);
    left: 50%;
    position: absolute;
}
.d-flex{
    display: flex;
}
.align-items-center{
    align-items: center;
}
.construct-wrapper{
    overflow: hidden;
}
.construct{
    height: 100%;
}


/***********************************************/
/*            Education             */
/***********************************************/
.edu-wrapper{
    background: linear-gradient(to bottom right,#140a26,#a30422) !important;
    background: linear-gradient(to bottom right,#000,#434343) !important;
    background: linear-gradient(to bottom right, #1b323f,#011120) !important;
    padding-left: 80px;
}
.edu-item{
    background-color: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-transform: scale(1.01);
    -moz-transform: scale(1.01);
    -ms-transform: scale(1.01);
    -o-transform: scale(1.01);
    transform: scale(1.01);
    height: 300px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.over{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.3);
    z-index: 1;
}
.line{
    transform: scaleX(1.25);
}
.azad{
    background-image: url('../../images/iau-en.webp' );
    -webkit-background-size: cover;
    background-size: cover;
    background-position: top center;
    height: 70%;
}
.edu-content{
    width: 100%;
    height: 30%;
    bottom: 0;
    position: absolute;
    left: 0;
    background-color: rgba(0,0,0,0.7);
    background: linear-gradient(to right,#16222A,#3A6073,#16222A);
    color:whitesmoke;
    text-align: center;
    font-size:26px;
}
.edu-content p{
    margin: 0;
    margin-top: 10px;
    margin-bottom: -10px;
}
.edu-content span{
    font-size:22px;
}
.mft,.teh{
    background-image: url('../../images/mft.webp');
    background-position: center center;
    background-repeat:no-repeat;
    background-size: 70% 70%;
    width: 70%;
    height: 70%;
    margin: 0 auto;
}
.teh{
    background-image: url('../../images/tehran-fa.webp');
}
.edu-item-wrapper{
    background-color: transparent;
    transform-style: preserve-3d;
    perspective: 5000px;
    -webkit-transition:  .6s;
    -moz-transition:  .6s;
    -ms-transition:  .6s;
    -o-transition:  .6s;
    transition:  .6s;
}
.edu-item-wrapper:hover{
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}
.first-side{
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    -ms-transition: all 0.6s;
    -o-transition: all 0.6s;
    transition: all 0.6s;
    backface-visibility: hidden;
}
.other-side{
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    -ms-transition: all 0.6s;
    -o-transition: all 0.6s;
    transition: all 0.6s;
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
    backface-visibility: hidden;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(180,180,180,1);
    padding: 20px;
}
/*.edu-item-wrapper:hover .other-side {*/
    /*-webkit-transform: rotateY(0);*/
    /*-moz-transform: rotateY(0);*/
    /*-ms-transform: rotateY(0);*/
    /*-o-transform: rotateY(0);*/
    /*transform: rotateY(0);*/
/*}*/
/*.edu-item-wrapper:hover .first-side{*/
    /*-webkit-transform: rotateY(180deg);*/
    /*-moz-transform: rotateY(180deg);*/
    /*-ms-transform: rotateY(180deg);*/
    /*-o-transform: rotateY(180deg);*/
    /*transform: rotateY(180deg);*/
/*}*/
.rotate{
    -webkit-transform: scalex(1.25) rotateY(-180deg);
    -moz-transform: scalex(1.25) rotateY(-180deg);
    -ms-transform: scalex(1.25) rotateY(-180deg);
    -o-transform: scalex(1.25) rotateY(-180deg);
    transform: scalex(1.25) rotateY(-180deg);
}
.edu-caption,.edu-text{
    color : black;
    font-weight: bold;
    text-shadow: none;
}
.edu-caption{
    font-size: 20px;
}
.certificate-wrapper{
    width: 100%;
    height: 80%;
}
.certificate-wrapper.two-column .certificate{
    width: 70%;
}
.certificate{
    width: 90%;
    height: 80%;
    position: relative;
    overflow: hidden;
    -webkit-background-size: 100% 100%;
    background-size: 100% 100%;
    background-position: center center;
}
.certificate-caption{
    top: 0;
    position: absolute;
    width: 100%;
    text-align: center;
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    -ms-transition: all 0.6s;
    -o-transition: all 0.6s;
    transition: all 0.6s;
    font-size: 20px;
}
.certificate:hover .certificate-caption{
    top: 10%;
}
.bottom-banner{
    position: absolute;
    width: 100%;
    height: 100%;
    line-height: 40px;
    background-color: rgba(20,20,20,0.9);
    background: linear-gradient(to right,#152a4190,#2B598190,#152a4190);
    text-align: center;
    top: calc(100% - 40px);
    font-size:14px;
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    -ms-transition: all 0.6s;
    -o-transition: all 0.6s;
    transition: all 0.6s;
}
.certificate:hover .bottom-banner{
    top: 0;
}
.certificate.win{
    background-image: url("../../images/certificates/win.webp");
}
.certificate.dotnet{
    background-image: url("../../images/certificates/foundation.webp");
}
.certificate.js{
    background-image: url("../../images/certificates/javascript.webp");
}
.certificate.php{
    background-image: url("../../images/certificates/php.webp");
}
.certificate.php2{
    background-image: url("../../images/certificates/php2.webp");
}
.certificate.psd1{
    background-image: url("../../images/certificates/psd2.webp");
}
.certificate.psd2{
    background-image: url("../../images/certificates/psd1.webp");
}
.overflow-y{
    overflow-y: auto;
}
.col-md-custom-1{
    flex-basis:6.4%;
}
.modal .close{
    color: black !important;
}
.close:hover{
    box-shadow: none !important;
}
.image-preview{
    width: 100%;
    height:500px;
    -webkit-background-size: 60% 90%;
    background-size: 6  0% 90%;
    background-repeat:no-repeat;
    background-position: center center;
}
.modal{
    margin-right:auto;
    margin-left:auto;
}
.modal-lg{
    width: 80% !important;
    max-width:100% !important;
}
.modal-lg .modal-dialog{
    margin: 0;
    max-width:100% !important;
    width: 100% !important;
}
.modal-title-custome{
    color:black;
    font-weight: bold;
    font-size:26px;
    margin: 0;
    text-shadow: none;
    padding-top: 4px;
}
.custome-title{
    display: flex;
    align-items: center;
}
.w-0{
    width: 0;    
    flex-basis: 0;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;    
}
.transition{
    transition: 0.6s;
}
.badge{
    background-color: #fff;
    border-radius: 10px;
    color:#000;
}
.skillbar-title{
    font-size:18px !important;
}
.skill-bar-percent{
    color: black !important;
    text-shadow:1px 0 1px #777 , 0 1px 1px #777 , -1px 0 1px #777,0 -1px 1px #777;
    font-size: 16px !important;
}
.skillbar-bar{
    background: linear-gradient(to bottom,#0f0c29,#302b63,#24243e) !important;
}
.skillbar-title{
    background: linear-gradient(to bottom,#0f0c29,#302b63,#24243e) !important;
    width: 180px !important;
    color:goldenrod !important;
}
#portfolios{
    overflow: hidden;       
}
.badge-link{
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: #800;
    border:solid 5px silver;
    font-size:14px;
    display: inline-block;
    width: 220px;
    font-weight:bold;
    height: 70px;
    line-height: 60px;
    text-align: center;
}
.badge-link:hover{
    border-color:silver;
    text-decoration: none;
}
/***********************************************/
/*            Resume             */
/***********************************************/
.resume-wrapper{
    background: linear-gradient(to bottom right,#3d013c,#6d0545);
    background:linear-gradient(to bottom left,#000,#333,#000);
}

@media only screen and (max-width: 736px){
    body{
        padding-top: 150px;
    }
    .w-0{
        height: 0;
    }
    #resume>.d-flex{
        display: block !important;
    }
    .span-20,.span-40,.span-60,.resume-wrapper,.col-12{
        width: 100%;
        flex-basis: 100%;
        width: 100% !important;
    }
    .first-look{
        flex-basis: 100% !important;
    }
    .span-2{
        width: 100%;
        flex-basis: 100%;
    }
    .portfolio .image{
        height: 100% !important;
    }
    .h-xs-200{
        height: 200px !important;
    }
    .panel.banner .content{
        padding-left: 50px !important;
    }
    .grid-icons{
        justify-content: center !important;
    }
    .edu-item{
        height: 450px;
    }
    .edu-item-wrapper:hover {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
    .edu-content{
        height: 20%;
    }
    .edu-cover{
        height: 80%;
    }
    .col-md-custom-1{
        flex-basis: 100%;
    }
    .image-preview{
        height: 300px;
    }
}

@media screen and (max-width: 736px){
    .gallery .group .span-2 {
        width: 100%;
    }    
    .edu-wrapper{
        padding: 0;
    }
    .edu-wrapper{

    }
    /*.edu-item{*/
        /*transform: scale(0.7);*/
    /*}*/
    /*.edu-item-wrapper:hover{*/
        /*transform: scale(0.9);*/
    /*}*/
}
@media screen and (max-width: 596px) {
    .mft{
        width: 80%;
    }
}