/*---------------------

Table of contents

1. Loader
2. Helper classes 
3. Buttons
4. Navbar
5. Home
6. Results
7. Contact
8. Footer
9. Responsive

---------------------*/


body {
    font-family: 'Open Sans', sans-serif;
    color: #585858;
    font-size: 14px;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none !important;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: 600;
}


h1{
    font-size: 36px;
    margin-top: 20px;
    margin-bottom: 10px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 10px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 14px;
}

h6 {
    font-size: 12px;
}


/* === 1.Loader === */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    z-index: 9999999;
}

#status {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -20px;
}

.spinner {
    margin: 0 auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 5px solid rgba(56, 83, 233, 0.2);
    border-right: 5px solid rgba(56, 83, 233, 0.2);
    border-bottom: 5px solid rgba(56, 83, 233, 0.2);
    border-left: 5px solid #1da1f2;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

.spinner,
.spinner:after {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


/* ==== 2. Helper classes ==== */

.section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.title-box {
    padding-bottom: 30px;
}

.title-box i{
    font-size: 36px;
    color: #aaa;
}

.title-box p {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 10px;
}

.title-box h2 {
    font-weight: 700;
    margin-top: 10px;
}

.title-box h4 {
    width: 60%;
    line-height: 24px;
    margin: 10px auto;
    font-size: 16px;
}

.bg-lightgray {
    background-color: #fafafa;
}

.bg-dark {
    background-color: #222328 !important;
}

.text-custom {
    color: #1da1f2;
}

.text-warning {
    color: #ffbd4a;
}

.margin-t-20 {
    margin-top: 20px;
}

.margin-t-30 {
    margin-top: 30px;
}

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

.font-2 {
    font-style: italic;
    font-weight: 400;
    font-family: 'Crete Round', serif;
}

.vertical-content {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction: row;
    -webkit-flex-direction: row;
}


/* Background images css */

.bg-pattern {
    background: url("../images/bg-pattern.png");
}


/* ==== 3. Buttons ==== */

.btn {
    color: #ffffff !important;
    text-transform: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.03em;
    padding: 10px 30px;
    border-radius: 5px;
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    -ms-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

.btn:hover {
    box-shadow: 0px 3px 24px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 3px 24px 0px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 3px 24px 0px rgba(0, 0, 0, 0.3);
    -o-box-shadow: 0px 3px 24px 0px rgba(0, 0, 0, 0.3);
}

.btn-sm {
    padding: 7px 24px;
    font-size: 12px;
}

.btn-custom {
    background-color: #1da1f2;
}

.btn-custom:hover {
    background-color: #00acee;
}

.btn-link {
    color: #1da1f2 !important;
    box-shadow: none !important;
    padding: 0;
}

.input-group-btn{width:auto}

.input-group-btn>.btn{height:42px;border-radius:3px}

.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,
.input-group-btn:first-child>.btn:not(:first-child),
.input-group-btn:last-child>.btn,
.input-group-btn:last-child>.btn-group>.btn,
.input-group-btn:last-child>.dropdown-toggle{
    border-top-left-radius:0;
    border-bottom-left-radius:0
}


/*===== 4. Navbar Custom ======*/

.navbar-custom{
    padding: 15px 0px;
    width: 100%;
    border-radius: 0px;
    z-index: 999;
    margin-bottom: 0px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.sticky-wrapper {
    position: absolute;
    width: 100%;
}

.logo {
    font-weight: 500;
    font-size: 26px;
    color: #585858 !important;
}

.logo span {
    color: #1da1f2;
}

.navbar-custom .navbar-nav li a {
    color: #585858;
    font-size: 13px;
    background-color: transparent !important;
    padding: 7px 10px;
    margin: 0 5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-radius: 3px;
}

.navbar-custom .navbar-nav li a:hover,.navbar-custom .navbar-nav li a:focus,.navbar-custom .navbar-nav li a:active {
    color: #333;
}

.navbar-custom .navbar-nav li a.active {
    color: #ffffff !important;
    background-color: #1da1f2 !important;
}

.is-sticky .navbar-custom{
    margin-top: 0px;
    padding: 10px 0px;
    background-color: #ffffff;
    -moz-box-shadow: 0 10px 33px rgba(0,0,0,.1);
    -webkit-box-shadow: 0 10px 33px rgba(0,0,0,.1);
    box-shadow: 0 10px 33px rgba(0,0,0,.1);
}

.navbar-toggle {
    font-size: 24px;
    margin-top: 5px;
    margin-bottom: 0px;
}

.navbar-custom .btn-custom {
    margin-top: 8px;
    margin-left: 20px;
}

.nav .open>a, .nav .open>a:focus, .nav .open>a:hover {
    background-color: transparent;
    border-color: #337ab7;
}


/* Navbar white */

.navbar-header-white {
    background-color: #ffffff !important;
    padding: 15px 0px !important;
}

.navbar-header-white .logo {
    color: #222328 !important;
}

.navbar-header-white.navbar-custom .navbar-toggle {
    color: #222328;
}


/*===== 5.Home ======*/

.home-fullscreen {
    height: 100%;
    min-height: 400px;
}

.home-wrapper-alt{
    display: table-cell;
    vertical-align: middle;
}

.home-wrapper h1{
    line-height: 54px;
    margin-top: 0;
    font-weight: bold;
}

.home-wrapper h4 {
    line-height: 26px;
    margin-top: 30px;
    /*margin-bottom: 50px;*/
    font-size: 15px;
    font-weight: normal;
}

.full-screen {
    display: table;
    height: 100%;
    width: 100%;
}

.home-small {
    padding: 210px 0 160px 0;
}


/* Home intro */
.home-intro h2 {
    color: #fff;
    font-size: 67px;
    line-height: 61px;
    margin: 0 0 40px;
    font-weight: 600;
}

.home-intro p {
    color: #fff;
    font-size: 14px;
    line-height: 24px;
    margin: 0;
    padding-right: 25%;
}

.home-intro .intro-form {
    background: #fff;
    /*padding: 0 40px 40px;*/
    padding: 0 20px 20px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 2px 8px 15px #dfdede;
}

.home-intro .intro-form input,
.home-intro .intro-form input[type=file]{
    height: 42px;
    /*margin-bottom: 18px;*/
    box-shadow: none;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    width: 100%;
    padding: 15px 20px;
    color: #000;
    outline: none !important;
}

.home-intro .intro-form input:focus,
.home-intro .intro-form button:focus{
    border: 1px solid #1da1f2;
}

.home-intro .intro-form h5 {
    /*color: #fff;*/
    font-size: 26px;
    font-family: 'Open Sans', sans-serif;
    /*background: #1da1f2;*/
    padding: 25px 20px 25px;
    margin: 0 -40px 10px;
    font-weight: 500;
}

.home-intro .intro-form h5 span {
    display: block;
    text-transform: none;
    font-size: 14px;
    letter-spacing: 0;
    font-family: 'Open Sans', sans-serif;
    opacity: 0.5;
    margin-top: 6px;
}

.home-intro .intro-form p {
    color: #e5e5e5;
    padding: 17px 30px 0px;
    font-size: 12px;
    text-align: center;
    line-height: 18px;
    margin: 0px;
}

.mainCaptcha{
    font-family: 'Crete Round', serif;
    font-weight: normal;
    font-size: 18px;
}


/* === 6. Results === */

.success-box{
    text-align: center;
    padding: 30px;
    margin-top: 30px;
    border-radius: 10px;
    border: 2px solid;
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.07);
}

.success-header .plan-title{
    color: #28a745;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.plan-success {
    color: #28a745;
    text-align: justify;
    /*margin-top: 40px;*/
}

.error-box {
    text-align: center;
    padding: 30px;
    margin-top: 30px;
    border-radius: 10px;
    border: 2px solid;
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.07);
}

.error-header .plan-title{
    color: #dc3545;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* === 7. Contact === */

.form-control {
    box-shadow: none !important;
    border: 2px solid #dddddd;
    height: 44px;
}

.contact-form .form-control {
    margin-bottom: 25px;
}

.parsley-errors-list {
    padding-left: 0;
}

.parsley-errors-list li {
    display: none;
}

.parsley-error {
    border-color: #f00 !important;
}

.error_message {
    padding: 0;
    margin: 0 0 10px;
    color: #f00;
    font-weight: 500;
}

.contact-loader {
    float: left;
}

#success_page {
    text-align: center;
    margin-top: 50px;
}

#success_page h3 {
    color: #0dba26;
}

#success_page p {
    font-family: 'Crete Round', serif;
}

.contact-footer {
    padding-bottom: 70px;
}

.contact-footer-box {
    padding-top: 30px;
}

.contact-footer-box i {
    font-size: 32px;
    margin-bottom: 20px;
    display: block;
}

.contact-footer-box h5 {
    color: #989898;
    font-weight: normal;
}


/* === 8.Footer === */

.footer-alt .copy-rights{
    margin: 0;
    line-height: 60px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}


/*======= 9.Responsive ======*/

@media (min-width: 200px) and (max-width: 768px) {

    .navbar-custom {
        background-color: #fff !important;
        padding: 10px 0px;
    }

    .navbar-custom .container{
        width: 90%;
    }


}

@media (max-width: 767px) {

    .vertical-content {
        display: inherit !important;
    }

    .navbar-custom{
        margin-top: 0px;
        padding: 5px 0px !important;
        background-color: #ffffff;
        -moz-box-shadow: 0 10px 33px rgba(0,0,0,.1);
        -webkit-box-shadow: 0 10px 33px rgba(0,0,0,.1);
        box-shadow: 0 10px 33px rgba(0,0,0,.1);
    }

    .logo {
        margin-top: 5px;
    }

    .footer h5 {
        margin-top: 30px;
    }

    .title-box h4 {
        width: 95%;
    }

    .home-intro .intro-form {
        margin-top: 50px;
    }

}

@media (max-width: 420px) {

    .home-wrapper h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .home-wrapper .col-md-7{
        text-align: center;
    }

    .home-small {
        padding: 110px 0 80px 0;
    }

    .section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

}