

/* -----  2.4 Pagination  --------------------------------------------------- */

.pagination {
  margin-bottom: 1.5rem;
}

.pagination-item {
  position: relative;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  /*background: #efeeed;*/
  color: #261e66;
  border-bottom: 0;
  border: 2px solid black;
}

.pagination-item:hover, .pagination-item:focus {
  background: #261e66;
  color: white;
}

.pagination-item:active {
  background: #4509be;
}

.pagination-item.left {
  float: left;
}

.pagination-item.right {
  float: right;
}

.pagination-item svg {
  position: relative;
  top: 50%;
  display: block;
  margin: -6px auto 0;
  width: 24px;
  height: 12px;
}

.pagination-item path {
  fill: currentColor;
}

.pagination-item.is-inactive {
  color: #e4e3e6;
  border: 2px solid currentColor;
  background: transparent;
}

@media all and (min-width: 75em) {
  .pagination-item {
    position: fixed;
    top: 50%;
    margin-top: -.875rem;
  }
  .pagination-item.left {
    float: none;
    left: 2.25rem;
  }
  .pagination-item.right {
    float: none;
    right: 2.25rem;
  }
}

@media all and (pointer: coarse) {
  .pagination-item {
    /* On touch-devices we increase prev/next buttons */
    width: 2.25rem;
    height: 2.25rem;
  }
}


/*  Gallery */
.gallery {
}
.gallery ul {
  
}
.gallery li {
  float: left;
  list-style: none;
  margin: 5px;
  line-height: 0;
  padding: 5px;
  border: 1px solid lightgrey;
}
.gallery li a {
    border: 0;
}

/*  Star rating */

.rating {
    float:left;
    border: 0px;
    margin: 0 1em;
    font-size: 1.2em;
}

/* :not(:checked) is a filter, so that browsers that don’t support :checked don’t 
   follow these rules. Every browser that supports :checked also supports :not(), so
   it doesn’t make the test unnecessarily selective */
.rating:not(:checked) > input {
    position:absolute;
    top:-9999px;
    clip:rect(0,0,0,0);
}

.rating:not(:checked) > label {
    float:right;
    width:1em;
    padding:0 .1em;
    overflow:hidden;
    white-space:nowrap;
    cursor:pointer;
    font-size:150%;
    line-height:1.2;
    color:lightgrey;
}

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

.rating > input:active ~ label, 
.rating > input:checked ~ label {
    color: black;
}

.rating:not(:checked) > label:hover,
.rating:not(:checked) > label:hover ~ label {
    color: pink;
}

.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: red;
}

.rating > label:active {
    position:relative;
}

/*.ratingform input{
  font-size: 1.2em;
  border-radius: 1px;
  text-align: center;
    line-height: 30px;  
}*/
.ratingform input[type="submit"]{
    border: none;
  font-size: 1.5em;   
    cursor: pointer;  
  color: #fff;
  border: none;
  /*line-height: 30px;*/
  width: 25%;
  margin: 20px;
  background: #585858;
  cursor: pointer;
  height: 25px;
  display: inline-block;
  overflow: hidden;
  position: relative;
  top: 0px;
  text-align: center;
  -webkit-transition: background-color 0.35s;
      -moz-transition: background-color 0.35s;
      transition: background-color 0.35s;
  -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
      border-radius: 3px;      
}

.ratingform input[type="submit"]:hover{
  background: black;
}
.ratingform .button {
  margin-left: 20px;
  height: 22px;
  top: 3px;
}

.ratingform .label {
  padding: 0px 10px;
}

.ratingstatic {
    border: 0px;
    float:left;
}

/* :not(:checked) is a filter, so that browsers that don’t support :checked don’t 
   follow these rules. Every browser that supports :checked also supports :not(), so
   it doesn’t make the test unnecessarily selective */
.ratingstatic:not(:checked) > input {
    position:absolute;
    top:-9999px;
    clip:rect(0,0,0,0);
}

.ratingstatic:not(:checked) > label {
    float:right;
    width:2em;
    padding: 0 .5em;
    overflow:hidden;
    white-space:nowrap;
    cursor:pointer;
    font-size:2em;
    line-height:1.2;
    color:lightgrey;
}

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

.ratingstatic > input:active ~ label, 
.ratingstatic > input:checked ~ label {
    color: red;
}