.at-header-visual {
    position: relative;
    display: table;
    width: 100%;
    height: 100%;
    padding: 6em 0 3em 0;
    background: #7D4599 no-repeat center center;
    background-size: cover;
    text-align: center;
}

.at-header-visual:before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    top: 0;
}

.at-header-visual--notAligned:before,
.at-header-visual--rightAligned:before {
    background: -moz-linear-gradient(right, rgba(0,0,0,0) 35%, rgba(0,0,0,.35) 75%); /* FF3.6-15 */
    background: -webkit-linear-gradient(right, rgba(0,0,0,0) 35%,rgba(0,0,0,.35) 75%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(0,0,0,0) 35%,rgba(0,0,0,.35) 75%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
}

.at-header-visual--leftAligned:before {
    background: -moz-linear-gradient(left, rgba(0,0,0,0) 35%, rgba(0,0,0,.35) 75%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(0,0,0,0) 35%,rgba(0,0,0,.35) 75%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to left, rgba(0,0,0,0) 35%,rgba(0,0,0,.35) 75%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
}

@media screen and (max-width: 767px) {
    .at-header-visual:before {
        top: 30%;
        background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,.35) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,.35) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
    }
}

@media screen and (min-width: 768px) {
    .at-header-visual {
        padding: 3em 0;
    }
}

.at-header-visual .at-hv-contentContainer {
    position: relative; /** stack over background gradient */
    display: table-cell;
    vertical-align: middle;
}

.at-header-visual--topAligned .at-hv-contentContainer {
    vertical-align: top;
}

.at-header-visual--bottomAligned .at-hv-contentContainer {
    vertical-align: bottom;
}

.at-hv-content {
    display: inline-block;
    max-width: 34em;
    color: #fff;
}

.at-header-visual__title {
    line-height: 1.1;
}

.at-header-visual__title,
.at-header-visual__text {
    color: #fff;
    text-shadow: 1px 1px .3em rgba(0,0,0,.7);
}

.at-header-visual__text--short {
    font-size: 130%;
}

.at-header-visual__button {
    display: inline-block;
    padding: .6em 1.2em;
    text-transform: uppercase;
    border: 1px solid #ef7202;
    border-radius: 0;
    text-decoration: none;
    color: #ef7202;
    background-color: transparent;
    transition: .2s background-color ease-out, .2s color ease-out;
}

.at-header-visual__button:hover {
    text-decoration: none;
    color: #fff;
    background-color: #ef7202;
}

.opaque_bg {
    color: #fff;
    background-color: #ef7202;
}

@media (min-width: 768px) {
    .at-header-visual {
        min-height: 50vh;
    }

    .at-header-visual--leftAligned {
        text-align: left;
    }

    .at-header-visual--rightAligned,
    .at-header-visual--notAligned {
        text-align: right;
    }

    .at-header-visual--small {
        min-height: 20vh;
    }

    .at-header-visual__title {
        font-size: 58px;
    }
}
