/**
* CSS themes for simplePagination.js
* Author: Flavius Matis - http://flaviusmatis.github.com/
* URL: https://github.com/flaviusmatis/simplePagination.js
*/

ul.simple-pagination {
	list-style: none;
}

.simple-pagination {
	display: block;
	overflow: hidden;
	padding: 0 5px 5px 0;
	margin: 0;
}

.simple-pagination ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.simple-pagination li {
	list-style: none;
	padding: 0;
	margin: 0;
	float: left;
}
span.ellipse.clickable {
	cursor: pointer;
}

.ellipse input {
	width: 3em;
}

/*------------------------------------*\
	Compact Theme Styles
\*------------------------------------*/

.compact-theme a, .compact-theme span {
	float: left;
	color: #333;
	font-size:14px;
	line-height:24px;
	font-weight: normal;
	text-align: center;
	border: 1px solid #AAA;
	border-left: none;
	min-width: 14px;
	padding: 0 7px;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
	background: #efefef; /* Old browsers */
	background: -moz-linear-gradient(top, #ffffff 0%, #efefef 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#efefef)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ffffff 0%,#efefef 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ffffff 0%,#efefef 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #ffffff 0%,#efefef 100%); /* IE10+ */
	background: linear-gradient(top, #ffffff 0%,#efefef 100%); /* W3C */
}

.compact-theme a:hover {
	text-decoration: none;
	background: #efefef; /* Old browsers */
	background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#efefef), color-stop(100%,#bbbbbb)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #efefef 0%,#bbbbbb 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #efefef 0%,#bbbbbb 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #efefef 0%,#bbbbbb 100%); /* IE10+ */
	background: linear-gradient(top, #efefef 0%,#bbbbbb 100%); /* W3C */
}

.compact-theme li:first-child a, .compact-theme li:first-child span {
	border-left: 1px solid #AAA;
	border-radius: 3px 0 0 3px;
}

.compact-theme li:last-child a, .compact-theme li:last-child span {
	border-radius: 0 3px 3px 0;
}

.compact-theme .current {
	background: #bbbbbb; /* Old browsers */
	background: -moz-linear-gradient(top, #bbbbbb 0%, #efefef 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bbbbbb), color-stop(100%,#efefef)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #bbbbbb 0%,#efefef 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #bbbbbb 0%,#efefef 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #bbbbbb 0%,#efefef 100%); /* IE10+ */
	background: linear-gradient(top, #bbbbbb 0%,#efefef 100%); /* W3C */
	cursor: default;
}

.compact-theme .ellipse {
	background: #EAEAEA;
	padding: 0 10px;
	cursor: default;
}

/*------------------------------------*\
	Light Theme Styles
\*------------------------------------*/

.light-theme a, .light-theme span {
	float: left;
	color: #666;
	font-size:14px;
	line-height:24px;
	font-weight: normal;
	text-align: center;
	border: 1px solid #BBB;
	min-width: 14px;
	padding: 0 7px;
	margin: 0 5px 0 0;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.2);
	background: #efefef; /* Old browsers */
	background: -moz-linear-gradient(top, #ffffff 0%, #efefef 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#efefef)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ffffff 0%,#efefef 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ffffff 0%,#efefef 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #ffffff 0%,#efefef 100%); /* IE10+ */
	background: linear-gradient(top, #ffffff 0%,#efefef 100%); /* W3C */
}

.light-theme a:hover {
	text-decoration: none;
	background: #FCFCFC;
}

.light-theme .current {
	background: #666;
	color: #FFF;
	border-color: #444;
	box-shadow: 0 1px 0 rgba(255,255,255,1), 0 0 2px rgba(0, 0, 0, 0.3) inset;
	cursor: default;
}

.light-theme .ellipse {
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
	font-weight: bold;
	cursor: default;
}

/*------------------------------------*\
	Dark Theme Styles
\*------------------------------------*/

.dark-theme a, .dark-theme span {
	float: left;
	color: #CCC;
	font-size:14px;
	line-height:24px;
	font-weight: normal;
	text-align: center;
	border: 1px solid #222;
	min-width: 14px;
	padding: 0 7px;
	margin: 0 5px 0 0;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.2);
	background: #555; /* Old browsers */
	background: -moz-linear-gradient(top, #555 0%, #333 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#555), color-stop(100%,#333)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #555 0%,#333 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #555 0%,#333 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #555 0%,#333 100%); /* IE10+ */
	background: linear-gradient(top, #555 0%,#333 100%); /* W3C */
}

.dark-theme a:hover {
	text-decoration: none;
	background: #444;
}

.dark-theme .current {
	background: #222;
	color: #FFF;
	border-color: #000;
	box-shadow: 0 1px 0 rgba(255,255,255,0.2), 0 0 1px 1px rgba(0, 0, 0, 0.1) inset;
	cursor: default;
}

.dark-theme .ellipse {
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
	font-weight: bold;
	cursor: default;
}


.pages-box {
    margin-top: 30px;
    display: flex;
    justify-content: center;
  }
  @media (max-width: 991px) {
    .pages-box {
      display: none;
    }
  }
  .pages-box .light-theme a {
    width: 31px;
    height: 31px;
    box-sizing: border-box;
    line-height: 28px;
    border: none;
    background: none;
    box-shadow: none;
  }
  .pages-box .light-theme a:hover {
    background: none;
    color: #d7150e;
  }
  .pages-box .light-theme span {
    width: 31px;
    height: 31px;
    box-sizing: border-box;
    line-height: 28px;
    border: none;
    background: none;
    box-shadow: none;
  }
  .pages-box .light-theme span.ellipse {
    width: auto;
  }
  .pages-box .pagination-wrapper {
    padding: 0;
  }
  .pages-box .pagination-wrapper span {
    color: #333;
    font-size: 14px !important;
  }
  .pages-box .pagination-wrapper span:hover {
    color: #d7150e;
  }
  .pages-box .pagination-wrapper .current {
    color: #d7150e;
  }
  .pages-box .pagination-wrapper .prev, .pages-box .pagination-wrapper .next {
    border-radius: 4px !important;
    display: inline-block;
    border: 1px solid #ddd;
    font-size: 18px !important;
    line-height: 28px !important;
    height: 31px;
    text-align: center;
    width: 31px;
    float: none !important;
    font-weight: 400 !important;
    padding: 0 !important;
    background-color: #fff;
  }
  .pages-box .pagination-wrapper .prev {
    margin-right: 8px;
  }
  .pages-box .pagination-wrapper .next {
    margin-left: 8px;
  }
  .pages-box .pagination-wrapper .disabled span {
    background: 0;
    color: #cdcdcd !important;
    border: 1px solid #ddd;
  }
  .pages-box .item-num-for-page {
    margin-left: 10px;
  }
  .pages-box .item-num-for-page .select {
    width: 116px;
    height: auto;
    font-size: 14px;
    position: relative;
    color: #333;
  }
  .pages-box .item-num-for-page .select.expand .show-option-title {
    border-bottom: none;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.18);
  }
  .pages-box .item-num-for-page .select.expand .show-option-title::after {
    transform: rotate(314deg);
    top: 14px;
  }
  .pages-box .item-num-for-page .select.expand ul {
    display: block;
  }
  .pages-box .item-num-for-page .select .show-option-title {
    line-height: 28px;
    padding: 0 10px;
    cursor: pointer;
    height: 32px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    padding-bottom: 5px;
    border-top-left-radius: 2.56px;
    border-top-right-radius: 2.56px;
    position: relative;
    border-radius: 4px;
  }
  .pages-box .item-num-for-page .select .show-option-title::after {
    content: "";
    position: absolute;
    border: 0;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    position: absolute;
    height: 7px;
    right: 12px;
    top: 9px;
    width: 7px;
    transform: rotate(135deg);
  }
  .pages-box .item-num-for-page .select ul {
    width: 116px;
    position: absolute;
    left: 0px;
    top: 32px;
    border: 1px solid #ddd;
    border-top: none;
    display: none;
    box-sizing: border-box;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.18);
    border-bottom-left-radius: 2.56px;
    border-bottom-right-radius: 2.56px;
    overflow: hidden;
  }
  .pages-box .item-num-for-page .select ul li {
    line-height: 28px;
    cursor: pointer;
    padding: 0px 10px;
    background-color: #fff;
  }
  .pages-box .item-num-for-page .select ul li:hover {
    background-color: rgba(243, 245, 247, 0.65);
  }
  .pages-box .item-num-for-page .select ul li.active {
    background-color: rgba(254, 246, 246, 0.65);
  }
  
  .pagination-mobile {
    display: none;
  }
  @media (max-width: 991px) {
    .pagination-mobile {
      display: block;
      width: 102px;
      height: 32px;
      border: 1px solid #ddd;
      border-radius: 76.92px;
      margin: 0 auto;
      text-align: center;
      font-size: 14px;
      color: #333;
      margin-top: 15px;
      line-height: 32px;
      margin-bottom: 5px;
    }
  }