﻿/*
    app.css
    @future

*/
.gau-nav-header h1 {
    line-height: 2;
    padding-left: 12px;
    font-size: 20px;
}
.gau-nav-header h1::before {
    display: inline-block;
    content: '';
    width: 40px;
    height: 40px;
    margin-right: 1em;
    background-image: url('../img/header_icon.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.ol-rotate {
    left: 0.5em;
    right: unset;
    top: 4.5em;
}
input[name=bgopa_nav] {
    width: 100%;
    height: 100%;
}

/* mode */
.app-mode-select {
	display: flex;
    font-size: large;
    background-color:#bdd9c0;
}
input[type="radio"]+label::before {
    font-family: "Font Awesome 5 Free";
    content: '\f111';
    font-size: 20px;
    font-weight: 900;
    margin-right: 4px;
    color: #aaa;
}
input[type="radio"]:checked+label::before {
    color: #53c59c;
}
.app-mode-select input[type="radio"] {
	display:none;
}
.app-mode-select > label:hover {
	background-color: rgba(0, 0, 120, 0.1);
	transition-duration: 0.5s;
}
.app-mode-select > label {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    color: #888;
    padding: 0.2em 0.6em;
    height: 48px;
    width: 50%;
    box-sizing: border-box;
    line-height: 28px;
}
.app-mode-select > input[type="radio"]:checked+label {
    color: #389f6a;
    background-color: white;
    font-weight: bold;
}
/* effect */

.slidein {
	opacity: 0;
	transform: translateX(40px);
	transition: transform 1s ease;
  }
  .slidein-active {
	/*opacity: 1;*/
	transform: translateX(0);
	animation: fadeIn 0.8s ease-in-out forwards;
}
@keyframes fadeIn {
	from {
	  opacity: 0;
	}
	to {
	  opacity: 1;
	}
  }


/* main contents */

.app-main-contents {
	margin:0.5em;
}
.app-main-contents input[type="radio"] {
	display:none;
}
.app-main-contents label:hover {
	background-color: rgba(0, 0, 120, 0.1);
	transition-duration: 0.5s;
}
.app-main-contents input[type="radio"]:checked+label {
	color: #389f6a; /* メインカラーと統一 */
	background-color:#fcfcfc;
	font-weight:bolder;
}
.app-main-contents input[type="radio"]+label::before {
	content:'';
}
.app-main-contents > input[type="radio"]:checked+label::before {
	content:'';
}

.app-main-contents h4 {
    margin-top: 0.8em;
    font-size: 18px;
    text-align: center;
    color: #fff;
    line-height: 2.6;
    background-color: #6bba59;
    border-radius: 12px 12px 0 0;
}

.app-main-btn {
    cursor: pointer;
    background-color: #6bba59;
    color: white;
    border-radius: 12px;
    /* box-shadow: 0 2px 3px #ccc; */
    margin: 1em;
    padding: 12px 18px;
}

/* main search*/
#app_main_search {
	display:flex;
	flex-wrap: wrap;
    margin: 0.5em;
}
#app_main_search label {
    display: flex;
    width: 100%;
    padding: 3px;
}
#app_main_search span {
    width: 30%;
    line-height: 32px;
    padding-right: 6px;
    text-align: right;
    font-size: 14px;
}
#app_main_search select {
	padding: 4px;
}


/* condition */
#app_condition_list {
    height:auto;
}
#app_condition_list li {
    height:auto;
    color:#777;    
}
#app_condition_list label {
        color:#777;

}
input[type="checkbox"]:checked+label::before {
    color: #6bba59;
}
input[type="checkbox"]+label::before {
    font-family: "Font Awesome 5 Free";
    content: '\f058';
    font-size: 18px;
    font-weight: 900;
    margin-right: 4px;
    color: #aaa;
}

#app_condition_list select {
    color:#777;
    
}
#app_condition_list input[type="checkbox"] {
    display: inline-block;
    margin: 10px;
    color:#777;
    
}
#app_condition_list input[type="range"] {
    color:#777;
    
}
#app_condition_list input[type="text"] {
    color:#777;
    
}





/* legend */
.leg-cont dl {
    display: flex;
    align-items: center;
}
.leg-cont dd {
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.leg-cont dt {
    width: 190px;
    text-align: left;
    line-height: 1.2;
}
.leg-cont p {
    line-height: 1.2;
    text-align: left;
    padding: 1em;
    color: #245C35;
    background-color: #efe9c5;
    margin: 0.8em;
    border-radius: 8px;
}
.leg-current-0, .leg-draft-0 {
    background-color: blue;
}
.leg-current-1, .leg-draft-1 {
    background-color:rgb(208 208 208);
}
.leg-renew-add {
    border:3px dotted lightgreen;
}
.leg-renew-exclude {
    border:3px dotted red;
}
.leg-renew-other {
    border:3px dotted yellow;
}

/* local settings */
.leg-draft-2 {
    background-color:rgb(255 255 0);
}
.leg-draft-3 {
    background-color:rgb(255 255 208);
}
.leg-draft-4 {
    background-color:rgb(255 0 0);
}
.leg-draft-5 {
    background-color:rgb(144 144 144);
}


/* areajump */
.app-disptool {
    position: absolute !important;
    left: 3em !important;
    top: 0.7em !important;
    background-color: #ffffffcc;
    padding: 5px;
    width: auto;
    border-radius: 8px;
}
.app-disptool label {
    font-size: 14px;
    line-height: 1.4;
}

.ol-scale-line, .ol-zoom-in, .ol-zoom-out, .ol-control button, .ol-control button:focus, .ol-control button:hover {
    background: #389f6a !important;
    font-family: cursive;
    font-size: 23px;
}

#app_poly_opa_slider p {
    padding: 5px;
}