﻿div.kcph-block-labeledImage {
  margin-bottom:30px;
}
div.kcph-block-labeledImage div.bounds {
 position: absolute;
 top:0;
 bottom:0;
 left:15px;
 right:15px;
}
div.kcph-block-labeledImage div.image {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
div.kcph-block-labeledImage div.image img {
  width:100%;
  display: block;
  flex: 1;
}

div.kcph-block-labeledImage div.bounds > a {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}
div.kcph-block-labeledImage div.text-container {
 max-width:50%;
 position: absolute;
 top:auto;bottom:auto;left:auto;right:auto;
 /*background-color: white;*/
 max-height:100%;
 overflow:hidden;
 padding:20px;
 /*opacity: .9;
 transition: transform .2s;*/
}

div.kcph-block-labeledImage:hover div.text-container {
  /*transform: scale(1.08);*/
}

div.kcph-block-labeledImage div.text {
  /*text-align:left;*/
  text-align: center;
}

div.kcph-block-labeledImage .white { color: white; }
div.kcph-block-labeledImage .black { color: black; }

div.kcph-block-labeledImage h1 {
  /*font-family: 'Old Standard TT', serif;
  font-size: 24px;
  line-height:110%;*/
  margin: 0 auto;
  font-size: 36px;
  line-height:105%;
}
div.kcph-block-labeledImage h2.smallHeadline {
  /*font-size:11px;
  margin-bottom: 15px;
  color: #333;
  text-transform: uppercase;*/
  font-size: 14px;
  margin: 0 auto;
  text-transform: uppercase;
  margin-bottom: 30px;
}
div.kcph-block-labeledImage h1.mobile, div.kcph-block-labeledImage h2.mobile {
  display: none;
}

/*
div.kcph-block-labeledImage a.button {
  margin-top: 15px;
  padding:5px 15px 5px 15px;
  border: 1px solid #CCC;
  text-transform: uppercase;
  font-size: 10px;
  display: inline-block;
}
div.kcph-block-labeledImage a.button:hover {
  color:white;
  background-color: black;
}*/

div.kcph-block-labeledImage a.button {
    width: auto;
    margin-top: 30px;
    padding:15px 50px 15px 50px;
    border-style: solid;
    border-width: 1px;
    text-transform: uppercase;
    font-size: 12px;
    display: inline-block;
    z-index: 101;
    -webkit-transition: transform .2s ease-in-out;
    transition: transform .2s ease-in-out; 
}

div.kcph-block-labeledImage a.button.white { color: black; background-color: white; border-color: rgba(255, 255, 255, 0.5); }
div.kcph-block-labeledImage a.button.black { color: white; background-color: black; border-color: rgba(0, 0, 0, 0.5); }
div.kcph-block-labeledImage a.button:hover { -webkit-transform: scale(1.2); transform: scale(1.2);}





@media (max-width:329px) {
  /*Small Phone*/
  div.kcph-block-labeledImage {
    width: 100%;
    max-width: 100%;
  }
  div.kcph-block-labeledImage div.bounds {
   /*position: static;*/
  }
  div.kcph-block-labeledImage div.text-container {
   /* position: static;/*
  }
  div.kcph-block-labeledImage:hover div.text-container {
    transform: none;
  }
  div.kcph-block-labeledImage h1 {
    font-size: 18px;
  }
  div.kcph-block-labeledImage h2.smallHeadline {
    /*font-size:11px;*/
    font-size: 12px;
  }
  div.kcph-block-labeledImage div.image {
    height: auto !important;
    max-height: none !important;
  }
  div.kcph-block-labeledImage div.text-container {
    position:relative;
    width:100%;
    max-width:100% !important;
    box-sizing: border-box;
    border:0;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
  }
  div.kcph-block-labeledImage:hover div.text-container {
    transform: none;
  }
  div.kcph-block-labeledImage h1, div.kcph-block-labeledImage h2 { display: none; }
  div.kcph-block-labeledImage h1.mobile, div.kcph-block-labeledImage h2.mobile { display: block; }
}

@media (min-width:330px) and (max-width:599px) {
  /*Phone*/
  div.kcph-block-labeledImage {
    width: 100%;
    max-width: 100%;
  }
  div.kcph-block-labeledImage div.bounds {
   /*position: static;*/
  }
  div.kcph-block-labeledImage div.text-container {
    /*position: static;*/
  }
  div.kcph-block-labeledImage:hover div.text-container {
    transform: none;
  }
  div.kcph-block-labeledImage h1 {
    /*font-size: 18px;*/
    font-size: 26px;
  }
  div.kcph-block-labeledImage h2.smallHeadline {
    /*font-size:11px;*/
    font-size: 12px;
  }
  div.kcph-block-labeledImage div.image {
    height: auto !important;
    max-height: none !important;
  }
  div.kcph-block-labeledImage div.text-container {
    position:relative;
    width:100%;
    max-width:100% !important;
    box-sizing: border-box;
    border:0;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
  }
  div.kcph-block-labeledImage:hover div.text-container {
    transform: none;
  }
  div.kcph-block-labeledImage h1, div.kcph-block-labeledImage h2 { display: none; }
  div.kcph-block-labeledImage h1.mobile, div.kcph-block-labeledImage h2.mobile { display: block; }
}

@media (max-width:899px) and (orientation: landscape) {
  /*Phone landscape*/
  div.kcph-block-labeledImage {
    width: 100%;
    max-width: 100%;
  }
  div.kcph-block-labeledImage div.bounds {
   /*position: static;*/
  }
  div.kcph-block-labeledImage div.text-container {
    /*position: static;*/
  }
  div.kcph-block-labeledImage:hover div.text-container {
    transform: none;
  }
  div.kcph-block-labeledImage h1 {
    /*font-size: 18px;*/
    font-size: 26px;
  }
  div.kcph-block-labeledImage h2.smallHeadline {
    /*font-size:11px;*/
    font-size: 12px;
  }
  div.kcph-block-labeledImage div.image {
    height: auto !important;
    max-height: none !important;
  }
  div.kcph-block-labeledImage div.text-container {
    position:relative;
    width:100%;
    max-width:100% !important;
    box-sizing: border-box;
    border:0;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
  }
  div.kcph-block-labeledImage:hover div.text-container {
    transform: none;
  }
  div.kcph-block-labeledImage h1, div.kcph-block-labeledImage h2 { display: none; }
  div.kcph-block-labeledImage h1.mobile, div.kcph-block-labeledImage h2.mobile { display: block; }
}

@media (min-width:600px) and (max-width:899px) and (orientation: portrait) {
  /*Tablet Portrait*/
  div.kcph-block-labeledImage {
    width: 50%;
    max-width: 100%;
  }
  div.kcph-block-labeledImage div.image {
    height: auto !important;
    max-height: none !important;
  }
  div.kcph-block-labeledImage div.text-container {
    position:relative;
    width:100%;
    max-width:100% !important;
    box-sizing: border-box;
    border:0;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
  }
  div.kcph-block-labeledImage:hover div.text-container {
    transform: none;
  }
  div.kcph-block-labeledImage h1 {
    /*margin-bottom:0;*/
    font-size: 34px;
  }
  div.kcph-block-labeledImage h2.smallHeadline {
    /*font-size:11px;*/
    font-size: 13px;
  }
  div.kcph-block-labeledImage a.button {
    display:none;
  }
  div.kcph-block-labeledImage h1, div.kcph-block-labeledImage h2 { display: none; }
  div.kcph-block-labeledImage h1.mobile, div.kcph-block-labeledImage h2.mobile { display: block; }
}

@media (min-width:900px) and (max-width:1199px) and (orientation: landscape) {
  /*Tablet Landscape*/
  div.kcph-block-labeledImage:hover div.text-container {
    transform: none;
  }
   div.kcph-block-labeledImage h1 {
    /*font-size: 16px;*/
    font-size: 34px;
  }
  div.kcph-block-labeledImage h2.smallHeadline {
    /*font-size: 9px;*/
    font-size: 13px;
  }
  div.kcph-block-labeledImage h1, div.kcph-block-labeledImage h2 { display: none; }
  div.kcph-block-labeledImage h1.mobile, div.kcph-block-labeledImage h2.mobile { display: block; }
}

@media (min-width:800px) and (max-width:850px) and (orientation: portrait) {
  /*iPad Pro 10,5" Portrait*/
}

@media (min-width:1020px) and (max-width:1040px) and (orientation: portrait) {
  /*iPad Pro 12,9" Portrait*/
}