/**
 * #.# Common SCSS
 *
 * Can include things like variables and mixins
 * that are used across the project.
*/
.wp-block-cgb-block-image-block {
  position: relative;
  padding: 8em 0;
  text-align: center; }

.wp-block-cgb-block-image-block .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(150,0,0,.3);*/
  opacity: 0;
  -webkit-transition: opacity 0.5s ease;
  -o-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease; }

.wp-block-cgb-block-image-block:hover .overlay, .wp-block-cgb-block-image-block:focus .overlay {
  opacity: 0.7; }

.wp-block-cgb-block-image-block .title {
  position: relative;
  pointer-events: none;
  letter-spacing: 3px;
  font-weight: 700;
  font-size: 40px;
  text-transform: uppercase; }

.wp-block-cgb-block-image-block .sub-title {
  position: relative;
  pointer-events: none;
  letter-spacing: 3.5px;
  font-weight: 300;
  font-size: 20px;
  text-transform: uppercase;
  opacity: 0;
  -webkit-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  transition: all 0.5s linear;
  top: 50px; }

.wp-block-cgb-block-image-block:hover .sub-title {
  top: 0;
  opacity: 1; }
