* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  font-family: arial;
}

.pagination {
  list-style: none;
  display: inline-block;
  padding: 0;
  margin-top: 10px;
}

.pagination li {
  display: inline;
  text-align: center;
}

.pagination a {
  float: left;
  display: block;
  font-size: 16px;
  text-decoration: none;
  padding: 5px 12px;
  color: #000;
  margin-left: -1px;
  border: 1px solid transparent;
  line-height: 1.5;
}

.pagination a.active {
  cursor: default;
}

.pagination a:active {
  outline: none;
}

.modal-1 li:first-child a {
  border-radius: 6px 0 0 6px;
}

.modal-1 li:last-child a {
  border-radius: 0 6px 6px 0;
}

.modal-1 a {
  border-color: #ddd;
  color: #4285F4;
  background: #fff;
}

.modal-1 a:hover {
  background: #eee;
}

.modal-1 a.active, .modal-1 a:active {
  border-color: #4285F4;
  background: #4285F4;
  color: #fff;
}

.modal-2 li:first-child a {
  border-radius: 50px 0 0 50px;
}

.modal-2 li:last-child a {
  border-radius: 0 50px 50px 0;
}

.modal-2 a {
  border-color: #ddd;
  color: #999;
  background: #fff;
}

.modal-2 a:hover {
  color: #E34E48;
  background-color: #eee;
}

.modal-2 a.active, .modal-2 a:active {
  border-color: #E34E48;
  background: #E34E48;
  color: #fff;
}

.modal-3 a {
  margin-left: 3px;
  padding: 0;
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 100%;
}

.modal-3 a:hover {
  background-color: #4DAD16;
  color:White;
  font-weight:bold;
}

.modal-3 a.active, .modal-3 a:active {
  background-color: #37B247;
  color:White;
  font-weight:bold;
}

.modal-4 a {
  margin: 0 5px;
  padding: 0;
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 100%;
  background-color: #F7C12C;
}

.modal-4 a.prev {
  border-radius: 50px 0 0 50px;
  width: 100px;
}

.modal-4 a.next {
  border-radius: 0 50px 50px 0;
  width: 100px;
}

.modal-4 a:hover {
  background-color: #FFA500;
}

.modal-4 a.active, .modal-4 a:active {
  background-color: #FFA100;
}

.modal-5 {
  position: relative;
}

.modal-5:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 35px;
  left: 0;
  bottom: 0;
  z-index: -1;
  background-image: _linear-gradient_legacy(left, transparent 0%, rgba(0, 0, 0, 0.65) 40%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0.65) 60%, transparent 100%...);
}

.modal-5 a {
  color: #666;
  padding: 13px 5px 5px;
  margin: 0 10px;
  position: relative;
}

.modal-5 a:hover {
  color: #fff;
}

.modal-5 a:hover:after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  background: #1E7EE2;
  border-radius: 100%;
  z-index: -1;
  left: -3px;
  bottom: 4px;
  margin: auto;
}

.modal-5 a.next, .modal-5 a.prev {
  color: #1E7EE2;
}

.modal-5 a.next:hover, .modal-5 a.prev:hover {
  color: #fff;
}

.modal-5 a.next:hover:after, .modal-5 a.prev:hover:after {
  display: none;
}

.modal-5 a.active {
  background: #1E7EE2;
  color: #fff;
}

.modal-5 a.active:before {
  content: '';
  position: absolute;
  top: -11px;
  left: -10px;
  width: 18px;
  border: 10px solid transparent;
  border-bottom: 7px solid #104477;
  z-index: -1;
}

.modal-5 a.active:hover:after {
  display: none;
}

.modal-6 {
  -webkit-box-shadow: 0 2px 2px #333;
          box-shadow: 0 2px 2px #333;
  border-radius: 50px;
}

.modal-6 a {
  border-color: #ddd;
  color: #999;
  background: #fff;
  padding: 10px 15px;
}

.modal-6 a:hover {
  color: #E34E48;
  background-color: #eee;
}

.modal-6 a.prev {
  border-radius: 50px 0 0 50px;
  width: 50px;
  position: relative;
}

.modal-6 a.prev:after {
  content: '';
  position: absolute;
  width: 10px;
  height: 100%;
  top: 0;
  right: 0;
  background-image: _linear-gradient_legacy(left, transparent 0%, rgba(0, 0, 0, 0.2) 100%...);
}

.modal-6 a.next {
  border-radius: 0 50px 50px 0;
  width: 50px;
  position: relative;
}

.modal-6 a.next:after {
  content: '';
  position: absolute;
  width: 10px;
  height: 100%;
  top: 0;
  left: 0;
  background-image: _linear-gradient_legacy(left, rgba(0, 0, 0, 0.2) 0%, transparent 100%...);
}

.modal-6 a.active {
  border-color: #bbb;
  background: #fff;
  color: #E34E48;
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.25) inset;
          box-shadow: 0 0 3px rgba(0, 0, 0, 0.25) inset;
}
