.cf_tool_tip .amount,.cf_period{
font-size:1.4em;
}
input[type="checkbox"] {
    /*vertical-align: sub;*/
}
.themed-background{
    background-color: powderblue!important;
}
.mangaichi {
    background-color: rgba(255, 218, 185, 0.6)!important;
}
.themed-background th{
    color: #000!important;
}

thead th{
    /*text-align:center!important;*/
    padding: 6px!important;
    vertical-align: middle!important;;
}
.term {
    width: 300px;
}
.no-gutters {
    margin:0;
    padding:0;
}

/* ツールチップ */
.custom_tooltip{
    color: #189a4e;
    display: inline-block;                        /* インライン要素化 */
    font-size:1.2em;
    /*border-bottom:dashed 1px #555;    !* 下線を引く *!*/
}
.custom_tooltip a{
    color: black;
}
.custom_tooltip:hover{
    cursor: pointer;
}

/* ツールチップ部分を隠す */
.custom_tooltip > span {
    display: none;
    text-align: left;
}

.custom_tooltip.active {
    position: relative;
    color: #333;
}
.custom_tooltip.active > i{
    color: #8a6460;
}
/* クリック時にツールチップを表示 */
.custom_tooltip.active > span {
    display: block;                  /* ボックス要素にする */
    position: absolute;            /* relativeからの絶対位置 */
    top: 28px;
    left: -14px;
    font-size: 13px!important;
    color: #fff;
    background-color: #8a6460;
    width: 300px;
    padding: 10px;
    border-radius:3px;
    z-index:100;
    font-weight: normal;
    line-height: 20px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.4);
}


.custom_tooltip:hover {
    position: relative;
    color: #333;
}
.custom_tooltip:hover > i{
    color: #8a6460;
}
/* クリック時にツールチップを表示 */
.custom_tooltip:hover > span {
    display: block;                  /* ボックス要素にする */
    position: absolute;            /* relativeからの絶対位置 */
    top: 28px;
    left: -14px;
    font-size: 13px!important;
    color: #fff;
    background-color: #8a6460;
    width: 300px;
    padding: 10px;
    border-radius:3px;
    z-index:100;
    font-weight: normal;
    line-height: 20px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.4);
}

.custom_tooltip:hover > span.left {
    right: -14px;
    left:auto;
}

.hover_tooltip span{
    display:none;}
.hover_tooltip:hover {
    position: relative;
    color: #333;
}
.hover_tooltip:hover > i{
    color: #8a6460;
}
/* クリック時にツールチップを表示 */
.hover_tooltip:hover > span {
    display: block;                  /* ボックス要素にする */
    position: absolute;            /* relativeからの絶対位置 */
    top: 28px;
    left: -14px;
    font-size: 13px!important;
    color: #fff;
    background-color: #8a6460;
    width: 300px;
    padding: 10px;
    border-radius:3px;
    z-index:100;
    font-weight: normal;
    line-height: 20px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.4);
}






/* フキダシ部分を作成 */
.custom_tooltip > span:before{
    content:'';
    display:block;
    position:absolute;                         /* relativeからの絶対位置 */
    height:0;
    width:0;
    top:-13px;
    left:15px;
    border:13px transparent solid;
    border-right-width:0;
    border-left-color: #8a6460;
    transform:rotate(270deg);            /* 傾きをつける */
    -webkit-transform:rotate(270deg);
    -o-transform:rotate(270deg);
    z-index:100;
}

.custom_tooltip > span.left:before {
    right: 15px;
    left:auto;
}

.custom_tooltip li {
    line-height: 1.4em;
    border-bottom: dotted 1px #ccc;
    list-style: none;
    padding: 6px 0;
}
.custom_tooltip li a{
    color:#fff;
}
.custom_tooltip .table{
    background-color: inherit!important;
}
/* ツールチップここまで */

span.auto_calc {
    display: inline-block;
    text-align: center;
    padding: 3px;
    border: solid 2px #ffae5c;
    border-radius: 25px;
    width: 30px;
    height: 30px;
    background: #fff;
    color: #ffae5c;
    cursor: pointer;
}
span.auto_calc:hover {
    cursor: pointer;
    color: #fff;
    background: #ffae5c;
}
.no_bordered td, .no_bordered th{
    border: 0!important;
}
.income_mode_others .yearly{
    display:none;
}