﻿.link_list_top {
    background-color: #04223c;
}

.link_list {
    float: left;
    padding: 10px 5px;
    color: #ffffff;
}

    .link_list a {
        transition: all 0.4s ease-in-out;
        -webkit-transition: all 0.4s ease-in-out;
        -moz-transition: all 0.4s ease-in-out;
        -o-transition: all 0.4s ease-in-out;
        -ms-transition: all 0.4s ease-in-out;
        font-size: 12px;
        font-weight: bold;
        text-transform: uppercase;
        line-height: 1.6;
        color: #fff;
        margin: 5px 0;
    }

        .link_list a:hover {
            color: #000;
        }

#first-slider .carousel .item .write_area {
    position: relative;
    position: absolute;
    vertical-align: middle;
    padding: 15px 150px;
    top: 50%;
}

    #first-slider .carousel .item .write_area h1 {
        font-size: 15px;
        position: relative;
        margin: 0 0 0 3px;
        font-weight: normal;
    }

    #first-slider .carousel .item .write_area h2 {
        color: #333;
        font-size: 32px;
        line-height: 1.5;
        letter-spacing: 0px;
        margin-top: 0;
        margin-bottom: 10px;
    }

    #first-slider .carousel .item .write_area h3 {
        position: relative;
        margin-top: 1rem;
        color: #fff;
        background-color: #222;
        border-color: #222;
        padding: 10px 25px;
        display: inline-block;
        font-size: 14px;
        transition: all 0.4s ease-in-out;
        -webkit-transition: all 0.4s ease-in-out;
        -moz-transition: all 0.4s ease-in-out;
        -o-transition: all 0.4s ease-in-out;
        -ms-transition: all 0.4s ease-in-out;
    }

        #first-slider .carousel .item .write_area h3:hover {
            color: #fff;
            background-color: #04223c;
        }

@media(max-width:767px) {
    .link_list a {
        font-size: 12px;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
    #first-slider .carousel .item .write_area h2 {
        font-size: medium;
    }

    #first-slider .carousel .item .write_area h1,
    #first-slider .carousel .item .write_area h3 {
        font-size: small;
    }

    .link_list a {
        font-size: xx-small;
    }
}
