@media (max-width:1023px) and (min-width:501px) , (max-device-width:1400px) and (min-device-width:501px){
    .logo.inline {
        display: block;
        width: 40%;
        margin: auto;
    }
    .btncounts {
        width: 30%;
    }
    header .mailpoet {
        width: 305px;
        float: left;
        margin: 27px 0px 0 10%;
    }
    header .mailpoet:after {
        clear: both;
    }
    nav {
        width: 98%;
    }
    .simg {
        height: auto;
        margin: 20px 0;
    }
    .simg img, .thumbart img {
        width: 100%;
        height: auto;
        min-width: 0%;
        min-height: 0%;
        position: inherit;
        top: auto;
        left: auto;
        -webkit-transform: translate(0%, 0%);
        -moz-transform: translate(0%, 0%);
        -ms-transform: translate(0%, 0%);
        -o-transform: translate(0%, 0%);
        transform: translate(0%, 0%);
    }
    .contactf {
        width: 60.5%;
    }
    .contactinfo {
        margin-right: 2%;
    }
}
@media (max-width: 1000px) {
    .btncountsf {
        width:30%;
        margin: 10px 4.5%;
    }
}
@media (max-width: 788px) {
    .contacthome {
        text-align: center;
    }
    .contacthome .wpcf7 {
        width:90%;
    }
    .contacthome p {
        display: block;
        font-size: 25px;
    }
    .contacthome span {
        display: block;
        margin-bottom:10px;
    }
    .contacthome .wpcf7 input:not([type=submit]), .contacthome .wpcf7 select {
        padding: 0 25px 0 0 !important;
        width: 100%;
    }
    .contacthome .wpcf7-form-control-wrap.your-name input {
        background: url(../images/user_icon.png) no-repeat 99% center rgba(0,114,188,0.3);
    }
    .contacthome .wpcf7-form-control-wrap.telephone input {
        background: url(../images/ph_icon.png) no-repeat 99% center rgba(0, 114, 188, 0.3);
    }
    .contacthome .wpcf7-form-control-wrap.email input {
        background:url(../images/mail_icon.png) no-repeat 99% center rgba(0,114,188,0.3);
    }
    .contacthome .wpcf7 select {
        background: url(../images/drop_arrow.png) no-repeat 10px center, url(../images/chat_icon.png) no-repeat 99% center rgba(0,114,188,0.3);
    }
    .imgserv {
        width: 95%;
        margin-bottom: 20px;
    }
}
@media (max-width: 765px) {
    .btncounts.inline {
        display: block;
        margin: 10px auto;
    }
    .inline.mailpoet {
        display: block;
        float: none;
        margin:auto;
    }
}
@media (max-width: 660px) {
    .halfw {
        width: 90%;
        margin: 15px 5%;
    }
    .services li.service {
        width: 45%;
    }
    .arts li {
        display: block;
        width: 85%;
        margin: 10%;
    }
    .servBtns {
        width: 22.5%;
    }
    .txtdiv {
        width: 90%;
        margin: auto;
    }
    .artpost .entry {
        width: 90%;
        display: block;
        margin: auto;
    }
    .artpost .thimg {
        width: 60%;
        display: block;
        margin: auto;
    }
    .archposts .supsystic-social-sharing {
        left: 20px;
    }
    .tagthumb {
        display: inline-block;
        vertical-align: top;
        width: 90%;
        margin: 5%;
        height: auto;
        position: relative;
        overflow: auto;
    }
    .tagthumb img {
        position: inherit;
        width: 100%;
        height: auto;
        min-height: 0;
    }
}