@font-face {
    font-family: 'Dancing Script OT';
    src: url("../fonts/DancingScript-Regular.otf");
}
@font-face {
    font-family: 'VAG-HandWritten';
    src: url("../fonts/VAG-HandWritten.otf");
}


body {
    width: 100%;
    height: 100%;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    color: #000;
    background-color: #fff;
    padding-top: 0px;
}

html {
    width: 100%;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 35px;
    text-transform: uppercase;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

p {
    margin: 0 0 25px;
    font-size: 22px;
    line-height: 1.4;
}


#prelinks {
    margin-top: 200px;
    padding-left: 10pt;
}

@media(min-width:768px) {
    p {
        margin: 0 0 35px;
        font-size: 24px;
        line-height: 1.4;
    }
}

a {
    color: #00348c;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #001b49;
}

.light {
    font-weight: 400;
}

.bold {
    font-weight: bold;
}

.small {
    font-size: 75%;
}

.top-buffer {
    margin-top: 10px;
}

.center-div {
    margin-left: auto;
    margin-right: auto;
}

.navbar-custom {
    margin-bottom: 0;
    padding-left: 10px;
    padding-right: 10px;
    border-bottom: 1px solid rgba(255,255,255,.3);
    text-transform: uppercase;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    background-color: rgba(255,255,255,.8);
    z-index: 2;
}

.navbar-custom .navbar-brand {
    font-weight: 700;
}

.navbar-custom .navbar-brand:focus {
    outline: 0;
}

.navbar-custom .navbar-brand .navbar-toggle {
    padding: 4px 6px;
    font-size: 16px;
    color: #fff;
}

#date-min, #date-max {
  	width: 9em;
    height: 1.5em;
}

#collabsible-menus {
    max-height: 100%;
    position: fixed;
    background-color: rgba(255,255,255,.9);
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 1;
}

#collabsible-menus.taggingmode {
    width: 49%;
}

#albums, #info, #admin, #tags {
    height: calc(100vh - 200px);
    margin-top: 200px;
    overflow-y: scroll;
}

#photo-info {
    height: 100%;
}

.map_buttons div {
    display: inline;
}

#links .labelspan {
    position: absolute;
    margin-top: 1%;
    margin-left: 1%;
    letter-spacing: 0.2em;
    color: white;
}

#links td div {
    height: 40px;
    overflow: hidden;
}

#links th {
    position: sticky;
    top: 0px;
    background: white;
}

#links {
    outline: none;
}

#links.taggingmode, #prelinks.taggingmode {
    width: 50%;
    margin-left: 50%;
}

.spacer {
    height: 130px;
}

#album-selector .name {
    color: black;
}

#tag-container {
    color: white;
    position: absolute;
    top: 0px;
    left: 50%;
}

.pswp__button--info {
  display: none;
  background-image: url(/img/info.svg) !important;
  background-position: 0px 0 !important;
  background-size: 44px 44px !important;
}

.pswp__button--info {
  display: block; }


.navbar-custom .navbar-brand .navbar-toggle:focus,
.navbar-custom .navbar-brand .navbar-toggle:active {
    outline: 0;
}

.navbar-custom a {
    color: #888;
}

.navbar-custom .nav li a {
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}

.navbar-custom .nav li a:hover {
    outline: 0;
    color: #001b49;
    background-color: transparent;
}

.navbar-custom .nav li a:focus,
.navbar-custom .nav li a:active {
    outline: 0;
    background-color: transparent;
}

.navbar-custom .nav li.active {
    outline: 0;
}

.navbar-custom .nav li.active a {
    background-color: rgba(255,255,255,.3);
}

.navbar-custom .nav li.active a:hover {
    color: #555;
}

.alert-danger {
    background-color: rgba(242,222,222,0.7);
}

.alert#formAlert {
    display:none;
    position: fixed;
    font-size: 150%;
    width: 100%;
    top: 3em;
}

@media(min-width:768px) {
    .alert#formAlert {
        font-size: 200%;
        width: 10em;
        right: 3em;
    }
}

.intro {
    display: table;
    width: 100%;
    height: 100%;
    padding: 0 0;
    text-align: center;
    color: #000;
    background-color: #fff;
    background: url(../img/1-kraft.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

svg.invitation {
    height: auto;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.intro .intro-body {
    display: table-cell;
    border: 0px;
    padding: 0px;
    margin: 0px;
    margin-top: 150px;
    height: 100%;
    vertical-align: middle;
}

.intro .intro-body .intro-text {
    font-size: 18px;
}

@media(min-width:768px) {
    .intro {
        padding: 0;
        border: 0px;
        margin: 0px;
    }

    .intro .intro-body .brand-heading {
        font-size: 60px;
    }

    .intro .intro-body .intro-text {
        font-size: 26px;
    }

    svg.invitation {
        height: 100%;
        width: auto;
        overflow: visible;
    }
}

span.iban span {
    padding: 0px 3px;
    font-family: monospace;
    font-size: 80%;
    color: grey;
}

span.code {
    font-family: monospace;
    font-size: 80%;
    color: navy;
}

footer {
    padding: 50px 0;
}

footer p {
    margin: 0;
}

::-moz-selection {
    text-shadow: none;
    background: #fcfcfc;
    background: rgba(0,27,73,.2);
}

::selection {
    text-shadow: none;
    background: #fcfcfc;
    background: rgba(0,27,73,.2);
}

img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}

body {
    webkit-tap-highlight-color: rgba(255,255,255,.2);
}

@font-face {
    font-family: 'vag-handwrittenregular';
    src: url('/fonts/VAG-HandWritten-webfont.eot');
    src: url('/fonts/VAG-HandWritten-webfont.eot?#iefix') format('embedded-opentype'),
        url('/fonts/VAG-HandWritten-webfont.woff') format('woff'),
        url('/fonts/VAG-HandWritten-webfont.ttf') format('truetype'),
        url('/fonts/VAG-HandWritten-webfont.svg#vag-handwrittenregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AC-Graduate';
    src: url('/fonts/AC-Graduate.otf');
    src: url('/fonts/AC-Graduate.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AC-Loving';
    src: url('/fonts/AC-Loving.otf');
    src: url('/fonts/AC-Loving.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AC-RomanScript';
    src: url('/fonts/AC-RomanScript_Unicode.otf');
    src: url('/fonts/AC-RomanScript_Unicode.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.table {
    margin-left: auto;
    margin-right: auto;
    width: 70%;
    font-size: 1em;
}
.table td {
    text-align: left;
}

.table td.text-right {
    text-align: right;
}

h1, h2, h3, h4, h5, h6, h7 {
    font-family: 'AC-RomanScript';
}
.intro {
    height: auto;
}
.brand-heading {
    margin-top: 70px;
}
.contact-section {
    background-image: none;
}
.navbar-header span, .navbar-header li {
    padding-top: 15px;
    padding-bottom: 15px;
}
.nav span, .nav li {
    position: relative;
    display: block;
    padding: 10px 15px;
}
.navbar-toggle {
    z-index: 100;
}
#video-player {
    position: fixed;
    width: 100%;
    height: 100%;
    background: black;
    display: none;
    top: 0px;
    left: 0px;
}
#video-player i {
    font-size: 3em;
    color: white;
    position: absolute;
    top: 1%;
    right: 1%;
    cursor: pointer;
}
#media-video {
    width: 100%;
    height: 100%;
    margin: auto auto;
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.pswp__zoom-wrap {
    will-change: auto !important;
    -webkit-backface-visibility: visible !important;
}

#item-info {
    display: block;
    width: 0px;
    color: white;
    transition: width 0.2s ease-in-out;
    position: fixed;
    top: 50px;
    bottom: 0px;
    right: 0px;
    z-index: 100001;
}

#item-info.in {
    width: 450px;
    max-width: 100%;
}

#single-photo-info {
    height: 50%;
}

#single-photo-table {
    height: 50%;
    background-color: white;
    overflow: auto;
}

.smart-scroll{
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}
.scrolled-down{
   transform:translateY(-100%); transition: all 0.3s ease-in-out;
}
.scrolled-up{
   transform:translateY(0); transition: all 0.3s ease-in-out;
}
.btn.active {
  z-index:0 !important;
}

.pswp__video-play-button, .pswp__button--video-play-button {
  align-items: center;
  font-size: 2em;

  width: auto !important;
  height: auto !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

:focus + a.photoswipe {
  outline: 5px auto -webkit-focus-ring-color;
}