html {
    font-size: 17px;
}
body{
	position: relative;
	font-family: 'Noto Sans TC', sans-serif, "微軟正黑體";
    font-weight: bold;
}
section {
    margin: 30px 0;
    min-height: 100%;
}
strong{
    font-size: 17px;
}
a {
	text-decoration: none;
	color: #122851;
}
a:hover{
	color: #3D83E8;
	text-decoration: none;
}
#login_message {
	font-size: 15px;
	font-family: Arial;
	color: #ff0052;
	font-weight: bold;
}
h1, h3{
    order: -1;
    color: #212529;
    position: relative;
    font-size: 26px;
    font-weight: bold;
	text-align: center;
    padding: 0 10px 10px;
    margin-bottom: 15px;
}
h1:before, h3:before{
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    background: rgba(38, 78, 142, 0.5);
    bottom: 0;
    left: 0;
}
h1:after, h3:after{
    position: absolute;
    content: url("../images/title_bg.png");
    bottom: 0;
    right: 0;
    transform: translateX(95%);
}
h1{
    font-size: 30px;
    width: auto;
    font-weight: normal;
}
h4{
	color: #122851;
	font-weight: bold;
	font-size: 30px;
	background: #CFE4F9;
	text-align: center;
}
h5{
	font-weight: bold;
	font-size: 16px;
	text-align: center;
}
ul,li{
	list-style: none;
    padding: 0;
}
p{
	margin: 0;
}
label{
    margin: 7px 0 0;
}
.bgMenu{
    position: relative;
	margin-bottom: 2%;
}
.bgMenu .container{
    margin: 0;
    padding: 0;
}
.bgCover{
    width: 100%;
}
.img-fluid{
	width: 100%;
}
.header{
	height: 40px;
    width: 100%;
	position: relative;
}
.header ul {
    padding: 0 30px;
}
.header .menu .active>.nav-link, .header .menu .nav-link.active, .header .menu .nav-link.show, .header .menu .show>.nav-link {
	color: #FFDC35;
}
.input-group>.input-group-append>.btn,.input-group>.custom-select:not(:first-child), .input-group>.form-control:not(:first-child),.form-control{
    border-radius: 5px;
    border: 1px solid #B2C8DF;
}
.text-white{
    color: #fff;;
}
.form-group{
    display: flex;
    align-items: center;
    margin-bottom: 0;
}
.form-control:focus {
    box-shadow: none;
    border: 1px solid #ced4da;
}
.form-control{
    height: 45px !important;
    border-radius: 5px;
    width: 100%;
}
#basic-addon1{
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border: 1px solid #B2C8DF;
}
.menu{
    /*隱藏選單開始*/
    max-height: 0px;
    overflow: hidden;
    /*隱藏選單結束*/
    transition: max-height 2.3s;
    margin-top: 1px;
    /*絕對定位疊在網頁上*/
    position: absolute;
    z-index: 100;
    top: 100%;
    left: 0;
    right: 0;
    background: #18356B;
    padding-left: 0px;
    width: 100%;
}
.menu li{
    border-bottom: 1px dashed rgba(255,255,255,0.5);
}
.menu li a{
    font-weight: bold;
    display: block;
    color: #fff;
    padding: 1em;
    text-decoration: none;
    transition: all 0.3s;
}
.menu li a:hover{
    color: #3D83E8;
}
.showmenu{
    display: block;
    float: right;
    margin: 0 1em;
    padding: 10px;
}
/*jQ點擊後動態在 body 加上 class */
.menu-show .menu{
    max-height: 800px;
}
.imgTop {
    position: fixed;
    right: 2%;
    bottom: 5%;
}
.top a {
    background: rgba(38, 78, 142, 0.8);
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    display: none;
}

/* news.php */
.img_box{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.img_box .img-fluid{
    width: 100%;
    height: 100%;
}
.btn-blue{
    background: rgba(38, 78, 142, 0.8);
    color: #fff;
}
.btn-blue:hover{
    background: rgba(38, 78, 142, 0.9);
    color: #fff;
}
@media(min-width: 400px) and (max-width: 500px){
    .bgCover{
        width: 100%;
    }
}
@media(min-width: 500px) and (max-width: 768px){
    .container{
		padding: 0px;
	}
    .bgCover{
        width: 100%;
    }
}
@media(min-width: 768px) and (max-width: 1024px){
    section {
        margin: 50px 0;
    }
    h1{
        font-size: 40px;
    }
    h3 {
        font-size: 25px;
    }
    h5{
        font-size: 17.5px;
    }
    label{
        font-size: 17px;
    }
    .form-group{
        justify-content: end;
    }
    .navbar-brand {
        margin-left: 36%;
    }
    .bgCover {
        margin-bottom: 6%;
    }
    .header{
		display: flex;
        justify-content: end;
        top: 100%;
    }
    .header .menu .active>.nav-link, .header .menu .nav-link.active, .header .menu .nav-link.show, .header .menu .show>.nav-link {
        color: #FFDC35;
    }
}
@media(min-width:1024px){
    section {
        margin: 50px 0;
        position: relative;
    }
    h1{
        font-size: 42.5px;
    }
    h5{
        font-size: 19px;
		margin-left: -36%;
    }
    h3{
        font-size: 30px;
    }
    label{
        font-size: 17px;
    }
    .form-control {
        height: 40px !important;
    }
    .bgCover{
        width: 100%;
        text-align: center;
    }
    .bgMenu .container {
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
    }
	.img-fluid{
		width: 60%;
	}
    .header{
        display: flex;
        justify-content: center;
        text-align: center;
    }
    .navbar-brand{
        margin-left: 50px;
    }
    .header .menu .active>.nav-link, .header .menu .nav-link.active, .header .menu .nav-link.show, .header .menu .show>.nav-link {
        color: #fff;
		background-color: rgba(38, 78, 142, 0.8);
		border-radius: 0.25rem;
    }
    .header ul {
        padding: 0;
        display: flex;
        justify-content: center;
    }
    .menu{
        float: right;
        overflow: visible;
        position: static;
        margin-top: 10px;
        width: auto;
    }
    .menu li{
        border: none;
    }
	.menu li + li{
		margin-left: 9px;
	}
    .menu li a{
        display: block;
        color: #1E448A;
        padding: 10px;
        text-decoration: none;
        font-weight: bold;
    }
    .menu li a:hover{
        color: #3D83E8;
    }
    .showmenu{
        display: none;
    }

	.form-inline .form-group{
		justify-content: end;
	}
}