/* Kids static stylesheet — modern CSS rebuild of the Kids visual design (RTL & LTR) */
@font-face {
  font-family: 'Dubai-Bold';
  src: url('../skins/site/css/fonts/Dubai-Bold.woff2') format('woff2'),
       url('../skins/site/css/fonts/Dubai-Bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Dubai-Medium';
  src: url('../skins/site/css/fonts/Dubai-Medium.woff2') format('woff2'),
       url('../skins/site/css/fonts/Dubai-Medium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Dubai-Regular';
  src: url('../skins/site/css/fonts/Dubai-Regular.woff2') format('woff2'),
       url('../skins/site/css/fonts/Dubai-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Dubai-Light';
  src: url('../skins/site/css/fonts/Dubai-Light.woff2') format('woff2'),
       url('../skins/site/css/fonts/Dubai-Light.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand-blue: #4397d3;
  --book-accent: var(--brand-blue);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Dubai-Light', Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
  background-color: #fff;
}

picture {
  display: contents;
}

img {
  vertical-align: middle;
  border: 0;
  max-width: 100%;
  height: auto;
}

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #337ab7;
  text-decoration: none;
}
a:hover, a:focus {
  color: #23527c;
  text-decoration: underline;
}

.sound-button, h1, h2, h3, h4, h5, h6 {
  font-family: 'Dubai-Bold', Helvetica, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.1;
}

h1 { font-size: 36px; margin: 20px 0 10px; }
h2 { font-size: 30px; margin: 20px 0 10px; }
h4 { font-size: 18px; margin: 10px 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.list-unstyled {
  padding-inline-start: 0;
  list-style: none;
  margin: 0;
}

/* Layout & grid */
.container {
  width: 100%;
  max-width: 1170px;
  margin-inline: auto;
  padding-inline: 15px;
}
.container::after, .row::after, .full-header::after {
  content: "";
  display: table;
  clear: both;
}

.row {
  margin-inline: -15px;
}

[class*="col-"] {
  position: relative;
  min-height: 1px;
  padding-inline: 15px;
}

.col-xs-3, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-12 {
  float: inline-start;
}
.col-xs-12 { width: 100%; }
.col-xs-7  { width: 58.33333333%; }
.col-xs-6  { width: 50%; }
.col-xs-5  { width: 41.66666667%; }
.col-xs-3  { width: 25%; }

@media (min-width: 992px) {
  .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-12 {
    float: inline-start;
  }
  .col-md-12 { width: 100%; }
  .col-md-8  { width: 66.66666667%; }
  .col-md-7  { width: 58.33333333%; }
  .col-md-6  { width: 50%; }
  .col-md-5  { width: 41.66666667%; }
  .col-md-4  { width: 33.33333333%; }
  .col-md-3  { width: 25%; }
  .col-md-2  { width: 16.66666667%; }
}

/* Top header */
.top-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  width: 100%;
  z-index: 1000;
}
.full-header {
  padding: 5px;
  height: 100px;
  background-color: #f6f6f6;
}
.cirlce {
  position: absolute;
  width: 100%;
  height: 49px;
  top: 94px;
  background: url('../skins/site/images/header.png') no-repeat center;
  pointer-events: none;
}
.diver-header {
  height: 100px;
}
.logo {
  width: 275px;
  max-width: 100%;
}
.slogo {
  font-family: 'Dubai-Regular', Helvetica, sans-serif;
  color: #959595;
  font-size: 1.3em;
  line-height: 22px;
  text-align: end;
  float: inline-end;
}

/* Language switch */
.switch-container {
  float: inline-end;
  margin: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  direction: rtl;
}
.switch-container .switch-lang {
  font-size: 18px;
  line-height: 34px;
  color: #333;
  text-decoration: none;
}
.switch-container .switch-lang.is-active {
  font-family: 'Dubai-Bold', Helvetica, sans-serif;
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin-bottom: 0;
  text-decoration: none;
}
.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #2baac4;
  transition: .3s;
}
.slider::before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: #fff;
  transition: .3s;
}
.switch.is-checked .slider {
  background-color: #bcd030;
}
.switch:focus-visible .slider {
  outline: 2px solid #123660;
  outline-offset: 2px;
}
.switch.is-checked .slider::before {
  transform: translateX(26px);
}
.slider.round {
  border-radius: 34px;
}
.slider.round::before {
  border-radius: 50%;
}

/* Top navigation */
.navbar-default {
  background-color: transparent;
  border: none;
  text-align: center;
  margin-bottom: 0;
  position: relative;
}
.nav-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.navbar-toggle {
  display: none;
  cursor: pointer;
  padding: 9px 10px;
  margin-top: 8px;
  margin-bottom: 8px;
  background-color: transparent;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background-color: #888;
}
.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}
.top-menu {
  padding: 0;
  margin: 0;
  position: absolute;
  width: 100%;
  top: 28px;
  list-style: none;
}
.top-menu li {
  display: inline-block;
}
.top-menu li a {
  background: url('../skins/site/images/menu.png');
  background-size: 325px;
  display: inline-block;
  text-indent: -99999px;
  width: 56px;
  height: 56px;
  margin-right: 10px;
  outline: none;
}
.top-menu li a:hover { background-position: 0px 56px; }
.top-menu li.home a { background-position: 56px 0px; }
.top-menu li.home a:hover { background-position: 56px 56px; }
.top-menu li.help a { background-position: 141px 0px; width: 66px; height: 65px; background-size: 375px; }
.top-menu li.help a:hover { background-position: 141px 64px; }
.top-menu li.sound a { background-position: 295px 0px; width: 86px; height: 86px; background-size: 504px; }
.top-menu li.sound a:hover { background-position: 295px 85px; }
.top-menu li.books a { background-position: 297px 0px; width: 66px; height: 65px; background-size: 375px; }
.top-menu li.books a:hover { background-position: 297px 64px; }

/* Series section */
.arabic-series {
  margin-top: 60px;
  z-index: 0;
  position: relative;
}
.series-image {
  text-align: center;
}
.series-text {
  color: #534b9f;
  font-size: 21px;
  line-height: 25px;
  margin-top: 5px;
  text-align: justify;
}
.series-text > h4 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}
details.read-more > summary.show_hide {
  list-style: none;
  cursor: pointer;
  color: #337ab7;
  display: inline-block;
  margin: 6px 0;
}
details.read-more > summary.show_hide::-webkit-details-marker {
  display: none;
}
details.read-more[open] > summary .more-label {
  display: none;
}
details.read-more:not([open]) > summary .less-label {
  display: none;
}

.buy {
  float: left;
  background: url('../skins/site/images/buy.png') no-repeat;
  height: 73px;
  text-indent: -9999px;
  width: 200px;
  max-width: 100%;
  margin-bottom: 30px;
}
.buy:hover {
  background-position: 0 -77px;
}

/* Video section */
.video-section {
  background-image: url('../skins/site/images/video.png');
  background-size: 100%;
  width: 100%;
  padding-bottom: 50px;
  position: relative;
  z-index: 1;
  direction: rtl;
}
.video-section .row {
  margin-top: 150px;
}
.video-div {
  display: inline-block;
  vertical-align: middle;
}
.video-div.video {
  width: 81%;
}
.video-div.kids-icon {
  width: 21%;
  margin-right: -3%;
  position: relative;
  z-index: 1;
}
.kids-icon img {
  float: right;
}
#my-video {
  width: 100%;
  height: 350px;
  background: #000;
  border-radius: 12px;
}

/* Book section & carousel */
.books-section {
  background-size: contain;
  min-height: 460px;
  padding-top: 100px;
}
.books-section.out {
  background-image: url('../skins/site/images/book-bg.png');
}
.book-page .books-section {
  background-image: var(--book-bg);
}
.book-bottom {
  margin-top: 50px;
}
.book-buy {
  height: 80px;
}
.book-buy-inner {
  height: 50px;
  margin-top: 22px;
}
.book-slider {
  position: relative;
  padding-inline: 50px;
}
.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 0.5rem) / 4);
  gap: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar {
  display: none;
}
.carousel > li {
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
}
.book-cover {
  width: 200px;
  max-width: 100%;
}
.pager-image {
  cursor: pointer;
  background-color: transparent;
  background-image: url('../skins/site/images/nav.png');
  border: 0;
  padding: 0;
  height: 47px;
  width: 46px;
  z-index: 10;
  top: 0;
  bottom: 0;
  position: absolute;
  margin: auto;
}
.leftRs { background-position: 0px 47px; left: 0; }
.leftRs:hover { background-position: 0px 0px; }
.rightRs { right: 0; background-position: 46px 47px; }
.rightRs:hover { background-position: 46px 0px; }

/* Teacher section */
.teacher-section {
  background: #fbfbfb;
}
.teacher-section h2 {
  color: #123660;
  font-size: 3em;
}
.teacher-section p {
  font-size: 1.8em;
  color: #333;
}
.teacher-text {
  margin-top: 25px;
}
.teacher-image {
  margin-top: 25px;
  text-align: center;
}

/* Content & Smile sections */
.content-section {
  background: #c887e3;
  background: linear-gradient(to bottom, #c887e3, #fff);
}
.smile-section {
  background-image: url('../skins/site/images/smile.jpg');
  min-height: 470px;
  background-size: cover;
}
.arabic-section {
  margin-top: 10%;
  text-align: center;
  float: right;
}
.arabic-section h1 { color: #000; }
.arabic-section h1.smile { color: #951f17; }

/* Sounds section */
.sounds-section {
  background-image: url('../skins/site/images/sounds-bg.jpg');
  overflow: hidden;
}
.sound-button-section {
  direction: rtl;
  padding-right: 0;
}
.sound-button, .browse-more {
  background: linear-gradient(to bottom, #4abbdf, #4abbdf 50%, #2090b4 40%, #2090b4);
  border: 4px solid #2297bd;
  border-radius: 30px;
  color: #fff;
  display: block;
  font-size: 2.1em;
  font-weight: bold;
  line-height: 30px;
  padding: 15px;
  text-align: center;
  width: 70%;
  max-width: 100%;
}
.sound-button:hover {
  background: linear-gradient(to bottom, #90e055, #90e055 50%, #66c000 40%, #66c000);
  border: 4px solid #358c00;
  text-decoration: none;
  color: #fff;
}
.sound-button.book {
  padding: 7px;
  width: 50%;
  font-size: 1.8em;
  margin: 15px auto;
}
.big-size {
  width: 100%;
  font-size: 2.4em;
  margin-top: 60%;
}
.play-sound {
  background: url('../skins/site/images/play-sound.png') no-repeat;
  display: block;
  height: 102px;
  width: 100px;
  margin: auto;
}
.play-sound:hover {
  background: url('../skins/site/images/play-sound.png') no-repeat 0 -104px;
  height: 103px;
}
.sound-button-section, .sound-icon {
  margin-top: 14%;
}
.thumbnail {
  border: none;
  padding: 4px;
  margin-bottom: 20px;
}
.sounds .book-item {
  height: auto;
}
.sounds .thumbnail {
  opacity: 0.85;
}
.sounds .thumbnail img {
  width: 80%;
  margin-inline: auto;
}
.sounds .thumbnail:hover {
  opacity: 1;
}

/* Sounds inner & units */
.sounds-section-inner {
  margin-bottom: 25px;
  overflow: hidden;
  background: linear-gradient(to bottom, #d1e48d, #fff);
}
.sound-inner-books {
  margin: 40px 0;
  overflow: hidden;
}
.sound-inner-books img {
  margin: auto;
  width: 55%;
}
.download-sound {
  text-align: center;
  font-size: 16px;
  margin-top: 10%;
}
.unit-select {
  overflow: hidden;
}
.unit-select .sound-button {
  border-radius: 0 30px 30px 0;
  float: inline-start;
  width: auto;
  min-width: 25%;
  margin-bottom: 25px;
  margin-top: 0;
}
html[dir="rtl"] .unit-select .sound-button {
  border-radius: 30px 0 0 30px;
}
.breadcrumb {
  background: transparent;
  color: #959595;
  font-size: 1.2em;
  margin-inline: 4%;
  float: inline-start;
  text-align: start;
  line-height: 75px;
}
.list-units {
  text-align: center;
  width: 100%;
  float: inline-start;
  margin-inline: 0;
}
.unit_item {
  display: inline-block;
  width: 19%;
  margin-bottom: 25px;
  opacity: 0.75;
  vertical-align: top;
}
.unit_item.books12 {
  width: 14%;
}
.unit_item:hover {
  opacity: 1;
}
.unit_item a {
  display: block;
  max-width: 150px;
  width: 100%;
  margin: auto;
}
.unit_item img {
  margin: auto;
  width: 100%;
}
.back-button {
  background: url('../skins/site/images/back.png');
  width: 80px;
  height: 81px;
  display: block;
  margin: auto;
}
.back-button:hover {
  background-position: 0 -81px;
}
.back-page {
  margin-bottom: 30px;
  margin-top: 20px;
  clear: both;
}
.inner-page {
  margin-bottom: 40px;
}

/* Lesson pagination & audio/video items */
.pagination {
  display: inline-block;
  padding: 0;
  margin: 20px 0;
}
.books.pager .page {
  display: inline-block;
  margin: 5px;
}
.books.pager .page a {
  border-radius: 5px 20px;
  display: block;
  text-align: center;
  line-height: 60px;
  border: 2px solid;
  font-weight: bold;
  font-size: 1.35em;
  min-width: 60px;
  padding-inline: 8px;
  background: transparent;
  text-decoration: none;
}
.books.pager .page a:hover, .books.pager .page a.active {
  border-radius: 5px 28px;
  color: #fff;
}

.media-grid {
  display: flex;
  flex-wrap: wrap;
  clear: both;
}
.media-grid > [class*="col-"] {
  float: none;
}

.sound-item {
  border: 2px solid #31a7de;
  border-radius: 9px;
  padding: 15px;
  margin-bottom: 25px;
  position: relative;
}
.sound-item .title {
  color: #fff;
  background: #44c6ea;
  font-size: 18px;
  line-height: 30px;
  padding: 10px 45px 10px 85px;
  text-align: center;
  margin-bottom: 15px;
  border-radius: 25px;
  position: relative;
}
.speaker {
  background: url('../skins/site/images/speaker.png') no-repeat;
  background-size: 100%;
  height: 60px;
  left: 25px;
  position: absolute;
  top: -5px;
  width: 60px;
}
.title-text {
  display: inline-block;
}
.audio_player {
  width: 100%;
  display: block;
}
.stream-embed {
  position: relative;
  padding-top: 56.25%;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
}
.stream-embed iframe {
  border: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Unit color map from style.css */
.books.pager .unit01, .unit01 .sound-item { border-color: #44c6ea; }
.books.pager .unit01 { color: #0076b8; }
.unit01 .sound-item .title, .books.pager .unit01:hover, .books.pager .unit01.active { background: #44c6ea; }

.books.pager .unit02, .unit02 .sound-item { border-color: #9dd19b; }
.books.pager .unit02 { color: #299246; }
.unit02 .sound-item .title, .books.pager .unit02:hover, .books.pager .unit02.active { background: #299246; }

.books.pager .unit03, .unit03 .sound-item { border-color: #f3a664; }
.books.pager .unit03 { color: #f47a2a; }
.unit03 .sound-item .title, .books.pager .unit03:hover, .books.pager .unit03.active { background: #f47a2a; }

.books.pager .unit04, .unit04 .sound-item { border-color: #9a72b2; }
.books.pager .unit04 { color: #663694; }
.unit04 .sound-item .title, .books.pager .unit04:hover, .books.pager .unit04.active { background: #663694; }

.books.pager .unit05, .unit05 .sound-item { border-color: #dc7ab1; }
.books.pager .unit05 { color: #bf1169; }
.unit05 .sound-item .title, .books.pager .unit05:hover, .books.pager .unit05.active { background: #bf1169; }

.books.pager .unit06, .unit06 .sound-item { border-color: #d9af83; }
.books.pager .unit06 { color: #8a5d3b; }
.unit06 .sound-item .title, .books.pager .unit06:hover, .books.pager .unit06.active { background: #8a5d3b; }

.books.pager .unit07, .unit07 .sound-item { border-color: #4daca3; }
.books.pager .unit07 { color: #76cec5; }
.unit07 .sound-item .title, .books.pager .unit07:hover, .books.pager .unit07.active { background: #76cec5; }

.books.pager .unit08, .unit08 .sound-item,
.books.pager .unit09, .unit09 .sound-item,
.books.pager .unit10, .unit10 .sound-item,
.books.pager .unit11, .unit11 .sound-item,
.books.pager .unit12, .unit12 .sound-item { border-color: #dad283; }
.books.pager .unit08, .books.pager .unit09, .books.pager .unit10, .books.pager .unit11, .books.pager .unit12 { color: #a49934; }
.unit08 .sound-item .title, .books.pager .unit08:hover, .books.pager .unit08.active,
.unit09 .sound-item .title, .books.pager .unit09:hover, .books.pager .unit09.active,
.unit10 .sound-item .title, .books.pager .unit10:hover, .books.pager .unit10.active,
.unit11 .sound-item .title, .books.pager .unit11:hover, .books.pager .unit11.active,
.unit12 .sound-item .title, .books.pager .unit12:hover, .books.pager .unit12.active { background: #a49934; }

.books.pager .unit14, .books.pager .unit16, .books.pager .unit48, .books.pager .unit712 { color: #0076b8; border-color: #44c6ea; }
.unit14 .sound-item .title, .books.pager .unit14:hover, .books.pager .unit14.active,
.unit16 .sound-item .title, .books.pager .unit16:hover, .books.pager .unit16.active,
.unit48 .sound-item .title, .books.pager .unit48:hover, .books.pager .unit48.active,
.unit712 .sound-item .title, .books.pager .unit712:hover, .books.pager .unit712.active { background: #44c6ea; }

/* View book page, tabs & flipbook viewer */
.is-table-row {
  display: table;
  width: 100%;
}
.is-table-row .books-details {
  float: none;
  display: table-cell;
  vertical-align: middle;
}
.is-table-row .boy-img {
  float: none;
  display: table-cell;
  vertical-align: bottom;
}
.boy-img img {
  float: left;
}
.boy-img img.teacher-flip-icon {
  width: 50%;
}
.books-details img {
  float: right;
  position: relative;
  width: 50%;
}
.books-choose {
  font-family: 'Dubai-Medium', Helvetica, sans-serif;
  color: #fff;
  font-size: 3em;
  margin-right: 10px;
  margin-top: 24%;
  display: inline-block;
}
.book-tab {
  margin-top: 15px;
  padding-inline-start: 0;
  list-style: none;
  border-bottom: 1px solid #ddd;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.books-view .nav-tabs li {
  border-radius: 9px 9px 0 0;
  border: 1px solid #fff;
  background-color: var(--book-accent);
}
.books-view .nav-tabs li a {
  display: block;
  padding: 10px 15px;
  color: #000;
  text-decoration: none;
}
.books-view .nav-tabs li.active a {
  color: #555;
  background-color: #fff;
  border-radius: 9px 9px 0 0;
}
.books-view .tab-content {
  background-color: #f9f9f9;
  padding: 15px;
  font-size: 18px;
  margin-inline: 0;
}
.books-view .tab-pane {
  margin: 15px;
}
.js .books-view .tab-pane[hidden] {
  display: none;
}
.books-view h2 {
  color: var(--book-accent);
  font-size: 20px;
}
.books-view table {
  direction: ltr;
  text-align: right;
  margin: 25px auto;
  max-width: 100%;
  border-collapse: collapse;
}
.books-view tr:first-child td {
  text-align: center;
  background-color: var(--book-accent);
  color: #fff;
}
td {
  border: 1px solid #ddd;
  padding: 3px;
  overflow-wrap: break-word;
}
tr td:first-child {
  text-align: center;
}
.section-book-more {
  margin: 50px 0;
  overflow: hidden;
}
.browse-more {
  float: right;
}

/* Lightweight flipbook viewer */
.flipbook-wrapper {
  position: relative;
  text-align: center;
}
.flipbook-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}
.flipbook-btn {
  background: var(--book-accent);
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.flipbook-btn:disabled {
  opacity: 0.4;
  cursor: default;
}
.flipbook-status {
  font-family: 'Dubai-Medium', Helvetica, sans-serif;
  font-size: 18px;
  color: #333;
}
.magazine {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 8px;
  max-width: 900px;
  margin-inline: auto;
  outline: none;
}
.js .magazine .page {
  display: none;
  flex: 0 1 50%;
  max-width: 446px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: opacity 0.2s ease;
}
.js .magazine .page.is-visible {
  display: block;
}
.magazine .page img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 899px) {
  .js .magazine .page {
    flex: 0 1 100%;
    max-width: 100%;
  }
}

/* Footer */
.footer-top {
  background-color: #495052;
  overflow: hidden;
  padding-top: 20px;
  padding-bottom: 20px;
}
.footer-menu-section {
  margin-top: 0;
}
.footer-menu {
  padding-inline-start: 0;
  margin: 0;
}
.footer-menu li {
  display: inline-block;
  margin: 5px 15px;
  position: relative;
}
.footer-menu li::after {
  content: "";
  position: absolute;
  border-left: 1px solid #fffaef;
  inset-inline-end: -14px;
  height: 22px;
  top: 0;
}
.footer-menu li:last-child::after {
  display: none;
}
.footer-menu li a {
  color: #fffaef;
  font-size: 1.1em;
}
.footer-note {
  color: #fff;
  font-size: 20px;
  margin: 21px 0;
  text-align: center;
}
.footer-social {
  text-align: center;
  display: block;
  margin-top: 0;
}
.social-item {
  display: inline-block;
  margin-inline-end: 12px;
}
.demo-icon {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.icon-facebook { background-color: #428bca; }
.icon-twitter { background-color: #2ad3dd; }
.icon-youtube { background-color: #e52b2b; }
.icon-instagram { background-color: #ebbf34; }
.icon-linkedin { background-color: #2a50b2e6; }

.copyright_logo {
  background: #404548;
}
.footer-copyright {
  background: url('../skins/site/images/copyright.jpg') no-repeat left center;
  background-size: 80px auto;
}
.copyright_logo p {
  color: #fff;
  font-size: 1.4em;
  line-height: 80px;
  margin: 0;
  text-align: center;
}

.error-404-box {
  text-align: center;
  padding: 60px 15px;
}

/* Mobile & Tablet responsive rules */
@media (max-width: 768px) {
  .cirlce { display: none; }
  .full-header { height: auto; min-height: 90px; }
  .logo { width: 100%; max-width: 200px; }
  .slogo { width: 100%; text-align: center; font-size: 12px; float: none; }
  .kids-icon, .teacher-text img { display: none; }
  .video-section .row { margin-top: 40px; }
  .video-div.video { width: 100%; }
  #my-video { height: auto; max-height: 260px; }
  .switch { width: 40px; height: 20px; }
  .slider::before { height: 14px; width: 14px; left: 3px; bottom: 3px; }
  .switch.is-checked .slider::before { transform: translateX(20px); }
  .switch-container .switch-lang { font-size: 12px; line-height: 20px; }

  .navbar-header { float: inline-end; }
  .navbar-toggle { display: block; }
  .navbar-collapse {
    display: none;
    clear: both;
  }
  .nav-toggle-input:checked ~ .navbar-collapse {
    display: block;
  }
  .top-menu {
    position: static;
    width: 100%;
  }
  .top-menu li {
    display: block;
    width: 100%;
    background-color: #f6f6f6;
    border-bottom: 1px solid #fff;
  }
  .top-menu li a,
  .top-menu li.home a,
  .top-menu li.help a,
  .top-menu li.sound a,
  .top-menu li.books a {
    background: transparent;
    text-indent: 0;
    color: #000;
    width: 100%;
    height: auto;
    padding: 8px 12px;
    margin: 0;
  }

  .book-bottom { display: none; }
  .books-section { padding-top: 20px; min-height: 260px; }
  .unit_item, .unit_item.books12 { width: 48%; }
  .books-choose { font-size: 1.6em; margin-top: 10%; }
  .browse-more, .sound-button { font-size: 1.3em; width: 100%; }
  .big-size { margin-top: 15px; font-size: 1.5em; }
  .books-view .tab-pane { margin: 5px 0; }
  .books-view table { width: 100%; }
  .books-view td { width: auto; }
  .copyright_logo p { font-size: 1em; line-height: 1.5; padding: 20px 0 20px 85px; }
}

@media (max-width: 480px) {
  .carousel {
    grid-auto-columns: 100%;
  }
  .book-slider {
    padding-inline: 44px;
  }
}
