/**********GENERAL**********/
body {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1;
    animation: fadein 2s;
    -moz-animation: fadein 2s; /* Firefox */
    -webkit-animation: fadein 2s; /* Safari and Chrome */
    -o-animation: fadein 2s; /* Opera */
}

/* PAGES FADE-INS */
@keyframes fadein {
  from { opacity:0; }
  to { opacity: 1; }
}
@-moz-keyframes fadein { /* Firefox */
  from { opacity:0; }
  to { opacity: 1; }
}
@-webkit-keyframes fadein { /* Safari and Chrome */
  from { opacity:0; }
  to { opacity: 1; }
}
@-o-keyframes fadein { /* Opera */
    from { opacity:0; }
    to { opacity: 1; }
}

.fixed {
    position: fixed;
    top: 0;
}
nav {
    text-align: center;
    z-index: 1;
    background-color: white;
    width: 100%;
}
nav li {
    display: inline-block;
    margin: 15px 20px 10px 20px;
}
a:link, a:visited, a:hover, a:active, a:focus  {
    color: inherit;
    text-decoration: none;
    outline: none;
}
a:hover {
  opacity: 0.5;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
}
a:link > #about, a:visited > #about , a:hover > #about , a:active > #about , a:focus > #about {
  text-decoration: underline;
}
h1 {
    text-align: center;
    font-weight: bold;
    margin-bottom: 0;
}
h3 {
  font-size: 18px;
  margin-top: 10px;
}
h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
    margin-top: 9px;
}
p {
    font-size: 12px;
}
hr {
  background-color: #333;
  opacity: .5;
  border: none;
  height: 1px;
}
.kasia {
    font-size: 10px;
    font-weight: 100;
    color: white;
    opacity: .6;
    padding: 5px;
    text-align: right;
}
.hidden {
    display: none;
}

/**********HOME PAGE**********/
#welcome-pic {
  width: 100vw;
  height: 100vh;
}
#welcome-pic h1 {
  font-size: 100px;
  width: 100vw;
  margin: 0;
  z-index: 4;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: white;
}
#welcome-buttons {
  font-size: 30px;
  width: 100vw;
  text-align: center;
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 70%;
  transform: translate(-50%, -80%);
  color: white;
  padding: 0;
}
#welcome-buttons li {
  margin: auto 20px;
  padding: 20px 30px;
  display: inline-block;
  height: 72px;
  border-style: solid;
  border-width: thin;
}
#welcome-buttons li:hover {
  background: white;
  color: black;
  border-color: white;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
}
#welcome-buttons a:hover {
  opacity: 1;
}
#slide1, #slide2, #slide3 {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}
#cycler {
  max-width: 100vw;
  margin: 0;
  position: relative;
}
#cycler img {
  position: absolute;
  z-index: 1;
}
#cycler img.active {
  z-index: 3;
}
#cycler2 p {
  z-index: 1;
}
#cycler2 p.active {
  z-index: 3;
}
#cycler2 p {
  font-size: 10px;
  opacity: .7;
  color: white;
  margin: 10px;
  position: absolute;
}

/**********VIDEO PORTFOLIO**********/
.container {
    margin: 10px auto 5% auto;
    text-align: center;
    max-width: 1150px;
}
.portfolio-item {
    width: 210px;
    height: 280px;
    display: inline-block;
    text-align: left;
    margin: 0 5px;
}
.portfolio-thumbnail {
    width: 210px;
    height: 210px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}
.portfolio-thumbnail:hover {
    opacity: .7;
}

/*DROPDOWN MENU*/
.dropdown-menu {
    border: none;
    border-radius: 0;
    width: 165px;
}
.dropdown-menu li {
    margin: 2px;
}
.dropdown-menu li a {
    font-weight: 300;
    padding: 2px 22px;
}
.dropdown-menu li a:hover {
    background-color: white;
    background-image: none;
    font-weight: 500;
}

/*AWARDED SUBELEMENTS*/
.awardinfo {
    margin: 12px 0;
}
.awardinfo h4, p {
    margin: 5px 0;
}
.awardheight {
    height: 435px;
}

/**********ABOUT PAGE**********/
#about-photo {
    height: 400px;
    background: url("../images/about.jpg");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}
#about p {
    font-size: 14px;
    line-height: 1.5;
    margin: 2% 25% 2% 25%;
    text-align: justify;
}
#about a {
  font-style: italic;
}

/**********THEATRE PAGE**********/
#theatre {
  margin: 10px auto 5% auto;
  max-width: 435px;
  font-size: 12px;
}
.show-name {
  font-size: 14px;
  font-weight: bolder;
  margin: 10px 0;
}
.year {
    font-size: 18px;
    font-weight: bolder;
    text-align: center;
    margin: 10px 0;
}
#gallery {
  padding-bottom: 15px;
}
.ug-item-wrapper img {
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  object-fit: contain;
}
.ug-lightbox-top-panel-overlay {
  display: none;
}
.ug-textpanel {
  height: 80px !important;
}
.ug-textpanel-textwrapper {
  left: 10px !important;
  top: 10px !important;
}

/**********PHOTO PAGE**********/
#photo-photo {
  height: 400px;
  background: url("../images/photo.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#photo-gallery {
  text-align: center;
  margin-top: 10px;
}
#photo-gallery #gallery {
  display: inline-block;
  width: 75%;
}
#photo-description {
  font-size: 14px;,
  margin: 10px;
}
.photo-hr {
  margin: 0 auto;
  width: 75%;
  display: block;
}
.show-header {
  padding: 5px 28px 0 28px;
}

/**********CONTACT PAGE**********/
#contact-photo {
    height: 400px;
    background: url("../images/ppt.jpg");
    background-size: cover;
    background-position: center;
    background-position-y: 85%;
    background-repeat: no-repeat;
}
#old-contact {
  height: 400px;
  background: url("../images/opera.jpg");
  background-size: cover;
  background-position: center;
  background-position-y: 35%;
  background-repeat: no-repeat;
}
#contact {
    display: inline;
    text-align: center;
}
#contact p {
    font-size: 14px;
    line-height: 1.5;
    margin: 3% 10%;
    margin-bottom: 1%;
}
#contact span {
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}
#contact span:hover {
    color: darkgray;
}
#social-icons {
    margin-bottom: 5%;
}
#facebook, #instagram {
    margin-right: 5px;
    margin-left: 5px;
    width: 33px;
    height: 32px;
    background: url("../images/sprite.png");
    background-size: cover;
    display: inline-block;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    opacity: .2;
}
#facebook {
    background-position: center;
}
#facebook:hover, #instagram:hover {
    opacity: 1;
}

/**********THUMBNAILS FOR VIDEO PORTFOLIO AND VISUAL ARTS PAGE*********/

#no46 { background: url("../images/no46.jpg"); }
#shadows { background: url("../images/shadows.jpg"); }
#paese { background: url("../images/paese.jpg"); }
#netflix { background: url("../images/netflix.jpg"); }
#gamelover { background: url("../images/gamelover.jpg"); }
#balet { background: url("../images/balet.jpg"); }
#bardzo { background: url("../images/bardzo.jpg"); }
#cma { background: url("../images/cma.jpg"); }
#despacito { background: url("../images/despacito.jpg"); }
#glodny { background: url("../images/glodny.jpg"); }
#lollipop { background: url("../images/lollipop.jpg"); }
#majka { background: url("../images/majka.jpg"); }
#onthequiet { background: url("../images/onthequiet.jpg"); }
#piloci { background: url("../images/piloci.jpg"); }
#tyyyle { background: url("../images/tyyyle.jpg"); }
#bylejak { background: url("../images/bylejak.jpg"); }
#baska { background: url("../images/baska.jpg"); }
#nielot { background: url("../images/nielot.jpg"); }
#carlo { background: url("../images/carlo.jpg"); }
#kortez-dobry { background: url("../images/kortez-dobry.jpg"); }
#polsat { background: url("../images/polsat.jpg"); }
#sarsa { background: url("../images/sarsa.jpg"); }
#olx-walizka { background: url("../images/olx-walizka.jpg"); }
#olx-rekrutacja { background: url("../images/olx-rekrutacja.jpg"); }
#olx-ludwik { background: url("../images/olx-ludwik.jpg"); }
#olx-dezajn { background: url("../images/olx-dezajn.jpg"); }
#olx-posilki { background: url("../images/olx-posilki.jpg"); }
#olx-polowanie { background: url("../images/olx-polowanie.jpg"); }
#neonail { background: url("../images/neonail.jpg"); }
#troche { background: url("../images/troche.jpg"); }
#whatdyoudo { background: url("../images/whatdyoudo.jpg?12052017"); }
#nespresso { background: url("../images/nespresso.jpg?12052017"); }
#lemon { background: url("../images/lemon.jpg?12052017"); }
#mysia { background: url("../images/mysia.jpg?12052017"); }
#smog { background: url("../images/smog.jpg?12052017"); }
#slawa-troche { background: url("../images/slawa-troche.jpg?12052017"); }
#bluevibes { background: url("../images/bluevibes.jpg?11052017"); }
#gniewo-makingof { background: url("../images/gniewo-makingof.jpg"); }
#novaskin { background: url("../images/novaskin.jpg?12052017"); }
#migea1 { background: url("../images/migea1.jpg?12052017"); }
#yes1 { background: url("../images/yes1.jpg?11052017"); }
#yes3 { background: url("../images/yes3.jpg?12052017"); }
#yes7 { background: url("../images/yes7.jpg?12052017"); }
#kortez-wracaj { background: url("../images/kortez-wracaj.jpg"); }
#yes-spot { background: url("../images/yes-spot.jpg"); }
#relax { background: url("../images/relax.jpg"); }
#drugie-imie { background: url("../images/drugie-imie.jpg"); }
#pyd2 { background: url("../images/pyd2.jpg?11052017"); }
#pyd { background: url("../images/pyd.jpg"); }
#reebok { background: url("../images/reebok.jpg"); }
#kortez-wiem { background: url("../images/kortez-wiem.jpg"); }
#prosto { background: url("../images/prosto.jpg"); }
#wedel { background: url("../images/wedel.jpg"); }
#lewandowski { background: url("../images/lewandowski.jpg"); }
#simple { background: url("../images/simple.jpg?11052017"); }
#vistula { background: url("../images/vistula.jpg"); }
#vistula-short { background: url("../images/vistula-short.jpg"); }
#shwrm { background: url("../images/shwrm.jpg"); }
#hiv-short { background: url("../images/hiv-short.jpg"); }
#warka { background: url("../images/warka.jpg"); }
#hm1 { background: url("../images/hm1.jpg"); }
#hm2 { background: url("../images/hm2.jpg?12052017"); }
#hm3 { background: url("../images/hm3.jpg"); }
#struna { background: url("../images/struna.jpg"); }
#kruk-swieta { background: url("../images/kruk-swieta.jpg"); }

#no46, #shadows, #paese, #netflix, #gamelover, #balet, #bardzo, #cma, #despacito, #glodny, #lollipop, #majka, #onthequiet, #piloci, #tyyyle, #bylejak, #baska, #nielot, #carlo, #kortez-dobry, #polsat, #sarsa, #olx-walizka, #olx-rekrutacja, #olx-ludwik, #olx-dezajn, #olx-posilki, #olx-polowanie, #neonail, #troche, #whatdyoudo, #nespresso, #lemon, #mysia, #smog, #slawa-troche, #bluevibes, #gniewo-makingof, #novaskin, #migea1, #yes1, #yes3, #yes7, #kortez-wracaj, #yes-spot, #relax, #drugie-imie, #pyd2, #pyd, #reebok, #kortez-wiem, #prosto, #wedel, #lewandowski, #simple, #vistula, #vistula-short, #shwrm, #hiv-short, #warka, #hm1, #hm2, #hm3, #struna, #kruk-swieta {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


/********** MEDIA QUERIES **********/

@media screen and (max-width: 1199px) {
    #about-photo {
        height: 350px;
    }
    #about p {
        margin: 5% 20%;
    }
}

@media screen and (max-width: 767px) {
  .centered-show-name .show-name {
    margin: 10px;
  }
  .show-role {
    font-size: 12px;
    margin: 0;
  }
  .hiding-break {
    display: none;
  }
  .hiding-space {
    display: inline;
  }
  .go-back-full {
    display: none;
  }
  .photo-creds {
    margin: 0;
    padding: 0;
    text-align: center;
  }
  div .col-sm-3 {
    height: 15px;
  }
  #welcome-pic h1 {
    font-size: 70px;
  }
  #welcome-buttons {
    font-size: 25px;
  }
  #welcome-buttons li {
    margin: auto 10px;
    height: 68px;
  }
  .col-sm-4 {
    width: 33%;
    display: inline-block;
  }
}

@media screen and (max-width: 670px) {
  #photo-gallery #gallery {
    width: 90%;
  }
  .show-header {
    padding: 0 19px;
  }
  #photo-description {
    width: 80%;
    margin: 10px auto;
  }
}

@media screen and (max-width: 599px) {
    #about-photo {
        height: 200px;
        background-position: center;
    }
    #contact-photo {
        height: 200px;
        background-position: middle;
    }
    #old-contact {
        height: 200px;
        background-position: middle;
    }
    .portfolio-item {
        width: 160px;
        height: 250px;
        display: inline-table;
    }
    .portfolio-thumbnail {
        width: 160px;
        height: 160px;
    }
    li {
        margin: 15px 18px;
    }
    .navigation {
        margin-bottom: 0;
    }
    .kasia {
        font-size: 6px;
    }
    .sliding {
        margin: 15px 10px;
    }
    .award p {
        height: 24px;
    }
    .awardheight {
        height: 400px;
    }
    #heightformobile {
        height: 24px;
    }
    #about p {
        margin: 5% 15%;
    }
    .show-line-break {
      display: none;
    }
    .photo-creds {
      float: none;
      margin-top: 5px;
    }
    .photo-creds-line-break {
      display: inline;
    }
    #welcome-pic h1 {
      font-size: 50px;
    }
    #welcome-buttons li {
      font-size: 15px;
      padding: 10px 15px;
      height: 38px;
    }
    .col-sm-4 {
      width: 100%;
      display: block;
    }
    #theatre {
      max-width: 355px;
    }
    .shows-list li {
      margin: 10px 0;
    }

}

@media screen and (max-width: 399px) {
    h1 {
        font-size: 30px;
        margin-top: 12px;
    }
    #about-photo {
        height: 150px;
    }
    /*#contact-photo {
        height: 150px;
    }
    #old-contact {
        height: 150px;
        }*/
    #portfolio {
        padding: 0;
    }
    .container {
        padding: 5px 10px;
        margin-top: 0;
    }
    .portfolio-item {
        width: 120px;
        height: 190px;
        margin: 0 10px;
    }
    .portfolio-thumbnail {
        width: 120px;
        height: 120px;
    }
    h4 {
        line-height: 1;
        font-size: 13px;
    }
    .sliding {
        font-size: 12px;
        margin: 15px 5px;
    }
    p {
        font-size: 11px;
        margin: 2px 0;
    }
    #contact p {
        font-size: 12px;
    }
    #about p {
        margin: 5% 10%;
    }
    #welcome-pic h1 {
      font-size: 40px;
    }
    #welcome-buttons li {
      margin: auto 5px;
    }
    #theatre {
      max-width: 277px;
    }
    #theatre hr {
      margin: 15px 0;
    }
    .shows-list li {
      font-size: 12px;
      margin: 5px 0;
    }
    .show-name {
      font-size: 14px;
    }
  }
