﻿
.general a {
    color: #5B7F95;
    transition: all 0.3s ease-out;
    text-decoration: underline;
}

    .general a:hover {
        color: #5B7F95;
    }

.general img {
    width: 100%;
    height: auto;
}

.general hr {
    height: 1px;
    background-color: #ececec;
    border: none;
    margin: 2% 0;
}


/* • Special photo blk ( google map)
   	------------------------------------------------------------------------- */
.sp-map {
    height: 400px;
    border-top: 1px solid #fff;
}

    .sp-map .sp-map-col1 {
        width: 60%;
        height: 600px;
        float: left;
        background-image: url(images/demo-007.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .sp-map .sp-map-col2 {
        width: 40%;
        float: left;
        background-color: #5B7F95;
        color: #fff;
    }

    .sp-map img {
        width: 100%;
        height: auto;
    }

    .sp-map .sp-map-col2 .sm-col {
        width: 100%;
        height: 300px
    }

        .sp-map .sp-map-col2 .sm-col .sp-info {
            padding: 50px
        }

        .sp-map .sp-map-col2 .sm-col.bg {
            background-image: url(images/demo-008.jpg);
            background-size: cover;
            background-position: center;
        }

        .sp-map .sp-map-col2 .sm-col:nth-child(2n) img {
            display: none
        }

    .sp-map a {
        color: #fff;
        text-decoration: underline;
        transition: all 0.3s ease-out
    }

        .sp-map a:hover {
            color: #7BAFD4;
            text-decoration: underline;
        }

    .sp-map .sp-map-col1 .button-square {
        position: absolute;
        right: 0
    }

    .sp-map h2 {
        font-weight: 400
    }


/* • Left & right photo content blk
   	------------------------------------------------------------------------- */
.general .img-scale70-txt .is70-col1,
.general .img-scale60-txt .is60-col1,
.general .img-scale50-txt .is50-col1,
.general .img-scale40-txt .is40-col1,
.general .img-scale30-txt .is30-col1,
.general .img-scale20-txt .is20-col1,
.general .img-scale10-txt .is10-col1,
.general .img-scale70-txt-r .is70-col2-r,
.general .img-scale60-txt-r .is60-col2-r,
.general .img-scale50-txt-r .is50-col2-r,
.general .img-scale40-txt-r .is40-col2-r,
.general .img-scale30-txt-r .is30-col2-r,
.general .img-scale20-txt-r .is20-col2-r,
.general .img-scale10-txt-r .is10-col2-r {
    float: left;
    margin-top: 8px
}

.general .img-scale70-txt {
    width: 100%
}

    .general .img-scale70-txt .is70-col1 {
        width: 70%
    }

    .general .img-scale70-txt .is70-col2 {
        width: calc(30% - 40px);
        float: left;
        padding-left: 40px
    }

.general .img-scale60-txt {
    width: 100%
}

    .general .img-scale60-txt .is60-col1 {
        width: 60%;
    }

    .general .img-scale60-txt .is60-col2 {
        width: calc(40% - 40px);
        float: left;
        padding-left: 40px
    }

.general .img-scale50-txt {
    width: 100%
}

    .general .img-scale50-txt .is50-col1 {
        width: 50%
    }

    .general .img-scale50-txt .is50-col2 {
        width: calc(50% - 40px);
        float: left;
        padding-left: 40px
    }

.general .img-scale40-txt {
    width: 100%
}

    .general .img-scale40-txt .is40-col1 {
        width: 40%
    }

    .general .img-scale40-txt .is40-col2 {
        width: calc(60% - 30px);
        float: left;
        padding-left: 30px
    }

.general .img-scale30-txt {
    width: 100%
}

    .general .img-scale30-txt .is30-col1 {
        width: 30%
    }

    .general .img-scale30-txt .is30-col2 {
        width: calc(70% - 30px);
        float: left;
        padding-left: 30px
    }

.general .img-scale20-txt {
    width: 100%
}

    .general .img-scale20-txt .is20-col1 {
        width: 20%
    }

    .general .img-scale20-txt .is20-col2 {
        width: calc(80% - 30px);
        float: left;
        padding-left: 30px
    }

.general .img-scale10-txt {
    width: 100%
}

    .general .img-scale10-txt .is10-col1 {
        width: 10%
    }

    .general .img-scale10-txt .is10-col2 {
        width: calc(90% - 30px);
        float: left;
        padding-left: 30px
    }

.general .img-scale70-txt-r {
    width: 100%
}

    .general .img-scale70-txt-r .is70-col1-r {
        width: calc(30% - 40px);
        float: left;
        padding-right: 40px
    }

    .general .img-scale70-txt-r .is70-col2-r {
        width: 70%;
    }

.general .img-scale60-txt-r {
    width: 100%
}

    .general .img-scale60-txt-r .is60-col1-r {
        width: calc(40% - 40px);
        float: left;
        padding-right: 40px
    }

    .general .img-scale60-txt-r .is60-col2-r {
        width: 60%;
    }

.general .img-scale50-txt-r {
    width: 100%
}

    .general .img-scale50-txt-r .is50-col1-r {
        width: calc(50% - 40px);
        float: left;
        padding-right: 40px
    }

    .general .img-scale50-txt-r .is50-col2-r {
        width: 50%
    }

.general .img-scale40-txt-r {
    width: 100%
}

    .general .img-scale40-txt-r .is40-col1-r {
        width: calc(60% - 30px);
        float: left;
        padding-right: 30px
    }

    .general .img-scale40-txt-r .is40-col2-r {
        width: 40%
    }

.general .img-scale30-txt-r {
    width: 100%
}

    .general .img-scale30-txt-r .is30-col1-r {
        width: calc(70% - 30px);
        float: left;
        padding-right: 30px
    }

    .general .img-scale30-txt-r .is30-col2-r {
        width: 30%
    }

.general .img-scale20-txt-r {
    width: 100%
}

    .general .img-scale20-txt-r .is20-col1-r {
        width: calc(80% - 30px);
        float: left;
        padding-right: 30px
    }

    .general .img-scale20-txt-r .is20-col2-r {
        width: 20%
    }

.general .img-scale10-txt-r {
    width: 100%
}

    .general .img-scale10-txt-r .is10-col1-r {
        width: calc(90% - 30px);
        float: left;
        padding-right: 30px
    }

    .general .img-scale10-txt-r .is10-col2-r {
        width: 10%
    }


/* • General template - color table style
   	------------------------------------------------------------------------- */
.general table.gen {
    text-align: left;
    vertical-align: top;
    margin: 1% 0 0 0;
}

    .general table.gen th {
        background-color: #5B7F95;
        padding: 10px 20px;
        color: #fff;
        text-align: left;
        vertical-align: top;
    }

    .general table.gen tr.even td {
        background-color: #dedede;
        padding: 10px 20px;
        border-bottom: 1px solid #fff;
        text-align: left;
        vertical-align: top;
    }

    .general table.gen tr.odd td {
        background-color: #e7e7e7;
        padding: 10px 20px;
        border-bottom: 1px solid #fff;
        text-align: left;
        vertical-align: top;
    }


/* • General template - nude table style
   	------------------------------------------------------------------------- */
.general table.nude {
    text-align: left;
    vertical-align: top;
    margin: 0
}

    .general table.nude th {
        background-color: transparent;
        padding: 0;
        color: #5B7F95;
        text-align: left;
        vertical-align: top;
        color: #666;
    }

    .general table.nude tr.even td {
        background-color: transparent;
        padding: 0;
        border-bottom: 1px solid #fff;
        text-align: left;
        vertical-align: top;
    }

    .general table.nude tr.odd td {
        background-color: transparent;
        padding: 0;
        border-bottom: 1px solid #fff;
        text-align: left;
        vertical-align: top;
    }


/* • 2 col responsive table
   	------------------------------------------------------------------------- */
.general .col2-table-row {
    display: table;
    table-layout: fixed;
    height: 100%;
    width: 100%;
}

    .general .col2-table-row .table-col {
        display: table-cell;
        float: none;
        height: 100%;
        padding: 25px;
        border-bottom: 1px solid #fff;
        vertical-align: top;
    }

    .general .col2-table-row:nth-child(odd) {
        background-color: #dedede
    }

    .general .col2-table-row:nth-child(even) {
        background-color: #e7e7e7
    }

    .general .col2-table-row .field {
        text-align: right;
        width: 25%;
        background-color: #5B7F95;
        color: #fff;
    }

    .general .col2-table-row .detail {
        width: 75%
    }


/* • 2 col responsive table
   	------------------------------------------------------------------------- */
.general .col2-table-halfRow {
    display: table;
    table-layout: fixed;
    height: 100%;
    width: 100%;
}

    .general .col2-table-halfRow .table-col {
        display: table-cell;
        float: none;
        height: 100%;
        padding: 20px 0;
        background-color: transparent;
        vertical-align: top;
    }

    .general .col2-table-halfRow .half-col:nth-child(odd) {
        width: 50%;
        padding-right: 15px;
        box-sizing: border-box;
    }

    .general .col2-table-halfRow .half-col:nth-child(even) {
        width: 50%;
        padding-left: 15px;
        box-sizing: border-box;
    }

    .general .col2-table-halfRow .table-col img {
        margin-bottom: 10px
    }


/* • Grey Box
   	------------------------------------------------------------------------- */
.general .greyBox {
    background-color: #dedede;
    padding: 20px 25px;
    margin: 10px 0 0 0
}

.general .colorBox {
    background-color: #5B7F95;
    padding: 20px 25px;
    margin: 10px 0 0 0;
    color: #fff;
}

    .general .colorBox a {
        color: #fff;
        text-decoration: underline;
    }

        .general .colorBox a:hover {
            color: #ccc;
            text-decoration: underline;
        }

    .general .colorBox h2 {
        color: #fff;
    }

.general .colorBox2 {
    background-color: #7BAFD4;
    padding: 20px 25px;
    margin: 10px 0 0 0;
    color: #fff;
}

    .general .colorBox2 a {
        color: #fff;
        text-decoration: underline;
    }

        .general .colorBox2 a:hover {
            color: #5B7F95;
            text-decoration: underline;
        }


    .general .greyBox h2,
    .general .greyBox h3,
    .general .greyBox h4,
    .general .greyBox h5,
    .general .colorBox h2,
    .general .colorBox h2,
    .general .colorBox h2,
    .general .colorBox h2,
    .general .colorBox2 h2,
    .general .colorBox2 h2,
    .general .colorBox2 h2,
    .general .colorBox2 h2 {
        line-height: normal;
        margin: 0;
        padding: 0
    }

.general .colorBox hr {
    background-color: #5B7F95
}

.general .colorBox2 hr {
    background-color: #7BAFD4
}


/* • Video
   	------------------------------------------------------------------------- */
.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

    .videoWrapper iframe,
    .videoWrapper video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .videoWrapper.sm {
        position: relative;
        left: 20%;
        padding-bottom: 33.75%; /* 16:9 */
        height: 0;
        width: 60%;
        background-image: url(images/pattern-018.svg);
        background-repeat: no-repeat;
    }

        .videoWrapper.sm iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }



/* • ul li
   	------------------------------------------------------------------------- */
.general ul {
    margin: 0px;
    padding: 0px;
    text-indent: 0;
}

    .general ul li {
        margin: 0px 0px 0px 20px;
        padding: 0;
        line-height: 1.8;
        list-style-type: disc;
    }


/* • Image scale 
   	------------------------------------------------------------------------- */
.general .img-scale-blk {
    text-align: center;
}

.general .img-scale80 {
    width: 80%;
    height: auto;
}

.general .img-scale70 {
    width: 70%;
    height: auto;
}

.general .img-scale60 {
    width: 60%;
    height: auto;
}

.general .img-scale50 {
    width: 50%;
    height: auto;
}

.general .img-scale40 {
    width: 40%;
    height: auto;
}

.general .img-scale30 {
    width: 30%;
    height: auto;
}

.general .img-scale20 {
    width: 20%;
    height: auto;
}

.general .img-scale10 {
    width: 10%;
    height: auto;
}

.general .img-scale-blk figcaption {
    margin: 0 auto;
    margin-top: 15px
}

.figcaption-w80 {
    width: 80%;
}

.figcaption-w70 {
    width: 70%;
}

.figcaption-w60 {
    width: 60%;
}

.figcaption-w50 {
    width: 50%;
}

.figcaption-w40 {
    width: 40%;
}

.figcaption-w30 {
    width: 30%;
}

.figcaption-w20 {
    width: 20%;
}

.figcaption-w10 {
    width: 10%;
}

.general .img-scale-blk.img-left {
    text-align: left;
}

    .general .img-scale-blk.img-left figcaption {
        margin: 0;
        text-align: left;
        margin-top: 15px
    }

.general .img-scale-blk.img-right {
    text-align: right;
}

    .general .img-scale-blk.img-right figcaption {
        margin: 0;
        text-align: right;
        margin-top: 15px
    }

        .general .img-scale-blk.img-right figcaption.figcaption-w80 {
            margin-left: 20%;
        }

        .general .img-scale-blk.img-right figcaption.figcaption-w70 {
            margin-left: 30%;
        }

        .general .img-scale-blk.img-right figcaption.figcaption-w60 {
            margin-left: 40%;
        }

        .general .img-scale-blk.img-right figcaption.figcaption-w50 {
            margin-left: 50%;
        }

        .general .img-scale-blk.img-right figcaption.figcaption-w40 {
            margin-left: 60%;
        }

        .general .img-scale-blk.img-right figcaption.figcaption-w30 {
            margin-left: 70%;
        }

        .general .img-scale-blk.img-right figcaption.figcaption-w20 {
            margin-left: 80%;
        }

        .general .img-scale-blk.img-right figcaption.figcaption-w10 {
            margin-left: 90%;
        }


/* Action Button
	------------------------------------------------------------------------- */
a.button .g-btn {
    padding: 10px 20px;
    display: block;
    float: left;
    position: relative;
    z-index: 2;
    background-color: #5B7F95;
    color: #fff;
    transition: all 0.3s ease-out;
}

a.button:hover .g-btn {
    background-color: #ccc;
    color: #666;
}

a.button .g-btn-red {
    padding: 10px 20px;
    display: block;
    float: left;
    position: relative;
    z-index: 2;
    background-color: #7BAFD4;
    color: #fff;
    transition: all 0.3s ease-out;
}

a.button:hover .g-btn-red {
    background-color: rgba(123,175,212,.06);
    color: #fff;
}

a.button-square .g-btn-gray {
    padding: 10px 20px;
    display: block;
    float: left;
    position: relative;
    z-index: 2;
    background-color: #5B7F95;
    color: #fff;
    transition: all 0.3s ease-out;
    border: 1px solid #666;
    border-right: none;
    border-top: none;
    -webkit-border-radius: 0px;
    border-radius: 0px;
}

a.button-square:hover .g-btn-gray {
    background-color: rgba(123,175,212,.06);
    color: #fff;
}

a.button {
    display: inline-block;
    cursor: pointer;
    border: 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
    background-repeat: repeat-x;
}


a.button-square {
    display: inline-block;
    cursor: pointer;
    border: 0;
    position: relative;
    overflow: hidden;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
    background-repeat: repeat-x;
}

/* Special table
	------------------------------------------------------------------------- */
.general table.sp-3col-table {
    width: 100%;
    border: none;
    line-height: 1.4;
}

    .general table.sp-3col-table tr td {
        width: calc(100% / 3);
        vertical-align: top;
        text-align: center;
        padding-bottom: 30px
    }

        .general table.sp-3col-table tr td img {
            width: 98%;
            height: auto;
        }

        .general table.sp-3col-table tr td figcaption, .general table.sp-3col-table tr td .figcaption {
            width: calc(100% - 40px);
            padding: 0 20px
        }

.general table.sp-col-table-m {
    display: none;
}



/* ==========================================================================
		Media Styles
	============================================================================= */

@media only screen and (max-width: 1024px) {
    .general .img-scale80,
    .general .img-scale70,
    .general .img-scale60,
    .general .img-scale50,
    .general .img-scale40 {
        width: 100%;
        height: auto;
    }

    .figcaption-w80 {
        width: 100%;
    }

    .figcaption-w70 {
        width: 100%;
    }

    .figcaption-w60 {
        width: 100%;
    }

    .figcaption-w50 {
        width: 100%;
    }

    .figcaption-w40 {
        width: 100%;
    }

    .figcaption-w30 {
        width: 100%;
    }

    .figcaption-w20 {
        width: 100%;
    }

    .figcaption-w10 {
        width: 100%;
    }

    .videoWrapper.sm {
        left: 0%;
        padding-bottom: 56.25%; /* 16:9 */
        width: 100%;
    }

    .sp-map .sp-map-col1 {
        width: 100%;
        height: 350px
    }

    .sp-map .sp-map-col2 {
        width: 100%;
        clear: both;
    }

        .sp-map .sp-map-col2 .sm-col {
            width: 100%;
            height: 200px;
            float: left;
        }

            .sp-map .sp-map-col2 .sm-col .sp-info {
                padding: 30px
            }

            .sp-map .sp-map-col2 .sm-col:nth-child(1n) {
                height: auto;
            }

            .sp-map .sp-map-col2 .sm-col:nth-child(2n) {
                height: auto;
                border-top: 1px solid #666;
                background-image: none
            }

                .sp-map .sp-map-col2 .sm-col:nth-child(2n) img {
                    display: block;
                    width: 100%;
                    height: auto;
                }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape)and (-webkit-min-device-pixel-ratio: 2) {
    .sp-map .sp-map-col2 .sm-col:nth-child(2n) {
        height: 400px;
        border-top: 1px solid #666
    }
}

@media only screen and (max-width: 767px) {
    .general .g-title-blk {
        margin-bottom: 25px;
    }

    .content-left .cl-left {
        width: 100%;
        float: left;
        padding-right: 0;
        margin-bottom: 20px
    }

    .content-left .cl-right {
        width: 100%;
        float: left;
        padding-right: 0;
    }

    .content-right .cr-left {
        width: 100%;
        float: left;
        margin-bottom: 20px
    }

    .content-right .cr-right {
        width: 100%;
        float: left;
        padding-left: 0;
    }

    .general .col2-table-row {
        display: block;
        table-layout: inherit;
        width: 100%;
        height: 100%;
        border: none
    }

        .general .col2-table-row .table-col {
            display: block;
            float: inherit;
            height: 100%;
            padding: inherit;
            border-bottom: none;
        }

        .general .col2-table-row .field {
            width: 90%;
            padding: 3% 5%;
            text-align: left;
            line-height: 1.4
        }

        .general .col2-table-row .detail {
            width: 90%;
            padding: 3% 5%;
        }

        .general .col2-table-row:nth-child(odd) {
            background-color: #dbdbdb;
        }

        .general .col2-table-row:nth-child(even) {
            background-color: #dbdbdb;
        }

    /* • 2 col responsive table */
    .general .col2-table-halfRow {
        display: block;
        table-layout: inherit;
        height: 100%;
        width: 100%;
    }

        .general .col2-table-halfRow .table-col {
            display: block;
            float: inherit;
            height: 100%;
            padding: inherit;
        }

        .general .col2-table-halfRow .half-col:nth-child(odd) {
            width: 100%;
            padding-right: 0%;
            padding-bottom: 20px
        }

        .general .col2-table-halfRow .half-col:nth-child(even) {
            width: 100%;
            padding-left: 0%;
            padding-bottom: 20px;
        }

        .general .col2-table-halfRow .table-col img {
            margin-bottom: 10px
        }


    .general .img-scale70-txt .is70-col1,
    .general .img-scale60-txt .is60-col1,
    .general .img-scale50-txt .is50-col1,
    .general .img-scale40-txt .is40-col1,
    .general .img-scale30-txt .is30-col1,
    .general .img-scale20-txt .is20-col1,
    .general .img-scale10-txt .is10-col1 {
        width: 100%;
        margin-bottom: 30px
    }

    .general .img-scale70-txt .is70-col2,
    .general .img-scale60-txt .is60-col2,
    .general .img-scale50-txt .is50-col2,
    .general .img-scale40-txt .is40-col2,
    .general .img-scale30-txt .is30-col2,
    .general .img-scale20-txt .is20-col2,
    .general .img-scale10-txt .is10-col2 {
        width: 100%;
        float: inherit;
        padding-left: 0
    }

    .general .img-scale70-txt-r .is70-col1-r,
    .general .img-scale60-txt-r .is60-col1-r,
    .general .img-scale50-txt-r .is50-col1-r,
    .general .img-scale40-txt-r .is40-col1-r,
    .general .img-scale30-txt-r .is30-col1-r,
    .general .img-scale20-txt-r .is20-col1-r,
    .general .img-scale10-txt-r .is10-col1-r {
        width: 100%;
        float: inherit;
        padding-right: 0
    }

    .general .img-scale70-txt-r .is70-col2-r,
    .general .img-scale60-txt-r .is60-col2-r,
    .general .img-scale50-txt-r .is50-col2-r,
    .general .img-scale40-txt-r .is40-col2-r,
    .general .img-scale30-txt-r .is30-col2-r,
    .general .img-scale20-txt-r .is20-col2-r,
    .general .img-scale10-txt-r .is10-col2-r {
        width: 100%;
        margin-top: 30px
    }

    .general .img-scale80,
    .general .img-scale70,
    .general .img-scale60,
    .general .img-scale50,
    .general .img-scale40,
    .general .img-scale30,
    .general .img-scale20,
    .general .img-scale10 {
        width: 100%;
        height: auto;
    }

    .general .img-scale-blk {
        text-align: left;
    }

    .general table.sp-4col-table,
    .general table.sp-3col-table {
        display: none
    }

    .general table.sp-col-table-m {
        display: block;
    }

    .general table.sp-col-table-m {
        width: 100%;
        border: none;
        line-height: 1.4;
    }

        .general table.sp-col-table-m tr td {
            width: 100%;
            vertical-align: top;
            text-align: left;
            padding-bottom: 30px
        }

            .general table.sp-col-table-m tr td img {
                width: 100%;
                height: auto;
            }

            .general table.sp-col-table-m tr td figcaption {
                width: 100%;
                padding: 0
            }


    .sp-map .sp-map-col1 {
        width: 100%;
        height: 200px
    }

    .sp-map .sp-map-col2 .sm-col {
        width: 100%;
        height: auto;
        float: left;
    }

        .sp-map .sp-map-col2 .sm-col .sp-info {
            padding: 30px 30px 50px 30px
        }

    .sp-map h2 {
        font-size: 16px;
        font-weight: 500
    }

    a.button {
        margin-bottom: 15px;
    }
}
