.speechBlock {
  width: calc(100% - 160px);
  position: relative;
  margin-top: 60px;
  }

.speechTriangle {
  border-width: 16px 0 16px 32px;
  border-color: transparent transparent transparent #cccccc;
  right: -32px;
  left: auto;
  top: 20%;
  }

.speechTriangle::before {
  border-width: 15px 0 15px 30px;
  border-color: transparent transparent transparent #FFFFFF;
  top: -15px;
  left: -32px;
  }

.typeProgramBlockWrap {
  display: block;
  float: left;
  padding: 0 12px;
  }

#typeProgramBlocks {
  margin: 0 -12px;
  }

#typeProgramBlocks .lBlocks {
  margin: 0 -28px;
  }

.typeProgramBlock {
  display: block;
  border-radius: 30px;
  padding: 60px 25px 80px 25px;
  text-align: center;
  width: 268px;
  height: 320px;
  text-decoration: none;
  line-height: 30px;
  background-color: #0BA6E3;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease-in-out;
  }

.typeProgramBlock:hover {
  background: #2944CC;
  }

.typeProgramBlock::after,
.typeProgramBlock::before {
  content: "";
  width: 325px;
  height: 325px;
  border-radius: 210px;
  background: white;
  opacity: 0.3;
  position: absolute;
  margin: 0 auto;
  left: -29px;
  }

.typeProgramBlock::after {
  top: -115px;
  }

.typeProgramBlock::before {
  bottom: -115px;
  }

.typeProgramBlock .btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 50;
  }

.typeProgramBlockWrap.lessonBlock {
  display: block;
  flex: none;
  width: 178px;
  height: 178px;
  padding: 14px;
  overflow: hidden;
  }

.lessonBlock .typeProgramBlock {
  height: 150px;
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  }

.lessonBlock .TPB_title {
  margin: 0;
  }

.lessonBlock .typeProgramBlock::after,
.lessonBlock .typeProgramBlock::before {
  width: 165px;
  height: 150px;
  border-radius: 50%;
  }

.lessonBlock .typeProgramBlock::after {
  top: -35%;
  left: -7px;
  }

.lessonBlock .typeProgramBlock::before {
  bottom: -35%;
  left: -7px;
  }

.closed .typeProgramBlock {
  background: #ccc;
  }

.open .typeProgramBlock {

  }

.lessonBlock.active .typeProgramBlock {
  background: #f4772b;
  }


.TPB_title {
  font-size: 21px;
  color: white;
  margin: 0 0 10px 0;
  }

.TPB_excerpt {
  color: white;
  }

.page_typeprogram .typeProgramBlockWrap {
  padding: 12px;
  position: relative;
  }


/** START GAMES **/
#lessonGamesWrap .speechBubble {
  position: absolute;
  top: -45px;
  color: #4A27CE;
  }

#lessonGamesWrap .speechBubble .speechBubbleAvatarWrap {
  background-image: url('/assets/img/purple_upsideDown.png');
  }

.game {
  background-color: #0BA6E3;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 35px;
  display: inline-block;
  color: #ffffff;
  font-size: 32px;
  padding: 30px;
  text-decoration: none;
  font-weight: 400;
  text-align: left;
  width: 100%;
  }

.topGame a, .game a {
  text-decoration: none;
  color: white;
  }

.game img {
  width: 100%;
  height: 141px;
  object-fit: cover;
  object-position: top;
  }

.game h3 {
  margin: 0;
  padding: 15px 0 0 0;
  line-height: 42px;
  font-size: 28px;
  width: 100%;
  height: 80px;
  overflow: hidden;
  word-break: break-all;
  }

.gameSpacer {
  padding: 50px;
  }

/** END GAMES **/