

/** REVIEW FORM **/
/*
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}
*/

.rating {
    font-size: 12px;
    position: relative;
    width: 49%;
    padding-bottom: 12px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.rating input {
    display: none;
}

.rating input:checked+label > span {
  display: block;
}

.rating label > span {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    color: #898989;
    font-size: 12px;
    margin-left: 5px;
}

.rating:not(:checked) > label {
    width: 4rem;
    overflow: visible;
    white-space: nowrap;
    cursor: pointer;
    font-size: 3.5rem;
    line-height: 1;
    color: #bbb;
    _text-shadow: 1px 1px #bbb, 2px 2px #666, .1em .1em .2em rgba(0, 0, 0, .5);
}



.rating:not(:checked)>label:before {
    content: '★ ';
}

.rating>input:checked~label {
    color: gold;
    _text-shadow: 1px 1px #bbb, 2px 2px #666, .1em .1em .2em rgba(0, 0, 0, .5);
}

.rating:not(:checked)>label:hover,
.rating:not(:checked)>label:hover~label {
    color: gold;
    _text-shadow: 1px 1px #bbb, 2px 2px #666, .1em .1em .2em rgba(0, 0, 0, .5);
}

.rating>input:checked+label:hover,
.rating>input:checked+label:hover~label,
.rating>input:checked~label:hover,
.rating>input:checked~label:hover~label,
.rating>label:hover~input:checked~label {
    color: gold;
    _text-shadow: 1px 1px #bbb, 2px 2px #666, .1em .1em .2em rgba(0, 0, 0, .5);
}

.rating>label:active {
    position: relative;
    top: 2px;
    left: 2px;
}




/* suwaki */

.range input {
    outline: none;
    -webkit-appearance: none;
    background-color: #aaa;
    height: 8px;
    width: 100%;
    margin: 10px auto;
}

.range input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
}

.range input::-moz-range-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background-color: green;
    border-radius: 50%;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.range input::-ms-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background-color: green;
    border-radius: 50%;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.range-step {
    position: relative;
}

.range-step input::-webkit-slider-thumb {
    background: transparent;
}

.range-step input::-moz-range-thumb {
    background: transparent;
    border: 0px;
}

.range-step input::-ms-thumb {
    background: transparent;
}

.range-step datalist {
    position: relative;
    display: flex;
    justify-content: space-between;
    height: auto;
    bottom: 22px;
    /* disable text selection */
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
    /* disable click events */
    pointer-events: none;
}

.range-step datalist option {
    width: 16px;
    height: 16px;
    min-height: 10px;
    border-radius: 50%;
    /* hide text */
    white-space: nowrap;
    padding: 0;
    line-height: 40px;
    border: solid 1px #aaa;
}

.range-step datalist option:first-child {
    margin-left: -5px;
}

.range-step datalist option:last-child {
    margin-right: -5px;
}

.rating-controls {
    width: 100%;
}

.resizeable {
    resize: vertical;
    min-height: 100px; 
    width: 50%;
}

.review-field{
    margin: 10px 0;
}

.review-field input[type="text"],input[type="email"] {
    width: 100%;
}

.review-field input[type="radio"] { 
     margin: 0 5px 0 0; 
 }
 
 .review-label {
    display: inline-block; 
    width: 49%;
    padding-top: 5px;
 }
 
 .review-input {
    display: inline-block; 
    width: 49%;
 }
 
 .ratingForm span {
    color: red;
 }
 
@-moz-document url-prefix() {
  .range-step datalist {
    bottom: 27px;
  }
}
 
div.has-error label {
    font-weight: bold;
    _color: #eb6852;
}

.form-input {
    padding: 5px;
    border: 1px solid #ddd;

}

.form-input:focus {
    background-color: #fffdef !important;
    border-color: #aaa !important;
}

.form-group.form-group-review {
  display: flex;
}

.form-group.form-group-review .review_label {
  flex-basis: 49%;
}

.review_label label {
  display: block;
}

.review_label small {
  display: block;
}


.review_field label {
  display: inline !important;
  padding-right: .5rem;
}

.review_field input[type=radio] {
  width: auto !important;
  display: inline-block !important;
  margin-right: .5rem;
}


/* Lang Selector */
.language-selector {
  margin:  0;
  color: #020d43;
  text-align: right;
}

.no-logo .language-selector {
  margin-top: 1rem;
}

.language-selector label {
  margin-right: .5rem;
}


.topbar .container {
  position: relative;
}
.language-selector-wrapper {
    position: absolute; top: 0; right: 0;
}

.no-logo .language-selector-wrapper {
    position: initial;
    transform: none;
}



/* 
** RESPONSIVE
*/

.container {
  width: 96%;
  max-width: 980px;
}


/*
  instructions + download buttons
  
*/


@media (max-width: 576px) {
  #registerForm .select2-container {
    width: 100% !important;
  }
  #registerForm .form-group label{
    width: 100%;
  }
  #registerForm .form-group input,
  #registerForm .form-group select,
  #registerForm .form-group textarea {
    width: 100%;
  }
  
  .rating-controls > div {
     flex-direction: column;
  }
  
  .rating-controls > div > div {
    width: 100%;
  }
  
  .form-group.form-group-review {
    flex-direction: column;
  }
  
  .form-group.form-group-review .review_label {
    flex-basis: 100%;
  }
  
  
   
  #downloadButton {
    float: none !important;
    display: block;
    width: auto !important;
    max-width: 200px;
    margin: .5rem auto 1rem;
    padding: .5rem 1rem;
  }
  
  input.btn.btn-primary {
    display: block;
    padding: .5rem 2rem;
    margin: auto;
  }
  
  
  #certificate_nr_wrapper {
    width: 100% !important;
  }
  
  .language-selector label {
    display: none;
  }
  
}

@media (min-width: 576px){
  #registerForm .select2-container {
    width: 100% !important;
  }
  
  .form-group.form-group-review {
    display: flex;
    align-items: flex-start
  }
}

/*   */

.pnc-group {
    display: flex;
    align-items: center;
}

.pnc-group input {
    flex-grow: 1;
    border-right: 0 !important;
    border-radius: 2px 0 0 2px !important;
}

.pnc-group .btn {
    padding: 10px 15px;
    border: 1px solid #cdcdcd;
    background: #cdcdcd;
    color: #353739;
    cursor: pointer;
    font-weight: normal;
    font-size: .75rem;
    line-height: .75rem;
    
    border: 1px solid #eb6852;
    background: #fff;
    color: #eb6852;
}

.pnc-group .btn:hover {
    border: 1px solid #eb6852;
    background: #eb6852;
    color: #fff;
}

.product {
  position: relative;
  padding: 1rem 0;
}

.product + .product {
  border-top: 1px solid #dadada;
}

.btn-small {
    font-size: .75rem;
    padding: .25rem .5rem;
    margin: .25rem;
}

.product-list-actions .btn {
    cursor: pointer;
    border: 1px solid #eb6852;
    color: #eb6852;
    
    font-size: .75rem;
    padding: .25rem .5rem;
    margin: .25rem;
    font-weight: normal;
    
}

.product-list-actions .btn:hover {
    background: #eb6852;
    color: #fff;
}


.product-list-actions .btn-remove {
    color: #5b5a5a;
    border-color: #5b5a5a;
}

.product-list-actions .btn-remove:hover {
    color: white;
    background: #5b5a5a;
}

.show-rating-plate {
    font-weight: bold;
    color: #eb6852;
    display: block;
    cursor: pointer;
}

.show-rating-plate:hover {
    cursor: pointer;
    color: #eb6852;
    text-decoration: underline;
}

.modal-open .modal {
    backdrop-filter: blur(3px);
}

.modal .modal-content {
    
}

.modal .modal-title {
    text-align: center;
}

.modal .close {
    
}

.modal .modal-body {
    
}

.device-picker {
    text-align: center;
    margin-bottom: 2rem;
}

fieldset {
    padding: .75rem 1rem 1rem;
}

span.form-input {
    display: inline-block;
    width: 50%;
    padding: 5px 10px;
}

.product:first-child{
    padding-top: 0;
}

@media (max-width: 576px) {
    .product .col-6 {
        width: 100%;
    }
    
    span.form-input {
        width: 100%;
    }
}

.sf-dump {
    z-index: initial !important;
}


.col-6 {
  display: inline-block;
  width: 50%;
}


#products .btn-remove{
   display: none;
}

#products.can-delete .product-list-actions,
#products.can-add .product-list-actions {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    display: flex;
    justify-content: center;
}

#products.can-delete .btn-remove{
   display: inline-block;
}

#products .btn-add {
    display: none;
}

#products.can-add .btn-add {
    display: inline-block;
}


.regulations-container {
    margin: .5rem 0;
    display: flex;
    flex-direction: column;
}

.regulations-container > div {
    flex-grow: 1;
}

.regulations-container > div:last-child{
    text-align: center;
    margin-top: .5rem;
}


@media (min-width: 576px) {
    .regulations-container {
        flex-direction: row;
        align-items: center;
    }

    .regulations-container > div:last-child{
        margin: 0;
        text-align: right;
    }

    .regulations-container .btn-download {
        text-decoration: none;
    }
}

.btn {
    text-decoration: none;
}


.field-info {
    font-size: .75rem;
    margin-bottom: .125rem;
}

.field-info-warning {
    color: #eb6852;
}

#reviewFormToggle {
    margin-right: .5rem
}

#ratingForm:has(#reviewFormToggle):not(:has(#reviewFormToggle:checked)) .ratingForm {
	opacity: .55;
}

label[for=reviewFormToggle]{
    font-weight: normal;
    color: #eb6852;
    border-bottom: 1px solid #eb6852;
    display: block;
    padding-bottom: .5rem;
    margin-bottom: .75rem;
}

.range.range-step datalist option:hover {
    cursor: pointer;
}