body {
    /* background-image: url('../img/stripes-light.png'); */
    font-family: 'Assistant', sans-serif;
    font-weight: 400;
    color: #292929;
    position: relative;
}

p {
    opacity: 0.76;
    font-weight: 300;
}

#main_nav {
    display: block;
}

#main_nav a {
	font-size: 0.8rem;
}

#main_nav .navbar-brand {
    font-size: 3em;
    color: #292828;
    padding-top: 0px;
    margin-top: -10px;
    margin: 30px 0px;
    padding-bottom: 10px;
    width: 100%;
}

.navbar {
    position: relative;
}

#main_nav .navbar-brand,
#main_nav .navbar-collapse {
    text-align: center;
    text-align: center;
    width: 100%;
    display: inline-block;
}

#main_nav .navbar-collapse {
    text-transform: uppercase;
    letter-spacing: 5px;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
}

#header_img {
    height: 40vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#info {
    color: #292929;
    text-align: center;
}

#info a {
    color: #e89300;
}

#onskiloidi {
    height: 300px;
    width: auto;
    border-radius: 50%;
    margin-bottom: 30px;
    border: 4px solid #212529;
}

#heroImage {
    height: 70vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#footer_section {
    padding: 40px;
}

#footer_section a,
#header_some_section a {
    color: #292929;
    font-size: 3em;
    text-decoration: none;
}

#footer_section a:hover {
    text-decoration: none;
    color: #e89300;
}

.beth-ellen {
    font-family: 'Beth Ellen', cursive;
}

.btn {
    border-radius: 0px;
    padding: 15px;
}

.btn-primary {
    background-color: #292929;
    border: none;
}

.btn-primary:hover {
    background-color: #e89300;
}

.koevedos-wrapper {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
}

.selected-vedos {
    border: #e89300 10px solid;
}

#backToTop {
    position: fixed;
    right: 0px;
    bottom: 20px;
    padding: 10px 15px;
    font-size: 22px;
    background-color: #212529;
    color: #FFF;
    border-radius: 0px;
    border: 1px solid #FFF;
    transition: all 0.3s ease;
    z-index: 1;
}

#backToTop:hover {
    padding: 10px 30px 10px 15px;
    background-color: #e89300;
}

#backToTop.hiding {
    right: -70px;
}

#backToTop svg {
    height: 30px;
    fill: #ffffff;
}

#backToTop:hover svg {
    animation: bouncingIcon 1s;
}

/*
* https://daneden.github.io/animate.css/
*/

@-webkit-keyframes bouncingIcon {
    from,
    20%,
    53%,
    80%,
    to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    40%,
    43% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate3d(0, -15px, 0);
        transform: translate3d(0, -10px, 0);
    }

    70% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate3d(0, -10px, 0);
        transform: translate3d(0, -5px, 0);
    }

    90% {
        -webkit-transform: translate3d(0, -4px, 0);
        transform: translate3d(0, -4px, 0);
    }
}

/* #gallery {
    transition: all .5s ease-in-out;
    width: 100%;
    height: 98vh;
    position: relative;
}

#navigate-gallery {
    position: absolute;
    left: 0px;
    right: 0px;
    z-index: 2;
    top: 40vh;
}

#navigate-gallery button {
    background-color: transparent;
    border: none;
    z-index: 2;
}

#navigate-gallery button:focus {
    box-shadow: none;
}

#navigate-gallery button svg {
    height: 50px;
    width: auto;
    fill: #ffffff;
    transition: all .3s ease-in-out;
    -webkit-filter: drop-shadow( 0px 5px 5px  rgba(0,0,0,0.5) );
    filter: drop-shadow(0px 5px 5px  rgba(0,0,0,0.5));
}

#navigate-gallery button:hover svg {
    -webkit-filter: drop-shadow( 0px 17px 7px rgba(0,0,0,0.5) );
    filter: drop-shadow( 0px 17px 7px rgba(0,0,0,0.5));
}

#prev {
    left: 20px;
}

#next {
    right: 20px;
    position: absolute;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    visibility: hidden;
    opacity: 0;
    z-index: 0;
    -webkit-transition: opacity 1s,visibility 1s;
    -moz-transition: opacity 1s,visibility 1s;
    -ms-transition: opacity 1s,visibility 1s;
    -o-transition: opacity 1s,visibility 1s;
    transition: opacity 1s,visibility 1s;
}

.slide.active {
    visibility: visible;
    opacity: 1;
    z-index: 1;
}

.caption {
    position: absolute;
    bottom: 0px;
    padding: 15px 20px;
    background-color: rgba( 41, 41, 41, 0.65 );
    color: #ffffff;
    width: 100%;
}

.caption {
    opacity: 1;
}

.caption a {
    color: #e89300;
}

@media only screen and (max-width: 1200px) {
    .caption {
        top: 100%;
        height: fit-content;
        display: inline-block;
        background-color: rgba( 41, 41, 41, 1 );
    }

    #info {
        margin-top: 100px;
    }
}

@media only screen and (max-width: 991px) {
    .caption {
        top: 100%;
        height: fit-content;
        display: inline-block;
        background-color: rgba( 41, 41, 41, 1 );
    }

    #info {
        margin-top: 290px;
    }

    #navigate-gallery button svg {
        height: 30px;
    }
}

.img-story,
.img-location,
.img-specs {
    margin-bottom: 0px;
} */


html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

.gallery {
    margin: 0 10vw;
    transition: all .5s ease-in-out;
    column-gap: 0;
}

/* Masonry on large screens */
@media only screen and (min-width: 1024px) {
  .gallery {
    column-count: 3;
  }
}

/* Masonry on medium-sized screens */
@media only screen and (max-width: 1023px) and (min-width: 768px) {
  .gallery {
    column-count: 3;
  }
}

/* Masonry on small screens */
@media only screen and (max-width: 767px) and (min-width: 540px) {
  .gallery {
    column-count: 2;
  }
}

.gallery-img-wrapper {
    /* -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s; */
    overflow: hidden;
    /* position: relative; */
    cursor: pointer;
    padding: 0;
    
}


/* .gallery-img-wrapper .img-info {
    position: absolute;
    left: 10px;
    right: 10px;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    line-height: 1;
    font-size: 0.9em;
    z-index: 1;
    color: #fff;
} */

/* .gallery-img-wrapper img {
    height: auto;
    width: 100%;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1, 1);
} */

.gallery-img-wrapper img:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.gallery-img-wrapper:hover .img-info {
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    bottom: 10px;
    transition: transform .4s ease-in-out;
}

/* .gallery-img-wrapper:hover:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 10%;
    display: inline-block;
    background: -moz-linear-gradient(top, rgb(255 255 255 / 0%) 10%,rgb(39 39 39 / 100%) 100%);
    background: -webkit-linear-gradient(top, rgb(255 255 255 / 0%) 10%,rgb(39 39 39 / 100%) 100%);
    background: -o-linear-gradient(top, rgb(255 255 255 / 0%) 10%,rgb(39 39 39 / 100%) 100%);
    background: -ms-linear-gradient(top, rgb(255 255 255 / 0%) 10%,rgb(39 39 39 / 100%) 100%); 
        background: linear-gradient(to bottom, rgb(255 255 255 / 0%) 10%,rgb(39 39 39 / 100%) 100%); 
} */

@media only screen and (max-width: 991px) {
    #header_img {
        height: 60vh;
        background-size: 200%;
    }
}

@media only screen and (max-width: 768px) {
    #onskiloidi {
        width: 60vw;
        height: 100%;
    }
    .gallery {
        margin: 0 5vw;
    }
}

@media only screen and (max-width: 721px) {
    .navbar-toggler {
        border: none;
        position: absolute;
        right: 5vw;
        top: 34px;
    }
    #main_nav .navbar-brand {
        margin: 10px 0px;
        font-size: 2em;
        color: #292929;
    }
}

@media only screen and (max-width: 540px) {
    #onskiloidi {
        width: 100%;
        height: auto;
    }
    #header_img {
        background-size: 300%;
    }

    .gallery {
        margin: 0 3vw;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #e8e8e8;
}

::-webkit-scrollbar-thumb {
    background: #212529;
}

::-webkit-scrollbar-thumb:hover {
    background: #e89300;
}

.cross {
  position: fixed;
  right: 0;
  top: 0;
  margin: 30px 55px 0 0;
  cursor: pointer;
  transition: 300ms all ease-in-out;
  z-index: 99;
  opacity: 1;
  will-change: transform; }

.cross::after,
.cross::before {
  position: absolute;
  content: '';
  width: 35px;
  height: 2px; }

.cross::after {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg); }

.cross::before {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg); }

.cross--light::after,
.cross--light::before {
  background-color: black; }

.cross--dark::after,
.cross--dark::before {
  background-color: white; }

.slb {
    cursor: -webkit-zoom-in;
    cursor: zoom-in; 
    height: 60vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform-origin: center;
    transition: transform .4s ease-in-out;
}

.slb:not(.slb--opened):hover {
    transform: scale(1.15);
}

.center.slb--opened {
  cursor: auto; 
  height: auto;
  max-height: 100%;
  max-width: 100%;
}

.pop-in {
  -webkit-animation: pop-in 250ms;
  -moz-animation: pop-in 250ms;
  -ms-animation: pop-in 250ms; }

.pop-out {
  -webkit-animation: pop-out 250ms;
  -moz-animation: pop-out 250ms;
  -ms-animation: pop-out 250ms; }

#overlay {
  display: none;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  pointer-events: none;
  cursor: pointer;
  will-change: transform;
  z-index: 1; }

.center {
  /* max-height: 90%;
  max-width: 90%; */
  height: 100%;
  width: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto; }

@-webkit-keyframes pop-in {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5); }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1); } }

@-webkit-keyframes pop-in {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5); }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1); } }

@keyframes pop-in {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5); }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1); } }

@-webkit-keyframes pop-out {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1); }
  100% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5); } }

@keyframes pop-out {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1); }
  100% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5); } }
