/**/

*{
    box-sizing: border-box;
    margin: 0;
    /*outline: solid red 1px;*/
}

a:link,a:visited{
    text-decoration: none;
}

/*hiddenクラスを付けたボックスの透過度を0にするためのスタイル(じんわり表示する用)*/
.hidden{
    opacity: 0;
}

/*マップが表示されるdiv*/
.mapcontainer{
    position: relative;
    width:100vw;
    height:100vh;
    opacity: 1;
    transition:2s;
}

/*ツールバーとサブメニューを囲むボックス*/
.tool_out_wrapper{
    display: flex;
    position: absolute;
    top:0;
    left:0;
    z-index: 500;
}

/*サブメニューのボックス*/
.submenu_wrapper{
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;

}

/*サブメニューの中の文字列*/
.submenu_wrapper *{
    font-size: large;
    cursor:pointer;
    padding: 10px;
    color:white;
    text-shadow: 1px 1px 1px rgb(0, 0, 0);
}

.submenu_wrapper div:hover{
    color:orangered;
    opacity: 1!important;
}

/*waveサブメニューのdiv文字列*/
.select{
    color:orangered!important;
    font-weight: 800;
    opacity: 1!important;
}

.select_off{
    opacity: 0.9;
}


/*ツールバーのボックス*/
.tool_wrapper{
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    flex-wrap:nowrap;
    overflow-x: hidden;
    overflow-y: auto;
    height: 100vh;
    width: 200px;
    background-color: rgba(10, 1, 97, 0.568);
    border-radius: 2px;
    box-shadow: 0 0 5px 2px white;
    color:white;
    text-shadow: 1px 1px 1px rgb(0, 0, 0);
    transition: 1s;
}


/*ツールバーのボックスのインナー*/
.tool_inner{
    height: 30px;
    margin: 11px  15px;
    text-align-last: justify;
    text-justify:inter-character;
}

.tool_text::after{
    content: "";
    display: block;
    border-bottom: 3px solid rgb(255, 225, 169);
    width: 0%;
    transition: width 1s;
}

.tool_text:hover::after{
    width: 100%;
}


.tool_inner:hover .tool_text{
    text-shadow: 5px 5px 5px rgb(4, 0, 44);
    color: rgb(255, 225, 169);
    font-weight: 900;
    cursor: pointer;
}



.tool_text{
    font-size: 1.2rem;
    vertical-align:50%;
    margin: 0 10px;
    text-shadow: 4px 4px 4px rgb(10, 0, 146);
}

/*ツールバーの文字列をクリックしたときのスタイル*/
.color_on{
    color: rgb(255, 208, 0)!important;
    text-shadow: 3px 3px 3px black;
    font-weight: 900;
}

.color_on::after{
    content: "";
    display: block;
    border-bottom: 3px solid rgb(255, 208, 0);
    width: 100%;
}



/*マウスの緯度経度の表示するボックス*/
.live_position{
    width: 30%;
    position: absolute;
    bottom:3%;
    left:calc(50% - 15%);
    z-index: 500;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 5px 2px rgb(0, 6, 87);
    background-color: rgb(255, 255, 255,0.5);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    color:rgb(0, 6, 87);
    text-shadow: 1px 1px 1px white;
}

.latiLong_text{
    color: blue;
    text-shadow: 2px 2px 2px rgb(255, 255, 255);
    font-size: 0.8rem;
}

/*距離測定の始点*/
.measure_mark_s{
    background-color: orangered;
    border-radius: 50%;
    border: white 2px solid;
    color: white;
    text-align: center;
    vertical-align: middle;
}

/*距離測定の終点*/
.measure_mark_e{
    background-color: orangered;
    border-radius: 50%;
    border: white 2px solid;
}

/*上部のメッセージ用ダイアログ*/
.top_indi_div{
    width: 30%;
    position: absolute;
    top:5%;
    left:calc(50% - 15%);
    z-index: 500;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 5px 2px rgb(0, 6, 87);
    background-color: rgb(255, 255, 255,0.5);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    color:rgb(0, 6, 87);
    text-shadow: 1px 1px 1px white;
}

/*波の高さのscale*/
.wave_scale{
    position: absolute;
    z-index: 1000;
    bottom: 20px;
    right: 100px;
    width: 60px;
    height: 200px;
    opacity: 0.8;
    border-radius: 10px;
}

/*msg用ダイアログボックス*/
.msgbox{
    position: relative;
    top:calc(50% - 100px);
    left:calc(50% - 200px);
    z-index: 1000;
    width: 400px;
    height: 200px;
    padding: 20px;
    font-size: 1.2rem;
    border-radius: 5px;
    border: 3px solid navy;
    box-shadow: 2px 2px 2px white;
    background-color: rgba(200, 200, 200, 0.5);
}

.msgbox_inner{
    font-size: 1rem;
    font-weight: 600;
    color: navy;
    text-shadow: 2px 2px 2px white;
}

.close{
    position: absolute;
    bottom:10px;
    right: 10px;
    display: inline;
    padding:5px 20px;
    cursor: pointer;
    border: 1px solid white;
    border-radius: 3px;
    background-color: navy;
    color: white;
    font-size: 1rem;
}

.close:hover{
    outline: 3px solid white;
    font-weight: 600;
}

/*船名表示用のdiv*/
.ais_ship_name_div{
    display:inline-block;
    white-space: nowrap;
    border: none;
    background-color: transparent;
    color: rgb(44, 44, 44);
    text-shadow: white 3px 3px 5px;
    font-weight: 500;
    font-size:18px;
}

/*船舶検索で船名を選択した際のマーカー表示及びAnimation*/
.shipsearch_ship_indi{
    width: 1px !important;
    height:1px !important;
    border-radius: 50%;
    background-color: transparent;
    outline:solid 0px rgb(0, 0, 0);
    outline-offset:0;
    opacity: 0.7;
    animation-name:ship_posi;
    animation-duration: 2s;
    animation-iteration-count:infinite;
}
@keyframes ship_posi{
    50%{
        outline-color: rgba(0, 0, 0, 0.7);
    }
    to{
      outline-color: rgba(0, 0, 255,0);
      outline-width: 20px;
      }
}


/*マーカー用のアニメーション*/
.sailing {
    background: rgba(255, 0, 0, 0.5);
    border-radius: 50%;
    animation: ripple 1s infinite;
    width: 20px;
    height: 20px;
    transform: translate(-10px, -10px); /* 中心合わせ */
  }

  .fishing {
    background: rgba(255, 0, 0, 0.5);
    border-radius: 50%;
    animation: ripple 5s infinite;
    width: 20px;
    height: 20px;
    transform: translate(-10px, -10px); /* 中心合わせ */
  }

  .ent{
    display: none;
  }

  @keyframes ripple {
    0% {
      transform: scale(0.8);
      opacity: 1;
    }
    100% {
      transform: scale(2.5);
      opacity: 0;
    }
  }
