﻿/*------------------------------------*\
   school guide box
\*------------------------------------*/



#schoolView-popular, #schoolView-recent,#schoolView-list {
    float: left;
    width: 100%;
}


.school-categorey-header {
    text-align: right;
    display: table;
    margin: 17px 0px;
}

.school-categorey-header h4 {
    font-size: 215%;
    display: table-cell;
    margin: 0px;
    float: none;
    text-align: left;
}

/*.school-categorey-header a {
    display: table-cell;
    margin: 0px;
    float: none;
    text-align: right;
    vertical-align: bottom;
    font-size: 135%;
}*/

.school-categorey-header-link {
    display: inline-block;
    margin: 0px;
    float: none;
    position: relative;
    background: #4A4A4A;
    padding: 2px 13px;
    color: #fff !important;
    text-decoration: none !important;
    cursor: pointer;
    margin-right: 16px;
    text-align: center;
    font-size: 16px;
}

.school-categorey-header-link:after {
    content: "";
    position: absolute;
    top: 0px;
    right: -13px;
    width: 0;
    height: 0;
    border-top: 13px solid transparent;
    border-left: 13px solid #4a4a4a;
    border-bottom: 13px solid transparent;
}


.guideBox-container {
    margin-bottom: 20px;
}


.guideBox-image-container {
    background-size: cover;
    width: 100%;
    padding-bottom: 76.7%;
    background-repeat: no-repeat;
    background-position: center;
    position:relative;
}

.guideBox-play-container {
    position: absolute;
    top: 50%;
    transform: translate3d(-50%,-50%,0);
    -webkit-transform: translate3d(-50%,-50%,0);
    left: 50%;
    color: #fff;
    height: 80px;
    width: 80px;
    text-align: center;
    background: #6BC6E1;
    border-radius: 100%;
}

.guideBox-play-container i {
    line-height: 80px;
    margin-left: 8%;
}

.guideBox-title {
    font-size: 190%;
    display: block;
    margin: 0px;
    float: left;
    width: 100%;
    text-align: left;
    margin-top: 5px;
    line-height: 1;
}

@media(max-width:767px){.guideBox-title{font-size:150%} .guideBox-content { display: none; } }

.guideBox-content {
    font-size: 110%;
    margin-top: 10px;
}

.guideBox-desc a {
    display: inline-block;
    margin-top: 10px;
    color:inherit;
}


@media(max-width: 992px) {
    #schoolView-recent .guideBox-container:last-child, 
    #schoolView-popular .guideBox-container:last-child {
        width: 100%;
    }
}


.guideBox:hover .guideBox-title {
   color:#FF6600;
}

/*.guideBox-image-container:hover {
    opacity: 0.7;
}*/

.guideBox:hover .guideBox-image-container {
    opacity: 0.7;
}