@media (min-width: 1366px){
    #up-triangle_page {
        top: -97px;
    }
    div#home-blog-section-wrapper {
        padding-top: 12% !important;
    }
    .sloganpage h2 {
        font-size: 40px;
    }
    a.mylogo {
    left: 50%;
    transform: translate(-50%,0);

    }
    #hoversearch input[type=text] {
        width: 61%;
    }
    #hoversearch input.submit {
        right: 21%;
    }
}
@media (max-width: 1366px){
    #hovermenu {
        height: 102vh;
    }
}
/* LG = (For Large devices Desktops) */
@media (min-width: 1200px){
}

/* SM TO MD = (For Medium devices Desktops) */
@media (min-width: 992px) and (max-width: 1199px){
    .boxnewsindex {
        padding-left: 14%;
    }
    .itemnewshome {
        margin: 0 0 61px 0;
    }
    .itemnewshome:nth-child(2) {
        margin: 0 0 0 128px;
    }
    .itemnewshome:nth-child(3) {
        margin: -26px 112px -22px -58px;
    }
    .itemnewshome:nth-child(4) {
        margin: 0 0 61px 0;
    }
    .itemnewshome:nth-child(5) {
        margin: 0px 0 0 130px;
    }
    a.tagereadmore {
        bottom: 75px;
        left: 0;
        width: 100%;
        background-position: 45%;
    }
    .boxnewsindex {
        padding-left: 17.5%;
        min-height: 880px;
    }
    div#hoversearch,
    div#hovermenu {
        height: 93vh;
    }
}

/* Biger than SM = (For Medium devices Desktops ) */
@media (min-width: 992px){
    .photo_wrapper img {
        height: auto;
    }
    
    .section5_news {
        margin-top: -60px;
        margin-bottom: -58px;
    }
    .bacmainfooter {
        height: 395px;
        padding: 29px 46px;
        margin-top: 4%;
    }
    .maps {
        height: 455px;
    }
    .section6_footer {
        min-height: 455px;
    }
    .section4_myclient {
        min-height: 513px;
        margin-top: -28px;
    }
    section.section2_index {
        min-height: 375px;
        margin-bottom: -61px;
        z-index: 999999;
        
    }
    .contactform textarea {
        height: 100px;
    }
    .newslaterform {
        margin-top: 11px;
    }
    .bacmainfooter2 {
        height:630px;
        margin:0;
    }
    .headerbox {
        margin-bottom: 6px;
    }
    section.section2_index {
        margin-top: -65px;
    }
    .carousel-caption {
        bottom: 36%;
    }
    .sliderhompage ol.carousel-indicators {
        bottom: 20%;
    }
    div#home-blog-section-wrapper {
        height: 360px;
        padding-top: 15%;
    }
    .sloganpage h2 span {
        font-size: 20px;
    }
    .sloganpage h2 {
        font-size: 38px;
    }
    .widget.search .form-control {
        height: 45px;
        font-size: 15px;
    }
    .widget.search .searchform:after {
        top: 11px;
    }
    .widget.category ul li a {
        height: 51px;
    }
    .sliderclient .item img {
        width: 59%;
    }
    section.section2_index {
        background-position: center 9px;
    }
    .widget.category .widget-content ul li a span:last-child {
        float: right;
        position: absolute;
        right: 15px;
        font-size: 12px;
    }
    .widget.category .widget-content ul li a span:first-child {
        float: left;
        text-transform: uppercase;
        position: absolute;
        font-size: 12px;
    }
    
    .search-toggle #hoversearch .headerbox.white.associates,
    .menu-toggle #hovermenu .headerbox.white.associates {
        display: none;
    }
    a.tagereadmore {
        width: 100%;
        left: 0;
        background-position: 49.5%;
    }
}
@media (max-width: 1024px){
    .sliderhompage ol.carousel-indicators {
        bottom: 27%;
    }
    #hovermenu ul {
        top: 96px;
    }
    .carousel-caption h2 {
        font-size: 22px;
    }
    a.mylogo { left: 50%;
    text-align: right;
    right: auto;
    transform: translate(-50%);
    -webkit-transform: translate(-50%);
    -moz-transform: translate(-50%);
    -o-transform: translate(-50%);
    }
    .sloganpage h2 {
        margin-top: 55px;
    }
}

/* XS to MD */
@media (max-width: 992px){
    #bot-triangle,
    div#to-triangle,
    div#up-triangle {
        display: none;
    }
    .section4_myclient {
        min-height: 458px;
        margin: 71px 0;
        background-position: center !important;
    }
    .boxnewsindex {
        padding-left: 14%;
    }
    .itemnewshome {
        margin: 0 0 61px 0;
    }
    .itemnewshome:nth-child(2) {
        margin: 0 0 0 106px;
    }
    .itemnewshome:nth-child(3) {
        margin: -59px 112px -22px -70px;
    }
    .itemnewshome:nth-child(4) {
        margin: -35px 0 61px 0;
    }
    .itemnewshome:nth-child(5) {
        margin: -34px 0 0 106px;
    }
    a.tagereadmore {
        bottom: 75px;
        left: 0;
        width: 100%;
        background-position: 54%;
    }
    .boxnewsindex {
        min-height: 794px;
    }
    .search-toggle #hoversearch,
    div#hovermenu {
        position: fixed;
        z-index: 99999999;
    }
    .search-toggle .selecttop,
    .menu-toggle #menu-toggle {
        z-index: 999999991;
        position: fixed;
        top: 86px;
    }
    .sliderhompage ol.carousel-indicators {
        z-index: 99999992;
    }
    #hovermenu .headerbox.associates {
        left: 44.5%;
    }
    .carousel-caption h2 {
        font-size: 34px;
    }
    .carousel-caption h2 span {
        font-size: 18px;
    }
    .carousel-caption {
        text-align: left;
        left: 10%;
        bottom: 12%;
    }
    .bacmainfooter {
        height: 794px;
        margin-bottom: 25px;
    }
    section#contact_page div#map {
     /*   display: none;*/
    }
    .contactformcol {
        margin-top: 25px;
    }
    .section-short-desc {
        text-align: justify;
        margin: 23% auto 0px;
    }
    .headerbox.associates {
        top: 53px;
        position: absolute;
        left: 38%;
    }
    .sloganpage h2 span {
        display: none;
    }
    .sloganpage h2 {
        padding-top: 15%;
        font-size: 36px;
    }
    .photo_wrapper img {
        height: auto;
    }
    .maps {
        height: 834px;
    }
    .selecttop ul li {
        display: none;
    }
    .selecttop ul li:last-child {
        display: block;
    }
    .search-toggle #hoversearch .headerbox.white.associates,
    .menu-toggle #hovermenu .headerbox.white.associates {
        display: none;
    }
}

/* SM Only = (For Small devices Tablets ) */
@media (min-width: 767px) and (max-width: 992px){
	
}

/* Biger than XS = (For Small devices Tablets )*/
@media (min-width: 767px){
    
    .boxrespansive {
        display: none;
    }
}

/* XS = (For Extra small devices Phones)*/
@media (max-width: 767px){
	a.mylogo {
        width: 100%;
        left: 0;
        text-align: center;
    }
    a.mylogo img {
        width: 192px !important;
    }
    ol.carousel-indicators {
        display: none;
    }
    .carousel-caption h2 span {
        display: inline-block;
    }
    .carousel-caption {
        right: 10%;
        bottom: 15%;
    }
    section.section1_index {
        min-height: 412px;
    }
    .section1_index .item img,
    .section1_index .item {
        min-height: 412px;
        width: 160%;
    }
    .section1_index .item img {
        width: auto;
    }
    .boxabout {
        width: 97%;
        padding-top: 62px;
    }
    .boxabout .social_about {
        display: none;
    }
    .boxabout .social_respansive {
        display: block;
    }
    
    .carousel-caption {
        right: 0;
        left: 0;
        padding: 20px;
        text-align: center;
        width: 63%;
    }
    .carousel-caption h2 {
        font-size: 12px;
    }
    .carousel-caption h2 span {
        font-size: 12px;
    }
    .itemnewshome {
        float: none;
        margin: 0 0 98px 0 !important;
    }
    .boxnewsindex {
        padding-left: 28%;
        min-height: 1887px;
    }
    a.tagereadmore {
        bottom: 13px;
        background-position: 49%;
    }
    #hovermenu .headerbox.associates {
        left: 41.5%;
    }
    
    #hoversearch .headerbox.associates {
        left: 34%;
    }
    .sloganpage h2 {
        padding-top: 29%;
        font-size: 36px;
    }
    .widget.popular.Similar {
        display: none;
    }
}

@media (max-width: 773px){
    a.tagereadmore {
        margin-left: -1.5%;
    }
    .carousel-caption h2 {
        font-size: 18px;
    }
    .boxnewsindex {
        padding-left: 11%;
    }
    div#up-triangle_page {
        display: none;
    }
}

@media (max-width: 768px){
    .carousel-caption h2 {
        font-size: 19px;
    }
    .boxnewsindex {
        padding-left: 10%;
    }
    .menu-toggle #hovermenu {
        z-index: 99999999;
    }
    a.mylogo {
        left: 15px;
        height: 100px;
        right: 0;
        text-align: center;
        transform: translate(0%);
        -webkit-transform: translate(0%);
        -moz-transform: translate(0%);
        -o-transform: translate(0%);
    }
    section.section1_index img {
         width: auto !important; 
    }
    a.tagereadmore {
        margin-left: -2.5%;
    }
    div#up-triangle_page {
        display: none;
    }
    .sliderhompage ol.carousel-indicators {
        bottom: 21%;
    }
}

@media (max-width: 767px){
    .boxnewsindex {
        display: none;
    }
    .boxrespansive {
        display: block;
    }
    .boxrespansive .owl-pagination {
        display: none;
    }
    .boxrespansive img {
        width: 100%;
    }
    .boxrespansive h3 {
        font-size: 15px;
        padding: 11px;
        text-align: center;
    }
    .boxnews {
        margin: 10px;
    }
    .boxnews img {
        border-radius: 12px;
    }
    .section5_news {
        min-height: 400px;
    }
    .headerbox {
        margin-bottom: 0px;
    }
    .section4_myclient {
        min-height: 357px;
    }
    .headerbox {
        z-index: 999992;
        font-size: 28px;
    }
    .section4_myclient {
        min-height: 357px;
    }
    section.section2_index {
        margin-bottom: -56px;
    }
    a.mylogo {
        left: 10px;
    }
    .selecttop {
        right: 66px;
    }
    #menu-toggle {
        left: 64px;
    }
    .mc4wp-form {
        display: none;
    }
    .maps {
        height: 823px;
        display: none;
    }
    /*.section4_myclient {
        min-height: 281px;
    }*/
    .headerbox.associates {
        top: -3px;
    }
    .boxabout {
        width: 97%;
        padding-top: 0;
    }
    section.section2_index {
        min-height: 395px;
    }
    div#home-blog-section-wrapper {
        height: 327px;
        padding-top: 0%;
    }
    .post .post-more a {
        display: none;
    }
    .post .post-info {
        display: none;
    }
    .widget.popular {
        display: none;
    }
    .section-short-desc {
        margin: 11% auto 0px;
    }
    section.section4_myclient {
        margin-top: 42px;
    }
    .headerbar-right {
        display: none;
    }
    .phoneshowe {
        font-size: 10px;
    }
    .phoneshowe s {
        display: none;
    }
    .headerbar-left {
        text-align: center;
        position: relative;
    }
}

@media (max-width: 736px){
    a.mylogo img {
        width: 206px !important;
        margin-top: 12px;
    }
    .boxnewsindex {
        padding-left: 28%;
    }
    a.tagereadmore {
        margin-left: 0.5%;
    }
}

@media (max-width: 667px){
    #menu-toggle {
        left: 64px;
    }
    a.mylogo img {
        width: 182px !important;
        margin-top: 12px;
    }
    .boxnewsindex {
        padding-left: 31%;
    }
    a.tagereadmore {
        margin-left: 3.5%;
    }
}

@media (max-width: 640px){
    .sloganpage h2 {
        padding-top: 49%;
        font-size: 26px;
    }
    .ui-slider-tabs-content-container {
        float: none;
        position: relative;
        width: 100% !important;
    }   
    .ui-slider-tabs-list-wrapper {
        display: none;
    }
    .boxnewsindex {
        padding: 12%;
        min-height: 1908px;
        margin: 0;
    }
    .maps {
        height: 808px;
    }
    .boxnewsindex {
        position: relative;
        left: 17%;
    }
    a.tagereadmore {
        margin-left: -16%;
    }
    #menu-toggle {
        left: 64px;
    }
    a.mylogo img {
        width: 185px !important;
        margin-top: 5px;
    }
    #hovermenu ul {
        top: 65px;
    }
}

@media (max-width: 480px){
    
}

@media (max-width: 480px){
    .boxnewsindex {
        position: relative;
        left: 8%;
    }
    section.section5_news .container {
        width: 100%;
    }
    #up-triangle_page {
        width: 106%;
    }
}
@media (max-width: 474px){
    .sloganpage h2 {
        padding-top: 69%;
    }
    a.mylogo img {
        width: 160px !important;
        margin-top: 12px;
        height: auto !important;
    }
    a.mylogo {
        width: auto;
    }
    .bacmainfooter {
        padding: 31px 0px;
    }
    #menu-toggle {
        left: 37px;
    }
    section.section2_index {
        min-height: 498px;
    }
    a.tagereadmore {
        margin-left: -5%;
    }
    a.but2 {
        width: 130px;
    }
    a.but1 {
        width: 122px;
    }
    .boxrespansive {
        margin: 0 9%;
    }
}

@media (max-width: 568px){
    #menu-toggle {
        left: 42px;
    }
    .boxnewsindex {
        position: relative;
        left: 10%;
    }
    a.tagereadmore {
        margin-left: -10.5%;
    }
}
@media (max-width: 435px){
    .boxnewsindex {
        position: relative;
        left: 10%;
    }
    a.tagereadmore {
        margin-left: -9%;
    }
    .bacmainfooter {
        height: 751px;
    }
}
@media (max-width: 414px){
    a.tagereadmore {
        margin-left: -8%;
    }
    a.mylogo img {
        margin-top: 11px;
    }
    .boxnewsindex {
        position: relative;
        left: 8%;
    }
    .boxabout {
        width: 97%;
        padding-top: 31px;
    }
    .bacmainfooter {
        height: 684px;
        padding: 26px 0px;
    }
    .selecttop {
        right: 33px;
    }
    #menu-toggle {
        left: 34px;
    }
    .bacmainfooter {
        height: 743px;
        padding: 26px 0px;
    }
}
@media (max-width: 404px){
    .boxnewsindex {
        position: relative;
        left: 4%;
    }
}
@media (max-width: 375px){
    a.tagereadmore {
        margin-left: -5%;
    }
    .boxnewsindex {
        position: relative;
        left: 5%;
    }
}
@media (max-width: 320px){
    a.mylogo img {
        width: 156px !important;
        margin-top: 2px;
    }
    .itemnewshome {
        width: 210px;
        height: 210px;
    }
    .boxnewsindex {
        left: 5%;
    }
    .boxitemnews {
        display: none;
    }
    .boxnewsindex {
        min-height: 1695px;
    }
    a.tagereadmore {
        margin-left: -6%;
    }
    div#map {
        display: none;
        background-color: rgb(0, 0, 0) !important;
    }
    section#posts-section .container {
        margin: 0px 18px;
        width: 90% !important;
    }
    #menu-toggle {
        left: 15px;
    }
    a.mylogo {
        left: 10px;
        height: 100px;
        right: 0;
    }
    .selecttop {
        right: 19px;
    }

}

.gallery {
    overflow: hidden;
}

.gallery-item {
    float: left;
    margin: 0 0 30px;
    padding: 0 5px;
    text-align: center;
    width: 100%;
}

.gallery-columns-5 .gallery-item {
    width: 20%;
}

.gallery-columns-2 .gallery-item:nth-child(2n+1),
.gallery-columns-3 .gallery-item:nth-child(3n+1),
.gallery-columns-4 .gallery-item:nth-child(4n+1),
.gallery-columns-5 .gallery-item:nth-child(5n+1),
.gallery-columns-6 .gallery-item:nth-child(6n+1),
.gallery-columns-7 .gallery-item:nth-child(7n+1),
.gallery-columns-8 .gallery-item:nth-child(8n+1),
.gallery-columns-9 .gallery-item:nth-child(9n+1) {
    clear: left;
}

.gallery img {
    border: 1px solid #ddd;
    height: auto;
    padding: 4px;
}

.gallery img:hover {
    border: 1px solid #999;
}

/* For displaying single column on mobile */
@media  (max-width: 480px) {
dl.gallery-item {
    width: 100% !important;
}
}

 .gallery-item:nth-child(5n+1) {
     clear: none;
}
#fancybox-title-over {
    direction: rtl;
    text-align: right;
    font-family: 'zafreyekan','Titillium';
}
#fancybox-wrap {
    z-index: 9999999999 !important;
}