/* Modal settings */

.box-content img {
	margin-top: 1em;
	margin-bottom: 1em;
	width: 100%;
}

.accessibility-title {
  color: #007fa3;
}

.accessibility-span {
  font-size: 18px;
  font-weight: 600;
}

.modal-row {
  padding: 12px 0 4px;
  width: 100%;
  display: table;
  table-layout: fixed;
  vertical-align: middle;
}

.modal-col {
  display: table-cell;
  vertical-align: middle;
}

.text-right {
  text-align: right;
}

.btn-accessibility {
  background: url(../img/bg_settings_text.png) no-repeat center center;
  display: inline-block;
  width: 44px;
  height: 44px;
  border-radius: 24px;
  margin-left: 4px;
  vertical-align: middle;
  text-align: center;
}

.btn-accessibility:hover {
  cursor: pointer;
}

.btn-accessibility.active {
  background: url(../img/bg_settings_text_active.png) no-repeat center center;
}

#size-normal {
  background-size: 44px 44px
}

#size-big {
  background-size: 72px 72px
}

#size-extrabig {
  background-size: 96px 96px
}

/* The switch - the box around the slider */

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin: 6px 0 0;
}

/* Hide default HTML checkbox */

.switch input {
  display: none;
}

/* The slider */

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #dddddd;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.slider:before {
  position: absolute;
  content: "";
  height: 28px;
  width: 28px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

input:checked+.slider {
  background: rgba(132, 189, 0, 1);
  background: -moz-linear-gradient(-45deg, rgba(132, 189, 0, 1) 0%, rgba(0, 134, 56, 1) 100%);
  background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(132, 189, 0, 1)), color-stop(100%, rgba(0, 134, 56, 1)));
  background: -webkit-linear-gradient(-45deg, rgba(132, 189, 0, 1) 0%, rgba(0, 134, 56, 1) 100%);
  background: -o-linear-gradient(-45deg, rgba(132, 189, 0, 1) 0%, rgba(0, 134, 56, 1) 100%);
  background: -ms-linear-gradient(-45deg, rgba(132, 189, 0, 1) 0%, rgba(0, 134, 56, 1) 100%);
  background: linear-gradient(135deg, rgba(132, 189, 0, 1) 0%, rgba(0, 134, 56, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#84bd00', endColorstr='#008638', GradientType=1);
}

input:focus+.slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Font Big */

.size-big .list-characters li, .size-big .text-empty, .size-big .input-group .form-control, .size-big .input-group .custom-select {
  font-size: 18px;
}

.size-big .box-content h1 {
  font-size: 38px;
}

.size-big .box-content p, .size-big .phonetic, .size-big .list-glossary li {
  font-size: 20px;
}


/* Font Extra Big */

.size-extrabig .list-characters li, .size-extrabig .text-empty, .size-extrabig .input-group .form-control, .size-extrabig .input-group .custom-select {
  font-size: 22px;
}

.size-extrabig .box-content h1 {
  font-size: 42px;
}

.size-extrabig .box-content p, .size-extrabig .phonetic, .size-extrabig .list-glossary li {
  font-size: 24px;
}


/* Font Uppercase */

body.uppercase * {
  text-transform: uppercase !important;
}

/* Contrast */

body.accessibility {
  background: #173753 !important;
}

body.accessibility::after {
  display: none;
}

/* media query */

@media (max-width: 767px) {
  .size-big .karaoke-container p a {
    font-size: 26px;
  }
  .size-extrabig .karaoke-container p a {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
	/* Font Big */

	.size-big .list-characters li, .size-big .text-empty, .size-big .input-group .form-control, .size-big .input-group .custom-select {
	  font-size: 18px;
	}

	.size-big .box-content h1 {
	  font-size: 38px;
	}

	.size-big .box-content p, .size-big .phonetic, .size-big .list-glossary li {
	  font-size: 20px;
	}


	/* Font Extra Big */

	.size-extrabig .list-characters li, .size-extrabig .text-empty, .size-extrabig .input-group .form-control, .size-extrabig .input-group .custom-select {
	  font-size: 22px;
	}

	.size-extrabig .box-content h1 {
	  font-size: 42px;
	}

	.size-extrabig .box-content p, .size-extrabig .phonetic, .size-extrabig .list-glossary li {
	  font-size: 26px;
	}
}
