/* レイアウト */
#main_frame {
    float: left;
}

#panel {
    float: left;
    width: 217px;
    padding-left: 10px;
}
#footer {
    clear: both;
}

#FT {
    font-size: 20px;
    font-weight: bold;
}
.clear {
    clear: both;
}

/* PFのアンチエイリアス */
#base {
    image-rendering: auto;
}

/* color picker */
.pickr {
    display: inline-block !important;
}
.pickr .pcr-button {
    height: 1.5em !important;
    width: 1.5em !important;
    vertical-align: middle;
}
.pcr-app[data-theme="nano"]
    .pcr-selection
    .pcr-color-preview
    .pcr-current-color {
    width: 1.5em !important;
    height: 1.5em !important;
}

/* 等値線: 塗色・線色・閾値を同じ6列へ揃える */
.contour-style-grid {
    margin-top: 3px;
    line-height: 1;
}
.contour-style-row {
    display: grid;
    grid-template-columns: repeat(6, 30px) 20px;
    column-gap: 2px;
    align-items: center;
    margin-bottom: 0;
}
.contour-style-row .pickr,
.contour-style-row .pcr-button,
.contour-style-row select {
    box-sizing: border-box;
    width: 30px !important;
}
.contour-style-row .pcr-button {
    height: 25px !important;
    border: 1px solid #777 !important;
    border-radius: 0 !important;
    box-shadow: 0 0 0 1px #ddd;
}
.contour-line-row .pcr-button {
    height: 12.5px !important;
}
.contour-style-row select {
    height: 18px;
    padding: 0;
    font-size: 12px;
    text-align: center;
    text-align-last: center;
}
.contour-style-label {
    padding-left: 2px;
    font-size: 16px;
    line-height: 25px;
}
.contour-style-grid--combined .contour-style-row {
    grid-template-columns: repeat(3, 30px) 20px repeat(3, 30px);
}
.contour-style-grid--combined .contour-style-row > :nth-child(4) {
    grid-column: 5;
}
.contour-style-grid--combined .contour-style-row > :nth-child(5) {
    grid-column: 6;
}
.contour-style-grid--combined .contour-style-row > :nth-child(6) {
    grid-column: 7;
}
.contour-style-grid--combined .contour-style-label {
    grid-column: 4;
    grid-row: 1;
}
.contour-line-row .contour-style-label {
    line-height: 12.5px;
}
.contour-temperature-row .contour-style-label {
    line-height: 18px;
}

/* タイムバー関連 */

#time_bar {
    margin: 5px;
    padding: 0;
    text-align: center;
}
.time_tab3 {
    background-color: #ddddff;
    border-bottom: 1px solid #0075c2;
    border-top: 1px solid #0075c2;
    color: #0075c2;
    cursor: default;
    display: inline-block;
    height: 20px;
    line-height: 100%;
    margin: 0;
    padding: 20px 0 0;
    width: 21px;
}
.time_tab1 {
    background-color: #ddddff;
    border-bottom: 1px solid #0075c2;
    border-top: 1px solid #0075c2;
    color: #0075c2;
    cursor: default;
    display: inline-block;
    height: 20px;
    line-height: 100%;
    margin: 0;
    padding: 20px 0 0;
    width: 12px;
}
.time_tab1P {
    background-color: #fdd;
    border-bottom: 1px solid #c23333;
    border-top: 1px solid #c23333;
    color: #c23333;
    cursor: default;
    display: inline-block;
    height: 20px;
    line-height: 100%;
    margin: 0;
    padding: 20px 0 0;
    width: 12px;
}
.time_back {
    z-index: -1;
}

.time_tab_s {
    background-color: #0075c2;
    color: #ddddff;
}
.time_tab_sP {
    background-color: #c23333;
    color: #fdd;
}
a.time_button {
    user-select: none;
    background-color: #aaaaff;
    border: 1px solid #0075c2;
    color: #0075c2;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    height: 20px;
    line-height: 100%;
    margin: 0;
    padding: 20px 0 0;
    width: 25px;
}
a.time_button:hover {
    background-color: #000099;
    color: #ddddff;
}

a.time_buttonP {
    user-select: none;
    background-color: #faa;
    border: 1px solid #c23333;
    color: #c23333;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    height: 20px;
    line-height: 100%;
    margin: 0;
    padding: 20px 0 0;
    width: 25px;
}
a.time_buttonP:hover {
    background-color: #990000;
    color: #fdd;
}

/* datepicker関連 */
.ui-datepicker {
    z-index: 1000 !important;
}

.sl_Cfill {
    width: 30px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn {
    font-size: 13pt;
    font-weight: bold;
    width: 37px;
    margin: 1px 1px;
    line-height: 100%;
    padding: 3px 3px;
    /* display: inline-block; */
    text-align: center;
    border-radius: 4px;
    color: #fff;
    float: right;
}
.btn_onA {
    background-color: #ee87b4;
    cursor: default;
}
.btn_offA {
    background-color: #27a1d9;
    cursor: default;
}
.btn_onB,
.btn_offB {
    background-color: #bbb;
    cursor: pointer;
}
.btn_onB:hover {
    background-color: #ee87b4;
}
.btn_offB:hover {
    background-color: #27a1d9;
}
.sdm_frame {
    line-height: 170%;
    margin-bottom: 5px;
}
.sdm_menu {
    border-left: 5px #fd8035 solid;
    padding: 2px;
    background: #fdc;
}
.sdm_title {
    width: 100px;
    display: inline-block;
    color: #fd8035;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}
.sdm_detail {
    border: 1px #fdc solid;
    padding: 3px;
}
.sdm_menu2 {
    border-left: 5px #f9304b solid;
    padding: 2px;
    background: #fdd;
}
.sdm_title2 {
    width: 200px;
    color: #f9304b;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}
.sdm_detail2 {
    border: 1px #fdd solid;
    padding: 3px;
}
summary {
    display: block;
}
summary::-webkit-details-marker {
    display: none;
}
