h1 {
  display: inline-block;
  margin-left: 2.5em;
  vertical-align: middle;
  margin-top: .125em;
  text-align: center;
  width: 80%;
}

h3 {
  width: 10em;
  margin: 0;
  margin-bottom: 0.75em;
  margin-top: 0;
  padding-top: .25em;
  padding-bottom: .31255em;
  text-align: center;
  display: inline-block;
  color: white;
  font-weight: normal;
  opacity: .8;
  background-color: #323946;
}

.div {
  border: 1px solid black;
}

.ui-header {
  text-shadow: none !important;
  color: white !important;
  background-color: #323946 !important;
  border: none;
}

.ui-page {
  text-shadow: none !important;
  background-color: white;
  color: #2F4F4F !important;
}

.ui-icon-myimage:after {
  background: url(../images/icons/ic_format_align_justify_white_24dp.png) 50% 50% no-repeat;
  background-size: 38px 38px;
  background-color: transparent;
  border-radius: 0;
}

.inlineIcon {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  margin-right: 6px;
}

.page-cont {
  text-align: center;
  margin: auto;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

.sub-header {
  display: none;
}

.sub-header-tab {
  height: 5em;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: white;
  background-color: #FFFFFF !important;
  background: -webkit-radial-gradient(white, white, #EEEEEE); /* Safari 5.1 to 6.0 */
  background: -o-radial-gradient(white, white, #EEEEEE); /* For Opera 11.6 to 12.0 */
  background: -moz-radial-gradient(white, white, #EEEEEE); /* For Firefox 3.6 to 15 */
  background: radial-gradient(white, white, #EEEEEE); /* Standard syntax */
}

.sub-header-tab img {
  padding: 0;
  margin: 0;
  vertical-align: middle;
  text-align: left;
  height: 5em;
}

.sub-header-tab td {
  text-align: center;
}

.sub-header-logo {
  height: 100%;
  width: 15%;
  text-align: left;
  padding-left: 0em;
}

.sub-header-name {
  height: 100%;
  width: 65%;
  padding-left: .1em;
}

.sub-header-phone {
  height: 100%;
  width: 15%;
  text-align: right;
}

.sub-header-phone a {
  text-decoration: none;
  color: #2F4F4F
}
.sub-header-phone a:visited {
  color: black;
}
.sub-header-phone a:hover {
  color: black;
}

.sub-header-phone > a {
  float: right;
  padding: 0 20px 0 0;
}

.sub-header-afspraak {
  height: 100%;
  width: 0em;
  text-align: right;
  padding: 0em;
}

.menu-large {
  width: 100%;
  height: 2.25em;
  text-align: center;
  display: none;
  margin-top: -.375em;
  background-color: #323946;
}

.menu-item-large {
  height: 100%;
  width: 19.25%;
  max-width: 11.75em;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-block;
  border-left: 1px solid white;
}

.menu-item-large:hover {
}

.menu-item-large a {
  height: 1.75em;
  width: 100%;
  padding-top: .5em;
  cursor: pointer;
  text-decoration: none;
  font-style: italic;
  display: inline-block;
  cursor: pointer;
  vertical-align: middle;
  text-shadow: none;
  color: white;
}

.menu-item-large a:visited {
  color: white;
}
.menu-item-large a:hover {
  color: white;
  transform: scale(1.2);
}

.foto-omslag-cont {
  height: 11em;
  width: 100%;
  text-align: center;
  background: url(../images/loodgieter_installatie_badkamer_reparatie_dongen_1_small.jpg) no-repeat center center;
  margin: 0;
  margin-top: 0;
  background-color: white;
}

#overons-page .foto-omslag-cont {
  background: url(../images/loodgieter_installatie_badkamer_reparatie_dongen_3_small.jpg) no-repeat center top;
}
#diensten-page .foto-omslag-cont {
  background: url(../images/loodgieter_installatie_badkamer_reparatie_dongen_2_small.jpg) no-repeat center top;
}
#tarieven-page .foto-omslag-cont {
  background: url(../images/loodgieter_installatie_badkamer_reparatie_dongen_4_small.jpg) no-repeat center center;
}
#contact-page .foto-omslag-cont {
  background: url(../images/loodgieter_installatie_badkamer_reparatie_dongen_5_small.jpg) no-repeat center top;
}

.main-cont-back {
  background-color: #fbfbfb !important;
  padding-bottom: .3125em;
}
.main-cont {
  width: 100%;
  min-height: 22em;
  margin: auto;
  margin-bottom: 0;
  padding-bottom: 0;
  text-align: center;
  background-color: white;
}

.main-blok {
  display: inline-block;
  text-align: center;
  width: 100%;
  height: 100%;
  margin: 0em;
  margin-top: .5em;
  margin-bottom: -.25em;
  padding: 0em;
  padding-top: .5em;
  padding-bottom: 0em;
  font-size: small;
  text-shadow: none;
  background-color: white;
}
.main-cont-back a {
  text-decoration: none;
  color: #2F4F4F;
  font-weight: normal;
}
.main-cont-back a:visited {
  color: #2F4F4F
}
.main-cont-back a:hover {
  color: #2F4F4F
}

.main-blok-img {
  text-align: left;
  width: 8em !important;
  min-width: 7em !important;
  max-width: 25% !important;
  padding-left: .5em;
  margin-top: -.75em;
}

.main-blok-img div {
  background-image: url(../images/bol.svg);
  background-position: center center;
  background-repeat: no-repeat;
  height: 5.75em;
  width: 5.75em;
  display: inline-block;
  line-height: 5.875em;
  font-size: large;
  transform: scale(.7);
  text-align: center;
  margin-left: -.5em;
}

.main-blok-text {
  width: 73% !important;
  margin: 0;
  margin-top: 0;
  padding: .375em;
  padding-left: .75em;
  padding-bottom: .25em;
  text-align: left;
}

.subfooter {
  width: 100%;
  height: 15em;
  padding-top: 1em;
  padding-bottom: 0;
  margin: 0;
  background-color: #323946;
}

.subfooter-menu {
  width: 100% !important;
}
.subfooter-menu td {
  height: 3em;
  padding-left: .5em;
  text-align: center;
  vertical-align: middle;
  color: white;
  font-size: small;
}

.subfooter-menu a {
  padding-left: .5em;
  text-decoration: none;
  color: white;
  text-shadow: none !important;
  font-size: small;
  cursor: pointer;
  display:inline-block;
}
.subfooter-menu a:visited {
  color: white;
}
.subfooter-menu a:hover {
  color: white;
}

.subfooter-menu img {
  width: 48px;
  height: 48px;
  padding-left: 3em;
}

#page-menu {
  background-color: #323946 !important;
  text-shadow: none;
}

.side-menu td {
  height: 3em;
}

.side-menu a {
  text-decoration: none;
}

.side-menu a {
  text-decoration: none;
  color: white
}
.side-menu a:visited {
  color: white
}
.side-menu a:hover {
  color: #2F4F4F
}

.dienst-box {
  width: 96%;
  height: 8em !important;
  margin-left: 0em;
  margin-right: 0em;
  margin-top: 1em;
  display: inline-block;
  vertical-align: text-top;
  border-radius: .5em;
  text-align: center;
  font-size: 10pt;
  opacity: .9;
  background-color: #808080;
  color: white;
  cursor: pointer;
}

.dienst-box-show {
  width: 96%;
  height: 100% !important;
  margin-left: 0em;
  margin-right: 0em;
  margin-top: 1em;
  display: inline-block;
  vertical-align: text-top;
  border-radius: .5em;
  text-align: center;
  font-size: 10pt;
  opacity: .9;
  background-color: #808080;
  -webkit-transition-property: height;
  -webkit-transition-duration: 1s;
  -webkit-transition-delay: 0s;
  -webkit-transition-timing-function: ease-in;
  transition-property: height;
  transition-duration: 1s;
  transition-delay: 0s;
  transition-timing-function: ease-out;
}

.dienst-box-head {
  padding: .25em;
  padding-top: .5em;
  padding-bottom: .5em;
  margin-bottom: .5em;
  font-size: 14pt;
  background-color: #323946;
  cursor: pointer;
}

.dienst-box-text-1 {
  text-decoration: none;
  padding: .25em;
}
.dienst-box-text-2 {
  display: inline-block;
  text-decoration: none;
  display: none;
  padding: 1em;
  max-width: 600px;
}

.dienst-box-text-2-show {
  display: inline-block;
  -webkit-transition-property: height;
  -webkit-transition-duration: .7s;
  -webkit-transition-delay: 0s;
  -webkit-transition-timing-function: ease-in;
  transition-property: height;
  transition-duration: .7s;
  transition-delay: 0s;
  transition-timing-function: ease-out;
  -webkit-animation: scaleframes 1s;
  animation: scaleframes 1s;
}
@keyframes scaleframes {
0% {
transform: scale(.1);
}
100% {
transform: scale(1);
}
}
.dienst-box-close {
  font-size: small;
  padding: 1em;
}

.dienst-box-hide {
  display: inline-block !important;
}

/* 48em (768px) 2 cols */
@media (min-width: 32em) {
  .main-blok-text {
    width: 80% !important;
    padding-left: .75em;
  }
}

/* 48em (768px) 2 cols */
@media (min-width: 42em) {

  .foto-omslag-cont {
    background: url(../images/loodgieter_installatie_badkamer_reparatie_dongen_1.jpg) no-repeat center top;
    background-attachment: fixed;
    height: 18em;
    max-height: 20em;
    width: 100%;
    margin-top: 0em;
    opacity: .9;
  }

  .foto-omslag-back {
    background-color: #FFFFFF;
    background: -webkit-radial-gradient(#808080, white, #EEEEEE); /* Safari 5.1 to 6.0 */
    background: -o-radial-gradient(#808080, white, #EEEEEE); /* For Opera 11.6 to 12.0 */
    background: -moz-radial-gradient(#808080, white, #EEEEEE); /* For Firefox 3.6 to 15 */
    background: radial-gradient(#808080, white, #EEEEEE); /* Standard syntax */
    height: 18em;
    max-height: 20em;
    width: 100%;
    margin-top: 0em;
  }

  #overons-page .foto-omslag-cont {
    background: url(../images/loodgieter_installatie_badkamer_reparatie_dongen_3.jpg) no-repeat center top;
    background-attachment: fixed;
    opacity: 1
  }
  #diensten-page .foto-omslag-cont {
    background: url(../images/loodgieter_installatie_badkamer_reparatie_dongen_2.jpg) no-repeat center top;
    background-attachment: fixed;
    opacity: 1
  }
  #tarieven-page .foto-omslag-cont {
    background: url(../images/loodgieter_installatie_badkamer_reparatie_dongen_4.jpg) no-repeat center center;
  }
  #contact-page .foto-omslag-cont {
    background: url(../images/loodgieter_installatie_badkamer_reparatie_dongen_5.jpg) no-repeat center top;
    background-attachment: fixed;
  }
  .dienst-box {
    width: 20em;
    height: 10em !important;
    margin-left: .5em;
    margin-right: .5em;
  }

  .dienst-box-show {
    height: 85% !important;
    width: 97%;
  }

  .dienst-box-hide {
    display: none !important;
  }

  .main-blok-img {
    text-align: center;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding-left: 1em;
    margin-top: -.5em;
  }

  .main-blok-img div {
    background-image: url(../images/bol.svg);
    background-position: center center;
    background-repeat: no-repeat;
    height: 8.5em;
    width: 8.5em;
    display: inline-block;
    line-height: 8.5em;
    font-size: medium;
    transform: scale(1);
  }

  .main-blok-text {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin-top: 2em;
    height: 20em;
    padding: 1em;
    padding-top: 0em;
    text-align: center;
  }

  .main-blok {
    min-width: 24.125em;
    max-width: 24.125em;
    width: 20%;
    height: 100%;
    min-height: 32em;
    margin: .25em;
    margin-left: .375em;
    margin-top: .75em;
    vertical-align: text-top;
    background-color: #f9f9ff;
  }

  .subpage .main-blok {
    width: 99%;
    max-width: 74.25em;
    padding: 0;
  }

  .subpage .main-blok-text {
    width: 60% !important;
    min-width: 60% !important;
    max-width: 60% !important;
    height: 100% !important;
    margin-left: 20%;
  }

  #contact-page .main-blok {
    min-height: 10em;
    height: 32.5em !important;
  }

  #tarieven-page .main-blok {
    min-height: 10em;
    height: 30em !important;
  }

  .main-cont-back {
    background-color: #FFFFFF !important;
    background: -webkit-radial-gradient(#808080, white, #EEEEEE); /* Safari 5.1 to 6.0 */
    background: -o-radial-gradient(#808080, white, #EEEEEE); /* For Opera 11.6 to 12.0 */
    background: -moz-radial-gradient(#808080, white, #EEEEEE); /* For Firefox 3.6 to 15 */
    background: radial-gradient(#808080, white, #EEEEEE); /* Standard syntax */
    min-height: 30em;
    min-height: 31em;
  }
  .sub-header {
    padding-top: .25em;
    display: inline-block;
    width: 100%;
    height: 3.75em;
    transform: scale(.7);
    transform-origin: 0 0;
    width: 142.857143%;
    font-size: large;
  }

  .page-cont {
    margin-top: -2.6875em;
  }

  .jqm-header {
    display: none;
    visibility: hidden;
  }
  .menu-large {
    display: inline-block;
  }
  .main-cont {
    min-height: 24em;
    min-height: 31em;
    background-color: #FFFFFF !important;;
  }
}

/* 48em (768px) 2 cols */
@media (min-width: 52em) {
  .sub-header {
    height: 100%;
    width: 100%;
    font-size: medium;
    transform-origin: 0 0;
    transform: scale(1);
  }
}

