﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.hide {
    display: none;
}

.version-footer {
    position: fixed;
    bottom: 5px;
    right: 10px;
    font-size: 12px;
    color: #777;
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 9999;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}


.btn-green {
    min-height: 40px;
    border-radius: 4px;
    background-color: #22AA86 !important;
    border-color: #22AA86 !important;
    color: white !important;
}

    .btn-green:hover,
    .btn-green:active,
    .btn-green:visited,
    .btn-green:focus {
        opacity: 0.5;
    }
.btn-green-small {
    min-height: 20px;
 /*   border-radius: 4px;*/
    background-color: #22AA86 !important;
    border-color: #22AA86 !important;
    color: white !important;
    --bs-btn-padding-x: 0.17rem !important;
    --bs-btn-padding-y: 0.15rem !important;
}

    .btn-green-small:hover,
    .btn-green-small:active,
    .btn-green-small:visited,
    .btn-green-small:focus {
        opacity: 0.5;
    }

.bg-green {
    background-color: #22AA86 !important;
}

.link-green {
    color: #22AA86 !important;
    -webkit-text-decoration-color: #22AA86 !important;
    text-decoration-color: #22AA86 !important;
}

    .link-green:hover, .link-green:focus {
        color: #187A60 !important; /* darker shade for hover/focus */
        -webkit-text-decoration-color: #187A60 !important;
        text-decoration-color: #187A60 !important;
    }

.link-green-outline {
    min-height: 40px;
    border-radius: 4px;
    background-color: white !important;
    border-color: #187A60 !important;
    color: #187A60 !important;
}
    .link-green-outline:hover,
    .link-green-outline:active,
    .link-green-outline:visited,
    .link-green-outline:focus {
        opacity: 0.5;
    }
.link-green-sm-outline {
    min-height: 30px;
    border-radius: 4px;
    background-color: white !important;
    border-color: #187A60 !important;
    color: #187A60 !important;
}

    .link-green-sm-outline:hover,
    .link-green-sm-outline:active,
    .link-green-sm-outline:visited,
    .link-green-sm-outline:focus {
        opacity: 0.5;
    }
/* Make checkbox background green when checked */
.form-check-input:checked{
    background-color: #22AA86;
    border-color: #22AA86;
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #22AA86;
}

/* Optional: make the checkbox border green even when not checked */
.form-check-input {
    border-color: #22AA86;
    transform: scale(1.2); /* 1.5 = 150% size */
    margin-right: 0.5rem;
}

.cursor-pointer {
    cursor: pointer;
}

.dropdown-item.active, .dropdown-item:active {
    color: var(--bs-dropdown-link-active-color);
    text-decoration: none;
    background-color: #22AA86;
}

.fs-7 {
    font-size: 0.8rem !important;
}

.fs-8 {
    font-size: 0.7rem !important;
}
/*text editor*/

.ql-editor {
    resize: vertical;
    overflow: auto;
    min-height: 150px;
    max-height: 400px;
    width: 100%;
    background-color: #fff;
}
.ql-snow .ql-picker.ql-size,
.ql-snow .ql-picker.ql-lineheight,
.ql-snow .ql-picker.ql-letterspacing {
    width: 60px;
}
.ql-size-8px {
    font-size: 8px;
}

.ql-size-9px {
    font-size: 9px;
}

.ql-size-10px {
    font-size: 10px;
}

.ql-size-11px {
    font-size: 11px;
}

.ql-size-12px {
    font-size: 12px;
}

.ql-size-13px {
    font-size: 13px;
}

.ql-size-14px {
    font-size: 14px;
}

.ql-size-15px {
    font-size: 15px;
}

.ql-size-16px {
    font-size: 16px;
}

.ql-size-17px {
    font-size: 17px;
}

.ql-size-18px {
    font-size: 18px;
}

.ql-size-19px {
    font-size: 19px;
}

.ql-size-20px {
    font-size: 20px;
}

.ql-size-21px {
    font-size: 21px;
}

.ql-size-22px {
    font-size: 22px;
}

.ql-size-23px {
    font-size: 23px;
}

.ql-size-24px {
    font-size: 24px;
}

.ql-size-28px {
    font-size: 28px;
}

.ql-size-32px {
    font-size: 32px;
}

.ql-size-36px {
    font-size: 36px;
}

.ql-size-40px {
    font-size: 40px;
}

.ql-size-48px {
    font-size: 48px;
}

.ql-size-56px {
    font-size: 56px;
}

.ql-size-64px {
    font-size: 64px;
}



.ql-align-center {
    text-align: center
}

.ql-align-justify {
    text-align: justify
}

.ql-align-right {
    text-align: right
}

.ql-align-left {
    text-align: left
}

.tenant-inner-html {
    text-align: initial;
}


.ql-picker.ql-lineheight .ql-picker-item::before,
.ql-picker.ql-lineheight .ql-picker-label::before,
.ql-picker.ql-letterspacing .ql-picker-item::before,
.ql-picker.ql-letterspacing .ql-picker-label::before {
    content: attr(data-value);
}
.ql-control-group {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
}

.ql-label {
    font-size: 13px;
    margin-right: 4px;
    white-space: nowrap;
}

.manualWritingMode {
    display: inline-block !important;
}
    .manualWritingMode.ql-picker,
    .manualWritingMode.ql-picker.ql-expanded {
        display: none !important;
    }



.canvas-wrapper {
}
.canvas-wrapper p {
}

.image-stack-container {

    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* 画像の縦横比に合わせる */
    overflow: hidden;
}

.layer-thumbnail-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.thumbnail-layer-1 {
    z-index: 1;
}

.thumbnail-layer-2 {
    z-index: 2;
}

.thumbnail-layer-3 {
    z-index: 3;
}

.thumbnail-layer-4 {
    z-index: 4;
}

#processResultArea {
    position: absolute;
    top: 80px;
    width: 80%;
    z-index: 9999;
    justify-self: center;
}