@media (min-width: 1401px) and (max-width: 1600px){

.contact_form {
  right: 16% !important;
 
}



#contact .contact-form-container {
  float: left;
  margin-left: 10%;
}

}


@media (min-width: 1200px) and (max-width: 1400px){
.contact_form {
  right: 12% !important;
}

#contact .contact-form-container {
  float: left;
  margin-left: 8%;
}
}

@media (min-width: 1170px) and (max-width: 1199px){
    #contact .contact-form-container {
   /* float: right;
    width: 430px;*/
}

.contact_form{
        
        right: 8% !important;
    }

    #contact .contact-form-container {
    float: left;
    margin-left: 0%;
}
}

@media (min-width: 992px) and (max-width: 1170px) {
    .contact_form{
        transition: 0.3s ease left;
        right: 5% !important;
    }
.contact_form_active {
  opacity: 1 !important;
  right: 25px !important;
  top: 26% !important;
  z-index: 100 !important;
}
}
@media (min-width: 960px) and (max-width: 1170px) {
    .navbar-default .nav li a {
        padding: 15px;
    }
    header .header-dashboard .dashboard {
        max-width: 100%;
    }
    header .header-dashboard {
        background: none;
            max-width: 50%;
    }
    header .intro-text {padding-top: 120px;}
  
    footer .container {
        width: 100%;
        padding: 0 30px;
    }
    #subscribe .subscribe-form {
        float: none;
        width: 570px;
        margin: auto;
    }
    .contact-map-container {
        height: 250px;
        margin-left: 0;
        position: relative;
        top: -100px;
        width: 100%;
    }
    #features-tab2 img {
        margin-right: 0;
        max-width: 350px;
    }
    #contact .form-group {
        width: 100%;
    }
    #contact .contact-form-container {
        float: right;
        width: 100%;
    }

    #services .col-md-3.last {
        padding-left: 0;
    }
}

@media (max-width: 991px){
.contact_form_div i {
    display: none;
}

.contact_form {
  bottom: 0;
  margin-top: 5px;
  min-width: 100%;
  opacity: 1;
  padding: 22px 35px;
  position: relative;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1;
  float: left;
  left: 0;
}

}

@media (max-width: 960px) {

    .carousel-caption h3 {

  font-size: 30px;
  padding: 5px 20px;

}

#header, header {
  background-color: #fff;
  color: #fff;
  margin-top: 65px;
}

    header .header-dashboard .dashboard {
           max-width: 50%;
            margin: 50px;
                margin-bottom: 0;
    }
    #particles-js {
        opacity: 0;
        visibility: hidden;
    }
    header .header-dashboard {
        background: none;
            width: 100%;
    text-align: center;
    }
    html {
        width: 100%;
        overflow-x: hidden;
    }
    .navbar-fixed-top {
        padding: 8px 20px;
        margin-bottom: 0;
    }
    .navbar-fixed-top .page-scroll {
        margin: 0;
    }
    .logo img {
        height: 34px;
        margin-top: 8px;
    }
    header .intro-text .intro-lead-in {
        font-size: 32px;
        letter-spacing: -1px;
        line-height: 35px;
            width: 100%;
    text-align: center;
    margin-bottom: 30px;
    }
    header .intro-text {
        padding: 65px 20px 30px 20px;
        width: 100%;
    }
    .header-buttons {
            margin: 20px auto 20px auto;
    width: 100%;
    float: left;
    text-align: center;
    }
    header .intro-text .intro-heading {
    font-size: 15px;
    line-height: 21px;
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    display: block;
    float: left;
    text-align: center;
    }

.header-buttons .secondary-button, .header-buttons .primary-button {
    float: none;
}

    section h2.section-heading {
        margin-top: 0;
        margin-bottom: 15px;
        font-size: 28px;
        letter-spacing: -1px;
        line-height: 28px;
    }
    section {
        padding: 70px 0 50px 0;
    }
    section .section-subheading {
        margin-bottom: 55px;
        margin-top: 15px;
        font-size: 15px;
        line-height: 21px;
    }
    p {
        color: #666;
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 20px;
    }
    #services .nc-icon-outline {
        margin-bottom: 16px;
        font-size: 40px;
        margin-top: 0;
    }
    .service-heading {
        font-size: 18px;
        margin-bottom: 18px;
    }
    #services .col-md-3.last,
    #services .col-md-3 {
        padding: 0 30px;
        margin-bottom: 30px;
    }
    .video-container a {
        width: 80%;
    }
    .video-container a img {
        width: 100%;
        max-width: 630px;
    }

    section h2.section-heading {
        text-align: center;
    }

    .video-modal .modal-content {
        width: 100%;
        margin: 0;
        top: 50%;
        left: 0;
        margin-top: -150px;
        height: 300px;
        max-height: 300px;
    }
    .video-modal iframe {
        width: 90%;
        height: 300px;
    }

    .contact-map-container {
        position: relative;
        top: 0;
        height: 250px;
        width: 100%;
        margin-left: 0;
    }
    #contact {
        padding-top: 0;
    }
    #contact .contact-form-container {
        width: 100%;
        margin-top: 60px;
        padding: 0 30px;
        margin-left: 0;
    }
    #contact .section-subheading {
        margin-top: 30px;
        line-height: 21px;
        text-align: center;
        margin: auto;
        width: 80%;
        margin-bottom: 50px;
    }
    #contactForm {
        width: 80%;
        margin: auto;
    }
    #contact .form-group {
        width: 100%;
        margin-bottom: 20px;
    }
    .btn-xl,
    #contact .form-group input.form-control {
        height: 40px;
    }
    .lower-footer .pull-left {
        width: 100%;
    }
    .footer-nav,
    .lower-footer .pull-right {
        display: none;
    }
    .lower-footer span,
    .lower-footer a {
        width: 100%;
        display: block;
    }
    .upper-footer .logo img {
        margin: auto;
    }
    .upper-footer .pull-left {
        width: 100%;
        margin-bottom: 40px;
    }
    .upper-footer .pull-left p {
        text-align: center;
        width: 80%;
        margin: 30px auto 0;
    }
    .upper-footer .pull-right {
        width: 100%;
    }
    .footer-secondary-nav {
        max-width: 100%;
        display: block;
        padding: 0;
        width: 100%;
    }
    .lower-footer {
        margin-top: 30px;
    }
    .footer-secondary-nav a {
        margin: auto;
        display: block;
        float: none;
    }
    .footer-secondary-nav li {
        margin-bottom: 20px;
    }
    @media (min-width: 780px) and (max-width: 960px) {
        .team-member {
            margin: 0;
            width: 100%;
        }
        .team-wrapper {
            margin: 0;
            width: 33.33333%;
            float: left;
        }
    }