/* -------------------------------------------------------------
  Sass CSS3 Mixins! The Cross-Browser CSS3 Sass Library
  By: Matthieu Aussaguel, http://www.mynameismatthieu.com, @matthieu_tweets

  List of CSS3 Sass Mixins File to be @imported and @included as you need

  The purpose of this library is to facilitate the use of CSS3 on different browsers avoiding HARD TO READ and NEVER
  ENDING css files

  note: All CSS3 Properties are being supported by Safari 5
  more info: http://www.findmebyip.com/litmus/#css3-properties

------------------------------------------------------------- */
@media (min-width: 1366px) {
    .container {
        width: 1280px;
    }
}

@media (min-width: 1440px) {
    .container {
        width: 1360px;
    }


}

@media (max-width: 1600px) {

    /*-幼研所-活動花絮-*/
    .index-activity__content .item-text,
    .index-activity__content .item-img {
        padding-top: 52%;
    }

    /*-header-*/
    .wrap,
    .wrap.page-wrap {
        padding: 152px 0 0 0;
    }

    .header {

        background-position: center 114px;

    }

    .header-content {

        height: 148px;
    }

    .header-inner {
        width: 93%;
        margin: 0 auto;
    }

    .header-top {
        position: absolute;
        right: 3.5%;
        top: 0;

        background-size: contain;
        width: 100%;
        max-width: 658px;
        height: 56px;

        padding: 0 0 10px 0;
        background-size: contain !important;
    }

    .main-nav {
        width: 100%;
        top: 62px;
        right: 3%;
        max-width: 65%;
        font-size: 1.1em;
    }

    .main-nav img {
        display: block;
        max-width: 55px;
        margin: 0 auto 6px auto;
    }

    .header-search {
        margin: 0;
        background-size: 15px !important;
        height: 39px;
        width: 39px;
    }
}

@media (max-width: 1440px) {
    .wrap {
        padding: 175px 0 0 0;
    }

    .wrap.page-wrap {
        padding: 136px 0 0 0;
    }

    .search-zone {

        padding: 65px 20px 25px 20px;
        top: 126px;

    }

    /*-廣電 重要公告-*/
    .layout06slider-deco::after {
        content: "";

        bottom: -32px;

    }

    /*-page-*/
    .page-kv .page-title {
        font-size: 1.7rem;

    }

    .page-kv {

        min-height: 123px;

    }

    /*-header-*/
    .header {
        background-size: 102% 151px;
        background-position: center 83px;
    }

    .wrap {
        padding: 134px 0 0 0;
    }

    .header .logo {
        background-size: contain !important;
        width: 285px;
        height: 67px;

    }

    .main-nav {

        top: 53px;


    }

    .header-content {
        height: 132px;
    }

    .main-nav img {
        display: block;
        max-width: 50px;
        margin: 0 auto 6px auto;
    }

    .header-top {

        font-size: 0.95rem;

        right: 3.5%;
        top: 0;

        background-size: contain;
        width: 100%;
        max-width: 625px;
        height: 54px;
        padding: 0 0 8px 0;
        background-size: contain !important;
    }
}


@media (max-width: 1366px) {
    .search-zone {
        padding: 72px 20px 18px 20px;
        top: 113px;
    }

    .index-event,
    .index-news,
    .index-announce {

        padding-bottom: 105px;

    }

    .index-section__heading {

        font-size: 1.9em;

    }

    .index-section-inner {
        margin: 0 auto;
        max-width: 980px;
        position: relative;
    }

    /*-page-*/
    .page-kv .page-title {
        font-size: 1.6rem;
    }

    .page-kv {
        min-height: 110px;
    }

    /*-幼研所-*/
    .index-event .bg-index-event-element {

        bottom: 3%;
        right: 6%;
        width: 220px;
        height: 140px;

        background-size: contain;
        z-index: 999;
    }

    /*-footer logo-*/
    .footer .footer-logo {
        margin-bottom: 10px;
        width: 255px;
        height: 60px;
    }

    .footer .footer-logo img {
        width: 100%;
    }

    /*-相關連結-*/
    .index-related-slider .slick-prev {
        left: 0;

    }

    .index-related-slider .slick-next {
        right: 0;

    }

    .index-related-slider .slick-prev,
    .index-related-slider .slick-next {
        width: 45px;
        height: 45px;
        background-size: contain;
    }

    .index-related .bg-index-related {

        background-position: left bottom;
        background-repeat: no-repeat;
        pointer-events: none;
        background-size: 405px;
    }

    .index-related-slider {
        width: 100%;
        margin: 0 auto;
        position: relative;
        padding: 15px 47px;
    }

    /*-幼研所-活動花絮-*/
    .index-activity__content .item-text,
    .index-activity__content .item-img {
        padding-top: 56%;
    }

    .item-text .main-text {
        font-size: 1.25em;
        line-height: 1.5;


        height: 66px;

    }

    /*-幼研所-最新消息-*/
    .index-news .item-content {
        width: calc(100% - 195px);
        padding-left: 40px;
        padding-top: 30px;
    }

    .index-news__list {
        max-width: 100%;

        padding: 0;
    }

    .index-news .item-image {
        width: 195px;
        overflow: hidden;
        height: 175px;
        position: relative;
    }

    .index-news .date {
        width: 85px;

        height: 82px;

        padding: 20px 0;
        font-size: 0.92rem;
        line-height: 1.4;
        margin: 0 14px 0 0;
    }

    .index-news .main-text {
        font-size: 1.3em;
        line-height: 1.4;

        font-weight: 700;
    }
}

@media (max-width: 1300px) {

    /*-重要公告-*/

    .layout06-slider-wrap .slick-slide {
        width: 53vw;
        max-width: 800px;
        padding: 45px 32px;
    }

    .layout06slider-deco-wrap {

        width: 54vw;
        max-width: 800px;

    }

    .layout06slider-deco::before {
        content: "";

        right: -33px;
        top: -44px;
        width: 100px;
        height: 50px;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .layout06slider-deco::after {
        content: "";
        bottom: 0px;
        width: 82px;
        height: 77px;
        left: -12px;
    }
}

@media (max-width: 1240px) {
    .index-section__heading {
        font-size: 1.8em;
    }

    .index-section-inner {
        margin: 0 auto;
        max-width: 80%;
        position: relative;
    }

    /*-重要公告-*/

    .layout06-slider-wrap .main-text {

        font-size: 1.2em;

        line-height: 1.5;

    }

    .layout06-slider-wrap .main-text a {

        height: 59px;

    }

    /*-幼研所-*/
    .item-text .main-text {
        font-size: 1.1em;
        line-height: 1.55;
        height: 52px;
    }

    .index-news .item-image {
        width: 185px;
        overflow: hidden;
        height: 165px;
        position: relative;
    }

    /*-header-*/
    .header-content {
        height: 125px;
    }

    .header-search {
        background-size: 13px !important;
        height: 35px;
        width: 35px;
    }

    .wrap {
        padding: 130px 0 0 0;
    }

    .header .logo {
        background-size: contain !important;
        width: 255px;
        height: 58px;
    }

    .header-inner {
        width: 95%;
        margin: 0 auto;
    }

    .header-top {
        font-size: 0.93rem;
        right: 2%;
        width: 100%;
        max-width: 595px;
        height: 51px;
        padding: 0 0 9px 0;
        background-size: contain !important;
    }

    .main-nav img {

        max-width: 46px;
        margin: 0 auto 5px auto;
    }

    .main-nav {
        right: 2%;
        max-width: 66%;
        font-size: 1em;
    }
}

@media (max-width: 1180px) {

    .header-inner,
    .footer-inner,
    .fat-footer-inner {
        width: 95%;
    }
}

@media (max-width: 1150px) {
    .fat-footer-title a {
        font-size: 1.2rem;
    }
}

@media (max-width: 1120px) {

    .index-event,
    .index-news,
    .index-announce {
        padding-bottom: 80px;
    }

    /*-重要公告-*/

    .layout06slider-deco::after {
        content: "";
        bottom: -14px;
        width: 75px;
        height: 70px;
        left: -12px;
    }

    .layout06-slider-wrap .item-content {

        padding: 25px 20px;

    }

    .layout06slider-deco::before {
        content: "";
        right: -18px;
        top: -38px;
        width: 74px;
        height: 44px;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .layout06-slider-wrap .slick-slide {
        width: 58vw;
        max-width: 800px;
        padding: 45px 32px;
    }

    .layout06slider-deco-wrap {
        width: 59vw;
        max-width: 800px;
    }

    /*-page-*/
    .wrap.page-wrap {
        padding: 80px 0 0 0;
    }

    .page-kv {
        min-height: 90px;
    }

    .page-kv .page-title {
        font-size: 1.6rem;
        top: 50%;
    }

    /*-幼研所-活動行事曆-*/
    .month-slider a {

        width: 75px;
        height: 75px;

        line-height: 73px;

        font-size: 1.7rem;

    }

    .month-slider {
        width: 580px;

    }

    /*-幼研所-最新消息-*/
    .index-news p {
        font-size: 1em;
        line-height: 1.6;
        margin: 0 0 2px 0;



    }

    .index-news .date {
        width: 78px;
        height: 77px;
        padding: 20px 0;
        font-size: 0.9rem;
        line-height: 1.4;
        margin: 0 14px 0 0;
    }

    .index-news .main-text {
        font-size: 1.25em;
        line-height: 1.55;
        letter-spacing: 0;
        font-weight: 700;
    }

    /*--*/
    .wrap {
        padding: 82px 0 0 0;
    }

    .rwd-header {
        display: block;
     
        height: 82px;
    }



    .header {
        display: none;
    }

    .main-nav-wrap {
        display: none;
    }

    /*-footer-*/
    .fat-footer-title a {
        display: block;
        font-size: 1.2rem;
    }

    .fat-footer-col {
        width: calc(100% / 2 - 6%);
        float: left;
        vertical-align: top;
        margin: 12px 3%;
        padding: 0;
        overflow: hidden;
        /* border-bottom: 1px solid #aaa; */
        text-align: left;
    }


    .fat-footer-inner {
        padding: 20px 0;
    }

    .fat-footer ul li {
        width: 100%;
        float: left;
        padding: 8px 0 0 0;
        font-size: 1rem;
    }

    .footer-info-left,
    .footer-info-right {
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 0;
    }

    .header-inner,
    .footer-inner,
    .fat-footer-inner {
        width: 90%;
    }

    .footer-inner {
        padding: 15px 0;
    }

    .footer-nav {
        padding: 0;
    }

    .footer-nav li:before {
        display: none;
    }

    .footer-nav ul li {
        width: 100%;
        display: block;
        margin: 0;
        padding: 6px 0;
        border-bottom: 1px solid #aaa;
    }

    .footer-nav ul li:first-child a,
    .footer-nav ul li a {
        border: none;
    }

    .footer .footer-logo {

        width: 255px;
        height: 60px;
        margin: 0 auto 10px auto;
    }

    .footer-nav ul li a {
        font-size: 1rem;
    }

    .back-top {
        bottom: 20px;
        right: 20px;
    }
}


@media (max-width: 1024px) {
    .header {
        min-height: 230px;
    }

    .header-top {
        right: .5%;
        width: 71%;
    }

    .main-nav {
        right: 2%;

    }

    .index-activity .item {
        width: 50%;
        padding-top: 27.5%;
    }

    /*-page-*/
    .page-kv .page-title {
        font-size: 1.45rem;
        top: 50%;
    }

    .page-kv {
        min-height: 75px;
    }

    /*-幼研所-活動行事曆-*/
    .index-event .item-table {

        max-width: 100%;

        width: 100%;
    }

    .index-event-list .slick-slide {
        width: 88%;
        width: 88vw;
        max-width: 1214px;
        padding: 0 20px;
    }

    .index-event .item-content {
        border: 5px solid #f77833;
        background-color: #fff;
        width: calc(100% - 38%);
        padding: 30px 20px;
        border-radius: 35px;
        min-height: auto;
    }
}





@media (max-width: 1000px) {
    /*-重要公告-*/

    .layout06-slider-wrap .slick-slide {
        width: 70vw;
        max-width: 800px;
        padding: 45px 32px;
    }

    .layout06slider-deco::before {
        content: "";
        right: -72px;
        top: -38px;
        width: 74px;
        height: 44px;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .layout06slider-deco::after {
        content: "";
        bottom: -4%;
        width: 75px;
        height: 70px;
        left: -72px;
    }
}


@media (max-width: 950px) {

    .index-banner-slider .slick-prev,
    .index-banner-slider .slick-next {
        width: 31px;
        height: 55px;
        background-size: contain !important;
    }

    /*-幼研所-活動花絮-*/
    .index-activity__content > a {
        flex-basis: 50%;
    }

    .index-activity .index-section-inner {
        max-width: 80%;
    }
}

@media (max-width: 900px) {

    /*-重要公告-*/
    .layout06slider-deco::after {
        content: "";

        left: -66px;
    }

    .layout06-slider-wrap .item-image {

        padding-top: 34%;

    }

}

@media (max-width: 825px) {

    /*-重要公告-*/
    .layout06-slider-wrap .item-image {
        padding-top: 36%;
    }
}

@media (max-width: 768px) {
    .index-section-inner {
        max-width: 84% !important;
    }

    /*-重要公告-*/
    .layout06slider-deco::after {
        content: "";
        left: -84px;
        width: 66px;
        height: 62px;
        bottom: -3.5%;
    }

    .layout06slider-deco::before {
        content: "";
        right: -84px;
        top: -38px;
        width: 67px;
        height: 40px;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .layout06-slider-wrap .slick-slide {
        width: 78vw;
        max-width: 800px;
        padding: 45px 28px;
    }

    /*-幼研所-活動行事曆-*/
    .index-event-element {
        bottom: 0;
    }

    .index-event .item {
        display: block;
    }

    .index-event .item-image {
        width: 60%;
        border-radius: 35px 35px 0 0;
        margin: 0 auto;
    }

    .index-event .item-content {
        padding: 35px;
        border-radius: 35px;
        width: 100%;
    }

    .index-event .index-event-tab li {
        margin: 0 10px;
    }

    .index-event .index-event-tab a {
        width: 80px;
        height: 80px;
        line-height: 80px;
    }


    .index-event .bg-index-event-element {

        display: none;
    }

    /*-幼研所-最新消息-*/
    .index-news .item-content {
        width: calc(100% - 152px);
        padding-left: 24px;
        padding-top: 0;
    }

    .index-news p {
        font-size: 0.96em;
        line-height: 22px;
        margin: 0 0 7px 0;
        height: 42px;
    }

    .index-news .item:nth-child(1) .date,
    .index-news .item:nth-child(2) .date,
    .index-news .item:nth-child(3) .date {
        border-radius: 99em;

    }

    .index-news .date {
        width: 70px;
        height: 70px;
        padding: 14px 0;
        font-size: 0.85rem;
        line-height: 20px;
        margin: 0 14px 0 0;
    }

    .index-news .item-image {
        width: 160px;
        overflow: hidden;
        height: 145px;
        position: relative;
    }

    .index-news .item-content {
        width: calc(100% - 164px);
        padding-left: 24px;
        padding-top: 0;
    }

    .index-news .main-text {
        font-size: 1.15em;
        line-height: 1.55;
        letter-spacing: 0;
        font-weight: 700;
    }

    /*-more-*/
    .layout01-idnex-more a {
        font-size: 1rem;

        padding: 12px 35px;

    }
}

@media (max-width: 767px) {
    .index-section__heading {
        font-size: 1.65em;
    }

    /*-footer圖-*/
    .index-related {

        padding: 30px 0 125px;

    }

    .index-related .bg-index-related {
        background-position: left bottom;
        background-repeat: no-repeat;
        pointer-events: none;
        background-size: 325px;
        left: -20px;
    }

    /*-幼研所-活動行事曆-*/
    .month-slider .slick-prev,
    .month-slider .slick-next {

        width: 12px;
        height: 20px;

        background-size: contain !important;
    }

    .month-slider {
        width: 500px;
    }

    .month-slider a {
        width: 68px;
        height: 68px;
        line-height: 69px;
        font-size: 1.4rem;
    }

    .index-event-list .slick-slide {
        padding: 0 22px;
        width: 80%;
        width: 80vw;
    }

    .index-event .item {
        display: block;
    }

    .index-event .item-image {
        width: 90%;
        border-radius: 20px 20px 0 0;
        margin: 0 auto;
        position: relative;

        padding-top: 36%;
        overflow: hidden;
        background-color: #fff;
    }

    .index-event .item-image img {
        width: 100%;
        max-width: inherit;
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translateX(-50%) translateY(-50%);
        -khtml-transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
        -o-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
        width: 100%;
    }

    .index-event .item-content {
        border: 3px solid #f77833;
        padding: 20px;
        border-radius: 20px;
        min-height: inherit;
        width: 100%;
    }

    .index-event .item-table {
        border: 2px solid #ffdd7b;
    }

    .index-event .item-row {
        border-bottom: 1px solid #ffdd7b;
    }

    .index-event .item-row__header {
        font-size: 1.000em;
    }

    .index-event .item-row__content {
        font-size: 0.875em;
    }

    .index-event .main-text {
        font-size: 1.125em;
    }


    .index-event .index-event-tab li {
        margin: 0 5px;
    }

    .index-event .index-event-tab a {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.125em;
    }

    .index-event .index-event-tab a span {
        font-size: 0.750em;
    }

    .index-event .index-event-tab a:before {
        bottom: -5px;
        border-width: 6px 5px 0 5px;
    }

    .index-activity .item .main-text {
        font-size: 1.125em;
    }

    .index-activity .item .sub-text {
        font-size: 0.875em;
    }



    .index-related-slider .slick-prev,
    .index-related-slider .slick-next {
        width: 36px;
        height: 36px;
    }

    .index-related .slide-item {
        padding: 10px;
        text-align: center;
    }

    .index-related .slide-item img {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.07);
    }
}

@media (max-width: 700px) {

    /*-重要公告-*/
    .layout06slider-deco::before {
        content: "";
        right: -84px;
        top: -29px;
        width: 67px;
        height: 40px;

    }

    .layout06slider-deco::after {
        content: "";
        left: -81px;
        width: 66px;
        height: 62px;
        bottom: 2%;
    }
}

@media (max-width: 640px) {

    /*-重要公告-*/

    .layout06slider-deco::before,
    .layout06slider-deco::after {
        display: none;

    }

    .layout06-slider-wrap .main-text {
        font-size: 1.15em;
        line-height: 1.4;
    }

    .layout06-slider-wrap .main-text a {
        height: 49px;
    }

    .layout06-slider-wrap .slick-slide {
        width: 86vw;
        max-width: 800px;
        padding: 18px;
    }

    .index-announce .index-event-month {

        padding-bottom: 0;
    }

    .index-announce .layout01-idnex-more {

        margin: 30px 0 0 0;
    }
}

@media (max-width: 580px) {

    /*-幼研所-*/
    .back-top {

        width: 53px;
        height: 52px;

    }

    .index-news .text-block {
        width: calc(100% - 86px);
    }

    .index-news .date {
        width: 65px;
        height: 65px;
        padding: 12px 0;
        font-size: 0.8rem;
        line-height: 19px;
        margin: 0 14px 0 0;
    }

    .index-news .item-image {
        width: 150px;
        overflow: hidden;
        height: 135px;
        position: relative;
    }

    .index-section-inner {
        max-width: 86% !important;
    }

    .index-section__heading {
        font-size: 1.65em;
        margin: 20px 0;
    }

    .index-activity .index-section-inner {
        max-width: 100% !important;
    }

    .item-text .main-text {
        font-size: 1.05em;
        line-height: 1.6;
        margin: 0;
        height: 54px;
    }

    .footer .footer-logo {
        width: 226px;
        height: 52px;

    }

    .month-slider {
        width: 350px;
    }

    .index-event-list .slick-slide {
        padding: 0 22px;
        width: 84%;
        width: 84vw;
    }
}


@media (max-width: 480px) {
    .index-banner-wrapper:after {
        content: "";

        bottom: -10px;

    }

    /*-more-*/
    .layout01-idnex-more a {
        font-size: 0.94rem;
        padding: 10px 28px;
    }

    /*-重要公告-*/
    .layout06-slider-wrap .slick-slide {
        width: 95vw;
        max-width: 800px;
        padding: 18px;
    }

    .layout06-slider-wrap .main-text {
        font-size: 1em;
        line-height: 1.55;
    }

    .layout06-slider-wrap .date {

        font-size: 0.98em;

    }

    .layout06-slider-wrap .main-text a {
        height: 47px;
    }

    /*-幼研所-*/
    .index-section__heading {
        font-size: 1.55em;
        margin: 20px 0;
    }

    .footer .footer-logo {
        width: 206px;
        height: 47px;
    }

    .index-related .slide-item img {

        max-width: 260px;

    }

    .index-related .bg-index-related {

        display: none;
    }

    .index-related {
        padding: 40px 0;
    }

    .index-news .item-image {
        width: 135px;
        overflow: hidden;
        height: 120px;
        position: relative;
    }

    .index-event-list .slick-slide {
        padding: 0 5px;
        width: 88%;
        width: 88vw;
    }

    .index-news .item-content {
        width: calc(100% - 134px);
        padding-left: 16px;
        padding-top: 0;
    }

    .index-news .text-block {
        width: calc(100% - 76px);
    }

    .index-news .main-text {
        font-size: 1em;
        line-height: 1.65;
        letter-spacing: 0;
        font-weight: 700;
    }

    .index-event,
    .index-news,
    .index-announce {
        padding-bottom: 40px;
    }

    .fat-footer-col {
        width: 100%;

        margin: 9px 0;

    }
}

@media (max-width: 400px) {
    .rwd-nav-switch {

        right: 4%;

        width: 28px;

    }

    .rwd-header .rwd-logo {
        width: 210px;

        left: 4%;
    }

    /*-幼研所-*/
    .item-text .main-text {
        font-size: 1em;


    }

    .month-slider a {
        width: 60px;
        height: 60px;
        line-height: 59px;
        font-size: 1.2rem;
    }

    .index-section-inner {
        max-width: 88% !important;
    }

    .month-slider {
        width: 94%;
    }

    .index-activity .item-img img,
    .index-activity .item-text img {


        width: 102%;
        height: 101%;
    }

    .index-activity__content .item-text,
    .index-activity__content .item-img {
        padding-top: 64%;
    }

    /*-最新消息-*/
    .index-news .item:first-child,
    .index-news .item:nth-child(2),
    .index-news .item:nth-child(3) {

        display: inline-block;
        width: 100%;
    }

    .index-news .item-content {
        width: 100%;
        padding: 0;
        /* padding-top: 0; */
    }

    .index-news .item-image {
        width: 180px;
        overflow: hidden;
        height: 160px;
        position: relative;
        margin: 0 auto 13px auto;
    }
}

@media (max-width: 400px) {
    .layout06-slider-wrap .slick-slide {
        width: 97vw;
        max-width: 800px;
        padding: 15px;
    }

}