@charset 'UTF-8';

@font-face {
    font-family: 'OpenDyslexic';
    src:url('/fonts/OpenDyslexic.ttf.woff') format('woff'),
        url('/fonts/OpenDyslexic.ttf.svg#OpenDyslexic') format('svg'),
        url('/fonts/OpenDyslexic.ttf.eot'),
        url('/fonts/OpenDyslexic.ttf.eot?#iefix') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
}

html,
body {
    height: auto;
    min-height: 100%;
    width: 100%;
    min-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: #fff;
    color: #222222;
    font-family: 'Source Sans Pro', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: #05274e;
    font-family: Georgia, serif;
}

h1 {
    font-size: 1.5em;
    margin-bottom: 1em;
    font-weight: 400;
}
h2 {
    font-size: 1.1875em;
    margin-bottom: 0.25em;
    font-weight: 400;
}
h3 {
    font-size: 1.125em;
    margin-bottom: 0.125em;
    font-weight: 400;
    color: #002f66;
}
h4 {
    font-size: 1.0625em;
    margin-bottom: 0.125em;
    font-weight: 700;
}
h5 {
    font-size: 1em;
    font-weight: 700;
}
h6 {
    font-size: 1em;
    font-weight: 700;
}

@media print, screen and (min-width: 40em) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.75em;
    }
    h3 {
        font-size: 1.5em;
    }
    h4 {
        font-size: 1.25em;
    }
    h5 {
        font-size: 1.125em;
    }
    h6 {
        font-size: 1.125em;
    }
}


.heading-article {
    margin-top: -0.75rem;
    margin-bottom: 1rem;
    padding: 0;
    font-size: 1em;
    font-weight: bold;
}

header {
    background-color: #002f66;
    margin: 0;
    padding: 0;
    color: #fff;
    font-size: 1em;
    position: relative;
    padding-top: 1rem;
}

/* Small only */
@media screen and (max-width: 39.9375em) {
    header {
        padding-top: 0.5rem;
    }
}

#header {
    position: relative;
    width: 100%;
    max-width: 100%;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: none;
    z-index: 12;
}

#header .amagdic-menu-icon {
    margin: 0;
    padding: 0;
}
#header .amagdic-menu-icon a {
    color: #fff;
    font-size: 1.25em;
    font-weight: 400 !important;
    padding: 0 0.25em;
    margin: 0 0.25em;
}
#header .amagdic-menu-icon a:hover {
    color: #009ae1 !important;
    background: transparent !important;
}


#header .menu a {
    color: #fff;
    display: block;
    font-weight: normal;
    text-transform: uppercase;
}
#header .menu a:hover span {
    color: #fff;
}
#header .menu a:active {
    color: #fff;
}

#header .top-bar,
#header .menu {
    background-color: #002f66;
    color: #ffffff;
    border: 0;
}

#header .top-bar,
#header .header-info {
    margin-top: 0rem;
    margin-left: 0;
    margin-bottom: 0;
}

/* Large and up */
@media screen and (min-width: 64em) {
    #header.header-shadow .top-bar,
    #header.header-shadow .header-info {
        margin-top: 0rem;
        margin-left: 6rem;
        margin-bottom: 0;
    }
}

/* Small only */
@media screen and (max-width: 39.9375em) {
    #header .top-bar,
    #header .header-info {
        margin-top: 0rem;
        margin-left: 0;
    }
    #header .amagdic-menu-icon {
        margin-bottom: 0rem;
    }
}
/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    #header .top-bar,
    #header .header-info {
        margin-top: 0;
        margin-left: 0;
    }
    #header .amagdic-menu-icon {
        margin-bottom: 0rem;
    }
}
.accordion-menu,
#header .menu .menu {
    background-color: #333333;
    color: #fff;
    border: 0;
    box-shadow: none !important;
    font-weight: 400;
}
#header .menu .menu {
    width: 20rem;
}
#header .menu li:hover:not(.amagdic-menu-icon) {
    background-color: #009ae1;
    color: #fff;
    border: 0;
}
.accordion-menu li:hover,
#header .menu .menu li:hover {
    /*background-color: #009ae1;*/
    color: #fff;
    border: 0;
}
.accordion-menu a,
#header .menu .menu a {
    border-top: 0;
    font-weight: 400;
    font-size: 0.875em;
    display: block;
    color: #fff;
}
.accordion-menu a:hover span,
#header .menu .menu a:hover span {
    border-top: 0;
    color: #fff;
}
.accordion-menu a:active,
#header .menu .menu a:active {
    border-top: 0;
}

aside .drilldown .is-drilldown-submenu {
    background-color: #002f66;
}

aside .drilldown .js-drilldown-back>a::before{border-color:transparent #fff transparent transparent;}

.amagdic-submenu .is-dropdown-submenu {
    background-color: #333333;
    color: #ffffff;
    border: 0;
    box-shadow: none !important;
    font-weight: 400;
    width: 30rem;
    max-width: 90vw;
}

.amagdic-submenu .is-dropdown-submenu li:hover {
    background-color: #009ae1;
    color: #ffffff;
    border: 0;
}

.gray-accordion-menu {
    background-color: #002f66;
    font-size:1.125em;
}

.gray-accordion-menu li * {
    background-color: transparent;
    color: #ffffff;
    border: 0;
}
.gray-accordion-menu li:hover {
    background-color: transparent;
}
.gray-accordion-menu li > a:hover:first-child,
.gray-accordion-menu .amagdic-is-active {
    background-color: #009ae1;
    color: #ffffff;
    border: 0;
}

#header .dropdown.menu>li.is-dropdown-submenu-parent>a::after,
#header .dropdown.menu.vertical>li.opens-right>a::after,
#header .dropdown.menu.medium-horizontal>li.is-dropdown-submenu-parent>a::after,
#header .dropdown.menu.medium-vertical>li.opens-right>a::after,
#header .dropdown.menu.large-horizontal>li.is-dropdown-submenu-parent>a::after {
    border-color: #fff transparent transparent;
}
#header .dropdown.menu.vertical>li.opens-left>a::after,
#header .dropdown.menu.medium-vertical>li.opens-left>a::after,
#header .dropdown.menu.large-vertical>li.opens-left>a::after {
    border-color: transparent #fff transparent;
}
#header .dropdown.menu.large-vertical>li.opens-right>a::after {
    border-color: transparent transparent transparent #fff;
}
.gray-accordion-menu.accordion-menu .is-accordion-submenu-parent:not(.has-submenu-toggle)>a::after,
#header .is-dropdown-submenu .is-dropdown-submenu-parent.opens-left>a::after {
    border-color:transparent #fff transparent transparent;
}

.gray-accordion-menu .submenu-toggle::after{
    border-color:#fff transparent transparent;
}

/* Small only */
@media screen and (max-width: 39.9375em) {
    header {
        font-size: 0.875em;
    }
}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    header {
        font-size: 0.875em;
    }
}

.header-shadow {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6) !important;
}
#header .header-info {
    padding-bottom: 1rem;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
   -webkit-transition: .2s ease-in-out;
           transition: .2s ease-in-out;
    border-bottom: 1px dashed #ccc;
}

/* Large and up */
@media screen and (min-width: 64em) {
    #header .header-info {
        -ms-flex-pack:start;
        justify-content:flex-start;
    }
    #header .header-info-img {
        -ms-flex:0 0 auto;
        flex:0 0 auto;
    }
    #header .header-info img {
        width: 6rem;
        height: 6rem;
    }
}


#header .header-info span {
    font-family: Georgia, serif;
    color: #fff;
    font-size: 1.75em;
    line-height: 1.25;
    white-space: nowrap;
}

#header .header-info img {
    max-width: 6rem;
    width: 90%;
    margin: 0;
}

/* Small only */
@media screen and (max-width: 39.9375em) {
    #header .header-info {
        padding-bottom: 0.5rem;
    }
    #header .header-info span {
        font-size: 1.125em;
    }
    #header .header-info img {
        max-width: 3rem;
    }
}
/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    #header .header-info {
        padding-bottom: 0.75rem;
    }
    #header .header-info span {
        font-size: 1.25em;
    }
    #header .header-info img {
        max-width: 4.5rem;
    }
}

#header.header-shadow .header-info {
    display: none;
}
#header.header-shadow #logo {
    visibility: visible;
}

#header-spacer {
    background-color: #fff;
    padding: 0;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
}

#logo {
    position: absolute;
    top: 0.25rem;
    left: 1rem;
    width: 4rem;
    height: 4rem;
    border: 0 !important;
    z-index: 100;
    background: transparent;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    visibility: hidden;
}
#logo img {
    position: relative;
    width: 90%;
}
#logo:hover {
    -webkit-transform: scale(1.05, 1.05);
        -ms-transform: scale(1.05, 1.05);
            transform: scale(1.05, 1.05);
}

/* Small only */
@media screen and (max-width: 39.9375em) {
    #logo {
        position: absolute;
        top: 0.125rem;
        left: 50%;
        width: 2.5rem;
        height: 2.5rem;
        margin-left: -1.25rem;
    }
}
/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    #logo {
        position: absolute;
        top: 0.125rem;
        left: 50%;
        width: 3rem;
        height: 3rem;
        margin-left: -1.5rem;
    }
}


main {
    background-color: #fff;
    min-height: 60vh;
    margin: 0;
    padding: 1rem 0 2rem 0;
    overflow-x: hidden;
    position: relative;
    display: block;
}

#amagdic-content {
    /*min-height: 25vh;*/
}

footer {
    margin: 0;
    padding: 3em 0 0 0;
    color: #fff;
    background-color: #002f66;
    font-size: 0.875em;
}
footer h4 {
    color: #fff;
    font-size: 1.125em;
    text-transform: uppercase;
}
footer a {
    color: #fff;
}
footer a:hover {
    color: #009ae1;
    text-decoration: underline;
}
footer a:active {
    color: #fff !important;
}
footer a:visited {
    color: #fff !important;
}


footer .copyright {
    color: #fff;
    background-color: #002f66;
    padding: 1em 0 2em 0;
    margin-top: 1em;
}
footer .copyright p {
    font-size: 1em;
    color: #fff;
}
footer .copyright a {
    color: #fff;
}
footer .copyright a:hover {
    color: #009ae1;
}
footer small {
    font-size: 0.875em;
}

#cookies {
    width: 100%;
    position: fixed;
    bottom: -1px;
    left: 0px;
    background-color: #000000;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999;
    padding: 1em;
}
#cookies p {
    color: #ccc;
    font-size: 0.75em;
    margin-bottom: 0;
}
#cookies a {
    color: #ccc;
}
#cookies a:hover {
    color: #fff;
    text-decoration: underline;
}


#search-box {
    background: #002f66;
    color: #fff;
    padding: 1rem;
}
input#search {
    border: 0;
    box-shadow: none;
    width: 80%;
    font-size: 1.5em;
    color: #fff;
    padding: 1rem;
    margin: 0 auto;
    background: #002f66;
    height: auto;
}
/* Small only */
@media screen and (max-width: 39.9375em) {
    #search-box {
        padding: 0.25rem;
    }
    input#search {
        width: 100%;
        font-size: 1em;
        padding: 0.5rem;
    }
}
/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    #search-box {
        padding: 0.5rem;
    }
    input#search {
        width: 90%;
        font-size: 1.25em;
        padding: 0.75rem;
    }
}

.cke {
    border: 1px solid #dddddd !important;
}

.content-details h1 {
    text-align: left;
}

.content-details h1::after {
    content: '';
    width: 8rem;
    border-bottom: 1px solid #dddddd;
    margin: 1rem auto 2rem 0;
    height: 0;
    padding: 0;
    display: block;
    background-color: transparent;
}


.content-details h2 {
    margin-top: 1em;
    text-align: left;
}

.content-details h2::after {
    content: '';
    width: 6rem;
    border-bottom: 1px solid #eeeeee;
    margin: 0.75rem auto 1.5rem 0;
    height: 0;
    padding: 0;
    display: block;
    background-color: transparent;
}

.content-details h3 {
    margin-top: 1em;
    text-align: left;
}

.content-details h3::after {
    content: '';
    width: 4rem;
    /*border-bottom: 1px solid #eeeeee;*/
    margin: 0.75rem auto 1rem 0;
    height: 0;
    padding: 0;
    display: block;
    background-color: transparent;
}

.content-details p,
.content-details li {
    line-height: 1.5;
    font-size: 1em;
}

.content-details a:not(.button) {
    color: #002f66;
    text-decoration: normal;
    font-weight: 600;
}
.content-details a:hover:not(.button) {
    color: #009ae1;
    text-decoration: underline;
}
.content-details a:active:not(.button) {
    color: #002f66;
    text-decoration: normal;
}

article.column {
    margin-bottom: 1rem;
}

article.column .amagdic-zoom {
    overflow: hidden;
    display: block;
}
article.column h4 {
    font-size: 0.875em;
    line-height: 1;
    text-transform: uppercase;
    color: #002f66;
    text-align: right;
    font-weight: 600;
    margin: 0 0 0 0;
    padding: 0 0 0.25em 0;
}
article.column h4 a {
    color: #bbb;
}
article.column h4 a:hover {
    color: #002f66;
    text-decoration: underline;
}
article.column h3 {
    font-size: 1.25em;
    line-height: 1;
    font-weight: 300;
    padding-top: 0.25em;
}
article.column h3 a:hover {
    text-decoration: underline;
}
article.column p {
    font-size: 0.875em;
    margin: 0 0 0 0;
    line-height: 1.25;
}

/* Small only */
@media screen and (max-width: 39.9375em) {
    .content-details p,
    .content-details li {
        line-height: 1.5;
        font-size: 1em;
    }

    article.column h3 {
        font-size: 1.125em;
    }
    article.column p {
        font-size: 0.75em;
    }
}
/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .content-details p,
    .content-details li {
        line-height: 1.5;
        font-size: 1em;
    }

    article.column h3 {
        font-size: 1.25em;
    }
    article.column p {
        font-size: 0.875em;
    }
}
/* Large and up */
@media screen and (min-width: 64em) {
    .content-details p,
    .content-details li {
        line-height: 1.5;
        font-size: 1em;
    }

    article.column {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
}

.date-time {
    text-align: center;
    color: #999;
    text-transform: uppercase;
    font-size: 0.75em;
    font-family: Georgia, serif;
}

.visible {
    visibility: visible;
}
.hidden {
    visibility: hidden;
}

.amagdic-uppercase {
    text-transform: uppercase;
}

a.underline {
    text-decoration: underline;
}


.amagdic-bg-image {
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    min-height: 28em;
    max-height: 100em;
}

.amagdic-shadow {
    box-shadow: 1px 1px 0.25rem rgba(0, 0, 0, 0.5) !important;
}

.amagdic-border-radius {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.amagdic-margin-top {
    margin-top: 2rem !important;
}
.amagdic-margin-right {
    margin-right: 2rem !important;
}
.amagdic-margin-bottom {
    margin-bottom: 2rem !important;
}
.amagdic-margin-left {
    margin-left: 2rem !important;
}

.amagdic-padding-top {
    padding-top: 2rem !important;
}
.amagdic-padding-right {
    padding-right: 2rem !important;
}
.amagdic-padding-bottom {
    padding-bottom: 2rem !important;
}
.amagdic-padding-left {
    padding-left: 2rem !important;
}

/* Small only */
@media screen and (max-width: 39.9375em) {
    .amagdic-bg-image {
        min-height: 15em;
    }

    .amagdic-margin-top-small {
        margin-top: 2rem !important;
    }
    .amagdic-margin-right-small {
        margin-right: 2rem !important;
    }
    .amagdic-margin-bottom-small {
        margin-bottom: 2rem !important;
    }
    .amagdic-margin-left-small {
        margin-left: 2rem !important;
    }
}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .amagdic-bg-image {
        min-height: 15em;
    }

    .amagdic-margin-top-medium {
        margin-top: 2rem !important;
    }
    .amagdic-margin-right-medium {
        margin-right: 2rem !important;
    }
    .amagdic-margin-bottom-medium {
        margin-bottom: 2rem !important;
    }
    .amagdic-margin-left-medium {
        margin-left: 2rem !important;
    }
}

/* Large and up */
@media screen and (min-width: 64em) {
    .amagdic-margin-top-large {
        margin-top: 2rem;
    }
    .amagdic-margin-right-large {
        margin-right: 2rem !important;
    }
    .amagdic-margin-bottom-large {
        margin-bottom: 2rem !important;
    }
    .amagdic-margin-left-large {
        margin-left: 2rem !important;
    }
}

.amagdic-links-menu {
    background: #333333;
    padding-bottom: 2rem;
    padding-top: 2rem;
    margin: 2rem 0;
}
.amagdic-links-menu::before,
.amagdic-links-menu::after {
    background: #333333;
    content: "";
    width: 50vw;
    left: -50vw;
    height: 100%;
    top: 0;
    position: absolute;
    overflow: hidden;
    display: block;
}
.amagdic-links-menu::after {
    right: -50vw;
    left: auto;
}

.amagdic-links-menu a {
    background: transparent;
    color: #fff;
}
.amagdic-links-menu a:hover {
    background: #009ae1;
    color: #fff;
    text-decoration: underline;
}
.amagdic-links-menu a:active {
    background: #ffffff;
    color: #fff;
}

/* Small only */
@media screen and (max-width: 39.9375em) {
    .amagdic-links-menu {
        margin: 1rem 0;
        padding-bottom: 1rem;
        padding-top: 1rem;
    }
}

.amagdic-picture-links article div {
    background: #002f65;
    -webkit-box-shadow: 0 0 0.125rem rgba(0,0,0,0.1);
    box-shadow: 0 0 0.125rem rgba(0,0,0,0.1);
    margin: 0;
    height: 100%;
    padding: 0;
    overflow: hidden;
}
.amagdic-picture-links article a {
    color: #fff !important;
}
.amagdic-picture-links article a:hover {
    color: #ccc !important;
}
.amagdic-picture-links article div p {
    margin: 0;
    padding: 1rem 1rem;
    color: #fff;
}
.amagdic-picture-links article div h3 {
    margin: 0;
    padding: 1rem 1rem;
    text-align: center;
}

.amagdic-picture-links article:nth-child(2) div {
    background: #40a734;
}
.amagdic-picture-links article:nth-child(3) div {
    background: #d71629;
}
.amagdic-picture-links article:nth-child(4) div {
    background: #cec619;
}

.reveal h2 {
    position: relative;
    margin: -1rem -1rem 1em -1rem !important;
    background-color: #05274e;
    color: #fff;
    padding: 0.25em 1em;
    font-size: 1.5em;
}

/* google maps fix */
img,
object,
embed {
    max-width: 100%;
}

.fieldset {
    margin: 1.125rem 0;
    padding: 0.5rem 1rem;
}

nav.float-icons {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    border-radius: 0.5rem;
    padding: 0.125rem 0.25rem;
}

/* AMagdic Title image & content */


.orbit-caption {
    bottom: 3rem;
    left: 4rem;
    max-width: 75rem !important;
    width: 85%;
    background: transparent;
    padding: 2rem;
    margin: 0;
    border: 0;
    text-align: left;
    line-height: 1;
    color: #fff;
    font-size: 2.5em;
    font-weight: 400;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: start;
      justify-content: flex-start;
  -ms-flex-align: start;
      align-items: flex-start;
  -ms-flex-direction: column;
      flex-direction: column;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.orbit-caption small {
    color: #fff;
    font-size: 0.5em;
    font-weight: 300;
    line-height: 1;
    margin-top: 0.5em;
}

/* Small only */
@media screen and (max-width: 39.9375em) {
    .orbit-caption {
        left: 1rem;
        font-size: 1.75em;
        bottom: 1.5rem;
        width: 95%;
    }
    .orbit-caption small {
        font-weight: 400;
        font-size: 0.75em;
    }
}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .orbit-caption {
        left: 2rem;
        font-size: 2em;
        bottom: 2rem;
    }
}

.orbit-bullets {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  text-align: left;
  width: auto;
  display: block;
  }
  .orbit-bullets button {
    float: left;
    display: block;
    position: relative;
    width: 1rem;
    height: 1rem;
    margin: 0.25rem 0.25rem 0 0.25rem;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: transparent;
    cursor: pointer; }
    .orbit-bullets button:hover {
      background-color: #002f66; }
    .orbit-bullets button.is-active {
      background-color: #ffffff; }

/* Small only */
@media screen and (max-width: 39.9375em) {
    .orbit-bullets {
        bottom: 0.25rem;
        left: 0.5rem;
    }
    .orbit-bullets button {
        width: 0.75rem;
        height: 0.75rem;
        margin: 0.25rem 0.25rem 0 0;
    }
}

.amagdic-title-image {
    margin-top: -1rem;
    margin-bottom: 1rem;
    padding: 0;
    height: 20vw;
    max-height: 20vh;
    min-height: 16rem;
    font-size: 1em;
    background-color: #002f66;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    /*background-attachment: fixed;*/
    width: 100%;
    color: #fff;
    display: block;
    position: relative;
}
.amagdic-title-image h1 {
    margin: 0 0 0.5em 0;
    padding: 0;
    font-size: 2.5em;
    font-weight: normal;
    color: #fff;
    line-height: 1;
    /*text-transform: uppercase;*/
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.amagdic-title-image p {
    margin: 0;
    padding: 0;
    font-size: 1em;
    font-weight: 300;
    color: #fff;
    line-height: 1.5;
    font-style: italic;
}

.amagdic-title-overlay {
    height: 100%;
    max-width: 100%;
    background: transparent;
    background: rgba(0, 0, 0, 0.25);
    padding: 0;
    margin: 0;
    border: 0;
}

.amagdic-title-overlay .row {
    width: 100%;
}

/* Large and up */
@media screen and (min-width: 75em) {
    .amagdic-title-image {
        height: 20vw;
        max-height: 20vh;
    }
    .amagdic-title-image h1 {
        font-size: 3em;
    }
    .amagdic-title-image p {
        font-size: 1.5em;
        font-weight: 500;
    }
}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .amagdic-title-image {
        height: 30vw;
        max-height: 30vh;
        min-height: 14rem;
    }
    .amagdic-title-image h1 {
        font-size: 1.75em;
    }
    .amagdic-title-image p {
        font-size: 1em;
    }
}

/* Small only */
@media screen and (max-width: 39.9375em) {
    .amagdic-title-image {
        height: 40vw;
        max-height: 40vh;
        min-height: 12rem;
        background-size: cover;
        background-attachment: scroll;
    }
    .amagdic-title-image h1 {
        font-size: 1.5em;
    }
    .amagdic-title-image p {
        font-size: 0.875em;
    }
}

.ck-toolbar .ck-button {
    color: #000 !important;
}


#system-messages {
    margin: 0;
    padding: 0;
    position: fixed;
    width: auto;
    top: 4rem;
    left: 1rem;
    right: 1rem;
    z-index: 2000;
    height: 0;
}

/* Small only */
@media screen and (max-width: 39.9375em) {
    #system-messages {
        top: 3rem;
    }
}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    #system-messages {
        top: 4rem;
    }
}

div#info-message,
div#error-message {
    margin: 0 0 1rem 0;
    border:0;
    border-radius: 0;
    padding: 0;
    position: relative;
    box-shadow:0 5px 8px 0 rgba(0,0,0,0.2),0 3px 10px 0 rgba(0,0,0,0.19) !important;
}
div#info-message p,
div#error-message p {
    margin-bottom:0;
    margin-right: 0;
    padding: 1.5rem 1rem;
}
div#info-message.callout.success {
    background-color: #5da423;
    color: #fff;
}
div#error-message.callout.alert {
    background-color: #c60f13;
    color: #fff;
}

table.amagdic-admin-table {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
table.amagdic-admin-table th,
table.amagdic-admin-table td {
    line-height: 1.125em;
}

div.amagdic-button-submit {
    margin-top: 2rem;
    margin-bottom: 0;
    padding-top: 1.5rem;
    border-top: 1px solid #ccc;
}
div.reveal div.amagdic-button-submit {
    margin-top: 1rem;
    padding-top: 0;
    border-top: 0;
}

.amagdic-button-submit button,
.amagdic-button-submit .button {
    margin-bottom: 0.5rem;
}

ul.document-bullet {
    margin-left: 0;
    list-style: none;
    position: relative;
    padding-left: 2em;
}
ul.document-bullet li {
    position: relative;
    text-align: left;
    font-size: 1.125em;
}
ul.document-bullet li:before {
    font-family: 'Font Awesome 5 Light';
    font-style: normal;
    font-weight: 400;
    font-size: 1em;
    color: #ccc;
    content: "\f15c";
    margin-right: 0.5rem;
    position: absolute;
    left: -1.5em;
    top: 0;
}

/* masonry */
.amagdic-masonry {
    margin: 2rem 0 0 0;
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(14rem,1fr));
    grid-auto-rows: 1rem;
}
.amagdic-masonry a.amagdic-masonry-item {
    background-color: #fff;
    margin: 0 0 1rem;
    width: 100%;
    transition: .8s opacity;
    position: relative;
    z-index: 1;
}
.amagdic-masonry:hover a.amagdic-masonry-item {
    opacity: 0.6;
}
.amagdic-masonry:hover a.amagdic-masonry-item:hover {
    opacity: 1;
    -webkit-transform: scale(1.05, 1.05);
        -ms-transform: scale(1.05, 1.05);
            transform: scale(1.05, 1.05);
   -webkit-transition: .2s ease-in-out;
           transition: .2s ease-in-out;
    z-index: 2;
}
.amagdic-masonry img {
    /*width: 100%;*/
}

/* Small only */
@media screen and (max-width: 39.9375em) {
    .amagdic-masonry {

    }
}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .amagdic-masonry {

    }
}


/* colors */
.blue {
    color: #009ae1;
}
.black {
    color: #000000;
}
.gray {
    color: #777777;
}
.green {
    color: #49a023;
}
.red {
    color: #d60017;
}
.white {
    color: #ffffff;
}
.yellow {
    color: #dfc809;
}
.purple {
    color: #9279b1;
}

.bg-title,
.bg-title:hover {
    color: #fff;
    /*background-color: #002f66 !important;*/
    background-color: #49a023 !important;
}

h2.bg-title {
    color: #fff;
    padding: 1rem;
    text-align: left;
    margin: 2rem 0 1rem 0;
    background-color: #002f66;
    line-height: 1;
}

h2.bg-title::after {
    display: none;
}

.bg-documents {
    margin: 2rem 0 0 0;
    background: #fbfbfb;
    padding: 1rem 1rem 0 1rem;
    border-top: 4px solid #002f66;
}

.bg-questionnaire {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding-top: 0rem;
    padding-bottom: 2rem;
    background: #fbfbfb;
    border-top: 4px solid #002f66;
}

.bg-info {
    margin: 1rem 0;
    padding: 1rem;
    background: #fbfbfb;
    border-top: 4px solid #002f66;
    font-size: 0.875em;
}

.bg-related {
    margin: 2rem 0 -2rem 0;
    background: #f1f1f1;
    padding: 1rem 0 1rem 0;
}
.bg-related article {
    margin: 0 0.5rem;
    position: relative;
    border-left: 0.125rem solid transparent;
   -webkit-transition: .2s ease-in-out;
           transition: .2s ease-in-out;
}
.bg-related article p {
    padding: 0;
    margin: 0;
}
.bg-related article img {
    opacity: 0.95;
}

.bg-related article h3 {
    padding: 1rem;
    margin: 0;
    font-size: 1.125em;
    font-weight: normal;
    position: absolute;
    left: 0rem;
    right: 0rem;
    bottom: 0rem;
    top: auto;
    pointer-events: none;
   -webkit-transition: .4s ease-in-out;
           transition: .4s ease-in-out;
    text-shadow: 1px 1px #777777;
    line-height: 1.1;
}

.bg-related article h3 a {
    color: #fff;
}
.bg-related article:hover h3 a {
    color: #fff;
}
.bg-related article:hover h3 {
    /*top: 0;*/
    background: rgba(0,0,0,0.1);
}
.bg-related article:hover img {
    opacity: 1;
   -webkit-transition: .4s ease-in-out;
           transition: .4s ease-in-out;
}

/* Small only */
@media screen and (max-width: 39.9375em) {
    .bg-related article {
        margin-bottom: 0;
    }
    .bg-related article h3 {
        left: 0;
        right: 0;
        font-size: 1em;
    }
}

.amagdic-icon {
    display: block;
    margin: 0;
    padding: 1em;
    line-height: 1.25em;
    text-transform: uppercase;
}
.amagdic-icon img {
    width: 65%;
    min-width: 3rem;
    max-width: 4rem;
    padding-bottom: 0.5rem;
}
.amagdic-icon strong {
    font-size: 3em;
    display: inline-block;
    padding-bottom: 0.5em;
}
.amagdic-icon span {
    font-size: 0.75em;
    line-height: 1em;
    padding-top: 1em;
    display: block;
}
a.amagdic-icon:hover span {
    font-size: 0.75em;
}

/* Small only */
@media screen and (max-width: 39.9375em) {
    .amagdic-icon img {
        width: 90%;
    }
    .amagdic-icon strong {
        font-size: 2em;
    }
}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .amagdic-icon img {
        width: 80%;
    }
    .amagdic-icon strong {
        font-size: 2.5em;
    }
}


/* animations */
.amagdic-zoom i,
.amagdic-zoom img,
.amagdic-zoom span {
   -webkit-transition: .2s ease-in-out;
           transition: .2s ease-in-out;
}
.amagdic-zoom:hover i,
.amagdic-zoom:hover span {
    -webkit-transform: scale(1.25, 1.25) !important;
        -ms-transform: scale(1.25, 1.25) !important;
            transform: scale(1.25, 1.25) !important;
   -webkit-transition: .2s ease-in-out;
           transition: .2s ease-in-out;
}
.amagdic-zoom:hover img {
    -webkit-transform: scale(1.05, 1.05);
        -ms-transform: scale(1.05, 1.05);
            transform: scale(1.05, 1.05);
   -webkit-transition: .2s ease-in-out;
           transition: .2s ease-in-out;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.5);
}
.amagdic-zoom:active i,
.amagdic-zoom:active img,
.amagdic-zoom:active span {
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
   -webkit-transition: .2s ease-in-out;
           transition: .2s ease-in-out;
}

.amagdic-banner-hover img {
   -webkit-transition: .2s ease-in-out;
           transition: .2s ease-in-out;
}
.amagdic-banner-hover img {
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
}
.amagdic-banner-hover:hover > img {
    -webkit-transform: scale(1.05, 1.05);
        -ms-transform: scale(1.05, 1.05);
            transform: scale(1.05, 1.05);
   -webkit-transition: .2s ease-in-out;
           transition: .2s ease-in-out;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
}


button i,
button span,
.button i,
.button span,
.callout i,
.callout span,
th i,
th span,
td i,
td span {
    vertical-align: middle !important;
}

table th,
table td {
    font-size: 0.875em;
}

@media screen and (min-width: 40em) {
    table th,
    table td {
        font-size: 1em;
    }
}

/* Foundation */

audio + .help-text {
    margin-top: 0.25rem;
}

p + .help-text {
    margin-top: -0.75rem;
}

.help-text {
    line-height: 1.25;
}

.has-tip {
/*
    border-bottom: none;
    font-weight: normal;
*/
}

.lead {
    font-weight: 300;
    line-height: 1.2;
    font-size: 1.375em !important;
    font-family: 'Source Sans Pro', sans-serif;
}

.top-bar {
    padding: 0.5rem 0;
}
.top-bar-left,
.top-bar-right {
  -ms-flex: 0 0 auto !important;
      flex: 0 0 auto !important;
}

.off-canvas-content {
    background-color: #002f66;
    min-height: 100vh !important;
}
.off-canvas {
    height: 100%;
    min-height: 100%;
    background-color: #002f66;
    bottom: 0;
    font-size: 0.875em;
}
.off-canvas h5 {
    padding: 0.75rem 1rem;
    margin: 0;
    color: #fff;
    background-color: #05274e;
    font-size: 1em;
}
.off-canvas ul.menu li a {
    padding: 0.5rem 0.75rem;
    background-color: #002f66 !important;
    color: #fff !important;
}
.off-canvas .menu li a:hover {
    background-color: #009ae1 !important;
    color: #fff !important;
}
.off-canvas ul.menu li a i {
    color: #ddd !important;
}
.off-canvas .menu li a:hover i {
    color: #fff !important;
    -webkit-transform: scale(1.25, 1.25);
        -ms-transform: scale(1.25, 1.25);
            transform: scale(1.25, 1.25);
   -webkit-transition: .2s ease-in-out;
           transition: .2s ease-in-out;
}

.close-button {
    color: #000 !important;
    margin-top: -0.125em;
}

.reveal .close-button,
.off-canvas .close-button,
div#info-message .close-button,
div#error-message .close-button {
    color: #fff !important;
}

.off-canvas .close-button:hover {
    color: #fff !important;
   -webkit-transition: .2s ease-in-out;
           transition: .2s ease-in-out;
}

.close-button:hover {
    -webkit-transform: scale(1.25, 1.25);
        -ms-transform: scale(1.25, 1.25);
            transform: scale(1.25, 1.25);
   -webkit-transition: .2s ease-in-out;
           transition: .2s ease-in-out;
}

.accordion-title {
    font-size: 1.25em;
    font-family: Georgia, serif;
    font-weight: 400  !important;
}

.tabs-title {
    font-weight: 400 !important;
}
.tabs-title a {
    font-size: 1em;
    font-family: Georgia, serif;
    font-weight: 400 !important;
}


button,
.button:not(.hollow) {
    text-transform: uppercase;
    color: #fff !important;
}

.callout {
    border: 0;
    background-color: #f1f1f1;
}

.callout.alert {
    color: #990000;
}


.form-error {
    margin-top: -1rem;
    color: #990000;
    font-size: 0.75em;
    font-weight: 400;
    padding: 0.125em 0;
    font-style: italic;
}
.is-invalid-label {
    color: #990000;
}

.is-invalid-label .input-group-label {
    color: #ffffff;
    background: #990000;
    border-color: #990000;
}

.is-invalid-label .fa,
.is-invalid-label .fab,
.is-invalid-label .fal,
.is-invalid-label .far,
.is-invalid-label .fas {
    color: #ffffff;
}

select option:disabled {
    color: #ccc;
    text-decoration: line-through;
}

select#group_filter_owner {
    height: auto;
    padding-top: 0.25em;
    padding-bottom: 0.125em;
    padding-left: 0.125em;
    margin: 0;
    border: 0;
    box-shadow: none;
}
select#group_filter_owner:focus {
    box-shadow: none;
}

.breadcrumbs {
    margin-top: 0.125rem;
    color: #ccc;
    vertical-align: middle;
    font-weight: 400;
}
.breadcrumbs li:not(:last-child)::after {
    color: #aaa;
    font-family: 'Font Awesome 5 Regular';
    font-size: 1em;
    content: "\f105";
    vertical-align: top;
}
.breadcrumbs a {
    color: #002f66;
}
.breadcrumbs a:hover {
    color: #002f66;
    text-decoration: underline;
}
.breadcrumbs a:active {
    color: #002f66;
}
.breadcrumbs.breadcrumbs-group {
    margin-top: -1.25rem;
}
.breadcrumbs.breadcrumbs-group li:not(:last-child)::after {
    color: #aaa;
}
.breadcrumbs.breadcrumbs-group a {
    color: #fff;
}
.breadcrumbs.breadcrumbs-group a:hover {
    color: #fff;
    text-decoration: underline;
}
.breadcrumbs.breadcrumbs-group a:active {
    color: #fff;
}

/* datepicker */
.datepicker {
  display: none;
  position: absolute;
  padding: 4px;
  margin-top: 1px;
  direction: ltr; }
  .datepicker.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    display: none;
    min-width: 160px;
    list-style: none;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    *border-right-width: 2px;
    *border-bottom-width: 2px;
    color: #333;
    font-size: 13px;
    line-height: 18px; }
    .datepicker.dropdown-menu th {
      padding: 4px 5px; }
    .datepicker.dropdown-menu td {
      padding: 4px 5px; }
  .datepicker table {
    border: 0;
    margin: 0;
    width: auto; }
    .datepicker table tr td span {
      display: block;
      width: 23%;
      height: 54px;
      line-height: 54px;
      float: left;
      margin: 1%;
      cursor: pointer; }
  .datepicker td {
    text-align: center;
    width: 20px;
    height: 20px;
    border: 0;
    font-size: 12px;
    padding: 4px 8px;
    background: #fff;
    cursor: pointer; }
    .datepicker td.active.day, .datepicker td.active.year {
      background: #009ae1; }
    .datepicker td.old, .datepicker td.new {
      color: #999; }
    .datepicker td span.active {
      background: #009ae1; }
    .datepicker td.day.disabled {
      color: #eee; }
    .datepicker td span.month.disabled, .datepicker td span.year.disabled {
      color: #eee; }
  .datepicker th {
    text-align: center;
    width: 20px;
    height: 20px;
    border: 0;
    font-size: 12px;
    padding: 4px 8px;
    background: #fff;
    cursor: pointer; }
    .datepicker th.active.day, .datepicker th.active.year {
      background: #009ae1; }
    .datepicker th.date-switch {
      width: 145px; }
    .datepicker th span.active {
      background: #009ae1; }
  .datepicker .cw {
    font-size: 10px;
    width: 12px;
    padding: 0 2px 0 5px;
    vertical-align: middle; }
  .datepicker.days div.datepicker-days {
    display: block; }
  .datepicker.months div.datepicker-months {
    display: block; }
  .datepicker.years div.datepicker-years {
    display: block; }
  .datepicker thead tr:first-child th {
    cursor: pointer; }
    .datepicker thead tr:first-child th.cw {
      cursor: default;
      background-color: transparent; }
  .datepicker tfoot tr:first-child th {
    cursor: pointer; }

.datepicker-inline {
  width: 220px; }

.datepicker-rtl {
  direction: rtl; }
  .datepicker-rtl table tr td span {
    float: right; }

.datepicker-dropdown {
  top: 0;
  left: 0; }
  .datepicker-dropdown:before {
    content: '';
    display: inline-block;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #ccc;
    border-bottom-color: 1px solid rgba(0, 0, 0, 0.2);
    position: absolute;
    top: -7px;
    left: 6px; }
  .datepicker-dropdown:after {
    content: '';
    display: inline-block;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
    position: absolute;
    top: -6px;
    left: 7px; }

.datepicker > div,
.datepicker-dropdown::before,
.datepicker-dropdown::after {
  display: none; }

.datepicker-close {
  position: absolute;
  top: -30px;
  right: 0;
  width: 15px;
  height: 30px;
  padding: 0;
  display: none; }

.table-striped .datepicker table tr td,
.table-striped .datepicker table tr th {
  background-color: transparent; }


/* Select2 plugin */
.input-group-field .select2-container {
  margin: 0 !important;
}
.select2-container {
  box-sizing: border-box;
  display: block;
  margin: 0 0 1rem 0;
  position: relative;
  vertical-align: middle;
  font-size: 1rem;
  width: 100%;
  min-width: 100%;}
  .select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: auto;
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    user-select: none;
    -webkit-user-select: none; }
    .select2-container .select2-selection--single .select2-selection__rendered {
      display: block;
      padding-left: 8px;
      padding-right: 20px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap; }
    .select2-container .select2-selection--single .select2-selection__clear {
      position: relative; }
  .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
    padding-right: 8px;
    padding-left: 20px; }
  .select2-container .select2-selection--multiple {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    min-height: 32px;
    user-select: none;
    -webkit-user-select: none; }
    .select2-container .select2-selection--multiple .select2-selection__rendered {
      display: inline-block;
      overflow: hidden;
      padding-left: 8px;
      text-overflow: ellipsis;
      white-space: nowrap; }
  .select2-container .select2-search--inline {
    float: left; }
    .select2-container .select2-search--inline .select2-search__field {
      box-sizing: border-box;
      border: none;
      font-size: 1em;
      margin-top: 5px;
      padding: 0; }
      .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
        -webkit-appearance: none; }

.select2-dropdown {
  background-color: #fefefe;
  border: 1px solid #cacaca;
  box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
  /*border-radius: 4px;*/
  box-sizing: border-box;
  display: block;
  position: absolute;
  left: -100000px;
  width: 100%;
  z-index: 1051; }

.select2-results {
  display: block; }

.select2-results__options {
  list-style: none;
  margin: 0;
  padding: 0; }

.select2-results__option {
  padding: 6px;
  user-select: none;
  -webkit-user-select: none; }
  .select2-results__option[aria-selected] {
    cursor: pointer; }

.select2-container--open .select2-dropdown {
  left: 0; }

.select2-container--open .select2-dropdown--above {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0; }

.select2-container--open .select2-dropdown--below {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0; }

.select2-search--dropdown {
  display: block;
  padding: 4px; }
  .select2-search--dropdown .select2-search__field {
    padding: 4px;
    width: 100%;
    box-sizing: border-box; }
    .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
      -webkit-appearance: none; }
  .select2-search--dropdown.select2-search--hide {
    display: none; }

.select2-close-mask {
  border: 0;
  margin: 0;
  padding: 0;
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  min-height: 100%;
  min-width: 100%;
  height: auto;
  width: auto;
  opacity: 0;
  z-index: 99;
  background-color: #fff;
  filter: alpha(opacity=0); }

.select2-hidden-accessible {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important; }

.select2-container--default .select2-selection--single {
  background-color: #fefefe;
  border: 1px solid #cacaca;
  box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
  /*border-radius: 4px; */}
  .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 28px; }
  .select2-container--default .select2-selection--single .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold; }
  .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #999; }
  .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px; }
    .select2-container--default .select2-selection--single .select2-selection__arrow b {
      border-color: #888 transparent transparent transparent;
      border-style: solid;
      border-width: 5px 4px 0 4px;
      height: 0;
      left: 50%;
      margin-left: -4px;
      margin-top: -2px;
      position: absolute;
      top: 50%;
      width: 0; }

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
  float: left; }

.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
  left: 1px;
  right: auto; }

.select2-container--default.select2-container--disabled .select2-selection--single {
  background-color: #eee;
  cursor: default; }
  .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
    display: none; }

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #888 transparent;
  border-width: 0 4px 5px 4px; }

.select2-container--default .select2-selection--multiple {
  background-color: white;
  border: 1px solid #aaa;
  /*border-radius: 4px;*/
  cursor: text; }
  .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0 5px;
    width: 100%; }
    .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
      list-style: none; }
  .select2-container--default .select2-selection--multiple .select2-selection__placeholder {
    color: #999;
    margin-top: 5px;
    float: left; }
  .select2-container--default .select2-selection--multiple .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
    margin-top: 5px;
    margin-right: 10px; }
  .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    /*border-radius: 4px;*/
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 0 5px; }
  .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #999;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin-right: 2px; }
    .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
      color: #333; }

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {
  float: right; }

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
  margin-left: 5px;
  margin-right: auto; }

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
  margin-left: 2px;
  margin-right: auto; }

.select2-container--default.select2-container--focus .select2-selection--multiple {
  border: solid black 1px;
  outline: 0; }

.select2-container--default.select2-container--disabled .select2-selection--multiple {
  background-color: #eee;
  cursor: default; }

.select2-container--default.select2-container--disabled .select2-selection__choice__remove {
  display: none; }

.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
  border-top-left-radius: 0;
  border-top-right-radius: 0; }

.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0; }

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #aaa; }

.select2-container--default .select2-search--inline .select2-search__field {
  background: transparent;
  border: none;
  outline: 0;
  box-shadow: none;
  -webkit-appearance: textfield; }

.select2-container--default .select2-results > .select2-results__options {
  max-height: 200px;
  overflow-y: auto; }

.select2-container--default .select2-results__option[role=group] {
  padding: 0; }

.select2-container--default .select2-results__option[aria-disabled=true] {
  color: #999; }

.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #ddd; }

.select2-container--default .select2-results__option .select2-results__option {
  padding-left: 1em; }
  .select2-container--default .select2-results__option .select2-results__option .select2-results__group {
    padding-left: 0; }
  .select2-container--default .select2-results__option .select2-results__option .select2-results__option {
    margin-left: -1em;
    padding-left: 2em; }
    .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
      margin-left: -2em;
      padding-left: 3em; }
      .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
        margin-left: -3em;
        padding-left: 4em; }
        .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
          margin-left: -4em;
          padding-left: 5em; }
          .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
            margin-left: -5em;
            padding-left: 6em; }

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #5897fb;
  color: white; }

.select2-container--default .select2-results__group {
  cursor: default;
  display: block;
  padding: 6px; }

.select2-container--classic .select2-selection--single {
  background-color: #f7f7f7;
  border: 1px solid #aaa;
  /*border-radius: 4px;*/
  outline: 0;
  background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);
  background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);
  background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
  .select2-container--classic .select2-selection--single:focus {
    border: 1px solid #5897fb; }
  .select2-container--classic .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 28px; }
  .select2-container--classic .select2-selection--single .select2-selection__clear {
    cursor: pointer;
    float: right;
    font-weight: bold;
    margin-right: 10px; }
  .select2-container--classic .select2-selection--single .select2-selection__placeholder {
    color: #999; }
  .select2-container--classic .select2-selection--single .select2-selection__arrow {
    background-color: #ddd;
    border: none;
    border-left: 1px solid #aaa;
    /*border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;*/
    height: 26px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px;
    background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
    background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
    background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); }
    .select2-container--classic .select2-selection--single .select2-selection__arrow b {
      border-color: #888 transparent transparent transparent;
      border-style: solid;
      border-width: 5px 4px 0 4px;
      height: 0;
      left: 50%;
      margin-left: -4px;
      margin-top: -2px;
      position: absolute;
      top: 50%;
      width: 0; }

.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
  float: left; }

.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
  border: none;
  border-right: 1px solid #aaa;
  border-radius: 0;
  /*border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;*/
  left: 1px;
  right: auto; }

.select2-container--classic.select2-container--open .select2-selection--single {
  border: 1px solid #5897fb; }
  .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
    background: transparent;
    border: none; }
    .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
      border-color: transparent transparent #888 transparent;
      border-width: 0 4px 5px 4px; }

.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
  background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
  background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }

.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
  background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
  background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); }

.select2-container--classic .select2-selection--multiple {
  background-color: white;
  border: 1px solid #aaa;
  /*border-radius: 4px;*/
  cursor: text;
  outline: 0; }
  .select2-container--classic .select2-selection--multiple:focus {
    border: 1px solid #5897fb; }
  .select2-container--classic .select2-selection--multiple .select2-selection__rendered {
    list-style: none;
    margin: 0;
    padding: 0 5px; }
  .select2-container--classic .select2-selection--multiple .select2-selection__clear {
    display: none; }
  .select2-container--classic .select2-selection--multiple .select2-selection__choice {
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    /*border-radius: 4px;*/
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 0 5px; }
  .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
    color: #888;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin-right: 2px; }
    .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
      color: #555; }

.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
  float: right; }

.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
  margin-left: 5px;
  margin-right: auto; }

.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
  margin-left: 2px;
  margin-right: auto; }

.select2-container--classic.select2-container--open .select2-selection--multiple {
  border: 1px solid #5897fb; }

.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0; }

.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0; }

.select2-container--classic .select2-search--dropdown .select2-search__field {
  border: 1px solid #aaa;
  outline: 0; }

.select2-container--classic .select2-search--inline .select2-search__field {
  outline: 0;
  box-shadow: none; }

.select2-container--classic .select2-dropdown {
  background-color: white;
  border: 1px solid transparent; }

.select2-container--classic .select2-dropdown--above {
  border-bottom: none; }

.select2-container--classic .select2-dropdown--below {
  border-top: none; }

.select2-container--classic .select2-results > .select2-results__options {
  max-height: 200px;
  overflow-y: auto; }

.select2-container--classic .select2-results__option[role=group] {
  padding: 0; }

.select2-container--classic .select2-results__option[aria-disabled=true] {
  color: grey; }

.select2-container--classic .select2-results__option--highlighted[aria-selected] {
  background-color: #3875d7;
  color: white; }

.select2-container--classic .select2-results__group {
  cursor: default;
  display: block;
  padding: 6px; }

.select2-container--classic.select2-container--open .select2-dropdown {
  border-color: #5897fb; }



/* CKEDITOR Fix */
.cke_dialog tbody,
.cke_dialog tr,
.cke_dialog td,
.cke_dialog tbody tr:nth-child(2n) {
    background: transparent !important;
}


/* AMagdic invert colors */

body.amagdic_invert_colors,
body.amagdic_invert_colors *,
body.amagdic_invert_colors main,
body.amagdic_invert_colors main * {
    color: #fff !important;
    background: #000 !important;
}

body.amagdic_invert_colors a {
    background-color: #0000 !important;
    color: #fff !important;
}

body.amagdic_invert_colors h1,
body.amagdic_invert_colors h2,
body.amagdic_invert_colors h3,
body.amagdic_invert_colors h4,
body.amagdic_invert_colors h5,
body.amagdic_invert_colors h6, {
    color: #fff !important;
}

body.amagdic_invert_colors header,
body.amagdic_invert_colors header * {
    color: #fff !important;
    background: #111 !important;
}
body.amagdic_invert_colors #header {
    border-top-color: #222 !important;
}

body.amagdic_invert_colors footer,
body.amagdic_invert_colors footer * {
    color: #fff !important;
    background: #111 !important;
}

body.amagdic_invert_colors .amagdic-links-menu::before,
body.amagdic_invert_colors .amagdic-links-menu::after {
    background: #000;
}

body.amagdic_invert_colors .title-line-left::before {
    border-bottom-color: #aaaaaa;
}

body.amagdic_invert_colors .bg-title,
body.amagdic_invert_colors .bg-title:hover {
    color: #000 !important;
    background-color: #fff !important;
}

body.amagdic_invert_colors h2.bg-title {
    color: #000 !important;
    background-color: #fff !important;
}

body.amagdic_invert_colors .bg-related,
body.amagdic_invert_colors .bg-related * {
    background-color: #222 !important;
}

body.amagdic_invert_colors .bg-info {
    border-top: 4px solid #000;
}

body.amagdic_invert_colors .orbit-caption,
body.amagdic_invert_colors .orbit-caption small {
    background: transparent !important;
    color: #fff !important;
}

body.amagdic_invert_colors .orbit-bullets {
    background-color: transparent !important;
}
body.amagdic_invert_colors .orbit-bullets button:hover {
    background-color: #000 !important;
}
body.amagdic_invert_colors .orbit-bullets button.is-active {
    background-color: #ffffff !important;
}

body.amagdic_invert_colors .amagdic-title-divider {
    background-color: #000 !important;
    height: 2rem;
}
body.amagdic_invert_colors .amagdic-title-divider img {
    display: none;
}

body.amagdic_invert_colors main a:not(.button),
body.amagdic_invert_colors a:hover {
    text-decoration: underline !important;
}

body.amagdic_invert_colors button,
body.amagdic_invert_colors button *,
body.amagdic_invert_colors .button,
body.amagdic_invert_colors .button *,
body.amagdic_invert_colors a.button,
body.amagdic_invert_colors a.button * {
    background-color: #222 !important;
    color: #fff !important;
    border-color: #fff !important;
    text-decoration: none !important;
}

body.amagdic_invert_colors table tbody tr:nth-child(even),
body.amagdic_invert_colors table tbody tr:nth-child(even) *,
body.amagdic_invert_colors table.hover:not(.unstriped) tr:nth-of-type(even):hover,
body.amagdic_invert_colors table.hover:not(.unstriped) tr:nth-of-type(even):hover *{
    background-color:#222 !important
}
body.amagdic_invert_colors table.hover thead tr:hover,
body.amagdic_invert_colors table.hover thead tr:hover *,
body.amagdic_invert_colors table.hover tbody tr:hover,
body.amagdic_invert_colors table.hover tbody tr:hover *,
body.amagdic_invert_colors table.hover tfoot tr:hover,
body.amagdic_invert_colors table.hover tfoot tr:hover *
{
    background-color:#111 !important
}
body.amagdic_invert_colors .amagdic-icon,
body.amagdic_invert_colors .amagdic-icon span {
    background-color: transparent !important;
    color: #fff !important;
    text-decoration: none !important;
}
body.amagdic_invert_colors .float-icons * {
    background-color: #222 !important;
    color: #fff !important;
}

body.amagdic_invert_colors .reveal h2,
body.amagdic_invert_colors .off-canvas h5,
body.amagdic_invert_colors .off-canvas .close-button,
body.amagdic_invert_colors .off-canvas .close-button * {
    color: #fff !important;
    background-color: #222 !important;
}
body.amagdic_invert_colors .reveal .close-button,
body.amagdic_invert_colors .reveal .close-button * {
    background: transparent !important;
    color: #fff !important;
}

body.amagdic_invert_colors .off-canvas ul.menu li a {
    background-color: #000 !important;
    color: #fff !important;
}
body.amagdic_invert_colors .off-canvas .menu li a:hover,
body.amagdic_invert_colors .off-canvas .menu li a:hover * {
    background-color: #222 !important;
    color: #fff !important;
    text-decoration: none !important;
}
body.amagdic_invert_colors .off-canvas ul.menu li a i {
    color: #fff !important;
}
body.amagdic_invert_colors .off-canvas-content {
    background-color: #111 !important;
}

body.amagdic_invert_colors .bg-documents,
body.amagdic_invert_colors .bg-documents *,
body.amagdic_invert_colors .bg-documents::before,
body.amagdic_invert_colors .bg-documents::after {
    background: #222 !important;
}

body.amagdic_invert_colors .amagdic-links-menu,
body.amagdic_invert_colors .amagdic-links-menu *,
body.amagdic_invert_colors .amagdic-links-menu::before,
body.amagdic_invert_colors .amagdic-links-menu::after {
    background: #222 !important;
}

body.amagdic_invert_colors div#info-message.callout.success,
body.amagdic_invert_colors div#info-message.callout.success * {
    background-color: #5da423 !important;
    color: #fff !important;
}
body.amagdic_invert_colors div#error-message.callout.alert,
body.amagdic_invert_colors div#error-message.callout.alert {
    background-color: #c60f13 !important;
    color: #fff !important;
}

/* dyslexic */
body.amagdic_open_dyslexic:not(.fa):not(.fas):not(.far):not(.fal):not(.fab),
body.amagdic_open_dyslexic *:not(.fa):not(.fas):not(.far):not(.fal):not(.fab),
body.amagdic_open_dyslexic main:not(.fa):not(.fas):not(.far):not(.fal):not(.fab),
body.amagdic_open_dyslexic main *:not(.fa):not(.fas):not(.far):not(.fal):not(.fab) {
    font-family: 'OpenDyslexic', sans-serif !important;
    font-weight: normal !important;
    font-style: normal !important;
    line-height: 1.75;
}