:root {
    --main-width: 1500px;
}
body {
    color: rgb(10, 85, 142);
}
.header {
    background-color: rgb(10, 85, 142);
}
.header h1 {
    font-size: 14px;
    font-weight: normal;
    margin: 3px -11px 4px;
}
.header h2 {
    font-size: 13px;
    font-weight: normal;
    margin: 0 -11px 4px;
}
.header div.user-info {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: white;
}
.fa-1p3x {
    font-size: 1.3em;
 }
 .fa-1p4x {
    font-size: 1.4em;
 }
.fa-1p7x {
    font-size: 1.7em;
 }
.navbar-custom {
    background-color: rgb(239,239,239);
    height: 42px;
}
.navbar-custom .navbar-expand {
    padding-top: 0;
    padding-bottom: 0;
}
.nav-item:first-child {
    margin-left: 50px;
}
.navbar-brand {
    width: 150px;
    font-size: 1rem;
}
.navbar-custom .nav-item {
    min-width: 100px;
    text-align: center;
}
.navbar-custom .nav-item.selected {
    background-color: rgb(220,220,220);
}
/* .navbar-custom .nav-item:hover {
    background-color: #3d494e;
} */
.navbar-custom .navbar-expand {
    padding-left: 4px;
}
.navbar-custom .navbar-brand {
    color: rgb(38, 90, 138);
    margin-left: 75px;
    cursor: default;
}
.navbar-custom .nav-link, .navbar-custom .dropdown-item {
    color: rgb(38, 90, 138);
    font-size: 14px;
}
.main {
    background-color: rgba(250,250,250);
    height: calc(100vh - 84px);
}
.container {
    max-width: none;
    /* min-width: var(--main-width); */
    min-width: 1200px;
}
.dropdown-menu {
    background-color: #afafaf;
    border: none;
    margin: 0;
    padding: 0;
}
.dropdown-item {
    height: 42px;
    line-height: 30px;
}
.dropdown-item:hover, .dropdown.show {
    background-color: #ccc;
}
.main-block {
    width: calc(100% - 40px);
    border: 1px solid #efefef;
    margin: 134px 11px 0 29px ;
    border-radius: 3px;
    position: relative;
    transition: all 300ms 0s ease;
}
.main-block-design {
    width: calc(100% );
    margin: 84px 0 0 0;
    border-radius: 3px;
    position: relative;
    min-width: 1200px;
}
.main-block-show-design {
    width: calc(100% );
    margin: 134px 0 0 0;
    border-radius: 3px;
    position: relative;
    min-width: 1200px;
}
.main-block.active {
    width: calc(100% - 325px);
    margin-left: 314px;
}
.main {
    position: relative;
    /* min-width: var(--main-width); */
    min-width: 1200px;
}
.button-block {
    height: 50px;
    width: 100% ;
    /* min-width:  var(--main-width); */
    min-width: 1200px;
    color: rgb(38, 90, 138);
    padding: 0 26px 0 58px;
    background-color: white;
    position: fixed;
    top: 84px;
    z-index: 101;
}
.main-block .button-block {
    width: 100%;
    padding: 0px 11px 0 29px;
    transition: all 300ms 0s ease;
    color: rgb(38, 90, 138);
    background-color: white;
}
.button-block div {
    height: 100%;
}
.button-block span {
    display: inline-block;
    height: 100%;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
}
.catalogue-button {
    position: fixed;
    top: 148px;
    z-index: 102;
}
.catalogue-button span {
    margin-left: 10px;
}
/* サブボタン処理 */
.open-modal:not(.disabled), #delete:not(.disabled), .link-span:not(.disabled) {
    cursor: pointer;
}
.open-modal .unselected, #delete .unselected {
    display: inline;
}
.open-modal .selected, #delete .selected {
    display: none;
}
.open-modal.active, #delete.active{
    color: white;
    background-color: rgb(10, 85, 142);
}
.open-modal.active .unselected, #delete.active .unselected {
    display: none;
}
.open-modal.active .selected, #delete.active .selected {
    display: inline;
}
.link-span.add-design {
    color: rgb(253,124,5);
    font-size: 22px;
    transform: translateY(-3px);
}
.link-span.add-design.active {
    color: white;
    background-color: rgb(10, 85, 142);
}
#house-image .house-message {
    vertical-align: top;
    padding: 8px;
}
#house-image .delete-message {
    display: none;
}
/* ローディング中 */
#loading {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #222;
    cursor: wait;
    opacity: 0.8;
    top: 0;
    left: 0;
    z-index: 20000;
}
.waiting {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    color: white;
}
/* sidebar 調整 */
#search-field {
    width: 314px;
    /* min-height: 100%; */
    height: calc(100%);
    display: table-cell;
    box-sizing: border-box;
    background:rgb(251,199,63);
    position: absolute;
    left: -313px;
    top: -1px;
    min-height: calc(100vh - 114px);
    transition: all 300ms 0s ease;
} 

#search-field form{ 
    width: 285px;
    margin-left: 5px;
    margin-right: 5px;
}
.sidebar-contents h4 {
    margin: 30px 0px 0px 10px;
    font-size: 20px;
}
.search-date {
    margin: 10px 0 0 10px;
}
.search-date p {
    margin: 10px 0;
}
.sidebar-contents h5 {
    margin-left: 10px;
}
.search-icon {
    margin-top: 20px;
    text-align: center;
}
.search-icon i {
    padding: 6px;
    background:rgb(251,199,63);
    color: black;
    z-index: 21;
}
.underline {
    text-decoration: underline;
}
.sidebar-contents label.col-form-label {
    padding-left: 0;
    padding-right: 0;
}
#slide-button {
    width: 29px;
    position: absolute;
    right: 0px;
    height: 100%;
    cursor: pointer;
    z-index: 20;
    background:rgb(251,199,63);
}
.form-number {
    text-align: right;
}
.form-number.left {
    text-align: left;
}
.sidebar-contents > .form-group  {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 8px;
    margin-bottom: 8px;
}
.sidebar-contents > .form-group.form-space {
    margin-top: 13px;
}
.sidebar-contents > .form-group:first-child {
    margin-top: 20px;
}
.sidebar-contents .search-button {
    text-align: right;
    margin-right: 10px;
    margin-top: 40px;
}
.sidebar-contents .btn-ex2 {
    background-color: rgb(10, 85, 142);
    color: white;
    border-radius: 10px;
    width: 120px;
}
#search-field.active {
    left: -314px;
    position: absolute;
}
.datepicker.form-control[readonly], .datepicker-modified.form-control[readonly] ,
.timepicker.form-control[readonly]{
    background-color: white;
}
.fa-toggle {
   vertical-align: bottom;
}
.col-pd-r-0 {
    padding-right: 0;
}
.col-pd-l-0 {
    padding-left: 0;
}
/*
 datatable
*/
.check-label {
    position: relative;
    margin: 0;
    width: 100%;
    height: 100%;
}
.fw-bl {
    font-weight: bold;
}
input[type="radio"] {
    opacity: 100;
}
input[type="checkbox"] {
    opacity: 0;
}
input[type="checkbox"] + span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/icons_material/box.png) ;
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
input[type="checkbox"]:checked + span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/icons_material/box-check.png) ,url(../img/icons_material/box.png) ;
    background-size: 10px, 15px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.main-block #datatable_wrapper {
    margin: 5px 8px 5px;
}
#datatable {
    background-color: white;
}
#datatable tr.active {
    background-color: rgb(238,238,238);
}
#datatable input[type="checkbox"] {
    border: 1px solid rgb(10, 85, 142);
}
div.dataTables_wrapper div.dataTables_length select {
    border: 1px solid rgb(10, 85, 142);
}
#datatable th {
    font-weight: normal;
    text-align: center;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #fafafa;
}
.page-item.active .page-link {
    background-color: rgb(10, 85, 142);
}
div.dataTables_wrapper div.dataTables_info {
    padding-top: 0;
}
.dt-table-footer {
    display: flex;
}
.dt-table-footer .table-left {
    margin-right: auto; 
}
.dt-table-footer .table-right {
    margin-left: auto;
}
.dataTables_length label{
    margin-bottom: 0;
}
.dt-left {
    text-align: left;
}
.dt-center {
    text-align: center;
}
.dt-right {
    text-align: right;
}
span.source-download {
    cursor: pointer;
    color: #0056b3;
}
span.source-download:hover {
    text-decoration: underline;
}
/* footer.footer {
    background-color: white;
} */
#user-drop {
    position: relative;
    margin-right: 10px;
    color: white;
}
#user-drop a {
    color: white;
}
#user-drop a:hover {
    text-decoration: none;
}
#user-drop .dropdown-toggle {
    cursor: pointer;
}
#user-toggle-area {
    position: absolute;
    top: 38px;
    right: -11px;
    width: 400px;
    background-color: white;
    border: 1px solid #cccccc;
    border-radius: 6px;
}
#user-toggle-area::before {
    content: '';
    position: absolute;
    border-style: solid;
    border-color: transparent transparent #cccccc transparent;
    border-width: 0px 10px 10px 10px;
    right: 5px;
    top: -10px;
}
#user-toggle-area::after {
    content: '';
    position: absolute;
    border-style: solid;
    border-color: transparent transparent white transparent;
    border-width: 0px 10px 10px 10px;
    right: 5px;
    top: -9px;
}
#user-toggle-area table {
    margin: 10px 5px 5px;
}
#user-toggle-area table td {
    padding: 20px 15px;
}
.popup-buttons {
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    margin-left: 20px;
    margin-right: 20px;
}
.pup-button-area {
    display: inline-block;
    width: 58px;
}
/* 標準のボタン色設定 */
.btn.btn-ex {
    background-color: rgb(253, 200, 62);
    color: rgb(10, 85, 142);
    border-radius: 10px;
    min-width: 100px;
}
.btn.btn-ex2 {
    background-color: rgb(10, 85, 142);
    color: white;
    border-radius: 10px;
    min-width: 60px;
}
.btn-logout {
    border: 1px solid #999;
}
.btn-logout:focus, .btn-logout.focus {
    box-shadow: none;
    border: 1px solid #666;
}
span.add, span.contact, span.output {
    cursor: pointer;
}
/* modal画面 */
@media (min-width: 992px) {
    .modal-ml {
        max-width: 670px;
    }
}
.modal h5 {
    font-weight: bold;
}
.modal .img-area, .modal .material-area, .modal .product-area, .modal .contact-body, .modal input.form-control:not(.is-invalid), .modal select.form-control:not(.is-invalid), .modal textarea.form-control:not(.is-invalid) {
    border: 1px solid rgb(27, 72, 137);
}
.modal .img-area, .modal .material-area, .modal .product-area, .modal .contact-body {
    border-radius: 5px;
}
.contact-item {
    margin: 10px 0 10px;
}
.circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #eee;
}
.modal .material-area, .modal .product-area {
    width: 100%;
    height: 100%;
    padding: 2px 8px;
}
label.required::after {
    content: ' *';
    color: rgb(251,45,8);
}
.file-name[readonly], #user-autocomplete[readonly] {
    display: inline-block;
    vertical-align: middle;
    background-color: white;
}
.file-div, .member-div {
    position: relative;
}
.file-select, .file-select-relation {
    background: url('../img/icons_material/attach.png') no-repeat left center;
    background-size: contain;
    position: absolute;
    cursor: pointer;
    width: 30px;
    height: 30px;
    right: 40px;
    top: 4px;
}
.file-select-relation {
    right: 30px;
}
.file-remove, .file-remove-relation {
    background-size: contain;
    position: absolute;
    cursor: pointer;
    width: 30px;
    height: 30px;
    right: 13px;
    top: 8px;
}
.file-remove-relation {
    right: 0px;
}
.member-select {
    background-size: contain;
    position: absolute;
    cursor: pointer;
    width: 30px;
    height: 30px;
    right: 15px;
    top: 4px;
    font-size: 21px;
}
.modal-hr {
    border-color: #e5e5e5;
    margin-bottom: 15px;
    margin-top: 15px;
}
.form-control[type="checkbox"] {
    display: inline;
}
.form-control[type="checkbox"].is-invalid:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
.catalogue-section h6 {
    color: rgba(253,200, 62);
    font-weight: bold;
}
.catalogue-area {
    max-height: 200px;
    overflow-x: none;
}
.catalogue-section + .catalogue-section  {
    margin-top: 10px;
}
/* デザイン作成画面 */
.form-container {
    background-color: white;
    margin: 20px 0;
}
.design-main-block {
    position: fixed;
    z-index: 102; 
    background: #fff; 
    padding-bottom: 10px;
    padding-left: 3px;
}
.row .main-scroll {
   margin-bottom: 10px !important; 
   z-index: 10;
 /*  flex: 0 0 1500px; */
   min-width: 1500px;
   width: calc(100% - 20px);
   min-height: 650px;
   height: calc(100vh - 120px);
   margin-left: 170px;
   margin-top: 10px;
}
.wd-75 {
    width: 75px;
}
.wd-75.btn.btn-ex {
    min-width: 75px;
}
.icon-area {
    height: 85px;
}
.icon-area .img-area {
    width: 72px;
    height: 58px;
    margin: 0 auto;
}
.icon-area .img-area img {
    padding-top: 8px;
}
/*
.house-item.active img, .wall-item.active img {
    border: 3px solid red;
}
*/
.modal-open .modal {
    overflow-x: auto;
}
.modal-body.modal-scroll-y {
    height: 70vh;
    overflow-y: scroll;
    padding: 4vh 5vh 2vh;
}
.box-area {
    width: 100% !important;
}
.house-wrapper {
    position: relative;
    width: 100%;
}
.house-wrapper:before {
    content: "";
    display: block;
    padding-top: 50%;
}
.material-area.box-area {
    border-radius: 0;
}
.box-area {
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.box-area img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto; 
}
.col-3 .fs-12 {
    font-size: 12px;
}
.check-mark {
    position: absolute;
    color: blue;
    font-size: 2em;
    top: 12px;
    left: 16px;
}
.check-none {
    display: none;
}
.check-ring {
    position: absolute;
    color: blue;
    font-size: 3em;
    top: 0;
    left: 8px;
    font-family: MS UI Gothic;
}
.check-icon {
    position: absolute;
    top: 4%;
    left: 4%;
}
.radio-house {
    position: absolute;
    opacity: 0 !important;
}
/* ボタン処理 */
#csv-output {
    cursor:pointer;
}
.icon-btn {
    width: 85px;
    margin: 0px auto 20px;
    border: 2px solid rgb(27, 72, 137);
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    height: 85px;
    cursor: pointer;
}
.icon-btn.active {
    color: white;
    background-color: rgb(27, 72, 137);
}
.icon-btn .selected {
    display: none;
}
.icon-btn.active .selected {
    display: block;
}
.icon-btn .unselected {
    display: block;
}
.icon-btn.active .unselected {
    display: none;
}
.design-regist-buttons {
    margin-top: 10px;
}
.design-regist-buttons .btn + .btn {
    margin-left: 3px;
}
.design-asist-buttons {
    position: fixed;
    top: 192px;
    min-height: 450px;
    min-width: 150px;
    height: calc(100vh - 192px);
    background-color: #f0f0f0;
    border: 1px solid gray;
    z-index: 30;
}
.icon-area {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}
.dl-icon img {
    cursor: pointer;
}
.trash-row {
    height: 65px;
    margin: 0 auto;
    padding-top: 30px;
}
.trash-area.trash-accept img {
    filter: invert(100%);
}
.trash-area {
    text-align: center;
}
.reset-area {
    text-align: center;
    margin: 90px auto 0;
}
#clear-image {
    cursor: pointer;
}
.fs-18 {
    font-size: 18px;
}
#house-outer {
    margin-top: 0;
    width: 100%;
    border: 2px solid rgb(27, 72, 137);
    height: calc(100vh - 120px);
    min-height: 650px; 
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 20px;
    position: relative;
}
#house-outer:before {
    content: '';
    display: block;
    padding-top: 66.6%;
}
#house-image {
    position: absolute;
    top:0;
    left: 0;
    bottom: 0;
    right: 0;
}
#house-canvas {
    border-radius: 20px;
    /*
    width: 100%;
    height: 100%;
    */ 
}
#design-note {
    padding-top: 30px;
    margin-top: 30px;
    align-items: flex-start;
}
#design-note .col-form-label {
    text-align: left;
    padding-top: 0;
    flex: 0 0 7%;
    max-width: 7%;
}
#design-note input {
    width: 100%;
    border: 2px solid rgb(27, 72, 137);
    border-radius: 10px;
}
#design-note textarea {
    width: 100%;
    resize: none;
    border: 2px solid rgb(27, 72, 137);
    border-radius: 20px;
    height: 100px;
}
#design-note input.is-invalid, #design-note textarea.is-invalid {
    border: 2px solid #dc3545;
}
#design-note .col-11 {
    flex: 0 0 93%;
    max-width: 93%;
}
.items-slide ,.items-slide.active.dragging {
    position: fixed;
    top: 192px;
    left: -100px;
    z-index: 20;
    margin-right: 0px;
    padding: 0;
    height: calc(100vh - 192px);
    background-color: #e0e0e0;
    max-width: 300px;
    opacity: 0;
    overflow-y: scroll;
    overflow-x: hidden;
}
.anime {
    transition: all 300ms 0s ease;
}
.items-slide.active {
    left: 147px;
    opacity: 1;
    z-index: 40;
}
.items-slide .select-images {
    display: inline-block;
    width: 100%;
    margin-left: 5px;
    margin-right:20px;
}
.items-slide ul {
    list-style: none;
    float: right;
    padding: 30px 0;
}
.items-slide li {
    display: inline-block;
}
.slide-before {
    position: fixed;
    border-top: solid 15px transparent;
    border-left: solid 15px transparent;
    border-right: solid 15px #e0e0e0;
    border-bottom: solid 15px transparent;
    width: 0;
    height: 0;
    left: 117px;
    z-index: 25;
}
.items-slide.wall .slide-before {
    top: 230px;
}
.items-slide.door .slide-before {
    top: 335px;
}
.items-slide.window .slide-before {
    top: 440px;
}
#slide-back, #slide-back.active.dragging {
    position: fixed;
    left: -40px;
    top: 500px;
    cursor: pointer;
}
#slide-back.active {
    left: 110px;
    top: 500px;
    z-index: 60;
}
.slide-sticky {
    position: -webkit-sticky;
    position: sticky;
    min-height: calc(100vh - 90px);
    height: 100%;
    width: calc(100%);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0;
}
.slider{
    margin: 10px auto;
    width: 90%;
    height: auto;
}
.slick-slide img {
    height: auto;
    width: 40px;
}
/*slick setting*/
.slick-prev:before,
.slick-next:before {
    color: #000;
}
.unvisible {
    left: 0;
    right: 0;
    visibility: hidden;
}
.drag-item {
    left: 0;
    right: 0;
}
.items-slide h2 {
    font-weight: bold;
    margin-left: 10px;
    font-size: 40px;
}
.fi {
    cursor: pointer;
}
.items {
    margin: 20px auto 20px;
}
.items h3 {
    font-size: 14px;
    text-align: center;
}
.delete-item {
    /* opacity: 0.3; */
    background-color: red;
}
.delete-item img {
    opacity: 0.5;
}
.modal-btn {
    margin: 0 auto;
}
.modal-btn .btn- {
   width: 10px;
}
/* OKボタン */
.btn-ok, .btn-cancel:hover {
    border-color: rgb(27, 72, 137);
    color: rgb(10, 85, 142) !important;
    border-radius: 10px;
    min-width: 100px;
}
/* キャンセルボタン */
.btn-cancel, .btn-cancel:hover {
    border-color: rgb(27, 72, 137);
    color: rgb(10, 85, 142) !important;
    border-radius: 10px;
    min-width: 100px;
}
/* バリデーションメッセージについて追加CSS */
.invalid-feedback {
    white-space: nowrap;
}
