@import url(https://fonts.googleapis.com/css?family=Josefin+Sans:300);
@import url(https://fonts.googleapis.com/css?family=Cabin);

*{
    margin: 0;
    padding: 0;
}

.hidden{
    visibility: hidden;
}

html{
    overflow-x: hidden;
    background: url('../img/backgroundpic3.jpg') no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#wrapper {
    margin-left: auto;
    margin-right: auto;
}

.kanjiTiT {
    position: absolute;
    color: rgba(51,51,51,1);
    z-index: 1;
    /*background-color:rgb(255,255,255);*/
    text-shadow: 1px 1px 1px rgba(245,245,245, 1);
    font-family: "Josefin Sans";
}

header {
    /*background-color: rgba(0,11,40,1);*/
    margin-top:200px;
}

.tit {
    position: relative;
    font-family: "Josefin Sans";
    color:rgb(255,255,255);
    z-index: 2;
}

.tith1 {
    font-size: 48px;
    text-shadow: 2px 2px 0 rgba(51,51,51,1);
}

.tith2 {
    font-size: 22px;
    margin-left: 5px;
    text-shadow: 2px 2px 0 rgba(51,51,51,1);
}

.kanji2 {
    margin-top: -35px;
    margin-left: 200px;
}

.kanji1 {
    margin-top: -55px;
    margin-left: 325px;
}

.tith1 span {
    white-space: nowrap;
}

#content {
    margin-top: 50px;
}

.notransition{
    -webkit-transition: none !important;
    transition: none !important;
}

.boxstyle {
    height: 150px;
    width: 80%;
    margin: 0 auto 0 auto;
    margin-top: 25px;
    border: solid 1px #000;
    box-shadow: 1px 1px 1px 1px rgba(0,11,40,1);
    -webkit-box-shadow: 1px 1px 1px 1px rgba(0,11,40,1);
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    transition: opacity 1s, margin-left 0.5s, margin-top 0.5s;
    -webkit-transition: opacity 1s, margin-left 0.5s, margin-top 0.5s;
}

.boxstyle2:hover p{
    margin-top:83% !important;
}

.boxstyle2.boxlongtext:hover p{
    margin-top:61% !important;
}

.boxstyle:hover p{
    background-color: rgba(51,51,51,1);
    transition: margin-top, 1s;
    -webkit-transition: margin-top, 1s;
    margin-top: 90%;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

/* inserted style for new menu structure 4/7 */

#box1:hover div div p{
    margin-top: 50%;
    background-color: rgba(51,51,51,0.7);    
}

#whatBoxWrapper{
    position: relative;
    z-index: 1;
}

#box11{
    display: none;
    opacity: 0;
    position: absolute;
    left: -18px;
    z-index: 1;
    background-image: url('../img/samurai.jpg');
    background-position: -22px 0px;
    background-size: 125%;
}

#box12{
    display: none;
    opacity: 0;
    position: absolute;
    left: 93px;
    background-image: url('../img/hvemervi.jpg');
    background-position: -10px 0px;
    background-size: 155%;
}

/* end of inserted style  4/7 */

.boxlongtext:hover p{
    background-color: rgba(51,51,51,1);
    transition: margin-top, 1s;
    -webkit-transition: margin-top, 1s;
    margin-top: 80%;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

.boxlonglongtext:hover p{
    background-color: rgba(51,51,51,1);
    transition: margin-top, 1s;
    -webkit-transition: margin-top, 1s;
    margin-top: 64%;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

.clickedBox p{
    background-color: rgba(51,51,51,1);
    transition: margin-top, 1s;
    -webkit-transition: margin-top, 1s;
    margin-top: 89%;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.boxstyle p{
    text-align: center;
    margin-top: 50%;
    background-color: rgba(51,51,51,0.7);
    color:rgb(255,255,255);
    font-size: 110%;
    font-family: "Cabin";
    transition: margin-top, 1s;
    -webkit-transition: margin-top, 1s;
    line-height: 1;
}

#box1{
    margin-top:0;
    background-image: url('../img/samurai.jpg');
    background-position: -25px 0px;
    background-size: 120%;
}

#box3{
    background-image: url('../img/priser2.jpg');
    background-position: 90% 0;
    background-size: 160%;
}

#box4{
    background-image: url('../img/kontakt2.jpg');
    background-position: 65% 10%;
    background-size: 130%;
}

#box5{
    background-image: url('../img/borneknap.jpg');
    background-position: center;
    background-size: 150%;
    display: none;
    opacity: 0;
}

#box6{
    background-image: url('../img/voksenknap2.jpg');
    background-position: center;
    background-size: 140%;
    display: none;
    opacity: 0;
}

#box7{
    background-image: url('../img/prisogtid.jpg');
    background-position: center;
    background-size: 100%;
    display: none;
    opacity: 0;
    margin-right: 0;
}

#box8 {
    display: none;
    opacity: 0;
    background-image: url('../img/dojo4.jpg');
    background-size: 180%;
}

#box9{
    background-image: url('../img/samurai.jpg');
    background-position: -25px 0px;
    background-size: 120%;
}

#box10 {
    display: none;
    opacity: 0;
    background-image: url('../img/priser2.jpg');
    background-size: 180%;
}

#headerLogo{
    height: 50px;
    width: 50px;
    position: absolute;
    top: 50px;
}

#headerLogo img{
    height: 100%;
    width: 100%;
}

#bgvid {
    height: 100%;
    width:100%;
}

.contentBox{
    background-color: rgba(255,255,255, 0.8);
    border: 1px solid #000;
    border-radius: 4px;
    box-shadow: 1px 1px 1px 1px rgba(0,11,40,1);
    -webkit-box-shadow: 1px 1px 1px 1px rgba(0,11,40,1);
    font-family: "Cabin";
    padding: 15px;
    margin: 25px 0 0 0;
    float: left;
    display: none;
    opacity: 0;
    transition: opacity, 1s;
    width: 70%;
}

#content{
    transition: max-height 0.5s;
    -webkit-transition: max-height 0.5s;
}

#boxwrapper {
    width: 100%;
    transition: max-height 0.5s;
    -webkit-transition: max-height 0.5s;
}

footer {
    height: 100px;
    width: 100px;
    position: relative;
    float: left;
}

#menu {
    min-height: 50px;
    width: 280px;
    left: -245px;
    margin: -40px 0 0 0;
    border: 1px solid #000;
    border-radius: 4px;
    box-shadow: 1px 1px 1px 1px rgba(0,11,40,1);
    -webkit-box-shadow: 1px 1px 1px 1px rgba(0,11,40,1);
    background-color: rgba(255,255,255, 0.8);
    position: fixed;
    transition: margin 0.5s, left 0.5s, top 0.5s;
    -webkit-transition: margin 0.5s, left 0.5s, top 0.5s;
    display: none;
}

#menu img {
    transform: rotate(270deg);
    transition: transform 0.5s;
    float: right;
    margin-top: 15px;
}

#menuarrow {
    height: 50px;
    width: 40px;
    float: right;
}

#menuarrow:hover, #h1span:hover{
    cursor: pointer;
}

#bpriser strong{
    white-space: nowrap;
}

table{
    border-spacing: 8px 0;
}

table td{
    border-bottom: 1px solid #ddd;
}

table tr:last-child td{
    border-bottom: none;
}

table tr:hover{
    background-color: #f5f5f5;
}

#location iframe {
    overflow: hidden;
    border: none;
    width: 100%;
    height: 100%;
}

#location img {
    width: 100%;
}

.locimg {
    width: 31%;
    float:left;
    margin: 0 15px 0 0;
}

#location div:last-child{
    margin-right: 0;
}

#konmail {
    display: inline;
}

#konp1 {
    display: inline;
}

#fbdiv{
    width: 15%;
    float: left;
}

#fbdiv h3:hover, #fbdiv img:hover, #fbdiv p:hover{
    cursor: pointer;
}

#fbdiv img, #fbdiv h3{
    display: inline;
}

#fbdiv img{
    width: 100%;
}

#fbdiv img:first-child{
    width: auto;
}

#fbp1time, #fbp2time {
    color: blue;
    font-size: small;
}

#fbp1msg, #fbp2msg{
    font-size: small;
    margin-bottom: 4px;
}

#fbp1story, #fbp2story {
    font-style: italic;
    margin-top: 4px;
    font-size: smaller;
}

#fbh{
    white-space: nowrap;
}

#locp1 {
    display: inline;
}

#spanadd {
    display: inline;
}

#ba, #bafull, #formalitetLink{
    color: blue;
}

#ba:hover, #bafull:hover, #formalitetLink{
    cursor: pointer;
}

#factlist, #formalitetlist {
    margin-top: 15px;
    margin-bottom: 15px;
    list-style-type: decimal;
    list-style-position: inside;
    font-weight: bold;
}

#factlist li, #formalitetlist li{
    margin-top: 10px;
}

#factlist li p, #formalitetlist li p{
    font-weight: normal;
    display: inline;
}

.formSub{
    font-weight: bold;
}

.instBox img{
    width: 100%;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.instBox{
/*    height: 242px;*/
    width: 30%;
    margin: 0px 0px 0px 0px;
    margin-left: calc((10% - 6px) / 2);
    margin-top: 25px;
    border: solid 1px #000;
/*    box-shadow: 1px 1px 1px 1px rgba(0,11,40,1);*/
/*    -webkit-box-shadow: 1px 1px 1px 1px rgba(0,11,40,1);*/
    border-radius: 4px;
    background-color: rgba(0,0,0,0);
/*    cursor: pointer;*/
    transition: opacity 1s, margin-left 0.5s, margin-top 0.5s;
    -webkit-transition: opacity 1s, margin-left 0.5s, margin-top 0.5s;
    float:left;
/*    max-height: 260px;*/
    overflow: hidden;
}

/*  Slideshow style  */

#slide img{
    transition-property: margin-left;
    transition-duration: 2.5s;
    float: left;
    height: 100%;
    position: relative;
}

#slide{
    position: relative;
}

#slideWrapper{
    overflow: hidden;
    height: 20%;
    border: solid 1px #000;
    border-radius: 4px;
    margin-bottom: 25px;
    margin-top: 20px;
}

#buttons{
    position: absolute;
    margin-top: -30px;
    max-height: 42px;
}

#buttons li{
    float:left;
    list-style-type: circle;
    font-size: 250%;
    list-style-position: inside;
    width: 20px;
    max-height: 42px;
}

#buttons li p{
    visibility: hidden;
    max-height: 42px;
}

.lichosen{
    list-style-type: disc !important;
}

/*  Slideshow style end  */

.preload{
    display: none;
}

#contif{
    margin-top:20px;
    margin-bottom: 20px;
}

.hidden-total {
    display: none;
}

input{
	width: 100%;
	padding: 10px;
	margin-bottom: 20px;
}

input[type="checkbox"] {
  margin-bottom: 0;
}

.checkbox-container {
  margin-bottom: 20px;
}

.checkbox {
    justify-self: left;
    width: 15px;
    height: 15px;
}

.form-container {
  margin-top: 50px;
  width: 100%;
  border-top: 1px solid #000;
  padding-top: 30px;
}

.form-container div {
  width: 100%;
}

.form-container .bday-container {
  display: flex;
  flex-wrap: wrap;
}

.form-container h3 {
  margin-top: 20px;
  margin-bottom: 20px;
}

.form-container h4 {
  margin-bottom: 5px;
}

.form-container form {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
}

#submit, #submit-voksen{
	border: 1px solid #000;
	background-color: #ffffffcc;
	color: #000;
	width: 200px;
	margin-top: 10px;
	border-radius: 5px;
}
#submit:hover, #submit-voksen:hover {
  background-color: #ffffff;
  cursor: pointer;
}

.form-conditions {
  font-size: 12px;
  margin-bottom: 20px;
}

.form-conditions ul {
  list-style-position: inside;
}

.form-conditions ul li {
  margin-bottom: 5px;
}