/**
 * @author zhixin wen <wenzhixin2010@gmail.com>
 */

.ms-parent {
    display: inline-block;
    position: relative;
    vertical-align: top;
}

.ms-choice {
    display: block;
    width: 100%;
    height: 20px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #aaa;
    text-align: left;
    white-space: nowrap;
    line-height: 20px;
    color: #444;
    text-decoration: none;
    background-color: #fff;
}

.ms-choice.disabled {
    background-color: #f4f4f4;
    background-image: none;
    border: 1px solid #ddd;
    cursor: default;
}

.ms-choice > span {
    position: absolute;
    top: 0;
    left: 0;
    right: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    padding-left: 8px;
    font-size: 0.6rem;
}

.ms-choice > span.placeholder {
    color: #999;
}

.ms-choice > div {
    position: absolute;
    top: -3px;
    right: 0;
    width: 20px;
    height: 25px;
    background: url('../bilder/multiple-select.png') left top no-repeat;
}

.ms-choice > div.open {
    background: url('../bilder/multiple-select.png') right top no-repeat;
}

.ms-drop {
    #width: 100%;
    overflow: hidden;
    display: none;
    margin-top: -1px;
    padding: 0;
    position: absolute;
    z-index: 1000;
    background: #fff;
    color: #000;
    border: 1px solid #aaa;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.ms-drop.bottom {
    top: 100%;
    -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
    -moz-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
    box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
}

.ms-drop.top {
    bottom: 100%;
    -webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
    -moz-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
    box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
}

.ms-search {
    display: inline-block;
    margin: 0;
    min-height: 26px;
    padding: 4px;
    position: relative;
    white-space: nowrap;
    width: 100%;
    z-index: 10000;
}

.ms-search input {
    width: 100%;
    height: auto !important;
    min-height: 24px;
    padding: 0 20px 0 5px;
    margin: 0;
    outline: 0;
    font-family: sans-serif;
    font-size: 1em;
    border: 1px solid #aaa;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background: #fff url('../bilder/multiple-select.png') no-repeat 100% -22px;
    background: url('../bilder/multiple-select.png') no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee));
    background: url('../bilder/multiple-select.png') no-repeat 100% -22px, -webkit-linear-gradient(center bottom, white 85%, #eeeeee 99%);
    background: url('../bilder/multiple-select.png') no-repeat 100% -22px, -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%);
    background: url('../bilder/multiple-select.png') no-repeat 100% -22px, -o-linear-gradient(bottom, white 85%, #eeeeee 99%);
    background: url('../bilder/multiple-select.png') no-repeat 100% -22px, -ms-linear-gradient(top, #ffffff 85%, #eeeeee 99%);
    background: url('../bilder/multiple-select.png') no-repeat 100% -22px, linear-gradient(top, #ffffff 85%, #eeeeee 99%);
}

.ms-search, .ms-search input {
    -webkit-box-sizing: border-box;
    -khtml-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.ms-drop ul {
    overflow: auto;
    margin: 0;
    padding: 5px 8px;
}

.ms-drop ul > li {
    list-style: none;
    display: list-item;
    background-image: none;
    position: static;
}

.ms-drop ul > li .disabled {
    opacity: .35;
    filter: Alpha(Opacity=35);
}

.ms-drop ul > li.multiple {
    display: block;
    float: left;
}

.ms-drop ul > li.group {
    clear: both;
}

.ms-drop ul > li.multiple label {
    width: 100%;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ms-drop ul > li label {
    font-weight: normal;
    display: block;
    white-space: nowrap;
    padding: 5px;
}

.ms-drop ul > li label.optgroup {
    font-weight: bold;
}

.ms-drop input[type="checkbox"] {
    vertical-align: middle;
}

.ms-drop .ms-no-results {
    display: none;
}
.tpl_backend .ms-drop ul > li > label > span {
    margin-left:5px;
}
form .multiple-select,
form .ms-parent {
    width:100%!important;
}
.fancybox-type-iframe .fancybox-nav {
    width: 60px;
}

.fancybox-type-iframe .fancybox-nav span {
    visibility: visible;
    opacity: 0.5;
}

.fancybox-type-iframe .fancybox-nav:hover span {
    opacity: 1;
}

.fancybox-type-iframe .fancybox-next {
    right: -60px;
}

.fancybox-type-iframe .fancybox-prev {
    left: -60px;
}
/* Rating widget */

.c-form__fieldset-ratings {
    border: 0;
    padding: 5px 0;
}
.c-form__fieldset-ratings ._legend {
    display: inline;
}

.c-ratings {
    float: right;
    margin-left: 10px;
    display: block;
}

.c-rating__option{
    float:left;
    position:relative;
}


.c-rating__option input {
    position: absolute;
    left: 3px;
    top: 4px;
    margin: 0;
    z-index: 0;
    opacity: 0;
    margin: 0!important;
    float: none!important;
}
.c-rating__label {
    background:url('../bilder/star-2.gif') no-repeat -15px -13px;
    display:block;
    position:relative;
    width:20px;
    height:20px;
    margin:0!important;
    cursor:pointer;
    text-indent:-9999em;
    overflow:hidden;
    z-index:1;
    color:transparent;
    text-align: left
}

/* states */
.c-rating__label.is-checked { background-position:-15px -213px; }
.c-rating__label:hover,
.c-rating__label.has-hover { background-position:-15px -113px; }

.c-rating__label:focus,
.c-rating__label.has-focus {
    outline:1px dotted #ccc;
    z-index: 2;
}


/* rating*/

.o-bg-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: cover;
    background-repeat: no-repeat;
    background-size: 20px;
    vertical-align: middle;
}

.o-bg-icon--star-gray { background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3Ecircle%2C%20ellipse%2C%20line%2C%20path%2C%20polygon%2C%20polyline%2C%20rect%2C%20text%20%7B%20fill%3A%20%23dddddd%20!important%3B%20%7D%3C%2Fstyle%3E%3Cpath%20fill%3D%22%23444%22%20d%3D%22M12%2017.27l6.18%203.73-1.64-7.03%205.46-4.73-7.19-.61-2.81-6.63-2.81%206.63-7.19.61%205.46%204.73-1.64%207.03z%22%2F%3E%3C%2Fsvg%3E'); background-repeat: no-repeat; }

.o-bg-icon--star { background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20fill%3D%22%23E9BF4D%22%20d%3D%22M12%2017.27l6.18%203.73-1.64-7.03%205.46-4.73-7.19-.61-2.81-6.63-2.81%206.63-7.19.61%205.46%204.73-1.64%207.03z%22%2F%3E%3C%2Fsvg%3E'); background-repeat: no-repeat; }

.c-star-rating {
    display: inline-block;
    height: 20px;
    vertical-align: top
}


.c-star-rating--right {
    float: right;
    margin: 0;
}

.c-star-rating--bottom {
    float: none;
    margin: 10px 0 0;
}

.c-star-rating__container {
    display: inline-block;
    position: relative;
    width: 100px;
    background-repeat: repeat-x;
}

.c-star-rating__current {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 100%;
    background-repeat: repeat-x;
}

.c-guestbook-comment {
    max-width: 100%
}

.c-guestbook-comment__detail-rating {
    font-size: 10px;

}
.c-guestbook-comment__detail-rating ._heading{
    font-size: 12px;
    color: rgba(0, 0, 0, 0.87);
    font-weight: 700;
    margin-bottom: 10px;
}

.c-guestbook-comment__detail-rating ._title{
    line-height: 1.1;
    float: left
}

.c-guestbook-comment__detail-rating ._entry{
    overflow: hidden;
    padding: 5px 0;
    border-bottom: 1px dotted #ddd;
}
.c-guestbook-comment__detail-rating >._entry:last-child{
    border: 0
}
.c-guestbook-comment__detail-rating .c-star-rating {
    float: right;
    height: 15px;
    margin-left: 10px;
}
.c-guestbook-comment__detail-rating .o-bg-icon{
    height: 15px;
    background-size: 15px;
}

.c-guestbook-comment__detail-rating .c-star-rating__container{
    width: 75px;
}

/*
    Gesamtbewertung Modul
*/



.ui-tooltip.ui-widget {
    color: #444!important;
     background: #fff;
    background-color: #fff;
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.27);
}

.c-aggregate-rating {
    border: 1px solid #E1E1E1;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    padding: 10px;
    margin: 1em 0;
    text-align: center;
    background-color: hsl(0, 0%, 98%);
}
.c-aggregate-rating__title {
    font-size: .875em;
    font-weight:400;
}
.c-aggregate-rating__score {
    color: #3B3628;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.5;
}
.c-aggregate-rating__score-text {
    font-size: 22px;
    font-weight: 700;
    margin: 5px 0 10px;
}
.c-aggregate-rating__rating-count {
    color: #666;
    font-size: 14px;
    line-height: 1.1;
}

.c-aggregate-rating__rating,
.c-aggregate-rating__rating .o-bg-icon {
    height: 24px;
    background-size: 24px;
}
.c-aggregate-rating__rating .c-star-rating__container {
    width:120px;
}
.c-aggregate-rating__link {
    font-size: 12px;
    margin-top: 9px;
    display: block;
}

.c-button--rating {
    margin: 2em 0 0;
}

.s-cms-content form [name="user_name"] {
    width: auto!important;
}

/* Hidden users editing rating values */
.rating_values fieldset.c-form__fieldset-ratings {
    display: flex;
    align-items: center;
    gap: 1px;
}
.rating_values .c-form__fieldset-ratings ._legend {
    order: -1;
    min-width: 260px;
    text-align: right;
}
.rating_values .c-ratings.u-cf.js-ratings {
    display: flex;
    float: none;
    align-content: baseline;
    justify-content: flex-end;
}
.rating_values label.c-rating__label {
    min-width: auto;
    padding: 0;
}
.rating_values .c-rating__option {
    display: flex;
}