.article {
  margin-top: 10px;
}

.article .article-body {
  margin-top: 10px;
}

.article h1, .article h2, .article h3, .article h4, .article h5, .article h6 {
  text-align: center;
  color: #333;
}

.article h1 {
  font-size: 24px;
}

.article h2 {
  font-size: 22px;
}

.article h3 {
  font-size: 20px;
}

.article h4 {
  font-size: 18px;
}

.article h5 {
  font-size: 16px;
}

.article h6 {
  font-size: 14px;
}

.article p {
  text-align: justify;
  text-indent: 30px;
}

.article p .red {
  color: #BCB4FF;
  background-color: transparent;
}

.article p .dark {
  color: #000;
}

.article p img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  background-color: #FFF;
  border: solid 1px #CCC;
  max-height: 200px;
}

.article p img:hover {
  border-color: #999;
}

.article table {
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
}

.article table tr th {
  background-color: #DDD;
  padding: 10px 5px;
  border: solid 1px #999;
}

.article table tr td {
  padding: 10px 5px;
  border: solid 1px #999;
}

.article table tr:nth-child(even) td {
  background-color: #F3F3F3;
}

.article table tr:nth-child(odd) td {
  background-color: #FFF;
}

.greetings {
  position: relative;
  height: 80vh;
  width: 100%;
  margin: 0;
  background: url(/img/app/bg-greetings.jpg);
  background-position: center center;
  background-repeat: no-repeat no-repeat;
  background-size: cover;
  border-bottom: solid 2px #BCB4FF;
}

.greetings .greetings-wrap {
  width: 60%;
  height: 100%;
  margin-left: 40%;
  padding-left: 10%;
  padding-right: 20px;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
  background-color: rgba(188, 180, 255, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

.greetings .greetings-wrap .greetings-text {
  color: #000;
  text-shadow: #FFF 0 0 1px;
}

.greetings .greetings-wrap .greetings-text h1, .greetings .greetings-wrap .greetings-text h2, .greetings .greetings-wrap .greetings-text h3, .greetings .greetings-wrap .greetings-text ul, .greetings .greetings-wrap .greetings-text li {
  margin: 0;
}

.greetings .greetings-wrap .greetings-text h1 {
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 2.3em;
  text-align: center;
}

.greetings .greetings-wrap .greetings-text h2 {
  text-transform: uppercase;
  margin-bottom: 30px;
  font-size: 1.8em;
  text-align: center;
}

.greetings .greetings-wrap .greetings-text h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.actions {
  text-align: center;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.actions .action {
  text-align: center;
  position: relative;
  display: inline-block;
  width: 33.3%;
  height: 40vh;
  max-height: 350px;
  overflow: hidden;
  position: relative;
}

.actions .action:hover img {
  transform: scale(1.1);
}

.actions .action:hover a {
  background-color: rgba(188, 180, 255, 0.6);
}

.actions .action img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease-out;
}

.actions .action a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 10px;
  background-color: rgba(188, 180, 255, 0.1);
  color: #000;
  text-shadow: #FFF 0 0 1px;
  transition: all 0.2s ease-out;
  text-decoration: none;
}

.actions .action a:hover h1 {
  text-decoration: underline;
}

.actions .action a h1 {
  font-size: 1.6em;
  font-weight: bold;
}

.actions .action a p {
  font-size: 1.3em;
  text-decoration: none;
}

.d-block {
  padding-top: 10px;
  padding-bottom: 30px;
  border-bottom: solid 1px #969;
}

.d-block h1 {
  padding-bottom: 10px;
  text-align: center;
}

.d-block .d-block-description {
  font-size: 1.3em;
  margin-bottom: 20px;
}

.d-block .d-block-description p {
  text-align: justify;
  text-indent: 2em;
}

.d-block .d-block-description ul {
  margin: 20px 50px;
}

.d-block .d-block-elems {
  text-align: center;
}

.d-block .d-block-elems .d-block-elem {
  text-align: center;
  border: solid 1px #666;
  position: relative;
  display: inline-block;
  width: 32%;
  margin-left: 0.25%;
  margin-right: 0.25%;
  height: 30vh;
  max-height: 300px;
  overflow: hidden;
}

.d-block .d-block-elems .d-block-elem:hover a {
  background-color: rgba(170, 223, 143, 0.8);
}

.d-block .d-block-elems .d-block-elem:hover img {
  transform: scale(1.1);
}

.d-block .d-block-elems .d-block-elem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease-out;
}

.d-block .d-block-elems .d-block-elem a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFF;
  text-shadow: 0 0 5px #000;
  font-size: 1.4em;
  font-weight: bold;
  text-align: center;
  transition: all 0.2s ease-out;
  text-decoration: none;
  padding: 10px;
}

.d-block .links {
  margin-top: 20px;
}

.d-block .links a {
  font-size: 1.3em;
  font-weight: bold;
  padding: 10px;
  margin: 10px 5px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  width: 15vw;
  border: solid 2px #B9B0F9;
  transition: all 0.2s ease-out;
}

.d-block .links a:hover {
  box-shadow: 0 0 7px #BCB4FF;
}

.d-block .links a.main-link {
  color: #BCB4FF;
}

.d-block .links a.advanced-link {
  color: #FFF;
  background-color: #BCB4FF;
  text-shadow: 0 0 2px #BBF;
}

.d-block .benefits {
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.d-block .benefits .idb_elem {
  height: 120px;
}

.d-block .benefits .idb_elem h2 {
  font-size: 4em;
}

@media screen and (max-width: 1100px) {
  .greetings .greetings-wrap {
    width: 80%;
    margin-left: 20%;
  }
  .d-block .d-block-description {
    font-size: 1.2em;
  }
  .d-block .d-block-description ul {
    margin: 20px 30px;
  }
  .d-block .links a {
    width: 25vw;
  }
}

@media screen and (max-width: 800px) {
  .greetings .greetings-wrap {
    clip-path: none;
    width: 100%;
    margin: 0;
    text-align: center;
    padding: 20px 30px;
  }
  .greetings .greetings-wrap .greetings-text h1 {
    font-size: 2em;
  }
  .greetings .greetings-wrap .greetings-text h2 {
    font-size: 1.6em;
  }
  .greetings .greetings-wrap .greetings-text h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
  }
  .actions .action {
    height: 30vh;
  }
  .actions .action a h1 {
    font-size: 1.3em;
  }
  .actions .action a p {
    display: none;
  }
  .d-block .d-block-description {
    font-size: 1.2em;
  }
  .d-block .d-block-description ul {
    margin: 20px 10px;
  }
  .d-block .d-block-elems .d-block-elem {
    height: 20vh;
  }
  .d-block .d-block-elems .d-block-elem a {
    font-size: 1.1em;
  }
  .d-block .links a {
    width: 40vw;
    font-size: 1.2em;
  }
}

@media screen and (max-width: 500px) {
  .actions .action {
    display: block;
    width: 100%;
    height: 25vh;
  }
  .d-block .d-block-elems .d-block-elem {
    height: 15vh;
    display: block;
    width: 90%;
    margin: 3px auto;
  }
  .d-block .links a {
    width: 80vw;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .d-block .benefits .idb_elem {
    height: 130px;
  }
  .d-block .benefits .idb_elem h2 {
    font-size: 3.5em;
  }
  .d-block .benefits .idb_elem h4 {
    font-size: 1.2em;
  }
}

@media screen and (max-width: 340px) {
  .greetings .greetings-wrap .greetings-text h3 {
    font-size: 1.3em;
  }
}

@media screen and (max-height: 410px) {
  .greetings .greetings-wrap .greetings-text h2 {
    font-size: 1.5em;
  }
  .greetings .greetings-wrap .greetings-text h3 {
    font-size: 1em;
    margin-bottom: 8px;
  }
}
