.modal-gallery { /* display: none; */ background: #0601017a; width: 100%; height: 100%; position: fixed; z-index: 9999999; } .photo-modal { background-color: #fff!important; margin-top: 16px; margin-bottom: 16px; border-radius: 2px; position: fixed; /* z-index: 9200; */ top: 0; left: 5px; right: 5px; bottom: 0; padding-bottom: 60px; } .modal-header { padding: 10px 5px; position: absolute; border-bottom: 1px solid #8080808a; width: calc(100% - 10px); background: linear-gradient( 0deg, #efefef, white); border-radius: 10px 10px 0 0; } .photo-modal-grid { max-height: calc(100% - 35px); /* margin-top: 45px; */ /* overflow: auto; */ margin-bottom: 16px; padding: 0 15px; } .photo-modal-inside-grid { display: block; /* padding: 16px 2px; */ } .photo-grid-item { display: inline-flex; } .photo-grid-item-wrap { overflow: hidden; position: relative; background: #fff; color: #000; border-radius: 4px; margin: 2px; text-decoration: none; display: block; height: 100%; width: 100%; min-height: 80px; font-weight: normal; } .photo-grid-item-wrap:hover:before { content: ''; width: 100%; position: absolute; height: 39px; background: linear-gradient(0deg, #000000ba, transparent); bottom: 0; z-index: 1; } .photo-grid-item-wrap:hover img { transform: scale(1.1); } .photo-grid-item-wrap:hover .photo-item-text { opacity: 1; bottom: 10px; } .photo-grid-item-wrap img { display: block; height: auto; max-width: 100%; width: -webkit-fill-available; max-height: 100%; object-fit: cover; /* min-height: 200px; */ -webkit-transition: all .2s ease; transition: all .2s ease; } .photo-item-text { opacity: 0; color: #fff; font-size: 9pt; font-family: 'Roboto', khmer monospace; position: absolute; display: inline-block; left: 10px; bottom: -10px; padding: 2px 5px; z-index: 10; background: #ff3d00; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 25px); line-height: 1.2em; transition: all .3s ease; } .photo-info-icon:hover:after { opacity: 0; left: -50px; } .photo-info-icon:after { content: '!'; opacity: 1; position: absolute; width: 20px; height: 20px; color: #fff; align-items: center; justify-content: center; padding: 2px; display: flex; background: #00a1ff; border: 2px solid #fff; border-radius: 50%; /* z-index: 999999; */ bottom: 10px; left: 10px; transition: all .3s ease; } .room { box-shadow: 0 0 2px #000; } .thumb-box { flex-basis: 260px; /* max-height: 120px; */ margin-right: 10px; position: relative; flex-grow: 0; flex-shrink: 0; } .thumb-box img { width: 100%; } .room-description { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; font-size: 11pt; /* letter-spacing: 1; */ line-height: 1.1; } .btn-reserve { padding: 8px 10px; background: #519107; /* border-radius: 0.2rem; */ font-weight: bold; font-size: 13pt; color: #fff; outline: none; border: none; transition: all .3s ease; } .btn-reserve:hover { cursor: pointer; color: white; background: #ffe31d; box-shadow: inset 0px 30px 6px 0px #00000052; text-shadow: 0 2px 3px black; transform: translateY(1px); } .flex-col { display: flex; flex-direction: column; justify-content: flex-start; gap: 5px; padding: 5px; } .del-price { color: red; text-decoration: line-through; font-style: italic; font-size: 10pt; background: #d9d9d9; border-radius: 2rem; width: max-content; padding: 0px 10px; } .room-price { color: red; font-weight: bold; background: #d9d9d9; display: inline-block; padding: 5px; border-radius: 0.2rem; font-size: 1.5rem; box-shadow: 0 0 2px #000000d9, inset 0px 30px 14px -10px #fff; } .store_info { background: #cad5db; padding: 5px; position: relative; width: 100%; border-radius: 0.2rem; } .store_info li { font-size: 11pt; list-style: none; margin-left: 10px; color: #000; display: flex; align-items: center; gap: 5px; justify-content: flex-start; } .store_info a:hover { color: #585351; } .store_info a { text-decoration: none; color: #000; } .top-right-side a:hover { color: #000; transform: translateY(1px); transition: all .3s ease; } .nav-fixed { background: #ffffff94; position: fixed; padding: 0 30px; width: calc(100% - 60px); max-width: 100%; margin: 0; left: 0; top: 0; z-index: 99; border-bottom: 1px solid #c7cdc7; box-shadow: 0 5px 5px #0000004d; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: FadeOptIn .3s; } .modal-header .name-store { width: 100%; text-align: center; margin-right: 70px; } .close-modal .btn-close:hover { cursor: pointer; color: #d91607; text-shadow: 0px 2px 2px #0000003b; } .close-modal .btn-close { height: 100%; position: absolute; top: 0; right: 10px; padding: 0 10px; border: none; background: none; display: flex; line-height: 1pt; align-items: center; font-weight: bold; } .photopile-wrapper { position: relative; background: #f1f1f1; max-height: 400px; /* min-height: 200px; */ margin: 40px auto; padding: 40px 0; display: flex; align-items: center; } @keyframes FadeOptIn { 0% { /* top:-120px; */ opacity: 0; } 100% { /* top:0px; */ opacity: 1; } } #photos { /* Prevent vertical gaps */ line-height: 0; -webkit-column-count: 3; -webkit-column-gap: 0px; -moz-column-count: 3; -moz-column-gap: 0px; column-count: 3; column-gap: 0px; } #photos .photo-grid-item { /* Just in case there are inline attributes */ width: 100% !important; height: auto !important; } @media (min-width: 1000px) { #photos { -moz-column-count: 4; -webkit-column-count: 4; column-count: 4; } } @media (max-width: 1000px) { #photos { -moz-column-count: 3; -webkit-column-count: 3; column-count: 3; } } @media (max-width: 800px) { #photos { -moz-column-count: 2; -webkit-column-count: 2; column-count: 2; } .category-group { white-space: normal; } .category-item { display: inline-block; } } @media (max-width: 660px) { .flex.room { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; } .thumb-box { width: 100%; margin-bottom: 10px; position: relative; flex-basis: 0; flex-grow: 0; flex-shrink: 0; } } @media (max-width: 400px) { #photos { -moz-column-count: 1; -webkit-column-count: 1; column-count: 1; } } @-webkit-keyframes enter { 0% { opacity: 0; transform: translateY(200px); } 75% { transform: translateY(-10px); } 100% { opacity: 1; transform: translateY(0); } } @keyframes enter { 0% { opacity: 0; transform: translateY(200px); } 75% { transform: translateY(-10px); } 100% { opacity: 1; transform: translateY(0); } } .anime-fadeIn{ animation: fadeIn 250ms ease; } .anime-exit{ animation: exit 250ms ease; } @-webkit-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } } @-webkit-keyframes exit { 0% { opacity: 1; } 100% { opacity: 0; } } @keyframes exit { 0% { opacity: 1; } 100% { opacity: 0; } } @keyframes drop { 0% { opacity: .5; transform: translateY(-60vh); } 100% { transform: translateY(0); } }