

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


html {
    background: #fff0f0 url(/static/images/footer.png) 95% 100% repeat-x;
    min-height: 100%;
}

body {
    background: none;
    padding: 0 0 100px;
}

.container {

}


header {
    margin: 0 0 20px;
    padding: 20px 0 0;
    background: #fff;
    box-shadow: 0 2px 3px rgba(0,0,0,.05);
}

h1 {
    width: 200px;
    margin: 0 auto;
}

h2.hospital-name {
    text-align: center;
    font-size: 14px;
    color: #888;
    line-height: 1.3;
    margin-bottom: 20px;
}

nav ul {
    overflow: hidden;
    background: #e79346;
}

nav ul li {
    float: left;
    width: 20%;
}

nav ul li a {
    display: block;
    padding: 10px 0;
    text-align: center;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0,0,0,.2);
}

nav ul li a:hover,
nav ul li.active a {
    color: #fff;
    text-decoration: none;
    background: #ff9e45;
}


/* ----- ARTICLE ----- */

section {
    background: #fff;
    margin: 0 0 20px;
    padding: 0 0 10px;
    box-shadow: 0 2px 3px rgba(0,0,0,.05);
}

section h3 {
    color: #fff;
    background: #eca6a6;
    padding: 5px 15px;
    text-shadow: 0 1px 0 rgba(0,0,0,.3);
    font-size: 18px;
}

section h4 {
    margin: 20px 15px 5px;
    padding: 10px;
    background: #ffdbe5;
    display: inline-block;
    border-radius: 5px;
    font-size: 13px;
    color: #eb7d9d;
    line-height: 1;
}

section h4:first-child {
    margin-top: 0;
    background: red;
}

section p {
    margin: 0 0 .5em;
    padding: 0 15px;
    font-size: 16px;
    line-height: 1.6;
}

section li {
    font-size: 16px;
    margin: 0 20px;
    line-height: 1.6;
}

section .working-hour,
section .waitlist {
    width: 100%;
    margin: 0 auto;
}



footer {
    margin: 40px 0 20px;
    text-align: center;
}

footer .copyright {
    font-size: 11px;
    color: #888;
}


/* 診察時間テーブル */
.working-hour .day { width: 10%; }
.working-hour .morning { width: 45%; }
.working-hour .afternoon { width: 45%; }
.working-hour th,
.working-hour td {
    text-align: center;
}


/* 順番待ちテーブル */
.waitlist th { width: 20%; }
.waitlist td { width: 80%; }

.waitlist th,
.waitlist td {
    text-align: center;
}

.current-wait-status {
    text-align: center;
    background: #b9d49f;
    margin: 10px 15px;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
}

.current-wait-status:before {
    content: '現在の状況: ';
    color: #52752f;
}

.current-wait-status strong {
    font-size: 14px;
}

.wait-confirm-warn {
    text-align: center;
    background: #faebd7;
    margin: 10px 15px;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
}

form {
    margin: 20px 0;
}

form dl {
    margin: 0 20px;
}

form dt {
    margin: 0 0 5px;
}

form dd {
    margin: 0 0 10px;
}

form dt em {
    color: #c00;
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
}


.confirm table {
    width: auto;
}

.confirm table th,
.confirm table td {
    border: none;
    text-align: left;
}

.buttons {
    text-align: center;
    margin-left: -10px;
}

.buttons input {
    margin-right: 10px;
}


.success strong {
    font-size: 20px;
    margin: 0 5px;
    color: #519b0c;
}


.alert {
    margin: 20px;
}


/* --- リサーチ結果のテーブル --- */
.research-result {
    width: 80%;
    margin: 20px auto;
}

.research-result td,
.research-result th {
    padding: 5px;
}

.research-result th {
    background: #eee;
}

.research-result .day,
.research-result .count {
    width: 5%;
    white-space: nowrap;
}

.research-result .day {
    text-align: center;
}

.research-result .count {
}

.research-result td img {
    background: #9dcdcd;
    height: 5px;
}

/* ====================================================================== */

/* Large desktop */
@media (min-width: 1200px) {  }

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {  }


@media (min-width: 800px) {

    .container {
        max-width: 800px;
    }

    table {
        width: 400px;
    }

}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {

    nav ul li {
        float: none;
        width: auto;
    }

    nav ul li a {
        line-height: 1.2;
        font-weight: bold;
        text-align: left;
        border-top: 1px solid rgba(255,255,255,.1);
        border-bottom: 1px solid rgba(0,0,0,.1);
        padding: 15px 20px;
    }

    nav ul li:first-child a {
        border-top: none;
    }

    nav ul li:last-child a {
        border-bottom: none;
    }


    section h3 {
        padding: 5px 20px;
    }

    section h4 {
        margin: 20px 20px 5px;
    }

    section p {
        padding: 0 20px;
        margin-bottom: 1em;
    }
}

/* Landscape phones and down */
@media (max-width: 480px) {


}
