@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700;900&display=swap");

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Source Sans Pro', sans-serif;
}

.text-center {
    text-align: center !important;
}

.main-section {
    padding: 120px 0 75px;
}
.main-section h2 {
    display: inline-block;
    position: relative;
    font-size: 40px;
    margin-bottom: 25px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    color: #000;
}
.main-section h2:before {
    content: " ";
    position: absolute;
    bottom: 65px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 30px;
    height: 31px;
    background-image: url(../images/header-triangle.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.col-sm-6 {
    position: relative;
    width: 100%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;

    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.col-12 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.contact-section {
    width: 80.5%;
    margin: 40px auto 0;
    position: relative;
    z-index: 2;
    background-color: #fff;
    -webkit-box-shadow: 0px 0px 5px 3px rgba(35, 31, 32, 0.14);
    box-shadow: 0px 0px 5px 3px rgba(35, 31, 32, 0.14);
}

.main-section h2 {
    position: relative;
    font-size: 40px;
    margin-bottom: 25px;
    font-family: 'Source Sans Pro', sans-serif;
}
.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
   /* margin-right: -15px;
    margin-left: -15px; */
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}
.contact-form-section {
    text-align: left;
    padding: 0 30px;
}

.contact-form-section p {
    padding-bottom: 10px;
    margin: 0;
    line-height: 1.7;
    font-family: 'Source Sans Pro', sans-serif;
}

.contact-information {
    padding: 0 10px;
    background-color: #384a9f;
    text-align: left;
}

.contact-information h3 {
    padding: 40px 0 5px;
    font-size: 30px;
    color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
}

.contact-box {
    padding: 42px 0 37px;
    border-bottom: 1px solid #5e72d5;
}

.contact-box figure {
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px 0 0;
    width: 34px;
    height: 34px;
    line-height: 29px;
    border: 1px solid #fff;
    border-radius: 50%;
    text-align: center;
}

.contact-text {
    display: inline-block;
    vertical-align: middle;
    color: #fff;
}

.contact-text a {
    color: #fff;
    font-weight: normal;
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
}

.contact-text h4 {
    margin-bottom: 5px;
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
}

.contact-box img {
    vertical-align: middle;
    border-style: none;
    max-width: 100%;
}

.contact-text p {
    padding: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
}

.contact-form-section h3 {
    font-size: 30px;
    color: #384a9f;
    padding: 40px 0 13px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
}
.contact-form-section p{
    color: #636363;
}
.contact-form {
    padding: 3px 30px 0;
}

#form_contact .form-group {
    margin-bottom: 25px;
}

#form_contact .form-control {
    height: 46px;
    padding: 24px 20px;
    border: 1px solid transparent;
    border-radius: 30px;
    color: #5c5c5c;
    background-color: #f2f4f6;
    display: block;
    width: 100%;
    font-size: 1rem;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    font-family: 'Source Sans Pro', sans-serif;
}

#form_contact textarea {
    min-height: 160px;
    resize: none;
}

#form_contact .form-control:focus {
    border-color: #384a9f;
}

.btn-primary {
    background-color: #384a9f;
    color: #fff;
    text-transform: uppercase;
    -webkit-box-shadow: none !;
    box-shadow: none !;
    font-size: 18px;
    padding: 12px 80px;
    line-height: 1.35;
    outline: none;
    color: #fff;
    text-transform: uppercase;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #005cbf;
    border-radius: 30px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
        font-family: 'Source Sans Pro', sans-serif;
        font-weight: 700;
        border: 0;
        cursor: pointer;
}

.btn-primary:hover {
    border-color: #000;
    background-color: #000;
}

label.error {
    height: 4px;
    color: #e22946;
    padding: 2px 20px;
    text-align: left;
    font-size: small;
    width: 100%;
    float: left;
}
.messages {
    margin-bottom: 10px;
}
.messages .error {
    color: #e22946;
    padding: 5px;
    text-align: center;
    font-size: small;
    width: 100%;
    float: left;
}
.messages .success {
    color: green;
    font-weight: bold;
}

@media (min-width: 276px) {
    .container {
        max-width: 540px;
    }

    .col-sm-6 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }

    .col-md-4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-md-8 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}
@media screen and (max-width: 1199px) {
    .contact-section {
        width: 88.5%;
    }
}

@media screen and (max-width: 991px) {
    .contact-section {
        width: 100%;
        margin-top: 15px;
    }
    .contact-form-section, .contact-form {
        padding: 0 15px;
    }
    .main-section h2 {
     font-size: 35px;
     margin-bottom: 15px;
    }
    .main-section {
        padding: 90px 0 40px;
    }
}

@media screen and (max-width: 767px) {
    .contact-information h3 {
        padding: 15px 0 5px;
        font-size: 20px;
    }
    .contact-form {
        padding: 10px 15px 0;
    }
    .contact-form-section {
        text-align: left;
    }
    .contact-text h4, .contact-text p {
        font-size: 14px;
    }
    .contact-box {
        padding: 15px 0;
    }
    .contact-form-section h3 {
        font-size: 20px;
        padding: 15px 0 10px;
    }
    p {
        line-height: 1.4;
    }
    .contact-form .form-group {
        margin-bottom: 15px;
    }
    
    .main-section h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }
    .main-section h2:before {
        bottom: 40px;
    }
    .main-section {
        padding: 65px 0 30px;
    }
}
