
body {
 margin: 0;
font-family: Candara,Calibri,Segoe,Segoe UI,Optima,Arial,sans-serif; 

    
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff; }
.container-fluid{
     width: 100%;
    margin: auto;
}
.hidden{
    display:none;
}
.itemActive{
    color:#ccc ;
}
padding15{
    padding-left:22%;
       padding-right:20%;
}

    /* default styles here for older browsers. 
       I tend to go for a 600px - 960px width max but using percentages
    */

    @media only screen and (min-width: 500px) {
 .container{
    width: 100%;
}
     .padding15{
    padding-left:6%;
       padding-right:0%;
}   
    }
    @media only screen and (min-width: 1440px) {

     .padding15{
    padding-left:11%;
       padding-right:0%;
}   
    }
    @media only screen and (min-width: 1600px) {
 
     .padding15{
    padding-left:13%;
       padding-right:0%;
}   
    }
    @media only screen and (min-width: 1800px) {
  
     .padding15{
    padding-left:18%;
       padding-right:0%;
}  
    }
    @media only screen and (max-device-width: 480px) {
            .container{
    width: 100%;
}
     .padding15{
    padding-left:0%;
       padding-right:0%;
} 
    }
    @media only screen and (device-width: 768px) {
  
     .padding15{
    padding-left:0%;
       padding-right:0%;
} 
    }
    /* different techniques for iPad screening */
    @media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
       .container{
    width: 100%;
}
     .padding15{
    padding-left:0%;
       padding-right:0%;
} 
    }

    @media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
   .container{
    width: 100%;
}
     .padding15{
    padding-left:0%;
       padding-right:0%;
} 
    }


/*@media only screen and (min-width: 400px) {
.container{
    width: 100%;
}
     .padding15{
    padding-left:0%;
       padding-right:0%;
}  
}
@media only screen and (max-width: 600px) {
.container{
    width: 100%;
}
     .padding15{
    padding-left:6%;
       padding-right:0%;
}  
}
@media only screen and (max-width: 900px) {
.container{
    width: 100%;
}
     .padding15{
    padding-left:6%;
       padding-right:0%;
}  
}
@media only screen and (max-width: 1300px) {
.container{
    width: 100%;
}
     .padding15{
    padding-left:6%;
       padding-right:0%;
}   
}
@media only screen and (max-width: 1700px) {
.container{
    width: 100%;
}
     .padding15{
    padding-left:11%;
       padding-right:0%;
}   
}
@media only screen and (max-width: 1800px) {
.container{
    width: 100%;
}
     .padding15{
    padding-left:13%;
       padding-right:0%;
}   
}
*/

.navbar-brand{
    text-align: center;

}
.navbar-header {
    float: left;
    padding: 15px;
    text-align: center;
    width: 100%;
    position:  relative;
}
.navbar-brand {float:none;}
.black{
    color: #000;
}
.navbar-dark .navbar-brand:focus, .navbar-dark .navbar-brand:hover {
    color: #000;
}
.navbar-dark .navbar-brand {
    color: #000;
}
a:hover {
    color: #ccc;
    text-decoration: underline;
}
.grey{
    background: #ccc;
    min-height: 400px;
}
.margin-sides{
    margin-left:5%;
     margin-right:5%;
}
.margin-top{
    margin:5%;
}
.margintop{
    margin-top:5%;
}
.padding4{
    padding: 4%;
}

.borderblack{
     border:5px solid #000;
}


.bordersWhite{
    border:5px solid #fff;
}
.line{
 width: 100%;
    max-width: 2rem;
    height: 3px;
    margin: 2rem 0 2rem;
background-color: #ffffffb0 !important;
}


.card{
    margin:auto;
}
.card-body{
    background: #ccc;
}
.bgWhite{
   background-color: #ffffffb0 !important;
}
.colorBlue{
    color:#1517d2;
    font-size: 25px;
    font-weight: 600;
    border-bottom: 20px;
    padding-top: 2%;
}

.img-thumbnail {
    padding: .25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: .25rem;

    height: auto;
   
}
@media (max-width: 768px){
.img-thumbnail {

    min-width: 250px;
    min-height: 250px;
  
    height: auto;
    
}}
.btn-outline-dark {
    color: #343a40;
    background-color: transparent;
    background-image: none;
    border-color: #000;
    margin: 0.2%;
}
.btn-outline-dark:not(:disabled):not(.disabled).active, .btn-outline-dark:not(:disabled):not(.disabled):active, .show>.btn-outline-dark.dropdown-toggle {
    color: #fff;
    background-color: #343a40;
    border-color: #ffffff;
}
.carousel-inner{
    max-height: 800px;
}
.carousel-inner { 
     height: 100vh;
  
  }

  .carousel-item  { 
     height: 100%;
  }
.blue{
    color:#cc3c3c;
}
.imgforening {

     height: 100%;
     max-width: 100%;
    display: block;
    margin: auto;
    }
  .img1 {
     background-image: url('/bakgrunder/IMG_4435Test.jpg');
     height: 100%;
     width: 100%;
     background-repeat: no-repeat;
     background-attachment: scroll !important;
     background-size: cover !important;   
     background-position: center !important;
    }
.img2 {
     background-image: url('/bakgrunder/IMG_4071Test.jpg');
     height: 100%;
     width: 100%;
     background-repeat: no-repeat;
     background-attachment: scroll !important;
     background-size: cover !important;   
     background-position: center !important;
    }
.img3 {
     background-image: url('/bakgrunder/IMG_4075Test.jpg');
     height: 100%;
     width: 100%;
     background-repeat: no-repeat;
     background-attachment: scroll !important;
     background-size: cover !important;   
     background-position: center !important;
    }
.img4 {
     background-image: url('/bakgrunder/IMG_4187Test.jpg');
     height: 100%;
     width: 100%;
     background-repeat: no-repeat;
     background-attachment: scroll !important;
     background-size: cover !important;   
     background-position: center !important;
    }
.img5 {
     background-image: url('/bakgrunder/IMG_4436Test.jpg');
     height: 100%;
     width: 100%;
     background-repeat: no-repeat;
     background-attachment: scroll !important;
     background-size: cover !important;   
     background-position: center !important;
    }

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  content: "";
  background: no-repeat center center;
  background-size: 100% 100%;
    color:#000;
}
.navbar-toggler {
    padding: .25rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: #000;
    border: 1px solid transparent;
    border-radius: .25rem;
}
@media (min-width: 768px){
.col-md-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%; 
    max-width: 50%;
}
}

.person {
  width: 600px;
  padding: 70px 0 0 230px;
  min-height: 200px;
  margin: auto;
  position: relative;
}
.person-badge {
  width: 200px;
  height: 280px;
  border-radius: 0 0 100px 100px;
  overflow: hidden;
  transform: rotate(0deg); /* To force its own layer */
  position: absolute;
  top: 0;
  left: 0;
}
.person-badge:before,
.person-badge:after{
  content: "";
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  z-index:-1;
  width: 200px;
  height: 200px;
  background: #DDD;
  background: linear-gradient(to bottom, #EEE 0%,#CCC 100%);
  transition:500ms;
}
.person-badge:after {
  background: linear-gradient(to top, #F88 0%,#EEE 100%);
  opacity: 0;
}

.person-badge:hover:after {
  opacity: 1;
}

.person-badge img {
  width: 200px;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: 500ms;
}
.person-badge img.peculiar {
  opacity: 0;
  transform: translateY(80px)
}

.person-badge:hover img.normal {opacity: 0;transform: translateY(80px)}
.person-badge:hover img.peculiar {opacity: 1;transform: translateY(0)}

article, aside, figcaption, figure, footer, header, hgroup, main, nav {
    display: block;
    z-index: 2000;
    position: relative;
    width: 100%;
     
}
section.services header {
  margin-bottom: 60px;
}

section.services .item {
  padding: 40px;
  cursor: default;
  z-index: 1;
   
}

section.services .item::before {
  content: none;
  display: block;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(-39deg, #39B27B 0%, #118AB2 100%);
  z-index: 1;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 10px;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  opacity: 0;
}






section.services .icon {
  margin-bottom: 10px;
}

section.services .icon i {
  font-size: 3rem;
  color: #339f6e;
  display: inline-block;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

section.services h3 {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

section.services h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: #39B27B;
  margin: 10px auto;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

section.services h5 {
  font-weight: 400;
  font-size: 1rem;
  color: #555;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.h5 {
  font-size: 0.75rem;
}


.navbar {
    position: fixed;}







.team-member {
  margin: 15px 0;
  padding: 0;
}

.team-member figure {
  position: relative;
  overflow: hidden;
  padding: 0;
  margin: 0;
}
.team-member figure img {
    max-width: 100%;
   
    max-height: 335px;
}
@media (max-width: 768px){
.team-member figure img {
       min-width: 90%;
    min-height: 90%;

}
}




.team-member figcaption p {
  font-size: 16px;
}

.team-member figcaption ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.team-member figcaption ul {
  visibility: visible;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

.team-member figcaption ul li {
  display: inline-block;
  padding: 10px;
}

.team-member h4 {
  margin: 10px 0 0;
  padding: 0;
}

.team-member figcaption {
  padding: 50px;
  color: transparent;
  background-color: transparent;
  position: absolute;
  z-index: 996;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.team-member figure:hover figcaption {
  visibility: visible;
  color: #fff;
  background: rgba(230, 78, 62, 0.9);
  /* Primary color, can be changed via colors.css */
  
  height: 100%;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.team-member figure:hover figcaption ul li a:hover {
  color: rgba(49, 49, 49, .97);
}

.team-member figure img {
  -webkit-transform: scale(1) rotate(0) translateY(0);
  -moz-transform: scale(1) rotate(0) translateY(0);
  -o-transform: scale(1) rotate(0) translateY(0);
  -ms-transform: scale(1) rotate(0) translateY(0);
  transform: scale(1) rotate(0) translateY(0);
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.team-member figure:hover img {
  -webkit-transform: scale(1.1) rotate(1deg) translateY(12px);
  -moz-transform: scale(1.1) rotate(1deg) translateY(12px);
  -o-transform: scale(1.1) rotate(1deg) translateY(12px);
  -ms-transform: scale(1.1) rotate(1deg) translateY(12px);
  transform: scale(1.1) rotate(1deg) translateY(12px);
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
    padding: 2px;
}
.col-xs-6 {
    position: relative;
    width: 25%; 
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
.padding150{
    padding-top: 150px;
}

.left{
    float:left;
    word-wrap: break-word;
    background-color: #ccc;
}
/* Portfolio Section */
#portfolio {
	padding: 0 0 120px 0;
}
#portfolio .section-title {
	background: #444 url(../img/gallery-bg.jpg) center center no-repeat fixed;
	background-size: cover;
	margin-bottom: 50px;
}
#portfolio .section-title h2 {
	color: #fff;
}
.categories {
	padding-bottom: 30px;
	text-align: center;
}
ul.cat li {
	display: inline-block;
}
ol.type li {
	display: inline-block;
	margin: 0 10px;
	padding: 20px 0;
}
ol.type li a {
	color: #999;
	font-weight: 500;
	font-size: 14px;
	padding: 12px 24px;
	background: #eee;
	border: 0;
	border-radius: 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
ol.type li a.active {
	color: #fff;
	background-color: #8eb640;
}
ol.type li a:hover {
	color: #fff;
	background-color: #8eb640;
}
.isotope-item {
	z-index: 2
}
.isotope-hidden.isotope-item {
	z-index: 1
}
.isotope, .isotope .isotope-item {
	/* change duration value to whatever you like */
	-webkit-transition-duration: 0.8s;
	-moz-transition-duration: 0.8s;
	transition-duration: 0.8s;
}
.isotope-item {
	margin-right: -1px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.isotope {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition-property: height, width;
	-moz-transition-property: height, width;
	transition-property: height, width;
}
.isotope .isotope-item {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition-property: -webkit-transform, opacity;
	-moz-transition-property: -moz-transform, opacity;
	transition-property: transform, opacity;
}
.portfolio-item {
	margin: 15px 0;
}
.portfolio-item .hover-bg {
	overflow: hidden;
	position: relative;
}
.portfolio-item .hover-bg:before {
	display: block;
	content: '';
	position: absolute;
	top: 6px;
	right: 6px;
	bottom: 6px;
	left: 6px;
	border: 1px solid rgba(255, 255, 255, 0.6);
}
.hover-bg .hover-text {
	position: absolute;
	text-align: center;
	margin: 0 auto;
	color: #fff;
	background: rgba(0, 0, 0, 0.6);
	padding: 30% 0 0 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: all 0.5s;
}
.hover-bg .hover-text>h4 {
	opacity: 0;
	color: #fff;
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
	transition: all 0.3s;
	font-size: 17px;
	letter-spacing: 0.5px;
	font-weight: 500;
}
.hover-bg:hover .hover-text>h4 {
	opacity: 1;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateY(0);
	transform: translateY(0);
}
.hover-bg:hover .hover-text {
	opacity: 1;
}
.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: 0px;
    margin-left: 0px;
}
.rowimg {
       display: -ms-flexbox;

    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: 0px;
    margin-left: 0px;
  line-height: 0;
  display: block;
  -webkit-column-count: 2;
  -webkit-column-gap:   0px;
  -moz-column-count:    2;
  -moz-column-gap:      0px;
  column-count:         2;
  column-gap:           0px;  
}
@media (max-width: 1200px) {
    
   .rowimg {
       display: -ms-flexbox;

    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: 0px;
    margin-left: 0px;
  line-height: 0;
  display: block;
  -webkit-column-count: 1;
  -webkit-column-gap:   0px;
  -moz-column-count:    1;
  -moz-column-gap:      0px;
  column-count:         1;
  column-gap:           0px;  
} 
}
.embedded{
    width: 100% !important;
    height: 100vh !important;
 
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
 /*  max-width: 80%;
  max-height: 80%;*/
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}


.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 10.5rem !important;
  font-weight: bold;
  transition: 0.3s;
 z-index:10000;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
.kontaktsize{
      width:50%;
  }
/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
 
  
}
/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 1000px){

  .kontaktsize{
      width:100%;
  }
  
}
</style>