/* pagination start */

.pagination li {
  border-top-color: #5877C1;
  border-bottom-color: #5877C1;
}
.pagination li:before,
/*.pagination .active:after,
.pagination .active:before,*/
.pagination .active ~ li:before {
  border-left-color: #5877C1;
  border-right-color: #5877C1;
}

.pagination .active:after,
.pagination .active:before{
  border-left-color: #2E4D97;
  border-right-color: #2E4D97; 
}
ul .active {
  border-top-color: #2E4D97;
  border-bottom-color: #2E4D97; 
}

.pagination a {
  text-shadow: 1px 1px 1px #5877C1, 2px 2px 2px black;
  color: white;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
}
.pagination .active a { color: black; font-weight: 700; }
.pagination .disabled a,
.pagination .disabled:hover a { color: #A6A6A6; cursor: default;  }
.pagination li:hover a { color: black; }

/*
 * Basic style
 */
.pagination { text-align: center; }
.pagination ul {
  display: inline-block;
  list-style-type: none;
  margin: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  text-align: center;
}
.pagination li {
  border-right:10px solid transparent;
  border-bottom-width: 17px;
  border-top-width: 17px;
  border-style: solid;
 
  transform:rotate(360deg);
  border-left: 0;
  height: 0;
  float: left;
  margin-right: 3px;
  position: relative;
}
.pagination li:before {
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-top-color: transparent;
  border-width: 17px 10px 17px 0;
  border-style: solid;
  position: absolute;
  content: '';
  left: -10px;
  height: 0px;
  top: -17px;
  width: 0px;
}
.pagination .active ~ li:before {
  border-bottom-color: transparent;
  border-top-color: transparent;
  border-width: 17px 0 17px 10px;
  right: -10px;
  left: auto;
}
.pagination .active ~ li {
  border-left:10px solid transparent;
  border-right: 0;
}
.pagination .active  {
  border-right: 0;
  border-left: 0;
}
.pagination .active:after,
.pagination .active:before {
  border-bottom-color: transparent;
  border-top-color: transparent;
  border-width: 17px 10px 17px 0;
  border-style: solid;
  position: absolute;
  content: '';
  height: 0px;
  width: 0px;
  top: -17px;
  left: -10px;
}
.pagination .active:after {
  border-bottom-color: transparent;
  border-right-color: transparent;
  border-top-color: transparent;
  border-width: 17px 0 17px 10px;
  left: 100%;
}
.pagination a {
  line-height: 36px;
  margin-top: -17px;
  display: block;
  height: 34px;
  width: 30px;
}
.pagination .prev {
  -webkit-border-radius: 20px 0 0 20px;
  -moz-border-radius: 20px 0 0 20px;
  border-radius: 20px 0 0 20px;
}
.pagination .next {
  -webkit-border-radius: 0 20px 20px 0;
  -moz-border-radius: 0 20px 20px 0;
  border-radius: 0 20px 20px 0;
  border-right: 0;
}
.pagination .prev a,
.pagination .next a {
  text-indent: -4px;
  line-height: 32px;
  font-size: 30px;
}
.pagination .prev a { text-indent: 4px; }
.pagination .prev:before,
.pagination .next:before { content: none; }

/*@media only screen and (max-width: 1370px) {
  
  .pagination a {
    margin-top: -15px;
    font-size: 38px;
  }
  
  .pagination .prev a,
  .pagination .next a {
    font-size: 46px;
  }
}*/

@media only screen and (min-width: 1100px) {

  .pagination a {
    line-height: 36px;
    margin-top: -34px;
    display: block;
    height: 68px;
    width: 60px;
  }
  .pagination .active:after,
  .pagination .active:before {
    border-width: 34px 10px 34px 0;
    height: 0px;
    width: 0px;
    top: -34px;
    left: -10px;
  }
  .pagination li:before {
    border-width: 34px 10px 34px 0;
    left: -10px;
    height: 0px;
    top: -34px;
    width: 0px;
  }
  .pagination li {
    /*border-right:10px solid transparent;*/
    border-bottom-width: 34px;
    border-top-width: 34px;
  }
  .pagination .active ~ li:before {
    border-bottom-color: transparent;
    border-top-color: transparent;
    border-width: 34px 0 34px 10px;
    right: -10px;
    left: auto;
  }
  .pagination .active:after {
    border-bottom-color: transparent;
    border-right-color: transparent;
    border-top-color: transparent;
    border-width: 34px 0 34px 10px;
    left: 100%;
  }
  .pagination a {
    margin-top: -15px;
    font-size: 37px;
  }
  .pagination .prev a,
  .pagination .next a {
    font-size: 45px;
  }
  
}



@media only screen and (min-width: 1370px) {

  .pagination a {
    line-height: 36px;
    margin-top: -34px;
    display: block;
    height: 68px;
    width: 60px;
  }
  .pagination .active:after,
  .pagination .active:before {
    border-width: 34px 10px 34px 0;
    height: 0px;
    width: 0px;
    top: -34px;
    left: -10px;
  }
  .pagination li:before {
    border-width: 34px 10px 34px 0;
    left: -10px;
    height: 0px;
    top: -34px;
    width: 0px;
  }
  .pagination li {
    /*border-right:10px solid transparent;*/
    border-bottom-width: 34px;
    border-top-width: 34px;
  }
  .pagination .active ~ li:before {
    border-bottom-color: transparent;
    border-top-color: transparent;
    border-width: 34px 0 34px 10px;
    right: -10px;
    left: auto;
  }
  .pagination .active:after {
    border-bottom-color: transparent;
    border-right-color: transparent;
    border-top-color: transparent;
    border-width: 34px 0 34px 10px;
    left: 100%;
  }
  .pagination a {
    margin-top: -17px;
    font-size: 50px;
  }
  .pagination .prev a,
  .pagination .next a {
    font-size: 55px;
  }
  
}


/* pagination END */