@charset "utf-8";

.content-tab * {
    box-sizing: border-box;
}

.row {
    width: 100%;
    display: block;
    margin: auto;
}

.row:after {
    content: "";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

.left {
    float: left;
}

.right {
    float: right;
}

.content-col {
    width: 70%;
    padding-right: 20px;
}

.btn-col {
    width: 30%;
    padding: 10px 15px 0 20px;
}

.right-col-margin {
    margin-top: 10px;
}

input[type="text"],
select {
    border: solid 1px #CFCFCF;
    border-radius: 3px;
    height: 23px;
}

.search-control {
    padding-top: 10px;
}

.search-by {
    font-weight: bold;
    margin-bottom: 10px;
}

.search-radio label {
    vertical-align: top;
}

.btn-search {
    display: inline-block;
    background-color: #ed1b2e;
    cursor: pointer;
    border-radius: 5px;
    color: #fff;
    padding: 4px 15px;
}

.btn-search.disabled {
    background-color: #b2b2b2;
    color: #666;
    cursor: default;
}

.search-criteria {
    width: 100%;
    margin-bottom: 10px;
    white-space: nowrap;
    clear: both;
}

.search-radio {
    display: inline-block;
    width: 5%;
}

.search-label {
    display: inline-block;
    width: 25%;
    white-space: normal;
    height: 23px;
}

.search-label div {
    display: inline-block;
}

#input-hosName {
    width: 70%;
    padding-left: 3px;
    margin-right: 10px;
    min-width: 250px;
    box-sizing: border-box;
}

#input-hosName::-webkit-input-placeholder {
    color: #CFCFCF;
}

#input-hosName::-moz-placeholder {
    color: #CFCFCF;
}

#input-hosName:-moz-placeholder {
    color: #CFCFCF;
}

#input-hosName:-ms-input-placeholder {
    color: #CFCFCF;
}

.search-input {
    display: inline-block;
    width: 70%;
}
.city .search-input {
    width: 30%;
}
.city .search-label-city {
    width: 6%;
    margin-left:2%;
    display: inline-block;
}

.display-none {
	display:none !important;
}

.download-search-result a {
    padding-left: 20px;
}

.search-remarks {
    position: relative;
    margin-bottom: 10px;
    line-height: 1.5;
}

.search-result,
.btn-container.search-result {
    display: none;
}

.no-record-found {
    margin-top: 20px;
}

.search-description {
    margin: 10px 0;
}

.question {
    margin-left: 5px;
    vertical-align: middle;
}


.tips {
    position: static;
    background: #ffffff;
    border-radius: 5px;
    border: 1px #cbcbcb solid;
    display: none;
    font-weight: normal;
    padding: 15px;
    width: 80%;
    z-index: 10000;
    color: #25383c;
}

.tips.show {
    display: block;
    margin: 10px auto 0 auto;
}

.btn-download {
    width: 209px;
    height: 77px;
    display: block;
    text-decoration: none;
    color: #EC1B2E;
    position: relative;
    background: url(../../images/bg-btn-download.jpg) no-repeat top left;
}

.btn-download span {
    top: 28px;
    left: 80px;
    font-size: 15px;
    display: inline-block;
    position: absolute;
}

.btn-download.three-lines-text span {
    top: 15px;
}

.btn-download span:after {
    content: '';
    display: inline-block;
    background: url(../../images/arrow/arrow-red-left.png) no-repeat;
    width: 7px;
    height: 8px;
    margin-left: 5px;
}

#hospital-list {
    margin: 10px 0;
    width: 100%;
    border: 1px solid #cfcfcf;
}

#hospital-list thead th {
    height: 22px;
    padding: 2px 0 2px 7px;
    font-weight: bold;
    border-bottom: 1px solid #cfcfcf;
}

/* .th-sequence {
    width: 12%;
} */

.th-city {
    width: 15%;
}

.th-hos-name {
    width: 45%;
}

.th-hos-address {
    width: 40%;
}

#hospital-list tr:nth-child(even) {
    background-color: #f5f5f5;
}

#hospital-list tr:nth-child(odd) {
    background-color: #fff;
}

#hospital-list td {
    padding: 10px 7px;
}

.show-more {
    font-size: 12px;
}

.show-more {
    display: inline-block;
    color: #ed1b2e;
    font-weight: bold;
    border-bottom: 2px solid #ed1b2e;
    cursor: pointer;
    margin-left: 7px;
}

.view-more {
	text-align: center !important;
}
.view-more a {
	line-height: 0.875 !important;
	border-radius: 50px;
    background-color: red;
    color: white;
}

.remarks {
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.note {
    margin-top: 20px;
}

.note~.note {
    display: none;
}

.btn-go-to-top {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 20px;
    cursor: pointer;
    z-index: 10;
}



/* GI */

.instruction {
    margin: 0 0 10px 0;
    padding-top: 20px;
}

.instruction~.instruction {
    display: none;
}

[id^="option-"] {
    display: none;
}

.download-icon {
    display: inline-block;
    vertical-align: middle;
}


.download-text {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    width: calc(100% - 56px);
    color: #ed1b2e;
    text-decoration: underline;
    line-height: 1.5;
}

.download-item {
    padding: 10px 0;
    font-size: 0;
}


/* Custom Dropdown */

.CustomDropdown,
.CustomDropdown * {
    box-sizing: border-box;
}

.CustomDropdown {
    position: relative;
    border: 1px solid #dedede;
    margin: 20px auto;
    cursor: pointer;
    -webkit-transition: margin 0.3s;
    transition: margin 0.3s;
}

.CustomDropdown .CustomDropdownTitle {
    font-size: 16px;
    padding: 15px 40px 15px 15px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.CustomDropdown select {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
}

.CustomDropdown .CustomDropdownOption {
    position: absolute;
    left: -1px;
    right: -1px;
    margin-top: 5px;
    border-radius: 10px;
    border: 1px solid #dedede;
    background-color: #fff;
    opacity: 0;
    -webkit-transform-origin: 50% 0;
    -ms-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transform: scale(0.75) translateY(-21px);
    -ms-transform: scale(0.75) translateY(-21px);
    transform: scale(0.75) translateY(-21px);
    -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    visibility: hidden;
}

.CustomDropdown:after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    width: 0;
    height: 0;
    margin-top: -5px;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: #ED1B2E transparent transparent transparent;
    pointer-events: none;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}

.CustomDropdown.CustomDropdown--open:after {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.CustomDropdown.CustomDropdown--open .CustomDropdownOption {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1) translateY(0);
    -ms-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
    z-index: 2;
}

.CustomDropdown .CustomDropdownItem:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.CustomDropdown .CustomDropdownItem {
    padding: 10px 15px 10px;
    -webkit-transition: background-color, 0.3s;
    transition: background-color, 0.3s;
}

.CustomDropdown .CustomDropdownItem:hover {
    background-color: #f6f6f6;
}

.displayNone {
	display:none;
}
#js-btn-search{float:right;}

#select-province, #select-city{
    width: 100%;
}

#select-province .subTitle{font-weight: bold;}

/* #select-province option:disabled{
	color: #25383c;
    font-family: "Arial", "Helvetica", "sans-serif", "微軟正黑體";
} */

#select-province optgroup{
	font-weight: lighter;
}

@media handheld, only screen and (max-width: 1040px) {
    .btn-col {
        float: left;
        width: auto;
        padding: 10px 15px 0 0;
    }
    .btn-col:after {
        content: "";
        visibility: hidden;
        display: block;
        height: 0;
        clear: both;
    }
    /*    .row:after {
        clear: none;
    }*/
    .content-col {
        width: 100%;
        padding: 0;
    }
    .search-description {
        margin: 20px 0;
    }
    .right-col-margin {
        margin-top: 0;
    }
}

@media only screen and (max-width: 768px) {
	
	#select-province, #select-city{
	    width: 50%;
	}

    .search-control {
        margin: 0;
    }
    .search-radio {
        width: 8%;
    }
    .search-label {
        width: 92%;
        height: auto;
        margin-bottom: 10px;
    }
    .search-input {
        display: block;
        margin-left: 8%;
        width: 92% !important;
    }
    #select-province{
        margin-bottom: 10px;
    }
    #input-hosName {
        display: block;
        width: 100%;
    }
    .btn-search {
        margin-top: 10px;
        float: right;
    }
    .search-input:after {
        content: '';
        display: block;
        clear: both;
    }
    #hospital-list thead {
        display: none;
    }
    #hospital-list tbody td {
        display: block;
        padding: 10px 0 0 10px;
    }
    #hospital-list tbody td:last-child {
        padding-bottom: 10px;
    }
    #hospital-list tbody tr {
        display: block;
        border-bottom: 1px solid #676B6E;
        padding: 5px 0;
    }
    
    .city .search-label-city {
	    margin-left: 8%;
	    margin-bottom: 10px;
	}
    
}