/*
Override styles for Foundation 5, http://hardyernst.dk
////////////////////////////////////////////////////////////////////////////////////
HEADER 
////////////////////////////////////////////////////////////////////////////////////
*/
/*frontpage hacks*/
body.home nav.title-bar{
	height: 100vh;
	margin-bottom: 60px;
	position: relative;
}
body.home .title-bar-left {
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    top: 0.5rem;
    bottom: 0.5rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
}
body.home  .title-bar-left a{
	width: 90%;
	height: auto;
  /*animation: logo_intro .5s ease-out;*/
}

@keyframes logo_intro{
  /*0%{
    transform: scale(.5);
    opacity: 0;
  }
  7*/0%{
    transform: scale(.5);
    opacity: 0;
  }
  100%{
    transform: scale(1);
    opacity: 1;
  }
}
nav.title-bar {
    background: transparent;
}
.title-bar-left a{
    /*background: url('../img/hardy ernst simple.svg');*/
    background-repeat: no-repeat;
    display: block;
    text-indent: -9999px;
    width: 200px;
    height: 50px;
    background-size: contain;
    margin: 0 10px;
}
.title-bar-left a svg{
	display: block;
	width: 100%;
	height: 100%;
  /*overflow: visible;*/
}
.title-bar-right{
  background: white;
  padding-right: .5rem;
  position: relative;
  right: -.5rem;
}
.title-bar-right{
  padding: .5rem;
  top: -.5rem;
  cursor: pointer;
}

.off-canvas-content, .off-canvas-content{
  /*box-shadow: none;*/
}

.off-canvas{
  background: inherit;
}
ul#menu-main_menu {
    margin-top: .5rem;
}
.off-canvas-list {
    list-style-type: none;
    margin: 0;
    background: #2F2F2F;
    background: white;
}

.off-canvas-list li a {
    font-size: 22px;
    padding: 5px 10px;
    display: block;
    color: #444;
}
.off-canvas-list li a:hover {
    background: #E0E0E0;
}
.off-canvas-list li a .label.success{
    padding: 0 3px;
    line-height: 25.6px;
}
.menu-highlight {
    border-left: 5px solid #70E400;
}
.off-canvas-list li.menu-highlight a{
    padding: 5px 10px 5px 5px;
}

.off-canvas-list li label {
    font-size: 22px;
    padding: 2px 10px;
    background: #444;
    color: white;
    /*border-top: 5px solid #A25858;*/
    font-weight: bold;
}

@-webkit-keyframes introtop{
  /*0%{
    -webkit-transform: translate3d(100%,-100%,0);
            transform: translate3d(100%,-100%,0)
  }
  5*/0%{
    -webkit-transform: translate3d(100%,-100%,0);
            transform: translate3d(100%,-100%,0)
  }
  100%{
    -webkit-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0)
  }
}
@keyframes introtop{
 /* 0%{
    -webkit-transform: translate3d(100%,-100%,0);
            transform: translate3d(100%,-100%,0)
  }
  5*/0%{
    -webkit-transform: translate3d(100%,-100%,0);
            transform: translate3d(100%,-100%,0)
  }
  100%{
    -webkit-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0)
  }
}
@-webkit-keyframes intro{
  0%{
    -webkit-transform: translate3d(100%,0,0);
            transform: translate3d(100%,0,0)
  }
  50%{
    -webkit-transform: translate3d(100%,0,0);
            transform: translate3d(100%,0,0)
  }
  100%{
    -webkit-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0)
  }
}
@keyframes intro{
  0%{
    -webkit-transform: translate3d(100%,0,0);
            transform: translate3d(100%,0,0)
  }
  50%{
    -webkit-transform: translate3d(100%,0,0);
            transform: translate3d(100%,0,0)
  }
  100%{
    -webkit-transform: translate3d(0,0,0);
            transform: translate3d(0,0,0)
  }
}
body.home .title-bar-right{
  -webkit-animation: introtop 1s ease-out;
          animation: introtop 1s ease-out;
}

#hamMenu {
  width: 35px;
  height: 24px;
  position: relative;
  /*margin: 50px auto;*/
  margin: 10px;
  margin-left: 90px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}
#hamMenu:before {
	content: "MENU";
	position: absolute;
	color: #383838;
	right: 100%;
	top: 0;
	bottom: 0;
	padding-right: 10px;
	font-size: 22px;
	font-weight: bold;
	line-height: 27px;
}
@media screen and (max-width: 39.9375em) {
	#hamMenu{
		margin-left: 10px
	}
  #hamMenu:before {
    display: none !important; 
	} 
}

#hamMenu span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #383838;
  /* border-radius: 9px; */
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out .25s, box-shadow 0ms;
  -moz-transition: .25s ease-in-out .25s, box-shadow 0ms;
  -o-transition: .25s ease-in-out .25s, box-shadow 0ms;
  transition: .25s ease-in-out .25s, box-shadow 0ms;
}

#hamMenu span:nth-child(1) {
  top: 0px;
}

#hamMenu span:nth-child(2),#hamMenu span:nth-child(3) {
  top: 10px;
}

#hamMenu span:nth-child(4) {
  top: 20px;
}

.is-off-canvas-open #hamMenu span:nth-child(1) {
  top: 10px;
  width: 0%;
  left: 50%;
}

.is-off-canvas-open #hamMenu span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.is-off-canvas-open #hamMenu span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.is-off-canvas-open #hamMenu span:nth-child(4) {
  top: 10px;
  width: 0%;
  left: 50%;
}
/*
////////////////////////////////////////////////////////////////////////////////////
MAIN 
////////////////////////////////////////////////////////////////////////////////////
*/
.outer_content{
	position: relative;
  /*padding-bottom: 220px;*/
}
/*@media screen and (max-width: 485px) {
  .outer_content{
    padding-bottom: 250px;
  }
}
@media screen and (max-width: 400px) {
  .outer_content{
    padding-bottom: 260px;
  }
}*/
/*
////////////////////////////////////////////////////////////////////////////////////
Images/gallery 
////////////////////////////////////////////////////////////////////////////////////
*/
.all-series h3{
  text-align: center;
}
.slideTitle{
	margin: 0 45px;
}
.hardySlider.slick-initialized.slick-slider {
    margin-bottom: 70px;
}
.image_container{
	display: block;
	position: relative;
	outline: none;
	text-align: center;
	padding: 5px;
  padding: 0px 20px;
}
.image_container img{
	display: block;
	margin: 0 auto;
}
a.image_link{
	outline: none;
}
.image_wrap{
	position: relative;
	/*margin: 0 auto;*/
	/*margin: 5px;*/
	display: inline-block;
	max-width: 100%;
}
.image_container .sold{
	position: absolute;
	right: 20px;
	/*bottom: -10px;*/
	display: block;
	width: 10px;
	height: 10px;
	background: rgb(158, 25, 25);
	border-radius: 10px;
	text-indent: -9999999px;
}
.imgTitle{
	font-size: 1.2rem;
	display: block;
}
.imgMaterial{
	display: block;
}

/*#arrows{
	position: relative;
	position: absolute;
    top: 24px;
    width: 100%;
}

.slick-prev, .slick-next{
	position: absolute;
	top: 0;
	height: 25px;
	width: 25px;

}
.slick-prev:hover, .slick-next:hover{
	background-color: transparent;
}*/
.sliderArrow{
    position: absolute;
    display: block;
    height: 45px;
    width: 45px;
    line-height: 0px;
    font-size: 40px;
    cursor: pointer;
    background: #444;
    background: transparent;
    color: white;
    color: #333;
    /*top: 100%;*/
    bottom:-40px;
    margin-top: -10px;
    padding: 0;
    border: none;
    outline: none;
    opacity: .8;
    transition: all .1s linear;
}
.sliderArrow i {
    /*text-shadow: 0 2px 0px rgba(154, 154, 154, 0.8);*/
}
#sliderRight{
	right: 0;
}
#sliderRight:hover, #sliderLeft:hover{
	opacity: 1;
	/*box-shadow: 0 0px 1px #4C4C4C;*/
}
#sliderRight:hover, .mfp-arrow-right:hover{
	transform: translateX(3px);
}
#sliderLeft:hover, .mfp-arrow-left:hover{
	transform: translateX(-3px);
}

.slick-dots{
	width: auto;
	left: 45px;
	right:45px;
	bottom: inherit;
}

.slick-prev{
	left: 20px;
}

.slick-next{
	right: 20px;
}

.slick-prev:before, .slick-next:before{
	color: #444;
	font-size: 25px;
}

.slick-dots{
	margin-left: 0;
}
.slick-dots li button:before{
	font-size: 12px;
}

/*overlay fixes*/
/*
img.mfp-img{
	width: auto !important;
	max-width: 100% !important;
}*/
.mfp-container .sliderArrow {
    bottom: inherit;
    top: 50%;
    opacity: 1;
    color: white;
    background: #656565;
    z-index: 2000;
}
img.mfp-img{
  max-width: 100% !important;
}
.mfp-bg{
  opacity: 1;
}
.mfp-bg-white .mfp-bg{
  background: #FFF;
}
.mfp-bg-white .mfp-image-holder button.mfp-close{
  color: #000;
}
.mfp-bg-white .mfp-title{
  color: #444;
}
.mfp-title{
  font-weight: bold;
  text-align: center;
  padding: 5px;
}

.serieDesc h2{
    color: #444;
    /*display: inline-block;*/
    text-align: center;
    /*padding: 10px;*/
    position: relative;
    width: auto;
    margin-top: 20px;
    margin-bottom: 0;
    /*padding-right: 20px;*/
}
/*.serieDesc h2:before {
    content: "";
    position: absolute;
    background: inherit;
    display: block;
    left: -9999%;
    width: 10000%;
    top: 0;
    bottom: 0;
}*/
.serieDesc {
  border: 5px solid #444;
}
.serieDesc .panel{
	white-space: pre-line;
	font-size: 18px;
	padding: 20px;
  padding: 1rem 0.6rem;
	position: relative;
}
/*.serieDesc .panel:before{
    content: "";
    position: absolute;
    background: inherit;
    right: -9999%;
    width: 10000%;
    top: 0;
    bottom: 0;
}*/
/*.serieDesc .panel,.serieDesc h2{
	border: 5px solid;
}
.serieDesc .panel{
	border-top: none;
}
.serieDesc h2{
	border-bottom: none;
}*/
/*.serieDesc h2:after{
	content: "";
	position: absolute;
	background: white;
	left:0;
	right:0;
	bottom:-10px;
	height: 10px;
	z-index: 100;
}*/
/*
////////////////////////////////////////////////////////////////////////////////////
Blog/nyheder
////////////////////////////////////////////////////////////////////////////////////
*/
.single-navigation{
  display: none;
}
article{
  border: 5px solid #444;
  padding: 1rem;
  margin-bottom: 2rem;
}
article header{
  text-align: center;
  margin-bottom: 2rem
}
article header a{
  color: #444;
}
article header .date {
  display: inline-block;
  background: rgb(76, 122, 150);
  color: white;
  padding: 3px 10px;
  border-radius: 30px;
}

/*
////////////////////////////////////////////////////////////////////////////////////
Kurser
////////////////////////////////////////////////////////////////////////////////////
*/
#bio_portrait{
  text-align: center;
}

/*
////////////////////////////////////////////////////////////////////////////////////
Kurser
////////////////////////////////////////////////////////////////////////////////////
*/
/*.kurser h2{
	background: #9A3333;
    color: white;
    display: inline-block;
    padding: 10px;
    position: relative;
    width: auto;
    margin-top: 20px;
    padding-right: 20px;
}
.kurser h2:before {
    content: "";
    position: absolute;
    background: #9A3333;
    display: block;
    left: -1000%;
    width: 1000%;
    top: 0;
    bottom: 0;
}*/
.kurser ul.priser{
	margin-left: 0;
}
.kurser ul.priser li {
    list-style-type: none;
    border-bottom: 1px dotted gray;
}
.kurser img{
	margin-bottom: 15px;
}


/*
////////////////////////////////////////////////////////////////////////////////////
Footer
////////////////////////////////////////////////////////////////////////////////////
*/
.fb_link{
	text-align: center;
	display: block;
  padding: 10px;
  margin-bottom: 50px;
}
#outer_footer{
  padding-top: 150px;
}
#footer span{
	display: inline-block;
}
#the_last_drop{
  background: #212121;
  background: #4A4A4A;
}
#the_very_bottom{
  background: #1B1B1B;
  background: rgba(27, 27, 27, 0.6);
  border-top: 10px solid #616161;
  color: #FFF;
  padding: 5px;
}
#the_very_bottom .columns{
  padding-top: 2rem;
}
#the_very_bottom a, #the_very_bottom a:visited{
  color: #FFF;
}
#the_very_bottom li{
  list-style-type: none;
}
#the_very_bottom ul{
  margin-left: 0;
}
.footer_left{
  text-align: left;
}
.footer_mid{
  text-align: center;
}
@media screen and (max-width: 39.9375em) {
  .footer_mid{
    margin: 1rem 0;
  }
}
.widget_recent_entries li{
  margin-bottom: 5px;
  font-size: 0;
}
.widget_recent_entries a{
  padding: 5px 5px 5px 10px;
  padding: 5px;
  background: rgba(0, 0, 0, 0.3);
  display: inline-block;
  font-size: 1rem;
}
.widget_recent_entries span.post-date {
    font-size: 1rem;
    padding: 5px 10px 5px 5px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
}
.footer_right{
  text-align: right;
}

.magic{
  transition: all 1s linear;
  display: inline-block;
  opacity: .3;
}
.magic:hover{
  animation: magic_pulse 2s ease-in-out infinite;
  transform: scale3d(2);
  opacity: 1;
}
@keyframes magic_pulse{
  0%{
    color: turquoise;
  }
  50%{
    color: magenta;
  }
  100%{
    color: turquoise;
  }
}
/*@media screen and (min-width: 440px) {
  #the_very_bottom span:not(:first-child):before{
    content: "• "
  }
}*/

/*
////////////////////////////////////////////////////////////////////////////////////
Foundation HAcks
////////////////////////////////////////////////////////////////////////////////////
*/
/*HAck for hight, hvis jeg flytter .inner-wrap og off-canvas ud af mit "main" content, så kan jeg måske få scrolling tilbage på iphone?!*/
.off-canvas-wrapper, .off-canvas-wrapper-inner {
    min-height: 100vh;
    -webkit-overflow-scrolling: touch;
}
.off-canvas-content{
	overflow-x: hidden;
	min-height: 100vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}
.outer_content{
  -webkit-box-flex: 1 0 auto;
  -webkit-flex: 1 0 auto;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto;
}

/*.off-canvas-wrap{  
	height: 100%;
	overflow-y: auto;
}