/** Globals **/

*, ::before, ::after {
    font-family: Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: black;
}

body {
    padding: 1em;
}

.hidden {
    display: none !important;
}

.rounded {
    border-radius: 5px;
}

.capitalize {
    text-transform: capitalize;
}

.lowercase {
    text-transform: lowercase;
}

.uppercase {
    text-transform: uppercase;
}

.text-centered {
    text-align: center;
}

.inline-block, .display-inline-block {
    display: inline-block;
}

.block, .display-block {
    display: block;
    width: 100%;
}

.inline {
    display: inline;
}

.disabled, [disabled] {
    opacity: 0.3 !important;
}

.disabled, .disabled *, [disabled] {
    cursor: not-allowed !important;
}

.no-border {
    border: none !important;
}


/** Buttons **/

.button {
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;

    display: inline-block;
    text-align: center;
    text-decoration: none;

    margin: 2px 0;

    border: solid 1px transparent;
    border-radius: 4px;

    padding: 0.5em 1em;

    color: #ffffff;
    background-color: #9555af;

    outline: none;
    transition: all .25s;
}

.button.is-small {
    font-size: 0.75em;
}

.button.is-large {
    font-size: 1.25em;
}

.button.icon {
    display: flex;
    align-items: center;
}

.button.is-green,
.list ul.is-green li,
.list ul li.is-green {
    background-color: #2A6D35;
    color: white;
}

.button.is-red,
.list ul.is-red li,
.list ul li.is-red,
.list ul li.is-red a:first-of-type {
    background-color: hsl(358, 55%, 46%) !important;
    color: white !important;
}

.button.is-blue,
.list ul.is-blue li,
.list ul li.is-blue,
.radios .radio.active {
    background: #315B79;
    color: white;
}

.button.is-yellow,
.list ul.is-yellow li,
.list ul li.is-yellow,
.navbar.is-yellow {
    background: hsl(55, 77%, 64%);
    color: black;
}

.button.is-orange {
    background: hsl(34, 100%, 40%);
    color: white;
}


/** Button Hovers **/

.button.is-green:hover {
    background-color: #2A6D35;
}

.button.is-red:hover {
    background-color: hsl(358, 82.5%, 46%);
}

.button.is-blue:hover {
    background: #315B79;
}

.button.is-yellow:hover {
    background: hsl(55, 90%, 64%);
}

.button.is-orange:hover {
    background: hsl(34, 100%, 45%);
}

.button-group .button:not(:last-child) {
    margin-right: 5px;
}


/** Navigation **/

body.navbar.is-fixed-top {
    margin-top: 2.5em;
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    width: 100%;
    text-align: center;
    z-index: 1000;
    height: 2.5em;
    background-color: hsl(0, 0%, 30%);
    color: white;
}

.navbar.is-fixed-top {
    position: fixed;
}

.navbar.is-fixed-bottom {
    position: fixed;
    top: unset;
    bottom: 0;
}

.navbar h3 {
    font-size: 1em;
    margin: 0 30%;
}

.navbar .navbar-start,
.navbar .navbar-end {
    display: flex;
    height: inherit;
    position: absolute;
    top: 0;
}

.navbar .navbar-end {
    right: 0;
}

.navbar .navbar-start .navbar-item,
.navbar .navbar-end .navbar-item {
    border-radius: 0;
    border: none;
}

.navbar .navbar-middle {
    text-align: center;
    flex: 1;
}


/** Collapsible **/

.collapsible {
    margin: 15px 0;
}

.collapsible .header {
    display: flex;
    align-items: center;
    border: 1px solid #315B79;
    background: #315B79;
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

.collapsible .header .title {
    padding: 10px 15px;
    margin: 0;
    font-weight: bold;
    font-size: 1em;
    flex: 1;
    cursor: pointer;
    color: white;

}

.collapsible .header .button {
    border: none;
    padding: 11px 10px;
    border-radius: 0;
    margin: 0;
}

.collapsible .header .button:last-of-type {
    border-radius: 0 5px 0 0;
}

.collapsible .content {
    border: 1px solid #b7b7b7;
    padding: 15px;
    border-top: none;
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
    background-color: white;
}

.collapsible.is-collapsed .header {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.collapsible.is-collapsed .content {
    display: none;
}

.collapsible.error {

}


/** Forms **/

.field {
    margin: 20px 0;
    display: flex;
}

.field > label {
    margin-top: 5px
}

.field.is-stacked {
    flex-wrap: wrap;
}

.field.is-stacked .label {
    width: 100%;
    max-width: 100%;
    padding: 0.5em 0;
}

.field .label {
    flex-basis: 17em;
}


.field .control {
    width: 100%;
}


/** Input **/

.input, div.select select {
    position: relative;
    padding: .5em;
    border-radius: 4px;
    width: 100%;
    font-size: 1.25em;
    box-sizing: border-box;
    border: 1px solid #ddd;
    -webkit-appearance: none;
}

div.select select {
    cursor: pointer;
}

div.select {
    position: relative;
    width: 100%;
}

div.select::after {
    content: '';
    width: 16px;
    height: 16px;
    top: 12px;
    right: 15px;
    border: 4px solid #315B79;
    border-left: none;
    border-top: none;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
}


.file-input {
    position: relative;
    width: 100%;
    display: flex;
}

.CF .file-input {
    display: block;
}

.file-input input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-input button {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.file-input span {
    padding: 10px;
    margin: 2px 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border: 1px solid #dddddd;
    border-left: none;
    word-break: break-all;
}

/** Radios **/

.radios {
    cursor: pointer;
    display: inline-block;
    border: 1px solid #ddd;
    border-radius: 5px;
}


.radios legend{
    color: #315B79;
    background-color: #c0c0c0;
    float: left;
    font-weight: bold;
    padding: 12px 25px;

}

.radios .radio {
    display: inline-block;
    border-right: inherit;
    padding: .75em;
}

.radios .radio:first-of-type {
    border-radius: 4px 0 0 4px;
}

.radios .radio:last-of-type {
    border-right: none;
    border-radius: 0 4px 4px 0;
}

.radios .radio input[type="radio"] {
    display: none;
}


/** List **/

.list {
    width: 100%;
}

.list .search {
    width: 100%;
    padding: .75em;
    border: 1px solid hsl(0, 0%, 85%);
    border-bottom-color: hsl(0, 0%, 40%);
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
}

.list .search + ul {
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    border: 1px solid hsl(0, 0%, 85%);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.list ul li {
    border-top: 1px solid hsl(0, 0%, 85%);
    display: flex;
    padding: .75em 1em;
}

.list ul li:not(.hidden):not(.shift-1):not(.shift-2):not(.shift-3):last-child {
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

.list ul li:not(.hidden):not(.shift-1):not(.shift-2):not(.shift-3):first-child {
    border-top: none;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.list ul li.has-link {
    padding: 0;
}

.list ul li.has-link a {
    padding: .75em 1em;
    transition: all .25s;
    position: relative;
}

.list ul li .button {
    margin: 0;
    border: none;
}

.list ul li.has-link a:first-of-type {
    background-color: hsl(0, 0%, 93%);
    cursor: pointer;
    flex: 1;
    text-decoration: none;
    color: black;
    border-top-left-radius: inherit;
}

.list ul li.has-link a:hover {
    filter: brightness(0.95);
}

.list ul li.has-link a + a {
    border-radius: 0;
}

.list ul li:first-of-type.has-link a + a:last-of-type {
    border-top-right-radius: inherit;
}

.list ul li:last-of-type.has-link a + a:last-of-type {
    border-bottom-right-radius: inherit;
}

.list ul li p {
    margin: .25em 0;
}

.list ul + .list-add {
    margin-top: 5px;
}

.list ul li.divider {
    padding: .5em 1em;
    font-weight: bold;
    border-bottom: inherit;
    background-color: hsl(0, 0%, 92%);
    position: relative;
}

.list ul li.divider .button {
    right: 0;
    position: absolute;
    top: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.list ul li.divider + li {
    border-top: none;
}

.list ul li.shift-1 {
    margin-left: 1em;
    border-left: inherit;
}

.list ul li.shift-2 {
    margin-left: 2em;
    border-left: inherit;
}

.list ul li.shift-3 {
    margin-left: 3em;
    border-left: inherit;
}

.list li .tag {
    position: absolute;
    top: calc(50% - .925em);
    right: 5px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: .35em;
    font-size: .75em;
}

.list ul li.checkbox {
    border: none;
}

.list ul li.checkbox label::before {
    left: 13px;
}


/** Checkbox **/

.checkbox {
    position: relative;
    display: inline-block;
    padding: .5em;
    border: 1px solid hsl(0, 0%, 85%);
    border-radius: 5px;
}

.checkbox label {
    display: inline-block;
    padding: 0 !important;
    padding-left: 26px !important;
}

.checkbox label::before {

    position: absolute;
    content: "";

    display: inline-block;
    top: calc(50% - 8px);

    left: 10px;

    height: 16px;
    width: 16px;

    border: 2px solid;

    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    -ms-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
}

.checkbox input[type="checkbox"]:checked + label::before {
    height: 9px;
    width: 15px;

    border-left: 2px solid;
    border-bottom: 2px solid;
    border-top-color: transparent;
    border-right-color: transparent;
    transform: rotate(-45deg);
}

.checkbox input[type="checkbox"] {
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.help {
    padding: 0 !important;
    margin: .5em 0;
    background-color: transparent !important;
    color: black;
    font-weight: bold;
    width: 100%;
    font-size: .75em;
}

.help.error {
    color: #dc1119;
}

.help.info {
    color: #2b95e4;
}

span.required {
    color: red;
    font-weight: bold;
}


/** Popup **/

.popup {
    display: none;
    box-shadow: 0 2px 6px 0 hsla(0, 0%, 0%, 0.2);
}

.popup.is-active {
    display: block;
}

.popup .popup-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.popup .popup-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate3d(-50.1%, -50.1%, 0px);
    z-index: 1000;
    background-color: white;
    padding: 1em;
    border-radius: 5px;
    min-width: 300px;
    max-width: 400px;
}

.loader {
    display: none;
}

.loader.is-active {
    display: block;
}

.loader .loader-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
}

.loader .loader-content {
    position: fixed;
    top: calc(50% - 1.5rem);
    left: calc(50% - 1.5rem);
    z-index: 1000;
    width: 3rem;
    height: 3rem;
    border: .2em solid #d72027;
    border-right-color: rgb(255, 255, 255);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-sizing: border-box;
}

.panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 2;
}

.panel.has-overlay {
    background-color: rgba(0, 0, 0, 0.2);
}

.panel.is-active {
    display: block;
}

.panel .panel-content {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 30em;
    max-width: 500px;
    border-left: 1px solid grey;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-animation: slide-out-right 0.5s linear;
    -o-animation: slide-out-right 0.5s linear;
    animation: slide-out-right 0.5s linear;
    z-index: 3;
    background-color: white;
}

.panel.is-active .panel-content {
    -webkit-animation: slide-in-right 0.5s linear;
    -o-animation: slide-in-right 0.5s linear;
    animation: slide-in-right 0.5s linear;
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
}

.panel .panel-content .panel-header {
    position: relative;
    width: 100%;
    border-bottom: 1px solid grey;
    display: flex;
}

.panel .panel-content .panel-header .title {
    padding: 1em;
    flex: 1;
}

.panel .panel-content .panel-body {
    padding: 1em;
}

.box {
    position: relative;
    width: 100%;
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #ddd;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: rgb(255, 255, 255);
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
    -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.box.disabled {
    opacity: 0.4;
    cursor: not-allowed;

}

.box.disabled * {
    pointer-events: none;
}

.box.box-slide-left:not(.disabled) {
    transition: all .5s;
}

.box.box-slide-left:not(.disabled):hover {
    margin-left: 1.05em;
    width: calc(100% - 1.05em);
    border-color: #bbb;
}

a.stretched-link::after {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    pointer-events: auto;
    content: '';
    background-color: rgba(0, 0, 0, 0);
}

.only-xs {
    display: block;
}

.only-sm, .only-md, .only-lg, .only-xl {
    display: none;
}

.tabs {
    width: 100%;
}

.tabs .tabs-nav {
    display: none;
}

.tabs .tabs-nav span {
    padding: 1em;
    border: 1px solid #bbb;
    border-bottom: none;
    border-right: none;
    cursor: pointer;
    display: inline-block;
}

.tabs .tabs-nav span.active {
    background-color: #2376b5;
    color: white;
}

.tabs .tabs-nav span.error:not(.active) {
    background-color: hsl(358, 55%, 46%);
    color: white;
}

.tabs .tabs-nav span:first-of-type {
    border-top-left-radius: 5px;
}

.tabs .tabs-nav span:last-of-type {
    border-right: 1px solid #bbb;
    border-top-right-radius: 5px;
}

.tabs .tabs-mobile-nav button {
    padding: 1em;
    width: 100%;
    cursor: pointer;
    /*background: #315B79;*/
    color: white;
}

.tabs .tab {
    border: 1px solid #bbb;
    display: none;
    min-height: 250px;
    border-radius: 5px 5px 0 0;
    padding: 1em;
}

.tabs .tab.active {
    display: block;
}

.ajax-search .list.results {
    margin-top: 15px;
    max-height: 200px;
    overflow: auto;
}

.ajax-search .list.results ul li:hover {
    cursor: pointer;
    background-color: #315b79;
    color: white;
}

div.list.single-checkbox li.checkbox {
    display: block;
}

/*span.helper-text {*/
/*    position: relative;*/
/*}*/

/*span.helper-text .text {*/
/*    display: none;*/
/*    position: absolute;*/
/*    left: 33px;*/
/*    top: 10px;*/
/*    !*background-color: rgba(49, 91, 121, 1);*!*/
/*    background-color: rgb(0 0 0 / 70%);*/
/*    color: white;*/
/*    z-index: 999999;*/
/*    padding: 8px 9px;*/
/*    border-radius: 5px;*/
/*    width: max-content;*/
/*    font-size: 13px;*/
/*}*/

/*span.helper-text .info-icon {*/
/*    position: relative;*/
/*    top: 1px;*/
/*    padding: 2px 8px;*/
/*    color: #1835ff;*/
/*    background: rgba(0,0,0,0.1);*/
/*    border-radius: 50px;*/
/*    margin-left: 8px;*/
/*    cursor: pointer;*/
/*}*/

.field .control {
    position: relative;
}

span.helper-text {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
}

.style-dropdown span.helper-text {
    right: 43px;
}

.style-dynamic-list span.helper-text {
    right: 4px;
    top: 22px;
}

.style-dynamic-list div.list {
    padding-right: 27px;
}

span.helper-text .info-icon {
    position: relative;
    top: 1px;
    padding: 2px 8px;
    color: #fff;
    background: rgb(0 0 0 / 50%);
    border-radius: 50px;
    margin-left: 8px;
    cursor: pointer;
}

span.helper-text .text {
    display: none;
    position: absolute;
    right: 33px;
    top: 10px;
    /*background-color: rgba(49, 91, 121, 1);*/
    background-color: rgb(0 0 0 / 70%);
    color: white;
    z-index: 999999;
    padding: 8px 9px;
    border-radius: 5px;
    width: 78vw;
    font-size: 13px;
}
.style-dropdown span.helper-text .text {
    width: 70vw;
}

@supports (-webkit-touch-callout: none) {
    /* CSS specific to iOS devices */
    span.helper-text .info-icon {
        padding: 6px 8px;
        background-color: transparent;
    }
    span.helper-text .text {
        right: 44px;
        top: 18px;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes slide-in-right {
    0% {
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -ms-transform: translateX(100%);
        -o-transform: translateX(100%);
        transform: translateX(100%);
    }
    100% {
        -webkit-transform: translateX(0%);
        -moz-transform: translateX(0%);
        -ms-transform: translateX(0%);
        -o-transform: translateX(0%);
        transform: translateX(0%);
    }

}

@keyframes slide-out-right {
    0% {
        -webkit-transform: translateX(0%);
        -moz-transform: translateX(0%);
        -ms-transform: translateX(0%);
        -o-transform: translateX(0%);
        transform: translateX(0%);
    }
    100% {
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -ms-transform: translateX(100%);
        -o-transform: translateX(100%);
        transform: translateX(100%);
    }
}

@media all and (max-width: 800px) {
    .field {
        flex-wrap: wrap;
    }

    .field .label {
        width: 100%;
        max-width: 100%;
        padding: 0.5em 0;
    }
}

@media (min-width: 576px) {
    .only-xs {
        display: none;
    }

    .only-sm {
        display: block;
    }
}

@media (min-width: 768px) {
    .only-xs, .only-sm {
        display: none;
    }

    .only-md {
        display: block;
    }
}

@media (min-width: 992px) {
    .only-xs, .only-sm, .only-md {
        display: none;
    }

    .only-lg {
        display: block;
    }

    .tabs .tabs-nav {
        display: block;
    }

    .tabs .tabs-mobile-nav {
        /*display: none;*/
    }

    .tabs .tabs-mobile-nav button {
        width: 50%;
    }



    .tabs .tab {
        border-top-left-radius: 0;
    }
}

@media (min-width: 1200px) {
    .only-xs, .only-sm, .only-md, .only-lg {
        display: none;
    }

    .only-xl {
        display: block;
    }
}