/* common */
label {
    margin-bottom: 0;
}
.bg-blue {
    background-color: #2b5287;
    color: #fff;
}
.bg-blue-border {
    border: 1px solid #2b5287;
    color: #2b5287;
}
.bg-gold {
    background-color: #FEEB9A;
}
.text-red {
    color: #FF000C;
}

.checkbox-wrap {
    margin-right:15px;
}
.checkbox-wrap input {
    margin-right: 5px;
}
.checkbox input[type=checkbox] {
    margin-left: 0;
}
.form-inline .radio input[type=radio] {
    margin-left: 0;
    margin-right: 7px;
}
.form-inline .radio label {
    margin-right: 10px;
}
.form-horizontal .form-group {
    margin-bottom: 30px;
}

.control-label-box {
    text-align: center;
    margin: 0 15px 10px;
    padding: 3px;
}

.form-inline-force .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}
.input-mb {
    margin-bottom: 8px;
}
.form-contact {
    margin: 30px 0;
}
.form-group-mb,
.form-horizontal .form-group-mb {
    margin-bottom: 30px!important;
}


/* flashMessage */
#flashMessage {
    font-size: 140%;
    background-color: #132677;
    color: white;
    padding: 10px 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}
#flashMessage.error {
    background-color: #cc2337;
    color: white;
}
#flashMessage.info {
    background-color: #2c89cc;
    color: white;
}

/* header */
#header {
    text-align: center;
    background-image:
        linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 1)),
        url(../img/header.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 40px 0 70px;
}
#header-logo {
    margin: 0 auto;
    max-width: 240px;
}

#header-tel {
    display: none;
    margin: 20px 0 0 auto;
    max-width: 240px;
}

.nav-pills {
    text-align: center;
    margin-top: 10px;
    /*margin-bottom: 20px;*/
}
.nav-pills > li {
    float: none;
    display: block;
    margin: 0 0 10px !important;
    width: 100%;
}
.nav-pills > li > a:hover,
.nav-pills > li > a:focus {
    text-decoration: none;
    background-color: #1c3659;
    color: #fff;
}

.last-update-date {
    text-align: center;
}

/* footer */
#footer {
    margin-top: 20px;
    text-align: center;
    color: #fff;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, .4), rgba(255, 255, 255, .4)),
        linear-gradient(to right, rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)),
        url(../img/header.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 15px 0;
}
#footer-logo {
    margin: auto;
    max-width: 140px;
}
#footer .rect {
    color: #666;
    background: rgba(255,255,255,.9);
    margin-bottom: 30px;
    padding: 10px;
    border-radius: 5px;
}
#footer .rect .tel {
    font-size: 26px;
    font-weight: normal;
    margin-bottom: 5px;
}
#footer .footer-link,
#footer .footer-link2 {
    list-style: none;
    margin-bottom: 30px;
}
#footer .footer-link li {
    display: inline-block;
    margin-right: 20px;
}
#footer .footer-link2 li {
    display: inline-block;
}
#footer .footer-link2 li + li:before {
    content: "| ";
}

#footer .footer-link li:before {
    content: "\f152";
    font-family: FontAwesome;
    margin-right: 3px;
}
#footer .footer-link li a,
#footer .footer-link2 li a {
    color: #fff;
}
#footer .disc {
    font-size: 12px;
    margin-bottom: 25px;
}
#footer .copyright {
    margin: 15px 0 0;
}

/* content */
.content-title {
    color: #003056;
    margin-bottom: 30px;
    padding: 10px 10px !important;
    background: #E6F2FD;
    border-top: 3px solid #003056;
}
h2 {
    color: #003056;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 20px;
}

/* button */
.btn-search {
    font-size: larger;
    padding: 10px 50px;
    background: linear-gradient(#2b5287 20%, #427dce);
    color: #fff;
}
.btn-search:focus ,
.btn-search:hover {
    font-size: larger;
    padding: 10px 50px;
    background: #2b5287;
    color: #fff;
}
.btn-add-favourites {
    background: linear-gradient(#006b1e 36%, #08b102);
    color: #fff;
}
.btn-add-favourites:focus ,
.btn-add-favourites:hover {
    background: #006b1e;
    color: #fff;
}
.btn-add-favourites.disabled {
    background: #ccc;
    color: #646464;
}
.btn-detail {
    background: linear-gradient(#9E5000, #DD7E2C);
    color: #fff;
}
.btn-detail:focus ,
.btn-detail:hover {
    background: #9E5000;
    color: #fff;
}
.btn-contact-favourites {
    background: linear-gradient(#a68106, #e6b308);
    color: #fff;
}
.btn-contact-favourites:focus ,
.btn-contact-favourites:hover {
    background: #a68106;
    color: #fff;
}
.btn-contact {
    color: inherit;
    font-size: larger;
    padding: 10px 50px;
    background: linear-gradient(#e5df8b 0%, #c1ae61 50%, #b68d4c 51%, #e5df8b 100%);
}
.btn-contact:focus ,
.btn-contact:hover {
    font-size: larger;
    padding: 10px 50px;
    background: #c1ae61;
}

/* search */
.hawaii-map {
    margin-top: 10px;
    margin-bottom: 10px;
}
.panel-regions {
    margin-bottom: 5px;
}
.btn-search-container {
    margin: 40px 0;
    text-align: center;
}
.btn-remove-favourites {
    color: #d43f3a;
}
.btn-remove-favourites:hover,
.btn-remove-favourites:active,
.btn-remove-favourites:focus,
.btn-remove-favourites:active:hover,
.btn-remove-favourites:active:focus {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

/* list_view */
.list-container {

}
.pagination-container {
    margin-top: 10px;
    margin-bottom: 10px;
}
.sort-select {
    margin-left: 5px;
}
.list-nav {
    text-align: center;
}
.listings-pagination {
    display: inline-block;
    margin: 15px 0;
    padding-left: 0;
}
.listings-pagination > li {
    display: inline;
}
.listings-pagination > li > a,
.listings-pagination > li > span > a,
.listings-pagination > li.active {
    position: relative;
    float: left;
    margin-left: 2px;
    padding: 5px 8px;
    border-radius: 3px;
    font-size: small;
    line-height: 1.5;
    color: #337ab7;
    text-decoration: none;
    border: 1px solid #ddd;
}
.listings-pagination > li.active {
    color: #fff;
    cursor: default;
    background-color: #337ab7;
}
.listings-pagination .disabled {
    display: none;
}
.listings-list-title {
    margin: 0 0 7px;
    padding: 5px 15px;
    line-height: 1.4;
    font-size: large;
    color: #fff;
    background: linear-gradient(#1a34a1 36%, #132677);
    border-bottom: 3px solid #bba420;
}
.listing-image .thumbnail {
    width: 100%;
    height: 100%;
}
.button-container {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex-direction: row;
    flex-direction: row;
    margin-bottom: 20px;
    zoom: 1;
}
.button-container-columnc,
.button-container-reverse {
    -webkit-flex-direction: column;
    flex-direction: column;
}
.button-container:after {
    content: '';
    display: block;
    clear: both;
}
.button-container-right {
    text-align: right;
}
.button-container > .btn {
    margin-bottom: 10px;
    margin-left: 10px;
}
.button-container > .btn:first-child {
    margin-left: 0;
}
.button-container > label {
    font-weight: inherit;
    float: right;
    height: 34px;
    padding-top: 8px;
}

.button-container-reverse > label {
    float: left;
}

/* view */
#googleMap {
    width: 100%;
    height: 400px;
}
.listing-thumbs {
    text-align:left;
    margin-bottom:1.5em;
}
.listing-thumbs a {
    display: inline-block;
    border:3px solid #a7a365;
    margin: 7px;
}
.view-table > tbody > tr > th,
.view-table > tbody > tr > td {
    border-top: 2px solid #fff;
}

.view-table th {
    background-color: #2b5887;
    color: #fff;
    min-width: 200px;
}
.view-table td {
    padding-left: 15px !important;
}
#googleMap {
    border: solid 10px #E6F2FD;
    margin-bottom: 20px;
}

/* contacts form */
#contactFormTable {
    margin-top: 10px;
}
#contactFormTable th {
    width: 25%;
    max-width: 250px;
    background-color: #FEEB9A;
    vertical-align: middle;
}
th.required {
    color: #cc0000;
}
.address-box > .form-inline {
    margin-bottom: 5px;
}

.listing-table th {
    white-space: nowrap;
}
.listing-table td {
    word-break: break-all;
}
.listing-table td.price {
    color: #FF000C;
    font-weight: bold;
}
.listing-table td.price,
.listing-table td.mls {
    white-space: nowrap;
}

dl.details dt,
dl.details dd {
    padding: 10px;
}
dl.details dd {
    word-wrap: break-word;
}
.listing-table th,
dl.details dt {
    background: #E5F0FE;
}
.checkLabel {
    margin-left: 10px;
}

.well-blue {
    border: none;
    background-image: linear-gradient(to bottom, #E6F2FD, #E6F2FD 1%, #fff);
}
.well-blue h2 {
    text-align: center;
    font-weight: normal;
    margin: 20px 0 30px;
}
.box {
    background: rgba(255,255,255,.8);
    border: 1px solid #eee;
    padding: 20px;
    line-height: 1.8;
}
.box .tel,
.box .email {
    font-size: 20px;
    padding-right: 3px;
    padding-left: 3px;
}
.box .tel a {
    color: #F80F20;
}
.box .email a {
    color: #1E4892;
}

/* Media Queries */
@media (min-width: 992px) {
    .listings-pagination {
        margin: 0;
    }
    .last-update-date {
        text-align: right;
        margin-top: -35px !important;
    }
}

@media (min-width: 768px) {
    .form-horizontal .form-group {
        margin-left: 0;
        margin-bottom: 15px;
    }
    .form-inline .form-control.w65 {
        width: 65%;
    }
    .control-label-box {
        margin: 0;
        padding: 0;
    }
    .control-label-box .control-label {
        padding-bottom: 7px;
    }
    .hawaii-map {
        margin-top: 10px;
        padding-right: 0;
        padding-left: 0;
    }
    .pipe {
        line-height: 34px;
        margin-right: -15px;
        margin-left: -15px;
    }
    .list-nav {
        text-align: left;
    }
    .listings-pagination {
        margin-bottom: 0;
    }
    #header-logo {
        margin: 0 auto 0 0;
        max-width: 300px;
    }
    #header-tel {
        display: block;
        width: 100%;
        max-width: 430px;
    }
    .last-update-date {
        text-align: right;
        margin-top: 0; // ボタンメニューと被るので下げる
    }
    #footer {
        padding: 20px 0;
    }
    #footer-logo {
        max-width: 160px;
    }
    .nav-pills > li {
        float: none;
        display: inline-block;
        margin: 0 3px 5px !important;
        width: 200px;
    }
    dl.details {
        display: table;
        border-collapse: separate;
        border-spacing: 0 3px;
    }
    dl.details .tr {
        display: table-row;
    }
    dl.details dt {
        display: table-cell;
        white-space: nowrap;
    }
    dl.details dd  {
        display: table-cell;
    }
    .form-contact .form-group {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .form-contact .form-group .bg-gold {
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-align-items: center;
        align-items: center;
    }
    .confirm-content {
        border-bottom: 1px solid #eee;
        line-height: 34px;
        min-height: 34px;
    }
}

@media (min-width: 400px) {
    .button-container-column {
        -webkit-flex-direction: row;
        flex-direction: row;
    }
    .button-container-reverse {
        -webkit-flex-direction: row-reverse;
        flex-direction: row-reverse;
    }
    .button-container-column > .btn {
        margin-left: 10px;
        margin-bottom: 10px;
    }
    .button-container-column > .btn:first-child,
    .button-container-reverse > .btn:last-child {
        margin-left: 0;
    }
    .button-container-reverse > .btn:first-child {
        margin-left: 10px;
    }
}
