﻿

.pillar_box {
    width: 350px;
    background-color: #fff;
    border: 1px solid #ecf2ef;
    border-radius: 5px;
    padding: 5px;
    height: 325px;
    display: inline-block;
    margin: 5px;
    position: relative;
}

    .pillar_box:hover {
        box-shadow: rgb(167, 172, 169, 0.80) 0px 0px 8px;
        background-color:#fcfcfc;
    }

.pillar_category {
    width: fit-content;
    background-color: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 5px;
    padding: 3px;
    height: 35px;
    display: inline-block;
    margin: 2px;
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
}


    .pillar_category a {
        text-decoration: none;
        font-size: 12px;
        height: 29px;
        line-height: 20px;
        color:#686868;
        vertical-align:middle;
    }
    .pillar_category i {
        color: #b1b4b3;
    }
    .pillar_category:hover {
        background-color: #6ccb94;
        color: #fff;
    }

        .pillar_category:hover a {
            color: #fff;
        }

        .pillar_category:hover i {
            color: #fff;
        }

    .pillar_category.visited {
        background-color: #6ccb94;
        color: #fff;
    }
    .pillar_category.visited a {
        color: #fff;
    }

        .pillar_category.visited i {
            color: #fff;
        }

    .pillar_box_image {
        width: 340px;
        height: 200px;
        
    }

        .pillar_box_image img {
            width: 100%;
            height: 100%;
            border-radius: 5px;
        }

.pillar_box_title {
    width: 100%;
    height: 50px;
}

    .pillar_box_title a {
        text-decoration: none;
    }

.pillar_box_category {
    position: absolute;
    top: 10px;
    right: 0px;
    width: 120px;
    height: 20px;
    line-height: 20px;
    font-size: 0.9em;
    background-color: #6ccb94;
    color: #fff;
    border-radius: 7px 0px 0px 7px;
    text-align: center;
    display: inline-block;
}

.pillar_box_price {
    position: absolute;
    top: 150px;
    left: 10px;
    width: 50px;
    height: 50px;
    line-height: 25px;
    font-size: 1.0em;
    background-color: #ffd800;
    color: #000;
    border-radius: 3px 3px 3px 3px;
    text-align: center;
    display: inline-block;
}

.pillar_box_teacher {
    padding-top: 3px;
    width: 120px;
    height: 20px;
    text-align: left;
    float: left;
}

    .pillar_box_teacher * {
        display: inline;
        font-size: 12px;
        vertical-align: middle;
    }

.teacher_img {
    width: 25px;
    height: 25px;
}

    .teacher_img img {
        width: 25px;
        height: 25px;
        border-radius: 12px;
        border: 0px;
    }

.pillar_box_weeks {
    width: 180px;
    float: right;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    color: #6ccb94;
}

@media screen and (max-width:749px) {

    .pillar_box {
        width: 400px;
    }

    .pillar_box_image {
        width: 390px;
    }
}


.search_form {
    border: 1px solid #dadada;
    border-radius: 20px 20px 20px 20px;
    
    padding: 2px;
    width: 100%;
    max-width:600px;
    margin: auto;
    height: 40px;
    display: flex;
    background-color: #fff;
    vertical-align:middle;
}

.search {
    width: 90% !important;
    height: 36px !important;
    padding: 5px !important;
    border: 0 !important;
    margin: 0px !important;
    background-color: #fff !important;
    z-index: 100 !important;
    border-radius: 15px 15px 15px 15px !important;
    display: inline !important;
}

    .search:focus {
        outline: none !important;
    }

.search_button {
    width: 10% !important;
    height: 36px !important;
    padding: 5px !important;
    border: 0 !important;
    cursor: pointer !important;
    margin: 0px !important;
    background-color: #fff !important;
    border-radius: 15px 15px 15px 15px !important;
    z-index: 1000 !important;
    display: inline;
    text-align:center;
    vertical-align:middle;
}

    .search_button:focus {
        outline: none !important;
    }

    .search_button:hover {
        background-color: #efefef !important;
    }