:root {
    --purple: rgba(107, 68, 131);

    
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.8em;
    overflow-x: hidden;
}


h2,
p {
    margin-top: 0;
}

a:hover,
a.active {
    color: #309AFD;
}

.tm-btn {
    padding: 10px 40px;
    color: white;
    background-color: #3299CD;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

button.tm-btn {
    padding: 15px 40px;
}

.tm-btn:hover {
    color: white;
    background-color: #49b4e9;
}

h1 {
    font-size: 3rem;
}

em {
    display: block;
}

div {
    box-sizing: border-box;
}

.tm-mt-35 {
    margin-top: 35px;
}

.tm-mb-0 {
    margin-bottom: 0;
}

.tm-mb-15 {
    margin-bottom: 15px;
}

.tm-mb-30 {
    margin-bottom: 30px;
}

.tm-mb-40 {
    margin-bottom: 40px;
}

.tm-mb-50 {
    margin-bottom: 50px;
}

.tm-mb-80 {
    margin-bottom: 80px;
}

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

.tm-text-right {
    text-align: right;
}

.tm-color-primary {
    color: rgb(107, 68, 131);
}

.tm-color-gray {
    color: #666768;
}

.tm-color-gray-2 {
    color: #98999A;
}

.tm-color-light-gray {
    color: #9E9FA0;
}

.tm-bg-white {
    background-color: #FFF;
}

.tm-bg-gray {
    background-color: #F1F2F3;
}

blockquote {
    margin: 0 0 30px 10px;
}

img {
    max-width: 100%;
}

.tm-page-title {
    font-size: 30px;
}

body,
ul {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.tm-mt-0 {
    margin-top: 0;
}

.tm-site-header {
    padding: 60px 70px 30px;
}

.tm-tagline {
    font-size: 1.5rem;
    margin-left: 130px;
}

#tm-video-container {
    max-height: 400px;
    overflow: hidden;
    background-color: #333;
    margin-bottom: 90px;
    position: relative;
}

#banner-container {
    height: 400px;
    overflow: hidden;
    background-color: var(--purple);
    margin-bottom: 90px;
    position: relative;
    padding: 5%;
 
}


.tm-nav-item {
    list-style: none;
    margin: 22px;
}

.tm-nav-link {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 200px;
    height: 200px;
    padding: 30px;
    border: 1px solid #D2D3D4;
    color: #999;
    box-sizing: border-box;
}

.tm-nav-link:hover,
.tm-nav-link.active {
    color: var(--purple);
}

.tm-nav-link i {
    margin-top: 30px;
    color: var(--purple);
}

.tm-main-nav ul {
    display: flex;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
}

.tm-container {
    max-width: 1254px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto 135px;
    font-size: 19px;
    
}

.tm-footer {
    display: flex;
    justify-content: space-between;
    padding: 25px;
    font-size: 0.9em;
}

.tm-row {
    display: flex;
}

.tm-col-6 {
    flex: 0 0 50%;
}

.tm-intro-pad {
    padding: 40px 55px 50px;
}

.tm-intro-col-l {
    margin-right: 40px;
}




@media (max-width: 850px) {
    .tm-contact-row {
        flex-direction: column;
    }

    .tm-contact-col {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 30px;
        padding-right: 30px;
    }

    .tm-contact-form {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 50px;
    }
}

@media (max-width: 700px) {
    .tm-about-row {
        flex-direction: column;
    }

    .tm-about-col {
        flex: 0 0 100%;
    }
}

@media (max-width: 1264px) {
    .tm-main-nav ul {
        max-width: 976px;
    }
}

@media (max-width: 1020px) {
    .tm-main-nav ul {
        max-width: 732px;
    }
}

@media (max-width: 776px) {
    .tm-main-nav ul {
        max-width: 488px;
    }
}

@media (max-width: 532px) {
    .tm-main-nav ul {
        max-width: 244px;
    }
}

@media (max-width: 992px) {
    .tm-testimonial-row {
        flex-wrap: wrap;
    }

    .tm-testimonial-col {
        flex: 100%;
        margin-bottom: 50px;
    }

    .tm-testimonial-col:last-child {
        margin-bottom: 0;
    }

    .tm-testimonial-col-2 {
        flex: 50%;
    }
}

@media (max-width: 635px) {
    .tm-testimonial-col-2 {
        flex: 100%;
    }
}

@media (max-width: 902px) {
    .tm-gallery {
        flex: 0 0 50%;
    }

    .tm-gallery-right {
        flex: 0 0 38%;
    }
}

@media (max-width: 805px) {
    .tm-gallery-row {
        flex-direction: column-reverse;
    }

    .tm-gallery {
        flex: 0 0 100%;
    }

    .tm-gallery-right {
        flex: 0 0 100%;
        margin-left: 20px;
        margin-right: 20px;
    }

    .tm-gallery-right-inner {
        display: flex;
        flex-direction: column-reverse;
    }

    .tm-gallery-links {
        display: flex;
        flex-wrap: wrap;
        margin-top: 20px;
        margin-bottom: 0;
        margin-left: 0;
    }

    .tm-gallery-links li {
        margin-right: 20px;
    }
}

@media (max-width: 850px) {
    .tm-content-row {
        flex-direction: column;
    }

    .tm-intro-col-l {
        margin-right: 0;
    }
}

@media (max-width: 650px) {
    .tm-intro-row {
        flex-direction: column;
    }

    .tm-intro-img {
        max-width: 100%;
        max-height: none;
    }
}

@media (max-width: 540px) {
    .tm-footer {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 558px) {
    .tm-site-header {
        padding-left: 30px;
        padding-right: 30px;
    }

    .tm-tagline {
        margin-left: 30px;
    }
}