*{
  box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    /* background: url(../images/grid.png) repeat fixed; */
}


/* ------------------ FONTS ------------------ */

@font-face{
    font-family: MuseoSlab;
    src:url('../fonts/museo/Museo_Slab_500.otf') format('opentype');
}

@font-face{
    font-family: Helvetica;
}

body{
    font-family: 'Fira Sans', sans-serif; 
    
}

h1, h2, h3, h4, h5, h6{
font-family: 'Righteous', sans-serif!important;
}

.hero h2{
font-family: 'Fira sans', sans-serif!important;
}

p{
    font-size: 1.2em;
}

h2{
  font-size: 110px;
  color: #000!important;
  text-align: center;
}

h3{
  font-family: 'Fira Sans', sans-serif!important;
  font-weight: 300!important; 
  color: #000!important;
  text-align: center;
  padding-top: 0px!important;
  margin-top: 0px!important;
  margin-bottom: 40px!important;

}

h4{
  color: #D55C47!important;
  font-size: 36px!important;
}

h6{
  color: #D55C47!important;
  font-size:22px!important;
}

@media (max-width:475px) {
   h4{
    font-size: 28px!important;
  }
}

@media (max-width:400px) {
   h4{
    font-size: 18px!important;
  }
}

#om-mig p{
  color: #727272;
  font-size: 1em!important;
}

@media (max-width: 1200px) {
    #om-mig p{
      font-size: 0.95em!important;
    }
}

@media (max-width: 991px) {
    h2, .h2 {
     font-size: 36px!important;
    }
}

@media (max-width: 650px) {
    h2, .h2 {
     font-size: 24px!important;
    }
}

#kontakt h4{
  font-size: 22px!important;
}

#kontakt h5{
  margin-top: 5px!important;
  font-size: 20px!important;
  font-family: 'Fira sans', sans-serif!important;
}

.orange-text{
  color:#D55C47;
}

.slim-text{
  font-weight:100;
}

/* ------------------ GENERALT ------------------ */

.logo_menu{
  padding-right:15px;
}

.italic-grey{
  font-style: italic;
}


@media only screen and (min-width: 768px){
.italic-grey p{
  color:darkgrey;

}

}
.italic-grey p{
  color:darkgrey;

}


  

.padding0 {
    padding-left: 0px!important;
    padding-right: 0px!important;
}
.padding0top {
    padding-top:0px!important;
}

.padding25top {
  padding-top: 25px;
}

.padding30top {
  padding-top: 30px;
}

.padding40top {
  padding-top: 40px;
}

.padding50top{
  padding-top: 50px;
}

.padding60top{
  padding-top: 60px;
}

.padding70top{
  padding-top: 70px;
}

.padding75top{
  padding-top: 74px;
}

.padding80top{
  padding-top: 80px;
}

.padding100top{
  padding-top: 100px;
}

.padding50bot{
  padding-bottom:50px;
}
.padding30bot{
  padding-bottom:30px;
}

.margin50top{
 margin-top:50px;
}


    .streg {
        display: block;
        text-align: center;
        overflow: hidden;
        white-space: nowrap; 
    }

    .streg > span {
        position: relative;
        display: inline-block;
    }
  
    .streg > span:before,
    .streg > span:after {
        content: "";
        position: absolute;
        top: 55%;
        width: 9999px;
        height: 5px;
        background: black;
    }

    .streg > span:before {
        right: 100%;
        margin-right: 25px;
    }

    .streg > span:after {
        left: 100%;
        margin-left: 25px;
    }

@media (max-width: 650px) {
    .streg > span:before,
    .streg > span:after {

        height: 2px;

    }

}

@media (max-width: 400px) {
    .streg > span:before,
    .streg > span:after {
    display: none;
    }

}

/* ------------------ OM MIG ------------------ */

#tabs{
  padding-left: 10px;
}

.rasmus{
  max-height:340px;
  border:#D55C47 solid;
  margin:10px auto;
}

@media (max-width: 450px) {
    .rasmus{
      max-height:125px;
    }
}

.rasmus-text{
  font-weight:900;
  float: right;
      margin-top: 15px;
}


#om-mig{
  min-height: 500px; 
  height: auto;
}

#om-mig span{
  font-size: 18px;
  margin-bottom: 10px;
}

/* ------------------ PORTFOLIO ------------------ */

#portfolio{
  min-height: 500px;
  height: auto;
 
}

.showhide{
  width: 40%;
  margin:0 auto; 
  padding: 25px;
  text-align:center; 
  font-size:25px;
  cursor: pointer;
  background-color:#D55C47;
  color: #fff;
}

@media (max-width: 550px) {
    .showhide{
         width: 100%;
    }
}

.rotate{
  display: inline-block;
    -ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
    transform: rotate(90deg);
}

.blockContainer {
  display: inline-block;
}

.blockContainerSvend {
  display: inline-block;
  height:100vh;
  min-height:100vh;
}  

  .blockA {
    width: 48%;
      min-height:115px;
      float: left;
     
  }
  .blockB {
    width: 50%;
    min-height: 150px;
    padding-right: 50px;
    float: left;
      
  }
  .blockC {
    width: 50%;
    float: right;
      
    
  }

  .blockD {
    width: 50%;
    float: left;
    margin-top: 20px;

  }

   .blockE {
    width: 50%;
    min-height: 150px;
    padding-left: 50px;
    float: left;
      
  }

  .blockF {
    width: 50%;
    float: left;
    padding-left:50px;
    margin-top: 20px;
    }



@media only screen and (max-width:768px){
  
  .blockContainer {
      display: -webkit-box;
      display: -moz-box;
      display: box;
      
      -webkit-box-orient: vertical;
      -moz-box-orient: vertical;
      box-orient: vertical;
  }
  .blockA {

      -webkit-box-ordinal-group: 2;
      -moz-box-ordinal-group: 2;
      box-ordinal-group: 2;
      min-height: 150px;
      width: 100%;
      float: none;
     
  }
  .blockB, .blockE {

      -webkit-box-ordinal-group: 3;
      -moz-box-ordinal-group: 3;
      box-ordinal-group: 3;
      min-height: 150px;
      width: 100%;
      padding-right: 0px;
      padding-left: 0px;
      padding-top: 25px;
      float: none;
  }

  .blockC {
    float:none;
      -webkit-box-ordinal-group: 2;
      -moz-box-ordinal-group: 2;
      box-ordinal-group: 2;
      min-height: 150px;
      width: 100%; 
      float: none;  
  }

  .blockD, .blockF {
    -webkit-box-ordinal-group: 1;
      -moz-box-ordinal-group: 1;
      box-ordinal-group: 1;
      width: 100%;
      float: none;
      padding-left: 0px;
      margin-top: 0px;

  }
}



.portfolio-link {
    color: #D55C47;
    font-size: 26px!important;
}

.portfolio-link:visited,
.portfolio-link:focus,
.portfolio-link:hover,
.portfolio-link:active {
  text-decoration: underline;
}

.svendeprove-link {
  color:black; 
  text-align: center; 
}

.svendeprove-link a {
  color: black;
  font-size: 26px!important;
}

.svendeprove-link:visited,
.svendeprove-link:focus,
.svendeprove-link:hover,
.svendeprove-link:active {
  color: black;
  text-decoration: underline;
}


.nextSvend {
    text-align:center;
    display: inline-block;
    width: 100%;
    color: #D55C47;
}

.nextSvend p {
  margin-top: 50px;
  margin-bottom: -10px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 20px;
}
/*
@media (max-width: 650px) {
  .portfolio-link {
    font-size: 18px!important;
  }
}

*/

.download-link {
  color: #000;
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
}

.download-cv {
  color: #000;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
}

@media (max-width: 650px) {
  .download-link {
    font-size: 14px;
  }
}
.download-cv:visited,
.download-cv:focus,
.download-cv:hover,
.download-cv:active {
  color:#000;
  text-decoration: none;
}

.download-link:visited,
.download-link:focus,
.download-link:hover,
.download-link:active {
  color:#000;
  text-decoration: none;
}


/* ------------------ SKOLE PROJEKTER ------------------ */

#projekter{
  min-height: 500px;
  height: auto;
}

.skole-projekt{
    padding: 15px;
    height: auto;
    background-color: white;
    margin:0 0 30px;
}

.skole-projekt h4{
  padding-top: 20px;
  padding-bottom: 10px;
  text-align: center;
  text-transform: uppercase;
}

.skole-projekt h6{
  text-transform: uppercase;
  color: white!important;
  font-size: 1.8em!important;
}

.skole-header{
  font-size: 1.4em;
  text-align: center;
}

.download-beskrivelse{
  text-decoration: none;
  background-color: #D55C47;
  border:solid 1px #D55C47;

  padding-top:10px!important;
  padding-bottom:10px;
  padding-left:5px;
  padding-right:5px;
  width: 50%;
  margin: 25px auto 30px!important;
}
.download-beskrivelse a {
  text-decoration: none;
    color: white!important;
}

.download-beskrivelse:hover a {
  text-decoration: none;
    color: black!important;
}

.download-beskrivelse:hover{
  text-decoration: none;
  color: black!important;
  cursor: pointer;
  background-color: white!important;
  border:black solid 1px;

    -webkit-transition: .4s ease-in-out;
    -moz-transition: .4s ease-in-out;
    -ms-transition: .4s ease-in-out;
    -o-transition: .4s ease-in-out;
    transition: .4s ease-in-out;
}

.img{
  width: 100%;
  height: auto;
}

.img-2{
  width: 50%;
  height: auto;
}

.split-link-1{
    width: 50%;
    position: absolute;
    left: 0;
    height: 100%;
    z-index: 999;
}
.split-link-2{
    width: 50%;
    position: absolute;
    left: 50%;
    height: 100%;
    z-index: 999;
}

.float-left{
  float: left;
}

.skole-item{
  margin: 30px 0px;
  padding: 0px 30px!important;
}

.skole-img{
  opacity: 1;
     -webkit-transition: opacity .4s ease-in-out;
    -moz-transition: opacity .4s ease-in-out;
    -ms-transition: opacity .4s ease-in-out;
    -o-transition: opacity .4s ease-in-out;
    transition: opacity .4s ease-in-out;
}
.orange{
  background-color:#D55C47;
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;

     -webkit-transition: opacity .4s ease-in-out;
    -moz-transition: opacity .4s ease-in-out;
    -ms-transition: opacity .4s ease-in-out;
    -o-transition: opacity .4s ease-in-out;
    transition: opacity .4s ease-in-out;
}

.skole-tekst{
  position: relative;
}

.images-cont-half{
  position: relative;
  width: 50%;
  height: 100%;
}

.box{
  z-index: 10;
  padding: 20px 0px;
  display: block;
  position: absolute;
  top:41%;
  background-color: white;
  width: 100%;
  text-align: center;
     -webkit-transition: opacity .4s ease-in-out;
    -moz-transition: opacity .4s ease-in-out;
    -ms-transition: opacity .4s ease-in-out;
    -o-transition: opacity .4s ease-in-out;
    transition: opacity .4s ease-in-out;
}


.orange-2{
    background-color: rgba(213,92,71,0.75);
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;

     -webkit-transition: opacity .4s ease-in-out;
    -moz-transition: opacity .4s ease-in-out;
    -ms-transition: opacity .4s ease-in-out;
    -o-transition: opacity .4s ease-in-out;
    transition: opacity .4s ease-in-out;
}

.box-2{
  z-index: 10;
  padding: 20px 0px;
  display: block;
  position: absolute;
  top:30%;
  /* background-color: rgba(255,255,255,0.8); */
  background-color: none;
  width: 100%;
  text-align: center;
     -webkit-transition: opacity .4s ease-in-out;
    -moz-transition: opacity .4s ease-in-out;
    -ms-transition: opacity .4s ease-in-out;
    -o-transition: opacity .4s ease-in-out;
    transition: opacity .4s ease-in-out;
}

@media (max-width:1200px) {
  .box{
    top:37%;
  }
  .box-2{
    top:26%;
  }  
}

@media (max-width:992px) {
  .box {
    top:32%;
  }  
  .box-2{
    top:35%;
  }
}

@media (max-width:768px) {
  .box{
    top:42%;
  } 
  .box-2{
    top:32%;
  }
  
}

@media (max-width:650px) {
  .box{
    top:38%;
  }  
  .box-2{
    top:30%;
  }
}

@media (max-width:550px) {
  .box{
    top:36%;
  }  
  .box-2{
    top:28%;
  }
  .skole-tekst h6{
    font-size: 1.2em!important;
  }
}

@media (max-width:550px) {
  .box{
    top:34%;
  } 
  .box-2{
    top:28%;
  } 
}

@media (max-width:450px) {
  .box{
    top:32%;
  }  
  .box-2{
    top:22%;
  }
}

@media (max-width:400px) {
  .box{
    top:28%;
  } 
  .box-2{
    top:18%;
  } 
}

@media (max-width:380px) {
  .box{
    top:26%;
  } 
  .box-2{
    top:18%;
  } 
}

@media (max-width:360px) {
  .box{
    top:24%;
  } 
  .box-2{
    top:16%;
  } 
}

@media (max-width:340px) {
  .box{
    top:22%;
  }
  .box-2{
    top:10%;
  }   
}

@media (max-width:321px) {
  .box{
    top:19%;
  }  
}


  .skole-tekst:hover .box{
    opacity: 0;
  }

  .skole-tekst:hover .orange{
    opacity: 0;
  }

 .skole-tekst:hover .box-2{
    opacity: 0;
  }

  .skole-tekst:hover .orange-2{
    opacity: 0;
  }


/* ------------------ KONTAKT ------------------ */

#kontakt{
  min-height: 500px;
  height: auto;
}


@media (max-width: 992px) {
    .herning{
         width: 100%;
         margin-top: 10px;
    }
}

.kontakt-info{
  text-align: center;
  margin-top: 50px;
  z-index: 10;
}

@media (max-width: 992px) {
  .kontakt-info{
    margin-top: 0px;
  }
}

.kontakt-info a:link{
  color:#D55C47;
  text-decoration:none; 
}

.kontakt-info a:visited,
.kontakt-info a:hover,
.kontakt-info a:active {
  color:#000;
  text-decoration: none;
}

footer{
  min-height: 250px;
  background-color:black;
  z-index: 10; 
}

.facebook{
  margin: 50px auto 50px;
}

.instagram{
  margin: 50px auto 50px;
}

.linkedin{
  margin: 50px auto 50px; 
}

.mail{
  margin: 50px auto 50px;

}

.kontakt{
  margin: 0 auto;
  display: block;
  width: 150px;
  height: 150px; 
}

/* ------------------ Opgaver ------------------ */

.opgave{
  min-height: 500px; 
  height: auto;
}