:root{--color-primary:#69bd45;--color-secondary:#007ab8;--color-tertiary:#1ea4a9;--color-state:#4b7e2b;--color-state-hover:#3c6721;--color-state-focus:#3c6721;--color-state-active:#30541a;--color-state-highlight:#f6f9d7;--color-state-highlight-neutral:var(--color-neutral-3);--color-state-disabled:var(--color-neutral-5);--color-neutral-1:#fff;--color-neutral-2:#fafafa;--color-neutral-3:#f7f7f7;--color-neutral-4:#e6e4e4;--color-neutral-5:#c7c7c7;--color-neutral-6:#767676;--color-neutral-7:#262626;--color-background:var(--color-neutral-1);--color-border:var(--color-neutral-5);--color-text:var(--color-neutral-7);--color-text-disabled:var(--color-neutral-5);--color-text-hint:var(--color-neutral-6);--link-color:var(--color-state);--link-color-hover:var(--color-state-hover);--nav-bg-color:#fff;--nav-text-color:var(--color-text);--footer-bg-color:#fff;--footer-text-color:var(--color-text);--footer-text-color-hover:var(--footer-text-color);--btn-accent-color:var(--color-state);--btn-accent-color-active:var(--color-state-active);--btn-accent-color-focus:var(--color-state-focus);--btn-accent-color-disabled:var(--color-state-disabled);--btn-prim-accent-color:var(--color-state);--btn-prim-accent-color-active:var(--color-state-active);--btn-prim-accent-color-focus:var(--color-state-focus);--btn-prim-accent-color-disabled:var(--color-state-disabled)}:root{--nav-bg-color: #ffffff;--nav-text-color: #262626;--color-primary: #572381;--color-state: #572381;--color-text: #262626;--footer-bg-color: #ffffff;--footer-text-color: #262626;--color-state-hover: #4d1977;--color-state-focus: #4d1977;--color-state-active: #3c0866;--footer-text-color-hover: #1c1c1c;}
:root {
  --purple: #572381;
  --pink: #aa2583;
  --yellow: #bcb000;
  --green: #318d36;
  --grey: #575f65;
  --white: #ffffff;
}

/* Login page */

.totaraNav_prim .masthead_logo--header_img {
    height: 40px;
    width: auto;
}

.path-login #page {
    background-color: initial;
}

.loginbox .signupform input[type=submit] {
    margin-top: 0;
}

.loginbox .subcontent.potentialidps h6 {
    margin-top: 36px;
    font-size: 18px;
    font-weight: bold;
}

@media (min-width: 768px) {
  .loginbox.twocolumns .potentialidps {
    float: left !important;
    width: 100% !important;
  }
}

.loginbox .potentialidp {
  padding: 0 !important;
}


/* Footer */

#page-footer {
    min-height: 120px;
    background-color: #fff;
    background-image: url(//docs.learningnexus.co.uk/totara-files/cafcass/pix/footer.png?20230117);
    background-repeat: no-repeat;
    background-position: bottom right;
    padding: 0;
    border-top: none;
}

#page-footer .page-footer-poweredby {
    display: none;
}

/* Dashboards */
/* Cafcass homepage */

#ln-carousel-fallback {
  display: none;
}

@media (max-width: 760px) {
  #ln-carousel-fallback {
    display: block;
  }
  #ln-carousel {
    display: none;
  }
}

.carousel-control .fa-chevron-right,
.carousel-control .fa-chevron-left {
  top: 50%;
  position: absolute;
  z-index: 5;
  display: inline-block;
  font-size: 30px;
}

.carousel-control:not(:hover) {
  opacity: .5;
  transition: opacity .15s ease-in;
}

.carousel-control:hover {
  opacity: .7;
  transition: opacity .15s ease-in;
}

.carousel-caption {
  font-size: 3rem;
  position: absolute;
  display: block;
  margin: auto 0 auto 25%;
  top: 20%;
}

.cafcass-welcome {
  font-size: 2.5rem;
  text-align: center;
  margin-top: 2rem;
}

@media (max-width: 1350px) {
  .carousel-caption {
    font-size: 2rem;
  }
  .cafcass-welcome {
    font-size: 2rem;
  }
}

@media (max-width: 1130px) {
  .carousel-caption {
    font-size: 1.5rem;
  }
  .cafcass-welcome {
    font-size: 1.5rem;
  }
}

.carousel-caption a {
  color: var(--white);
  background-color: var(--purple); 
  padding: .75rem 1.5rem;
  border-radius: 10px;
  border: 5px solid var(--grey);
  text-decoration: none;
}

.carousel-caption a:hover {
  border: 5px solid var(--purple);
  background-color: var(--grey);
}

.lnbox-container::after {
  content: "";
  display: table;
  clear: both;
}

.lnbox {
    position: relative;
    width: 23.5%;
    padding-bottom: 17.4%;
    margin-right: 2%;
    background-size: 100% 100%;
    box-shadow: none;
    background-color: transparent;
    cursor: default;
    max-height: 150px;
    min-height: 120px !important;
    float: left;
}

.lnbox > div,
.lnbox:hover > div {
    font-size: 32px;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0,0,0,.4);
    font-weight: normal;
    line-height: 1.2;
    margin: 10%;
    text-align: center;
}

.lnbox .chooser {
    position: absolute;
    bottom: 3%;
    left: 1%;
    right: 1%;
}

.lnbox .chooser a {
    font-size: 28px;
    background-color: transparent;
    color: var(--white);
    padding: 8px 16px;
    border: 3px solid var(--white);
    text-decoration: none;
    border-radius: 10px;
}

.lnbox .chooser a:hover {
    background-color: var(--white);
}

.lnbox1,
.lnbox2,
.lnbox3,
.lnbox4 {
    border-top: none;
}

.lnbox1 {
    background-image: url(https://cafcass.learningnexus.co.uk/pluginfile.php/2/course/section/2/Box-1.svg);
}

.lnbox2 {
    background-image: url(https://cafcass.learningnexus.co.uk/pluginfile.php/2/course/section/2/Box-2.svg);
}

.lnbox3 {
    float: left;
    margin-right: 2%;
    background-image: url(https://cafcass.learningnexus.co.uk/pluginfile.php/2/course/section/2/Box-3.svg);
}

.lnbox4 {
    float: right;
    margin-right: 0;
    background-image: url(https://cafcass.learningnexus.co.uk/pluginfile.php/2/course/section/2/Box-4.svg);
}

.lnbox1 .chooser a:hover {
    color: var(--purple);
}

.lnbox2 .chooser a:hover {
    color: var(--pink);
}

.lnbox3 .chooser a:hover {
    color: var(--yellow);
}

.lnbox4 .chooser a:hover {
    color: var(--green);
}


@media (max-width:1600px) {
    .lnbox > div,
    .lnbox:hover > div, 
    .lnbox .chooser a  {
        font-size: 24px;
    }
}

@media (max-width: 1200px) {
    .lnbox > div,
    .lnbox:hover > div,
    .lnbox .chooser a  {
        font-size: 18px;
    }

    .lnbox .chooser a {
        border: 2px solid var(--white);
        border-radius: 5px;
    }

    .lnbox .chooser a:hover {
        border: 2px solid var(--white);
    }
}

@media (max-width: 769px) {
    .lnbox {
        width: 42%;
        height: 0;
        padding-bottom: 31.1%;
        clear: none;
        border-radius: 0;
        min-height: auto;
        line-height: inherit;
        color: inherit;
        margin-right: 4%;
        margin-left: 4%;
        margin-bottom: 0;
    }

    .lnbox1,
    .lnbox2 {
        margin-bottom: 4%;
    }

    .lnbox2,
    .lnbox4 {
        float: right;
    }
}

@media (max-width: 480px) {
    .lnbox {
        width: 48%;
        padding-bottom: 35.5%;
        margin-left: 0;
    }

    .lnbox2, .lnbox4 {
        margin-right: 0;
    }
}

@media (max-width: 400px) {
    .lnbox > div,
    .lnbox:hover > div,
    .lnbox .chooser a  {
        font-size: 16px;
}
