h3 {
    margin: 0;
    padding: 7px 0 0 0;
    font-size: 16px;
    text-transform: uppercase;
}

div#feature_list {
    width: 100%;
    min-height: 380px;
    overflow: hidden;
    position: relative;
}

div#feature_list ul {
    position: absolute;
    top: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

ul#tabs {
    left: 0;
    z-index: 2;
    width: 350px;
}

ul#tabs li {
    font-size: 12px;
}

ul#tabs li img {
    padding: 5px;
    border: none;
    float: left;
    margin: 10px 10px 0 0;
}

ul#tabs li a {
    color: #222;
    text-decoration: none;
    display: block;
    padding: 8px;
    height: 75px;
    outline: none;
}

ul#tabs li a:hover {
    text-decoration: underline;
}

ul#tabs li a.current {
    background: url('https://fexquotes.com/features/feature-tab-current.png');
    color: #FFF;
}

ul#tabs li a.current:hover {
    text-decoration: none;
    cursor: default;
}

ul#output {
    right: 0;
    width: 50%;
    xheight: 26vw;
    position: relative;
}

ul#output li {
    position: absolute;
    width: 100%;
}

ul#output li a {
    position: absolute;
    bottom: 15px;
    right: 10px;
    padding: 8px 12px;
    text-decoration: none;
    font-size: 11px;
    color: #FFF;
    background: #3c5f93;
    border-radius: 5px;
    -moz-border-radius: 5px;
}

ul#output li a:hover {
    background: #D33431;
}

div#feature_list ul#output img {
    max-width: 100%;
    width: 100%;
}

#content {
    width: 60%;
    margin: 50px auto;
    padding: 20px;
    background: #FFF;
    border: 1px solid #CCC;
}

body div#feature_list,
body div {
    box-sizing: border-box;
}

body ul#tabs li a {
    background-repeat: no-repeat !important;
}

@media(max-width: 767px) {
    body div#content {
        width: 100%;
        margin: auto;
    }

    body div#feature_list {
        width: 100%;
        height: auto;
    }

    body div#feature_list ul {
        position: relative;
        width: 100%;
        top: auto;
        bottom: auto;
        right: auto;
        left: auto;
    }

    body ul#tabs li a {
        background-size: 100% 100% !important;
    }

    body div#feature_list ul#output {
        margin-top: 20px;
        height: 50vw;
    }

    body ul#output li {
        width: 100%;
        height: auto;
    }

    body div#feature_list ul#output img {
        max-width: 100%;
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

    body ul#output li a {
        right: 10px;
    }
}
