html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}
body {
    font-family: "Yu Gothic" !important;
    /*font-family: "ＭＳ Ｐゴシック" !important;*/
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background: white;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background: white;
}

.main {
    position: relative;
    top: 0;
    padding-top: calc(var(--header-height));
    padding-bottom: calc(var(--footer-height));
    overflow-y: auto;
    height: 100vh;
}

/* JS will update these */
:root {
    --header-height: 70px;
    --footer-height: 60px;
}

.login-box{
    margin: auto;
    width: 375px !important;
}
.menuTable{
    margin:auto;
    width: 700px;
    overflow-y: hidden;
}
.bgWheat{
    color: black;
    background-color: #FFF2CC;
}
.underline {
    height: 0px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #0A0A0A;
}
.button-primary{
    color: #0e84b5;
    border-radius: 10%;
    background-color: #5cb85c;
}
.bg-light-sky {
    background-color: #c5d6f2;
}
.bg-light-silver{
    background-color: #f4f6f9;
}
.bg-dark-silver{
    background-color: #D0CECE;
}
.contractor-form{
    width: 1000px;
}
.errormsg {
    color: red;
    background-color: yellow;
    display: none;
}
.collapsible {
    color: #007bff !important;
    cursor: pointer;
    padding: 5px;
    width: 128px;
    border: none;
    text-align: center;
    outline: none;
    font-size: 16px;
    text-decoration: underline;
    border: 1px solid #dee2e6!important;
}
table>tbody>tr>td.td-hide, table>thead>tr>th.td-hide {
    display: none !important;
}
.collapsible.active, .collapsible:hover {
    text-decoration: underline;
}
.content-div {
    padding: 0px;
    max-height: auto;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    min-height: 100%;
}
.card-footer{
   margin-top:40px;
}
.k1Btn{
    width: 140px !important;
    height: 38px !important;
}
.mat-1{
    margin-top: 5px !important;
}
.k1Btn2{
    color: black !important;
    background-color: #D0CECE;
    outline: none !important;
    border-color: rgba(100, 100, 100, 0);
}
.k1Btn2:hover{
    color: black !important;
    background-color: #D0CECE !important;
    outline: none !important;
    border-color: rgba(100, 100, 100, 0);
}
.k1Btn2:focus, .k1Btn2:active:focus, .k1Btn2.active:focus{
    color: black !important;
    background-color: #D0CECE !important;
    outline: none !important;
    border-color: rgba(100, 100, 100, 0);
}
.k1Btn2.disabled, .k1Btn2:disabled{
    border-color: rgba(100, 100, 100, 0);
    background-color: #D0CECE;
}
.k1TableTitleBG{
    background-color: #44546A !important;
    color: white !important;
    position:sticky;
    top: 0px;
    min-height:100px;
    text-align: left;
    z-index: 101;
}
.table th {
    border-top: 0px solid #dee2e6;
}
.fixed_header {
    width: 400px;
    table-layout: fixed;
    border-collapse: collapse;
}
.fixed_header tbody {
    display: block;
    width: 100%;
    height: 225px;
}
.fixed_header thead tr {
    display: block;
}
.fixed_header thead {
    background: black;
    color: #fff;
}
.fixed_header th,
.fixed_header td {
    padding: 2px;
    text-align: center!important;
    width: 220px;
}
.k1tabledata{
    text-align:left;
}
.k1RegTableTitleBG{
    color: black;
    text-align:left;
    background-color:#FCE4D6;
}
table.fixed-td {
    table-layout: fixed;
    width: 400px;
    border-collapse: collapse;
}
table.fixed-td>thead>tr>th, table.fixed-td>tbody>tr>td {
    /* display: inline-block; */
    width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
    align-content: center;
    span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

#contract-history-modal #contractHistoryTable th,
#contract-history-modal #contractHistoryTable td {
    vertical-align: top !important;
    padding: 8px !important;
    white-space: normal !important;
    overflow: hidden !important;
}

#contract-history-modal #contractHistoryTable td .td-wrapper {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    line-height: 1.5em !important;
    max-height: 3em !important;
}

#contractHistoryTable th:nth-child(1), #contractHistoryTable td:nth-child(1) { width: 150px; }
#contractHistoryTable th:nth-child(2), #contractHistoryTable td:nth-child(2) { width: 150px; }
#contractHistoryTable th:nth-child(3), #contractHistoryTable td:nth-child(3) { width: 250px; }
#contractHistoryTable th:nth-child(4), #contractHistoryTable td:nth-child(4) { width: 450px; }
#contractHistoryTable th:nth-child(5), #contractHistoryTable td:nth-child(5) { width: 450px; }
#contractHistoryTable th:nth-child(6), #contractHistoryTable td:nth-child(6) { width: 150px; }

.flex-td span,
.flex-td button {
    float: left;
    clear: left;
    width: 100%;
}
.flex-td a button {
    margin-bottom: 4px!important;
}
/* table.fixed-td>thead>tr>th:hover, table.fixed-td>tbody>tr>td:hover {
    position: relative;
    z-index: 100;
    width: auto;
    background-color: #FFF;
    direction: rtl;
}
table.fixed-td>thead.k1TableTitleBG>tr>th:hover {
    background-color: #44546A;
}
table.fixed-td>tbody>tr.orange-row>td:hover {
    background-color: #ED7D31;
}
table.fixed-td>tbody>tr.blue-row>td:hover {
    background-color: #4472C4;
}
table.fixed-td>tbody>tr.yellow-row>td:hover {
    background-color: #FFFF00;
}
table.fixed-td>tbody>tr.gray-row>td:hover {
    background-color: #808080;
} */
/* .tooltip-inner {
  background-color: #fff !important;
  color: #000 ;
}
.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^="top"] .arrow::before {
  border-top-color: #fff !important;
}
.bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^="right"] .arrow::before {
  border-right-color: #fff !important;
}
.bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
  border-bottom-color: #fff !important;
}

.bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^="left"] .arrow::before {
  border-left-color: #fff !important;
} */
table>tbody>tr.sky-blue-row{
    background-color: #bdd6ee;
}
table>tbody>tr.green-row{
    background-color: #92d050;
}
table>tbody>tr.orange-row{
    background-color: #ffc000;
}
table>tbody>tr.peach-row{
    background-color: #fbe4d5;
}
table>tbody>tr.blue-row{
    background-color: #0070c0;
}
table > tbody > tr.blue-row > td > div:has(a) {
  color: #FFF;
}
table>tbody>tr.blue-row>td>a {
    COLOR: #FFF;
}
table>tbody>tr.yellow-row{
    background-color: #ffff00;
}
table>tbody>tr.white-row{
    background-color: #ffffff;
}
table>tbody>tr.gray-row{
    background-color: #bfbfbf;
}
.custom-file-input{
    opacity: 1 !important;
}
.custom-file-input::-webkit-file-upload-button {
    visibility: hidden;
    opacity: 1 !important;

}
.custom-file-input::before {
    content: 'ファイルを選択';
    display: inline-block;
    background: #D0CECE;
    border: 1px solid #999;
    border-radius: 3px;
    padding: 5px 8px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    text-shadow: 1px 1px #fff;
    font-weight: 700;
    font-size: 10pt;
}
.custom-file-input:hover::before {
    border-color: black;
}
.custom-file-input:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}
input[type="text"]:read-only {
    cursor: normal;
    background-color: #fff;
    color: black;
}
input[type="text"]:read-only:focus {
    border: 1px solid #ced4da; /* Keeps the border unchanged */
}
/* input[type=text]:focus {
    border: 1px solid #ced4da;
}
input[type=password]:focus {
    border: 1px solid #ced4da;
} */
.h100px{
    height: 100px;
}
.required:after {
    content:" *";
    color: red;
}

.container-fluid-min-height{
    min-height: 700px;
}

/*customization Registration Start Page */
.card-body {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 0px;
    padding: 0.25rem 0.5rem;
}

/*.card-header {*/
/*    border-bottom: 1rem;*/
/*}*/
.card {
    box-shadow: 0 0 1px rgb(0 0 0 / 13%), 0 1px 3px rgb(0 0 0 / 20%);
    /* margin-bottom: 0rem; */
}
.card-header {
    padding: 0.5rem 0.35rem;
}
.card-header>.card-tools {
    float: right;
    margin-right: 0.375rem;
}
.k1Btn {
    width: 125px !important;
    height: 38px !important;
}
.ml-3 {
    margin-left:auto;
}
#ui-datepicker-div {
    font-size: 14px;
}

.input-group>.custom-select:not(:first-child), .input-group>.form-control:not(:first-child) {
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}
.login-card-body .input-group .form-control {
    border: 1px solid #ced4da;
}
/*customization Registration End Page */
@media screen and (min-width: 992px){
  .contractorDetailsBtn { padding-top: 23px;}
}

/* fixed navbar and footer */
/* body{
    padding-top: 60px;
    padding-bottom: 40px;
} */
.container{
    width: 100%;
    z-index: 9;
}
.fixed-header, .fixed-footer{
    width: 100%;
    position: fixed;
    background-color: #ffffff;
    z-index: 1000;
    left: 0;
}
.fixed-header{
    top: 0;
}
.fixed-footer{
    bottom: 0;
}

@media screen and (max-width: 935px) {
    .small-text {
      font-size: 1.8rem;
    }
  }
  @media screen and (max-width: 559px) {
    .small-text-2 {
      font-size: 1.3rem;
    }
}

@media screen and (min-width: 320px) and (max-width: 389px) {
  .clear-header { clear: both; height: 105px;}
}
@media screen and (min-width: 390px) and (max-width: 767px) {
  .clear-header { clear: both; height: 75px;}
}
@media screen and (min-width: 390px) and (max-width: 767px) {
  .clear-header2 { clear: both; height: 275px;}
}
@media screen and (min-width: 768px) {
  .clear-header2 { clear: both; height: 155px;}
}
@media screen and (min-width: 320px) and (max-width: 575px) {
  .clear-header-filter { clear: both; height: 90px;}
}
@media screen and (min-width: 576px) {
  .clear-header-filter { clear: both; height: 15px;}
}

@media screen and (min-width: 320px) and (max-width: 575px) {
  .clear-footer { clear: both; height: 115px;}
}
@media screen and (min-width: 576px) {
  .clear-footer { clear: both; height: 65px;}
}

@media screen and (min-width: 320px) and (max-width: 400px) {
  .ringi-modal-btn { margin-top: 14px;}
}

.wrapper {
    overflow-y: hidden;
}
/* fixed navbar and footer */

#productSelectedDiv {
    overflow-y: hidden;
}

#product-select-modal>.tab-pane>.card-body>.form-group {
    margin-bottom: 6px !important;
}

.center-span {
    display: flex;
    align-items: center;
    margin-left: 5px;
}

#ui-datepicker-div {
    font-size: 14px;
    z-index: 9999 !important;
}

/* Product Remark Div */
.remark_div {
    width: 100%;
    height: 86px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    color: #495057;
    font-size: 1rem;
    font-weight: 400;
}

.agency_product_remark_div, .pack_product_remark_div {
    padding: .375rem .75rem;
}

.border-top {
    border-top: 1px solid #ced4da;
}

/* erorr modal */
#datatable-error-modal {
    z-index: 0;
    display: none;
    .modal-header {
        border-bottom: none;
    }
    .modal-body {
        padding: 1rem 3rem;
    }
}

#datatable-error-modal .modal-dialog {
    max-width: 450px;
    /* Adjust the maximum width as needed */
    width: auto;
    margin: 0;
}

.table-length-pagination-container-contractor,
.table-length-pagination-container-billing-address,
.table-length-pagination-container-product,
.table-length-pagination-container-shop,
.table-length-pagination-container-agency,
.table-length-pagination-container-pack,
.table-length-pagination-container-contract-history,
.table-length-pagination-container-rejection-reason,
.table-length-pagination-container-request-data-table {
    display: flex;
    justify-content: space-between;
}

/* Style DataTables pagination buttons */
.dataTables_paginate .paginate_button {
    padding: 5px 10px;
    margin: 2px;
    background-color: #f5f5f5;
    color: #333;
    cursor: pointer;
}

/* Style active pagination button */
.dataTables_paginate .paginate_button.current {
    /* background-color: #007bff; */
    color: #333 !important;
    /* border: 1px solid #007bff; */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #dcdcdc));
    background-color: linear-gradient(to bottom, #fff 0%, #dcdcdc 100%);
    border: 1px solid #979797;
}

/* Style disabled pagination button */
.dataTables_paginate .paginate_button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

table.dataTable.no-footer {
    border-bottom: none;
}

.rowPerPage {
    margin-right: 5px;
}
@media only screen and (min-width: 768px) {
  .pagination {
    float: right;
    justify-content: end;
  }
  .shopTable.shopInfoTable {
    width: 70% !important;
  }
}
@media only screen and (max-width: 767px) {
  .shopTable.shopInfoTable {
    width: 100% !important;
  }
}
.pagination {
    display: flex;
    list-style: none;
    padding: 0;
}

.pagination li {
    margin: 0 5px;
    padding: 1px 5px;
    margin: 0 2px;
    background-color: #f5f5f5;
    color: #333;
    cursor: pointer;
}

.pagination li.disabled {
    margin: 0 5px;
    padding: 1px 5px;
    background-color: inherit;
    color: #333;
    cursor: auto;
}

.pagination li a {
    color: inherit;
}

.pagination li.active a {
    pointer-events: none;
    cursor: default;
}

.pagination li.active {
    color: #333 !important;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #dcdcdc));
    background-color: linear-gradient(to bottom, #fff 0%, #dcdcdc 100%);
    border: 1px solid #979797
}

.card-list {
    display: flex;
    justify-content: space-between;
}

table#productSelectTable thead tr th:nth-child(1),
table#productSelectTable tbody tr td:nth-child(1) {
    width: 5% !important;
    max-width: 5% !important;
}
table#productSelectTable thead tr th:nth-child(2),
table#productSelectTable tbody tr td:nth-child(2) {
    width: 15% !important;
    max-width: 15% !important;
}

table#productSelectTable thead tr th:nth-child(3),
table#productSelectTable tbody tr td:nth-child(3) {
    width: 70% !important;
    max-width: 70% !important;
}

table#productSelectTable thead tr th:nth-child(4),
table#productSelectTable tbody tr td:nth-child(4) {
    width: 10% !important;
    max-width: 10% !important;
}






table#shopSelectTable thead tr th:nth-child(1),
table#shopSelectTable tbody tr td:nth-child(1) {
    width: 5% !important;
    max-width: 5% !important;
}
table#shopSelectTable thead tr th:nth-child(2),
table#shopSelectTable tbody tr td:nth-child(2) {
    width: 15% !important;
    max-width: 15% !important;
}

table#shopSelectTable thead tr th:nth-child(3),
table#shopSelectTable tbody tr td:nth-child(3) {
    width: 70% !important;
    max-width: 70% !important;
}

table#shopSelectTable thead tr th:nth-child(4),
table#shopSelectTable tbody tr td:nth-child(4) {
    width: 10% !important;
    max-width: 10% !important;
}


table#packShopTable thead tr th:nth-child(1),
table#packShopTable tbody tr td:nth-child(1) {
    width: 5% !important;
    max-width: 5% !important;
}
table#packShopTable thead tr th:nth-child(2),
table#packShopTable tbody tr td:nth-child(2) {
    width: 15% !important;
    max-width: 15% !important;
}

table#packShopTable thead tr th:nth-child(3),
table#packShopTable tbody tr td:nth-child(3) {
    width: 70% !important;
    max-width: 70% !important;
}

table#shopSelectTable thead tr th:nth-child(4),
table#shopSelectTable tbody tr td:nth-child(4) {
    width: 10% !important;
    max-width: 10% !important;
}



table#agencyShopTable thead tr th:nth-child(1),
table#agencyShopTable tbody tr td:nth-child(1) {
    width: 5% !important;
    max-width: 5% !important;
}
table#agencyShopTable thead tr th:nth-child(2),
table#agencyShopTable tbody tr td:nth-child(2) {
    width: 15% !important;
    max-width: 15% !important;
}

table#agencyShopTable thead tr th:nth-child(3),
table#agencyShopTable tbody tr td:nth-child(3) {
    width: 70% !important;
    max-width: 70% !important;
}

table#agencyShopTable thead tr th:nth-child(4),
table#agencyShopTable tbody tr td:nth-child(4) {
    width: 10% !important;
    max-width: 10% !important;
}

#terms-confirmation-modal {
    .terms-responsive {
        max-height: 400px;
        overflow-y: auto;
    }
    .terms-required {
        color: red;
    }
    .Btn {
        width: 195px;
        height: 38px;
    }
}
.terms {
    background-color: #D0CECE;
    margin-top: 10px;
    padding: 5px;
}
div.title {
    display: flex;
    justify-content: center;
}

.terms-top-title{
    padding-top: 25px;
    padding-left: 30px;
}

.terms-custom-modal-body{
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 0px;
}

.terms-title{
    margin-top: 20px;
    margin-bottom: 10px;
}

.terms-container{
    display: flex;
    align-items: center;
}

.terms-vertical-line {
    width: 3px;
    height: 25px;
    background-color: #ff5050; /* Change the color as needed */
    margin-right: 20px; /* Adjust the margin to create a 10px gap */
}

.terms-ol {
    margin: 0; /* Remove the default margin */
    padding: 0; /* Remove the default padding */
    list-style-position: inside; /* Place the list marker inside the list item */
}
.terms-section{
    margin-left: 10px;
    margin-right: 10px;
}

.terms-custom-list {
    list-style-type: none;
    counter-reset: item;
}

.terms-custom-list li:before {
    content: "(" counter(item) ") ";
    counter-increment: item;
}

.terms-circled-list {
    list-style: none;
    counter-reset: circle-counter;
    /*padding-left: 0;*/
}

.terms-circled-list li::before {
    content: counter(circle-counter);
    counter-increment: circle-counter;
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #000;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    margin-right: 10px;
}

.terms-filled-square-list {
    list-style-type: none;
    padding-left: 0;
}

.terms-filled-square-list li.terms-ul-list::before {
    content: '\25A0';
    margin-right: 10px;
    font-size: 18px;
}

.terms-filled-square-list2 {
    list-style-type: none;
    padding-left: 0;
}

.terms-filled-square-list2 li.terms-ul-list2::before {
    content: '\25A0';
    margin-right: 10px;
    font-size: 18px;
}

.terms-p{
    margin-left: 20px;
}

.authority-options {
    display: flex;
    flex-wrap: wrap;
}

.authority-label {
    display: flex;
    align-items: center;
    margin-right: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-left: 25px;
    /* Added padding for custom radio */
}

.authority-label input[type="radio"] {
    display: none;
}

.authority-label .custom-radio {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 1px solid #000;
    border-radius: 3px;
    background-color: #fff;
    box-sizing: border-box;
}

.authority-label .custom-radio::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 1px 1px 0;
    display: none;
    top: 1px;
    left: 5px;
    transform: rotate(45deg);
}

.authority-label input[type="radio"]:checked+.custom-radio {
    background-color: #FFF;
    border-color: #000;
}

.authority-label input[type="radio"]:checked+.custom-radio::after {
    display: block;
}

.ellipsis-btn {
    width: auto!important;
}

.shop-name-legend {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #dee2e6!important;
    .collapsible {
        border: none !important;
    }
}

.copy-shop-name-btn {
    padding: 4px 8px;
    font-size: 14px;
    border: none;
    background: #f8f9fa;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.copy-shop-name-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.copy-message {
    position: absolute;
    bottom: -32px;
    left: 0;
    background: rgba(17, 17, 17, .8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1;
}

.copy-message.show {
    opacity: 1;
}

.btn-danger.collapsible {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    box-shadow: none !important;
}

.shop-remove-btn {
    background-color: #A6A4A4;
}

tr.dark-silver td:not(:first-child) {
    background-color: #D0CECE;
}
tr.new-plan td:not(:first-child), tr.new-campaign td:not(:first-child) {
    background-color: yellow;
}

 #suggestions {
    border: 1px solid #ddd;
    display: none;
    position: absolute;
    background-color: white;
    width: inherit;
    max-height: 300px;
    top: 38px;
    overflow-y: auto;
    list-style-type: none;
    padding: 0;
    margin: 0;
    z-index: 99999;
}
#suggestions li {
    padding: 10px;
    cursor: pointer;
}
#suggestions li:hover {
    background-color: #f0f0f0;
}

.contractHistory {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 5px;
}
.card-header-flex {
    display: flex!important;
    .card-tools {
        margin-left: 5px!important;
    }
}

.remove-td {
    background-color: #A6A4A4;
    a {
        color: #000;
    }
}

.card-body.p-0 .table tbody>tr>td:first-of-type {
    padding-left: 1rem;
}
.card-body.p-0 .table tbody>tr>td:last-of-type {
    padding-right: 1rem;
}
.flex-td-button {
    width: auto!important;
}

.confirm-btn {
    width: 175px!important;
}

@media only screen and (max-width: 415px) {
    .col-md-8.text-right.pt-2 {
        .k1Btn {
            width: 90px !important;
            font-size: 12px !important;
        }
    }
    .confirm-btn {
        margin-bottom: 5px !important;
    }
}
@media only screen and (max-width: 640px) {
    .input-group.input-group-sm.text-left {
        .k1Btn {
            width: 100px !important;
            font-size: 12px !important;
            margin-bottom: 5px;
        }
    }
}

.flex-td-button {
    width: 160px !important;
}

.disabled-link {
    pointer-events: none;
    cursor: not-allowed;
}

textarea[readonly]:focus {
    border: 1px solid #ced4da;
    outline: none;
}

#status-update-modal, #product_remove_confirmation, #product_cancel_confirmation, #shop_remove_confirmation, #general_confirmation {
    .modal-dialog {
        display: flex;
        justify-content: center;
    }
    .modal-content {
        width: 450px;
    }
    .modal-header {
        display: flex;
        justify-content: right;
    }
}

.billing-address-collapsible {
    cursor: pointer;
    padding: 5px;
    width: 166px;
    border: none;
    text-align: center;
    outline: none;
    font-size: 16px;
    border: 1px solid #dee2e6;
}
.optional-input {
    display: none;
}

.error{
    border:1px solid red !important;
}
#ringi-registration-modal {
    .modal-dialog {
        display: flex;
        justify-content: center;
    }
    .modal-content {
        width: 400px;
    }
    .modal-header {
        display: flex;
        justify-content: right;
    }
    .msg-div {
        max-height: 80vh;
        overflow: auto;
    }
}

.table td, .table th {
    padding: 0.5rem;
    padding-left: 1rem !important;
}

.form-group {
    margin-bottom: 0.5rem;
}

label {
    margin-bottom: 0.25rem;
}
.form-control {
    padding: 0 0.75rem;
}

legend {
    margin-bottom: 0;
}

#notification_letter {
    padding: 0;
}

#ringiSearchForm .form-group {
    margin-bottom: 0.25rem;
}

.highlight-changed-row {
    background-color: #ffff99 !important;
    font-weight: bold;
}

.btn3d {
    position: relative;
    top: -4px;
    border: 0;
    transition: all 40ms linear;
    margin-top: 6px !important;
    margin-bottom: 6px !important;
}

.btn3d:active:focus,
.btn3d:focus:hover,
.btn3d:focus {
    -moz-outline-style: none;
    outline: medium none;
}

.btn3d:hover {
    -moz-outline-style: none;
    outline: medium none;
}

.btn3d:active,
.btn3d.active {
    top: 2px;
}

.btn3d-wrapper.remove-td {
    background: transparent !important;
    padding: 0 !important;
}
.btn3d-wrapper.remove-td > a {
    color: #fff !important;
}

.btn3d.btn-default {
    box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 2px rgba(255, 255, 255, 0.10) inset, 0 5px 0 0 #BEBEBE, 0 5px 5px 1px rgba(0, 0, 0, .2) !important;
    background-color: #f9f9f9 !important;
    border-color: #f9f9f9 !important;
    color: #666666;
}

.btn3d.btn-default:hover,
.btn3d.btn-default.hover {
    background-color: #ebebeb !important;
    border-color: #ebebeb !important;
}

.btn3d.btn-default:active,
.btn3d.btn-default.active {
    box-shadow: 0 0 0 1px #ebebeb inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, .1) !important;
    background-color: #f9f9f9 !important;
    border-color: #f9f9f9 !important;
}

.btn3d.btn-primary {
    box-shadow: 0 0 0 1px #4274D7 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 5px 0 0 #4D5BBE, 0 5px 5px 1px rgba(0, 0, 0, 0.5) !important;
    background-color: #417fbd !important;
    border-color: #417fbd !important;
}

.btn3d.btn-primary:hover,
.btn3d.btn-primary.hover {
    background-color: #4274D7 !important;
    border-color: #4274D7 !important;
}

.btn3d.btn-primary:active,
.btn3d.btn-primary.active {
    box-shadow: 0 0 0 1px #4274D7 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3) !important;
    background-color: #417fbd !important;
    border-color: #417fbd !important;
}

.btn3d.btn-success {
    box-shadow: 0 0 0 1px #78d739 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 5px 0 0 #5eb924, 0 5px 5px 1px rgba(0, 0, 0, 0.5) !important;
    background-color: #31c300 !important;
    border-color: #31c300 !important;
    color: #fff !important;
}

.btn3d.btn-success:hover,
.btn3d.btn-success.hover {
    background-color: #78d739 !important;
    border-color: #78d739 !important;
}

.btn3d.btn-success:active,
.btn3d.btn-success.active {
    box-shadow: 0 0 0 1px #30cd00 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3) !important;
    background-color: #31c300 !important;
    border-color: #31c300 !important;
}

.btn3d.btn-info {
    box-shadow: 0 0 0 1px #00a5c3 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 5px 0 0 #348FD2, 0 5px 5px 1px rgba(0, 0, 0, 0.5) !important;
    background-color: #39B3D7 !important;
    border-color: #39B3D7 !important;
}

.btn3d.btn-info:hover,
.btn3d.btn-info.hover {
    background-color: #00a5c3 !important;
    border-color: #00a5c3 !important;
}

.btn3d.btn-info:active,
.btn3d.btn-info.active {
    box-shadow: 0 0 0 1px #00a5c3 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3) !important;
    background-color: #39B3D7 !important;
    border-color: #39B3D7 !important;
}

.btn3d.btn-danger {
    box-shadow: 0 0 0 1px #b93802 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 5px 0 0 #AA0000, 0 5px 5px 1px rgba(0, 0, 0, 0.5) !important;
    background-color: #D73814 !important;
    border-color: #D73814 !important;
}

.btn3d.btn-danger.remove-td {
    box-shadow: none !important;
    display: block !important;
    border-radius: 0 !important;
    transition: none !important;
    top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-top: 1px solid #dee2e6 !important;
}

.btn3d.btn-danger.remove-td > a {
    color: #fff !important;
}

.btn3d.btn-danger:hover,
.btn3d.btn-danger.hover {
    background-color: #b93802 !important;
    border-color: #b93802 !important;
}

.btn3d.btn-danger.remove-td:hover,
.btn3d.btn-danger.remove-td.hover {
    transform: none !important;
}

.btn3d.btn-danger:active,
.btn3d.btn-danger.active {
    box-shadow: 0 0 0 1px #b93802 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 3px 1px rgba(0, 0, 0, 0.3) !important;
    background-color: #D73814 !important;
    border-color: #D73814 !important;
}
input:disabled {
    background-color: #e9ecef !important;
    opacity: 1;
}