/* Medium Layout: 1280px. */

@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .hero-area h1 {
        font-size: 52px;
    }

    /*** Home Page 1 ***/
    .hero-img img.path-1-img {
        width: 353px;
        left: 38px;
    }

    .hero-img img.path-2-img {
        left: -50%;
    }

    .hero-img img.path-3-img {
        right: -60%;
        left: auto;
    }

    .features-icon {
        margin-right: 13%;
    }

    .rectangle-img:after {
        width: 450px;
        height: 450px;
        top: 19%;
    }

    img.mask {
        left: -20%;
    }

    .c-border-bg {
        margin-top: 0;
    }


    /*** Contact Us ***/
    .ct-icon {
        width: 20%;
        margin-right: 10px;
    }

    .ct-text {
        width: 80%;
    }

    .ct-text p {
        font-size: 14px;
    }

    .ct-text h5 {
        font-size: 16px;
    }

    .m-t-100 {
        margin-top: 60px;
    }

    /*** About Us ***/
    .pe-contact {
        padding: 25px 15px;
    }

    /*** Blog ***/
    /*** Single Blog ***/
}


/* Tablet Layout: 768px. */

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .hidden-sm{
        display: none;
    }
    /*** Home Page 1 ***/
    .pd-80 {
        padding: 70px 0;
    }

    .hero-area {
        text-align: center;
    }

    .single-features-item {
        width: 48%;
        float: left;
        margin-right: 2%;
    }

    .features-image,
    .footer-area,
    .footer-btn,
    .copyright-section {
        text-align: center;
    }

    .features-image {
        margin-bottom: 40px;
    }

    .features-image:after {
        right: 29%;
    }

    .single-counter-box {
        margin-bottom: 30px;
    }

    .hero-img {
        margin: 0 auto;
    }

    .hero-img:after {
        right: 75px;
    }

    .hero-img img.path-1-img.path-2-img {
        left: -128px;
    }

    .hero-img img.path-1-img.path-3-img {
        right: -130px;
    }

    .hero-img img.path-1-img {
        right: 166px;
    }

    .waves-block {
        transform: translate(-50%, -50%);
        left: 50%;
    }

    .hero-area .col-lg-5.text-right.col-md-12,
    .rectangle-area .col-lg-6.text-right {
        text-align: center !important;
    }

    .hero-area .col-lg-7 {
        padding: 50px 0;
    }

    .rectangle-img:after {
        left: 30px;
    }

    .rectangle-img img.message-1 {
        right: 20%;
    }

    .tc {
        margin-bottom: 30px;
    }

    .copyright {
        padding-top: 0;
    }

    img.shape-img {
        display: none;
    }

    
    /*** Contact Us ***/
    .ct-map {
        margin-top: 40px;
    }

    .ct-map iframe {
        height: 300px;
    }

    .m-t-100 {
        margin-top: 50px;
    }

    .single-ct {
        margin-bottom: 30px;
    }


    /*** Blog ***/
    .breadcrumb-area {
        padding-bottom: 80px;
    }

    .content-blog h3 a {
        font-size: 20px;
    }

    .post-pagination {
        margin: 40px 0;
    }

    .header-btn {
        display: none;
    }

    /*** Single Blog ***/
    .single-post-content {
        padding: 20px;
    }

    .single-post-content p {
        margin-bottom: 25px;
    }

    .single-post-content blockquote {
        padding: 20px;
        font-size: 15px;
    }

    .post-tag a {
        font-size: 12px;
    }

    .post-tag strong,
    .post-share strong {
        font-size: 15px;
    }

    .post-share li a {
        font-size: 15px;
    }
}


/* Mobile Layout: 320px. */

@media only screen and (max-width: 767px) {
    .hidden-xs{
        display: none !important;
    }

    /*** Home Page 1 ***/
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 23px;
    }

    h3 {
        font-size: 17px;
    }

    h4 {
        font-size: 16px;
    }

    h5 {
        font-size: 15px;
    }

    h6 {
        font-size: 14px;
    }

    body {
        font-size: 14px;
    }
    .padding-b{
        padding-bottom: 0;
    }
    .mainmenu,
    .hero-img img.path-1-img,
    img.mask,
    img.message-1,
    img.shape-img {
        display: none;
    }

    .hero-area .col-lg-7 {
        padding: 0;
    }

    .hero-img {
        margin-top: 40px;
        text-align: center;
    }

    .hero-img:after,
    .rectangle-img:after {
        width: 250px;
        height: 250px;
        right: 10px;
        top: 22%;
    }

    .hero-area {
        text-align: center;
    }

    .hero-area h1 {
        line-height: 1.2;
    }

    .single-features-item.dfx.aic {
        display: inline-block;
        text-align: center;
    }

    .single-features-item.dfx.aic .features-icon,
    .form-area input[type="email"] {
        width: 100%;
        margin-bottom: 25px;
    }

    .form-area input[type="email"] {
        width: 90%;
    }

    .single-features-item.dfx.aic .features-content {
        width: 100%;
    }

    .single-counter-box {
        margin-bottom: 40px;
    }

    .pd-80,
    .features-area,
    .testimonial-area {
        padding: 50px 0;
    }

    .pd-100 {
        padding: 70px 0;
    }

    .rectangle-img:after {
        left: 10px;
    }

    .list li {
        font-size: 14px;
    }

    .list li:before {
        font-size: 16px;
    }

    .boxed-btn {
        margin-bottom: 25px;
    }

    .boxed-btn.right-btn {
        margin-left: 0;
    }

    .t-title,
    .nav-bar,
    .tc,
    .footer-btn,
    .copyright-section {
        text-align: center;
    }

    .single-c-item {
        margin: 0;
    }

    .t-title {
        margin-bottom: 20px;
    }

    .form-area button.button {
        position: relative;
        text-align: center;
        right: auto;
        border-radius: 5px;
    }

    .form-area button.button:after {
        border-radius: 5px;
    }

    .c-border-bg {
        padding-bottom: 0;
    }

    .tc {
        margin-bottom: 30px;
    }

    .boxed-btn.right-btn {
        margin-bottom: 0;
    }

    .gallery-slider .slide-item {
        border-radius: 5px;
        -webkit-box-shadow: 0px 0px 0px 0px #ffffff, 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
        box-shadow: 0px 0px 0px 0px #ffffff, 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
        margin: 10px 0;
    }

    .gallery-slider .swiper-slide-active .slide-item {
        -webkit-box-shadow: 0px 0px 0px 4px #ffffff, 0px 0px 0px 0px rgba(0, 0, 0, 0.1);
        box-shadow: 0px 0px 0px 4px #ffffff, 0px 0px 0px 0px rgba(0, 0, 0, 0.1);
    }

    .copyright {
        padding-top: 0;
    }

    .waves-block,
    .features-image:after {
        display: none;
    }

    .features-image {
        margin-bottom: 40px;
    }

    .c-border-bg:after {
        display: none;
    }

    .rectangle-img {
        margin-bottom: 40px;
    }

    /*** About Us ***/
    .header-a-link {
        float: left;
        margin-top: 20px;
    }

    .header-top-area {
        padding: 20px 0;
    }

    .header-a-left a {
        display: block;
    }

    .pe-image {
        margin-bottom: 30px;
    }

    .pe-contact {
        text-align: center;
    }

    .pe-text,
    .pe-btn {
        float: none !important;
    }

    .pe-btn {
        margin-top: 30px;
    }

    .about-vo {
        padding-top: 0;
        padding-bottom: 50px;
        overflow: hidden;
    }

    .cta-about {
        margin-top: 0;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .single-t-m {
        margin-bottom: 30px;
    }

    .t-m-as-left {
        left: -64px;
        top: 180px;
    }

    .t-m-as-bottom li a {
        margin-left: 10px;
    }

    .t-m-as-bottom {
        padding: 0 20px;
        bottom: 20px;
    }

    /*** Contact Us ***/
    .ct-map {
        margin-top: 40px;
    }

    .ct-map iframe {
        height: 300px;
    }

    .single-ct {
        margin-top: 30px;
    }

    .m-t-100 {
        margin-top: 0;
    }

    /*** Blog ***/
    .breadcrumb-left,
    .breadcrumb-right {
        text-align: center;
        padding: 20px 0;
    }

    .breadcrumb-right {
        padding-top: 0;
    }

    .breadcrumb-area {
        padding: 120px 0 60px;
    }

    .blog-content.dfx {
        display: inline-block;
        padding: 30px 20px 20px;
    }

    .auhtor-blog,
    .content-blog {
        width: 100%;
    }

    .auhtor-blog p span {
        display: inline-block;
        margin-right: 10px;
    }

    .auhtor-blog p {
        margin-bottom: 20px;
    }

    .auhtor-blog img {
        width: 60px;
    }

    .content-blog h3 a {
        font-size: 20px;
    }

    .post-pagination li a {
        font-size: 13px;
        padding: 1px 9px;
        margin: 0 2px;
    }

    .post-pagination {
        margin: 30px 0;
    }

    .widgets {
        padding: 20px;
    }

    .header-btn {
        display: none;
    }

    /*** Single Blog ***/
    .single-post-content {
        padding: 20px;
    }

    .single-post-content p {
        margin-bottom: 25px;
    }

    .single-post-content blockquote {
        padding: 20px;
        font-size: 15px;
    }

    .post-tag a {
        font-size: 12px;
    }

    .post-tag strong,
    .post-share strong {
        font-size: 15px;
    }

    .post-share li a {
        font-size: 15px;
    }

    .about-author {
        padding: 20px;
        display: block;
        text-align: center;
    }

    .about-author-img {
        width: 30%;
        margin: 0 auto 25px;
    }

    .about-author-text {
        width: 100%;
    }

    .about-author-text h4 {
        font-size: 16px;
    }

    .about-author-text h4 span {
        font-size: 14px;
    }

    .comment-list {
        padding: 20px;
        margin-bottom: 30px;
    }

    .comment-author-img {
        margin-right: 15px;
    }

    li.ml-65 {
        margin-left: 0;
    }

    .post-form {
        margin-top: 35px;
    }

    /*** 404 Page CSS ***/
    .four-area h1 {
        font-size: 100px;
    }

    .four-area {
        padding-top: 60px;
    }

    .four-area h2 {
        margin-bottom: 30px;
    }

    .four-page-img {
        margin-top: 30px;
    }
}


/* Wide Mobile Layout: 480px. */

@media only screen and (min-width: 480px) and (max-width: 767px) {

    /*** Home Page 1 ***/
    .hero-img:after,
    .rectangle-img:after {
        width: 400px;
        height: 400px;
        right: 20px;
        top: 22%;
    }

    .single-features-item.dfx.aic {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        text-align: left;
    }

    .single-features-item.dfx.aic .features-icon {
        width: 20%;
    }

    .single-features-item.dfx.aic .features-content {
        width: 80%;
    }

    a.boxed-btn {
        margin-bottom: 0;
    }

    .single-c-item {
        margin: 20px;
    }

    .boxed-btn.right-btn {
        margin-left: 2%;
    }

    .gallery-slider .slide-item {
        margin: 20px 0;
        border-radius: 20px;
    }

    .gallery-slider .swiper-slide-active .slide-item {
        -webkit-box-shadow: 0px 0px 0px 10px #ffffff, 0px 0px 30px 0px rgba(0, 0, 0, 0.2);
        box-shadow: 0px 0px 0px 10px #ffffff, 0px 0px 30px 0px rgba(0, 0, 0, 0.2);
    }

    .copyright-section {
        text-align: center;
        margin-top: 0;
    }

    /*** About Us ***/
    .single-t-m img {
        width: 100%;
    }

    .t-m-as-left {
        top: 65%;
    }

    .t-m-as-bottom {
        padding: 0 40px;
    }

    /*** Blog ***/
    .ds-content,
    .ds-right .button {
        display: inline-block;
    }

    /*** Blog ***/
    .widgets {
        padding: 40px;
    }

    .header-btn {
        display: none;
    }

    /*** Single Blog ***/
    .blog-content.dfx {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .auhtor-blog {
        width: 10%;
    }

    .content-blog {
        width: 90%;
    }
}