/* safety-toto list_post */
.safety_toto .row>* {
    --bs-gutter-x: 2.5rem;
}

.safety_list_item .img_box img {
    max-width: 100%;
}

.safety_list_item {
    border-radius: 12px;
    border: 3px solid #dfd6f3;
    margin-bottom: 3rem;
}

.safety_toto .col-4:hover .safety_list_item {
    border-color: var(--primaryColor);
}

.safety_list_item .title_name {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: #f4efff;
    border-radius: 8px 8px 0 0;
}

.safety_toto .col-4:hover .safety_list_item .title_name {
    background: var(--primaryColor);
}

.safety_list_item .title_name p {
    font-size: 14px;
    font-weight: bold;
    color: #39204b;
}

.safety_toto .col-4:hover .safety_list_item .title_name p {
    color: #fff;
}

.safety_toto .title_name .title_box {
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding-right: 18px;
    height: 38px;
}

.safety_toto .title_name .title_box img {
    max-width: 20px;
    margin-left: 0.5rem;
}

.safety_list_item .btn_box {
    display: flex;
    align-items: center;
    padding: 15px;
}

.safety_list_item .btn_box .card_btn {
    width: 100%;
    border: 2px solid var(--primaryColor);
    padding: 7px 5px;
    text-align: center;
    border-radius: 5px;
    background: #fff;
    font-size: 14px;
}

.safety_list_item .btn_box .card_btn:nth-child(even){
    border-color: #fec214;
}

.safety_list_item .btn_box .card_btn:nth-child(odd) {
    margin-right: 0.5rem;
    color: var(--primaryColor);
    font-weight: bold;
}

.safety_list_item .btn_box .card_btn:nth-child(even) {
    margin-left: 0.5rem;
    color: #fec214;
    font-weight: bold;
}

.safety_list_item .btn_box .card_btn:nth-child(odd):hover {
    background: var(--primaryColor);
    color: #fff;
}

.safety_list_item .btn_box .card_btn:nth-child(even):hover {
    background: #fec214;
    color: #fff;
}

.bo_list .list_header {
    background: #f4efff;
    padding: 10px 5px 10px 15px;
    border-radius: 3px;
}

a.btn_b01,
.btn_b01 {
    color: #a0a0a0;
}

.list_banner {
    margin-bottom: 2rem;
}

.list_banner img {
    max-width: 100%;
}

.list_filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2.25rem 0;
}

.filter_select {
    display: flex;
    align-items: center;
}

.filter_select .comment_select {
    padding: 8px 10px;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("/static/img/down_solid.webp") no-repeat #fff;
    background-position: right 10px center;
}

.filter_select .comment_select option {
    height: 25px;
}

.bo_view #article_react .btn_react {
    background: #f3effe;
    color: #a459e1;
    border: 2px solid #a459e1;
}

.bo_view #article_react .btn_react.react_nogood {
    background: transparent;
    color: #999999;
    border-color: #dadada;
}

.bo_view #article_react .btn_react:hover,
.bo_view #article_react .btn_react.active {
    color: #fff;
    border-color: #a459e1;
    background: #a459e1;
}

.bo_view #article_react .btn_react.react_nogood:hover,
.bo_view #article_react .btn_react.react_nogood.active {
    color: #999999;
    border-color: #a459e1;
    background: transparent;
}

/* safety-toto read_post */
.bo_view #view_header {
    border-bottom: none;
}

/* view_information */
.view_information {
    display: flex;
    margin-top: 2.5rem;
    padding: 20px;
    background: #fcf9ff;
    border-radius: 10px;
    box-shadow: 1px 1px 5px #d7d7d7;
}

.view_image img {
    max-width: 100%;
}

.view_info_content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 0 10px 0 20px;
}

.view_info_content .info_content_wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 6px 0 10px rgb(50 60 70 / 10%);
    border-radius: 10px;
}

.view_info_content .content_list {
    display: flex;
    align-items: center;
    flex: 1;
    border-bottom: var(--border);
}

.content_list .list_comment {
    padding: 10px 15px;
}

.content_list .list_comment p,
.content_list .list_comment a {
    font-size: 14px;
}

.content_list .list_comment img {
    max-width: 23px;
    margin-left: 0.5rem;
}

.content_list .list_comment p.highlight {
    color: #dc3545;
    font-weight: bold;
}

.list_comment .fa-up-right-from-square {
    color: #dc3545;
}

.list_comment .fa-circle-info {
    color: #494949;
    font-size: 15px;
    margin-left: 0.5rem;
}

.list_comment .category_tag {
    padding: 0.25rem 0.5rem;
    background: #edeef0;
    border-radius: 3px;
    margin-right: 0.5rem;
}

.list_comment .category_tag p {
    font-size: 12px;
}

.content_list .list_start {
    flex: 1;
    background: #540c95;
    height: 100%;
}

.content_list:first-child .list_start {
    border-radius: 10px 0 0 0;
}

.content_list:last-child .list_start {
    border-radius: 0 0 0 10px;
}

.list_start .flex_box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.list_start .flex_box p {
    font-size: 14px;
    color: #fff;
}

.content_list .list_end {
    flex: 2;
    background: #fff;
    display: flex;
    align-items: center;
    height: 100%;
}

.content_list:first-child .list_end {
    border-radius: 0 10px 0 0;
}

.content_list:last-child .list_end {
    border-radius: 0 0 10px 0;
}

.list_filter .check_box_all {
    display: flex;
}

.list_filter .check_box_all p {
    margin: 0 2rem 0 0.5rem;
}

.header_info>div>span {
    margin-right: 0.75rem;
}

/* tooltip */
.read_tooltip {
    position: relative;
    border-bottom: 1px dotted black;
}

.read_tooltip:before {
    content: attr(tooltip-data);
    position: absolute;
    width: 250px;
    background-color: rgba(0, 0, 0, .7);
    color: #fff;
    text-align: center;
    line-height: 1.3;
    border-radius: 5px;
    z-index: 1;
    opacity: 0;
    transition: opacity .5s;
    bottom: 155%;
    left: 50%;
    font-size: 0.70em;
    visibility: hidden;
    padding: 12px;
    font-size: 12px;
    transform: translateX(-50%);
    text-align: start;
}

.read_tooltip:after {
    content: "";
    position: absolute;
    bottom: 75%;
    left: 50%;
    margin-left: -7px;
    border-width: 7px;
    border-style: solid;
    opacity: 0;
    transition: opacity .5s;
    border-color: rgba(0, 0, 0, .7) transparent transparent transparent;
    visibility: hidden;
}

.read_tooltip:hover:before,
.read_tooltip:hover:after {
    opacity: 1;
    visibility: visible;
}
/* write */
.write_subject_wrap {
    margin-top: 10px;
    align-items: center;
    justify-content: center;
}

.write_subject_text {
    font-size: 14px;
    text-align: left;
    padding-left: 15px;
}

.write_subject input,
.write_actionInput input{
    border-radius: 8px;
    border: 1px solid #a459e1;
    font-size: 16px;
    font-weight: 700;
    height: 35px;
}
.write_subject select {
    border-radius: 10px;
    border: 1px solid #a459e1;
    font-size: 14px;
    font-weight: 700;
    height: 40px;
}

.actionSpan{
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    color: var(--primaryColor);
    margin-left: 5px;
    border-radius: 5px;
    padding: 0 8px;
    width: auto;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border: 1px solid var(--primaryColor);
    cursor: pointer;
}

.actionSpan:hover {
    background: var(--primaryColor);
    color: #fff;
}

.disabledInput{
    background-color: #ccc;
}

.view_buttons{
    margin-top: 15px;
}

.view_buttons .btn.btn_border {
    border: var(--primaryColor) 1px solid;
    margin-right: 0.5rem;
    font-size: 14px;
    color: var(--primaryColor);
    cursor: pointer;
}

.view_buttons .btn.btn_border:hover {
    background: var(--primaryColor);
    color: #fff;
}

.bo_view #view_header .buttons_more .more {
    width: 120px;
}

.bo_view #view_subject {
    padding-bottom: 1rem;
    border-bottom: var(--border);
}

.bo_common .buttons_more .more a {
    padding: 12px;
}

.bo_view #view_header .member {
    font-size: 14px;
}

.view_header_top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.view_header_top .header_info_name {
    display: flex;
    align-items: center;
}

.bo_view #view_header .header_profile_img img {
    width: 50px;
    height: 50px;
}

.bo_view #view_header .header_info {
    justify-content: center;
    flex-direction: column;
}

.bo_view #article_react {
    margin-top: 30px;
}

.story_head_wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 1.65rem;
}

.story_buttons_more .delete_button {
    line-height: 35px;
    height: 35px;
    padding: 0 10px;
    text-align: center;
    border: var(--border);
    border-radius: 5px;
}

.story_buttons_more .delete_button .btn_border {
    font-weight: bold;
    color: #a0a0a0;
    font-size: 14px;
}

.story_buttons_more .delete_button .btn_border .fa-trash-can {
    margin-right: 0.35rem;
}

.btn_confirm.btn_confirm_story {
    display: flex;
    justify-content: flex-end;
}

.btn_confirm_story .btn_preview {
    padding: 0 1.5rem;
    height: 35px;
    line-height: 35px;
    font-size: 14px;
    color: var(--primaryColor);
    font-weight: bold;
    background: #f4efff;
    border-radius: 5px;
    margin: 0 10px;
    border: 1px solid var(--primaryColor);
    cursor: pointer;
}

.btn_confirm_story .btn_preview:hover {
    background: var(--primaryColor);
    color: #fff;
}

.content_list .list_comment.list_end #rating svg{
    color: var(--primaryColor);
    margin-right: 3px;
}
.content_list .list_comment.list_end #rating + p{
    color: var(--primaryColor);
    font-size: 16px;
    font-weight: bold;
}
.bo_comment_write .cancelSpan {
    height: 35px;
    padding: 0 16px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 1.3rem;
    border: 2px solid #ccc;
    color: #ccc;
    line-height: 35px;
    cursor: pointer;
}

.bo_comment_write .btn_submit {
    height: 35px;
}

.bo_comment_write .cancelSpan:hover {
    border: 2px solid #666;
    color: #666;
}

.competitionTable {
    width: 100%;
    text-align: center;
    margin-top:15px;
    font-size: 1.3rem;
    border-radius: 10px;
    box-shadow: 0px 0px 5px #ddd;
  }

  .competitionTableHead{
      color: #000;
      font-weight: bold;
      border-radius: 10px 10px 0 0;
      padding: 20px 12px;
      margin: 0 auto;
      word-break: break-all;
      border-bottom: 2px solid #9370db;
  }
  
  .competitionTableBody{
      color: var(--primaryColor);
      background-color: #fff;
      font-weight: 400;
      width: 100%;
      word-break: break-all;
      border-radius: 0 0 10px 10px;
  }
  .competitionTableBody .row{
      margin: 0 auto;
      padding: 20px 12px;
      width: calc(100%-30px);
      box-sizing: border-box;
      border-left: 2px solid transparent;
      border-bottom: var(--border);
  }
  .competitionTableBody .row, .competitionTableHead .row{
    align-items: center;
    justify-content: center;
  }

  .bo_comment_write {
    margin: 0;
  }

  .competitionTable .btn{
    padding: 0px;
  }
  .competitionTable .buttons_more .more {
    width: 80px;
    left: -16px;
    top: 30px;
  }
  .competitionTableBody .id_column {
    color: #000;
  }
  .view_image,.view_info_content{
    margin: 5px 0;
  }
  .pointTypeContainer{
    margin: 10px 0;
    text-align: center;
    display: flex;
  }
  .pointType{
    font-size: 16px;
    color: var(--primaryColor);
    font-weight: 700;
    border: 1px solid var(--primaryColor);
    padding: 5px 10px;
    border-radius: 15px;
    background-color: #fff;
  }
  .pointType:hover{
      color: #fff;
      background-color: var(--primaryColor);
  }
  .pointType.active{
    color: #fff;;
    background-color: var(--primaryColor);
  }
  .functionButton{
    color: var(--primaryColor);
    border: 1px solid var(--primaryColor);
    padding: 2px 5px;
    border-radius: 8px;
    background-color: #fff;
  }
  .caution{
    align-items: stretch;
    justify-content: flex-start;
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
  }
  .caution .firstRuleBlock{
    padding: 5px 0;
    background-color: #7d39b8;
    color: #fff;
    font-size: 18px;
    text-align: center;
    border-radius: 5px;
  }
  .caution .otherRuleBlock{
    border: 1px solid #7d39b8;
    color: #7d39b8;
    font-size: 14px;
    text-align: left;
    font-weight: 700;
    border-radius: 5px;
    padding: 5px;
    margin: 2px 0;
    height: calc(100% - 4px); /* Subtract the top and bottom margin */
    
  }
  .caution .otherRuleBlock > .dangerText{
    color: #f00;
    display: inline;
  }
  .wr3_lv1{
    color: var(--primaryColor);
    font-weight: 700;
    background: #dba7fd;
    padding: 3px 5px;
  }
  .wr3_lv2{
    color: #ffbf00;
    font-weight: 700;
    background: #ffecb4;
    padding: 3px 5px;
  }
  .wr3_lv3{
    color: #28a745;
    font-weight: 700;
    background: #c1ffcf;
    padding: 3px 5px;
  }
  .wr3_lv4{
    color: #dc3545;
    font-weight: 700;
    background: #ffb8bf;
    padding: 3px 5px;
 }
 .bo_common .buttons_more.pointzone {
    display: flex;
    justify-content: center;
 }

 /* table */
 .competitionTableHead > .column_one,
 .competitionTableBody .column_one {
    flex: 0 0 42px;
 }

 .competitionTableHead > .col_tool,
 .competitionTableBody .col_tool {
    flex: 0 0 60px;
 }

 .competitionTableBody .row:hover {
    border-left: 2px solid var(--primaryColor);
    background: #f2eeff;
}

.view_info_content > .title_block,
.view_info_content > .web_wrap {
    margin-bottom: 1rem;
}

.view_info_content > .title_block > p {
    font-size: 18px;
    font-weight: bold;
    color: #581A89;
}

.view_info_content > .code_wrap > p {
    font-size: 14px;
    font-weight: bold;
    color: #707070;
}

.view_info_content > .code_wrap > p > span {
    color: #8D24EC;
}

.content_bottom {
    text-align: end;
}

.content_bottom > .web_link {
    border-radius: 5px;
    background: #C082FE;
}

.content_bottom > .web_link:hover {
    background: #8D24EC;
}

.content_bottom > .web_link > p {
    font-size: 14px;
    color: #fff;
    font-weight: bold;
}

.tool_btn_box > .btn {
    
}



@media screen and (max-width: 768px) {
    .safety_toto .title_name .title_box {
        padding: 0;
    }
    .view_info_content {
        padding: 0 5px;
    }
    .write_subject_text {
        text-align: left;
        margin-bottom: 5px;
        
    }
    .write_action{
        text-align: center;
    }
    .actionSpan{
        margin-top: 5px;
        line-height: 30px;
    }
    
    .write_subject input,
    .write_actionInput input{
        border: 1px solid #a459e1;
        font-size: 12px;
        font-weight: 700;
        height: 35px;
    }
    .write_subject select {
        border-radius: 10px;
        border: 1px solid #a459e1;
        font-size: 12px;
        font-weight: 700;
        height: 30px;
    }
    .safety_list_item .title_name {
        padding: 5px;
    }
    .safety_toto .title_name .title_box {
        padding-right: 0px;
        height: 24px;
    }
    .competitionTableHead > .col_rwd,
    .competitionTableBody .col_rwd {
        display: none;
    }

    .competitionTableBody .row,
    .competitionTableHead {
        padding: 15px 0;
    }

    .functionButton {
        font-size: 11px;
    }

    .wr3_lv1 {
        font-size: 12px;
    }
}

@media screen and (max-width: 767px) {
    .view_image {
        text-align: center;
    }

    .content_bottom {
        margin-top: 1.25rem;
    }

    .content_bottom > .web_link {
        width: 100%;
    }
}