/**
 * PgwSlideshow - Version 2.0
 *
 * Copyright 2014, Jonathan M. Piat
 * http://pgwjs.com - http://pagawa.com
 *
 * Released under the GNU GPLv3 license - http://opensource.org/licenses/gpl-3.0
 */
body{
    margin: 1em 2em;
    color:#555;
}
a, a:visited{
  color:#555;
  font-weight:bold;
  position:relative;
}
a:after{
  content: '';
  display: inline-block;
  height: 1px;
  width: 100%;
  position: absolute;
  bottom: -3px;
  left: 0;
  border-bottom: 1px solid #fb0a79;
}
a:hover{
  color:#fb0a79;
}
a,
a:hover{
  text-decoration:none;
}
.constrained{
    max-width: 1200px;
    margin: 0 auto;
}
header{
  max-height: 140px;
  float: left;
  margin-bottom: 1em;
  padding-bottom: 1em;
  display: block;
  position: relative;
  width: 100%;
  color:#404040;
  font-family: 'Lobster Two', cursive;
  border-bottom: 1px solid #ccc;
 }
header .logo{
  max-height: 85%;
  position: absolute;
  width: auto;
}
header .logotype{
  font-size: 3em;
  line-height: 1.0em;
  margin: 0 0 0 1.8em;
  display: inline-block;
}
.clearfix:after {
  content: "";
  clear: both;
  display: table;
}

h1{
  font-size:3em;
  clear:left;
}
h1,h2,h3{
    font-family: 'Lobster Two', cursive;
    font-style: italic;
    color:#000;
    font-weight: normal;
}
 .pgwSlideshow ul{
  list-style: disc inside;
  padding: 0;
  margin: 0;
}
.pgwSlideshow {
    width: 100%;
    background: #333;
    display: none;
}

.pgwSlideshow a{
    color: #fff;
}

.pgwSlideshow .ps-current {
  text-align: center;
  position: relative;
  min-height: 430px;
  overflow: hidden;
width: 100%;
height: auto!important;
}
@media screen and (min-width: 720px) {
  .pgwSlideshow .ps-current {
min-height:530px;
  }
}
@media screen and (min-width: 980px) {
  .pgwSlideshow .ps-current {
min-height: 650px;
  }
}
.pgwSlideshow .ps-current > ul  > li {
    text-align: center;
    width: 100%;
    z-index: 1;
    opacity: 0;
    display: block;
}

.pgwSlideshow .ps-current > ul  > li img {
    display: block;
    max-width: 100%;
    margin: auto;
min-height:330px!important;
max-height: 100vw!important;
z-index:2;
position:relative;
}
@media screen and (min-width: 720px) {
  .pgwSlideshow .ps-current > ul  > li img{
min-height:430px!important;
  }
}
@media screen and (min-width: 980px) {
  .pgwSlideshow .ps-current > ul  > li img{
min-height:650px;
  }
}
.pgwSlideshow .ps-caption {
    background: rgba(0, 0, 0, 0.5);
    filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#99000000', endColorstr='#99000000');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#99000000', endColorstr='#99000000')";
    text-align: left;
    font-size: 1rem;
    color: #fff;
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    padding: 10px;
    display: none;
    z-index: 3;
}

.pgwSlideshow .ps-caption span {
    padding: 7px;
    display: inline-block;
}

.pgwSlideshow .ps-list {
    border-top: 1px solid #555;
    box-shadow: 0 10px 10px -5px #333 inset;
    background: #555;
    overflow: hidden;
    position: relative;
}

.pgwSlideshow .ps-list ul {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    left: 0;
}

.pgwSlideshow .ps-list li {
    float: left;
}

.pgwSlideshow .ps-list li .ps-item {
    display: block;
    margin: 15px 8px;
    opacity: 0.6;
    filter: alpha(opacity=60);
}

.pgwSlideshow .ps-list li img {
    display: block;
    border: 1px solid #777;
    width: 80px;
    height: 80px;
}

.pgwSlideshow .ps-list li .ps-item.ps-selected {
    float: left;
    opacity: 1;
    border: 4px solid #fff;
    overflow: hidden;
}

.pgwSlideshow .ps-list li .ps-item.ps-selected img {
    margin: -4px;
}

.pgwSlideshow .ps-prevIcon {
    border-color:transparent #fff transparent;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    display: block;
}

.pgwSlideshow .ps-nextIcon {
    border-color:transparent #fff transparent;
    border-style: solid;
    border-width: 10px 0 10px 10px;
    display: block;
}

.pgwSlideshow .ps-current .ps-prev {
    background: rgba(0, 0, 0, 0.5);
    filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#99000000', endColorstr='#99000000');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#99000000', endColorstr='#99000000')";
    border: 1px solid #777;
    border-left: 0;
    border-radius: 0 4px 4px 0;
    position: absolute;
    padding: 20px 20px 20px 15px;
    left: 0;
    top: 45%;
    cursor: pointer;
    z-index: 3;
}

.pgwSlideshow .ps-current .ps-next {
    background: rgba(0, 0, 0, 0.5);
    filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#99000000', endColorstr='#99000000');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#99000000', endColorstr='#99000000')";
    border: 1px solid #777;
    border-right: 0;
    border-radius: 4px 0 0 4px;
    position: absolute;
    padding: 20px 15px 20px 20px;
    right: 0;
    top: 45%;
    cursor: pointer;
    z-index: 3;
}

.pgwSlideshow .ps-list .ps-prev {
    background: rgba(0, 0, 0, 0.5);
    filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#bb000000', endColorstr='#bb000000');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#bb000000', endColorstr='#bb000000')";
    border: 1px solid #777;
    border-left: 0;
    border-radius: 0 4px 4px 0;
    padding: 20px 15px 20px 12px;
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: 1000;
    display: none;
}

.pgwSlideshow .ps-list .ps-next {
    background: rgba(0, 0, 0, 0.5);
    filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#bb000000', endColorstr='#bb000000');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#bb000000', endColorstr='#bb000000')";
    border: 1px solid #777;
    border-right: 0;
    border-radius: 4px 0 0 4px;
    padding: 20px 12px 20px 15px;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 25px;
    z-index: 1000;
    display: none;
}

/*
 * The media-queries are not used because IE8 doesn't support them.
 */
.pgwSlideshow.narrow .ps-list li img {
    width: 60px;
    height: 60px;
}

.pgwSlideshow.narrow .ps-current .ps-prev {
    padding: 15px 15px 15px 12px;
    top: 40%;
}

.pgwSlideshow.narrow .ps-current .ps-next {
    padding: 15px 12px 15px 15px;
    top: 40%;
}

.pgwSlideshow.narrow .ps-list .ps-prev {
    padding: 15px 12px 15px 10px;
    top: 20px;
}

.pgwSlideshow.narrow .ps-list .ps-next {
    padding: 15px 10px 15px 12px;
    top: 20px;
}

.pgwSlideshow.narrow .ps-caption {
    font-size: 0.8rem;
    padding: 8px;
}
.gallerynav a.active{
  color:#ccc;
}
.gallerynav{
  margin: 1em 0;
  display: block;
  float: left;
  width: 100%;
}
.gallerynav a{
  line-height: 27px;
  display: inline-block;
  margin-left: 50px;
  margin-right: 20px;
  margin-bottom: 1.5em;
}
.gallerynav a:before{
  content: '';
  background-image:url(../images/icon_pic.gif);
  display: inline-block;
  height: 27px;
  width: 40px;
  position: absolute;
  left: -50px;
  top: 50%;
  margin-top: -13.5px;
}
@-webkit-keyframes tux-loading-indicator-spin {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes tux-loading-indicator-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.loading{
    background: transparent url(../images/spinner.gif) right bottom no-repeat;
    background-image: -webkit-linear-gradient(transparent, transparent), url(../images/loading2.png);
    background-image: -moz-linear-gradient(transparent, transparent), url(../images/loading2.png);
    background-image: linear-gradient(transparent, transparent), url(../images/loading2.png);
    background-size: 100%;
    -webkit-animation-name: tux-loading-indicator-spin;
    -webkit-animation-duration: 1.5s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-name: tux-loading-indicator-spin;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    height: 140px!important;
    width: 140px!important;
    display:block;
    position:absolute;
    z-index:1;
  left:50%;
    margin:auto auto auto -70px;
    backface-visibility: hidden;
  top:60px;
}
/*NAV ~~~~~~~~~~~~~ */
nav{
    position: absolute;
    right: .5em;
    font-size: 2em;
    top: 77px;
    background-color: #fff;
    z-index: 11;
    border-radius: 10px;
    border: 1px solid #ddd;
    opacity: .93;
    max-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 500ms;
}
nav.opened{
    max-width: 10em;
    max-height: 15em;
    }
nav ul{
    list-style: none;
    margin: 15px 30px 30px;
    padding: 0;
}
nav li a{
    display: block;
    padding: 0 .25em;
    line-height: 2em;
    font-weight: normal;
}
nav li a:after{
    width: 95%;
    position: absolute;
    bottom: 10px;
    left: .25em;
}
.burgerwrap{
    border: 1px solid #adadad;
    border-radius: 5px;
    position: absolute;
    display: block;
    top: 0;
    right: 1em;
    width: 60px;
    height: 60px;
    background-color: #e6e6e6;
    cursor: pointer;
}
.burgernav,
.burgerwrap:after,
.burgerwrap:before{
    background-color: rgb(160, 160, 160);
    width: 90%;
    height: 20%;
    display: inline-block;
    position: absolute;
    border-radius: 10px;
    left: 5%;
    bottom: 10%;
    transition: all 500ms;

}
.burgerwrap:after,
.burgerwrap:before{
    content:"";
    bottom:auto;
    top:10%;
}
.burgerwrap:after{
    content:"";
    bottom:auto;
    top:50%;
    margin-top:-10%;
}
.burgerwrap:hover:after,
.burgerwrap:hover:before,
.burgerwrap:hover .burgernav{
    background-color: rgb(220, 13, 13);
}
.burgerwrap.close .burgernav{
    background-color: rgba(160, 160, 160,0);
}
.burgerwrap.close:after,
.burgerwrap.close:before{
    background-color: rgb(220, 13, 13);
    transform:rotate(45deg);
    top: 50%;
    margin-top: -10%;
}
.burgerwrap.close:before{
    background-color: rgb(220, 13, 13);
    transform:rotate(-45deg);
}
.contents{
    max-width: 100%;
    display: inline-block;
}
.contents.fadein{
    -webkit-animation: fadein 1000ms ease-in;
    animation: fadein 1000ms ease-in;
}

@keyframes fadein {
    0% {opacity:0;}
    50%{opacity:0;}
    100%{opacity:1;}
}