﻿/*school detail start*/

.school {
    background-color: #fafafa;
    margin-bottom:10px;
}


.school .school-logo {
    width: 100px;
    float: left;
    margin-right: 10px;
}

.school .school-logo img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.school .school-info {
float: left;
width:50%;
/*white-space: nowrap;
text-overflow: ellipsis;
-ms-text-overflow: ellipsis;
-o-text-overflow: ellipsis;*/
}

.school .school-info .line1 {
    margin-bottom: 10px;
    *zoom: 1;
}

.school .school-info .line1 .cname {
    font-size: 28px;
    display: inline-block;
    line-height: 30px;
}

.school .school-logo .website {
    display: block;
    border: 1px solid #31a3f0;
    padding: 0 5px;
    color: #31a3f0;
    height: 20px;
    line-height: 20px;
    text-align: center;
    position: relative;
    top: -2px;
    font-size: 14px;
    border-radius: 2px;
    background-color: #f7f8f9;
    margin: 0 auto;
}

.school .school-info .line1 .ename {
    font-size: 14px;
    color: #999;
    margin-right: 10px;
}

.school .school-info .line2 {
    margin-bottom: 10px;
    *zoom: 1;
}

.school .school-info .line2 .area {
    color: #999;
    float: left;
    font-size: 14px;
    margin-right: 20px;
}


.school-content {
    *zoom: 1;
    margin-bottom: 40px;
}

.school-intro {
    margin-top: 30px;
    *zoom: 1;
}


.school-intro .title {
    font-size: 24px;
    border-bottom: 1px solid #e2e8ee;
    line-height: 44px;
    margin-bottom: 7px;
    color: #333;
}

.school-intro .content {
    margin-bottom: 20px;
    float: left;
    *zoom: 1;
}

.school-intro .content .form-list {
    float: left;
    width: 50%;
    font-size: 16px;
    padding: 6px 0;
}

.school-intro .content .form-list .form-item {
    width: 100%;
    display: inline-block;
}

.school-intro .content .form-list label {
    color: #999;
    float: left;
    height: 100%;
    font-weight: 500;
}

.school-more {
    *zoom: 1;
    margin-top: 20px;
}

.school-more .title {
    font-size: 18px;
    line-height: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.school-more .title span {
    margin-right: 20px;
    color: #32a3ef;
}

.school-more .content {
    margin-top: 20px;
    text-indent: 2em;
}

.school .school-rank .rank-list {
    position: relative;
    *zoom: 1;
}

.school .school-rank .rank-list .rank-box {
    float: left;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background-color: #fff;
    padding: 10px;
    text-align: center;
    position: relative;
    margin-top: 10px;
}

.school .school-rank .rank-list .rank-box .rank {
    font-size: 18px;
    font-weight: bold;
    color: #ff8726;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
}

.school .school-rank .rank-list .rank-box .type {
    font-size: 14px;
}

.school .school-rank .btnSeek {
    display: block;
    width: 100%;
    height: 36px;
    line-height: 36px;
    background-color: #ff8726; /*#fd9b27*/
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #fff;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    margin: 10px 5px 0 0;
}
.slick {
    background-color:#fafafa;
}

.slick-arrow {
    z-index: 1030;
}

.slick-prev:before, .slick-next:before {
    font-size: 36px;
}

.slick-prev {
    left:10px;
}
.slick-next {
    right: 30px;
}

.slick-slide img{
    width:auto;
}


/* Media queries */
@media(min-width:767px) {
    .school {
        padding: 20px 25px 25px;
    }

    .school .school-rank {
        float: right;
    }

    .school .school-rank .rank-list .rank-box {
        width:100px;
    }

    .school .school-rank .rank-list .rank-box:nth-of-type(2) {
        margin-left: 10px;
    }

    .slick-slide img {
        height: 180px;
    }

    #slick2 .slick-slide img {
        height: 333px !important;
    }

    .modal-img .modal-dialog {
        width: 530px !important;
    }

}

@media(max-width:768px) {

    .school {
        padding: 10px;
    }
    .school .school-rank {
        float: left;
        width: 100%;
    }
    .school .school-rank .rank-list .rank-box {
        width: 100%;
    }

    .school .school-info {
        width: -webkit-calc(100% - 110px);
        width: -moz-calc(100% - 110px);
        width: calc(100% - 110px);
    }

    .slick-slide img {
        height: 120px;
    }

    #slick2 .slick-arrow {
        display:none;
    }

    #slick2 .slick-slide img {
        width: 100% !important;
        height: auto !important;
    }
}
