/* font family */
@font-face {
    font-family: 'Avenir';
    src: url('assets/AvenirLTStd-Light.otf');
}

/* basic */
html {
    height: 100%;
    box-sizing: border-box;
    font-family: 'Avenir', Arial, sans-serif;
    font-size: 18px;
    color: #fff;
    background-color: #12202c;
}
  
*, *:before, *:after {
    box-sizing: inherit;
}

body {
    display: flex;
    height: 100%;
}

body, h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    padding: 0;
    line-height: 1;
}

img {
    max-width: 100%;
    height: auto;
}

/* main */
.top,
.content {
    display: flex;
    width: 100%;
    margin: 0;
}

.top {
    flex-direction: column;
    justify-content: center;
    align-content: flex-start;
    margin: 0 0 120px;
    overflow: auto;
}

.content {
    position: fixed;
    bottom: 0;
    width: 100%;
}

.main {
    display: none;
}

.search-wrap {
    margin: 40px 0 0;
}

.search-wrap .input-main {
    width: 350px;
    margin-right: -50px;
    padding: 0 50px 0 25px;
    position: relative;
    z-index: 1;
}

.search-wrap .btn-main {
    position: relative;
    z-index: 2;
}

.search {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 150px;
    height: 20%;
    align-items: center;
    font-size: 32px;
    font-weight: 700;
}

.contact-btn-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 35%;
    align-items: center;
}

header {
    display: flex;
    justify-content: center;
    height: 35%;
    align-items: center;
}

.logo {
    display: inline-block;
    width: 200px;
    height: 43px;
    overflow: hidden;
    text-indent: -99999px;
    background-image: url('assets/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}

.input-main {
    display: inline-block;
    width: auto;
    height: 47px;
    margin: 0 -25px 0 0;
    padding: 0 25px;
    line-height: 46px;
    font-family: 'Avenir', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    background-color: #fff;
    outline: none;
    border: none;
    border-radius: 25px;
}

.btn-main {
    display: inline-block;
    width: auto;
    height: 47px;
    margin: 0;
    padding: 0 50px;
    line-height: 46px;
    font-family: 'Avenir', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    background-color: #016263;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    outline: none;
}

.btn-main:hover {
    background-color: #218283;
}

.btn-small {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    text-indent: -99999px;
    background-color: #fff;
    border: 1px solid #b5d2d2;
    border-radius: 8px;
    background-image: url('assets/arrow_left.jpg');
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    outline: none;
}

.btn-small:hover {
    border: 1px solid #95b2b2;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 120px;
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 300;
    border-top: 1px solid #313e49;
}


/* product */
.portrait .top {
    flex-direction: row;
    justify-content: center;
    align-content: flex-start;
    width: 33%;
    margin: 0;
}

.portrait .top header {
    height: 100%;
}

.portrait .top .search {
    display: none;
}

.portrait .top .contact-btn-wrap {
    position: fixed;
    bottom: 0;
    height: 12%;
}

#return_btn,
.portrait #return_btn {
    display: none;
}

.portrait #contact_btn {
    display: inline-block;
}

.portrait .content {
    position: relative;
    bottom: auto;
    width: 67%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-content: flex-start;
    margin: 0;
    color: #0d1927;
    background-color: #12202c;;
}

.portrait .main {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    padding-bottom: 120px;
    color: #000;
    background-color: #fff;
    border-radius: 0;
}

.portrait .main .contact-us {
    display: none;
}

.portrait .main .product,
.portrait.contact .main .contact-us {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0 20% 3%;
    color: #0d1927;
    overflow: auto;
}

.portrait .main .product .img_prod {
    display: none;
    width: auto;
    margin: 3% auto;
}

.portrait .main .product .top-info {
    position: relative;
    margin: 40px 0;
}

.portrait .main .product .btn-small {
    position: absolute;
    top: 5px;
    left: 0;
}

.portrait .main .product .info_list {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 15px 0 15px 50px;
    padding: 0;
    line-height: 20px;
}

.portrait .main .product .info_list li {
    margin: 0 22px 0 0;
    padding: 0 22px 0 0;
    text-align: center;
    border-right: 1px solid #5a5a5a;
}

.portrait .main .product .info_list li:last-child {
    margin: 0;
    padding: 0;
    border: none;
}

.portrait .main .product .info_list li b {
    color: #5a5a5a;
}

.portrait .main .product .info_list li span {
    color: #016263;
    font-weight: 500;
}

.portrait .main .product .info_list li:last-child span {
    text-transform: capitalize;
}

.portrait .main .product h2,
.portrait.contact .main .contact-us h2 {
    margin-bottom: 30px;
    font-size: 32px;
    text-align: center;
}

.portrait .main .product p {
    line-height: 1.4;
}

.portrait .content footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    border-top: 1px solid #f2f6f8;
}

/* contact */
.portrait.contact .product {
    display: none;
}

.portrait.contact .main {
    padding: 0;
}

.portrait.contact .main .contact-us {
    justify-content: center;
    text-align: center;
}

.portrait.contact .main .contact-us p {
    line-height: 1.8;
}

.portrait.contact .main .contact-us a {
    color: #016263;
    text-decoration: none;
    font-weight: 500;
}

.portrait.contact .main .contact-us a:hover {
    text-decoration: underline;
}

.portrait.contact #return_btn {
    display: inline-block;
}

.portrait.contact #return_btn b {
    margin-left: 5px;
    vertical-align: middle;
    font-size: 20px;
    font-weight: 300;
}

.portrait.contact #contact_btn {
    display: none;
}

@media only screen and (max-width: 600px) {
    /* main */
    html {
        font-size: 14px;
    }

    .top {
        position: relative;
        margin: 0 0 50px;
    }

    header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: auto;
        height: 90px;
    }

    .logo {
        width: 40%;
        height: 0;
        max-width: 200px;
        padding-bottom: 9%;
    }

    .search {
        height: 75%;
        margin-top: 90px;
        font-size: 20px;
        text-align: center;
    }

    .search-wrap {
        margin: 30px 0 0;
        width: 80%;
        text-align: center;
    }

    .search-wrap .input-main {
        width: 80%;
        padding: 0 12% 0 6%;
    }

    .contact-btn-wrap {
        height: 25%;
    }

    .btn-main {
        padding: 0 8%;
        font-size: 16px;
    }

    footer {
        height: 50px;
        line-height: 50px;
        white-space: nowrap;
        font-size: 14px;
    }

    /* product */
    .portrait {
        flex-direction: column;
    }

    .portrait .top {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: auto;
        height: 90px;
        background-color: #12202c;
        z-index: 1;
    }

    .portrait .top .contact-btn-wrap {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 5%;        
        height: auto;
    }

    .portrait .top header {
        position: static;
        width: 100%;
    }

    .portrait #contact_btn,
    .portrait.contact #return_btn {
        padding: 0;
        font-size: 14px;
        color: #b5c2cb;
        background-color: transparent;
    }

    .portrait.contact #return_btn b {
        margin-left: 0;
        font-size: 14px;
    }

    .portrait .content {
        width: 100%;
        height: 100%;
        padding: 90px 0 50px;
        justify-content: flex-start;
    }

    .portrait .main {
        height: 100%;
        overflow: auto;
        padding-bottom: 0;
        border-radius: 30px 30px 0 0;
    }

    .portrait .main .product,
    .portrait.contact .main .contact-us {
        padding: 0 5% 5%;
    }

    .portrait .main .product .top-info {
        margin: 30px 0;
    }

    .portrait .main .product .btn-small {
        top: 4px;
        width: 30px;
        height: 30px;
        background-size: 35%;
    }

    .portrait .main .product .info_list {
        margin: 10px 0 10px 35px;
        padding: 0;
        line-height: 18px;
    }

    .portrait .main .product .info_list li {
        margin: 0 2% 0 0;
        padding: 0 2% 0 0;
    }

    .portrait .main .product .info_list li:nth-child(1) {
        width: 35%;
    }

    .portrait .main .product .info_list li:nth-child(2) {
        width: 30%;
    }

    .portrait .main .product .info_list li:nth-child(3) {
        width: 35%;
    }

    .portrait .main .product h2,
    .portrait.contact .main .contact-us h2 {
        font-size: 24px;
    }

    .portrait .content footer {
        position: fixed;
    }
}

@media only screen and (min-width: 601px) and (max-width: 1200px) {
    footer {
        height: 70px;
    }
    
    .portrait .main {
        padding-bottom: 70px;
    }
}

@media only screen and (min-width: 401px) and (max-width: 600px) {
    .search {
        font-size: 24px;
    }
}

@media only screen and (min-width: 601px) and (max-width: 1400px) {
    .portrait .main .product .info_list li {
        margin: 0 5% 0 0;
        padding: 0 5% 0 0;
    }
}

@media only screen and (min-width: 601px) and (max-width: 1200px) {
    .portrait .main .product,
    .portrait.contact .main .contact-us {
        padding: 0 7% 3%;
    }

    .portrait .main .product .info_list {
        font-size: 14px;
    }
}

@media only screen and (min-width: 1201px) and (max-width: 1400px) {
    .portrait .main .product,
    .portrait.contact .main .contact-us {
        padding: 0 15% 3%;
    }

    .portrait .main .product .info_list {
        font-size: 17px;
    }
}
