﻿@charset "utf-8";
/**预订首页的样式 页面：/phone/index.aspx  */

.select {
    display: none;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.25);
}

.shower {
    display: block;
    height: 45px;
    line-height: 45px;
    border: 1px solid #ddd;
    border-right: none;
}

.selected, .option:hover {
    color: #0091ff;
}

.highLight {
    position: relative;
    color: #0091ff;
    height: 42px;
    border-top: 3px solid #35a7ff;
}

    .highLight:after {
        content: " ";
        top: 42px;
        bottom: -1px;
        left: 0;
        right: 0;
        position: absolute;
        background: #fff;
    }

.select .option {
    line-height: 40px;
    font-size: 16px;
    text-align: center;
    border-top: 1px solid #ddd;
    cursor:pointer;
}

    .select .option:active {
        background: #eee;
    }

.item .title {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

.item .address {
    position: relative;
    padding-left: 25px;
}

    .item .address:before {
        content: " ";
        position: absolute;
        left: 0;
        width: 20px;
        height: 25px;
        background: url("images/icon.png") -35px -75px no-repeat;
        background-size: 400%;
    }

.item .text {
    font-size: 13px;
}

.item .info .book {
    width: 80px;
    height: 30px;
    line-height: 30px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-bottom: 3px solid #015ca1;
    border-radius: 5px;
    background: #0091ff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

    .item .info .book:hover, .item .info .book:active {
        background: #007edf;
    }

/*自适应屏幕宽度小于等于1000像素*/
@media screen and (max-width: 1000px) {
    .select-box {
        position: fixed;
        top: 40px;
        width: 100%;
        text-align: center;
        box-shadow: 0 1px 2px rgba(0,0,0,.25);
        z-index: 1;
    }

    .selector {
        float: left;
        width: 25%;
        background: #fff;
    }

        .selector:nth-child(1) .shower {
            border-left: none;
        }

    .select {
        display: none;
        width: 400%;
        max-height: 205px;
        overflow-y: scroll;
        background: #fff;
        box-shadow: 0 1px 2px rgba(0,0,0,.25);
    }

    .selector:nth-child(2) .select {
        margin-left: -100%;
    }

    .selector:nth-child(3) .select {
        margin-left: -200%;
    }

    .selector:nth-child(4) .select {
        margin-left: -300%;
    }

    .book-box {
        clear: both;
        padding-top: 45px;
        width: 100%;
        z-index: -1;
    }

    .item {
        width: 50%;
        float: left;
    }

        .item .info {
            margin: 4px;
            background: #fff;
            border: 4px solid #fff;
            box-shadow: 0 0 1px #bfbfbf;
            position: relative;
        }

            .item .info .photo img {
                width: 100%;
                height: 275px;
            }

            .item .info .title {
                position: absolute;
                top: -4px;
                left: -4px;
                right: -4px;
                height: 40px;
                line-height: 40px;
                display: block;
                background: #fff;
                text-align: left;
                text-indent: 1em;
            }

        .item .address {
            position: absolute;
            bottom: 67px;
            left: 0;
            right: 0;
            height: 30px;
            line-height: 30px;
            font-size: 12px;
            color: #ddd;
            text-align: left;
            background-color: rgba(0,0,0,0.75);
        }

        .item .info .text {
            padding: 5px;
            text-align: left;
            font-size: 13px;
        }

        .item .info .book {
            position: absolute;
            right: 5px;
            bottom: 5px;
        }
}

/*自适应屏幕宽度小于等于640像素*/
@media screen and (max-width: 640px) {
    .item {
        width: 100%;
        float: left;
    }

        .item .info {
            margin-left: 0;
            margin-right: 0;
            text-align: left;
        }

            .item .info .title {
                border-bottom: 1px solid #ddd;
            }

            .item .info .text {
                position: absolute;
                top: 40px;
                left: 250px;
                padding: 5px;
            }

            .item .info .photo img {
                width: 50%;
                max-width: 240px;
                height:auto;
                min-height:180px;
            }

        .item .address {
            bottom: 0;
            right: 50%;
            max-width: 215px;
        }
}

/*自适应屏幕宽度小于等于480像素*/
@media screen and (max-width: 480px) {
    .select-box {
        font-size: 13px;
    }

    .item .info .title {
        border-bottom: none;
    }

    .item .info .photo img {
        width: 100%;
        max-width: none;
        min-height:150px;
        max-height:200px;
    }

    .item .address {
        bottom: 67px;
        right: 0;
        max-width: none;
    }

    .item .info .text {
        position: static;
    }
}

/*自适应屏幕宽度大于等于1001像素*/
@media screen and (min-width: 1001px) {

    .select-box {
        position: fixed;
        z-index: 1;
    }

    .book-box {
        margin-top: 50px;
    }

    .selector {
        float: left;
        background: #fff;
        text-align: center;
    }

    .shower {
        width: 196px;
    }

    .selector:nth-child(4) .shower {
        border-right: 1px solid #ddd;
    }

    .item {
        clear: both;
        height: 223px;
        padding: 10px;
        margin-bottom: 5px;
        border: 1px solid #ddd;
        background: #fff;
        text-align: left;
    }

        .item .info {
            position: relative;
        }

        .item .title, .item .address, .item .text, .item .book {
            position: absolute;
            left: 340px;
        }

        .item .title {
            top: 0;
            height: 40px;
        }

        .item .address {
            top: 30px;
            height: 30px;
            line-height: 30px;
        }

        .item .text {
            top: 80px;
            line-height: 24px;
        }

            .item .text p {
                position: relative;
                text-indent: 5em;
            }

                .item .text p:before {
                    position: absolute;
                    left: -5em;
                    color: #333;
                    font-weight: bold;
                }

                .item .text p:nth-child(1):before {
                    content: "所属区域：";
                }

                .item .text p:nth-child(2):before {
                    content: "运动项目：";
                }

                .item .text p:nth-child(3):before {
                    content: "联系电话：";
                }

        .item .book {
            bottom: 10px;
            left: 670px;
        }

        .item .info .photo img {
            width: 320px;
            height: 200px;
        }
}
