/**
 * #.# Common SCSS
 *
 * Can include things like variables and mixins
 * that are used across the project.
*/
/**
 * #.# Styles
 *
 * CSS for both Frontend+Backend.
 */
.wp-block-cgb-block-mcd-modal {
  width: 100%; }
  .wp-block-cgb-block-mcd-modal .mcd-modal-button {
    display: block;
    cursor: pointer;
    background-color: transparent;
    border: none;
    margin: auto;
    color: #2477ab;
    margin-top: 30px;
    font-family: Meta Web Normal, Arial, sans-serif;
    text-decoration: underline;
    font-size: 19px;
    line-height: 1.57894737;
    letter-spacing: -0.46px; }
    .wp-block-cgb-block-mcd-modal .mcd-modal-button:hover {
      color: #1b5a81;
      text-decoration: none; }
  .wp-block-cgb-block-mcd-modal .mcd-modal-hidden {
    display: none; }

.mcd-modal-title {
  font-size: 22px;
  margin-bottom: 15px; }

.mcd-modal-content {
  padding: 0; }

dialog {
  display: block;
  border: 0; }

/* removes scroll when modal is opened */
.no-scroll {
  overflow: hidden; }

/* overlay covers everything */
.mcd-modal-overlay,
.mcd-animated-modal-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: #fff;
  opacity: 0.8;
  z-index: 666;
  cursor: pointer; }

.mcd-modal-overlay[data-background-click="disabled"],
.mcd-animated-modal-overlay[data-background-click="disabled"] {
  cursor: auto; }

@-webkit-keyframes fadewhite {
  0% {
    opacity: 0; }
  100% {
    opacity: 0.8; } }

@keyframes fadewhite {
  0% {
    opacity: 0; }
  100% {
    opacity: 0.8; } }

/* modal */
.mcd-modal,
.mcd-animated-modal {
  position: fixed;
  left: 15%;
  top: 5%;
  bottom: 5%;
  width: 70%;
  max-height: 98vh;
  background: #fff;
  z-index: 667;
  padding: 2em;
  right: auto;
  overflow: auto;
  border: 1px solid rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  background-clip: padding-box; }

.mcd-modal-close,
.mcd-animated-modal-close {
  float: right;
  background: #ff6000;
  border-radius: 4px;
  color: #fff;
  border: 0;
  font-size: 16px;
  padding: 0.35em 0.5em;
  color: #fff;
  cursor: pointer; }

.mcd-modal-close:focus,
.mcd-modal-close:hover,
.mcd-modal-close:active {
  outline: 1px dotted #fff; }

.mcd-modal-close:hover,
.mcd-modal-close:active {
  background: #4d287f; }

@-webkit-keyframes apparition {
  0% {
    opacity: 0;
    max-height: 0;
    width: 0;
    left: 50%; }
  100% {
    opacity: 1;
    max-height: 100%;
    width: 70%;
    left: 15%; } }

@keyframes apparition {
  0% {
    opacity: 0;
    max-height: 0;
    width: 0;
    left: 50%; }
  100% {
    opacity: 1;
    max-height: 100%;
    width: 70%;
    left: 15%; } }

/* it can be easily adapted in media-queries for tablets/mobile */
/* for this example: tablets */
@media (max-width: 55.625em) {
  .mcd-modal,
  .mcd-animated-modal {
    left: 5%;
    top: 5%;
    bottom: 5%;
    height: 90%;
    width: 90%; } }

/* for this example: mobile */
@media (max-width: 44.375em) {
  .mcd-modal,
  .mcd-animated-modal {
    left: 1%;
    top: 1%;
    bottom: 1%;
    width: 98%;
    height: 98%; } }

.invisible {
  display: none; }
