﻿
.banner-nav ul li{
    cursor: pointer;
}

.inside-content .component.link-image-list {
    display: inline-block;
    margin: 0px 2% 24px 0px;
    width: 32%;
}

.inside-content .link-image-list ul li {
    width: 100%;
}

.inside-content .link-image-list:nth-child(3n+2) {
    /*margin: 0 1.3% 24px; */
}

.container .component.link-image-list {
    display: inline-block;
    margin: 0px 2% 24px 0px;
    /* margin: 0 0 24px; */
    width: 31%;
}

.container .link-image-list ul li {
    width: 100%;
}

.container .link-image-list:nth-child(3n+2) {
    /* margin: 0 1.3% 24px; */
}


@media (max-width: 767px) {


    .inside-content .component.link-image-list {
        width: 31%;
        margin: 0 1.8% 24px 0px;
    }

        .inside-content .link-image-list:nth-child(2n+1) {
            /* margin: 0 2% 24px 0;*/
        }

        .inside-content .link-image-list:nth-child(3n+2) {
            /* margin: 0 0 24px; */
        }

    .container .component.link-image-list {
        width: 31%;
        margin: 0 1.8% 24px 0px;
    }

        .container .link-image-list:nth-child(2n+1) {
            /* margin: 0 2% 24px 0; */
        }

        .container .link-image-list:nth-child(3n+2) {
            /* margin: 0 0 24px; */
        }
}

/****************************/
/* Layout for sitecore form */
/****************************/
.scfForm input[type="text"], .scfForm input[type="password"], .scfForm textarea {
    padding: 5px;
    font-size: 1em;
    border: solid 1px #ccc;
}

.scfForm input[type="text"], .scfForm input[type="password"] {
    width: 280px;
}

.scfForm input[type="submit"] {
    display: inline-block;
    padding: 12px 36px 12px 24px;
    color: #fff;
    background: #fb3c50 url("../image/arrow-right-white1.png") 85% 49% no-repeat;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    border: none;
}
.scfForm input[type="submit"]:hover {
    text-decoration: none;
    background: #FC5465 url("../image/arrow-right-white1.png") 85% 49% no-repeat;
}

.scfForm select {
    width: auto;
    padding: 11px 55px 11px 15px !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 1em;
    color: #000;
    border: solid 1px #ccc;
    background: #fff url("../image/select-arrow-down-red.png") top right no-repeat;
    background-size: contain;
}
.scfForm select::-ms-expand {
    display: none;
}

.scfForm input[type="radio"]:not(:checked),
.scfForm input[type="radio"]:checked {
    position: absolute;
    left: -9999px;
}
.scfForm input[type="radio"] + label {
    position: relative;
    padding-top: 2px;
    padding-left: 24px;
    line-height: 1em;
    cursor: pointer;
}
.scfForm input[type="radio"]:not(:checked) + label:before,
.scfForm input[type="radio"]:checked + label:before {
    content: ' ';
    width: 18px;
    height: 18px;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    border: solid 1px #ccc;
    border-radius: 25px;
    box-sizing: border-box;
    vertical-align: bottom;
}
.scfForm input[type="radio"]:not(:checked) + label:after,
.scfForm input[type="radio"]:checked + label:after {
    content: ' ';
    width: 10px;
    height: 10px;
    position: absolute;
    top: 4px;
    left: 4px;
    background: #F83950;
    border-radius: 10px;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}
.scfForm input[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    transform: scale(0);
}
.scfForm input[type="radio"]:checked + label:after {
    opacity: 1;
    transform: scale(1);
}

.scfForm input[type="checkbox"]:not(:checked),
.scfForm input[type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
}
.scfForm input[type="checkbox"] + label {
    position: relative;
    width: auto;
    margin: 0;
    padding-top: 2px;
    padding-left: 24px;    
    vertical-align: middle;
    cursor: pointer;
    float: none;
    line-height: 1.5em;
}
.scfForm input[type="checkbox"]:not(:checked) + label:before,
.scfForm input[type="checkbox"]:checked + label:before {
    content: ' ';
    width: 18px;
    height: 18px;
    position: absolute;
    top: 6px;
    left: 0;
    background: #fff;
    border: solid 1px #ccc;
    box-sizing: border-box;
    vertical-align: bottom;
}
.scfForm input[type="checkbox"]:not(:checked) + label:after,
.scfForm input[type="checkbox"]:checked + label:after {
    content: ' ';
    width: 10px;
    height: 8px;
    position: absolute;
    top: 10px;
    left: 4px;
    background: url("../image/tick-red.png") no-repeat;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}
.scfForm input[type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
    transform: scale(0);
}
.scfForm input[type="checkbox"]:checked + label:after {
    opacity: 1;
    transform: scale(1);
}

.scfForm input[type="file"] {
    display: inline-block;
    /*position: absolute;*/
    bottom: 12%;
    left: 50%;
    padding: 12px 36px 12px 18px;
    font-size: 1em;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 30px;
    background: url("../image/arrow-right-white1.png") no-repeat;
    background-position: 90% center;
    white-space: nowrap;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: background-color 0.5s;
    -webkit-transition: background-color 0.5s;
    /*transform: translateX(-50%);*/
    border: none;
}
.scfForm input[type="file"]:hover {
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.2);
    background-position: 90% center;
}
.scfForm input[type="file"] {
    background-color: #666;
}
.scfForm input[type="file"]:hover {
    background-color: #888;
}

.scfForm {
    position: relative;
    padding: 12px 24px;
    border-bottom: solid 3px #fb3c50;
    background: #efefef;
    font-family: FSElliot, Arial, "Heiti TC", "Heiti SC", JhengHeiFix, "微軟正黑體", "微软雅黑", "Microsoft JhengHei", "Microsoft YaHei", sans-serif !important;
}

.scfForm .scfRadioButtonList label {
    width: auto;
    margin-right: 50px;
    float: none;
}

.scfForm .scfListBox {
    background: #fff !important;
}

.scfForm label {
    display: inline-block;
    line-height: 2em;
    float: left;
    vertical-align: top;
}
.scfForm label + input {
    width: 75%;
    display: inline-block;
}

.scfForm .scfSubmitButtonBorder {
    display: block;
    position: relative;
    margin-bottom: 12px;
    text-align: right;
}

.scfSectionContent div {
	margin: 5px 0;
}

.scfForm .scfDateSelectorShortLabelDay, .scfForm .scfDateSelectorShortLabelMonth, .scfForm .scfDateSelectorShortLabelYear {
    display: none !important;
}

@media (max-width: 768px) {
    .scfForm input, .scfForm label, .scfForm textarea, .scfForm div {
        width: 100% !important;
    }

    .scfForm input[type="submit"], .scfForm input[type="file"], .scfForm input[type="submit"]:hover, .scfForm input[type="file"]:hover {
        display: block;
        /*position: relative;*/
        top: auto;
        right: auto;
        background-position: 95% 49%;
    }

    .scfSectionContent div {
        margin: 0;
    }
}
/********************************/
/* End Layout for sitecore form */
/********************************/