﻿.lecture-box{
    width: 100%;
    display: block;
    position: relative;
    font-size: 0;
    box-sizing: border-box;
    padding-top: 93px;
    min-height: 100vh;
    background-color: rgba(253, 142, 127, 0.05);
}
.lecture-all-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 80px 0;
}
.lecture-info {
    width: 360px;
    display: inline-block;
    vertical-align: top;
    margin-right: 60px;
}
.lecture-info:nth-child(3n) {
    margin-right: 0;
}
.lecture-info:nth-child(n + 4) {
    margin-top: 60px;
}
.lecture-info-img-box {
    position: relative;
    display: block;
}
.lecture-info-img {
    width: 100%;
    height: 300px;
    display: block;
    overflow: hidden;
}
.lecture-info-date-box {
    box-sizing: border-box;
    padding: 8px;
    background-color: #22bdc1;
    position: absolute;
    bottom: -15px;
    right: -15px;
    transition: all .3s linear;
}
.lecture-info-date{
    display: block;
    font-size: 16px;
    font-family: "roboto";
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.001em;
    line-height: 1.6;
}
.lecture-info-text-box {
    margin-top: 25px;
}
.lecture-info-title {
    font-size: 20px;
    display: block;
    font-family: "Noto Sans TC";
    font-weight: 700;
    color: #fd8d7f;
    letter-spacing: 0.06em;
    transition: all .3s linear;
}
.lecture-info-text {
    font-size: 16px;
    font-family: "Noto Sans TC";
    font-weight: 300;
    letter-spacing: 0.06em;
    color: #666;
    line-height: 1.8;
    margin-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: all .3s linear;
}
.lecture-info-more {
    font-size: 16px;
    font-family: "Noto Sans TC";
    color: #666;
    margin-top: 15px;
    transition: all .3s linear;
}



.lecture-pages-path-box {
    box-sizing: border-box;
    margin-bottom: 60px;
}
.lecture-pages-path {
    font-family: "Roboto","Noto Sans TC";
    font-weight: 300;
    color: #666;
    font-size: 16px;
    line-height: 30px;
    letter-spacing: 0.06em;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    transition: all .3s linear;
}
a.lecture-pages-path {
    color: #000;
    margin-right: 40px;
}
a.lecture-pages-path:first-child {
    font-weight: 400;
}
a.lecture-pages-path::after {
    content: "/";
    font-family: "Noto Sans TC";
    font-weight: 300;
    color: #ddd;
    display: block;
    position: absolute;
    left: calc(100% + 16px);
    top: 0;
    line-height: 24px;
}
.lecture-pages-info-date{
    height: 33px;
    display: inline-block;
    vertical-align: middle;
    box-sizing: border-box;
    padding: 5px 8px;
    background-color: #22bdc1;
    font-size: 16px;
    font-family: "roboto";
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.06em;
    line-height: 1.8;
}
.lecture-pages-info-title{
    font-family: "Noto Sans TC";
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #fd8d7f;
    font-size: 28px;
    line-height: 1.4;
    margin-top: 10px;
}
.lecture-pages-info-img{
    margin-top: 20px;
}
.lecture-pages-info-edit{
    font-size: 16px;
    color: #666;
    font-family: "Noto Sans TC";
    line-height: 2;
    box-sizing: border-box;
    padding: 20px 0;
}
.lecture-pages-form-box{
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
    font-size: 0;
    display: block;
    margin-top: 80px;
}
.lecture-pages-form-title-box{
    text-align: center;
}
.lecture-pages-form-title{
    font-size: 24px;
    color: #fd8d7f;
    font-family: "Noto Sans TC";
    line-height: 2;
    box-sizing: border-box;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}
.lecture-pages-form-date{
    font-size: 16px;
    font-family: "roboto";
    font-weight: 300;
    color: #666;
    letter-spacing: 0.06em;
    line-height: 1.8;
}
.lecture-pages-form-session{
    font-size: 18px;
    color: #000;
    font-family: "Noto Sans TC";
    line-height: 1.2;
    box-sizing: border-box;
    letter-spacing: 0.06em;
}
.lecture-pages-form-info-box{
    margin-top: 40px;
    box-sizing: border-box;
    border-top: 1px solid #ddd;
}
.lecture-pages-form-info{
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}
.lecture-pages-form-info-title{
    width: 200px;
    display: inline-block;
    vertical-align: top;
    font-size: 18px;
    color: #666;
    font-family: "Noto Sans TC";
    font-weight: 300;
    box-sizing: border-box;
    letter-spacing: 0.06em;
    line-height: 50px;
}
.lecture-pages-form-info-input{
    width: calc(100% - 200px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding: 0 15px;
    border: none;
    line-height: 50px;
    height: 50px;
    background-color: rgba(253, 142, 127, 0.2);
    font-size: 16px;
    color: #000;
    font-family: "Noto Sans TC";
    letter-spacing: 0.06em;
    transition: all .3s linear;
}
.lecture-pages-form-info-textarea{
    width: calc(100% - 200px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding: 10px 15px;
    border: none;
    line-height: 30px;
    height: 200px;
    background-color: rgba(253, 142, 127, 0.2);
    font-size: 16px;
    color: #000;
    font-family: "Noto Sans TC";
    resize: none;
    letter-spacing: 0.06em;
    transition: all .3s linear;
}
.lecture-pages-form-info-button{
    width: calc(100% - 200px);
    display: block;
    box-sizing: border-box;
    border: none;
    line-height: 50px;
    margin: 20px 0;
    margin-left: auto;
    background-color: #fd8d7f;
    font-size: 20px;
    color: #fff;
    font-family: "Noto Sans TC";
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all .3s linear;
}

.lecture-pages-form-select{
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    padding: 10px 15px;
    border: none;
    line-height: 30px;
    height: 50px;
    background-color: rgba(253, 142, 127, 0.2);
    font-size: 16px;
    color: #000;
    font-family: "Noto Sans TC";
    resize: none;
    letter-spacing: 0.06em;
    transition: all .3s linear;
    -webkit-appearance: none; /*Chrome*/
    -moz-appearance: none; /*FF*/
    appearance: none;/*CSS3*/
}
.lecture-pages-form-select-box{
    position: relative;
    width: calc(100% - 200px);
    display: inline-block;
    vertical-align: top;
}
.lecture-pages-form-select-box:after{
    content: 'none';
    font-size: 0;
    width: 0px;
    height: 0px;
    margin: 0 auto;
    border-right: 8px solid transparent;
    border-top: 10px solid #555;
    border-left: 8px solid transparent;
    display: block;
    position: absolute;
    right: 10px;
    top: 20px;
    pointer-events: none;
}


@media only screen and (max-width: 1240px){
    .lecture-box{
        padding-top: 65px;
    }
    .lecture-all-box{
        width: 960px;
    }
    .lecture-info {
        width: 300px;
        margin-right: 30px;
    }
    .lecture-info-img{
        height: calc((300 / 360) * 300px);
    }
}
@media only screen and (max-width: 1000px){
    .lecture-all-box{
        width: 710px;
    }
    .lecture-info {
        width: 230px;
        margin-right: 10px;
    }
    .lecture-info-img{
        height: calc((300 / 360) * 230px);
    }
    .lecture-info-date-box{
        bottom: -5px;
        right: -5px;
    }
    .lecture-pages-path-box{
        display: none;
    }
}
@media only screen and (max-width: 768px){
    .lecture-all-box{
        width: 400px;
        padding: 40px 0;
    }
    .lecture-info:nth-child(n) {
        width: 400px;
        margin: 0 auto;
        display: block;
        margin-bottom: 20px;
    }
    .lecture-info-img{
        height: calc((300 / 360) * 400px);
    }
    .lecture-info-date-box{
        bottom: 0;
        right: 0;
    }
    .lecture-pages-form-info-title{
        width: 100%;
        display: block;
        line-height: 1;
        margin-bottom: 10px;
    }
    .lecture-pages-form-info-input{
        width: 100%;
        display: block;
    }
    .lecture-pages-form-info-textarea{
        width: 100%;
        display: block;
    }
    .lecture-pages-form-info-button{
        width: 100%;
        display: block;
    }
    .lecture-pages-form-select-box{
        width: 100%;
    }
}
@media only screen and (max-width: 550px){
    .lecture-all-box{
        width: 95vw;
        padding: 20px 0;
    }
    .lecture-info:nth-child(n) {
        width: 100%;
        margin: 0 auto;
        display: block;
        margin-bottom: 10px;
    }
    .lecture-info-img{
        height: calc((300 / 360) * 95vw);
    }
    .lecture-info-text-box{
        margin-top: 5px;
    }
    .lecture-info-title{
        font-size: 16px;
    }
    .lecture-info-text{
        font-size: 14px;
        line-height: 1.4;
    }
    .lecture-info-more{
        margin-top: 5px;
        font-size: 14px;
    }
    .lecture-info-date-box{
        padding: 5px;
    }
    .lecture-info-date{
        font-size: 14px;
        line-height: 1.4;
    }

    .lecture-pages-info-date{
        font-size: 12px;
        height: 26px;
        padding: 4px 4px;
    }
    .lecture-pages-info-title{
        font-size: 18px;
    }
    .lecture-pages-info-img {
        margin-top: 10px;
    }
    .lecture-pages-info-edit{
        font-size: 14px;
        line-height: 1.4;
        padding: 10px 0;
    }
    .lecture-pages-form-box{
        margin-top: 40px;
    }
    #contact .lecture-pages-form-box{
        margin-top: 20px;
    }
    .lecture-pages-form-title{
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 5px;
    }
    .lecture-pages-form-date{
        font-size: 14px;
    }
    .lecture-pages-form-session{
        font-size: 16px;
    }
    .lecture-pages-form-info-box{
        margin-top: 20px;
    }
    .lecture-pages-form-info-title{
        font-size: 16px;
    }
    .lecture-pages-form-info{
        padding: 10px 0;
    }
    .lecture-pages-form-info-input{
        padding: 0 10px;
        line-height: 30px;
        height: 30px;
    }
    .lecture-pages-form-info-textarea{
        height: 120px;
        padding: 5px 10px;
        line-height: 20px;
    }
    .lecture-pages-form-info-button{
        line-height: 30px;
        font-size: 16px;
    }
    .lecture-pages-form-select{
        padding: 0 10px;
        height: 30px;
    }
    .lecture-pages-form-select-box:after{
        border-right: 5px solid transparent;
        border-top: 8px solid #555;
        border-left: 5px solid transparent;
        top: 12px;
    }
}



@media only screen and (min-width: 1001px){
    .lecture-info:hover .main-bg{
        transform: scale(1.1);
    }
    .lecture-info:hover .lecture-info-date-box{
        bottom: 0;
        right: 0;
    }
    .lecture-info:hover .lecture-info-more{
        color: #22bdc1;
    }

    a.lecture-pages-path:hover{
        color: #fd8d7f;
    }

    .lecture-pages-form-info:hover .lecture-pages-form-info-input,
    .lecture-pages-form-info:hover .lecture-pages-form-info-textarea{
        box-shadow: 0 0 10px rgba(253, 142, 127, 0.35);
    }
    .lecture-pages-form-info-input:focus,
    .lecture-pages-form-info-textarea:focus{
        background-color: rgba(253, 142, 127, 0.4);
    }
    .lecture-pages-form-info-button:hover{
        background-color: #22bdc1;
    }

    .lecture-info,
    .lecture-pages-path-box,
    .lecture-pages-info-date,
    .lecture-pages-info-title,
    .lecture-pages-info-img,
    .lecture-pages-info-edit,
    .lecture-pages-form-title-box,
    .lecture-pages-form-info,
    .button button{
        opacity: 0;
    }
    .lecture-info.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .lecture-pages-path-box.anima{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .lecture-pages-info-date.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .lecture-pages-info-title.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .lecture-pages-info-img.anima{
        animation: fade 1s ease 0s 1 both;
    }
    .lecture-pages-info-edit.anima{
        animation: fade 1s ease 0s 1 both;
    }
    .lecture-pages-form-title-box.anima{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .lecture-pages-form-info.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .button.anima button{
        animation: fadeInLeft 1s ease 0s 1 both;
    }
}