.product-search-box{
    border: solid 5px #ffc811;
    padding: 10px;
    padding-left: 38px;
    padding-top: 26px;
}
.search-box-heading {
    display: flex;
    justify-content: space-between;
}
.search-box-title{
    background: #d5d9db;
    position: relative;
    height: 59px;
    text-align: center;
    width: 49%;
    margin-bottom: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    cursor: pointer;
}
.search-box-title h3, .search-box-title h2 {
    font-size: 15.2pt;
    padding-top: 20px;
    color: #5c5c5c;
}
.search-box-title.active h3, .search-box-title.active h2 {
    color: #333;
}
.search-box-title.active {
    background: #ffc811;
}
.modal-custom .modal-dialog {
    max-width: 1100px;
    padding-right: 15px;
}
.modal-custom .modal-title {
    font-size: 32px;
}
.modal-custom .modal-subtitle {
    font-size: 22px;
    font-weight: 500;
    margin-top: -20px;
    margin-bottom: 10px;
}

.line-group-title:first-of-type {
    margin-top: 0;
}
.line-group-title {
    font-weight: 500;
    font-size: 16px;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-top: 15px;
    margin-bottom: 5px;
}
.line-group-title.station-group-title {
    margin-bottom: 10px;
}
.lines-list {
    display: flex;
    flex-wrap: wrap;
}
.lines-list.lines-staion-list {
    padding-left: 25px;
}
.lines-list label.container-checkbox {
    width: 25%;
    margin-bottom: 10px;
}
.modal-custom .modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    border-bottom: 5px solid #c8c8c8;
    border-top-left-radius: calc(.3rem - 1px);
    border-top-right-radius: calc(.3rem - 1px);
    margin: 15px 30px;
    padding: 10px 0 10px 10px;
}
.modal-custom .modal-body {
    position: relative;
    flex: 1 1 auto;
    margin: 10px 15px 10px 25px;
}
.modal-custom .modal-content {
    border-radius: 0;
    border: solid 2px #969696;
}
.modal-backdrop {
    background-color: #999;
}
.close-modal-anhtt {
    background: unset;
    border: none;
    padding-right: 0;
}
.close-modal-anhtt span{
    font-size: 45px;
    font-weight: 300;
    color: #808080;
}
.device-submit-area {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 30px;
}

#deviceSearch, #subComment6, #line, #stationsSelect {
    cursor: pointer;
}
.search-cond {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.search-cond > div {
    width: 25%;
    padding-right: 22px;
}
.search-cond > div.full-w {
    width: 100%;
    padding-top: 20px;
}
.search-cond > div.w-50 {
    width: 50%;
    padding-top: 20px;
}
.search-cond span {
    padding-left: 5px;
    font-size: 11.5pt;
}
.search-cond span.keyword-span {
    margin-bottom: 0;
}
.search-cond span.explain-small-span {
    font-size: 13px !important;
    font-weight: 300;
    margin-left: 10px;
}

.appeal-title-container {
    display: flex;
}

.appeal-arrow-area {
    padding: 10px 50px;
    padding-left: 9px;
    position: relative;
    display: none;
}

.appeal-area {
    display: flex;
    flex-wrap: wrap;
    font-size: 12pt;
}
.appeal-title {
    padding-left: 5px;
    padding-bottom: 10px;
    font-size: 11.6pt;
    position: relative;
}

/* Custom Checbox */
.container-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 25%;
    margin-bottom: 1rem;
}
.container-checkbox input {
    display: none;
}
.checkmark {
    position: relative;
    height: 25px;
    width: 25px;
    background: white;
    border: 3.5px #ffc811 solid;
    border-radius: 3px;
    margin-bottom: 0;
    margin-right: 0.4rem;
    flex-shrink: 0;
}
.modal-custom .checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    background: white;
    border: 2px #969696 solid;
    border-radius: 0;
}
.modal-custom .container-checkbox  {
    font-size: 16px;
    width: 100%;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-bottom: 0;
    font-weight: 500;
}

.modal-custom .container-checkbox.children  {
    text-decoration: unset;
    text-underline-offset: 0;
    font-weight: 300;
}
.modal-custom .list-devices {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    flex-wrap: wrap;
    max-height: 480px;
    overflow: auto;
}
.modal-custom .lines-all {
    max-height: 480px;
    overflow: auto;
}
.modal-custom .device-item {
    width: 49.5%;
    padding: 10px 10px;
    border: solid 2px #d5d5d5;
    margin-bottom: 15px;
}
.modal-custom .device-item.full-w {
    width: 100%;
}
.modal-custom .device-item-child {
    display: flex;
    margin-left: 25px;
    margin-top: 10px;
}
.container-checkbox .checkmark:after {
    position: absolute;
    left: 5px;
    top: -1px;
    width: 8px;
    height: 16px;
    border: solid white;
    border-width: 0px 3px 4px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    content: "";
    display: none;
}
.container-checkbox input:checked~.checkmark:after {
    display: block;
}
.container-checkbox input:checked~.checkmark {
    background-color: #ffc811;
}
.modal-custom .container-checkbox input:checked~.checkmark {
    background-color: #fff;
}
.lines-all .container-checkbox input:checked~.checkmark {
    background-color: #fff;
}

.modal-custom .container-checkbox .checkmark:after {
    position: absolute;
    left: 5px;
    top: 0px;
    width: 6px;
    height: 14px;
    border: solid #969696;
    border-width: 0px 3px 4px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    content: "";
}


#modalSubcomment6 .container-checkbox  {
    font-size: 16px;
    width: 25%;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-bottom: 0;
    font-weight: 500;
}

#modalSubcomment6 .list-devices .container-checkbox, .modal-custom .lines-list .container-checkbox  {
    text-decoration: unset;
    text-underline-offset: 0;
    font-weight: 300;
    font-size: 14px;
    width: 25%;
    margin-bottom: 5px;
}

#modalSubcomment6 .list-devices  {
    display: flex;
    margin-top: 30px;
    flex-wrap: wrap;
    max-height: 480px;
    overflow: auto;
}


#modalSubcomment6 .container-checkbox .checkmark:after {
    position: absolute;
    left: 5px;
    top: 0px;
    width: 6px;
    height: 14px;
    border: solid #969696;
    border-width: 0px 3px 4px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    content: "";
}
.modal-custom .lines-list .container-checkbox input:checked~.checkmark {
    background-color: #fff;
}
#modalSubcomment6 .checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    background: white;
    border: 2px #969696 solid;
    border-radius: 0;
}

.device-submit-area button {
    background: #ffdc3c;
    border-radius: 5px;
    line-height: 70px;
    cursor: pointer;
    border: none;
    padding: 0 60px;
    font-weight: 500;
    font-size: 20px;
    color: #323232;
    margin-right: 10px;
    margin-left: 10px;
}
.device-submit-area button.goto {
    border: 3px solid #c8c8c8;
    border-radius: 5px;
    line-height: 64px;
    cursor: pointer;
    padding: 0 60px;
    font-weight: 500;
    font-size: 20px;
    color: #323232;
    background: none;
    position: relative;
}
.device-submit-area button.goto::before {
    position: absolute;
    content: "";
    width: 2px;
    height: 22px;
    background-color: #c8c8c8;
    top: 21px;
    right: 25px;
}
.device-submit-area button.goto::after {
    position: absolute;
    content: "";
    width: 24px;
    height: 2px;
    background-color: #c8c8c8;
    top: 31px;
    right: 15px;
}

/* Custom select box */
.search-cond select, .search-cond input.keyword-input {
    border: solid 3.5px #ffc811;
    border-radius: 5px;
    height: 53px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-left: 12px;
    background: transparent;
    margin-top: 5px;
}
.search-cond select:focus {
    box-shadow: none;
    outline: 0;
}
.search-cond .container-select {
    position: relative;
}
.search-cond .container-select::after {
    border: 8px solid transparent;
    border-top: 12px solid #ffc811;
    top: 27px;
    right: 17px;
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    z-index: -1;
}
.search-cond .container-select.container-select-input::after {
    display: none;
}
.search-cond .container-select.container-select-input input::placeholder {
    font-style: normal;
    font-weight: 100;
    font-size: 14px;
    color: #303030;
}
.search-device {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    margin-top: 10px;
}
.hide-show-with-appeal {
    display: flex;
}
.search-device.search-device-tab2 {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
    margin-top: 0;
    width: 75%;
    padding-right: 0;
}
.search-device > div {
    width: 49%;
    padding-right: 22px;
}
.search-device.search-device-tab2 > div {
    width: 50%;
    padding-right: 22px;
}
.search-device > div > span{
    padding-left: 10px;
}

/* Custom select box */
.search-device input {
    border: solid 3.5px #ffc811;
    border-radius: 5px;
    height: 53px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-left: 12px;
    background: transparent;
    margin-top: 5px;
    padding-right: 45px;
}
.search-device input:focus,.search-device input:hover {
    border: solid 3.5px #ffc811;
    border-radius: 5px;
    height: 53px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-left: 12px;
    background: transparent;
    margin-top: 5px;
}

.search-device input::placeholder {
    font-style: normal !important;
}
.search-device .container-select {
    position: relative;
}
.search-device .container-select::after {
    position: absolute;
    content: "";
    width: 24px;
    height: 2px;
    background-color: #ffc811;
    top: 30px;
    right: 15px;
    z-index: -1;
    border: none;
}

.search-device .container-select::before {
    position: absolute;
    content: "";
    width: 2px;
    height: 22px;
    background-color: #ffc811;
    top: 20px;
    right: 25px;
    z-index: -1;
}
.search-device .container-select.container-select-input::after {
    display: none;
}
.search-device .container-select.container-select-input input::placeholder {
    font-style: normal;
    font-weight: 100;
    font-size: 14px;
    color: #303030;
}


.search-submit-area {
    text-align: center;
    margin-top: 11px;
    margin-bottom: 30px;
}
.search-submit-area label {
    background: #ffc811;
    font-weight: 300;
    border-radius: 5px;
    line-height: 50px;
    width: 50%;
    cursor: pointer;
    padding-top: 5px;
}
.search-submit-area img {
    width: 30px;
    margin-top: -8px;
    padding-right: 5px;
}
.search-submit-area input {
    background: none !important;
    border: none !important;
    padding: 0;
    color: black;
    font-size: 16pt;
    font-weight: 280;
}
.search-submit-area input:hover {
    color: black !important;
}

.sha-container h2.no-bd-b {
    border-bottom: none !important;
}

@media (max-width: 765px) {

    .checkmark {
        border-color: #a7afb4;
    }
    .hide-show-with-appeal {
        display: none;
    }
    .search-cond .container-select::after {
        top: 21px;
    }

    #screen-width-765{
        display: none;
    }
    #search-box-container {
        padding-left: 6px;
        padding-right: 6px;
    }
    .search-box-title {
        width: 49%;
        height: 40px;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        margin-bottom: -2px;
    }
    .search-box-title h3, .search-box-title h2 {
        padding-top: 12px;
        font-size: 11pt;
    }
    .search-box-title.active h3, .search-box-title.active h2 {
        padding-top: 15px;
        font-size: 11pt;
    }
    .lines-list {
        justify-content: space-between;
    }
    .product-search-box {
        border-width: 2px;
        padding: 14px 10px 10px;
        margin-top: 2px;
    }

    .search-cond > div {
        width: 100%;
        margin-bottom: 10px;
        padding-right: 0;
    }
    .search-cond > div.w-50 {
        width: 100% !important;
        margin-bottom: 10px;
        padding-right: 0;
        padding-top: 0;
    }
    .search-cond > div.full-w {
        padding-top: 0;
    }
    .search-device.search-device-tab2 {
        width: 100%;
    }
    .search-device.search-device-tab2 > div {
        width: 100%;
        padding-right: 0;
        margin-bottom: 10px;
    }
    .search-cond input.keyword-input {
        margin-top: 0;
        border-width: 2px;
        padding-left: 18px;
    }

    .search-cond .container-select.container-select-input input::placeholder {
        font-weight: 300;
    }
    .search-cond span { /* Hide label dropdown */
        display: none;
    }
    .search-cond select {
        border-width: 2px;
        padding-left: 18px;
        margin-top: 0;
    }

    .appeal-title {
        padding-left: 11px;
        margin-top: 6px;
    }
    .appeal-title::before {
        content: '';
        height: 23px;
        width: 5px;
        border-radius: 50px;
        background-color: #ffdc3c;
        position: absolute;
        left: 0;
    }
    .appeal-arrow-area {
        display: inline-block;
    }
    .appeal-arrow-area label {
        border: 8px solid transparent;
        border-left: 12px solid black;
        position: absolute;
    }
    .arrow-down{
        border-left: 8px solid transparent !important;
        border-top: 12px solid black !important;
        left: 6px;
    }

    .appeal-area {
        font-size: 13px;
        justify-content: space-between;
        display: none;
    }
    .appeal-area .container-checkbox {
        width: 48%;
        border: solid 2.5px #a7afb4;
        border-radius: 5px;
        padding: 0.9rem 0 0.9rem 0.5rem;
        margin-bottom: 0.6rem;
    }
    .checkmark {
        height: 18px;
        width: 18px;
        border-width: 2.5px;
    }
    .appeal-area .checked {
        background: #a7afb4;
        color: white;
    }
    .container-checkbox input:checked ~ .checkmark {
        background: white;
        border-color: white;
    }
    .modal-custom .container-checkbox input:checked ~ .checkmark {
        background: white;
        border-color: #a7afb4;
    }
    .container-checkbox input:checked ~ .checkmark:after {
        height: 12px;
        width: 6px;
        left: 4px;
        border-bottom-color: #a7afb4;
        border-right-color: #a7afb4;
        border-bottom-width: 3.5px;
    }
    .search-submit-area {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .search-submit-area label {
        width: 100%;
    }
    .search-submit-area img {
        width: 22px;
    }
    .search-submit-area input {
        font-size: 12pt;
    }
    .search-device {
        margin-top: -5px;
    }
    .search-device > div {
        width: 100%;
        padding-right: 0px;
    }
    .search-device > div > span {
        display: none;
    }
    .search-device input {
        padding-left: 18px;
    }
    .search-device input,.search-device input::placeholder {
        border-width: 2px;
        padding-right: 30px;
        font-weight: 300;
        font-style: normal;
        color: #333;
        border-color: #a7afb4;
        margin-top: 10px;
    }
    .search-device.search-device-tab2 input {
        margin-top: 0;
        padding-left: 18px;
    }
    .search-device .container-select::before {
        position: absolute;
        content: "";
        width: 2px;
        height: 18px;
        background-color: #a7afb4;
        top: 26px;
        right: 20px;
        z-index: -1;
    }
    .search-device .container-select::after {
        position: absolute;
        content: "";
        width: 18px;
        height: 2px;
        background-color: #a7afb4;
        top: 34px;
        right: 12px;
        z-index: -1;
    }
    .search-device.search-device-tab2 .container-select::before {
        top: 18px;
    }
    .search-device.search-device-tab2 .container-select::after {
        top: 26px;
    }
    .modal-custom .modal-dialog {
        padding-right: 0;
        padding-top: 50px;
    }
    .modal-custom .modal-header {
        margin: 10px;
        padding: 0;
        padding-bottom: 5px;
        border-bottom-width: 3px;
        margin-bottom: 5px;
        margin-left: 15px;
    }
    .modal-custom .modal-title {
        font-size: 16px;
    }
    .close-modal-anhtt span {
        font-size: 30px;
        font-weight: 100;
        color: #808080;
        line-height: 30px;
    }
    .modal-custom .modal-body {
        margin: 0;
    }
    .modal-custom .container-checkbox {
        font-weight: 300;
        font-size: 14px;
    }
    .modal-custom .container-checkbox.children {
        font-weight: 100;
        width: 50%;
        font-size: 13px;
        margin-bottom: 10px;
    }
    #modalSubcomment6 .list-devices .container-checkbox, .modal-custom .lines-list .container-checkbox {
        width: 48%;
        font-size: 13px;
        font-weight: 100;
        margin-bottom: 10px;
    }
    .lines-list.lines-staion-list {
        padding-left: 15px;
    }
    .modal-custom .lines-list.lines-staion-list .container-checkbox {
        width: 50%;
        font-size: 13px;
        font-weight: 100;
        margin-bottom: 10px;
    }
    .modal-custom .lines-list.lines-staion-list .container-checkbox:nth-child(odd) {
        padding-left: 5px;
    }

    #modalSubcomment6 .list-devices {
        margin-top: 20px;
    }
    .line-group-title  {
        font-size: 13px;
        font-weight: 300;
        margin-top: 10px;
    }
    .line-group-title:first-of-type {
        margin-top: 0;
    }
    .modal-custom .modal-subtitle {
        font-size: 14px;
        margin-top: -10px;
        margin-bottom: 10px;
    }
    .lines-staion-list {
        padding-left: 15px;
    }
    .modal-custom .device-item {
        width: 100%;
        padding-bottom: 0;
    }
    .modal-custom .device-item-child {
        flex-wrap: wrap;
        margin-left: 20px;
    }
    .modal-custom .list-devices {
        max-height: 405px;
    }
    .modal-custom .checkmark {
        position: relative;
        height: 18px;
        width: 18px;
        background: white;
        border: 2px #969696 solid;
        border-radius: 0;
    }
    .search-cond select, .search-cond input.keyword-input {
        border-color: #a7afb4;
    }
    .search-cond .container-select::after {
        border-top-color: #a7afb4;
    }
    .search-device input:focus, .search-device input:hover {
        border-color: #a7afb4;
    }
    .device-submit-area {
        text-align: center;
        margin-top: 15px;
        margin-bottom: 20px;
    }
    .device-submit-area button {
        background: #ffdc3c;
        border-radius: 5px;
        line-height: 55px;
        cursor: pointer;
        border: none;
        padding: 0 15px;
        font-weight: 500;
        font-size: 14px;
        color: #323232;
    }
    .container-checkbox.full-w-sp {
        width: 100% !important;
        margin-top: -10px;
    }
    .device-submit-area.device-submit-area-2 {
        display: flex;
        justify-content: space-between;
    }
    .device-submit-area.device-submit-area-2 button {
        width: 48%;
        padding: 0;
        margin-right: 0;
        margin-left: 0;
    }
    .device-submit-area.device-submit-area-2 button.goto {
        border: 2px solid #c8c8c8;
        border-radius: 5px;
        line-height: 51px;
        cursor: pointer;
        font-weight: 500;
        font-size: 14px;
        color: #323232;
        background: none;
        position: relative;
    }
    .device-submit-area button.goto::after {
        position: absolute;
        content: "";
        width: 19px;
        height: 2px;
        background-color: #c8c8c8;
        top: 24px;
        right: 9px;
    }
    .device-submit-area button.goto::before {
        position: absolute;
        content: "";
        width: 2px;
        height: 18px;
        background-color: #c8c8c8;
        top: 16px;
        right: 17px;
    }
}
