/*
Theme Name: Nercia
Description: Anpassad version av Avada för Nercia
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/
/*EDITS*/
.page-template-utbildning #main { padding-left: 0px !important; padding-right: 0px !important; }

@media only screen and (min-width: 1199px) {
    .home .fusion-slider-revolution.rev_slider_wrapper {
        min-height: 600px;
    }
}

.page:not(.home) .fusion-slider-revolution.rev_slider_wrapper {
    margin-bottom: 25px;
}

/* NERCIA ICONS */
@font-face {
    font-family: 'Nercia Icons';
    src: url('fonts/nercia-icons.eot');
    src: url('fonts/nercia-icons.eot?#iefix') format('embedded-opentype'),
         url('fonts/nercia-icons.woff') format('woff'),
         url('fonts/nercia-icons.ttf') format('truetype'),
         url('fonts/nercia-icons.svg#nercia-icons') format('svg');
    font-weight: normal;
    font-style: normal;
}
[class*='nercicon-'] {
    padding-right: 5px;
    position: relative;
    top: 2px;
    z-index: 0;
}
[class*='nercicon-']:before {
    display: inline-block;
    font-family: 'Nercia Icons';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}
.nercicon-calendar:before{content:'\0041';}
.nercicon-calendar-search:before{content:'\0042';}
.nercicon-pin:before{content:'\0043';}
.nercicon-cog:before{content:'\0044';}
.nercicon-tools:before{content:'\0045';}
.nercicon-day:before{content:'\0046';}
.nercicon-arrow:before{content:'\0047';}
.nercicon-book:before{content:'\0048';}



/* no ancestors in main menu highlighted */
ul.fusion-menu > li.current-page-ancestor > a:not(:hover) {
    border-color: transparent !important;
    color: #333 !important;
}



.fusion-header {
    padding-left: 3%;
    padding-right: 3%;
}

#nercia_map {
    min-height: 500px;
    margin-left: -3.1914893617021%;
    margin-right: -3.1914893617021%;
}





.fusion-button.nercia--button .fusion-button-text, 
.fusion-button.nercia--button i {color:#ffffff;}
.fusion-button.nercia--button {border-width:0px;border-color:#ffffff;}
.fusion-button.nercia--button .fusion-button-icon-divider{border-color:#ffffff;}
.fusion-button.nercia--button:hover .fusion-button-text, 
.fusion-button.nercia--button:hover i,
.fusion-button.nercia--button:focus .fusion-button-text,
.fusion-button.nercia--button:focus i,
.fusion-button.nercia--button:active .fusion-button-text,
.fusion-button.nercia--button:active{color:#ffffff;}
.fusion-button.nercia--button:hover, .fusion-button.nercia--button:focus, 
.fusion-button.nercia--button:active{border-width:0px;border-color:#ffffff;}
.fusion-button.nercia--button:hover .fusion-button-icon-divider, 
.fusion-button.nercia--button:hover .fusion-button-icon-divider, 
.fusion-button.nercia--button:active .fusion-button-icon-divider{border-color:#ffffff;}
.fusion-button.nercia--button{width:auto;}

.breadcrumb-diplomprogram { text-align: left !important; }



span.wpcf7-form-control-wrap input { margin-bottom: 20px; height: 50px !important; font-size: 105% !important; color: black !important; }







/* .fusion-main-menu .sub-menu li a:hover, .fusion-megamenu-title a:hover, .fusion-megamenu .current_page_item .fusion-megamenu-title a, .fusion-megamenu .sub-menu .current-menu-item a */
.current-page-ancestor.fusion-megamenu-submenu .fusion-megamenu-title a {
    color: #0082d3;
}

ul.fusion-menu > li.current-page-ancestor > a { border-color: #0082d3; color: #0082d3; }





/* CUSTOM */
.nercia-boxes {
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 25px;
    grid-row-gap: 25px;
    
    min-height: 0;
    min-width: 0;
}

.nercia-boxes .nercia--box {
    background: #f9f9f9;
    transition: color 200ms ease-out;
    display: flex;
    flex-flow: row wrap;	
    place-content: flex-start;
    
    /* min-height: 400px; */
    overflow: hidden;
    min-width: 0;
    
    user-select: none;
    position: relative;
}

.nercia-boxes .nercia--box a { height: 100%; }

.nercia-boxes .nercia--box.white {
    background: #fff;
}

.nercia-boxes.news .nercia--box {
    min-height: 520px;
}

/*
.nercia-boxes .nercia--box a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    transition: background 400ms ease;
}
.nercia-boxes .nercia--box:hover a:after {
    content: "";
    position: absolute;
    background: rgba(62, 129, 195, .08);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
*/

.nercia-boxes .nercia--box { 
    cursor: pointer; 
    transition: background 200ms ease;
}

.nercia-boxes .nercia--box:hover {
    background: rgba(62, 129, 195, .08);
}

.nercia-boxes .nercia--box.cta {
    place-content: center;
    color: white;
}

.nercia-boxes .nercia--box.cta h3 {
    color: white;
    font-size: 36px;
    line-height: normal;
}

.nercia-boxes .nercia--box.cta.newsletter {
    background: transparent url( 'img/box-bg_newsletter.jpg' ) no-repeat right 90% / cover;
    grid-column: 3;
    grid-row: 1;
    place-content: flex-end;
}

.nercia-boxes .nercia--box.cta.newsletter .box--content {
    font-size: 16px;
}



.nercia-boxes .nercia--box.cta.education {
    background: transparent url( 'img/box-bg_education.jpg' ) no-repeat center center / cover;
    grid-column: 2 / span 2;
    place-items: center;
    text-align: center;
    padding: 2% 8%;
    
    font-size: 18px;
    line-height: 28px;
}

.nercia-boxes .nercia--box.cta.education a,
.nercia-boxes .nercia--box.cta.education a:hover {
    color: white;
    font-size: 18px;
    text-decoration: underline;
}

.nercia-boxes :first-child.nercia--box.cta.education {
    grid-column: 1 / span 2;
}

.nercia-boxes .nercia--box .box--meta {
    font-size: 12px;
    margin-bottom: 15px;
}
.nercia-boxes .nercia--box .box--meta i.fa {
    margin-right: 2px;
}
.nercia-boxes .nercia--box .box--meta [class^="education--"]:not(:last-child) {
    margin-right: 12px;
}


.nercia-boxes .nercia--box .box--form {
    place-self: flex-end;
    flex: 1 1 100%;
    padding: 15px;
}

.nercia-boxes .nercia--box .box--form button {
    margin: 15px auto 5px auto;
    display: block;
}
.nercia-boxes .nercia--box.cta.newsletter .box--form button {
    width: 100%;
    margin-top: 8px;
}


.nercia-boxes .nercia--box .box--form input[type="email"] {
    color: black;
    padding: 18px 8px;
    font-family: inherit;
    outline: none;
    font-size: 16px;
}


.nercia-boxes .nercia--box:not(.cta) .box--image img {
    display: block;
    max-width: 100%;
    width: 100%;
/* 	border-bottom: 6px solid #3e81c3; */
}

.nercia-boxes .nercia--box .box--content-wrapper {
    padding: 15px 15px 25px 15px;
    overflow: auto;
}

.nercia-boxes .nercia--box .box--content-wrapper h3 { 
    overflow-wrap: break-word; 
    hyphens: auto; 
    transition: none; 
    
    font-size: 17px; 
    line-height: 25px; 
    font-weight: 700;
    display: flex;
    flex-flow: row nowrap;
}

.nercia-boxes .nercia--box .box--content-wrapper h3 > span {
    justify-self: flex-start;
    flex: 1;
}
.nercia-boxes .nercia--box .box--content-wrapper h3 > span + span {
    flex-shrink: 0;
    flex: none;
}

.nercia-boxes .nercia--box .box--image { position: relative; }

.nercia-boxes.facet .nercia--box .box--content-wrapper { border-top: 4px solid transparent; }
.nercia-boxes.facet .nercia--box[data-edu-type="au"] .box--content-wrapper { border-color: #007ec1; }
.nercia-boxes.facet .nercia--box[data-edu-type="fu"] .box--content-wrapper { border-color: #007ec1; }
.nercia-boxes.facet .nercia--box[data-edu-type="yv"] .box--content-wrapper { border-color: #007ec1; }
.nercia-boxes.facet .nercia--box[data-edu-type="yh"] .box--content-wrapper { border-color: #007ec1; }


.nercia-boxes .nercia--box:hover:not(:focus):not(.cta) a,
.nercia-boxes .nercia--box:hover:not(:focus):not(.cta) h3 { 
    color: black;
}

.nercia-boxes .nercia--box:hover:not(:focus):not(.cta) {
    transition: color 200ms ease-in;
}



@media only screen and (min-width: 650px) {
    .nercia-boxes {
        grid-template-columns: 1fr 1fr;
    }
    .nercia-boxes:not(.facet) .nercia--box {
        margin-bottom: 25px;
    }
    .nercia-boxes:not(.facet) .nercia--box:first-child {
        grid-column: 1 / span 2;
    }
}

@media only screen and (min-width: 800px) {
    .nercia-boxes:not(.facet) {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .nercia-boxes:not(.facet) .nercia--box:first-child {
        grid-column:auto;
    }
}

@media only screen and (min-width: 1200px) {
    .nercia-boxes {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .nercia-boxes .nercia--box.cta.newsletter {
        grid-column: unset;
        grid-row: unset;
    }
    
    .nercia-boxes .nercia--box.cta.education {
        grid-column: 1 / span 2;
    }
}
/* @media only screen and (min-width: 1921px) {
    .nercia-boxes.facet {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
} */






/**
 * Nercia utbildningsväljare
 */
.page-template-utbildning #main { padding: 0; }
.page-template-utbildning #main .fusion-row { max-width: 100%; }
.page-template-utbildning .fusion-header.fusion-sticky-shadow { box-shadow: none; }



.education {
  display: flex;
  flex-flow: row wrap;
  position: relative;
  align-items: flex-start;
  align-content: flex-start;
}
.education .search {
  flex: 0 1 auto;
  display: flex;
  width: 100%;
  background: #fff;
  justify-content: center;
  padding: 90px 10px;
  border-bottom: 1px solid #ddd;
}
.education .search input {
  max-width: 80%;
  width: 400px;
  height: 90px;
  border: none;
  outline: none;
  padding: 10px 20px;
  font-size: 50px;
  background: transparent;
  color: black;
}
.education .search input::placeholder {
  color: #ccc;
}

/* FILTERS */
.education .filters {
    flex: 1 1 100%;
    align-items: flex-start;
    justify-content: flex-start;
    position: -webkit-sticky;
    position: sticky;
    max-width: 100%;
    top: 0;
    background: white;
    z-index: 120;
}
body.admin-bar .education .filters {
    top: 134px;
}
@media (max-width: 782px) {
    body.admin-bar .education .filters {
        top: 46px;
    }	
}
@media (min-width: 782px) {
    body.admin-bar .education .filters {
        top: 32px;
    }	
}
@media (min-width: 950px) {
    body.admin-bar .education .filters {
        top: 134px;
    }	
}
.education .filters .main--filters {
  padding: 20px 30px;
  border-top: 2px solid transparent;
  border-bottom: 1px solid #ccc;
  position: relative;
}

.education .filters .main--filters .filter--wrapper {
    display: flex;
    align-items: center;
    flex: 1;
}

.education .filters .main--filters .filter--items {
  justify-content: flex-start;
  display: flex;
  flex: 1 0 auto;
      margin-top: 2px;
}
.education .filters .main--filters .more--filters {
    flex: 0 0 auto;
    align-self: center;
}
.education .filters .filter {
  display: inline-block;
}
.education .filters .main--filters .filter {
    margin-right: 30px;
}
.education .filters .extended--filters [data-type="nercia_cb"] {
    columns: 4;
    column-gap: 20px;
}
.education .filters .extended--filters .filter {
    display: block;
    width: 100%;
    break-inside: avoid;
    page-break-inside: avoid;
}

.education .filters .extended--filters {
  display: none;
  padding: 40px 30px;
  border-bottom: 1px solid #ccc;
}

.filter--wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}


.facetwp-facet.facetwp-type-nercia_cb {
    margin: 0;
    flex: 1 1 100%;
}


.filters .filter.switch {
    margin: 0 0 10px 0;
}
.filter.switch .switch-pill {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.filter.switch.title--after .switch-pill {
    justify-content: flex-end;
}
.filter.switch.title--before .switch-pill {
    justify-content: flex-start;
}
.filter.switch.title--after .switch-pill .filter--title { margin-right: 10px; }
.filter.switch.title--before .switch-pill .filter--title { margin-left: 10px; }

.filters .main--filters .filter--items .filter--title  {
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    margin-top: 2px;
}

.filter.switch[data-value="anpassad"] .filter--title { border-color: #ac4971; }
.filter.switch[data-value="oppen"] .filter--title { border-color: #0872d3; }
.filter.switch[data-value="yrkes"] .filter--title { border-color: #1aac99; }
.filter.switch[data-value="yh"] .filter--title { border-color: #ac1a8a; }
.filter.switch[data-value="yv"] .filter--title { border-color: #6a1aac; }

.filter.switch .switch-pill input[type="checkbox"] {
    display: none;
}
.filter.switch.disabled {
    opacity: .2;
}
.filter.switch:not(.disabled) .switch-pill input[type="checkbox"]:checked:not(:disabled) + .toggle--pill,
.filter.switch.checked input[type="checkbox"] + .toggle--pill {
    background: #0082d3;
}
.filter.switch[data-value="anpassad"]:not(.disabled) .switch-pill input[type="checkbox"]:checked:not(:disabled) + .toggle--pill,
.filter.switch[data-value="anpassad"].checked input[type="checkbox"] + .toggle--pill {
    background: #ac4971;
}
.filter.switch[data-value="oppen"]:not(.disabled) .switch-pill input[type="checkbox"]:checked:not(:disabled) + .toggle--pill,
.filter.switch[data-value="oppen"].checked input[type="checkbox"] + .toggle--pill {
    background: #0872d3;
}
.filter.switch[data-value="yrkes"]:not(.disabled) .switch-pill input[type="checkbox"]:checked:not(:disabled) + .toggle--pill,
.filter.switch[data-value="yrkes"].checked input[type="checkbox"] + .toggle--pill {
    background: #1aac99;
}
.filter.switch[data-value="yv"]:not(.disabled) .switch-pill input[type="checkbox"]:checked:not(:disabled) + .toggle--pill,
.filter.switch[data-value="yv"].checked input[type="checkbox"] + .toggle--pill {
    background: #6a1aac;
}
.filter.switch[data-value="yh"]:not(.disabled) .switch-pill input[type="checkbox"]:checked:not(:disabled) + .toggle--pill,
.filter.switch[data-value="yh"].checked input[type="checkbox"] + .toggle--pill {
    background: #ac1a8a;
}

/*
.facetwp-checkbox {
    display: inline-block;
    margin-right: 20px;
}
*/



.extended--filters .filter--items {
    display: flex;
    align-content: center;
    justify-content: center;
}

.filter--items .facetwp-facet {
    margin: 0;
}



.filters button { height: 25px; }


.filter.switch:not(.disabled) .switch-pill input[type="checkbox"]:checked:not(:disabled) + .toggle--pill:after,
.filter.switch.checked input[type="checkbox"] + .toggle--pill:after {
    left: 23px;
}
.switch-pill .toggle--pill {
    box-shadow: 0px 1px 5px rgba(0,0,0,.2) inset;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: #DDDDDD;
    color: transparent;
    cursor: pointer;
    display: inline-block;
    position: relative;
    text-indent: 100%;
    width: 44px;
    height: 24px;
    -webkit-transition: all 400ms ease 0s;
    -moz-transition: all 400ms ease 0s;
    transition: all 400ms ease 0s;
}
.switch-pill .toggle--pill:after {
    position: absolute;
    top: 2px;
    left: 2px;
    content: "";
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background: white;
    display: block;
    width: 20px;
    height: 20px;
    -webkit-transition: left 400ms cubic-bezier(0.68, -0.3, 0.265, 1.3) 0s;
    -moz-transition: left 400ms cubic-bezier(0.68, -0.3, 0.265, 1.3) 0s;
    transition: left 400ms cubic-bezier(0.68, -0.3, 0.265, 1.3) 0s;
}



/* LOADING */
.nercia--loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    background: transparent url(img/loading.svg) no-repeat;
    background-position: 10px calc(100% - 10px);
    z-index: 91900;
    background-size: 20px;
}


/**
 * BUTTONS
 */
.education button.reset[disabled] {
    background: #f6f6f6;
    color: #ccc;
    cursor: not-allowed;
}
.education button.reset {
    background: #484848;
    border: none;
    color: white;
    padding: 4px 14px;
    border-radius: 25px;
    height: 27px;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    font-size: 10px;
    font-family: Ubuntu;
    cursor: pointer;
    opacity: 1;
    margin-right: 15px;
}
.education button.reset:not([disabled]):hover {
    opacity: .8;
}
.education button.reset:active {
/* 	background: rgba(0, 131, 212, 0.81); */
}

.education button.more--filters i:before {
    transition: transform 400ms ease;
    transform-origin: 50% 50%;
}
.education button.more--filters.up i:before {
    transform: rotate(-180deg);
}
.education button.more--filters {
    background: none;
    outline: none;
    font-family: Ubuntu;
    border: none;
    font-weight: 300;
    font-size: 14.5px;
    cursor: pointer;
/*     color: #333; */
    color: #fff;
    background: #0082d3;
    padding: 8px 18px;
    border-radius: 2px;
    width: auto;
    min-width: 190px;
    height: auto;
    text-align: center;
    vertical-align: middle;
    margin: 0;
}
.education button.more--filters span {
    margin-right: 5px;
}
.education button.more--filters i {
    font-size: 10px;
    top: 1px;
}



/* RESULTS */
section#edu-results {
    width: 100%;
    transition: opacity 250ms ease;
    padding: 1% 3%;
}
section#edu-results .spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
}
section#edu-results .spotlight .edu {
    min-height: 200px;
    width: 100%;
    justify-content: center;
    align-content: center;
    align-items: center;
    display: flex;
    background: yellow;
}
section#edu-results .spotlight .edu:nth-child(odd) {
    background: #0082d3;
}
section#edu-results .results--counter { display: none; max-width: 1200px; margin: 0 auto; width: 100%; }
section#edu-results .results--counter .count { font-weight: bold; }
section#edu-results .educations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    margin: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
}
section#edu-results .educations > a  {
    display: flex;
    min-height: 120px;
    height: 100%;
    background: #f6f6f6;
    color: black;
    overflow: hidden;
    max-width: 100%;
    flex-direction: column;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    flex-wrap: nowrap;
}

/* education title */
.edu .edu--title {
    padding: 26px 15px 0 24px;
    word-break: break-word;
}
.edu .edu--title h2 { 
    margin: 0; 
    color: inherit;
    display: flex;
    flex-flow: row nowrap;
    /*
    font-size: 17px !important;
    line-height: 25px !important;
    font-weight: 700 !important;
    */
}

.edu--is-online {
    background: #0872d3;
    color: white;
    padding: 6px 12px !important;
    border-radius: 4px;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    vertical-align: middle;
    margin-top: 3px;
    text-transform: uppercase;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
    justify-self: flex-end;
    align-self: flex-start;
}
.edu--title h2 > span:first-child {
    justify-self: flex-start;
    flex: 1;
}
.education .edu:hover .edu--is-online,
.nercia-boxes .nercia--box:hover .edu--is-online {
    background: white;
    color: black;
}

.box--title .edu--is-online { margin-left: 20px; }

.facetwp-counter {
    float: right;
    opacity: .5;
}

/* education desc/meta */
.edu .edu--desc {
    padding: 18px 24px 34px 24px;
    flex: 1 1 100%;
}

.edu .edu--meta {
    padding: 10px 24px 16px 24px;
}
.edu .edu--meta span { display: block; margin-bottom: 3px; }


/* MISC */
#education-selector { 
    float: left; 
    width: 100%; 
    order: 10;
}
#education-selector.fade-in {
    opacity:0; 
    animation:fadeIn ease-in 1;

    animation-fill-mode:forwards;

    animation-duration:700ms;
    animation-delay: 1s
}

article.post[class*="type-"] {
    margin-bottom: 0;
}

.education .buttons { 
    user-select: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0); 
}




.educations .edu {
    display: flex;
    flex-flow: column;
    height: 100%;
    min-height: 430px;
    border-bottom: 4px solid transparent;
    transition: color 400ms ease, background 400ms ease;
    position: relative;
}

.educations .edu:hover { color: white; }
.educations .edu.anpassad:hover { background: #ac4971 linear-gradient(135deg, rgba(255,255,255,0) 0%,rgba(255,255,255,.1) 100%); }
.educations .edu.oppen:hover { background: #0872d3 linear-gradient(135deg, rgba(255,255,255,0) 0%,rgba(255,255,255,.1) 100%); }
.educations .edu.yrkes:hover { background: #1aac99 linear-gradient(135deg, rgba(255,255,255,0) 0%,rgba(255,255,255,.1) 100%); }
.educations .edu.yrkesvux:hover { background: #6a1aac linear-gradient(135deg, rgba(255,255,255,0) 0%,rgba(255,255,255,.1) 100%); }
.educations .edu.yrkeshogskola:hover { background: #ac1a8a linear-gradient(135deg, rgba(255,255,255,0) 0%,rgba(255,255,255,.1) 100%); }



.educations .edu .edu--type { 
    text-align: right; 
    color: white;
    min-height: 40px;
    display: flex;
    justify-content: flex-end;
    padding: 0 10px;
    z-index: 3;
}

.educations .edu.anpassad .edu--type { background-color: #ac4971; }
.educations .edu.oppen .edu--type { background-color: #0872d3; }
.educations .edu.yrkes .edu--type { background-color: #1aac99; }
.educations .edu.yrkesvux .edu--type { background-color: #6a1aac; }
.educations .edu.yrkeshogskola .edu--type { background-color: #ac1a8a; }

.educations .edu .edu--type span.type { font-size: 12px; }
.educations .edu .edu--type span.type i { padding-left: 10px; font-size: 20px; top: 6px; }

.educations .edu .edu--image .edu--bg::before {
    content: "";
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding-bottom: 56.25%;
}
.educations .edu .edu--image { width: 100%; background-color: inherit; }
.educations .edu .edu--image .edu--bg { 
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center center;
}

.educations .edu.oppen {
    border-color: #0872d3;
}
.educations .edu.anpassad {
    border-color: #ac4971;
}
.educations .edu.yrkes {
    border-color: #1aac99;
}
.educations .edu.yrkesvux {
    border-color: #6a1aac;
}
.educations .edu.yrkeshogskola {
    border-color: #ac1a8a;
}

/* open applications */
span.application--open {
    font-size: 11px;
    color: white;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(-36deg);
    -webkit-transform: rotate(-36deg);
    width: 200px;
    display: block;
    background: #d60031;
    position: absolute;
    top: 27px;
    left: -50px;
    letter-spacing: 0.2px;
    font-weight: 800;
    z-index: 9999999;
    padding: 6px 10px;
}

.edu span.application--open {
    top: 65px;
    z-index: 2;
}
/*
span.application--open::before {
    content: "";
    position: absolute; left: 0px; top: 100%;
    z-index: -1;
    border-left: 3px solid #006da7;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #006da7;
}
span.application--open::after {
    content: "";
    position: absolute; right: 0px; top: 100%;
    z-index: -1;
    border-left: 3px solid transparent;
    border-right: 3px solid #006da7;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #006da7;
}
*/





@media (min-width: 1200px) {
    section#edu-results .educations {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1025px) {
    .education .filters { top: 102px; }
}
@media (min-width: 1025px) and (max-width: 1366px) {
    .education .filters { top: 0; }
}
@media (min-width: 768px) and (max-width: 1050px) {
    .education .filters .extended--filters [data-type="nercia_cb"] {
        columns: 3;
        column-gap: 20px;
    }
    .education .filters .main--filters .filter--wrapper {
        display: block;
    }
    .education .buttons { margin-top: 20px; }

}
@media (min-width: 768px) and (max-width: 949px) {
    .education .filters { top: 0; } 	
}
@media (min-width: 520px) and (max-width: 767px) {
    .education .filters .main--filters .filter--items {
        flex: none;
    }
    .education .filters .main--filters .filter--wrapper {
    
    }
    .education .buttons {
        justify-content: flex-end;
        flex: 1;
        display: flex;
    }
    .filters .main--filters .facetwp-facet {
        flex: 1;
        flex-flow: column wrap;
        display: flex;
    }

    .education .filters .extended--filters .filter {
        display: block;
    }
    .education .filters .extended--filters [data-type="nercia_cb"] {
        columns: 2;
        column-gap: 20px;
    }
}
@media (min-width: 550px) and (max-width: 1200px) {
    section#edu-results .educations {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 320px) and (max-width: 550px) {
    section#edu-results .educations {
        grid-template-columns: repeat(1, 1fr);
    }
}
@media (min-width: 540px) {

}
@media (min-width: 320px) and (max-width: 520px) {
    .education .filters .main--filters .filter--wrapper {
        display: block;
    }
    .education .buttons {
        flex: none;
         margin-top: 20px;
    }
    .education .filters .extended--filters [data-type="nercia_cb"] {
        columns: unset;
    }
    .education .filters .filter {
        display: block;
    }
    .education .filters {
        position: static;
    }
}


/* CF7 custom edits */
.wpcf7-form .wpcf7-select-parent .wpcf7-form-control.wpcf7-select {
    height: 50px;
    color: #000;
}

#wrapper .select-arrow {
    line-height: 47px !important;
    height: 47px !important;
    width: 47px !important;
}



/* edits 2022 */
.facetwp-facet-nercia_edu_pager {
    width: 100%;
    margin: 20px 8px;
}
.facetwp-facet-nercia_edu_pager .facetwp-load-more {
    border: none;
    margin: 0 8px 0 auto;
    display: block;
    background: #007ec1;
    color: white;
    padding: 12px 20px;
}
.facetwp-facet-nercia_edu_pager .facetwp-load-more.facetwp-hidden {
    display: none;
}
.nercia-boxes.facet+.nercia-boxes.facet { margin-top: 25px; }
.tfs-slider .slides .background-image { background-size: contain; }

/* test fix for Avada forcing width larger than site-width on certain flex cols */
.fusion-flex-container.fusion-fullwidth .fusion-row {
    max-width: var(--site_width) !important;
    margin-right: auto !important;
    margin-left: auto !important;
}