/*======================================
  Selectric
======================================*/

.selectric-wrapper {
    position: relative;
    cursor: pointer;
}

.selectric-responsive {
    width: 100%;
}

.selectric {
    border: {
        borderWidth
    }
    px solid {
        secondaryColor
    }
    ;
    background: {
        baseColor
    }
    ;
    position: relative;
    border-radius: {
        borderRadius
    }
    px;
}

.selectric .label {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    margin: 0 {
        innerHeight
    }
    px 0 {
        indent
    }
    px;
    font-size: 15px;
    padding-top: .34375rem;
    padding-bottom: .34375rem;
    line-height: {
        innerHeight
    }
    px;
    color: {
        labelColor
    }
    ;
    height: {
        innerHeight
    }
    px;
    font-family: "PFAdamantSansProMedium",
    Georgia;
}

.seminarfinder .selectric .label {
    padding-top: 1.09375rem;
    padding-bottom: 1.09375rem;
}

.selectric .label::after {
    content: ' ▾' !important;
    position: relative !important;
    right: 0 !important;
}

.seminarfinder .special-filter .label {
    font-size: 15px;
}

.selectric .button {
    background: {
        buttonBgColor
    }
    ;
    border-radius: {
        buttonRadius
    }
    px;
    display: block;
    position: absolute;
    right: {
        buttonPosition
    }
    px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: {
        buttonSize
    }
    px;
    height: {
        buttonSize
    }
    px;
    color: {
        buttonColor
    }
    ;
    text-align: center;
    font: 0/0 a;
    *font: {
        buttonSize
    }
    px/ {
        buttonSize
    }
    px Lucida Sans Unicode,
    Arial Unicode MS,
    Arial;
}

.selectric .button:after {
    content: "> ";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-top-color: {
        buttonColor
    }
    ;
    border-bottom: none;
}

.selectric-focus .selectric {
    border-color: #AAA;
}

.selectric-hover .selectric {
    border-color: {
        hoverSecondaryColor
    }
    ;
}

.selectric-hover .selectric .button {
    color: {
        hoverSecondaryColor
    }
    ;
}

.selectric-hover .selectric .button:after {
    border-top-color: {
        hoverSecondaryColor
    }
    ;
}

.selectric-open {
    z-index: 9999;
}

.selectric-open .selectric {
    border-color: {
        hoverSecondaryColor
    }
    ;
    background: {
        hoverBaseColor
    }
    ;
}

.selectric-open .selectric-items {
    display: block;
}

.selectric-disabled {
    filter: alpha(opacity=50);
    opacity: 0.5;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectric-hide-select {
    position: relative;
    overflow: hidden;
    width: 0;
    height: 0;
}

.selectric-hide-select select {
    position: absolute;
    left: -100%;
}

.selectric-hide-select.selectric-is-native {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.selectric-hide-select.selectric-is-native select {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    border: none;
    z-index: 1;
    box-sizing: border-box;
    opacity: 0;
}

.selectric-input {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 1px !important;
    height: 1px !important;
    outline: none !important;
    border: none !important;
    *font: 0/0 a !important;
    background: none !important;
}

.selectric-temp-show {
    position: absolute !important;
    visibility: hidden !important;
    display: block !important;
}


/* Items box */

.selectric-items {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    z-index: -1;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15)
}

.selectric-items .selectric-scroll {
    height: 100%;
    overflow: auto;
}

.selectric-above .selectric-items {
    top: auto;
    bottom: 100%;
}

.selectric-items ul {
    border: 1px solid #00465A;
    padding: 5px 0;
}

.selectric-items ul,
.selectric-items li {
    list-style: none;
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.3rem;
    min-height: 20px;
    text-align: center;
}

.selectric-items li {
    display: block;
    padding: 14px 8px;
    border-top: 1px solid #FFF;
    position: relative;
    color: #00465a;
    cursor: pointer;
    hyphens: auto;
    word-wrap: break-word;
}

.selectric-items li::after {
    content: "";
    background: #C8C8C8;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 50%;
    margin-left: 25%;
}

.selectric-items li:last-child::after {
    background: none;
}

.seminarfinder .selectric-items li:first-child {
    font-family: 'PFAdamantSansPro';
    font-weight: bold;
}

.selectric-items li.selected {
    color: #00A050;
}

.selectric-items li.highlighted {
    color: #00A050;
}

.selectric-items li:hover {
    color: #00A050;
}

.selectric-items .disabled {
    filter: alpha(opacity=50);
    opacity: 0.5;
    cursor: default !important;
    background: none !important;
    color: #666 !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectric-items .selectric-group .selectric-group-label {
    font-weight: bold;
    padding-left: 10px;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: none;
    color: #444;
}

.selectric-items .selectric-group.disabled li {
    filter: alpha(opacity=100);
    opacity: 1;
}

.selectric-items .selectric-group li {
    padding-left: 25px;
}


/* Styling im Suchergebnis / Merkzettel */

.result-date-select form .selectric-bfe-select .selectric .label {
    font-size: 1.5625rem;
    color: #00465A;
    border: 1px solid #00465A;
}


/* Styling im Produktseite */

.booking-options form .selectric-bfe-select .selectric .label {
    font-size: 1.5625rem;
    color: #00465A;
    border: 1px solid #00465A;
    padding-top: .34375rem;
    padding-bottom: .34375rem;
    margin-bottom: .3125rem;
}


/* Responsive Media Queries */

@media (min-width: 576px) {
    .selectric .label {
        font-size: 18px;
    }
}

@media (min-width: 768px) {
    .selectric .label {
        font-size: 20px;
    }
    .seminarfinder .special-filter .label {
        font-size: 15px;
    }
}

@media (min-width: 992px) {
    .selectric .label {
        font-size: 27px;
    }
    .seminarfinder .special-filter .label {
        font-size: 23px;
    }
}