.home-body {
    background-image: url("/img/grey_map.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.wta-random-banner {
    background-image: url(https://dr5gnyelrgfrf.cloudfront.net/files/66468384d44c0100082ec8a2/Home_header0.jpg);
    height: 369px;
}

/*   TOOLS SECTION   */

#wta-overlay {
    overflow: hidden;
    float: right;
    padding: 15px 30px;
    background-color: rgba(0, 153, 153, .9);
    border-radius: 12px;
    box-sizing: border-box;
    width: 750px;
    display: flex;
    flex-direction: column;
}

#wta-overlay > div:first-of-type {
    margin-top: 10px;
}

#wta-overlay > div:nth-of-type(2) {
    margin-bottom: 10px;
}

#tool-title {
    margin: auto;
    font-size:1.5em;
    color:white;
    display: none;
}

.home-tools {
    background: hsla(0, 0%, 100%, .92);
    border-top: 10px solid #077cc0;
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .2);
    box-shadow: 0 0 3px rgba(0, 0, 0, .2);
    border-radius: 4px;
    margin-left: 15px;
    margin-right: 15px;
    cursor: pointer;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
    height: 80px;
    color: #096ab0;
    font-size: 24px;
    display: flex;
    width: 300px;
    text-align: center;
    vertical-align: middle;
    align-items: center;
}

.home-tools .fa {
    flex: 1;
    font-size: 1.5em;
}

.home-tools .fa img {
    height: 1.5em;
}

.home-tools .ht-label {
    flex: 3;
    color: #303b42;
}

.tools-bot {
    text-align: center;
    font-size: 1.25em;
    width: 100%;
}

.tools-bot a {
    color: white;
    flex: 1;
}

.tools-bot img {
    height: 1.25em;
    margin-top:.1em;
}

.tools-bot .level-left,
.tools-bot .level-right {
    flex: 1
}

/*   FEATURED CONTENT SECTION */
#featured-content {
    width: 90%;
    margin-left: 5%;
    padding: 30px 60px 60px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    margin-top: 40px;
    margin-bottom: 40px;
}

#featured-content .columns div:nth-of-type(1) {
    padding-right: 1em;
}

#featured-content .columns div h2 {
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
    color: #303b42;
}

#featured-content .columns div p {
    margin-top: 15px;
    margin-bottom: 40px;
    line-height: 1.8;
    font-size: 1.1em;
}

#featured-content .columns div:nth-of-type(1) .button {
    background-color: #006699;
    border-radius: 3px;
    color: #fff;
    font-size: 1.5em;
    border: none;
    justify-content: center;
    display: flex;
}

#featured-content .columns div:nth-of-type(2),
#featured-content .columns div:nth-of-type(3) {
    margin-left: 10px;
    padding: 20px;
}

#app-links {
    display: flex;
    justify-content: center;
}

#app-links a {
    width: 147px;
    height: 48px;
    text-indent: -9999px;
    overflow: hidden;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    margin: 0 10px 0 0;
}

#android-app {
    background-image: url(https://dr5gnyelrgfrf.cloudfront.net/files/66562f8e73382900082cd0bd/app-google-play.png);
}

#apple-app {
    background-image: url(https://dr5gnyelrgfrf.cloudfront.net/files/66562f8e73382900082cd0bf/app-apple-store.png);
}

/* NEWS SECTION */

.news {
    width: 100%;
    background: #fff;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

#ns-container {
    display: flex;
    width: 90%;
    max-width: 1200px;
    /* max-height: 600px; */
    padding: 20px 60px;
    box-sizing: border-box;
}

.news-primary {
    padding-right: 30px;
    max-width: 800px;
    width: calc(100% - 400px);
}

.news-primary h2 {
    font-weight: normal;
    text-transform: none;
    font-size: 3em;
    line-height: 1.2;
    letter-spacing: -.05em;
    margin: 0 0 15px 0;
    padding: 0;
    color: #303b42;
    width: 100%;
    position: relative;
}

.news-primary h2 span {
    display: inline-block;
    padding-right: .5em;
    background-color: #fff;
    position: relative;
    z-index: 10;
}

.news-primary h2:after {
    content: '';
    width: 100%;
    height: 0;
    border-bottom: 3px solid #303b42;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 1;
}

.news-primary img {
    max-height: 230px;
    object-fit: cover;
    margin: auto;
}

.news-primary h4 {
    font-family: 'PT Sans', Helvetica, Arial, sans-serif;
    text-transform: none;
    letter-spacing: 0;
    font-size: 21px;
    line-height: 1.1;
    margin: 10px 0 0 0;
    padding: 0;
    color: #303b42;
    font-weight: normal;
}

.news-primary p {
    color: #303b42;
    line-height: 22px;
    font-size: 16px;
}

.home-news-article p {
    margin-bottom: 10px;
    text-overflow: ellipsis;
}

.read-more {
    font-family: 'DIN Bold', 'PT Sans', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: #006699;
}

.read-more:after {
    content: '';
    border-color: transparent;
    border-style: solid;
    border-width: 5px 9px;
    width: 0;
    height: 0;
    display: inline-block;
    border-left-color: #006699;
    border-right-width: 0;
    margin-left: .5em;
}

.news-secondary {
    width: 400px;
    padding: 0 0 0 40px;
    border-left: 3px solid #ededed;
}

.ns-header {
    font-size: 30px;
    margin-top: .125em;
    margin-bottom: .375em;
    letter-spacing: -.025em;
    color: #303b42;
}

#add-news {
    list-style: none;
    padding: 0;
    max-height: 350px;
    overflow-y: auto;
    margin-bottom: 25px;
}

#add-news li {
    padding-bottom: 10px;
}

.news-link h6 {
    color: #303b42;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .125em;
}

.news-link h4 {
    font-size: 20px;
    font-weight: 700;
    color: #006699;
    margin-top: .125em;
    margin-bottom: .375em;
    letter-spacing: -.025em;
}

.news-btn {
    background-color: rgba(0, 153, 153);
    -webkit-border-radius: 3px 0 3px 3px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 3px 0 3px 3px;
    -moz-background-clip: padding;
    border-radius: 3px 0 3px 3px;
    background-clip: padding-box;
    color: #fff !important;
    text-transform: none;
    letter-spacing: -.05em;
    font-size: 24px;
    margin-right: .75em;
    padding: .5em .83333em .4em;
    transition: color .25s ease-in-out, background-color .25s ease-in-out;
    font-size: 20px;
}

/*   MEDIA QUERIES FOR SMALLER SCREEN SIZES   */
@media (max-width: 1020px) {
    .wta-random-banner {
        background-image: none !important;
        height: auto;
        padding: 0 0 1.5rem 0;
    }

    #wta-overlay {
        position: relative;
        border-radius: 0;
        width: 100%;
        top: auto;
        right: auto;
        padding: 15px;
        margin-top: 0;
    }

    #tool-title {
        display: unset;
    }

    .tools-bot .level-right {
        margin-top: 10px;
    }

    #featured-content {
        padding: 30px 10px 40px;
    }

    #featured-content .columns div h2 {
        font-size: 2em;
    }

    #featured-content .columns div p {
        text-align: center;
    }

    #featured-content .columns div:nth-of-type(1) .button {
        padding: 10px;
        margin: 3px 30px;
    }

    #app-links {
        padding-right: 0!important;
    }

    #app-links a {
        height: 42px;
    }

    #ns-container {
        width: 100%;
        margin: 0;
        flex-direction: column;
        padding: 20px;
        box-sizing: border-box;
    }

    .news-primary {
        width: 100%;
        padding: 10px 0;
        float: none;
    }

    .news-primary h2 {
        font-size: 26px;
    }

    .news-secondary {
        width: 100%;
        padding: 20px 0;
        border-top: 3px solid #ededed;
        border-left: none;
    }

    #add-news {
        max-height: unset;
        overflow-y: unset;
    }
}