
.fex-assessment {
  display: none;

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;

  font-family: Montserrat,sans-serif;

  background: #fff;
  border-top: 20px solid #4c87cd;

  overflow-y: scroll;
  overscroll-behavior: contain;
}
  body.admin-bar .fex-assessment { top: 32px; }

  .fex-assessment-inner {
    max-width: 1170px;
    margin: 0 auto;
  }


  .fex-assessment header {
    position: relative;
    margin: 60px 0 30px;
  }
    .fex-assessment header .close {
      cursor: pointer;
    }

    .fex-a-form-close {
      position: absolute;
      right: 10px;
      top: 10px;
      width: 30px;
      height: 30px;

      text-align: center;
      line-height: 30px;

      cursor: pointer;
    }

  .fex-assessment header .fex-a-tagline {
    margin-top: 1.5em;
    font-size: 1.4em;
    line-height: 1.25em;
  }
    .fex-a-logo img {
      display: block;
      min-width: 150px;
      max-width: 250px;
      width: 50%;
    }

  .fex-a-result-ctr,
  .fex-a-question-ctr {
    position: relative;
  }

  ul.fex-a-results,
  ul.fex-a-questions {
    margin: 0;
    padding: 0;
  }
    ul.fex-a-questions > br { display: none; }

    li.fex-a-question {
      display: none;
      min-height: 300px;

      font-size: 1.4em;
      line-height: 1.5em;

      padding: 60px 50px;
      background: #edeeef;
    }
    li.fex-a-result {
      display: none;
      padding-left: 0;

      font-size: 1.4em;
      line-height: 1.5em;
    }
      li.fex-a-result:before ,li.fex-a-question:before { display: none; }

      .fex-a-controls {
        position: absolute;
        bottom: 40px;
        right: 50px;
      }

      ul.fex-a-result-links > li.fex-a-result-link a {
        color: #fff;
        text-decoration: none;
        border-bottom: 0;
      }


      li.fex-a-result .fex-a-result-content-ctr {
        padding: 60px 50px 40px;
        margin-bottom: 20px;

        color: #fff;
        background: #D3450D;
      }
        li.fex-a-result .fex-a-result-content-ctr h3 {
          font-family: Georgia;
          font-weight: bold;
          font-size: 1.5rem;
        }
        li.fex-a-result .fex-a-result-content-ctr a {
          color: #fff;
        }
        .fex-a-result-content {
          width: 80%;
          float: left;
        }
        .fex-a-result-content-complete {
          position: absolute;
          right: 50px;

          width: 20%;

          text-align: center;
        }
          .fex-a-result a.fex-a-complete-alt:hover {
            color: #ccc;
            border-color: #ccc;
          }
          .fex-a-result a.fex-a-complete-alt {
            display: inline-block;
            margin-top: 12px;

            font-size: 18px;

            color: #fff;
            border-color: #fff;
          }

        li.fex-a-result .fex-a-result-content > p { color: #fff; }
        li.fex-a-result .fex-a-result-content > p:empty { display: none; }
        li.fex-a-result .fex-a-result-alternate > p:empty { display: none; }

        li.fex-a-result .fex-a-result-content li { color: #fff; }
        li.fex-a-result .fex-a-result-content li:before { color: #fff; }


      .fex-assessment-result-row {
        display: flex;
        gap: 2%;
      }
        .fex-assessment-result-row > p { display: none; }
        .fex-assessment-result-row > br { display: none; }
        .fex-assessment-result-row > div { flex-basis: 50%; }


      li.fex-a-result .fex-a-result-alternate h4,
      li.fex-a-result .fex-a-result-links-ctr h4 {
        font-family: 'Montserrat',sans-serif;
        font-weight: 500 !important;
        font-size: 1.2rem !important;
      }

      li.fex-a-result .fex-a-result-alternate {
        padding: 30px 25px 10px;

        color: #000;
        background: #D1D3D4;
        border: 6px solid #D1D3D4;
      }
        li.fex-a-result .fex-a-result-alternate > p {
          color: #000;
        }

        li.fex-a-result .fex-a-result-alternate-link {
          font-size: 16px;
          text-align: right;
        }
        li.fex-a-result > .fex-a-result-alternate a {
          cursor: pointer;
        }

        li.fex-a-result .fex-a-result-alternate .res-rel-title {
          margin-top: 0;
        }
          li.fex-a-result .fex-a-result-alternate .res-rel-title span {
            display: block;
            font-size: 1rem;
            line-height: 1.3rem;
          }

      li.fex-a-result .fex-a-result-links-ctr {
        padding: 30px 25px 10px;

        color: #fff;
        background: #527088;
      }
        ul.fex-a-result-links {
          margin: 2rem 0 0;
          padding: 0;

          list-style: none;
        }

          li.fex-a-result-link:before { display: none; }
          li.fex-a-result-link {
            display: inline-block;
            width: 32%;

            font-weight: 500;
            text-align: center;

            list-style: none;
            vertical-align: top;

            color: #fff;
          }

            .fex-a-result-link-icon {
              font-size: 34px;
              margin: 20px 0 10px;
            }

      .fex-a-controls > a {
        display: block;
        float: right;

        font-weight: 600;
        text-align: center;
        text-transform: uppercase;

        cursor: pointer;
      }

      .fex-assessment-open {
        display: inline-block;
        font-family: Montserrat, sans-serif;
      }

      .fex-assessment-open > a {
        display: block;

        font-weight: 600;
        text-align: center;
        text-transform: uppercase;

				color: #fff !important;

        cursor: pointer;
      }

        .fex-assessment-open > a .fas,
        .fex-a-controls > a .fas {
          display: block;
          margin-bottom: 5px;
        }

        .fex-a-controls a.fex-a-prev {
          width: 70px;
          height: 70px;
          padding-top: 13px;
          margin: 70px 10px 0 0;

          font-size: 10px;
          line-height: 1.25em;

          color: #D3450D;
          background: #fff;
          border-radius: 35px;
        }

        .fex-assessment-open,
        .fex-a-result-content-complete .fex-a-complete,
        .fex-a-controls a.fex-a-next,
        .fex-a-controls a.fex-a-last {
          width: 140px;
          height: 140px;
          padding-top: 35px;

          font-size: 16px;
          line-height: 1.25em;

          color: #fff;
          background: #D3450D;
          border-radius: 70px;

          transition: 0.25s all ease-in;

          overflow: hidden;
        }
          .fex-a-prev .fa-chevron-left:before,
          .fex-a-next .fa-chevron-right:before,
          .fex-a-complete .fa-chevron-right:before,
          .fex-assessment-open .fa-chevron-right:before {
            content: "";
            display: block;
            width: 25px;
            height: 12px;

            margin: 0 auto 10px;

            background: url(/wp-content/plugins/fex-assessment/assets/img/White-RightArrow.svg) center center no-repeat;
            background-size: contain;
          }
          .fex-a-prev .fa-chevron-left:before {
            width: 18px;
            height: 8px;
            background: url(/wp-content/plugins/fex-assessment/assets/img/Orange-LeftArrow.svg) center center no-repeat;
          }
          .fex-a-complete .fa-chevron-right:before {
            background: url(/wp-content/plugins/fex-assessment/assets/img/Black-RightArrow.svg) center center no-repeat;
          }
          .fex-a-result-content-complete .fex-a-complete {
            display: inline-block;

            padding-left: 20px;
            padding-right: 20px;

            text-align: center;
            text-transform: uppercase;

            color: #333 !important;
            background: #edeeef;

            cursor: pointer;
          }
            .fex-a-result-content-complete .fex-a-complete:hover, 
            .fex-a-result-content-complete .fex-a-complete:focus,
            .fex-a-result-content-complete .fex-a-complete:active, {
              background: #fff;
            }

        .fex-a-controls a.fex-a-next,
          .fex-a-controls a.fex-a-last {
            display: none;
          }

        .fex-a-next.disabled,
        .fex-a-last.disabled {
          opacity: 0.25;
        }

      div.fex-a-title {
        margin-bottom: 1em;
        font-weight: bold;
      }
        span.fex-a-title-question {
          display: inline-block;
          width: 25px;

          font-weight: normal;
          margin-right: 10px;
        }

      ul.fex-a-options {
        padding: 0;
        margin: 0 250px 0 35px;
      }
        ul.fex-a-options > br { display: none; }

        li.fex-a-option {
          padding-left: 0;
          margin-bottom: 0;

          font-size: 1em;
          line-height: 1.3em;

          cursor: pointer;
        }
        li.fex-a-option:before { display: none; }

        li.fex-a-option input[type="radio"],
        li.fex-a-option input[type="checkbox"] {
          display: inline-block;
          position: relative;
          top: -3px;
        }


  .fex-assessment footer {
    margin-right: 50px;

    text-align: right;
    text-transform: uppercase;
  }

    .fex-a-pagination {
      margin: 0;
      padding: 0;
    }
      .fex-a-pagination > li {
        display: inline-block;

        width: 12px;
        height: 12px;
        margin-left: 8px;
        padding: 0;

        background: #edeeef;
        border-radius: 6px;
      }
        .fex-a-pagination > li:before { display: none; }
        .fex-a-pagination > li.active {
          background: #D3450D;
        }



.fex-a-intro-ctr {
	background: #edeeef;
}
	.fex-a-intro-content {
		padding: 60px 0px 60px 50px;
		position: relative;
	}
		.fex-a-intro-bottom-image {
			position: absolute;
			right: 30px;

			width: 60%;
			margin-top: -2em;
		}

	.fex-a-intro-side {
		position: relative;
		padding: 60px 50px 60px 0;

		text-align: right;
	}
		.fex-a-intro-side-image {
			position: absolute;

			width: 200%;
			margin-top: 3em;
		}


.fex-a-form {
  display: none;

  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1000;

  width: 340px;
  margin-left: -170px;
  padding: 10px 40px 30px;

  text-align: center;

  background: #edeeef;
}
  .fex-a-form input { width: 100%; }
  .fex-a-form input[type="submit"] {
    padding: 10px 20px;

    font-size: 1em;
    font-family: Montserrat, sans-serif;
    text-transform: uppercase;
    font-weight: 500;

    color: #fff;
    background: #D3450D;
    border: 0;
  }

  .fex-a-form h3 { margin-top: 20px; }

  .fex-a-form .fex-a-form-fields > br { display: none; }
  .fex-a-form .fex-a-form-field { margin-bottom: 0.75em; }


  .fex-a-form .fex-a-form-response {
    display: none;
  }

#fex-a-underlay {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background: rgba(0,0,0,0.25);
}


@media (max-width:1024px) {
		.fex-a-intro-side-image { width: 110%; }
}
@media (max-width:599px) {
  body.admin-bar .fex-assessment { top: 0; }

	.fex-a-intro-content {
    padding: 40px 30px 0;
  }

	.fex-a-intro-side {
    padding: 0;
		text-align: center;
	}
		.fex-a-intro-bottom-image {
      display: none;
    }
		.fex-a-intro-side-image {
			position: static;

			width: 100%;
		}

  li.fex-a-question {
    font-size: 1.2em;
  }

  .fex-assessment header {
    margin: 30px 0;
    padding: 0 20px;
  }
  .fex-assessment header .fex-a-tagline {
    position: static;
    margin-top: 1em;

    text-align: left;
  }
    ul.fex-a-options {
      margin-left: 0;
      margin-right: 0;
    }

    .fex-a-controls {
      position: relative;
      right: 0;
      bottom: 0;

      margin-top: -2em;
      margin-bottom: 12px;
      padding-right: 30px;
      padding-bottom: 2em;

      background: #edeeef;
    }

  .fex-assessment footer {
    margin-right: 0;
    text-align: center;
  }

  .fex-a-result-content,
  .fex-a-result-content-complete {
    float: none;
    width: 100%;
  }
    .fex-a-result-content-complete { position: static; text-align: center; }

  li.fex-a-result {
    padding: 0 10px;
  }

  li.fex-a-result .fex-a-result-alternate,
  li.fex-a-result .fex-a-result-links-ctr {
    float: none;
    width: 100%;
    margin-bottom: 12px;
  }
    li.fex-a-result .fex-a-result-alternate { margin-right: 0; }
}

