/*樣式boxA by PeggyH 20160729 start*/

body,html {
    /* important
    height: 100%;*/
}
/*CMS*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  line-height: 1.2;
}

hr {
  border: 0;
  border-top: 1px solid #ccc;
}

img.right {
  border: 1px solid #ccc;
  float: right;
  margin-left: 15px;
  padding: 5px;
}

img.left {
  border: 1px solid #ccc;
  float: left;
  margin-right: 15px;
  padding: 5px;
}

.marker {
  background-color: Yellow;
}


h6 {
  font-weight: 700;
  font-size: 1.5em;
  margin-bottom: 30px;
}

/*CMS*/
abbr[title] {
    text-decoration: none;
    border-bottom: none;
    cursor: help;
    margin: 0;
    padding: 0 8px 0 0;
    font-size: 1em;
    font-weight: normal;
    color: #F00;
}

.fixed-bg {
    min-height: 70vh;
    background-size: cover;
    background-attachment: fixed;
    /*畫面不滾動*/
    background-repeat: no-repeat;
    background-position: center center;
}
.fixed-bg.bg-0 {
    position: relative;
    background-image: url(../images/boxes/cover_DT.jpg);
}
.fixed-bg.bg-1 {
    position: relative;
    background-image: url(../images/boxes/part_1_DT.jpg);
}

.fixed-bg.bg-2 {
    position: relative;
    background-image: url(../images/boxes/part_2_DT.jpg);
}

.fixed-bg.bg-3 {
    position: relative;
    background-image: url(../images/boxes/part_3_DT.jpg);
}
.fixed-bg.bg-33 {
    position: relative;
    background-image: url(../images/boxes/part_3_DT.jpg);
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#b3dced+0,29b8e5+50,bce0ee+100;Blue+Pipe */

    background: rgb(179, 220, 237);
    /* Old browsers */

    background: -moz-linear-gradient(-45deg, rgba(179, 220, 237, 1) 0%, rgba(41, 184, 229, 1) 50%, rgba(188, 224, 238, 1) 100%);
    /* FF3.6-15 */

    background: -webkit-linear-gradient(-45deg, rgba(179, 220, 237, 1) 0%, rgba(41, 184, 229, 1) 50%, rgba(188, 224, 238, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */

    background: linear-gradient(135deg, rgba(179, 220, 237, 1) 0%, rgba(41, 184, 229, 1) 50%, rgba(188, 224, 238, 1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#b3dced', endColorstr='#bce0ee', GradientType=1);
    /* IE6-9 fallback on horizontal gradient */
}

.fixed-bg.bg-4 {
    position: relative;
    background-image: url(../images/boxes/part_4_DT.jpg);
}

.fixed-bg.bg-5 {
    position: relative;
    background-image: url(../images/boxes/part_5_DT.jpg);
}

.fixed-bg.bg-6 {
    position: relative;
    background-image: url(../images/boxes/part_6_DT.jpg);
}

.scrolling {
    /*min-height: 50vh;*/

    padding: 20px 0;
    position: relative;
}

.scrolling .wrapper {
    /*text-align: left;*/
    margin: 20px auto;
    max-width: 1200px;
    width: 100%;
    /*position: absolute;
  top:50%;
  left: 50%;
  transform:translate(-50%,-50%);*/
}

/*區塊控制*/
.scrolling.bg01 {
    background: url(../images/boxes/bg-01.svg) top -200px center repeat-y;
    background-attachment: fixed;
}
.scrolling.bg02 {
    background: #3fbfcc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    position: relative;
}
.scrolling.bg02 div {
    position: relative;
    z-index: 2;
}
.scrolling.bg02::before ,.scrolling.bg02::after {
    content: '';
    width: 50%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
}
.scrolling.bg02::before {
    background: url('../images/boxes/bg.jpg') center center /auto 100% no-repeat;
    opacity: 0.4;
    z-index: 1;
}
.scrolling.bg02::after {
    background: #145E63;
    z-index: 0;
}
.scrolling.bg03 {
    background: url('../images/boxes/bg-02.png')repeat;
}
.scrolling.bg03 div {
    margin-bottom: 0;
}
iframe.map {
    width: 100%;
    height: 350px;
    border: 0;
}
.scrolling.bg04 {
    background: url(../images/boxes/bg-03.svg) top -200px center repeat-y, #3fbfcc;
    background-attachment: fixed;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    position: relative;
    margin-top: -5px;
    z-index: 1;
}
.scrolling.bg05 {
    background: url(../images/boxes/bg-04.svg) right -50px bottom -50px no-repeat, #727272;
    position: relative;
}
.scrolling.bg05 ul li, .scrolling.bg05 p {
    color: #ffffff;
    padding-top: 5px;
    padding-bottom: 5px;
}

.scrolling.bg05 b {
    font-weight: normal;
    color: yellow;
}
.scrolling.bg06 {
    padding-bottom: 4%;
}
.scrolling.bg06 h2 {
    font-size: 36px;
    font-weight: normal;
    letter-spacing: 1px;
}
.scrolling.bg06 h2::before {
    display: none;
}
.scrolling.bg06 h2 span {
    color:#ed4e28;
}
.scrolling.bg06 a {
    color: #333333;
    font-size: 20px;
    transition: 0.3s;
    display: block;
}
.scrolling.bg06 a img {
    width: 100%;
    height: auto;
    transition: 0.3s;
}
.scrolling.bg06 a span {
    font-size: 18px;
}
.scrolling.bg06 a:hover img {
    transform: scale(1.1);
}

.scrolling h1 {
    font-weight: 500;
    line-height: 1.8;
    margin: 0px 40px;
}

.scrolling h2 {
    color: #191919;
    font-size: 42px;
    font-weight: 1000;
    line-height: 1.8;
    letter-spacing: 0.5px;
    margin: 50px 40px 40px;
    position: relative;
}

.scrolling h2.white {
    color: #ffffff ;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.16);
}

.scrolling h2::before {
    content: '';
    width: 80px;
    height: 5px;
    display: block;
    background: #ed4e28;
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
}

.scrolling h3 {
    color: #E03F19;
    font-size: 18px;
    font-weight: 500;
    margin: 0px 40px;
    line-height: 1.8;
}

.scrolling h5 {
    color: #E03F19;
    font-weight: 500;
    line-height: 1.8;
    margin: 60px 40px 0px 40px;
}

.scrolling p {
    letter-spacing: 1.2px;
    line-height: 1.8;
    font-size: 24px;
    font-weight: 400;
    padding: 20px 0px;
    text-align: justify;
    margin: 0px 40px 0px 40px;
    /*color: #191919;*/
}
.scrolling p.size28 {
    font-size: 28px;
}
.scrolling p.size26 {
    font-size: 26px;
}
.scrolling p.size24 {
    font-size: 24px;
}
.scrolling p.size22 {
    font-size: 22px;
}
.scrolling p.title {
    background: #3fbfcc;
    color: #ffffff;
    padding: 5px 10px;
    font-size: 22px;
    display: inline-block;
}
.scrolling p.title1 {
  color: #505ccf;
  padding: 6px 10px 12px 50px;
  margin: 5px 0;
  font-size: 24px;
  font-weight: bold;
  background: url('../images/boxes/icon-chart.png') 0 center/40px no-repeat;
}
.scrolling p.title2 {
  color: #505ccf;
  padding: 6px 10px 12px 50px;
  margin: 5px 0;
  font-size: 24px;
  font-weight: bold;
  background: url('../images/boxes/icon-five.png') 0 center/40px no-repeat;
}
.scrolling p.title3 {
  color: #505ccf;
  padding: 6px 10px 12px 50px;
  margin: 5px 0;
  font-size: 24px;
  font-weight: bold;
  background: url('../images/boxes/icon-grid.png') 0 center/40px no-repeat;
}
.scrolling p.title4 {
  color: #505ccf;
  padding: 6px 10px 12px 50px;
  margin: 5px 0;
  font-size: 24px;
  font-weight: bold;
  background: url('../images/boxes/icon-robot.png') 0 center/40px no-repeat;
}
.scrolling p.text-shadow {
    text-shadow: 0 0 5px rgba(255, 255, 255, 1);
    font-size: 22px;
}

.scrolling p.note {
    font-size: 18px;
    padding: 0 0 20px 0px;
    margin: 0;
    color: #777777;
    text-align: center;
}

.scrolling p.text-link-pink{
	border: #ffe8b6 2px solid;
	border-radius: 10px;
	margin-top: 20px;
	padding: 16px 16px;
	background-color:#fffbf0;

}

.scrolling p.text-link-blue{
	border: #a5afeb 2px solid;
	border-radius: 10px;
	margin-top: 20px;
	padding: 16px 16px;
	background-color:rgba(77,99,218,0.1);

}

.scrolling ul, ol {
    list-style-type: none;
    padding-left: 0;
}

/*講座內容清單*/
.scrolling ul li {
    letter-spacing: 1.2px;
    line-height: 2em;
    font-size: 20px;
    font-weight: 400;
    padding: 10px 0 10px 25px;
    text-align: justify;
    margin: 0 40px;
    color: #191919;
    position: relative;
}
.scrolling ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    display: block;
    background: #f57171;
    border-radius: 50%;
    position: absolute;
    top: 31px;
    left: 5px;
}
#declaration.scrolling ul li::before {
  display: none;
}
.scrolling ul li span {
    font-size: 24px;
    display: block;
    margin: 5px 0;
}

/*價錢*/
.price {
    padding: 2% 0;
}
.price h3 {
    color: #ed4e28;
    font-size: 30px;
    font-weight: bold;
    font-family: 'Josefin Sans', 'NotoSansTC';
    display: inline-block;
    padding: 10px 40px 0;
    border: 1px solid #ed4e28;
    letter-spacing: 1.5px;
}
.price h3 span {
    font-size: 46px;
    display: inline-block;
    margin: 0 10px;
    line-height: 1.2em;
    vertical-align: middle;
}
.price h3 b {
    font-size: 24px;
    font-style: normal;
    font-weight: normal;
    text-decoration:line-through;
    display: inline-block;
}
.price p {
    padding: 5px 0;
}
.price p.border-b {
    display: inline-block;
    padding: 0 10px;
    margin: 10px 0 5px;
    background-image: linear-gradient(transparent 60%, rgba(255, 255, 0, 1) 50%)
}
.price p.success {
    font-weight: bold;
}
.price p.success i {
    color: #ed4e28;
}

.price02 h3 {
    color: #ffffff;
    font-size: 30px;
    font-weight: bold;
    font-family: 'Josefin Sans', 'NotoSansTC';
    display: inline-block;
    padding: 10px 5px 0;
    letter-spacing: 1.5px;
}
.price02 h3 span {
    color: #ed4e28;
    font-size: 46px;
    display: inline-block;
    margin: 0 10px;
    line-height: 1.2em;
    vertical-align: middle;
}
.price02 h3 b {
    font-size: 24px;
    font-style: normal;
    font-weight: normal;
    text-decoration:line-through;
    display: inline-block;
}
.price02 p {
    padding: 5px 0;
    margin: 0 5px;
    color: #ffffff;
    font-family: 'Josefin Sans', 'NotoSansTC';
}
.price02 p.success {
    font-weight: bold;
}
.price02 p.success i {
    color: #ed4e28;
    display: inline-block;
    padding: 0 5px;
}
/*講座資訊*/
ol.location li {
    font-size: 22px;
    color: #191919;
    line-height: 1.6em;
    padding: 10px 0 10px 40px;
    letter-spacing: 1px;
}
ol.location li:nth-child(1) {
    background: url('../images/boxes/calendar-alt-regular.png') 0 18px no-repeat;
}
ol.location li:nth-child(2) {
    background: url('../images/boxes/search-location-solid.png') 0 18px no-repeat;
}

/*活動報名*/
.forms .row {
    margin: 0;
    overflow-x: hidden;
}
.forms p {
    width: 100%;
    margin: 0;
    padding: 10px 0;
    color: #ffffff;
}

.forms label {
    color: #ffffff;
    font-size: 20px;
    width: 25%;
    display: inline-block;
    margin: 0;
    vertical-align: top;
}
.forms .w  label{
  width: 50%;
}
.forms .w-100 .input-box label {
    width: auto;
}
.forms .input-box select {
    background: url(../images/theme/icon-select.svg) no-repeat right 15px center /10px, #ffffff;
    -webkit-appearance: none;
}
.forms .input-box {
  width: 74%;
  display: inline-block;
  padding: 0 0 40px;
  position: relative;
}
.forms .w .input-box{
  width: 49%;
}
.forms .input-box.is-invalid .invalid-feedback {
    display: block;
}
.forms .input-box .date {
    width: 100%;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: 0 0 0 6%;
}
.forms .input-box .date div {
    width: 31%;
    display: inline-block;
}
.forms .input-box .date div:last-child {
    width: 100%;
    display: none;
}
.forms .input-box .date.is-invalid {
    border-color: #dc3545;
}
.forms .input-box .date.is-invalid div:last-child {
    display: block;
}
.forms .input-box .date select {
    height: 36px;
    background: none;
    border: none;
    text-align-last: center;
    padding: 0 5px;
}
.forms input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0 10px 0 0;
}
.forms .btn {
    display: block;
    background: #ed4e28;
    width: 80%;
    height: auto;
    max-width: 300px;
    margin: 0 auto;
    border-radius: 40px;
    font-size: 30px;
    font-weight: bold;
    transition: 0.3s;
}
.forms .btn:hover {
    transform: scale(1.1);
}
.invalid-feedback {
    width: 100% !important;
    position: absolute;
    left: 5px;
    bottom: 15px;
    margin: 0;
    font-size: 16px;
    color: #dc3545;
}
.form-check-input {
    margin-top: 8px;
    margin-left: -1.1rem;
    width: 15px;
    height: 15px;
}
/*講座方式*/
.lecture01 {
    border: 1px solid #ffffff;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ed4e28;
    border-radius: 10px;
    padding: 2% 4%;
    margin: 2% 0 0;
}
.lecture01 p {
    padding: 0 0 10px;
    font-size: 18px;
    text-align: left;
    color: #191919;
}
.lecture01 p span {
    font-size: 16px;
}
.lecture01 img {
    padding: 0 !important;
    margin: 0 10px 0;
    display: inline-block;
    vertical-align: sub;
}
.lecture01 iframe {
    padding: 15px 0 0;
    border-top: 1px solid #ed4e28 !important;
}

.calendar {
  display: inline-block;
  font-size: 28px;
}
.vue-add-to-calendar {
  font-size: 12px!important;
  font-weight: bold!important;
  background-color: #FFF;
  font-family: 'Josefin Sans', 'NotoSansTC'!important;
  padding: 5px 5px;
  color: #0056b3;
  border: 1px solid #5123cf!important;
  letter-spacing: 1.5px!important;
  margin: 10px 10px;
}

@media screen and (max-width: 768px) {
    .forms .w-100 label, .forms .w-100 .input-box {
        width: 100%;
    }
    .forms .w-100 .input-box {
        padding-top: 10px;
    }
}
@media screen and (max-width: 600px) {
  .calendar {
    font-size: 18px;
  }
    .scrolling .wrapper {
        width: 95%;
    }

    .fixed-bg {
        min-height: 50vh;
        background-size: cover;
        background-attachment: scroll;
        /*畫面不滾動*/
        background-repeat: no-repeat;
        background-position: center center;
    }

    .fixed-bg.bg-0 {
        position: relative;
        background-image: url(../images/boxes/cover_M.jpg);
    }
    .fixed-bg.bg-1 {
        position: relative;
        background-image: url(../images/boxes/part_1_M.jpg);
    }
    .fixed-bg.bg-2 {
        position: relative;
        background-image: url(../images/boxes/part_2_M.jpg);
    }

    .fixed-bg.bg-3 {
        position: relative;
        background-image: url(../images/boxes/part_3_M.jpg);
    }

    .fixed-bg.bg-33 {
        position: relative;
        background-image: url(../images/boxes/part_3_M.jpg);
        /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#b3dced+0,29b8e5+50,bce0ee+100;Blue+Pipe */

        background: rgb(179, 220, 237);
        /* Old browsers */

        background: -moz-linear-gradient(-45deg, rgba(179, 220, 237, 1) 0%, rgba(41, 184, 229, 1) 50%, rgba(188, 224, 238, 1) 100%);
        /* FF3.6-15 */

        background: -webkit-linear-gradient(-45deg, rgba(179, 220, 237, 1) 0%, rgba(41, 184, 229, 1) 50%, rgba(188, 224, 238, 1) 100%);
        /* Chrome10-25,Safari5.1-6 */

        background: linear-gradient(135deg, rgba(179, 220, 237, 1) 0%, rgba(41, 184, 229, 1) 50%, rgba(188, 224, 238, 1) 100%);
        /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

        filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#b3dced', endColorstr='#bce0ee', GradientType=1);
        /* IE6-9 fallback on horizontal gradient */
    }

    .fixed-bg.bg-4 {
        position: relative;
        background-image: url(../images/boxes/part_4_M.jpg);
    }

    .fixed-bg.bg-5 {
        position: relative;
        background-image: url(../images/boxes/part_5_M.jpg);
    }

    .fixed-bg.bg-6 {
        position: relative;
        background-image: url(../images/boxes/part_6_M.jpg);
    }

    .scrolling h1 {
        font-weight: 500;
        line-height: 1.4;
        margin: 20px 0;
    }

    .scrolling h2 {
        font-size: 30px;
        font-weight: 1000;
        margin: 40px auto 30px auto;
    }

    .scrolling h3 {
        font-size: 18px;
        font-weight: 500;
        margin: 0px auto;
        line-height: 1.8;
    }

    .scrolling h5 {
        font-weight: 500;
        margin: 0px auto;
        line-height: 1.8;
    }

    .scrolling img {
        padding: 10px 0;
    }

    .scrolling p {
        letter-spacing: 1.2px;
        line-height: 1.8;
        font-size: 18px;
        font-weight: 400;
        padding: 10px 0px;
        text-align: justify;
        margin: 0px auto 0px auto;
        color: #191919;
    }
    .scrolling p.size28 {
        font-size: 24px;
    }
    .scrolling p.size26 {
        font-size: 22px;
    }
    .scrolling p.size24 {
        font-size: 20px;
    }
    .scrolling p.size22 {
        font-size: 18px;
    }
    .scrolling p.title {
        font-size: 18px;
    }
    /*價錢*/
    .price h3 {
        font-size: 26px;
    }
    .price h3 span {
        font-size: 38px;
    }
    .price h3 b {
        font-size: 22px;
    }
    .price02 h3 {
        font-size: 24px;
    }
    .price02 h3 span {
        font-size: 40px;
    }
    .price02 h3 b {
        font-size: 20px;
    }
    .price02 p  {
        color: #ffffff;
    }
    /*講座內容清單*/
    .scrolling ul li {
        font-size: 18px;
        margin: 0 10px;
        padding: 5px 0 5px 20px;
    }
    .scrolling ul li::before {
        top: 25px;
        left: 0;
    }
    .scrolling ul li span {
        font-size: 20px;
    }
    /*講座資訊*/
    ol.location li {
        font-size: 18px;
    }

    .scrolling p.note {
        font-size: 16px;
    }
    .scrolling ul, ol {
        padding-left: 0px;
    }
    .intro_2 {
        font-size: 20px;
    }
    .forms label {
        font-size: 18px;
        padding: 0 0 5px;
    }
    .forms label, .forms .input-box {
        width: 100%;
    }
    .forms .btn {
        font-size: 24px;
    }
    .scrolling.bg06 h2 {
        font-size: 30px;
    }
    .scrolling.bg05 ul li::before {
        top: 21px;
    }
}

@media screen and (max-width: 414px) {
    .scrolling h2 {
        font-size: 28px;
        margin: 30px auto 20px;
    }
    .scrolling p.size28 {
        font-size: 20px;
    }
    .scrolling p.size26 {
        font-size: 18px;
    }
    .scrolling p.size24 {
        font-size: 18px;
    }
    .scrolling p.size22 {
        font-size: 16px;
    }
    .scrolling p.title {
        font-size: 16px;
    }
    /*價錢*/
    .price h3,.price02 h3 {
        font-size: 22px;
    }
    .price h3 span, .price02 h3 span {
        font-size: 36px;
    }
    .price h3 b, .price02 h3 b {
        font-size: 18px;
    }
    .price02 h3 {
        padding: 10px 0 0;
    }
    .scrolling.bg06 h2 {
        font-size: 22px;
    }
    .scrolling.bg06 a img {
        width: 90%;
        margin: 0 auto;
    }
    .scrolling.bg06 a {
        font-size: 16px;
    }
}

.vue-add-to-calendar {
  font-size: 12px!important;
  font-weight: bold!important;
  background-color: #FFF;
  font-family: 'Josefin Sans', 'NotoSansTC'!important;
  /* padding: 5px 5px; */
  color: #0056b3;
  border: 1px solid #5123cf!important;
  letter-spacing: 1.5px!important;
  margin: 10px 2px;
}
.price {
  color: #ed4e28!important;
  font-size: 30px!important;
  font-weight: bold!important;
  font-family: 'Josefin Sans', 'NotoSansTC'!important;
  padding: 10px 40px 0!important;
  border: 1px solid #ed4e28!important;
  letter-spacing: 1.5px!important;
}

.price::after {
    content:"\a";
    white-space: pre;
}
p.price  {
  font-size: 46px;
  display: inline-block;
  margin: 0 10px;
  line-height: 1.2em;
  vertical-align: middle;
}
.price s {
  font-size: 24px;
  font-style: normal;
  font-weight: normal;
  text-decoration: line-through;
  display: inline-block;
}
.border-b, p.border-b {
  display: inline-block!important;
  padding: 0 10px!important;
  margin: 10px 0 5px!important;
  background-image: linear-gradient(transparent 60%, rgba(255, 255, 0, 1) 50%)
}
.border-b::before , p.border-b::before {
    content:"\a";
    white-space: pre;
}

.topic, p.topic {
  background: #3fbfcc;
  color: #ffffff;
  padding: 5px 10px;
  font-size: 22px;
  display: inline-block;
  font-weight: 400;
}

