html {
    height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  padding-bottom: 41px;
}

@media screen and (max-width: 767.98px)  {
    body {
        padding-bottom: 113px;
    }
}

footer {
    position: absolute; bottom: 0;
    left: 0; right: 0;
}


body {
    background-color: #f7f7f7;
}

footer {
    background: #ececec;
}

.site-name {
    font-family: 'Ludicrous';
    font-size: 32px;
    display: inline-block;
    padding: 0px;
}

@media screen and (max-width: 350px)  {
    .site-name {
        font-size: 26px;
    }
}

.site-name-c1 {
    color: #45adbd;
}

.site-name-c2 {
    color: #8dbd45;
}

.home-page-search {
    background-size: cover;
    background-position: 50% 50%;
    margin: -24px -24px 24px -24px;
}

.home-page-search h1 {
    font-family: 'Ludicrous';
    color: #eee;
    text-shadow: black 0 0 0.1em;
    text-align: center;
    font-size: 9vw;
}

.home-page-search-bar {
    background: rgba(0, 0, 0, 0.66);
    color: #fff;
}

@media (min-width: 992px) {
    .home-page-search h1 {
        padding-top: 100px;
    }
}

@media (min-width: 576px) {
    .home-page-search h1 {
        font-size: 50px;
    }
}

.vertical-align-parent {
    position: relative;
}

.vertical-align-child {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

h2.degraded {
    width: 100%;
    text-align: center;
    margin: 0 15px 10px 15px;
    padding: 10px 0 5px 0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border: solid 1px transparent;
    border-bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), linear-gradient(180deg, #dddf, #0000);
    background-origin: border-box;
    box-shadow: 2px 1000px 1px #f8f9fa88 inset;
}

.btn.round {
    border-radius: 50%;
    width: 58px;
    height: 58px;
}

.btn.corner {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10000;
}

.btn:focus,.btn:active {
    box-shadow: none;
}

.card-400 {
    max-width: 400px;
}

.center-block {
    display: block;
    margin-right: auto;
    margin-left: auto;

    margin-top: auto;
    margin-bottom: auto;
}

.selectdatewidget {
    display: inline-block;
}
select[name$="_day"].selectdatewidget {
    width: 27%;
}
select[name$="_month"].selectdatewidget {
    width: 38%;
}
select[name$="_year"].selectdatewidget {
    width: 35%;
}

.alert {
    margin: 20px 15px 0 15px;
    text-align: center;
}

.alert-block {
    text-align: left;
}

.alert-block ul {
    margin-bottom: 0;
    margin-left: -1em;
}

.shop-name, .user-name {
    font-weight: bold;
}

.mini-card {
    min-width: 250px;
    max-width: 500px;
}

/* To display invalid feedback */
/* hidden by Crispy            */
.invalid-feedback {
    display: block;
}

.item-title {
    font-weight: bold;
}

.price {
    font-style: italic;
    color: #45adbd;
    font-weight: bold;
}

.unstyled, .unstyled:link, .unstyled:hover {
    color: inherit;
    text-decoration: inherit;
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

#map {
    height: 100px;
}

.map-preview .leaflet-popup-content-wrapper {
    background:#ffffffdd;
    border: 1px solid #777;
    color: #555;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.map-preview .leaflet-popup-tip {
    background: transparent;
    border: none;
    box-shadow: none;
}

.thumbnails {
    overflow: auto;
    white-space: nowrap;
}

.thumbnails ul li {
    display: inline;
    cursor: pointer;
}

.thumbnails ul li img {
    background: silver;
}

.thumb-35 {
    min-width: 35px;
    min-height: 35px;
}

.thumb-65 {
    min-width: 65px;
    min-height: 65px;
}

.thumbnails ul li.selected img {
    opacity: 0.5;
}

.main-card {
    max-width: 100vh; /* To always see the preview and the thumbnails */
    margin: 0 auto;
}

.img-viewer-container {
    position: relative;
    width: 100%;
    color: white;
    text-shadow: 0 0 0.4em #222;
}

.img-viewer-container:before {
    content: "";
    display: block;
    padding-top: 67%; /* ratio 2/3 */
}

.fixed-ratio {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.img-viewer {
    background: silver;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

div.arrow {
    position: absolute;
    top: 50%;
    font-size: 40px;
    opacity: 0.5;
    line-height: 250%;
    cursor: pointer;
    padding: 10px;
    -webkit-transform: translateY(-50%);
       -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
         -o-transform: translateY(-50%);
            transform: translateY(-50%);
}

.right-arrow {
    right: 0px;
}

.left-arrow {
    left: 0px;
}

.fit-image-100 {
    object-fit: cover;
    width: 100%;
    height: 100px;
}

.selected_picture {
    cursor: pointer;
}

#cities-list {
   padding: 0;
   margin-top: 0;
   display-style-type: none;
}

#cities-list li {
    display: flex;
    list-style-position: inside;
    color: #3344aa;
    padding-left: 5px;
}

#cities-list li.selected {
    background-color: #ccddff;
    cursor: pointer;
}

.informations {
    list-style: none;
    padding: 0 0 0 20px;
}

.informations>li {
    padding: 8px;
}

