/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */


/* ==========================================================================
   RTE styles: opinionated defaults
   ========================================================================== */

span.white {
  color: #ffffff;
}

span.red {
  color: #cb333b;
}

span.blue {
  color: #86a2ed;
}

span.highlight {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,edf1fe+100&1+0,1+73,0.75+100 */
  background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(242,245,254,1) 73%, rgba(237,241,254,0.75) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(242,245,254,1) 73%,rgba(237,241,254,0.75) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(242,245,254,1) 73%,rgba(237,241,254,0.75) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#bfedf1fe',GradientType=0 ); /* IE6-9 */

  -webkit-box-shadow: 0px 5px 20px 0px rgba(37,77,144,0.1);
  -moz-box-shadow: 0px 5px 20px 0px rgba(37,77,144,0.1);
  box-shadow: 0px 5px 20px 0px rgba(37,77,144,0.1);

  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;

  padding: 14px 20px 20px;
  display: block;
}

a.mehr,
a.mehr:visited,
a.mehr:active,
a.mehr:focus,
a.mehr:hover {
  font-size: 14px;
  line-height: 1.4;
  text-transform: uppercase;
  color: #cb333b !important;
  min-width: 165px;
  padding: 10px 30px;
  background-color: #fff;
  display: inline-block;
  font-weight: 600;
  margin: 1em 0 1em;
  letter-spacing: 1px;
  text-align: center;
  border: 1px solid #d4d5da;

  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}

a.mehr.red,
a.mehr.red:visited,
a.mehr.red:active,
a.mehr.red:focus {
  color: #fff !important;
  background-color: #cb333b;
  border: 1px solid #cb333b;

  -webkit-box-shadow: 0px 5px 20px 0px rgba(89,19,78,0.5);
  -moz-box-shadow: 0px 5px 20px 0px rgba(89,19,78,0.5);
  box-shadow: 0px 5px 20px 0px rgba(89,19,78,0.5);
}

a.mehr.red:hover {
  -webkit-box-shadow: 0px 10px 20px 0px rgba(89,19,78,0.5);
  -moz-box-shadow: 0px 10px 20px 0px rgba(89,19,78,0.5);
  box-shadow: 0px 10px 20px 0px rgba(89,19,78,0.5);

  -ms-transform: translate(0, -5px); /* IE 9 */
  -webkit-transform: translate(0, -5px); /* Safari */
  transform: translate(0, -5px);
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

blockquote {
  font-size: 34px;
  line-height: 1.35em;
  font-weight: 300;
  position: relative;
  padding-right: 95px !important;;
  padding-left: 95px !important;;
  border-left-width: 0 !important;
}

blockquote:before,
blockquote:after {
  content: open-quote;
  position: absolute;
  z-index: 1;
  top: 0;
  color: #86a2ed;
  left: 0;
  font-size: 240px;
  line-height: 0.75em;
}

blockquote:after {
  content: close-quote;
  left: auto;
  right: 0;
}


@media (max-width: 991px) {
  blockquote {
    font-size: 23px;
    line-height: 1.35em;
    padding-right: 64px !important;;
    padding-left: 64px !important;;
  }

  blockquote:before,
  blockquote:after {
    font-size: 161px;
    line-height: 0.75em;
  }
}


@media (max-width:767px) {
  blockquote {
    font-size: 16px;
    line-height: 1.35em;
    padding-right: 43px !important;;
    padding-left: 43px !important;;
  }

  blockquote:before,
  blockquote:after {
    font-size: 108px;
    line-height: 0.75em;
  }
}


/* ==========================================================================
   VIDEO / VIMEO styles: opinionated defaults
   ========================================================================== */

a[href*="//vimeo.com/"],
a[href*="//vimeo.com/"]:visited,
a[href*="//vimeo.com/"]:active,
a[href*="//vimeo.com/"]:focus,
a[href*="//vimeo.com/"]:hover,
a[href*="//www.youtube.com/watch"],
a[href*="//www.youtube.com/watch"]:visited,
a[href*="//www.youtube.com/watch"]:active,
a[href*="//www.youtube.com/watch"]:focus,
a[href*="//www.youtube.com/watch"]:hover,
.playbutton > a,
.playbutton > a:visited,
.playbutton > a:active,
.playbutton > a:focus,
.playbutton > a:hover {
  position: relative;
  display: block;
  color: transparent !important;
  border: 5px solid #cb333b;
  background-color: #edf1fe;
  width: 165px;
  height: 165px;
  text-align: center;
  margin: 0 auto;

  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;

  -webkit-box-shadow: 0px 5px 20px 0px rgba(37,77,144,0.1);
  -moz-box-shadow: 0px 5px 20px 0px rgba(37,77,144,0.1);
  box-shadow: 0px 5px 20px 0px rgba(37,77,144,0.1);

  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

a[href*="//vimeo.com/"]:hover,
a[href*="//www.youtube.com/watch"]:hover,
.playbutton > a:hover {
  -webkit-box-shadow: 0px 10px 20px 0px rgba(37,77,144,0.2);
  -moz-box-shadow: 0px 10px 20px 0px rgba(37,77,144,0.2);
  box-shadow: 0px 10px 20px 0px rgba(37,77,144,0.2);

  -ms-transform: translate(0, -5px); /* IE 9 */
  -webkit-transform: translate(0, -5px); /* Safari */
  transform: translate(0, -5px);
}

a[href*="//vimeo.com/"]:after,
a[href*="//www.youtube.com/watch"]:after,
.playbutton > a:after {
  content: "";

  width: 0;
  height: 0;
  border-style: solid;
  border-width: 42px 0 42px 52px;
  border-color: transparent transparent transparent #cb333b;

  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -16px;
  margin-top: -42px;
}

@media (max-width:991px) {
  a[href*="//vimeo.com/"],
  a[href*="//vimeo.com/"]:visited,
  a[href*="//vimeo.com/"]:active,
  a[href*="//vimeo.com/"]:focus,
  a[href*="//vimeo.com/"]:hover,
  a[href*="//www.youtube.com/watch"],
  a[href*="//www.youtube.com/watch"]:visited,
  a[href*="//www.youtube.com/watch"]:active,
  a[href*="//www.youtube.com/watch"]:focus,
  a[href*="//www.youtube.com/watch"]:hover,
  .playbutton > a,
  .playbutton > a:visited,
  .playbutton > a:active,
  .playbutton > a:focus,
  .playbutton > a:hover {
    border: 3.5px solid #cb333b;
    width: 110px;
    height: 110px;
  }

  a[href*="//vimeo.com/"]:after,
  a[href*="//www.youtube.com/watch"]:after,
  .playbutton > a:after {
    border-width: 28px 0 28px 34px;
    margin-left: -11px;
    margin-top: -28px;
  }
}

@media (max-width:767px) {
  a[href*="//vimeo.com/"],
  a[href*="//vimeo.com/"]:visited,
  a[href*="//vimeo.com/"]:active,
  a[href*="//vimeo.com/"]:focus,
  a[href*="//vimeo.com/"]:hover,
  a[href*="//www.youtube.com/watch"],
  a[href*="//www.youtube.com/watch"]:visited,
  a[href*="//www.youtube.com/watch"]:active,
  a[href*="//www.youtube.com/watch"]:focus,
  a[href*="//www.youtube.com/watch"]:hover,
  .playbutton > a,
  .playbutton > a:visited,
  .playbutton > a:active,
  .playbutton > a:focus,
  .playbutton > a:hover {
    border: 2.5px solid #cb333b;
    width: 74px;
    height: 74px;
  }

  a[href*="//vimeo.com/"]:after,
  a[href*="//www.youtube.com/watch"]:after,
  .playbutton > a:after {
    border-width: 19px 0 19px 23px;
    margin-left: -7px;
    margin-top: -19px;
  }
}

/* ==========================================================================
   TYPO3 styles: opinionated defaults
   ========================================================================== */

.csc-header-alignment-center {
  text-align: center;
}

.csc-header-alignment-left {
  text-align: left;
}

.csc-header-alignment-right {
  text-align: right;
}

p.align-left {
  text-align: left;
}

p.align-center {
  text-align: center;
}

p.align-right {
  text-align: right;
}

p.align-justify {
  text-align: justify;
}

