/* Reset Code */


/*=========================================================
	Banner 
=========================================================*/

.indexBanner img {
    width: 100%;
    height: auto;
}

/*--responsive media-quries--*/
@media (max-width: 820px) {
    .indexBanner {
        margin: 70px 0 0 0;
    }

}

@media (max-width: 768px) {
    .indexBanner {
        margin: 65px 0 0 0;
    }

}

@media (max-width: 600px) {
    .indexBanner {
        margin: 55px 0 0 0;
    }
}

@media (max-width: 550px) {}

@media (max-width: 480px) {}

/*============================================================== 
     服務項目 
============================================================== */
.ServiceItems {
    padding: 2em 0 6em;
}

.ServiceItems-text {
    margin-bottom: 2em;
    text-align: center;
}

.ServiceItems-text p {
    background: -webkit-gradient(linear, bottom top, bottom top, from(#1D999F), to(#054123));
    background: linear-gradient(90deg, #1D999F 35%, #054123 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    text-shadow: none;
    text-decoration: none;
    margin: 0;
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-weight: 500;
}

.ServiceItems-text p span {
    display: block;
}

.ServiceItems-grid {
    float: left;
    width: 33.33333332%;
    padding: 15px;
}

.ServiceItems-grid img {
    float: left;
    width: 100%;
    height: 350px;
  object-fit: cover;
}

.ServiceItems-textBox {
    float: left;
    width: 100%;
    padding: 15px;
}

.ServiceItems-textBox h3 {
    color: #292C34;
    margin: 1em 0 0;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.ServiceItems-textBox p {
    color: #333;
    margin: .5em 0;
    font-size: 16px;
    font-weight: 400;
}

/*-- responsive-media --*/

@media (max-width: 1366px){
  .ServiceItems-grid img {
    height: 244px;
}
} 
@media (max-width: 1180px){
  .ServiceItems-grid img {
    height: 207px;
}
} 
@media (max-width: 1024px){
  .ServiceItems-grid img {
    height: 177px;
}
} 
@media (max-width: 820px) {
    .ServiceItems-grid img {
    height: 176px;
}
    .ServiceItems {
        padding: 1em 0;
    }

    .ServiceItems-text {
        margin: 1em 0;
        padding: 0 1em;
    }
}
@media (max-width: 768px) {
    .ServiceItems-grid img {
    height: 167px;
}
    }
@media (max-width: 720px) {
    .ServiceItems-grid img {
    height: 155px;
}
    }
@media (max-width: 640px) {
    .ServiceItems-text {
        margin: .8em 0;
    }

    .ServiceItems-text p {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .ServiceItems-textBox h3 {
        margin: .5em 0 0;
        font-size: 1.5em;
    }

    .ServiceItems-textBox p {
        margin: .5em 0;
        font-size: 1rem;
    }

    .ServiceItems-grid {
        width: 100%;
    }
}
@media (max-width: 550px) {
    .ServiceItems-grid img {
    height: auto;
}
    }
@media (max-width: 480px) {
    .ServiceItems-text {
        margin: 1.2em 0;
    }

}

@media (max-width: 400px) {
    .ServiceItems-text p {
        font-size: 1rem;
    }
}

@media (max-width: 320px) {
    .ServiceItems-text {
        margin: 2em 0;
    }

}

/*-- //responsive-media --*/



/*============================================================== 
     協會簡介
============================================================== */
.team {
    background: #F4F4F4;
    padding: 6em 0 6em 0;
}

.team h4 {
    margin: 0 0 1.5em;
    color: #292C34;
    font-size: 36px;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}

.group-img {
    float: left;
    width: 45%;
}

.group-img img {
    width: 100%;
}

.group-text {
    float: left;
    width: 45%;
    margin-left: 5%;
}

.group-text h3 {
    color: #1D999F;
    margin: 0 0 1em;
    font-size: 24px;
}

.group-text p {
    color: #333;
    margin: 0;
    font-size: 1rem;
    line-height: 25px;
}


/*-- responsive-media --*/
@media (max-width: 1024px) {
    .group-img {
        width: 100%;
        margin-bottom: 1em;
    }

    .group-img img {
        width: 80%;
        margin: 0 10% 1em 10%;
    }

    .group-text {
        width: 100%;
        margin-left: 0;
    }

}

@media (max-width: 820px) {
    .team {
        padding: 3em 0;
    }

    .group-text h3 {
        margin: 0 0 .5em;
        font-size: 20px;
    }

}

@media (max-width: 640px) {
    .team h4 {
        margin: 0 0 1em;
        font-size: 30px;
    }

    .group-text p {
        line-height: 25px;
    }

}

@media (max-width: 480px) {
    .team h4 {
        font-size: 27px;
    }

}

@media (max-width: 320px) {
    .team {
        padding: 2em 0 0;
    }

    .team h4 {
        font-size: 25px;
    }

    .group-text h3 {
        margin: 0.5em 0 .5em;
        font-size: 18px;
    }

    .group-text p {
        line-height: 21px;
        font-size: 13px;
    }

}

/*-- //responsive-media --*/



/*==============================================================
	課程與活動資訊
==============================================================*/
.CourseActivities-info {
    padding: 6em 0;
}

.grids-info {
    transition: 0.3s ease-in;
    display: block;
    height: 100%;
    background: var(--bg-color);
    box-shadow: 0px 9px 24px 5px rgb(0 0 0 / 4%);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color-light);
    position: relative;
}

.grids-info img {
    width: 100%;
    height: 275px;
    object-fit: cover;
    display: block;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}
.grids-info h4{
  font-size: 1.5rem;
}
.card-body {
    flex: 1 1 auto;
    padding: 1rem 1rem;
}

.infoBox {
    padding: 25px 20px 20px;
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.grids h6.date i,
.grids a.post i {
    color: #f8b34b;
}

.grids-info h4 a {
    font-size: 1.3rem;
    color: var(--heading-color);
    display: block;
    font-weight: 500;
    margin-top: 15px;
}

.grids h6.date,
.grids a.post {
    font-size: 15px;
    color: var(--font-color);
    font-weight: 500;
}

.single-desc {
    margin: 15px 0 120px;
    color: #828B93;
}

.single-desc p {
    font-size: 1rem;
    line-height: 25px;
}

.single-price {
    margin: 2em 0 3.5em;
    width: 100%;
    padding: 0 20px;
    position: absolute;
    right: 0px;
    bottom: 20px;
    line-height: 25px;
    color: #97999B;
    text-align: right;
}

.single-price span {
    font-size: 2em;
    color: #B4070C;
    font-weight: lighter;
    font-style: italic;
}

.single-price span-s {
    font-size: 1em;
    color: #B4070C;
    font-weight: lighter;
    font-style: italic;
}

.applyBtuBox {
    width: 100%;
    padding: 0 20px;
    position: absolute;
    left: 0px;
    bottom: 20px;
}

.applyBtu {
    display: inline-block;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    padding: 8px 20px;
    font-size: 16px;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    outline: none;
    border: none;
    background: linear-gradient(to right, #06979c, #054123);
    transition: all 1.8s ease-in-out;
    width: 100%;
}

.applyBtu:hover {
    color: #fff;
    background: linear-gradient(to right, #054123, #06979c);
}


/*--responsive media-quries--*/
@media (max-width: 1366px){
  .grids-info img {
    height: 191px;
  }
}
@media (max-width: 1280px){
  .grids-info img {
    height: 191px;
  }
}
@media (max-width: 1180px){
  .grids-info img {
    height: 163px;
  }
}
@media (max-width: 1024px){
  .grids-info img {
    height: 140px;
  }
.grids-info h4{
  font-size: 1.3rem;
}
}

@media (max-width: 820px) {
    .CourseActivities-info {
        padding: 3em 0;
    }
  .grids-info img {
    height: 288px;
  }
    .grids-info h4 a {
        font-size: 1.2rem;
    }
}
@media (max-width: 768px) {
   .grids-info img {
    height: 275px;
  }
}
@media (max-width: 575px) {
   .grids-info img {
    height: 390px;
  }  
  }
@media (max-width: 480px) {
    .grids-info h4 a {
        font-size: 22px;
        line-height: 30px;
    }   
  .grids-info img {
    height: 350px;
  }
}
@media (max-width: 450px) {
  .grids-info img {
    height: 310px;
  }
}
@media (max-width: 420px) {
  .grids-info img {
    height: 300px;
  }
}

/*--responsive media-quries--*/

/*==============================================================
	contact
==============================================================*/
.contact {
    padding: 6em 0 3em;
    background: #f7f7f7;
}

.contact-Add {
    flex: 0 0 auto;
    width: 34%;
}

.contact-Tel {
    flex: 0 0 auto;
    width: 26%;
}

.contact-Email {
    flex: 0 0 auto;
    width: 38%;
}

.contact-info h4 {
    font-size: 20px;
    color: var(--heading-color);
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.contact-info p {
    font-size: 16px;
    color: var(--heading-color);
}

.contact-info i {
    font-size: 40px;
    background: -webkit-gradient(linear, bottom top, bottom top, from(#1D999F), to(#054123));
    background: linear-gradient(90deg, #1D999F 35%, #054123 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    text-shadow: none;
    text-decoration: none;
}

.form-inner-cont {
    max-width: 760px;
}

.form-inner-cont input,
.form-inner-cont textarea {
    outline: none;
    width: 100%;
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--heading-color);
    height: 50px;
    padding: 12px;
    -webkit-appearance: none;
    background: var(--bg-light);
    border: 1px solid var(--border-color-light);
    border-radius: 4px;
}

.form-inner-cont input:focus,
.form-inner-cont textarea:focus {
    border: 1px solid #f54748;
}

.form-inner-cont textarea {
    min-height: 130px;
    resize: none;
}

.map iframe {
    width: 100%;
    min-height: 400px;
    -webkit-filter: var(--iframe-filter);
    -moz-filter: var(--iframe-filter);
    -ms-filter: var(--iframe-filter);
    -o-filter: var(--iframe-filter);
    filter: var(--iframe-filter);
}

@media (max-width: 820px) {
    .contact {
        padding: 3em 0 1em;
        background: #f7f7f7;
    }

    .map iframe {
        width: 100%;
        min-height: 300px;
    }

    .contact-info h4 {
        margin: 10px 0 3px 0;
    }

    .form-inner-cont {
        width: 90%;
    }

    .form-inner-cont input,
    .form-inner-cont textarea {
        margin-bottom: 20px;
    }

    .contact-Add,
    .contact-Tel {
        flex: 0 0 auto;
        width: 50%;
        margin: 2em 0;
    }

    .contact-Email {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (max-width: 600px) {

    .contact-info {
        margin: 1em 0;
    }

    .contact-info i {
        font-size: 35px;
    }

    .form-inner-cont input,
    .form-inner-cont textarea {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .contact-info p {
        font-size: 15px;
    }

    .form-inner-cont input,
    .form-inner-cont textarea {
        margin-bottom: 10px;
    }
}

@media (max-width: 420px) {
    .contact-info {
        width: 100%;
    }
}


/* //contact section */