@import url("https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Inter:wght@400;500;600;700&family=Oswald:wght@200..700&family=Roboto:wght@400;500;700&display=swap");

body {
  background-color: #dbefee;
  font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
  font-size: 12px;
  color: #24524d;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1 {
  font-weight: normal;
  font-size: 21px;
  font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
  text-decoration: none;
  line-height: 120%;
  color: #718ea5;
  margin: 2px;
}
h2 {
  font-family: Arial, Helvetica, sans-serif;
  background-image: url(images/box_left_icon.gif);
  background-repeat: no-repeat;
  background-position: left;
  padding-left: 18px;
  font-size: 18px;
  margin: 0px;
}
h3 {
  font-weight: normal;
  font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
  font-size: 12px;
  margin: 2px;
}
p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  margin: 2px 0px;
}
ul,
ol {
  margin-left: 5px;
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 0px;
}
li {
  margin-left: 10px;
  margin-top: 4px;
  margin-bottom: 4px;
  padding: 0px;
  list-style-position: outside;
}
ul li {
  list-style-type: disc;
}
a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
table {
  font-size: 12px;
}

header {
  width: 100%;
  height: 1000px;

  background-image:
    linear-gradient(
      to top,
      #dbefee 40%,
      rgba(219, 239, 238, 0.9) 45%,
      rgba(219, 239, 238, 0.3) 65%,
      rgba(219, 239, 238, 0) 100%
    ),
    url(images/image0.png);

  background-position: top center;
  background-repeat: no-repeat;
  background-size: 1060px auto;

  float: left;
  padding-top: 0;
  margin-bottom: -540px;
}

.page-content {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  padding: 1.25rem;
  margin: 0 auto;
  box-sizing: border-box;
  font-family: Roboto, sans-serif !important;
}
.gallery-outer-table {
  width: 100% !important;
}

.site-footer {
  color: #334155;
  max-width: 1200px;
  padding: 2rem 0;
  margin: auto;
  text-align: center;
  height: 90px;
  display: flex;
  align-items: center;
}
.site-footer p {
  padding: 0px 0;
  line-height: 1.5rem;
  font-size: 10pt;
}

.gallery-menu {
  background-color: #948760;
  padding: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}
.gallery-menu a {
  color: #fff;
  text-decoration: none;
  padding: 0.2rem 0.5rem;
  font-weight: 600;
  font-family: Roboto, sans-serif;
}
.gallery-menu a:hover {
  color: #fff;
  text-decoration: underline;
}

pre.filepath {
  margin: 0px;
  padding: 0px;
}

.textinput {
  font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
  font-size: 100%;
  border: 1px solid #83b8b2;
  padding-right: 3px;
  padding-left: 3px;
}

.listbox {
  font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
  font-size: 100%;
  border: 1px solid #83b8b2;
  vertical-align: middle;
}

.button,
.buttonlist ul li a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 90%;
  border: 1px solid #83b8b2;
  background-image: url(images/button_bg.gif);
  background-position: bottom;
  cursor: pointer;
  padding-left: 0px;
  padding-right: 0px;
  margin-right: 2px;
  white-space: nowrap;
}

.radio {
  font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
  font-size: 100%;
  vertical-align: middle;
}

.checkbox {
  font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
  font-size: 100%;
  vertical-align: middle;
}

.bblink a {
  text-decoration: none;
}

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

.maintable {
  border: 1px solid #aee0dbec;
  background: #dbefee;
  margin-top: 1px;
  margin-bottom: 1px;
  width: 100% !important;
}

.tableh1 {
  font-family: Roboto, sans-serif;
  color: #ffffff;
  font-weight: bold;
  padding-top: 3px;
  padding-right: 10px;
  padding-bottom: 3px;
  padding-left: 10px;
}

.tableh2 {
  background: #cbd7de;
  color: #213021;
  padding-top: 3px;
  padding-right: 10px;
  padding-bottom: 3px;
  padding-left: 10px;
}

.tableb {
  background: #f2f5f7;
  padding-top: 3px;
  padding-right: 10px;
  padding-bottom: 3px;
  padding-left: 10px;
}
.tableb_alternate {
  background: #dddddd;
}

.tablef {
  background: #cbd7de;
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
}

.catrow_noalb {
  background: #cbd7de;
  color: #213021;
  padding-top: 3px;
  padding-right: 10px;
  padding-bottom: 3px;
  padding-left: 10px;
}

.catrow {
  background: #f2f5f7;
  padding-top: 3px;
  padding-right: 10px;
  padding-bottom: 3px;
  padding-left: 10px;
}

.album_stat {
  font-size: 85%;
  margin: 5px 0px;
}

.thumb_filename {
  font-size: 80%;
  display: block;
}

.thumb_title {
  font-weight: bold;
  font-size: 80%;
  padding: 2px;
  display: block;
}

.thumb_caption {
  font-size: 80%;
  padding: 1px;
  display: block;
}

.thumb_caption a {
  text-decoration: underline;
  color: #213021;
}

.thumb_num_comments {
  font-weight: normal;
  font-size: 85%;
  padding: 2px;
  font-style: italic;
  display: block;
}

.user_thumb_infobox {
  margin-top: 1px;
  margin-bottom: 1px;
}

.user_thumb_infobox th {
  font-weight: bold;
  font-size: 100%;
  margin-top: 1px;
  margin-bottom: 1px;
  text-align: center;
}

.user_thumb_infobox td {
  font-size: 85%;
  margin-top: 1px;
  margin-bottom: 1px;
  text-align: center;
}

.user_thumb_infobox a {
  text-decoration: none;
  color: #213021;
}

.user_thumb_infobox a:hover {
  color: #213021;
  text-decoration: underline;
}

.sortorder_cell {
  color: #ffffff;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 20px;
  margin: 0px;
}

.sortorder_options {
  font-family: Verdana, Arial, Helvetica, sans-serif;

  color: #ffffff;
  padding: 0px;
  margin: 0px;
  font-weight: normal;
  font-size: 80%;
  white-space: nowrap;
}

.navmenu {
  font-family: Roboto, sans-serif;
  color: #ffffff;
  font-weight: bold;
  background: #436243;
  border-style: none;
}

.navmenu img {
  margin-top: 1px;
  margin-right: 5px;
  margin-bottom: 1px;
  margin-left: 5px;
}

.navmenu a {
  display: block;
  padding-top: 2px;
  padding-right: 5px;
  padding-bottom: 2px;
  padding-left: 5px;
  text-decoration: none;
  color: #ffffff;
}

.navmenu a:hover {
  background: #646464;
  text-decoration: none;
  color: #213021;
}

.admin_menu {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 90%;
  border: 1px solid #ccd7e0;
  background-image: url(images/button_bg.gif);
  background-position: bottom;
  background-repeat: repeat-x;
  background-color: #ffffff;
  color: #213021;
  margin-top: 0px;
  margin-bottom: 0px;
  text-align: center;
}

.admin_menu a {
  color: #213021;
  text-decoration: none;
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: 2px;
  padding-right: 2px;
}

.admin_menu a:hover {
  color: #213021;
  text-decoration: underline;
}

.admin_float {
  float: left;
  margin-left: 1px;
  margin-right: 1px;
  margin-top: 1px;
  margin-bottom: 1px;
  max-height: 1.5em;
  display: block;
  position: relative;
  white-space: nowrap;
}

#admin_menu_anim {
  background-image: url(images/button_bg_anim.gif);
}

.icon {
  vertical-align: middle;
  margin-right: 1px;
}

.comment_date {
  color: #213021;
  font-size: 90%;
  vertical-align: middle;
}

.display_media {
  background: #f2f5f7;
  padding-top: 3px;
  padding-right: 10px;
  padding-bottom: 3px;
  padding-left: 10px;
}

.thumbnails {
  background: #f2f5f7;
  padding: 5px;
}

.footer {
  font-size: 9px;
}

.footer a {
  text-decoration: none;
  color: #213021;
}

.footer a:hover {
  color: #213021;
  text-decoration: underline;
}

.statlink {
  color: #ffffff;
}

.statlink a {
  text-decoration: none;
  color: #ffffff;
}

.statlink a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.alblink {
  font-weight: bold;
}

.alblink a {
  text-decoration: none;
  color: #213021;
}

.alblink a:hover {
  color: #213021;
}

.catlink {
  display: block;
  margin-bottom: 2px;
  font-weight: bold;
}

.catlink a {
  text-decoration: none;
  color: #213021;
}

.catlink a:hover {
  color: #31147c;
}

.topmenu {
  font-family: "Trebuchet MS", Verdana, Geneva, Arial, sans-serif;
  line-height: 130%;
  font-size: 110%;
}

.topmenu a {
  color: #213021;
  text-decoration: none;
}

.topmenu a:hover {
  color: #213021;
  text-decoration: underline;
}

.img_caption_table {
  border: none;
  background-color: #ffffff;
  width: 100%;
  margin: 0px;
}

.img_caption_table th {
  background: #d1d7dc;
  font-size: 100%;
  color: #213021;
  padding-top: 4px;
  padding-right: 10px;
  padding-bottom: 4px;
  padding-left: 10px;
  border-top: 1px solid #ffffff;
}

.img_caption_table td {
  background: #f2f5f7;
  padding-top: 6px;
  padding-right: 10px;
  padding-bottom: 6px;
  padding-left: 10px;
  border-top: 1px solid #ffffff;
  white-space: normal;
}

.debug_text {
  border: #bdbebd;
  background-color: #efefef;
  width: 100%;
  margin: 0px;
}

.clickable_option {
  cursor: default;
}

.listbox_lang {
  color: #000666;
  background-color: #f2f5f7;
  border: 1px solid #d1d7dc;
  font-size: 80%;
  font-family: Arial, Helvetica, sans-serif;
  vertical-align: middle;
}

.pic_title {
  color: #000666;
  font-size: 100%;
  font-weight: bold;
  text-align: center;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
  line-height: 1em;
}

.pic_caption {
  color: #000666;
  font-size: 100%;
  font-weight: normal;
  text-align: center;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
  line-height: 1em;
  background-image: none;
}

.important {
  color: red;
  font-weight: bold;
  padding-left: 1px;
  padding-right: 1px;
  padding-top: 3px;
  padding-bottom: 3px;
}

#cpgChooseLanguageWrapper {
  float: left;
}

#cpgChooseThemeWrapper {
  float: left;
}

.filmstrip_background {
  background-color: #213021;
}

.prev_strip {
  text-align: left;
}

.next_strip {
  text-align: right;
}

div.fieldset {
  border: 2px solid #0e72a4;
  margin: 10px 0;
  padding: 20px 10px;
}

div.fieldset span.legend {
  position: relative;
  padding: 3px;
  top: -30px;
  background-color: #8aa5b5;
  color: #fff;
  font-weight: bold;
}

div.flash {
  width: 375px;
  margin: 10px 5px;
  border-color: #ccd7e0;
}

input[disabled] {
  border: 1px solid #ccc;
}

.progressWrapper {
  width: 357px;
  overflow: hidden;
}

.progressContainer {
  margin: 5px;
  padding: 4px;
  border: solid 1px #e8e8e8;
  background-color: #f7f7f7;
  overflow: hidden;
}

.message {
  margin: 1em 0;
  padding: 10px 20px;
  border: solid 1px #ffdd99;
  background-color: #ffffcc;
  overflow: hidden;
}

.red {
  border: solid 1px #b50000;
  background-color: #ffebeb;
}

.green {
  border: solid 1px #ddf0dd;
  background-color: #ebffeb;
}

.blue {
  border: solid 1px #cee2f2;
  background-color: #f0f5ff;
}

.progressName {
  font-size: 8pt;
  font-weight: 700;
  color: #555;
  width: 323px;
  height: 14px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
}

.progressBarInProgress,
.progressBarComplete,
.progressBarError {
  font-size: 0;
  width: 0%;
  height: 2px;
  background-color: blue;
  margin-top: 2px;
}

.progressBarComplete {
  width: 100%;
  background-color: green;
  visibility: hidden;
}

.progressBarError {
  width: 100%;
  background-color: red;
  visibility: hidden;
}

.progressBarStatus {
  margin-top: 2px;
  width: 337px;
  font-size: 7pt;
  font-family: Arial;
  text-align: left;
  white-space: nowrap;
  color: #555;
}

a.progressCancel {
  font-size: 0;
  display: block;
  height: 14px;
  width: 14px;
  background-image: url(../../images/cancelbutton.gif);
  background-repeat: no-repeat;
  background-position: -14px 0px;
  float: right;
}

a.progressCancel:hover {
  background-position: 0px 0px;
}

.swfupload {
  vertical-align: top;
}

table#pic_sort tr td {
  padding: 4px;
  border-bottom: 1px solid #ccc;
}

table#album_sort tr td {
  padding: 3px;
  border-bottom: 1px solid #ccc;
}

table#album_sort tr td span.editAlbum {
  margin-left: 100px;
  font-size: 10px;
  line-height: 100%;
  text-decoration: underline;
  cursor: pointer;
  display: none;
  color: #ff0000;
}

.cpg_message_info,
.cpg_message_success,
.cpg_message_warning,
.cpg_message_error,
.cpg_message_validation {
  border: 1px solid;
  margin: 10px 0px;
  padding: 15px 10px 15px 50px;
  background-repeat: no-repeat;
  background-position: 10px center;
}
.cpg_message_info {
  color: #00529b;
  background-color: #bde5f8;
  background-image: url("../../images/message/info.png");
}
.cpg_message_success {
  color: #4f8a10;
  background-color: #dff2bf;
  background-image: url("../../images/message/ok.png");
}
.cpg_message_warning {
  color: #9f6000;
  background-color: #feefb3;
  background-image: url("../../images/message/warning.png");
}
.cpg_message_error {
  color: #d8000c;
  background-color: #ffbaba;
  background-image: url("../../images/message/stop.png");
}
.cpg_message_validation {
  color: #d63301;
  background-color: #ffccba;
  background-image: url("../../images/message/error.png");
}

.cpg_summary {
  font-size: 0.9em;
  border: 1px solid;
  margin: 10px 0px;
  padding: 5px 10px 5px 10px;
  color: #ff2b9c;
  background-color: #ffdeef;
  text-align: right;
  float: right;
  width: 400px;
}

#GB_window {
  background-color: #f2f5f7;
  border: 5px solid #ccd7e0;
}

.external {
  background: transparent url("../../images/link.gif") 100% 50% no-repeat;
  padding-right: 10px;
}

.detail_head_collapsed,
.detail_head_expanded {
  color: #3a6bff;
}

.gallery-center-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

.gallery-center-wrapper .maintable {
  border-collapse: collapse;
  width: 100%;
}
.gallery-center-wrapper .maintable td,
.gallery-center-wrapper .maintable th {
  padding: 6px 10px;
  vertical-align: top;
}
.gallery-center-wrapper .tableh1 {
  background: #436243 !important;
  color: #fff !important;

  font-size: 14px;
  font-weight: 600;
  padding: 10px;
}
.gallery-center-wrapper .tableh1 *,
.gallery-center-wrapper .tableh1 a {
  color: #fff !important;
}
.gallery-center-wrapper .tableh1 a:hover {
  opacity: 0.9;
}
.gallery-center-wrapper .tableh2 {
  background: transparent;
  color: #213021;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 10px;
}
.gallery-center-wrapper .tableh2 *,
.gallery-center-wrapper .tableh2 a {
  color: inherit !important;
}
.gallery-center-wrapper .tableb,
.gallery-center-wrapper .tableb_alternate,
.gallery-center-wrapper .catrow,
.gallery-center-wrapper .catrow_noalb {
  background: transparent;
  padding: 6px 10px;
}
.gallery-center-wrapper .tablef {
  background: transparent;
  padding: 10px;
}
.gallery-center-wrapper .thumbnails {
  background: transparent;
  padding: 8px;
}
.gallery-center-wrapper .image {
  margin: 4px;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.gallery-center-wrapper .image img {
  width: 100%;
  height: auto;
  max-width: 140px;
  max-height: 140px;
  object-fit: cover;
}
.gallery-center-wrapper .img_caption_table {
  width: 100%;
  max-width: 100% !important;
  border: none;
}
.gallery-center-wrapper .img_caption_table th {
  background: transparent;
  padding: 6px 10px;
  text-align: left;
  color: #213021;
}
.gallery-center-wrapper .img_caption_table td {
  background: transparent;
  padding: 8px 10px;
}
.gallery-center-wrapper .display_media {
  background: transparent;
  padding: 10px 0;
  margin: 0 auto;
  text-align: center;
  max-width: 100% !important;
}
.gallery-center-wrapper .imageborder {
  background-color: transparent;
  margin: 8px auto;
  padding: 4px;
  max-width: 100% !important;
}
.gallery-center-wrapper .display_media img,
.gallery-center-wrapper .imageborder img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 0 auto !important;
  box-sizing: border-box;
}

.thumbnail {
  border: 2px solid #97865f;
  overflow: hidden;
}
.thumbnail:hover,
.thumbnail:focus {
  border: 2px solid #97865f;
}

#cpg_logo_block_logo img {
  max-width: 100%;
  width: 100% !important;
  height: auto !important;
}
.cpg_starttable_outer,
.cpg_starttable_outer div.cpg_starttable_inner {
  background-color: #c7d0db !important;
  background-image: none !important;
}
.albumName,
.thumbsAdmin {
  float: left;
  padding: 0.5%;
  margin: 0px;
}
.sortorder_cell {
  float: right;
}
#formcell {
  float: left;
}
.thumbnail,
.catrow_noalb img,
.catrow img {
  max-width: 12vw !important;
  height: auto !important;
}
.thumb_title,
.thumb_caption,
.thumb_filename,
.thumb_num_comments {
  max-width: 12vw !important;
  overflow: hidden;
  word-break: break-all;
}

.strip_image {
  max-width: 10vw !important;
  height: auto;
}
#film {
  width: 100% !important;
}
#film .thumb a:link {
  width: 100% !important;
}
.tape {
  width: 100% !important;
  height: 100% !important;
  margin-left: 0px !important;
}
.remove {
  display: none !important;
}

.display_media {
  width: auto;
}
.display_media .image {
  max-width: 70vw !important;
  height: auto !important;
}
.display_media td.image {
  background-color: #1e1e1e;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.display_media .image img {
  width: auto !important;
  height: 70vw !important;
}
#picinfo {
  width: 100% !important;
  overflow: scroll;
}
.sortorder_cell img,
.thumb_caption_rating img,
#comments img {
  max-width: 2vw !important;
  height: auto !important;
}

#comments #captchaImg img {
  max-width: 25vw !important;
  height: auto !important;
}
.comment_date {
  font-size: 1.8vw !important;
}

.floating-mode-switcher-wrap {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99;
}
.floating-bottom-right {
  right: 22px;
  bottom: 22px;
}
.floating-bottom-left {
  left: 22px;
  bottom: 22px;
}
.floating-top-right {
  right: 22px;
  top: 45px;
}
.floating-top-left {
  left: 22px;
  top: 45px;
}
.menu-mode-switch {
  display: flex !important;
  align-items: center;
}
.menu-mode-switch .dl-switch {
  margin-bottom: 0;
}
.dl-switch {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 24px;
  cursor: pointer;
  user-select: none;
}

.dl-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.dl-switch .dl-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fb9426;
  transition: 0.4s;
  border-radius: 50px;
}

.dl-light,
.dl-dark {
  position: absolute;
  left: 10px;
  font-size: 12px;
  font-family: inherit;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.4s;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.dl-light {
  left: auto;
  right: 10px;
}

.dl-dark {
  opacity: 0;
  visibility: hidden;
}

.dl-switch .dl-slider:before {
  position: absolute;
  content: "";
  height: 30px;
  width: 30px;
  left: 0px;
  top: -3px;
  background-color: #040e29;
  transition: 0.4s;
  border-radius: 50%;
  z-index: 1;
  background-image: url("../img/icons/dark.svg");
  background-repeat: no-repeat;
}

.dl-switch input:checked + .dl-slider {
  background-color: #040e29;
}

.dl-switch input:checked + .dl-slider:before {
  background-color: #fb9426;
  background-image: url("../img/icons/light.svg");
  background-repeat: no-repeat;
}

.dl-switch input:checked ~ .dl-light {
  opacity: 0;
  visibility: hidden;
}

.dl-switch input:checked ~ .dl-dark {
  opacity: 1;
  visibility: visible;
}

.dl-switch input:checked + .dl-slider:before {
  transform: translateX(50px);
}

.dl-switch.style2 {
  width: 62px;
  height: 30px;
}

.dl-switch.style2 .dl-slider:before {
  height: 26px;
  width: 26px;
  left: 2px;
  top: 2px;
  background: #fff;
}

.dl-switch.style2 input:checked + .dl-slider:before {
  background: #fff;
}

.dl-switch.style2 input:checked + .dl-slider:before {
  transform: translateX(32px);
}

.dl-switch.style3 {
  width: 30px;
  height: 62px;
  /* transform: rotate(90deg);
  transform-origin: 0 100%; */
}
.dl-switch.style3 .dl-slider {
  background-color: #040e29;
}

.dl-switch.style3 .dl-slider:before {
  height: 26px;
  width: 26px;
  left: 2px;
  top: 2px;
  background-image: url(icons/dark3.svg);
}

.dl-switch.style3 .dl-light {
  top: auto;
  bottom: 1px;
  right: auto;
  left: 8px;
}

.dl-switch.style3 .dl-dark {
  top: 17px;
  left: 8px;
}

.dl-switch.style3 input:checked + .dl-slider {
  background-color: #fb9426;
}
.dl-switch.style3 input:checked + .dl-slider:before {
  background-image: url(icons/light3.svg);
}

.dl-switch.style3 input:checked + .dl-slider:before {
  transform: translateY(32px);
}

.dl-switch.style4 {
  width: 96px;
  height: 30px;
}

.dl-switch.style4 .dl-light,
.dl-switch.style4 .dl-dark {
  height: 100%;
  border-radius: 50px;
  padding: 2px 8px;
}

.dl-switch.style4 .dl-light {
  background-color: #fb9426;
  left: 0;
  right: auto;
}

.dl-switch.style4 .dl-dark {
  background-color: #040e29;
  left: auto;
  right: 0;
  color: #fb9426;
}

.dl-switch.style4 .dl-light .svg {
  margin-right: 5px;
}

.dl-switch.style4 .dl-dark .svg {
  margin-left: 5px;
}

.dl-switch.style4 .dl-slider {
  background-color: #040e29;
}

.dl-switch.style4 .dl-slider:before {
  width: 14px;
  height: 14px;
  background-image: url(icons/dark4.svg);
  background-repeat: no-repeat;
  background-color: transparent;
  right: 8px;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
}

.dl-switch.style4 input:checked + .dl-slider {
  background-color: #fb9426;
}

.dl-switch.style4 input:checked + .dl-slider:before {
  background-image: url(icons/light4.svg);
  right: auto;
  left: 8px;
  transform: translate(0, -50%);
}

.dl-switch.style5 {
  width: 68px;
  height: 30px;
}

.dl-switch.style5 .dl-light,
.dl-switch.style5 .dl-dark {
  left: 0;
  top: 0;
  right: auto;
  opacity: 1;
  visibility: visible;
}

.dl-active-border {
  background: #fb9426;
  width: 30px;
  height: 3px;
  left: 0;
  bottom: 9px;
  position: absolute;
  content: "";
  transition: 0.4s;
}

.dl-switch.style5 .dl-dark {
  left: 37px;
}

.dl-switch.style5 .dl-slider {
  background-color: transparent;
}

.dl-switch.style5 input:checked ~ .dl-slider {
  background-color: transparent;
}

.dl-switch.style5 input:checked ~ .dl-light {
  opacity: 1;
  visibility: visible;
}

.dl-switch.style5 input:checked ~ .dl-active-border {
  background-color: #040e29;
  transform: translateX(38px);
}

html[data-theme="dark"] {
  --bg-color: #1e1e1e;
  --text-color: #f4f4f4;
  --link-color: #f4f4f4;
  --link-hover-color: #4aa1e7;
  --border-color: #2b2b2b;

  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
}
html[data-theme="dark"] .gallery-menu {
  background-color: #505050 !important;
  color: #f4f4f4 !important;
}
html[data-theme="dark"] body,
html[data-theme="dark"] .page-content,
html[data-theme="dark"] .gallery-outer-table,
html[data-theme="dark"] .gallery-outer-cell,
html[data-theme="dark"] .maintable,
html[data-theme="dark"] .tableb,
html[data-theme="dark"] .tableb_alternate,
html[data-theme="dark"] .tableh2 {
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
  border-color: var(--border-color) !important;
}

html[data-theme="dark"] a,
html[data-theme="dark"] .menu-link,
html[data-theme="dark"] .navmenu a,
html[data-theme="dark"] .header-menu-toggle,
html[data-theme="dark"] a:visited {
  color: var(--link-color) !important;
}

html[data-theme="dark"] .admin_menu.admin_float a,
html[data-theme="dark"] .admin_menu a {
  color: #333333 !important;
}
html[data-theme="dark"] .buttonlist.align_right ul li a {
  color: #333333 !important;
}
html[data-theme="dark"] select.listbox {
  color: #333333 !important;
}

html[data-theme="dark"] #togglealltop,
html[data-theme="dark"] #expandalltop {
  color: #333333 !important;
}
html[data-theme="dark"] .header-menu-toggle {
  background: #181717 !important;
  color: #2c3746 !important;
}
html[data-theme="dark"] a:hover,
html[data-theme="dark"] .menu-link:hover,
html[data-theme="dark"] .navmenu a:hover,
html[data-theme="dark"] .admin_menu a:hover {
  color: var(--link-hover-color) !important;
}
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .header-mobile-panel,
html[data-theme="dark"] .site-footer {
  background-color: var(--bg-color) !important;
  border-color: var(--border-color) !important;
  color: var(--text-color) !important;
}

html[data-theme="dark"] .selected {
  background-color: #616161 !important;
}

@media all and (min-width: 0px) and (max-width: 320px) {
  .albumsThumbnails p {
    font-size: 2.5vw !important;
  }
}
@media all and (min-width: 0px) and (max-width: 768px) {
  header {
    height: 800px;

    background-size: 100% auto;
  }
  .page-content {
    padding: 0px !important;
  }
  .catrow_noalb table,
  .catrow table {
    font-size: 80% !important;
  }
  .alblink a {
    font-size: 80% !important;
    text-decoration: none;
  }
  .statlink h2 {
    font-size: 3.5vw !important;
  }
  body {
    padding: 0px !important;
  }
  #cpg_main_block_outer,
  .cpg_main_block_inner {
    padding: 0px !important;
  }
  #cpg_logo_block_outer,
  #cpg_logo_block_outer div.cpg_logo_block_inner,
  #cpg_header_block_outer,
  #cpg_header_block_outer div.cpg_header_block_inner {
    background-color: #e3e9ef !important;
    background-image: none !important;
  }
  .tableb {
    padding: 0px !important;
  }
  .buttonlist ul li a span {
    height: 3vw !important;
    line-height: 2vw !important;
  }
  .buttonlist ul li a {
    font-size: 3vw !important;
  }
  .navmenu img,
  .buttonlist img {
    max-width: 2vw !important;
    height: auto;
  }
  .navmenu {
    font-size: 2.5vw !important;
  }
  .tableh2 {
    padding: 0px !important;
  }
  .tableh1 {
    padding: 8px !important;
  }
  .thumbnails {
    padding: 0px !important;
  }

  .thumbsAdmin .admin_menu {
    margin: 2% !important;
  }
  .thumbsAdmin a {
    font-size: 2.5vw !important;
  }
}

img[src*="spacer.gif"] {
    display: none !important;
}
