.modal {
    width: auto !important;
    max-width: 1200px !important;
    max-height: 800px !important;

}

.schdetail-page-head {
    background-position: center;
    min-height: 495px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://www.findingschool.net/theme/fs/img/1_1.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.schdetail-score-total {
    color: #fff;
}

.schdetail-school-name a {
    text-shadow: 0px 3px 5px #000;
}

/*
gallery css
*/
/*学校tab透明背景*/
.dark-trans-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.carousel-inner img {
    max-height: 400px;
}

/*关闭全部图片*/
#hide_gallery_img {
    position: absolute;
    color: #fff;
    cursor: pointer;
    z-index: 6;
    margin-top: 10px;
    margin-left: -28px;
}

.hide_gallery_img {
    position: absolute;
    margin-left: -150px !important;
    margin-top: 10px;
    padding-right:10px;
    color: #fff;
    z-index: 1005;
    width:100%;
    text-align: right;
}

/*查看全部图片*/
#show_gallery_img {
    position: absolute;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    margin-left: 30px;
    margin-top: 182px;
    width: 173px;
    color: #fff;
    text-align: center;
    height: 35px;
    padding-top: 8px;
    cursor: pointer;
}

/*全部图片大图*/
#gallery_video {
    width: 97%;

    margin: 0 auto;
    margin-top: 105px;
    margin-bottom: 30px;
    padding: 0 auto;
    padding-left: 25%;
    padding-top: 0px;
    padding-bottom: 0px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://www.findingschool.net/theme/fs/img/1_1.png');
    background-repeat: no-repeat;
    background-position: center;
    display: none;
}

#left-galleryvideo {
    margin-left: -34.6% !important;
}

#gallery_img {
    display: none;
}

/*三张图片的小图*/
#gallery_icon {
    margin-top: 178px;
    margin-right: 20px;
    display: block;
    cursor: pointer;
    -webkit-transition: transform 0.5s;
    -moz-transition: transform 0.5s;
    -ms-transition: transform 0.5s;
    -o-transition: transform 0.5s;
    -webkit-transform: scale(1);
    transform: scale(1);
}

#gallery_icon:hover {
    -webkit-transition: transform 0.5s;
    -moz-transition: transform 0.5s;
    -ms-transition: transform 0.5s;
    -o-transition: transform 0.5s;
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
}

.galleryicon1 {
    height: 190px;
    width: 160px;
    float: right;
    margin-left: -300px;
    margin-top: 18px;
    border: 3px solid #fff;
    box-shadow: 10px 10px 30px #000;
}

.galleryicon2 {
    height: 190px;
    width: 160px;
    float: right;
    margin-right: 70px;
    margin-top: 18px;
    border: 3px solid #fff;
    box-shadow: 10px 10px 30px #000;
}

.galleryicon3 {
    height: 220px;
    width: 180px;
    float: right;
    margin-right: -206px;
    border: 3px solid #fff;
    box-shadow: 10px 10px 30px #000;
}

.galleryicon4 {
    height: 220px;
    width: 180px;
    float: right;
    margin-right: 0px;
    border: 3px solid #fff;
    box-shadow: 10px 10px 30px #000;
}

.galleryshowimg4 {
    position: absolute;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    margin-top: 182px;
    width: 173px;
    color: #fff;
    text-align: center;
    height: 35px;
    padding-top: 8px;
    cursor: pointer;
}

@media (max-width: 768px) {
    #gallery_icon {
        display: none;
    }
}

.gallery_menuimg {
    position: absolute;
    color: #fff;
    margin-left: -130px;
    margin-top: 20px;
    z-index: 1005;
}

.gallery_menuimg > div {
    margin-bottom: 10px;
}

.gallery_menuvideo {
    position: absolute;
    color: #fff;
    margin-left: -11.5%;
    margin-top: 20px;
    /*
    margin-left: -32.5%;
    margin-top: -8px;
    */
    text-align: left;
    z-index: 1007;
}

.gallery_menuvideo > div {
    margin-bottom: 10px;
}

.gallery_videocss {
    border: 3px solid #fff;
    box-shadow: 10px 10px 30px #000;
}

#carousel-example-generic {
    padding-top: 30px;
    padding-bottom: 30px;
}

.badge-schooltag {
    background-color: #346000;
    font-weight: 300;
    height: 25px;
    padding: 5px 10px !important;
    font-size: 14px !important;
}
@media (max-width: 768px) {
    .schdetail-page-head {
        min-height: auto;
    }
}
