﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

:root {
    --card_color: #f8fbf8;
    --wall_color: #ffffff;
    --japan_red: #bc002d;
    --japan_white: #ffffff;
}

.logo {
    padding-top: 30px;
}

.nav-menu {
    font-family: 'M PLUS 1p',sans-serif;
    padding-top: 45px;
    padding-left: 30px;
    padding-bottom: 20px;
    transition: 0.5s; /* 0.5 second transition effect to slide in the search menu */
    width: 0; /* zero width means no show */
    height: 130px;
    overflow-x: hidden; /* hide any overflow contents */
    overflow-y: hidden;
}

    .nav-menu select, select:focus, option {
        background-color: var(--wall_color) !important;
        color: var(--japan_red) !important;
        border-color: var(--japan_red) !important;
    }

    .nav-menu .fa-circle-xmark {
        opacity: 0.3;
        transform: scale(2);
        vertical-align: bottom;
    }

.tooltip-inner{
    opacity: 0.5 !important;
}


a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: black;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none !important;
}

    a:hover, a:active, a:focus {
        color: darkgray;
    }

.btn-default, .btn-outline-default:hover {
    background-color: var(--japan_red) !important;
    border-color: var(--japan_red) !important;
    color: var(--japan_white) !important;
}

.btn-outline-default {
    background-color: var(--wall_color) !important;
    border-color: var(--japan_red) !important;
    color: var(--japan_red) !important;
}

.nav-item {
    margin-right: 1px;
}

.nav-link {
    color: darkgray;
    border-bottom-color: darkgray !important;
    border-bottom-style: solid !important;
    border-bottom-width: 1px !important;
}

    .nav-link:hover, .nav-link:active, .nav-link:focus {
        color: black;
        border-bottom-color: var(--card_color) !important;
    }

.statement {
    font-family: 'Teachers', sans-serif;
    font-size: large;
    text-align: justify;
}

.attribute-title {
    font-family: 'Teachers', sans-serif;
}

.bucket-title {
    font-family: 'Teachers', sans-serif;
}

body {
    background-color: var(--wall_color);
    font-family: 'Cantarell','Teachers', 'M PLUS 1p',sans-serif;
    margin-bottom: 60px;
}

    body .page-title-icon {
        padding-top: 30px;
        padding-bottom: 10px;
    }

    body .page-title {
        font-family: "Zen Maru Gothic", serif;
        padding-top: 30px;
        padding-bottom: 30px;
        text-align: left;
    }

    body .page-description {
        font-family: 'Cantarell','PT Sans',sans-serif;
        padding-top: 10px;
        padding-bottom: 30px;
        text-align: left;
    }

header .navbar {
    background-color: var(--card_color);
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

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

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}


/* attribute cards
    ------------------------------------------------------*/
.attribute-card {
    border: none !important;
    position: center;
    padding: 0;
    width: 300px;
    min-width: 300px;
    max-width: 300px;
}

.attribute-card-title {
    font-family: 'Teachers', sans-serif;
    text-align: center;
    word-wrap: break-word;
    color: black;
}

.attribute-card-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    opacity: 0.6;
}



/*ryokan cards
-------------------------------------------------------*/
.flip-card {
    background-color: transparent;
    width: 300px;
    height: 300px;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}

/* Style the back side */
.flip-card-back {
    background-color: var(--card_color);
    color: black;
    transform: rotateY(180deg);
}

.go-to-top-button { 
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;    
}

.recommendation-card {
    background-color: var(--wall_color);    
    color: black;
    width: 300px;
    height: 300px;
}

.ryokan-card-image {    
}

.ryokan-card-detail-button {
    border-radius: 2em;
    background-color: var(--japan_red);
    color: var(--japan_white);
    padding: .5em 1.5em;
}

    .ryokan-card-detail-button:hover {   /*this is to overwrite default link hover color*/
        background-color: var(--japan_red);
        color: var(--japan_white);
    }

/*detail page
    -------------------------------------------------------*/
@media only screen and (min-width : 1824px) {
    .detail-image-container {
        width: 720px;
    }
}

@media only screen and (min-width : 1224px) and (max-width : 1823px) {
    .detail-image-container {
        width: 600px;
    }
}

@media only screen and (min-width : 1024px) and (max-width : 1223px) {
    .detail-image-container {
        width: 480px;
    }
}

@media only screen and (min-width : 768px) and (max-width : 1023px) {
    .detail-image-container {
        width: 360px;
    }
}

@media only screen and (min-width : 480px) and (max-width : 767px) {
    .detail-image-container {
        width: 240px;
    }
}

@media only screen and (min-width : 1824px) {
    .detail-image {
        width: 720px;
        height: 540px;        
        object-fit: contain;
    }
}

@media only screen and (min-width : 1224px) and (max-width : 1823px) {
    .detail-image {
        width: 600px;
        height: 450px;
        object-fit: contain;
    }
}

@media only screen and (min-width : 1024px) and (max-width : 1223px) {
    .detail-image {
        width: 480px;
        height: 360px;
        object-fit: contain;
    }
}

@media only screen and (min-width : 768px) and (max-width : 1023px) {
    .detail-image {
        width: 360px;
        height: 270px;
        object-fit: contain;
    }
}

@media only screen and (min-width : 480px) and (max-width : 767px) {
    .detail-image {
        width: 240px;
        height: 180px;
        object-fit: contain;
    }
}

.detail-image-caption {
    font-style: normal;
    font-size: small;
    text-align: left;
    margin-top: 5px;
    margin-bottom: 5px;
}

.detail-image-recommendation {   
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.detail-image-menu {
    font-size: large;
}

.carousel-image-count {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.carousel-image-recommendation {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.thumbnail-images-container {
    background-color: var(--wall_color);
}

.thumbnail-image {
    width: 120px;
    height: 90px;
    object-fit: cover;
}
    .thumbnail-image:hover {
        opacity: 0.5;
    }

.thumbnails-wrap {
    display: flex;
    flex-wrap: wrap;
}

.information {
    font-family: 'Teachers', sans-serif;
    font-weight: bold;
}