/* The Modal (background) */
#msgModal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 99;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: #000;
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    /* Modal Content */
    /* Add Animation */
    /* The Close Button */
}

#msgModal .msgmodal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    border-radius: 4px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

@media (min-width: 768px) {
    #msgModal .msgmodal-content {
        width: 500px;
    }
}

@media (max-width: 767px) {
    #msgModal .msgmodal-content {
        max-width: 100%;
    }
}

@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
}

#msgModal .close {
    color: white;
    float: right;
    font-size: 36px;
    font-weight: bold;
}

#msgModal h5 {
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
}

#msgModal .close:focus, #msgModal .close:hover {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

#msgModal .msgmodal-header {
    padding: 2px 10px 2px 16px;
    background-color: #116bb3;
    line-height: 36px;
    color: white;
}

#msgModal .msgmodal-body {
    padding: 15px 16px 30px;
    line-height: 20px;
    text-align: center;
}

#msgModal .msgmodal-body p, #msgModal .msgmodal-body a {
    font-size: 30px !important;
    line-height: 40px !important;
}

#msgModal .msgmodal-body .bt-modals {
    background-color: #C3002F;
    margin-right: 10px;
    font-size: 20px;
    color: #fff;
    padding: 10px 20px;
    text-transform: uppercase;
    border-radius: 3px;
    display: inline-block;
    margin-top: 20px;
}

#msgModal .msgmodal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

#msgModal svg {
    width: 100px;
    display: block;
    margin: 40px auto;
    float: none;
}

#msgModal .path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 0;
}

#msgModal .path.circle {
    -webkit-animation: dash 0.9s ease-in-out;
    animation: dash 0.9s ease-in-out;
}

#msgModal .path.line {
    stroke-dashoffset: 1000;
    -webkit-animation: dash 0.9s 0.35s ease-in-out forwards;
    animation: dash 0.9s 0.35s ease-in-out forwards;
}

#msgModal .path.check {
    stroke-dashoffset: -100;
    -webkit-animation: dash-check 0.9s 0.35s ease-in-out forwards;
    animation: dash-check 0.9s 0.35s ease-in-out forwards;
}

.alert {
    padding: 10px;
    background-color: #f44336;
    color: white;
    display: block;
    opacity: 1;
    transition: opacity 0.6s;
    margin-bottom: 10px;
    margin-top: 10px;
    position: fixed;
    z-index: 999999;
    width: 300px;
    top: 0;
    right: 10px;
    border-radius: 4px;
    -ms-transform: translateY(-20px) scaleY(0.9);
    -webkit-transform: translateY(-20px) scaleY(0.9);
    transform: translateY(-20px) scaleY(0.9);
    -webkit-transition: transform cubic-bezier(0.35, 1.65, 0.65, 1.1) 250ms, opacity ease 250ms;
    transition: transform cubic-bezier(0.35, 1.65, 0.65, 1.1) 250ms, opacity ease 250ms;
}

.alert.success {
    background-color: #4caf50;
}

.alert.info {
    background-color: #2196f3;
}

.alert.warning {
    background-color: #ff9800;
}

.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.closebtn:hover {
    color: black;
}

#dialogoverlay {
    display: none;
    opacity: 0.8;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    z-index: 9999;
}

#dialogbox {
    display: none;
    position: fixed;
    border: 5px solid #ccc;
    background-color: #fff;
    border-radius: 5px;
    width: 320px;
    z-index: 9999;
    font-size: 16px;
}

#dialogbox > div > #dialogboxhead {
    background: #116bb3;
    font-size: 19px;
    padding: 10px;
    color: #fff;
}

#dialogbox > div > #dialogboxbody {
    padding: 25px 10px;
}

#dialogbox > div > #dialogboxfoot {
    padding: 10px;
    text-align: center;
}

#dialogbox > div > #dialogboxfoot > button {
    color: #fff;
    background-color: #116bb3;
    border-radius: 3px;
    padding: 5px 25px;
}

.preloader {
    background-color: #fff;
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 1;
    margin-top: 0;
    top: 0;
    left: 0;
    bottom: 0;
    overflow: hidden !important;
    right: 0;
    z-index: 999999;
    text-align: center;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #2196f3;
    width: 120px;
    margin: 200px auto;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    z-index: 100;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        -ms-transform: translateY(20px);
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        -webkit-transform: translateX(40px);
        -ms-transform: translateX(40px);
        transform: translateX(40px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
}

.fadeInRight {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
}

@-webkit-keyframes dash {
    0% {
        stroke-dashoffset: 1000;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 1000;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@-webkit-keyframes dash-check {
    0% {
        stroke-dashoffset: -100;
    }
    100% {
        stroke-dashoffset: 900;
    }
}

@keyframes dash-check {
    0% {
        stroke-dashoffset: -100;
    }
    100% {
        stroke-dashoffset: 900;
    }
}

@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;
    }

    #features-tab1 img {
        max-width: 500px;
        margin-top: 100px;
    }

    footer .container {
        width: 100%;
        padding: 0 30px;
    }

    #subscribe .subscribe-form {
        float: none;
        width: 570px;
        margin: auto;
    }

    .contact-map-container {
        display: none;
    }

    #features-tab2 img {
        margin-right: 0;
        max-width: 350px;
    }

    #contact .form-group {
        width: 100%;
    }

    #contact .contact-form-container {
        float: right;
        width: 100%;
    }

    #subscribe h3 {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .team-content h5 {
        font-size: 18px;
    }

    .team-member img {
        max-width: 100%;
    }

    .team-member {
        margin: 0;
        width: 100%;
    }

    .team-wrapper {
        margin: 0;
        width: 33.33333%;
        float: left;
    }

    #features-tab3 img {
        margin-top: 0;
        margin-right: -30px;
        max-width: 300px;
    }

    .pricing {
        margin-bottom: 30px;
    }

    .features-tabs .tab {
        width: 33.33%;
        padding: 0;
        float: left;
    }

    .features-tabs .tabs {
        width: 100%;
    }

    #services .col-md-3.last {
        padding-left: 0;
    }
}

@media (max-width: 960px) {
    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 0;
    }

    .navbar-fixed-top .page-scroll {
        margin: 0;
    }

    .logo img {
        height: 45px;
        margin-top: 0;
    }

    header .intro-text .intro-lead-in {
        font-size: 32px;
        letter-spacing: -1px;
        line-height: 35px;
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    header .intro-text {
        padding: 65px 20px 0 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: 5px;
        font-size: 25px;
        letter-spacing: -1px;
        line-height: 28px;
        text-transform: uppercase;
    }

    section {
        padding: 30px 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: 0;
    }

    #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;
    }

    .play-video {
        margin-top: -40px;
    }

    .features-tabs .tabs {
        width: 100%;
        height: auto;
        margin: 15px auto 20px auto;
    }

    .features-tabs .tab {
        display: block;
        width: 100%;
    }

    #features .section-subheading {
        margin: auto;
        margin-bottom: 50px;
        margin-top: 10px;
        float: none;
        line-height: 21px;
        max-width: 80%;
        text-align: center;
    }

    section h2.section-heading {
        text-align: center;
    }

    #features-tabs {
        text-align: center;
    }

    #features-tabs.features-tabs img {
        margin: 40px auto;
        max-width: 100%;
        position: relative;
        top: auto;
        right: auto;
        display: block;
        /*max-height: 400px;*/
    }

    .features-tabs .tab a.active .triangle {
        /*display: none;*/
    }

    .features-tabs li {
        background: none;
        padding-left: 0;
        /*list-style: none;*/
        margin: 0;
        text-align: left;
        color: #000;
        font-size: 14px;
        font-weight: 400;
        line-height: 25px;
    }

    .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;
    }

    .chart-content {
        margin-top: -20px;
        margin-bottom: 50px;
    }

    .chart-content h4 {
        font-size: 15px;
    }

    #pricing .col-md-4 {
        width: 90%;
        margin: 0 auto 30px;
    }

    .pricing .pricing-option {
        font-size: 14px;
    }

    .pricing .pricing-row {
        padding-top: 15px;
    }

    .pricing .button-container {
        padding: 32px 0 35px 0;
    }

    .pricing .col-lg-3 {
        padding: 35px 0 15px 0;
    }

    .pricing .pricing-price {
        font-size: 40px;
    }

    .pricing .pricing-time {
        font-size: 20px;
    }

    .pricing .currency {
        font-size: 23px;
        position: relative;
        top: -10px;
    }

    .owl-carousel {
        width: 80%;
        margin: auto;
    }

    .tt-content h3 {
        line-height: 25px;
        font-size: 18px;
    }

    .tt-quote {
        display: none;
    }

    #testimonials .owl-controls span {
        width: 50px;
        height: 50px;
    }

    #testimonials {
        padding-bottom: 18px;
    }

    .chart {
        display: none;
    }

    .tt-image {
        border: none
    }

    .tt-image img {
        width: 50px;
        height: 50px;
    }

    #solutions {
        padding-bottom: 20px;
    }

    .team-member {
        width: 80%;
        margin: auto;
        margin-bottom: 40px;
    }

    .team-member img {
        width: 100%;
    }

    .team-content p {
        margin-bottom: 0;
        font-size: 15px;
        line-height: 21px;
    }

    .owl-theme .owl-controls .owl-buttons div.owl-prev {
        margin-left: -20px
    }

    .owl-theme .owl-controls .owl-buttons div.owl-next {
        margin-right: -20px
    }

    #subscribe h3 {
        font-size: 28px;
        line-height: 28px;
        width: 100%;
        text-align: center;
        margin-bottom: 40px;
    }

    #subscribe .subscribe-form {
        float: right;
        width: 100%;
    }

    #subscribe .subscribe-form input {
        width: 100%;
        height: 40px;
        line-height: 40px;
        margin-bottom: 20px;
    }

    #subscribe .subscribe-form button {
        width: 100%;
        height: 40px;
    }

    .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;
    }

    #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;
        }
    }