body {
  font-family: 'Cairo', sans-serif;
  overflow-x: hidden;
  background: #eee;
}

button {outline: none;}


#main {
  position: relative;
  right: 0;
  overflow-x: hidden;
  transition: all .5s ease;
}

.rtl {
  direction: rtl;
}

/*** Header ***/
/* Top Nav **/
nav.topNav {
  background: #555;
  height: 90px;
  position: static;
  overflow: hidden;
}

nav.topNav a {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 20px 10px;
  margin: 10px;
  color: #fcfcfc;
}

nav.topNav ul li {
  font-size: 16px;
  cursor: pointer;
  transition: all .4s;
}

nav.topNav ul li:hover{
  background: #6D6D6D;
}

nav.topNav .logo {
  padding: 3px 0;
  margin: 0;
}

nav.topNav .logo a {
  padding: 0;
  margin: 0;
}

nav.topNav ul li.sign {
  margin: 23px 10px;
  border-radius: 30px;
  font-weight: bold;
  background: #eee;
}

nav.topNav ul li.sign a {
  padding: 0;
  color: #333;
}

nav.topNav ul li.sign:hover {
  background: #dbdbdb;
}

nav.topNav ul li#openNav > a {
  padding: 15px 10px;
}

nav.topNav2 {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
}

/** Ads **/
div.ads {
  height: 150px;
  margin: 1px 0;
}

/** Side Nav **/
nav.sideNav {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  z-index: 65;
  background-color: #2E2E2E;
  overflow-x: hidden;
  transition: all 0.5s ease;
}

nav.sideNav a {
  padding: 10px 17px;
  margin: 5px 0;
  text-decoration: none;
  font-size: 21px;
  color: #eee;
  display: block;
  direction: rtl;
  transition: 0.3s;
}

nav.sideNav a:hover, .offcanvas a:focus{
  color: #f1f1f1;
  background: #111;
  border-right: 15px solid #fff;
}

nav.sideNav a#closeNav {
  padding: 5px;
  margin-top: 0px;
  cursor: pointer;
  transition: all .5s;
  color: #eee;
}

nav.sideNav a img {
  width: 35px;
  margin-left: 20px;
}

/** Pup Up **/
div.popUp {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 10;
  background: rgba(5, 5, 5, 0.7); url('../angle-left.svg') center no-repeat;
  overflow-y: auto;
}

div.popUp a {
  text-decoration: none;
  color: #555;
  -webkit-transition: .5s ease;
  transition: .5s ease;
}
div.popUp a:hover {
  color: #555;
}

div.popUp a>img {
  position: relative;
  top: -15px;
  right: -25px;
}

div.popUp .form {
  background: #fff url('../img/popUp_Bg.png') center no-repeat;
  background-size: cover;
  padding: 40px;
  max-width: 600px;
  margin: 40px auto;
  border-radius: 4px;
  box-shadow: 0 4px 10px 4px rgba(19, 35, 47, 0.3);
  direction: rtl;
}

div.popUp .tab-group {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}
div.popUp .tab-group:after {
  content: "";
  display: table;
  clear: both;
}
div.popUp .tab-group li a {
  display: block;
  text-decoration: none;
  padding: 15px;
  background: rgba(160, 179, 176, 0.25);
  color: #a0b3b0;
  font-size: 20px;
  float: left;
  width: 50%;
  text-align: center;
  cursor: pointer;
  -webkit-transition: .5s ease;
  transition: .5s ease;
}
div.popUp .tab-group li a:hover {
  background: #555;
  color: #ffffff;
}
div.popUp .tab-group .active a {
  background: #555;
  color: #ffffff;
}

div.popUp .tab-content > div:last-child {
  display: none;
}

div.popUp h1 {
  text-align: center;
  color: #555;
  font-weight: 300;
  margin: 0 0 40px;
}

div.popUp label {
  color: rgba(85, 85, 85, 0.5);
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  -webkit-backface-visibility: hidden;
  pointer-events: none;
  font-size: 22px;
  width: 100%;
}
div.popUp label .req {
  margin: 2px;
  color: #e84242;
}

div.popUp label.active {
  font-size: 15px;
}
div.popUp label.active .req {
  opacity: 0;
}

div.popUp label.highlight {
  color: #5e5e5e;
}

div.popUp input, div.popUp textarea {
  font-size: 22px;
  display: block;
  width: 100%;
  height: 100%;
  padding: 5px 7px;
  background: none;
  background-image: none;
  border: none;
  border-bottom: 1px solid #a0b3b0;
  color: #555;
  border-radius: 0;
  -webkit-transition: border-color .25s ease, box-shadow .25s ease;
  transition: border-color .25s ease, box-shadow .25s ease;
}
div.popUp input:focus, div.popUp textarea:focus {
  outline: 0;
  border-color: #555;
}

div.popUp textarea {
  border: 2px solid #a0b3b0;
  resize: vertical;
}

div.popUp .field-wrap {
  position: relative;
  margin-bottom: 40px;
}

div.popUp .top-row:after {
  content: "";
  display: table;
  clear: both;
}
div.popUp .top-row > div {
  float: left;
  width: 48%;
  margin-right: 4%;
}
div.popUp .top-row > div:last-child {
  margin-right: 0px;
}

div.popUp .button {
  border: 0;
  outline: none;
  border-radius: 0;
  padding: 15px 0;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: #555;
  color: #ffffff;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  -webkit-appearance: none;
}
div.popUp .button:hover, div.popUp .button:focus {
  background: #555;
}

div.popUp .button-block {
  display: block;
  width: 40%;
  margin: 0 auto;
  border-radius: 20px;
  text-align: center;
}

div.popUp .forgot {
  margin: 20px 0;
  text-align: right;
}

/** Flow **/
div.flow {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 7;
  display: none;
}

/*** Search & Book Slider ***/
section.firstSection {
  background: url('../img/homeSliderBg.png') center no-repeat ;
  background-size: cover;
  overflow-y: hidden;
  box-shadow: 0 5px 30px rgba(68, 66, 61, 0.68);
  width: 100%;
}

section.firstSection div.searchField,
section.mini_header div.searchField {
  position: relative;
  display: inline-block;
  top:-60px;
}

nav.topNav2 div.searchField form input[type=search],
section.firstSection div.searchField form input[type=search],
section.mini_header div.searchField form input[type=search] {
  background: transparent url('../img/searchBg.png') center no-repeat;
  color: #333;
  width: 500px;
  max-width: 100%;
  height: 45px;
  border-radius: 10px;
  line-height: 45px;
  padding: 5px 55px 5px 0;
  margin-top: 10px;
  direction: rtl;
  font-size: 30px;
  outline: none;
  border: none;
}

nav.topNav2 div.searchField form input[type=search] {max-width:100%; width: 100%; background: #fcfcfc;}

section.firstSection div.searchField form input[type=search]::-webkit-input-placeholder,
section.mini_header div.searchField form input[type=search]::-webkit-input-placeholder
{color: #777; font-size: 25px}

section.firstSection div.searchField form input[type=search]:-moz-placeholder,
section.mini_header div.searchField form input[type=search]:-moz-placeholder
{color: #777; font-size: 25px}

section.firstSection div.searchField form input[type=search]::-moz-placeholder ,
section.mini_header div.searchField form input[type=search]::-moz-placeholder
{color: #777; font-size: 25px}

section.firstSection div.searchField form input[type=search]:-ms-input-placeholder,
section.mini_header div.searchField form input[type=search]:-ms-input-placeholder
{color: #777; font-size: 25px}

section.firstSection div.searchField form input[type=search] {
  margin-top: 50px;
}

nav.topNav2 div.searchField form button,
section.firstSection div.searchField form button,
section.mini_header div.searchField form button {
  background: transparent;
  border: 0;
  position: absolute;
  top: 54px;
  right: 0;
}

nav.topNav2 div.searchField form button {
  top: 14px;
  right: 14px;
}

section.mini_header div.searchField form button {
  top: 14px;
}

nav.topNav2 div.searchField form button img,
section.firstSection div.searchField form button img,
section.mini_header_ads div.searchField form button img,
section.mini_header_websites div.searchField form button img,
section.mini_header_contact div.searchField form button img,
section.mini_header_about div.searchField form button img,
section.mini_header_library div.searchField form button img,
section.mini_header_addBook div.searchField form button img,
section.mini_header_help div.searchField form button img {
  width: 75%;}

section.firstSection div.bookSlider {
  margin: 0 auto -20px;
  position: relative;
  top: 35px;
}

/*** Welcome Section ***/
section.secondSection {
  padding-top: 50px;
}

section.secondSection div.welcome h1.h1 {
  color: #E99405;
  font-weight: bold;
}

section.secondSection div.welcome p {
  color: #666465;
  font-size: 21px;
}

section.secondSection div.welcome ul li i.fa-facebook-square {
  color: #3B55A0;
  cursor: pointer;
}

section.secondSection div.welcome ul li i.fa-twitter-square {
  color: #50ABF2;
  cursor: pointer;
}

section.secondSection div.welcome div.fbLike, section.secondSection div.welcome div.twFollow {
  display: none;
  margin-top: 30px;
}
/*** Best Books ***/
section.thirdSection {
  position: relative;
  overflow: hidden;
}

section.thirdSection div.bestBook h1.h1 {
  padding: 50px 20px 0;
  direction: rtl;
  font-weight: bold;
}

#demo {
  margin-top: 250px;
  margin-bottom: 500px;
}
.bee3D--slide {
  /*background-color: gray;*/
  width: 250px;
  margin-left: -122px;
}

.bee3D--slide > img {
  box-shadow: 3px 7px 10px #ccc;
}

section.thirdSection div.more a, section.fourthsection div.addBook a {
  display: inline-block;
  padding: 12px 50px;
  background: #FFAE02;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  border-radius: 15px;
  margin-top: -10px;
}


/*** Recently Books ***/
section.fourthsection {
  padding: 40px 0;
}

section.fourthsection div.recentlyBook h1.h1 {
  padding: 50px 20px 0;
  direction: rtl;
  font-weight: bold;
}

section.fourthsection div.carousel {
  padding-bottom: 50px;
  margin-bottom: 50px;
}

section.fourthsection div.carousel .carousel-indicators {
  z-index: 1;
}

section.fourthsection div.carousel .carousel-indicators li {
  border: 1.5px solid #545454;
  background-color: #545454;
  width: 12px;
  height: 12px;
  margin: 20px 30px -20px;
}

section.fourthsection div.carousel .carousel-indicators .active {
  width: 15px;
  height: 15px;
  background-color: #fff;
}

section.fourthsection div.carousel div.carousel-inner div.bookItem {
  width: 10%;
  display: inline-block;
  position: relative;
  margin: 2% 7%;
  cursor: pointer;
}

section.fourthsection div.carousel div.carousel-inner div.bookItem > img {
  box-shadow: 6px 7px 15px #ccc;
}

section.fourthsection div.carousel div.carousel-inner div.bookItem a {
  text-decoration: none;
  color: inherit;
}

section.fourthsection div.carousel div.carousel-inner div.bookItem div.carousel-caption {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #1E3138;
  opacity: 0;
  transition: all .8s;
}

section.fourthsection div.carousel div.carousel-inner div.bookItem div.carousel-caption p.details {
  display: block;
  text-align: center;
  margin: 20px auto;
  color: #fff;
  text-decoration: none;
  padding: 5px 10px;
  background: #222;
}
/**** End Home ****/

/**** Start Help ****/
section.mini_header {
  min-height: 420px;
  color: #fff;
  padding: 30px;
  margin-bottom: 50px;
  background-size: cover;
  position: relative;
}

section.mini_header h1.h1 {
  margin: 8% auto;

}

section.mini_header_help {
  background: #1C3051 url('../img/help_header.png') center no-repeat;
  background-size: cover;
}

.uncompress, .read {
  margin: 25px 0;
  direction: rtl;
  color: #5E5E5E;
}

.uncompress .btn {
  font-weight: bold;
  padding: 15px 25px;
}
/**** End Help Page ****/
/**** Start Add Book Page ****/

section.mini_header_addBook {
  background:  url('../img/addBook_header.png') center no-repeat;
  background-size: cover;
}

section.addBook div.dataInput .h3 {
  display: inline-block;
  color: #555;
  padding: 25px 35px;
  margin: 20px 0;
  border-radius: 5px;
  box-shadow: 3px 7px 10px rgba(0, 0, 0, 0.2);
}

section.addBook div.dataInput input, section.addBook div.dataInput textarea {
  direction: rtl;
  background: #fff;
  width: 500px;
  max-width: 95%;
  padding: 15px;
  margin: 15px 0;
  line-height: 1;
  font-size: 21px;
  border: none;
  border-radius: 15px;
  box-shadow: 3px 10px 15px rgba(0, 0, 0, 0.2);
}

section.addBook div.dataInput input, section.addBook div.dataInput textarea:focus {
  outline: none;
  border-radius: 15px;
}

section.addBook div.dataInput select {
  width: 500px;
  max-width: 95%;
}

section.addBook div.dataInput button,
section.addBook div.dataInput input[type=file]::-webkit-file-upload-button {
  border-radius: 5px;
  color: #fff;
  font-size: 21px;
  line-height: 1;
  padding: 10px 20px;
  border: none;
  margin: 25px 20px 25px 0;
}

section.addBook div.dataInput input[type=file]::-webkit-file-upload-button {background: #727272;}

section.addBook div.dataInput input[type=file]::-webkit-file-upload-button { margin: 0;}


section.addBook div.dataInput textarea {
  resize: none;
}

section.addBook div.dataInput input[type=radio] {
  margin: 7px 14px 30px 7px;
}

section.addBook div.dataInput #imgInp {
  display: inline-block;
  width: 185px;
  color: transparent;
  padding: 15px;
  margin: 20px;
}

section.addBook div.dataInput img.preview {
  width: 350px;
  max-width: 100%;
  display: block;
  height: auto;
  clear: both;
  margin: 20px auto;
  box-shadow: 3px 3px 10px;
}

section.addBook div.dataInput input[type=file]::-webkit-file-upload-button {
  color:#fff;
}

section.addBook .uploadBook{
  float: none;
  margin: 30px auto;
}

section.addBook .authorName {
  display: none;
}

/** Upload **/
section.addBook button[type=submit] {
  color: white;
  background-color: #727272;
  border-color: #727272;
  font-size: 14px;
  padding: 15px 25px;
  background-image: none;
  border-radius: 5px;
  margin: 25px;
}

.bookBg {
  background: transparent url('../img/bookBg.png') 0 center no-repeat;
  background-size: 50%;
  background-position: bottom left;
}

/**** End Add Book Page ****/
/**** Start Library Page ****/

section.mini_header_library {
  background: #667071 url('../img/library_header.png') center no-repeat;
  overflow: hidden;
  min-height: 600px;
}

section.mini_header_library * {
  position: relative;
}

.cn-button .h1 {font-size: 18px}

.cn-button {
  position: absolute;
  top: 100%;
  left: 25px;
  z-index: 4;
  margin-top: -1.25em;
  margin-left: -2.25em;
  padding-top: 0em;
  width: 4.5em;
  height: 4.5em;
  border: none;
  border-radius: 50%;
  background: none;
  background-color: #fff;
  color: #52be7f;
  text-align: center;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-backface-visibility: hidden;
}

.csstransforms .cn-wrapper {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 3;
  margin-top: -13.5em;
  margin-left: -13.5em;
  width: 27em;
  height: 23em;
  border-radius: 50%;
  background: transparent;
  opacity: 0;
  -webkit-transition: all .3s ease 0.3s;
  -moz-transition: all .3s ease 0.3s;
  transition: all .3s ease 0.3s;
  -webkit-transform: scale(0.1);
  -ms-transform: scale(0.1);
  -moz-transform: scale(0.1);
  transform: scale(0.1);
  pointer-events: none;
}

/*cover to prevent extra space of anchors from being clickable*/
.csstransforms .cn-wrapper:after{
  content:".";
  display:block;
  font-size:2em;
  width:6.2em;
  height:6.2em;
  position: absolute;
  left: 50%;
  margin-left: -3.1em;
  top:50%;
  margin-top: -3.1em;
  border-radius: 50%;
  z-index:10;
  color: transparent;
}

.csstransforms .opened-nav {
  border-radius: 50%;
  opacity: 1;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  transition: all .3s ease;
  -webkit-transform: scale(-1);
  -moz-transform: scale(-1);
  -ms-transform: scale(-1);
  transform: scale(-1);
  pointer-events: auto;
}

.csstransforms .cn-wrapper li {
  position: absolute;
  top: 50%;
  left: 50%;
  overflow: hidden;
  margin-top: 0;
  margin-left: -10em;
  width: 10em;
  height: 10em;
  font-size: 1.5em;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  transition: all .3s ease;
  -webkit-transform: rotate(76deg) skew(60deg);
  -moz-transform: rotate(76deg) skew(60deg);
  -ms-transform: rotate(76deg) skew(60deg);
  transform: rotate(76deg) skew(60deg);
  -webkit-transform-origin: 100% 100%;
  -moz-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
  pointer-events: none;
}

.csstransforms .cn-wrapper li a {
  position: absolute;
  right: -7.25em;
  bottom: -7.25em;
  display: block;
  width: 15.5em;
  height: 14.5em;
  border-radius: 50%;
  background: #1A232C;
  background: -webkit-radial-gradient(transparent 35%, #1A232C 35%);
  background: -moz-radial-gradient(transparent 35%, #1A232C 35%);
  background: radial-gradient(transparent 35%, #1A232C 35%);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 1.3em;
  line-height: 2;
  -webkit-transform: skew(-60deg) rotate(-75deg) scale(1);
  -moz-transform: skew(-60deg) rotate(-75deg) scale(1);
  -ms-transform: skew(-60deg) rotate(-75deg) scale(1);
  transform: skew(-60deg) rotate(-75deg) scale(1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  pointer-events: auto;
}

.csstransforms .cn-wrapper li a span {
  position: relative;
  top: 1.2em;
  display: block;
  font-size: .6em;
  text-transform: uppercase;
  -webkit-transform: scale(-1);
  -moz-transform: scale(-1);
  -ms-transform: scale(-1);
  transform: scale(-1);
}

.csstransforms .cn-wrapper li a:hover,
.csstransforms .cn-wrapper li a:active,
.csstransforms .cn-wrapper li a:focus {
  background: -webkit-radial-gradient(transparent 35%, #449e6a 35%);
  background: -moz-radial-gradient(transparent 35%, #449e6a 35%);
  background: radial-gradient(transparent 35%, #449e6a 35%);
}
.csstransforms .cn-wrapper li a:focus {
    position: fixed; /* fix the displacement bug in webkit browsers when using tab key */
}

.csstransforms .opened-nav li {
  -webkit-transition: all .3s ease .3s;
  -moz-transition: all .3s ease .3s;
  transition: all .3s ease .3s;
}

.csstransforms .opened-nav li:first-child {
  -webkit-transform: rotate(-20deg) skew(60deg);
  -moz-transform: rotate(-20deg) skew(60deg);
  -ms-transform: rotate(-20deg) skew(60deg);
  transform: rotate(-20deg) skew(60deg);
}

.csstransforms .opened-nav li:nth-child(2) {
  -webkit-transform: rotate(12deg) skew(60deg);
  -moz-transform: rotate(12deg) skew(60deg);
  -ms-transform: rotate(12deg) skew(60deg);
  transform: rotate(12deg) skew(60deg);
}

.csstransforms .opened-nav  li:nth-child(3) {
  -webkit-transform: rotate(44deg) skew(60deg);
  -moz-transform: rotate(44deg) skew(60deg);
  -ms-transform: rotate(44deg) skew(60deg);
  transform: rotate(44deg) skew(60deg);
}

.csstransforms .opened-nav li:nth-child(4) {
  -webkit-transform: rotate(76deg) skew(60deg);
  -moz-transform: rotate(76deg) skew(60deg);
  -ms-transform: rotate(76deg) skew(60deg);
  transform: rotate(76deg) skew(60deg);
}

.csstransforms .opened-nav li:nth-child(5) {
  -webkit-transform: rotate(108deg) skew(60deg);
  -moz-transform: rotate(108deg) skew(60deg);
  -ms-transform: rotate(108deg) skew(60deg);
  transform: rotate(108deg) skew(60deg);
}

.csstransforms .opened-nav li:nth-child(6) {
  -webkit-transform: rotate(140deg) skew(60deg);
  -moz-transform: rotate(140deg) skew(60deg);
  -ms-transform: rotate(140deg) skew(60deg);
  transform: rotate(140deg) skew(60deg);
}

.csstransforms .opened-nav li:nth-child(7) {
  -webkit-transform: rotate(172deg) skew(60deg);
  -moz-transform: rotate(172deg) skew(60deg);
  -ms-transform: rotate(172deg) skew(60deg);
  transform: rotate(172deg) skew(60deg);
}

.no-csstransforms .cn-wrapper {
  overflow: hidden;
  margin: 10em auto;
  padding: .5em;
  text-align: center;
}

.no-csstransforms .cn-wrapper ul {
  display: inline-block;
}

.no-csstransforms .cn-wrapper li {
  float: left;
  width: 5em;
  height: 5em;
  background-color: #fff;
  text-align: center;
  font-size: 1em;
  line-height: 5em;
}

.no-csstransforms .cn-wrapper li a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.no-csstransforms .cn-wrapper li a:hover,
.no-csstransforms .cn-wrapper li a:active,
.no-csstransforms .cn-wrapper li a:focus {
  background-color: #f8f8f8;
}

.no-csstransforms .cn-wrapper li.active a{
  background-color: #6F325C;
  color: #fff;
}

.no-csstransforms .cn-button {
  display: none;
}

@media only screen and (max-width: 620px) {
  .no-csstransforms li {
    width: 4em;
    height: 4em;
    line-height: 4em;
  }
}

@media only screen and (max-width: 500px) {
  .no-ccstransforms .cn-wrapper {
    padding: .5em;
  }

  .no-csstransforms .cn-wrapper li {
    width: 4em;
    height: 4em;
    font-size: .9em;
    line-height: 4em;
  }
}

@media only screen and (max-width: 480px) {
  .csstransforms .cn-wrapper {
    font-size: .68em;
  }

  .cn-button {
    font-size: 1em;
  }
}

@media only screen and (max-width:420px) {
  .no-csstransforms .cn-wrapper li {
    width: 100%;
    height: 3em;
    line-height: 3em;
  }
}

/** Animation & Hover Effect **/
.s {
  -webkit-animation: r0 1s 0s ease-out infinite;
  -moz-animation: r0 1s 0s ease-out infinite;
  animation: r0 1s 0s ease-out infinite;
}
.s:hover {
  -webkit-animation: r20 0.5s 0.4s ease-out infinite;
  -moz-animation: r20 0.5s 0.4s ease-out infinite;
  animation: r20 0.5s 0.4s ease-out infinite;
}

@-webkit-keyframes r0 {
  0% {
    box-shadow: 0 0 8px 6px rgba(26, 255, 179, 0), 0 0 0px 0px rgba(32, 34, 33, 0.2), 0 0 0px 0px rgba(26, 255, 179, 0);
  }
  10% {
    box-shadow: 0 0 8px 6px rgba(26, 255, 179, 0.5), 0 0 12px 10px rgba(32, 34, 33, 0.2), 0 0 12px 14px rgba(26, 255, 179, 0.5);
  }
  100% {
    box-shadow: 0 0 8px 6px rgba(26, 255, 179, 0), 0 0 0px 20px rgba(32, 34, 33, 0.2), 0 0 0px 20px rgba(26, 255, 179, 0);
  }
}
@-moz-keyframes r0 {
  0% {
    box-shadow: 0 0 8px 6px rgba(26, 255, 179, 0), 0 0 0px 0px rgba(32, 34, 33, 0.2), 0 0 0px 0px rgba(26, 255, 179, 0);
  }
  10% {
    box-shadow: 0 0 8px 6px rgba(26, 255, 179, 0.5), 0 0 12px 10px rgba(32, 34, 33, 0.2), 0 0 12px 14px rgba(26, 255, 179, 0.5);
  }
  100% {
    box-shadow: 0 0 8px 6px rgba(26, 255, 179, 0), 0 0 0px 20px rgba(32, 34, 33, 0.2), 0 0 0px 20px rgba(26, 255, 179, 0);
  }
}
@keyframes r0 {
  0% {
    box-shadow: 0 0 8px 6px rgba(26, 255, 179, 0), 0 0 0px 0px rgba(32, 34, 33, 0.2), 0 0 0px 0px rgba(26, 255, 179, 0);
  }
  10% {
    box-shadow: 0 0 8px 6px rgba(26, 255, 179, 0.5), 0 0 12px 10px rgba(32, 34, 33, 0.2), 0 0 12px 14px rgba(26, 255, 179, 0.5);
  }
  100% {
    box-shadow: 0 0 8px 6px rgba(26, 255, 179, 0), 0 0 0px 20px rgba(32, 34, 33, 0.2), 0 0 0px 20px rgba(26, 255, 179, 0);
  }
}
@-webkit-keyframes r20 {
  from {
    box-shadow: 0 0 8px 6px rgba(255, 26, 26, 0.5), 0 0 12px 10px rgba(32, 34, 33, 0.2), 0 0 12px 14px rgba(255, 26, 26, 0.5);
  }
  to {
    box-shadow: 0 0 8px 6px rgba(255, 26, 26, 0), 0 0 4px 20px rgba(32, 34, 33, 0.2), 0 0 4px 21px rgba(255, 26, 26, 0);
  }
}
@-moz-keyframes r20 {
  from {
    box-shadow: 0 0 8px 6px rgba(255, 26, 26, 0.5), 0 0 12px 10px rgba(32, 34, 33, 0.2), 0 0 12px 14px rgba(255, 26, 26, 0.5);
  }
  to {
    box-shadow: 0 0 8px 6px rgba(255, 26, 26, 0), 0 0 4px 20px rgba(32, 34, 33, 0.2), 0 0 4px 21px rgba(255, 26, 26, 0);
  }
}
@keyframes r20 {
  from {
    box-shadow: 0 0 8px 6px rgba(255, 26, 26, 0.5), 0 0 12px 10px rgba(32, 34, 33, 0.2), 0 0 12px 14px rgba(255, 26, 26, 0.5);
  }
  to {
    box-shadow: 0 0 8px 6px rgba(255, 26, 26, 0), 0 0 4px 20px rgba(32, 34, 33, 0.2), 0 0 4px 21px rgba(255, 26, 26, 0);
  }
}

/** Section Library **/
hr {
  margin-top: 30px;
  height: 3px;
  background: #B7B7B7;
}

.subHeader {
  background: #FFF;
  color: #525252;
  margin-top: -50px;
  padding: 30px 40px;
  font-size: 3em;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

@media screen and (max-width: 450px) {
  .subHeader {
    font-size: 1.9em;
  }
}

section.library h2.h2 {
  direction: rtl;
}

section.library a {
  display: block;
  text-decoration: none;
}

section.library div.libraryBook {
  margin-top: 50px;
  margin-bottom: 50px;
}

section.library div.libraryBook p {
  direction: rtl;
}

section.library table {
  direction: rtl;
  margin: 50px auto;
}

section.library table thead {
  color: #fff;
  background: #464646;
  font-size: 25px;
}

section.library table tbody {
  font-size: 18px;
}

section.library .table-hover>tbody>tr:hover {
    background-color: rgba(153, 153, 153, 0.6);
    color: #000;
}

/**** End Library Page ****/
/**** Start Book Page ****/
section.bookBage div.bookCover {
  margin: 50px auto;
}

section.bookBage div.bookCover img {
  box-shadow: 5px 5px 8px #ccc;
}

section.bookBage table {
  direction: rtl;
  text-align: right;
}

section.bookBage table td , section.bookBage table th {
  text-align: right;
  border: none;
  padding: 15px 0;
  font-size: 20px;
}

section.bookBage .badge {
  font-size: 18px;
}

section.bookBage .downShare {
  position: relative;
  color: #1abede;
  cursor: pointer;
  overflow: hidden;
}

section.bookBage .downShare p {
  margin-top: 10px;
}

section.bookBage .downShare div {
  display: inline-block;
  margin: 25px 50px 40px;
}

section.bookBage #share-buttons {
  position: absolute;
  top: 20px;
  right: -1000px;
}

.move {
  right: 120px !important;
}

section.bookBage #share-buttons img {
  width: 50px;
  padding: 5px;
  border: 0;
  box-shadow: 0;
  display: inline-block;
  transition: all .35s ease-in-out;
}

section.bookBage #share-buttons img:hover {
  transform: scale(1.2);
}

/**** End Book Page ****/
/**** Start About Page ****/

section.mini_header_about {
  background: #7F7569 url('../img/about_header.png') no-repeat;
  background-position: center;
  background-size: cover;
}

section.about {
  color: #5E5E5E;
  direction: rtl;
}

/**** End About Page ****/
/**** Start Contact Page ****/

section.mini_header_contact {
  background: #808080 url('../img/contact_header.png') center no-repeat;
  background-size: cover;
}

section.contact {
  color: #5E5E5E;
  direction: rtl;
}

section.contact form.contactForm {
  background: url('../img/sendBg.png') center no-repeat;
  background-size: contain;
  margin: 40px 0;
  padding: 60px 0;
}

section.contact form.contactForm textarea {
  resize: none;
}

section.contact form.contactForm input, section.contact form.contactForm textarea {
  width: 500px;
  max-width: 100%;
  padding: 15px;
  margin: 20px 0;
  line-height: 1;
  font-size: 21px;
  border: none;
  border-radius: 15px;
  box-shadow: 3px 10px 15px rgba(0, 0, 0, 0.2);
}

section.contact form.contactForm input, section.contact form.contactForm textarea:focus {
  outline: none;
  border-radius: 15px;
}

section.contact form.contactForm button {
  border-radius: 15px;
  background: #565656;
  color: #fff;
  font-size: 21px;
  line-height: 1;
  padding: 20px 50px;
  margin: 25px 0;
}

/**** End Contact Page ****/

/**** Start Websites Page ****/

section.mini_header_websites {
  background: #3D5B59 url('../img/websites_header.png') center no-repeat;
  background-size: cover;
}

section.websites {
  color: #5E5E5E;
}

section.websites ul li {
  margin: 20px;
  /*box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.2);*/
  transition: all .35s ease-in-out;
}

section.websites ul li:hover {
  transform: scale(1.03);
}

/**** End Websites Page ****/
/**** Start Ads Page ****/

section.mini_header_ads {
  background: #7B786A url('../img/ads_header.png') center no-repeat;
  background-size: cover;
}

section.adsPage {overflow-x:visible;}

section.adsPage div.title {
  position: relative;
  margin: 0 auto 50px;
  width: 300px;
  height: 150px;
  line-height: 150px;
  background: #E62E30;
  color: #fff;
  font-size: 30px;
}

section.adsPage div.title::before, section.adsPage div.title::after {
  content: '';
  border-style: solid;
  border-width: 45px 30px 45px 0;
  border-color: #E62E30 transparent;
  position: absolute;
  top: 25px;
  right: -140px;
  width: 55px;
}

section.adsPage div.title::after {
  border-width: 45px 0px 45px 30px;
  left: -140px;
}
section.adsPage div.title div.right_div, section.adsPage div.title div.left_div {
  position: absolute;
  top: 7px;
  right: -65px;
  height: 130px;
  width: 45px;
  background: #E62E30;
}

section.adsPage div.title div.left_div {
  left: -65px;
}

section.adsPage div.counting {
  margin-bottom: 50px;
  font-size: 90px;
  text-align: center;
}

section.adsPage div.forMobAds p {
  padding: 0;
}

section.adsPage button {
  border-radius: 5px;
  background: #FCBC05;
  color: #fff;
  font-size: 35px;
  line-height: 1;
  padding: 20px 50px;
  margin: 25px 0;
}

section.adsPage button a {
  color: inherit;
  display: block;
}

/**** End Ads Page ****/

section.mini_header_ads,
section.mini_header_contact,
section.mini_header_help,
section.mini_header_about,
.shadow {
  box-shadow: 5px 4px 8px #555;
}

/*** Footer ***/
footer {
  background: #4C4C4C;
  color: #fff;
  direction: rtl;
}

footer div {
  margin: 20px auto 0;
}

footer div.upperList ul li, footer div.lowerList ul li {
  margin: 0px 20px;
  text-align: center;
  padding: 7px 10px;
  font-size: 18px;
  border-top: 1px solid;
  border-bottom: 1px solid;
}

footer div.upperList ul li:hover, footer div.lowerList ul li:hover {
  color: #4C4C4C;
  background: #fff;
}

footer a, footer a:hover, footer div.socialMedia a, footer div.socialMedia a:hover {
  text-decoration: none;
  color: inherit;
  display: block;
}

footer div.socialMedia {
  direction: ltr;
}

footer div.socialMedia p {
  display: inline-block;
  margin: 0 6px;
  position: relative;
  top: -10px;
}

footer div.copyright {
  background: #171717;
  text-align: center;
  padding: 5px;
  direction: ltr;
}

footer div.copyright p {
  margin: 0 auto;
}

/* emty */
.empty {
    padding: 40px;
    font-weight: 600;
    text-align: center;
    margin: 20px auto 50px;
    margin-top: 200px;
    color: #c0392b;
    width: 70%;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 20px;
    -webkit-box-shadow: 0px 0px 21px -2px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 21px -2px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 21px -2px rgba(0,0,0,0.75);
}

/* Rating */
/* :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:200%;
    line-height:1.2;
    color:#ddd;
    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: #f70;
    text-shadow:1px 1px #c60, 2px 2px #940, .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 goldenrod, 2px 2px #B57340, .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: #ea0;
    text-shadow:1px 1px goldenrod, 2px 2px #B57340, .1em .1em .2em rgba(0,0,0,.5);
}

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

/* Back to top */
.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  z-index: 10;
  bottom: 40px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: #555 url('../img/cd-top-arrow.svg') no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.no-touch .cd-top:hover {
  background-color: #e86256;
  opacity: 1;
}

/*** End Footer ***/

/*** Start Not Found ***/

section.notFound {color: #777;}

.notFound .h1 {
  font-weight: bold;
  font-size: 15.5em;
}

.notFound .book_404 > img {
  margin-left: 310px;
}

.notFound .book_404 a {
  display: block;
  position: relative;
  text-align: center;
}

.notFound .book_404 a img {
  position: absolute;
  bottom: 50px;
  margin-left: -10px;
  max-width: 100%;
  cursor: pointer;
}

/*** End Not Found ***/

/**** Media Query ****/
@media screen and (max-width: 1024px) {

  div.searchFieldRight {right: -75px}

  section.mini_header {margin-top: -6px;}

  section.mini_header h1.h1 {margin: 11% auto 0;}

  .move {right: 30px !important;}

  .cn-button h1.h1 {margin: 8% auto !important;}

  section.firstSection,
  section.mini_header_ads,
  section.mini_header_contact,
  section.mini_header_help,
  section.mini_header_about,
  .shadow {
    box-shadow: none;
  }

  .cd-top {height: 60px; width: 60px; right: 30px; bottom: 30px;}

  .notFound .book_404 a img {bottom: -100px; margin-left: -40px;}
}

@media screen and (max-width: 768px) {
  nav.topNav ul li {font-size: 14px;}
  nav.topNav a {padding: 20px 0px;}
  nav.topNav ul li.sign {margin: 23px 0px;}
  nav.topNav ul li.sign:last-of-type {display: none;}

  div.bookSlider div.slide {width: 240px !important;}

  div.searchFieldRight {right: -75px}

  nav.topNav2 div.searchField form input[type=search],
  section.firstSection div.searchField form input[type=search] {width: 550px;}

  section.firstSection div.bookSlider div.bx-controls-direction {display: none;}

  section.secondSection div.welcome {text-align: center;}

  section.fourthsection div.carousel div.carousel-inner div.bookItem div.carousel-caption {/* display: none; */}

  section.bookBage div.bookCover {float: none !important;}

  section.mini_header {padding: 30px 0; overflow: hidden;}

  .move {right: -10px !important; top: 105px !important;}

  .uncompress, .read {margin: 25px;}

  .cn-button {margin-top: 1.5em;}
  /*.csstransforms .cn-wrapper {margin-top: -13.5em; margin-left: -13.5em;}*/

  footer div.upperList ul li, footer div.lowerList ul li {margin: 0 10px;}

  .cd-top {right: 20px; bottom: 20px;}

  .notFound .book_404 a img {margin-left: -55px;}
}

@media screen and (max-width: 480px) {

  nav.topNav .logo {padding: 3px 50px;}

  nav.sideNav {padding-top: 0; right: -450px;}

  nav.sideNav a {padding: 12px 17px; font-size: 18px;}

  nav.topNav ul li:not(#openNav):not(.logo) {display: none;}

  div.searchFieldRight {right: -35px; top: -3px;}

  nav.topNav2 div.searchField form input[type=search],
  section.firstSection div.searchField form input[type=search] {width: 280px;}

  section.firstSection div.bookSlider {margin: 0 auto -135px;}

  div.popUp .form {margin: 25px auto; padding: 30px 15px;}

  div.bookSlider div.slide {width: 270px !important;}

  .bee3D--slide > img {display: block; width: 70%; margin: 0 auto 15px; height: 65%;}

  section.mini_header {min-height: 520px}
  section.mini_header div.searchField {display: block;}

  section.secondSection div.welcome h1.h1 {font-size: 27px; margin-bottom: 15px;}

  section.fourthsection div.carousel {margin-bottom: 0;}
  section.fourthsection div.carousel div.carousel-inner div.bookItem {width: 50%; margin: 6% 25%;}
  section.fourthsection div.carousel .carousel-indicators li {margin: auto; width: 19px; height: 19px;}
  section.fourthsection div.carousel .carousel-indicators .active {width: 20px;height: 20px;}

  section.fourthsection div.carousel div.carousel-inner div.bookItem > img {margin: 25px 0}

  section.fourthsection div.carousel div.carousel-inner div.bookItem a {color: #FFF;}

  section.fourthsection div.recentlyBook h1.h1 {font-size: 28px;}

  section.mini_header h1.h1 {margin: 30% auto 0;}

  section.mini_header_about {background-position: -300px 0;}

  .cn-button {margin-top: 2.5em; margin-left: -3.25em; width: 6.5em; height: 6.5em;}
  .cn-button .h1 {font-size: 23px;}

  section.bookBage table th {width: 35%;}

  section.addBook .qq-uploader {min-height: 250px; max-width: 90%; margin: 0 auto;}

  section.contact form.contactForm button {width: 100%;}

  section.adsPage button {width: 100%;}

  footer ul.list-inline {padding-right: 0;}

  footer div.upperList ul li, footer div.lowerList ul li {margin: 10px; display: block; padding: 7px 0px; font-size: 16px;}

  .notFound .h2 {text-align: center;}
  .notFound .h1 {font-size: 11em;}
  .notFound .book_404 a img {margin-left: -88px;}
}

@media screen and (max-width: 320px) {
  div.searchFieldRight {right: -12px; padding: 0;}

  nav.topNav2 div.searchField form button {right: 0;}

  nav.topNav .logo {padding: 3px 30px;}

  section.bookBage #share-buttons {margin: 0;}

  .move {right: 27px !important;top: 300px !important;}

  .notFound .book_404 a img {margin-left: -80px;}
}

.paginate{
    text-align: center;
}

input,
input::-webkit-input-placeholder {
    font-size: 20px !important;
    line-height: 3 !important;
}


@media screen and (min-width: 768px) {
 .search-page .adjust-hight{
   height: 300px;
   overflow: hidden
    }
}

@media screen and (max-width: 767px   ) and (min-width:3501px) {
 .search-page .adjust-hight{
        height: 300px;
        overflow: hidden
    }
}


@media screen and (max-width: 350px) {
 .search-page .adjust-hight{
        height: 300px;
    }



}


@media screen and (max-width: 450px) {

    section.firstSection div.searchField form input[type=search] ,
    section.mini_header div.searchField form input[type=search]{
            height: 65px;

    }

   section.firstSection div.searchField form button  {
        background: transparent;
        border: 0;
        position: absolute;
        top: 60px;
        right: 10px;
        height: 52px;
        width: 36px;
    }

    .ios-device  section.firstSection div.searchField form button{
        background: transparent;
        border: 0;
        position: absolute;
        top: 80px;
        right: 10px;
        height: 52px;
        width: 36px;
    }
    .ios-device  section.mini_header div.searchField form button{
       top:  45px;
    }

     .ios-device nav.topNav2 div.searchField form input[type=search]{

    height: 67px;
    }

    .ios-device nav.topNav2 div.searchField form button{
        top: 37px;
    }



     .ios-device #topNav{
            height: 100px;
    }
}
