
@import url("../fonts/flaticon/flaticon.css");
@import url("revise.css");
@import url("header.css");
@import url("footer.css");
@import url("banner.css");


/*========================================================
                      	 基本設定
=========================================================*/

.h2-title {
    font-weight: bold;
    color: #834a00;
    font-size: 2.4rem;
    margin-bottom: 30px;
}

.content-wrap {
    background: #f5f3ee url("../img/index/content-bg.jpg") repeat-x center top;
    padding-top: 60px;
    padding-bottom: 120px;
}


/*========================================================
                         課程類別
=========================================================*/

.category {
    padding: 0 40px;
}
.category-title {
    font-weight: bold;
    color: #834a00;
    font-size: 2.4rem;
}
.category-subtitle {
    font-weight: normal;
    color: #000;
    font-size: 1.4rem;
    margin-bottom: 40px;
}
.category-info {
    color: #834a00;
}

.category .slider {
    margin-left: -20px;
    margin-right: -20px;
    padding-bottom: 80px;
}
.category-item {
    margin: 0 20px 10px;
    position: relative;
}
.category-item img {
    width: 100%;
    vertical-align: bottom;
}
.category-item-img {
    position: relative;
    margin: 0;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #fff;
    background-color: #f0f4f8;
    overflow: hidden
}
.category-item-img:hover {
    color: #fff
}
.category-item-img:hover .category-item-mask {
    opacity: 1;
    visibility: visible
}
.category-item-img:hover .category-item-mask::after {
    height: 100%
}
.category-item-img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}
.category-item-mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: .625rem 1rem;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    font-size: 1rem;
    font-weight: 700;
    transition: all .3s
}
.category-item-mask::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 50px;
    width: 100%;
    background-color: rgba(0, 0, 0, .5);
    transform: translateY(-50%);
    transition: all .3s
}
.category-item-mask span {
    position: relative;
    display: block;
    z-index: 2;
    border: 1px solid #fff;
    padding: 5px 30px;
}
.category-item-info {
    text-align: left;
    padding: 20px 0;
}
.category-item-info h4 {
    font-weight: bold;
    font-size: 1.6rem;
    margin: 10px 0;
}
.category-item-info p {
    margin: 0;
    line-height: 28px;
}
.category-btn {
    text-align: center;
}
.category-btn a {
    display: inline-block;
    color: #000;
    padding: 5px 5%;
    border: 1px solid #a2a2a2;
    font-size: 1rem;
}
.category-btn a:hover {
    color: #fff;
    background-color: #0870c9;
}

/* 尺寸設定 */
@media (min-width: 768px) {
    .category .slider {
        padding-bottom: 40px;
    }
}
@media (min-width: 992px) {
    .category .slider {
        padding-bottom: 40px;
    }
}



/*========================================================
                         意見表單
=========================================================*/

.opinion-form h2 {
    font-weight: bold;
}
.opinion-form form {
    background-color: #fff;
    boc-shadow: 1px 1px 1px #fff;
    padding: 50px 60px;
}
.opinion-form label {
    font-weight: bold;
    font-size: 1.1rem;
}
.opinion-form .form-control {
    background-color: #f1f1f1;
    border-radius: 0;
    border: 1px solid #f1f1f1;
}
.opinion-form .btn {
    outline: 1px solid #000;
    border: 1px solid #fff;
    border-radius: 0;
    background-color: #000;
}


/*========================================================
                         課程內容
=========================================================*/

.class-wrap {
    background: url("../img/class-bg.jpg") repeat left top;
    padding-bottom: 100px;
}
.class-wrap h2 {
    margin-top: 60px;
}
.class-detail {
    min-height: 600px;
}

.btn-list > div {
    margin-left: 20px;
    margin-bottom: 20px;
}
.btn-list .button {
    position: relative;
    display: inline-block;
    vertical-align: top;
    height: 36px;
    line-height: 35px;
    padding: 0 20px;
    font-size: 1rem;
    color: white;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 -1px rgb(0 0 0 / 40%);
    background-clip: padding-box;
    border: 1px solid;
    border-radius: 2px;
    cursor: pointer;
    -webkit-box-shadow: inset 0 1px rgb(255 255 255 / 10%), inset 0 0 0 1px rgb(255 255 255 / 8%), 0 1px 2px rgb(0 0 0 / 25%);
    box-shadow: inset 0 1px rgb(255 255 255 / 10%), inset 0 0 0 1px rgb(255 255 255 / 8%), 0 1px 2px rgb(0 0 0 / 25%);
}
.btn-list .button-red {
    background: #d5452f;
    border-color: #ae3623 #ae3623 #992f1f;
    background-image: -webkit-linear-gradient(top, #da5c48, #d5452f 66%, #c73d28);
    background-image: -moz-linear-gradient(top, #da5c48, #d5452f 66%, #c73d28);
    background-image: -o-linear-gradient(top, #da5c48, #d5452f 66%, #c73d28);
    background-image: linear-gradient(to bottom, #da5c48, #d5452f 66%, #c73d28);
}
.btn-list .button-red:hover {
  background: #d5452f;
  border-color: #992f1f #ae3623 #ae3623;
}
.btn-list .button-gray {
    background: #47494f;
    border-color: #2f3034 #2f3034 #232427;
    background-image: -webkit-linear-gradient(top, #55585f, #47494f 66%, #3d3f44);
    background-image: -moz-linear-gradient(top, #55585f, #47494f 66%, #3d3f44);
    background-image: -o-linear-gradient(top, #55585f, #47494f 66%, #3d3f44);
    background-image: linear-gradient(to bottom, #55585f, #47494f 66%, #3d3f44);
}
.btn-list .button-gray:hover {
  background: #47494f;
  border-color: #232427 #2f3034 #2f3034;
}
    
    