/* ------------------------------------------------
  Project:   Misto - Factory and Industrial HTML5 Template
  Build:     Bootstrap 4.1.1
  Author:    ThemeHt
------------------------------------------------ */

/* ------------------------
    Responsive Css
------------------------*/

@media (max-width: 1200px) {
    h1 {
        font-size: 50px;
        line-height: 56px;
    }

    h2 {
        font-size: 34px;
        line-height: 40px;
    }

    h3 {
        font-size: 28px;
        line-height: 38px;
    }

    h4 {
        font-size: 20px;
        line-height: 30px;
    }

    h5 {
        font-size: 17px;
        line-height: 24px;
    }

    h6 {
        font-size: 16px;
        line-height: 22px;
    }

    /*Padding*/
    .lg-pr-5 {
        padding-right: 50px !important;
    }

    /*Margin*/
    .lg-mt-3 {
        margin-top: 30px !important;
    }

    .lg-mt-5 {
        margin-top: 50px !important;
    }

    .lg-mt-7 {
        margin-top: 70px !important;
    }

    /*Header*/
    .logo img {
        height: 45px;
    }

    #header-wrap.fixed-header .logo img {
        height: 40px;
    }

    /*Feature Box*/
    .featured-item {
        padding: 30px 20px;
    }

    .featured-item.bottom-icon p {
        line-height: 24px;
    }

    /*Service*/
    .service-description h4 {
        font-size: 16px;
        font-weight: 600;
    }

    /*Counter*/
    .counter.style-3 {
        padding: 30px 10px 30px 70px;
    }

    .counter.style-3 label {
        font-size: 13px;
    }

    /*Accordion*/
    .accordion .card-header {
        padding: 15px 80px 15px 15px;
    }

    /*Blog*/
    .post .post-desc {
        padding: 20px;
    }

    .post-bottom {
        padding: 15px 20px;
    }

    /*Team*/
    .team-member .team-description {
        padding: 15px;
    }

    /*Sidebar*/
    .sidebar-links li a {
        font-size: 14px;
        padding: 15px 10px;
    }

    .sidebar-links li.active a, .sidebar-links li a:hover {
        padding-left: 15px;
    }

    /*Portfolio*/
    .portfolio-filter button {
        font-size: 14px;
        padding: 10px 25px;
    }

    .side-navbar .masonry.columns-3 .masonry-brick {
        width: 50%;
    }

    /*Contact*/
    .contact-main {
        padding: 20px;
    }

    /*Social Icons*/
    .social-icons li {
        margin: 0 4px 0 0;
    }

    .social-icons li a {
        height: 35px;
        line-height: 35px;
        width: 35px;
    }

    /*Footer*/
    footer .media-icon.style-2 li {
        min-height: 200px;
    }

    .footer-list li a {
        font-size: 13px;
    }

}
@media (min-width: 1550px) {
    .home-services {
        max-width: 162px;
        position: fixed;
        top: 29%;
        z-index: 999;
    }
}
@media (max-width: 992px) {
    .text-sm-center{
        text-align: center;
    }
    h1 {
        font-size: 50px;
        line-height: 60px;
    }

    h2 {
        font-size: 36px;
        line-height: 46px;
    }

    h3 {
        font-size: 24px;
        line-height: 30px;
    }

    h4 {
        font-size: 18px;
        line-height: 26px;
    }

    h5 {
        font-size: 16px;
        line-height: 24px;
    }

    h6 {
        font-size: 15px;
        line-height: 22px;
    }

    .lead {
        font-size: 14px;
        line-height: 26px;
    }

    /*Margin*/
    .md-mt-0 {
        margin-top: 0 !important;
    }

    .md-mt-1 {
        margin-top: 10px !important;
    }

    .md-mt-3 {
        margin-top: 30px !important;
    }

    .md-mt-5 {
        margin-top: 50px !important;
    }

    .md-mt-7 {
        margin-top: 70px !important;
    }

    .md-mb-3 {
        margin-bottom: 30px !important;
    }

    .md-mb-5 {
        margin-bottom: 50px !important;
    }

    .md-mb-7 {
        margin-bottom: 70px !important;
    }

    .md-px-2 {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .md-px-3 {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .md-py-3 {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .md-py-5 {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .md-py-15 {
        padding-top: 150px !important;
        padding-bottom: 150px !important;
    }

    .md-pt-8 {
        padding-top: 80px !important;
    }

    .md-text-left {
        text-align: left !important;
    }

    /*Header*/
    .logo img {
        height: auto;
    }

    .navbar {
        justify-content: flex-end;
        width: 100%;
        border-radius: 0 !important;
    }
    .navbar-nav .nav-link {
        color: #faf9f9;
        font-weight: normal;
    }
    .navbar-brand {
        left: 10px;
        margin-right: 0;
        position: absolute;
        top: 76px;
        padding: 0;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
    }

    .navbar-toggler {
        background: #ffffff;
        border-radius: 0;
        -webkit-box-shadow: 0 18px 42px 0 rgba(28, 30, 35, 0.15);
        -moz-box-shadow: 0 18px 42px 0 rgba(28, 30, 35, 0.15);
        box-shadow: 0 18px 42px 0 rgba(28, 30, 35, 0.15);
    }

    .navbar-toggler-icon {
        height: inherit;
        width: inherit;
    }

    .navbar-toggler-icon::before {
        color: #fff;
        content: "\e68f";
        font-family: "themify";
        font-size: 21px;
        font-style: normal;
        font-weight: normal;
        text-decoration: inherit;
    }

    .navbar-nav .nav-item {
        margin: 0;
    }

    .navbar-nav .nav-link {
        padding: 3px 10px !important;
        font-size: 16px;
    }

    .navbar-nav .nav-link:hover, .navbar-nav .active .nav-link,
    #header-wrap.fixed-header .navbar-nav .nav-link:hover, #header-wrap.fixed-header .navbar-nav .active .nav-link {
        background: #ffffff;
        color: #f9a305 !important;
    }

    .navbar-nav .nav-link .menu-label::before, .navbar-nav .nav-link .menu-label::after {
        display: none;
    }

    .navbar-nav.sm-collapsible .has-submenu {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-collapse {
        background: #177daf;
        max-height: 400px;
        overflow: auto;
        border: medium none;
        left: 0;
        padding: 0;
        position: absolute;
        top: 112px;
        width: 100%;
    }

    /*Side Image*/
    .side-image {
        display: none;
    }

    .img-side.img-right {
        left: auto;
        position: relative !important;
        right: 0;
    }

    .img-side.img-left {
        left: 0;
        position: relative !important;
        right: auto;
    }

    /*Counter*/
    .counter label {
        font-size: 13px;
    }

    .counter.style-3 {
        padding: 30px 20px 30px 80px;
    }

    /*Featured*/
    .feuture-bottom .row:nth-child(2) [class*='col-']:nth-child(2n+2) .featured-item.bottom-icon {
        border-right: 1px solid #f9f9f9;
    }

    .feuture-bottom .row:nth-child(2) [class*='col-']:nth-child(-n+2) .featured-item.bottom-icon {
        border-bottom: none;
    }

    .feuture-main [class*='col-']:nth-child(2n+2) .featured-item::before {
        border-right: none;
    }

    .feuture-main [class*='col-']:nth-child(3) .featured-item::before {
        border-right: 1px dashed #dddddd;
    }

    .feuture-main [class*='col-']:nth-child(4) .featured-item::after {
        border-bottom: 1px dashed #dddddd;
    }

    /*Masonry*/
    .grid.columns-3 .grid-item, .masonry.columns-3 .masonry-brick {
        width: 50%;
    }

    .grid.columns-4 .grid-item, .masonry.columns-4 .masonry-brick {
        width: 33.333333%;
    }

    /*Footer*/
    .media-icon.style-2 li {
        width: 32.9%;
    }

    .copyright span {
        font-size: 12px;
    }

    .footer-2 .media-icon.style-2 li {
        min-height: 140px;
    }

    /*Contact*/
    .contact-2 .form-info {
        left: inherit;
        position: inherit;
        top: inherit;
        transform: inherit;
        width: 100%;
    }

    .contact-2 .contact-main {
        padding-left: 20px;
    }

    .contact-box {
        position: inherit;
        top: inherit;
        transform: inherit;
        padding-bottom: 30px !important;
    }

    .contact-3 .iframe-h-2 {
        height: 300px !important;
    }

    .contact-3 .form-info {
        padding: 20px !important
    }

    .sidebar {
        margin-top: 50px;
    }

    .testimonial.style-3 .testimonial-avatar {
        width: 30%;
    }

}

@media (max-width: 767px) {
    .d-c-img.ser-img {
        margin-bottom: 21px;
    }
    .widget form .pr-0, .px-0 {
        padding-right: 15px!important;
    }
    .widget form button{
        margin: auto;
        display: table;
    margin-top: 14px !important;
    }
    button.navbar-toggler {
        position: absolute;
        top: 17px;
        background-color: #0678a5;
        padding: 5px 7px 2px 6px;
    }
    .howWeWork .intro {
        padding: 0 13px;
        text-align: center;
    }
    .howWeWork .sectionTitle .title::after, .howWeWork .sectionTitle .title::before{
        content: none;

    }
    .sl-slide, .sl-slides-wrapper, .sl-slide-inner {
        height: 235px;
        margin-top: 25px;
    }
    .fullscreen-banner {
        position: relative;
        height: 300px !important;
        margin-top: 73px;
    }
    .social-icons ul {
        position: absolute;
        right: 0;
        top: 72px;
    }
    .navbar-nav.nav-color .nav-link {
        color:#fff;
        padding: 4px 20px !important;
    }
    .navbar-nav .nav-link:hover, .navbar-nav .active .nav-link{
        padding: 5px 20px  !important;
    }
    .row.text-center.display-block{
        display: block;
    }
    .home-services {
        max-width: 100%;
        position: relative;
        right: 0;
        top: 0;
        z-index: 9;
        display: none;
    }
    .text-sm-center{
        text-align: center;
    }
    h1 {
        font-size: 36px;
        line-height: 42px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 22px;
        line-height: 30px;
    }

    .hidden-sm {
        display: none !important;
    }

    .section-title h2 {
        font-size: 32px;
        line-height: 32px;
    }

    .section-title p {
        font-size: 16px;
    }

    .page-title h1 {
        font-size: 30px;
        line-height: 30px;
    }

    /*Margin*/
    .sm-mt-0 {
        margin-top: 0 !important;
    }

    .sm-mt-3 {
        margin-top: 30px !important;
    }

    .sm-mt-5 {
        margin-top: 50px !important;
    }

    .sm-mb-3 {
        margin-bottom: 30px !important;
    }

    .sm-mb-5 {
        margin-bottom: 50px !important;
    }

    /*Padding*/
    .sm-pt-0 {
        padding-top: 0 !important;
    }

    .sm-pt-5 {
        padding-top: 50px !important;
    }

    .sm-pt-8 {
        padding-top: 80px !important;
    }

    .sm-pt-10 {
        padding-top: 100px !important;
    }

    .sm-pb-5 {
        padding-bottom: 50px !important;
    }

    .sm-pb-8 {
        padding-bottom: 80px !important;
    }

    .sm-pb-10 {
        padding-bottom: 100px !important;
    }

    .sm-px-3 {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .sm-py-3 {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .sm-py-8 {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }

    /*Header*/
    .topbar-link {
        display: block;
    }
    .list-inline-item:nth-child(1), .list-inline-item:nth-child(3), .list-inline-item:nth-child(4) {
        display: none;
      }
      .list-inline-item:not(:last-child) {
        margin-right: 0;
        float: left;
        text-align: center;
        width: 100%;
        margin-bottom: 16px;
        margin-top: 10px;
    }
    .header-2 .top-bar {
        display: none;
    }

    .header-2 #header-wrap .logo {
        display: block;
    }

    /*Banner*/
    .banner-text {
        padding-left: 0;
    }

    .banner-text img {
        position: inherit;
        margin-bottom: 30px;
    }

    .fullscreen-banner .align-center {
        padding-top: 0 !important;
    }

    /*Featured*/
    .feuture-main .featured-item::before {
        display: none;
    }

    .feuture-main [class*="col-"]:nth-child(5) .featured-item::after {
        border-bottom: 1px dashed #dddddd;
    }

    .feuture-bottom .featured-item.bottom-icon {
        border-right: none;
    }

    .feuture-bottom .row:nth-child(2) [class*='col-']:last-child .featured-item.bottom-icon {
        border-top: none;
    }

    /*Accordion*/
    .accordion .card-header {
        padding: 15px 80px 15px 20px;
    }

    .accordion .card-body {
        padding: 20px;
    }

    /*Counter*/
    .counter {
        margin: 15px 0 !important;
    }

    .counter.style-2 {
        margin-bottom: 40px !important;
    }

    /*Tab*/
    .tab.style-3 .nav-tabs .nav-link {
        padding: 8px 20px;
    }

    .tab.style-3 .nav-tabs a i {
        font-size: 30px;
        line-height: 30px;
    }

    /*Portfolio*/
    .grid.columns-2 .grid-item, .masonry.columns-2 .masonry-brick {
        width: 100%;
    }

    .grid.columns-4 .grid-item, .masonry.columns-4 .masonry-brick {
        width: 50%;
    }

    .portfolio-filter button {
        font-size: 13px;
        padding: 5px 7px;
    }

    .portfolio-filter button + button {
        margin-left: 10px;
    }

    /*Countdown*/
    .countdown {
        display: table;
    }

    .countdown > li {
        display: table-cell;
        vertical-align: middle;
        width: auto;
    }

    .countdown > li span {
        font-size: 60px;
        line-height: 50px;
    }

    .iframe-h {
        height: 300px !important;
    }

    .html5-video video {
        width: auto;
    }

    /*Footer*/
    .contact-media {
        position: inherit;
        transform: inherit;
        margin-top: -159px;
    }

    .media-icon.style-2 li {
        width: 100%;
        border-right: none;
    }

    .copyright span {
        font-size: 13px;
    }

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

    footer .media-icon.style-2 li {
        min-height: inherit;
        padding: 30px;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
    }

    footer .media-icon.style-2 li:last-child {
        border-bottom: none;
    }

    .footer-2 .media-icon.style-2 li {
        min-height: inherit;
        border: none;
    }

    .media-holder .media-body h6 {
        font-size: 18px;
    }
    #result blockquote {
        position: relative;
        background: #fff;
        padding: 20px;
        border: 0;
        border-radius: 5px;

}
#result {
    margin: 1em auto;
    padding: 20px;

    height: auto;
    width: 350px;

    position: relative;
}
#result blockquote p {
    line-height: 1.5em;
    text-align: left;
    font-style: italic;
    font-size: 1em;
    font-weight: 600;
    text-indent: 100px;
    position: relative;
}
}

@media (max-width: 576px) {
    .text-sm-center{
        text-align: center;
    }
    .col-xx-12 {
        width: 100% !important;
    }

    h1 {
        font-size: 28px;
        line-height: 36px;
    }

    h2 {
        font-size: 26px;
        line-height: 34px;
        margin-bottom: 10px;
    }

    h3 {
        font-size: 20px;
        line-height: 28px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .page-title h1 {
        font-size: 24px;
    }

    /*Margin*/
    .xs-mt-0 {
    }

    .xs-mt-3 {
        margin-top: 30px !important;
    }

    .xs-mt-5 {
        margin-top: 50px !important;
    }

    .xs-mb-3 {
        margin-bottom: 30px !important;
    }

    .xs-mb-5 {
        margin-bottom: 50px !important;
    }

    /*Padding*/
    .xs-pt-5 {
        padding-top: 50px !important;
    }

    .xs-pb-5 {
        padding-bottom: 50px !important;
    }

    .xs-px-1 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .xs-px-2 {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .xs-px-3 {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .xs-py-2 {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .xs-py-10 {
        padding-top: 100px !important;
        padding-bottom: 100px !important;
    }

    .xs-text-center {
        text-align: center;
    }

    .top-bar {
        display: block
    }

    /*Banner*/
    .fullscreen-banner p br {
        display: none;
    }

    .sl-slide h1 {
        letter-spacing: 6px;
    }

    .sl-slide h5 {
        font-size: 15px;
    }

    .fullscreen-banner .nav-dots {
        display: block;
    }

    .fullscreen-banner .nav-arrows {
        display: none;
    }

    .slider-2 .nav-dots {
        display: block;
    }

    .page-title {
        padding-top: 180px;
    }

    .page-breadcrumb {
        min-width: 260px;
    }

    .breadcrumb {
        padding: 10px;
        font-size: 13px;
        line-height: 26px;
    }

    /*Button*/
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .btn + .btn {
        margin-left: 5px;
    }

    /*Masonry*/
    .portfolio-filter button {
        width: 100%;
        margin-bottom: 5px;
        font-size: 14px;
        padding: 10px 7px;
    }

    .portfolio-filter button + button {
        margin-left: 0;
    }

    .grid.columns-3 .grid-item, .masonry.columns-3 .masonry-brick {
        width: 100%;
    }

    .grid.columns-4 .grid-item, .masonry.columns-4 .masonry-brick {
        width: 100%;
    }

    /*Tab*/
    .tab .nav-tabs .nav-link {
        padding: 10px 20px;
        width: 100%;
    }

    .tab .tab-content {
        padding: 20px;
    }

    /*Blog*/
    .blog-details {
        padding: 20px;
    }

    blockquote {
        line-height: 25px;
        margin-left: 10px;
        padding: 20px;
    }

    .media-holder .media {
        display: block;
    }

    .media-holder .media.inner {
        padding: 20px;
    }

    .media-body {
        margin-top: 15px;
    }

    .media-holder .media-body h6 {
        font-size: 16px;
    }

    .comment-date {
        display: block;
        margin-left: 0;
        margin-top: 8px;
    }

    .reply {
        margin-top: 20px;
        position: inherit;
        right: inherit;
        top: inherit;
    }

    /*Countdown*/
    .countdown > li {
        padding: 0 10px;
    }

    .countdown > li span {
        font-size: 30px;
        line-height: 30px;
    }

    .countdown > li p {
        font-size: 13px;
        line-height: 24px;
    }

    /*Testimonial*/
    .testimonial .testimonial-avatar {
        display: block;
        padding-right: 0;
        width: 100%;
        margin-bottom: 30px;
    }

    .testimonial-content {
        font-size: 15px;
        line-height: 25px
    }

    .testimonial.style-3 .testimonial-avatar {
        width: 100%;
    }

    .owl-carousel.owl-theme .owl-dots .owl-dot span {
        margin: 0 4px
    }

    .contact-form {
        width: 100%;
        padding: 60px 20px 20px;
    }

    .contact-form h2 {
        margin-bottom: 15px !important;
    }

    .contact-form .form-group {
        margin-bottom: 10px;
    }

    .accordion .card-header a {
        font-size: 14px;
    }

}
