﻿@media screen and (min-width:900px) {
    html {
        font-size: 14px;
    }

    .container {
        width: 980px;
        margin: 0 auto;
    }

    .m-teacher-h {
        height: 170px;
        background: #00a0db;
    }

        .m-teacher-h img {
            width: 188px;
			float:left;			
            margin-top: 20px;
        }
		.m-teacher-h p{ display:block; font-size:24px;line-height:108px; color:#fff;} 

    .m-teacher-c {
        position: relative;
    }

    .m-teacher-c-box {
        position: absolute;
        top: -60px;
        left: 0;
        border: 1px solid #fff;
        border-radius: 8px;
        box-shadow: 0 0 5px #d5d5d5;
        background: #fff;
        margin-bottom: 30px;
    }

    .m-teacher .m-flex {
        display: flex;
        justify-content: space-between;
        margin: 24px;
    }

    .m-teacher .m-box {
        background: #f4f4f4;
    }

    .m-teacher .m-box-small {
        width: 454px;
        padding: 24px 24px 24px 0;
    }

    .m-teacher .m-box-big {
        width: 100%;
        padding: 24px 24px 24px 0;
    }

    .m-teacher .m-box h1 {
        margin-left: 24px;
        font-size: 18px;
    }

        .m-teacher .m-box h1 em {
            font-style: normal;
            font-size: 14px;
            color: #f00;
        }

    .m-teacher .m-box div {
        background: #f4f4f4;
        margin: 24px;
    }

    .m-teacher .m-box-h {
        width: 110px;
        text-align: right;
        font-size: 14px;
    }

    .m-teacher .m-box table {
        width: 100%;
        margin-top: 10px;
    }

        .m-teacher .m-box table td {
            padding: 10px 0;
        }

    .m-teacher .m-box input, .m-teacher .m-box select {
        width: 100%;
        line-height: 2;
        padding-left: 5px;
        border: 1px solid #d5d5d5;
    }

    .m-teacher .m-box select {
        height: 30px;
    }

    .m-teacher .m-btn {
        text-align: center;
        font-size: 18px;
        margin-bottom: 30px;
    }

    .m-teacher .m-btn-a {
        padding: 8px 50px;
        border-radius: 5px;
        background: #00a0db;
        color: #000;
        cursor: pointer;
        transition: box-shadow .3s linear;
        border: 0;
    }

        .m-teacher .m-btn-a:hover {
            box-shadow: 0 0 5px #666;
        }

    .success {
        line-height: 3em;
        border: 0;
    }

        .success img {
            float: left;
            margin-right: 1em;
        }

        .success p {
        }

        .success span {
            color: #f00;
        }
}


@media screen and (max-width:900px) {
    html {
        font-size: 14px;
    }

    .m-teacher-h {
        height: 4em;
        background: linear-gradient(to right,#fdd118,#fece02);
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

        .m-teacher-h img {
            width: 8em;
            margin-left: 1em; float:left;
        }
		 .m-teacher-h p{ float: left; color:#fff;
    font-size: 16px;
    line-height: 2.5em;}

    .m-teacher-c {
        margin: 1em 2em;
    }

    .m-teacher-c-box {
        border: 1px solid #fff;
        border-radius: .8em;
        box-shadow: 0 0 5px #d5d5d5;
        background: #fff;
    }

    .m-teacher .m-box {
        margin: 2em 2em 2em 0;
    }

        .m-teacher .m-box h1 {
            margin-left: 2em;
            font-size: 18px;
        }

            .m-teacher .m-box h1 em {
                font-style: normal;
                font-size: 14px;
                color: #f00;
            }

    .m-teacher .m-box-h {
        width: 8em;
        text-align: right;
    }

    .m-teacher .m-box table {
        width: 100%;
        margin-top: 1em;
    }

        .m-teacher .m-box table td {
            padding: 10px 0;
        }

    .m-teacher .m-box input, .m-teacher .m-box select {
        width: 100%;
        line-height: 2.5;
        padding-left: 5px;
        border-radius: 0;
        border: 1px solid #d5d5d5;
    }

    .m-teacher .m-box select {
        height: 2.6em;
    }

    .m-teacher .m-btn {
        text-align: center;
        font-size: 18px;
        margin-bottom: 1em;
    }

    .m-teacher .m-btn-a {
        padding: .5em 3em;
        border-radius: 5px;
        background: #00FF33;
        color: #000;
        cursor: pointer;
        transition: box-shadow .3s linear;
        border: 0;
    }

        .m-teacher .m-btn-a:hover {
            box-shadow: 0 0 5px #666;
        }

    .success, .zyhwarn {

    }

        .success img {
            display: none;
        }

        .success p {
            margin: 0;
        }

    .clear {
        height: 3em;
    }
}

.clearfix {
    border: 0;
}
