@charset "utf-8";

:root {
    --ando-text: #191919;
    --ando-muted: #777;
    --ando-line: #e8e4de;
    --ando-soft: #f7f5f2;
}

.btn-group-sm>.btn, .btn-sm {font-size:12px !important}

.ando-gallery-board,
.ando-project-view,
.ando-write {
    max-width: 1280px;
    margin: 0 auto;
    color: var(--ando-text);
}

.ando-gallery-head,
.ando-project-head {
    padding: 12px 0 28px;
    text-align: center;
}

.ando-project-head {
    padding: 8px 0 56px;
    text-align: left;
}

.ando-gallery-head h2,
.ando-project-head h1,
.ando-write h2 {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.25;
    font-weight: 200;
    letter-spacing: 0px;
}

.ando-project-head h1 {
    font-size: 18px;
    line-height: 1.45;
    font-weight: 400;
}

.ando-project-head p {
    margin: 0 0 8px;
    color: var(--ando-muted);
    font-size: 13px;
    text-transform: uppercase;
}

.ando-gallery-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin-bottom: 28px;
}

.ando-gallery-categories a {
    color: var(--ando-muted);
    text-decoration: none;
    font-size: 14px;
}

.ando-gallery-categories a.active,
.ando-gallery-categories a:hover {
    color: var(--ando-text);
}

.ando-gallery-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.ando-gallery-orderbar {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    width: min(100%, 1180px);
    margin: 0 auto 14px;
}

.ando-gallery-item {
    position: relative;
    width: min(100%, 1180px);
    opacity: 0;
    transform: translateY(54px);
    transition: opacity .75s ease, transform .75s ease;
}

.ando-gallery-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ando-gallery-list.is-ordering .ando-gallery-item {
    opacity: 1;
    transform: none;
    cursor: grab;
}

.ando-gallery-list.is-ordering .ando-gallery-item.is-dragging {
    opacity: .45;
    cursor: grabbing;
}

.ando-gallery-list.is-ordering .ando-gallery-link {
    pointer-events: none;
}

.ando-gallery-order-handle {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 6;
    display: none;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(25, 25, 25, .24);
    border-radius: 50%;
    background: rgba(255, 255, 255, .88);
    cursor: grab;
}

.ando-gallery-list.is-ordering .ando-gallery-order-handle {
    display: block;
}

.ando-gallery-order-handle::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 13px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #191919;
    box-shadow: 0 6px 0 #191919, 0 12px 0 #191919, 8px 0 0 #191919, 8px 6px 0 #191919, 8px 12px 0 #191919;
}

.ando-gallery-link,
.ando-gallery-image-wrap {
    display: block;
    width: 100%;
}

.ando-gallery-link {
    position: relative;
    overflow: hidden;
    background: #eee;
    color: #fff;
    text-decoration: none;
    aspect-ratio: 16 / 5;
}

.ando-gallery-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .45s ease, transform .65s ease;
}

.ando-gallery-image.is-default {
    opacity: 1;
}

.ando-gallery-image.is-hover {
    opacity: 0;
}

.ando-gallery-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .22);
    opacity: 0;
    transition: opacity .35s ease;
}

.ando-gallery-title {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #fff;
    text-align: center;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 400;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .35s ease, transform .35s ease;
}

.ando-gallery-link:hover .ando-gallery-image.is-default,
.ando-gallery-link:focus-visible .ando-gallery-image.is-default {
    opacity: 0;
}

.ando-gallery-link:hover .ando-gallery-image.is-hover,
.ando-gallery-link:focus-visible .ando-gallery-image.is-hover {
    opacity: 1;
    transform: scale(1.03);
}

.ando-gallery-link:hover::after,
.ando-gallery-link:focus-visible::after,
.ando-gallery-link:hover .ando-gallery-title,
.ando-gallery-link:focus-visible .ando-gallery-title {
    opacity: 1;
    transform: translateY(0);
}

.ando-gallery-check {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .92);
}

.ando-gallery-pages {
    display: flex;
    justify-content: center;
    margin: 34px 0 20px;
}

.ando-gallery-actions,
.ando-project-actions,
.ando-write-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 26px 0;
}

.ando-gallery-actions > div,
.ando-project-actions > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ando-gallery-empty {
    width: min(100%, 1180px);
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: var(--ando-soft);
    color: var(--ando-muted);
}

.ando-project-summary {
    margin-bottom: 72px;
}

.ando-project-hero {
    position: relative;
    margin: 0;
    background: var(--ando-soft);
    overflow: hidden;
}

.ando-project-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
}

.ando-project-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .45s ease;
}

.ando-project-slide.is-active {
    opacity: 1;
}

.ando-project-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ando-project-slide-btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(25, 25, 25, .45);
    border-radius: 50%;
    background: rgba(255, 255, 255, .36);
    color: rgba(25, 25, 25, .72);
    font-size: 28px;
    line-height: 1;
    transform: translateY(-50%);
}

.ando-project-slide-btn.is-prev {
    left: 26px;
}

.ando-project-slide-btn.is-next {
    right: 26px;
}

.ando-project-slide-btn:hover {
    background: rgba(255, 255, 255, .72);
}

.ando-project-detail-row {
    display: grid;
    grid-template-columns: minmax(220px, 320px) minmax(0, 430px);
    justify-content: start;
    gap: clamp(48px, 9vw, 120px);
    align-items: start;
    margin: 0 auto 64px;
}

.ando-project-info {
    padding-top: 0;
}

.ando-project-info h2 {
    margin: 0 0 26px;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 500;
}

.ando-project-info dl {
    margin: 0;
}

.ando-project-info dl div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 0 0 16px;
    border: 0;
}

.ando-project-info dl div:last-child {
    border: 0;
}

.ando-project-info dt {
    min-width: 108px;
    padding: 5px 14px 6px;
    border: 1px solid #111;
    border-radius: 999px;
    color: #111;
    font-weight: 400;
    font-size: 11px;
    line-height: 1.2;
    text-align: center;
}

.ando-project-info dd {
    margin: 0;
    color: #111;
    line-height: 1.55;
	font-size:13px;
}

.ando-project-muted,
.ando-write-help {
    color: var(--ando-muted);
    font-size: 14px;
    line-height: 1.7;
}

.ando-project-content {
    max-width: 760px;
    margin: 0 auto 44px;
    line-height: 1.9;
}

.ando-project-description {
    max-width: 430px;
    margin: 0;
    color: #111;
    line-height: 1.9;
    text-align: left;
	 line-height: 1.7;
	 font-size:13px;
}

.ando-project-content img {
    max-width: 100%;
    height: auto;
}

.ando-view-masonry {
    columns: 4 180px;
    column-gap: 12px;
    max-width: 100%;
    margin: 0 auto 58px;
}

.ando-masonry-item {
    display: block;
    position: relative;
    width: 100%;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    background: var(--ando-soft);
    cursor: zoom-in;
    break-inside: avoid;
    overflow: hidden;
}

.ando-view-masonry.is-enhanced .ando-masonry-item {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .35s ease, transform .35s ease;
}

.ando-view-masonry.is-enhanced .ando-masonry-item.is-loaded {
    opacity: 1;
    transform: translateY(0);
}

.ando-masonry-item img {
    display: block;
    width: 100%;
    height: auto;
    transform: translateZ(0);
}

.ando-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 36px;
    background: rgba(0, 0, 0, .84);
}

.ando-lightbox::after {
    content: "";
    position: absolute;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 2px solid rgba(255, 255, 255, .28);
    border-top-color: #fff;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    animation: ando-lightbox-spin .8s linear infinite;
    transition: opacity .2s ease;
}

.ando-lightbox.is-open {
    display: flex;
}

.ando-lightbox.is-loading::after {
    opacity: 1;
}

.ando-lightbox-stage {
    position: relative;
    z-index: 1;
    display: inline-block;
    line-height: 0;
    max-width: min(1180px, 94vw);
    max-height: 88vh;
}

.ando-lightbox img {
    display: block;
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    transition: opacity .2s ease;
}

.ando-lightbox.is-loading img {
    opacity: .45;
}

.ando-lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 36px;
    line-height: 1;
}

.ando-lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 0;
    line-height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
    transition: background .2s ease, border-color .2s ease, opacity .2s ease;
}

.ando-lightbox-stage.is-ready .ando-lightbox-nav {
    opacity: 1;
    pointer-events: auto;
}

.ando-lightbox-nav::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 11px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.ando-lightbox-nav.is-prev {
    left: 18px;
}

.ando-lightbox-nav.is-prev::before {
    margin-left: 3px;
    transform: translate(-50%, -50%) rotate(-135deg);
}

.ando-lightbox-nav.is-next {
    right: 18px;
}

.ando-lightbox-nav.is-next::before {
    margin-left: -3px;
    transform: translate(-50%, -50%) rotate(45deg);
}

.ando-lightbox-nav:hover {
    background: rgba(255, 255, 255, .12);
}

.ando-lightbox-close:hover {
    background: transparent;
    opacity: .72;
}

@keyframes ando-lightbox-spin {
    to {
        transform: rotate(360deg);
    }
}

.ando-project-attach,
.ando-project-neighbor {
    max-width: 860px;
    margin: 0 auto 28px;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--ando-line);
}

.ando-project-attach li,
.ando-project-neighbor a {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--ando-line);
    color: var(--ando-text);
    text-decoration: none;
	font-size:13px;
}

.ando-project-neighbor span,
.ando-project-attach span {
    color: var(--ando-muted);
}

.ando-project-reactions,
.ando-project-signature {
    max-width: 860px;
    margin: 0 auto 28px;
    text-align: center;
}

.ando-project-inquiry-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 860px;
    margin: 0 auto 28px;
}

.ando-project-inquiry-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 56px;
    padding: 12px 20px;
    border: 1px solid #111;
    color: #111;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color .2s ease, color .2s ease;
}

.ando-project-inquiry-btn.is-estimate {
    background: #fff;
    color: #111;
}

.ando-project-inquiry-btn.is-call {
    background: #111;
    color: #fff;
}

.ando-project-inquiry-btn.is-estimate:hover,
.ando-project-inquiry-btn.is-estimate:focus-visible {
    background: #111;
    color: #fff;
}

.ando-project-inquiry-btn.is-call:hover,
.ando-project-inquiry-btn.is-call:focus-visible {
    background: #333;
    color: #fff;
}

.ando-project-inquiry-btn:focus-visible {
    outline: 2px solid #111;
    outline-offset: 3px;
}

.ando-write {
    max-width: 980px;
}

.ando-write h2 {
    margin-bottom: 28px;
}

.ando-write-section {
    padding: 28px 0;
    border-top: 1px solid var(--ando-line);
}

.ando-write-section h3 {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 500;
}

.ando-write-row {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin-bottom: 12px;
}

.ando-write-row > label,
.ando-write-row > span,
.ando-write-field label {
    color: var(--ando-muted);
    font-size: 14px;
}

.ando-write-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ando-write-field label {
    display: block;
    margin-bottom: 7px;
}

.ando-write-description {
    margin-top: 18px;
}

.ando-write-description label {
    display: block;
    margin-bottom: 7px;
    color: var(--ando-muted);
    font-size: 14px;
}

.ando-write-editor iframe,
.ando-write-editor textarea {
    max-width: 100%;
}

.ando-write-count {
    margin-top: 8px;
    text-align: right;
    color: var(--ando-muted);
    font-size: 13px;
}

.ando-file-delete {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    color: var(--ando-muted);
    font-size: 13px;
}

#autosave_wrapper {
    position: relative;
    font-size: 14px;
}

#autosave_pop {
    display: none;
    z-index: 10;
    position: absolute !important;
    top: 42px;
    right: 0;
    width: 100%;
    max-height: 205px;
    border: 1px solid #565656;
    background: #fff;
    box-shadow: 2px 2px 3px 0 rgba(0,0,0,0.2);
}

#autosave_pop:before {
    content: "";
    position: absolute;
    top: -8px;
    right: 45px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 6px 8px 6px;
    border-color: transparent transparent #000 transparent;
}

#autosave_pop:after {
    content: "";
    position: absolute;
    top: -7px;
    right: 45px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 6px 8px 6px;
    border-color: transparent transparent #fff transparent;
}

#autosave_pop strong {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

#autosave_pop div {
    text-align: center;
    margin: 0 !important;
}

#autosave_pop button {
    margin: 0;
    padding: 0;
    border: 0;
}

#autosave_pop ul {
    margin: 0;
    padding: 15px;
    border-top: 1px solid #e9e9e9;
    list-style: none;
    overflow-y: scroll;
    height: 156px;
    border-bottom: 1px solid #e8e8e8;
}

#autosave_pop li {
    padding: 8px 5px;
    border-bottom: 1px solid #fff;
}

#autosave_pop li:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

#autosave_pop a {
    display: block;
    float: left;
}

#autosave_pop span {
    display: block;
    float: right;
    color: #999;
}

.autosave_close {
    cursor: pointer;
    width: 100%;
    height: 30px;
    background: none;
    color: #888;
    font-weight: bold;
    font-size: 0.92em;
}

.autosave_close:hover {
    background: #f3f3f3;
    color: #3597d9;
}

.autosave_content,
.cke_sc {
    display: none;
}

.autosave_del {
    background: url(./img/close_btn.png) no-repeat 50% 50%;
    text-indent: -999px;
    overflow: hidden;
    height: 26px;
    width: 20px;
}

.anchor {
    position: relative;
}

.anchor a {
    position: absolute;
    top: -60px;
}

.list-icon {
    width: 17px;
    height: 17px;
    vertical-align: text-bottom;
}

.view-icon,
.comm-icon {
    width: 48px;
    height: 48px;
}

.comm-body {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 5px;
}

@media (hover: none) {
    .ando-gallery-link::after,
    .ando-gallery-title {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .ando-project-summary {
        margin-bottom: 34px;
    }

    .ando-project-detail-row {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 44px;
		display:none;
    }

    .ando-write-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    #captcha_audio {
        display: none !important;
    }

	
    .xs-100 {
        width: 100%;
    }

    .xs-full {
        width: 100vw;
        position: relative;
        margin-left: -50vw;
        left: 50%;
    }

    .xs-full td {
        padding: 8px 18px;
    }

    .ando-gallery-head h2,
    .ando-project-head h1,
    .ando-write h2 {
        font-size:16px;
    }

	.ando-project-head {
		padding: 8px 0 16px;
		text-align: left;
	}

    .ando-gallery-link {
        aspect-ratio: 16 / 8.5;
    }

    .ando-project-slides {
        aspect-ratio: 16 / 8.5;
    }

    .ando-project-description {
        max-width: none;
    }

    .ando-project-inquiry-actions {
        gap: 8px;
        margin-bottom: 24px;
    }

    .ando-project-inquiry-btn {
        min-height: 48px;
        padding: 10px 8px;
        font-size: 13px;
    }



    .ando-project-info dl div {
        align-items: start;
    }

    .ando-project-info dt {
        width: fit-content;
        min-width: 96px;
    }

    .ando-write-grid {
        grid-template-columns: 1fr;
    }

    .ando-view-masonry {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-flow: dense;
        grid-auto-rows: 4px;
        gap: 10px;
        columns: auto;
        column-gap: 10px;
    }

    .ando-masonry-item {
        width: 100%;
        margin: 0;
        grid-row: span 14;
        align-self: stretch;
    }

    .ando-masonry-item:nth-child(4n + 1) {
        grid-row: span 18;
    }

    .ando-masonry-item:nth-child(5n + 2) {
        grid-row: span 11;
    }

    .ando-masonry-item:nth-child(7n + 4) {
        grid-row: span 16;
    }

    .ando-masonry-item img {
        height: 100%;
        object-fit: cover;
    }

    .ando-lightbox {
        padding: 24px 18px;
    }

    .ando-lightbox-stage {
        max-width: 100%;
    }

    .ando-lightbox-nav {
        width: 36px;
        height: 36px;
    }

    .ando-lightbox-nav.is-prev {
        left: 10px;
    }

    .ando-lightbox-nav.is-next {
        right: 10px;
    }

    .ando-lightbox-nav::before {
        width: 9px;
        height: 9px;
    }

    .comm-icon {
        width: 24px;
        height: 24px;
        margin: 10px;
        position: absolute;
    }

    .comm-body {
        padding: 10px;
    }

    .comm-name {
        margin: 0 0 6px 30px;
    }
}
