.homeSlide {
    width: 100%;
    max-width: 1280px;
    height: 620px;
    margin-top: 5px;
    position: relative;
}

.slide {
    height: 620px;
}

.slide > img:first-child{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.slideDetail{
        color: #fff;
    background: rgba(255, 255, 255, 0.2);
    position: absolute;
    right: 40px;
    top: 0;
    padding: 10px;
    z-index: 20;
    bottom: 0;
    margin: auto;
    text-align: center;
}
.slideDetail.rect{
    height: 170px;
    width: 270px;
}
.slideDetail.sq{
    height: 240px;
    width: 240px;
    padding: 50px 30px;
}
.slideDetail span {
    font-size: 36px;
    display:block;
}

.slideDetail label {
    font-size: 60px;
    display:block;
    font-family: neueThin;
}
.overview {
    margin-top: 5px;
    padding: 40px 30px;
    background: #fff;
}

h1{
 text-align: center;
    font-size: 24px;
    color: #4d4d4d;
}
.hafezSlide_tabs {
    position: absolute;
    z-index: 10;
    top: 0;
    height: 315px;
    bottom: 0;
    margin: auto;
    left: 40px;
}
.hafezSlide_tabs > li {
    border: 1px solid #fff;
    height: 26px;
    border-radius: 50%;
    margin: 20px 0;
    width: 26px;
    position: relative;
}
.hafezSlide_tabs > li:after{
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    content: "";
    height: 12px;
    width: 12px;
    background: #fff;
    margin: auto;
    display: block;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s;
}
.hafezSlide_tabs > li.hafezSlide_here:after{
    opacity: 1;
}
.hafezSlide_tabs > li > a {
    height: 25px;
    width: 25px;
    display: block;
    opacity: 0;
    position: relative;
    z-index: 5;
    margin: 0;
}
.overviewContent {
/*
    display: table;
    padding-top: 40px;
    width: 100%;
*/
    
    
    display: flex;
    padding-top: 40px;
    width: 100%;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}
.overviewContent > img:first-child {
    width: 500px;
    height: 300px;
    object-fit: cover;
/*    float: left;*/
}
.overviewTxt {
    width: 620px;
/*    float: right;*/
}
.overviewTxt,.overviewTxt p{
    text-align: center;
    line-height: 1.5;
}
.overviewTxt *{
    font-size:13px !important
}
.projectsSection{
    padding: 40px 30px;
    background: rgba(233, 230, 225, 0.6);
}
.projectsSection > div{
    margin-top: 40px;
    width: 100%;
}
.projectBox {
    position: relative;
}
.prTitle {
    position: absolute;
    left: 0;
    bottom: 40px;
    background: rgba(255, 255, 255, 0.5);
    width: 50%;
    height: 40px;
    padding: 9px 10px;
    text-align: right;
    transition: all 0.5s;
}
.projectBox:hover > .prTitle{
    background: #fff;
}
.slickNav {
    width: 80px !important;
    margin: auto;
    display: table;
}
.slickNav > img{
    width: 25px;
    cursor: pointer;
}
.slickNav > img:first-child{
    float: left;
}
.slickNav > img:last-child{
    float: right;
}
.followUs {
    padding: 40px 30px;
    background: #e9e6e1;
}
.followDlContainer {
    margin: 40px 0;
    display: flex;
    justify-content: space-between;
}
.followBox {
    position: relative;
    max-height: 400px;
    max-width: 24.6%;
}
.followBox > *{
    cursor: pointer;
}
.followBox.downloadApp {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
    width: 25%;
}
.followBox > img ,.followBox.downloadApp a >img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.followBox.downloadApp > a{
    display: block;
    width: 100%;
}
.followBox:first-child:after,.followBox:last-child:after,.followBox:nth-child(2):after{
    background: rgba(80, 80, 80, 0.74);
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.5s;
}
.followBox > label {
   position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    font-size: 20px;
    color: #fff;
    width: 100%;
    text-align: center;
    height: 50px;
    opacity: 0;
    padding: 0 5px;
    z-index: 2;
    transition: opacity 0.6s;
}
.followBox > label img {
       width: 30px;
    display: block;
    margin: auto;
}
.followBox:hover > label,.followBox:hover:after{
    opacity: 1;
}
.latestNewsSection {
    background: #fff;
    padding: 40px 30px;
}
.newsSlide {
    position: relative;
    max-width: 1220px;
    overflow: hidden;
    margin: 40px auto;
}
.newsSlide > div{
   text-align: center;
    max-width: 100%;
    width: 100%;
}
.newsSlide > div > p{
    text-align: center;
    margin-top: 20px;
}
.newsSlide > div > img {
    max-width: 1220px;
    max-height: 320px;
    width: 100%;
}
.rhino-container{
    height: 300px !important;
}
.advanceSearch {
    background: #fff;
    padding: 40px 30px;
    margin-top: 2px;
}

.searchContainer {
    margin-top: 40px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-direction: row-reverse
}

.searchContainer > .hafezSelect {
    width: 300px;
    height: 50px;
    background-color: #e9e6e1;
     background-image: url(../img/icons/down.svg);
    background-repeat: no-repeat;
    background-size: 15px;
/*    float: right;*/
    background-position: 90% center;
    display: block;
    text-align: center;
    padding: 16.5px 0;
    line-height: 23px;
}

.searchContainer > .hafezSelect{
/*    margin-right: 6.66px;*/
}
.searchRes {
    font-size: 20px;
    color: #4d4d4d;
    display: block;
    text-align: center;
    margin: 20px 0 0;
}
.advanceSearch .defaultBtn{
    margin-top: 20px;
}
.subscribe {
    background: rgba(255,255,255,0.8);
    padding: 40px 30px;
    height: 330px;
}

.subscribe form{
    margin-top: 40px;
    display: flex;
    justify-content: space-around;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}
.subscribe form > input{
    width: 350px;
    height: 50px;
    border: none ;
    text-align: right;
    font-family: IRANSans;
    padding: 0 20px;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    font-family: IRANSans;
    text-align:right;
    transition:opacity 0.4s;
}
::-moz-placeholder { /* Firefox 19+ */
    font-family: IRANSans;
    text-align:right;
    transition:opacity 0.4s;
}
:-ms-input-placeholder { /* IE 10+ */
    font-family: IRANSans;
    text-align:right;
    transition:opacity 0.4s;
}
:-moz-placeholder { /* Firefox 18- */
    font-family: IRANSans;
    text-align:right;
    transition:opacity 0.4s;
}

input:focus::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    opacity:0;
}
input:focus::-moz-placeholder { /* Firefox 19+ */
    opacity:0;
}
input:focus:-ms-input-placeholder { /* IE 10+ */
    opacity:0;
}
input:focus:-moz-placeholder { /* Firefox 18- */
    opacity:0;
}
textarea:focus::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    opacity:0;
}
textarea:focus::-moz-placeholder { /* Firefox 19+ */
    opacity:0;
}
textarea:focus:-ms-input-placeholder { /* IE 10+ */
    opacity:0;
}
textarea:focus:-moz-placeholder { /* Firefox 18- */
    opacity:0;
}
.subscribe > .defaultBtn{
/*    background: transparent;*/
    cursor: pointer;
}
.newsSlide_tabs {
    margin: 40px auto 0;
    display: flex;
    justify-content: center;
}
.newsSlide_tabs > li {
    width: 220px;
    height: 3px;
    opacity: 0.3;
    background: #ed1c24;
    transition: all 0.5s;
}
.newsSlide_tabs > li:hover{
    opacity: 0.6;
}
.newsSlide_tabs > li.newsSlide_here{
    opacity: 1;
}
.newsSlide_tabs > li:first-child {
    transform: translateX(-20px);
}
.newsSlide_tabs > li:last-child {
    transform: translateX(20px);
}
.newsSlide_tabs > li > a {
    opacity: 0;
    width: 100%;
    display: block;
    height: 3px;
}


.slick-slide img {
    display: block;
    width: 400px;
    height: 400px;
    object-fit: cover;
}





/*RESPONSIVE STYLES*/
@media screen and (max-width:1293px){
    .searchContainer > .hafezSelect{
        width: calc(25% - 5px);
    }
}
@media screen and (max-width:1024px){
    .overviewContent > img:first-child{
        max-width: 50%;
    }
    .overviewTxt {
        width: auto;
         padding: 0 0 0 30px; 
    }
    .slick-slide img {
        width: 100%;
        height: auto;
    }
    .projectBox {
        padding: 0 10px;
    }
    .prTitle{
        left: 10px;
    }
    .newsSlide{
        max-width: 100%;
    }
    .newsSlide_tabs > li > a{
            height: 10px;
    }
    .followBox{
        padding: 0 10px;
    }
    .followBox:first-child{
        padding-left: 0;
        padding-right: 0;
    }
    .followBox:last-child{
        padding-right: 0;
    }
/*
    .searchContainer > .hafezSelect{
        width: calc(50% - 5px);
    }
*/
    .subscribe form > input{
        width: calc(33% - 50px);
    }
    footer{
        justify-content: space-between;
        height: auto;
    }
    .homeSlide,.slide{
        height: calc(100vh - 180px);
    }
}
@media screen and (max-width:960px){

}
@media all and (max-width:768px) and (orientation:landscape){
    .homeSlide, .slide {
        height: calc(100vh - 130px);
    }
    .hafezSlide_tabs{
        height: 215px;
    }
    .hafezSlide_tabs > li{
        margin: 10px 0;
    }
}
@media screen and (max-width:768px){
    .slideDetail{
        padding: 20px 20px;
    }
    .slideDetail.sq{
        height: 100px;
        width: 110px;
        padding: 20px 20px;
    }
    .slideDetail.rect {
        height: 113px;
        width: 180px;
    }
    .slideDetail span {
        font-size: 16px;
        display: block;
    }
    .slideDetail label {
        font-size: 30px;
        display: block;
        font-family: neueThin;
    }
    .searchContainer{
        flex-wrap: wrap;
    }
    .searchContainer > .hafezSelect{
        width: calc(50% - 2.5px);
    }
    .searchContainer > .hafezSelect{
        margin-bottom: 5px;
    }
}
@media screen and (max-width:667px){
    .overviewContent{
        flex-direction: column;
    }
    .overviewContent > img:first-child{
        max-width: 100%;
        width: 100%;
        margin-bottom: 30px;
    }
    .overviewTxt{
        padding: 0;
    }
    .newsSlide_tabs > li{
        width: 120px;
    }
}
@media screen and (max-width:415px){
    .newsSlide_tabs > li{
        width: 80px;
    }
    .followDlContainer{
        flex-wrap: wrap;
        margin-bottom: 0;
    }
    .followBox{
        width: calc(50% - 5px);
        margin-bottom: 10px;
        padding: 0;
            max-width: 50%;
    }
    .followBox.downloadApp{
        width: calc(50% - 5px);
        margin-bottom: 10px;
        max-width: 50%;
    }
    .followBox:last-child,.followBox:nth-last-child(2){
        margin-bottom: 0;
    }
    .followBox:after {
        right: 0px;
        left: 0px;
    }
    .followBox > img{
        height: 100%;
        object-fit: cover;
    }
    .searchContainer > .hafezSelect{
        width: calc(100%);
        margin-bottom: 10px;
    }
    .searchContainer > .hafezSelect:nth-child(2n+1){
        margin-right: 0;
    }
    .searchContainer > .hafezSelect:last-child,.searchContainer > .hafezSelect:nth-last-child(2){
/*        margin-bottom: 0;*/
    }
    .subscribe{
        height: auto;
    }
    .subscribe form{
        flex-direction: column;
    }
    .subscribe form > input{
        width: calc(100% - 40px);
    }
    .subscribe form > input:not(:last-child){
        margin-bottom: 10px;
    }
    .slickNav{
        width: 130px !important;
    }
}

