/*@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif, Arial;
  font-size: 22px;
  font-weight: 300;
  background-color: #1a1c1d;
  color: #fff;
}

a {
  color: white;
  text-decoration: underline;
}

a:hover {
  opacity: .8;
  /*  text-decoration: underline;*/
}

a:visited {
  color: white;
}

.content {
  min-height: 100vh;
  background-color: #1a1c1d;
  padding-top: 6em;
  max-width: 1000px;
  margin: auto;
  color: white;
}

.content p {
  line-height: 140%;
}

.content h1,
.content h2 {
  text-align: center;
}

.carousel {
  margin-top: 4em;
  width: 100%;
  overflow: hidden;
}

.content.home {
  padding-top: 1em;
}

.content.home h1 {
  color: #fff;
  font-size: 3em;
  text-align: center;
}

.page-content {
  width: 70%;
  display: inline-block;
  box-sizing: border-box;
  vertical-align: top;
  padding-bottom: 3em;
  line-height: 140%;
}

.page-title {
  color: #c8e9ff;
}

.page-content h2,
.page-content h3,
.page-content h4,
.page-content p {
  background: transparent;
}


.page-content :first-child {
  margin-top: 0;
}

.main-subtitle {
  margin-top: 0;
  margin-bottom: 3em;
}

.page-content img {
  max-width: 100%;
  display: block;
  margin-bottom: 1em;
  max-height: 30em;
}

.page-sidebar {
  width: 30%;
  display: inline-block;
  box-sizing: border-box;
  vertical-align: top;
  /*background-color: gray;*/
  padding-left: .5em;
}

.post h2 {
  color: white;
  font-size: 1em;
}

.post h2:hover {
  color: #609bbf;
}

.post-date {
  font-size: .8em;
  text-align: right;
  margin-top: .5em;
}

.post-content {
  padding-right: 2em;
}

.post-content img {
  margin: 2em auto;
}

.sidebar a {
  text-decoration: none;
}

.sidebar a:hover {
  text-decoration: underline;
}

.page-title {
  text-align: center;
  font-size: 3em;
  color: #aecad6;
}

/*.content h2 {
  text-align: center;
  font-size: 2em;
}*/


.banner-item-desktop {
  width: 100%;
}

.banner-item-desktop img {
  width: 100%;
}


.home h4 {
  text-align: center;
  color: #fff;
  font-weight: normal;
}

#footer {
  text-align: center;
  font-size: .8em;
  background-color: #095b8d;
  color: white;
  overflow: hidden;
  padding: 1em;
}

#footer address a {
  color: white;
}

#footer address a:hover {
  color: white;
}

#footer .social img {
  width: 32px;
}

#footer .social {
  margin-top: .5em;
}

#footer address {
  line-height: 1.2em;
}

.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}


.posts .post {
  margin: 0 .3em;
  position: relative;
  background-color: #fafafa;
  padding: .5em;
  text-align: left;
  margin-bottom: 1em;
  -webkit-box-shadow: 0px 2px 10px 2px rgba(0, 0, 0, 0.05);
  box-shadow: 0px 2px 10px 2px rgba(0, 0, 0, 0.05);
}

.posts .post img {
  display: block;
  max-width: 100%;
}

.posts .post-category-name {
  position: absolute;
  display: inline-block;
  padding: .3em .5em;
  font-size: .6em;
  background: green;
  color: white;
  display: none;

}

.sidebar h2 {
  font-size: 1.2em;
  color: black;
  text-align: center;
  font-weight: normal;
  padding: .2em;
}

.sidebar h2:first-child {
  margin-top: 0;
}

.sidebar {
  font-size: .8em;
  color: #333;
  padding-bottom: 3em;
}

.sidebar a {
  color: gray;
}

.sidebar a:hover {
  color: gray;
}

.sidebar img {
  max-width: 100%;
}

.sidebar h3 {
  font-weight: normal;
  margin-bottom: .2em;
  margin-top: .2em;
  color: #444;
}

.sidebar-news h3 {
  font-size: 1.2em;
  text-align: left;
  margin: 0;
}

.sidebar p {
  margin-top: .2em;
  color: #666;
}

.sidebar-news div {
  border-bottom: 1px solid #ddd;
  margin-bottom: 1em;
  padding-bottom: .5em;
}

.sidebar-events div {
  border-bottom: 1px solid #ddd;
  margin-bottom: 1em;
  padding-bottom: .5em;

}

.sidebar-links div {
  border-bottom: 1px solid #ddd;
  margin-bottom: 1em;
  padding-bottom: .5em;
}

.sidebar-news h2 {
  color: #fff;
  background: #ad7193;
}

.sidebar-events h2 {
  color: white;
  background: #e85e02;
}

.sidebar-links h2 {
  color: white;
  background: #609bbf;
}

.form {
  width: 50%;
  margin: auto;
}

.forum-label {
  display: inline !important;
  cursor: pointer;
}

.form input:not([type='checkbox']) {
  display: block;
  padding: .5em;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: .3em;
  box-sizing: border-box;
  font-size: 1em;
}

.form label {
  margin-top: .5em;
  display: block;
  box-sizing: border-box;
  font-style: italic;
  color: white;
  text-align: left;
}

.form label:after {
  content: '';
}

.form input[type=submit] {
  display: block;
  padding: .5em 3em;
  width: auto;
  margin: auto;
  margin-top: 1em;
  background-color: #115c8b;
  border: none;
  border-radius: .3em;
  color: white;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
}

.form input[type=submit]:hover {
  opacity: .8;

}

.login {
  text-align: center;
}

.login-error {
  text-align: center;
  background: #99000010;
  border: 1px solid #990000;
  font-size: 1em;
  border-radius: .3em;
  padding: 1em;
}

.login-register {
  text-align: right;
  margin-top: 2em;
}

.form-error {
  background-color: #990000;
  color: #fff;
  padding: 0.3em;
  font-size: .8em;
  margin-top: .5em;
  margin-bottom: .5em;
  font-style: italic;
  border-radius: 0.3em;
  text-align: left;
}

.form-error:before {
  content: "";
}

.post-read-more {
  display: block;
  text-align: right;
}

.forum-comment time {
  font-size: .8em;
  color: gray;
}

.forum-comment p {
  margin-top: 0;
  white-space: pre-wrap;
}

.forum-comment {
  font-size: .8em;
  /* border-bottom: 1px solid #ddd; */
  border-radius: 0.3em;
  background: #f5f5f5;
  margin: 0.5em 0;
  padding: 0.5em;
  border: 1px solid #d1d1d1;
}

.forum textarea {
  border: 1px solid gray;
  border-radius: 0.3em;
  width: 100%;
  box-sizing: border-box;
  height: 5em;
  resize: vertical;
}

.forum .forum-add-comment {
  text-align: center;
}

.forum #comments {
  padding-top: .5em;
}

.forum .forum-reply-container {
  text-align: right;
}

.forum .forum-reply {
  font-size: .7em;
}

.forum .forum-replies-reply {
  margin-left: 2em;
  border-left: 1px solid #ccc;
  padding-left: 1em;
}

.forum .sidebar-forum-title {
  margin: 0;
  color: white;
  background: #609bbf;
  font-size: 1.2em;
  text-align: center;
  font-weight: normal;
  padding: 0.2em;
}

.forum .forum-sidebar-forum {
  font-weight: normal;
  font-size: 1em;
  border-bottom: 1px solid #ccc;
  padding: 0.5em;
  margin: 0;
}

button {
  background-color: #609bbf;
  border: none;
  border-radius: 0.3em;
  color: white;
  cursor: pointer;
  padding: 0.5em 1em;
  font-weight: bold;
}

button:hover {
  opacity: .8;
}

.header {
  background-color: #095b8d;
  border-bottom: none;
  color: #fff;
}

.header ul li a {
  color: #fff;
}

.header ul .top {
  border-bottom: none;
}

.header ul li:hover {
  background: #0a3551;
}

.header .logo {
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
}

header .search-container {
  margin-top: 0.2em;
  text-align: center;
  display: none;
}

header .search-desktop img {
  width: 1em;
  margin-top: 0.7em;
}

header .search-container input {
  padding: .5em;
  width: 50%;
  font-size: 1em;
}

header .search-mobile {
  display: none;
}

.search-title {
  text-align: center;
  color: #609bbf;
  text-decoration: italic;
  font-size: 1.2em;

}

.ql-video {
  width: 500px;
  height: 300px;
}

.page-content-no-sidebar {
  width: 100%;
}

.page-featured-image {
  width: 100%;
}

.ql-align-justify {
  text-align: justify;
}

.ql-align-left {
  text-align: left;
}

.ql-align-right {
  text-align: right;
}

.audio-options {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
}

.audio-options div {
  flex-grow: 1;
  align-items: center;
  text-align: center;
}

.skip-to-main-content-link {
  position: absolute;
  left: -10000px;
}



.date-of-birth-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.date-of-birth-each {
  width: 5em;
}


.terms-of-use-container {
  display: flex;
  align-items: center;
  margin-block: 1em;
  /*  font-size: 17px;*/
}

.terms-of-use-container input {
  flex: 0;
}

.terms-of-use-container label {
  margin-top: 0;
  margin-left: .5em;
}

/*.terms-of-use-container a {
  font-size: 16px;
  color: #0a5b8d;
  margin-left: 5px;
}*/

.login-error-title {
  margin-bottom: 2.5em;
}

.books .search-book {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-block: 2em;
}

.books .search-book .search-input {
  display: flex;
  align-items: center;
  width: 100%;
  margin-block: 2em;
}

#search {
  margin-right: 1em;
  padding: 1.2em 1.5em 1.2em 0.7em;
  border-radius: 5px;
  border: none;
  flex: 1;
}

.books .search-book .search-input button {
  padding: 1.2em 1.5em;
}

#books {
  margin: 0;
  padding: 0;
  list-style: none;
}

#files {
  text-align: center;
}

#files li {
  list-style: none;
  margin-block: .5em;
}

#files li::before {
  content: 'Deo : ';
}

.book-last-part {
  text-decoration: none;
  display: block;
  text-align: center;
}

.header ul li {
  font-size: .9em;
}

select {
  font-size: 1.2em;
  padding: .5em;
}

.books-categories {
  margin-bottom: 1em;
}

.book-download {
  text-align: center;
  margin: 1em;
  margin-bottom: 2em;
}

.book-download a {
  display: inline-block;
  background: #095b8d;
  color: white;
  font-weight: bold;
  padding: .5em 1em;
  text-decoration: none;
  border-radius: .3em;
}

.next-button-image {
  height: 48px;
}

#button-previous .next-button-image {
  rotate: -180deg;
}

/*remove download button*/
audio::-webkit-media-controls-enclosure {
  overflow: hidden;
}
audio::-webkit-media-controls-panel {
  width: calc(100% - 30px); /* Adjust width to hide the button */
}
audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display,
audio::-webkit-media-controls-timeline,
audio::-webkit-media-controls-volume-slider,
audio::-webkit-media-controls-mute-button,
audio::-webkit-media-controls-fullscreen-button {
  display: block;
}
audio::-webkit-media-controls-rewind-button,
audio::-webkit-media-controls-return-to-realtime-button,
audio::-webkit-media-controls-download-button {
  display: none;
}

.playback-speed {
  margin: 1em;
}

#playback-speed {
  padding: .5em;
}

#player {
  margin: 1em;
}

.blue-button {
  display: inline-block;
  background: #095b8d;
  color: white;
  font-weight: bold;
  padding: .5em 1em;
  text-decoration: none;
  border-radius: .3em;
}

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr 2.5fr 1fr 1fr;
}

.pager-numbers {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
}

#pager a {
  width: 100%;
  text-align: center;
  display: block;
  cursor: pointer;
}

.align-center {
  text-align: center;
}

a {
  text-decoration: none;
}


.header-logout-button {
    font-size: 1.2rem;
    background: transparent;
    border: none;
    color: white;
    font-family: 'Roboto';
    cursor: pointer;
}




















/* MEDIA START */
@media screen and (max-width: 1000px) {

  #pager {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .header ul {
    bottom: 1px;
    overscroll-behavior: none;
  }

  .header ul li {
    line-height: 1em;
    padding: 0.4em 0.2em;
  }

  .header ul li a {
    color: #000;
    display: block;
    word-break: break-word;
  }

  .audio-options {
    flex-direction: column;
  }

  .form {
    width: 100%;
  }

  .books .search-book .search-input {
    display: block;
  }

  #search {
    width: 100%;
  }

  .books .search-book .search-input button {
    width: 100%;
    margin-top: 1.5em;
  }

  .header-logout-button {
    color: black;
    font-size: 1em;
  }


}

/* MEDIA END */