@charset "utf-8";
/* CSS Document */

@media only screen and (max-width: 960px) {
  #shadowSlider {
    background: none;
    width: 100%;
  }

  #nav > li a {
    padding: 24px 11px;
    -webkit-transition: padding 0.8s;
    -moz-transition: padding 0.2s;
    -o-transition: padding 0.2s;
    -ms-transition: padding 0.2s;
    transition: padding 0.8s;
  }

  @-moz-document url-prefix() {
    #nav > li a {
      padding: 23px 11px;
    }
  }
}
@media only screen and (max-width: 920px) {
  .btn {
    width: 48%;
    margin-top: 10px;
  }
}

@media only screen and (max-width: 880px) {
  .booksImg {
    width: 41% !important;
  }
  .detailBooks {
    width: 54% !important;
  }
  .vdoImg {
    width: 57%;
  }

  .detailVdo {
    width: 40%;
  }
}

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

  .btn {
    width: inherit;
    margin-top: 0 !important;
  }

  .updates p {
    padding: 0 2% !important;
  }

  .header {
    background: url(../img/sp-Main.jpg) 0 -150px repeat-x;
    height: 56px;
  }

  #logoz {
    width: 270px;
    margin-top: 3px;
  }

  .floatright div#___gcse_0,
  .searchBar,
  .quickIcons,
  .searchsection .switcher {
    display: none;
  }

  .menuIcon {
    background: #fff url(../img/repeat-sprite.png) repeat-x;
    height: 28px;
    width: 30px;
    border-radius: 3px;
    cursor: pointer;
    margin: 40px 30px 0 0;
  }

  #nav {
    display: none;
  }

  ul#nav li:first-child {
    display: block;
  }
  ul#nav > li:first-child {
    height: 112px !important;
    padding-top: 12px;
  }
  input.searchBar.gsearch {
    width: 89%;
    margin-bottom: 5px;
  }
  .mobile li div#___gcse_1 {
    width: 90%;
    margin: 0 auto;
  }
  table.gsc-search-box td {
    vertical-align: top !important;
  }
  td.gsib_b {
    display: none;
  }

  #menuPng {
    background: url(../img/sprite.png) -105px -45px no-repeat;
    height: 28px;
    width: 30px;
  }

  .mobile .searchBar,
  .mobile ul.quickIcons{
    display: block;
  }
  .header .gtranslate_wrapper {
    display: none;
  }
  .custom_iconMenu {
    display: inline-flex;
  }

  .mobile .searchBar {
    /*width:65%;
        margin-top:4px;
        margin-left:4px;
        height:23px;
        float:left;
        border-color:#9bafc6*/
    width: 90%;
    height: 23px;
    margin: 0 auto;
    border-color: #9bafc6;
  }

  .mobile .searchBar input[type="text"] {
    width: 80% !important;
    height: 25px;
  }

  .mobile .searchBar input[type="image"] {
    background: url(../img/sprite.png) -13px -14px no-repeat;
  }

  .mobile ul.quickIcons {
    background: none;
    border: none;
    float: none;
    /*margin-left:2%;*/
    display: inline-flex;
    margin: 0 auto;
  }

  .mobile ul.quickIcons > li a {
    padding: 0 5% !important;
    border: none !important;
  }

  .mobile .gt_switcher {
    display: block !important;
    position: absolute;
    width: 100%;
    max-width: 50%;
    left: 25%;
    margin-top: 2px;
  }
  .mobile .gt_switcher a{
    padding: 4px 4px 3px !important;
  }
  .menuIcon {
    margin: 0;
  }

  .navigation {
    border-bottom: 0;
    height: inherit !important;
  }

  #nav > li {
    float: none !important;
    text-align: center;
  }

  #nav > li a,
  #nav > li span {
    padding: 10px 0;
    border-bottom: 2px solid #ebebeb;
  }

  #nav > li > a:hover {
    border-bottom: 2px solid #1c64a1;
  }

  #nav > li:first-child {
    border-bottom: 2px solid #ebebeb;
    height: 33px;
    background: #a5c2e5;
  }

  .updates,
  .section {
    width: 100% !important;
    clear: both;
  }

  .asideContainer {
    display: none !important;
  }

  .asideContainer {
    width: 256px;
    height: 90%;
    z-index: 4;
    position: fixed;
    top: 5%;
    right: 0;
    box-shadow: 5px 0 20px #000;
    background: #f5fafd;
    overflow-y: scroll;
    border-radius: 5px;
  }

  #bgFade {
    background: #000;
    opacity: 0.5;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
  }

  .asidePopup {
    background: url(../img/sprite.png) -14px -48px no-repeat;
    width: 28px;
    height: 54px;
    position: fixed;
    top: 45%;
    right: 0;
    cursor: pointer;
    z-index: 4;
  }

  .asideCollapse {
    background: url(../img/sprite.png) -58px -48px no-repeat !important;
    right: 256px !important;
  }

  .asideContainer > .moduletable {
    border-radius: 0;
    border: 0;
    border-top: 1px solid #c7d5dd;
    border-bottom: 1px solid #c7d5dd;
    border-radius: 4px;
    background: #f5fafd;
  }

  .booksReview > li,
  .homeAsideContainer .booksReview > li {
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #dedede;
    width: 100%;
    padding: 5px 0;
    margin-bottom: 0;
  }
  .homeAsideContainer > .moduletable h3 {
    font-size: 1.1em;
    margin-bottom: 0;
    padding: 5px;
  }
  .booksReview > li:last-child {
    border: none;
  }

  #mainMenu {
    flex-direction: column;
  }
  #mainMenu > li {
    float: none;
  }
  #mainMenu > li > a:hover,
  #mainMenu > li.active a {
    border-bottom-width: 2px;
  }

  #mainMenu>li>.submenu-toggle{
    display: block;
    position: absolute;
    top: 0;
    right: 5px;
    border: none;
    padding: 10px 20px;
  }
  #mainMenu>li.submenuOpen>.submenu-toggle{
    transform:  rotate(90deg);
    background: transparent !important;
    border: 0 !important;
  }

  #mainMenu>li:hover ul.mod-menu__sub {
    display: none;
  }
  #mainMenu>li.submenuOpen ul.mod-menu__sub{
    display: block;
    position: relative;
    top:0;
    background: none;
  }
  #mainMenu>li ul.mod-menu__sub li{
    border: 0;
  }
  #mainMenu>li ul.mod-menu__sub a{
    width: inherit;
    color: inherit;
  }

  #mainMenu ul.mod-menu__sub li:hover>a, 
  #mainMenu ul.mod-menu__sub li.active>a, 
  #mainMenu ul.mod-menu__sub li:hover span {
    background-color: #2B67B8 !important;
    color: #fff;
    border-bottom: 3px solid #2B67B8 !important;
    text-decoration: none;
  }

  #mainMenu > li ul.nav-child {
    width: 100%;
  }
  #mainMenu > li ul.nav-child a {
    width: inherit;
  }

  #mainMenu > li ul.nav-child li {
    border: 0;
  }

  /* Two buttons in books */
  .onebtn {
    position: relative;
    left: -164px;
    width: 74% !important;
  }

  .twobtn {
    position: absolute;
    width: 74% !important;
    right: 0px;
  }

  /* news letter*/
  .acym_module_form {
    flex-direction: column;
    align-items: flex-start;
    padding: 2em;
    margin-top: 0;
  }
  .newsletter_title {
    border-right: 0;
    padding-right: 0;
    width: 100%;
    height: auto;
    margin-bottom: 25px;
  }
  .newsletter_title h2 {
    font-size: 1.5em;
  }
  .acym_form {
    margin-left: 0;
    width: 100%;
  }
  .acym_form_element {
    border: 0;
    flex-direction: column;
    align-items: center;
  }
  .acym_module_form input[type="email"] {
    border: 2px solid #cbd7ed;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  .acysubbuttons {
    width: 100%;
  }
  .acym_module_form input[type="button"] {
    width: 100%;
    border-radius: 10px;
    height: 3em;
  }

  #headingSlider {
    left: 0px;
    width: 100%;
  }
  #mainSlide {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .sliderImg li {
    float: none;
    width: 93%;
    margin: 1px 0 0 1px;
  }
  .mod_vimeo{
    margin-bottom: 20px;
  }
  .homeBooksBig{
    display: none;
  }
  .book_container{
    justify-content: center;
  }
  .book_h2{
    /* text-align: center; */
    margin-top: 20px;
  }
  .book_box:not(:first-child) {
    display: none;
  }
  .book_box {
    width: 100%;
    max-width: 84vw;
    padding: 20px 0;
  }
  .book_prev,
  .book_next {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 3vw 1vw;
    color: #29334b;
    font-weight: bold;
    font-size: 1.4em;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  .book_prev {
    left: 0;
  }
  .book_next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  .book_prev:hover,
  .book_next:hover {
    color: #fff;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.8);
  }
}

@media only screen and (max-width: 620px) {
  .btn {
    width: 98.1%;
    margin-top: 8px !important;
  }

  .btn-primary {
    width: 100%;
  }
}

@media only screen and (max-width: 548px) {
  .introPlayer {
    width: 100%;
    display: block;
    margin: 5px 0;
    position: inherit !important;
  }
  .chzn-container {
    display: block !important;
    width: 100% !important;
  }
  #logoz {
    -webkit-transition: width 0.5s;
    -moz-transition: width 0.5s;
    -o-transition: width 0.5s;
    -ms-transition: width 0.5s;
    transition: width 0.5s;
  }

  .footer {
    border-bottom: 0;
    margin-top: 20px;
    padding: 10px 0;
  }

  .footer > .resWidth {
    display: none;
  }

  .copyRyt {
    text-align: center;
    display: block !important;
  }

  .btnPos {
    width: 100%;
    margin: 0;
  }

  .btnBelief {
    width: 86%;
  }

  .bookCen {
    width: 100%;
    text-align: center;
  }

  #finder-search fieldset.word a,
  #finder-search fieldset.word input[type="text"] {
    width: 96.9%;
  }

  .btn {
    margin-top: 8px;
    width: 99.3%;
  }

  /* Two buttons in books */
  .onebtn {
    position: inherit;
    left: 0px;
    width: 98% !important;
  }

  .twobtn {
    position: inherit;
    width: 98% !important;
    right: 0px;
  }
  .bio-item .pull-left.item-image {
    float: none;
    text-align: center;
    margin: 0 0 18px 0;
  }
  .bio-item .item-image > img {
    border-radius: 0px;
    max-width: 100%;
    max-height: 300px;
  }
  .bio-item .page-header {
    text-align: center;
  }
  .slider>.sliderImg .name{
    font-size: 1rem;
  }
}

@media only screen and (max-width: 400px) {
  #logoz {
    margin-top: 4px;
    max-width: 250px;
    -webkit-transition: margin 0.5s;
    -moz-transition: margin 0.5s;
    -o-transition: margin 0.5s;
    -ms-transition: margin 0.5s;
    transition: margin 0.5s;
  }
}
