/* HEADER AND SIDEBAR LAYOUT */

body {
  background: linear-gradient(to right, #add8e6, white, pink);
  margin-top: 90px !important;
}

#wrapper {
  margin: 0;
  padding-left: 300px;
  transition: all 0.5s ease;
}

#wrapper.toggled {
  padding-left: 300px;
}

.sidebar {
  width: 300px;
  overflow: hidden;
  margin-left: -300px;
  border-right-style: solid;
  border-bottom-style: solid;
  border-color: #bfbfbf;
  background-color: white;
  transition: all 0.5s ease;
}

#wrapper.toggled .sidebar {
  width: 0;
  border-width: 0;
}

.view {
  position: absolute;
  left: 300px;
  right: 0;
  min-height: calc(100% - 90px);
  transition: all 0.5s ease;
}

#wrapper.toggled .view {
  left: 0;
  right: 0;
}

/* HEADER */

.navbar {
  height: 90px;
  border-bottom-style: solid;
  border-color: #bfbfbf;
  background-color: white;
}

.navbar-brand {
  color: #bfbfbf !important;
  font-size: 2em !important;
  font-weight: 700 !important;
}

.navbar-brand:hover {
  color: #bfbfbf;
  text-decoration: none;
}

/* SIDEBAR */

.sidebar-nav {
  padding: 40px;
  width: 300px;
}

.sidebar-nav a {
  list-style-type: none !important;
  text-decoration: none;
}

.sidebar-nav a:hover {
  text-decoration: none;
}

/* HOME */

@keyframes home-background {
  0% {
    background-image: url("media/images/paris1.jpg");
  }

  25% {
    background-image: url("media/images/paris2.jpg");
  }

  50% {
    background-image: url("media/images/paris3.jpg");
  }

  75% {
    background-image: url("media/images/paris4.jpg");
  }

  100% {
    background-image: url("media/images/paris1.jpg");
  }
}

.home-background {
  z-index: -1000;
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  opacity: 0.25;
  animation-name: home-background;
  animation-duration: 16s;
  animation-iteration-count: infinite;
}

.preload-images {
  animation-name: home-background;
  animation-duration: 0.1s;
}

/* EXERCISE */

.hover-bg:hover {
  background: #e9ecef;
  border-radius: 6px;
}

.fill-words-field {
  display: inline-block;
  font-family: monospace;
  background-color: #eceff1;
}

.number-field {
  display: inline-block;
  font-family: monospace;
  background-color: #eceff1;
  width: 50px;
  text-align: right;
}

.definition {
  border-bottom: 2px dotted black;
  cursor: help;
}

.example {
  padding: 1em;
  border-color: #d6ccd9;
  border-style: solid;
  border-radius: 0.5em;
}

.example-text {
  color: #d6ccd9;
}

.correction-pill {
  font-size: 1.2em;
}

/* DICTATION */

.score-table-hr {
  border-top: 1px dotted lightgray;
}

@media (min-width: 768px) {
  .graphs-divider {
    border-left: 1px solid lightgray;
  }
}

.bg-odd {
  background-color: #eeeeee;
}

.bg-even {
  background-color: #f7f7f7;
}

/* COMMON */

.progress-flag {
  background: url(media/images/flag_progress.png);
}

.btn-flag {
  background: url(media/images/flag_btn.png);
  background-position: 0px;
  font-size: 2rem;
  font-weight: 800;
  transition: all 1s ease !important;
}

.btn-flag:hover {
  background-position: 111px;
}

.btn-blue-nohover {
  background-color: #0050a4;
  color: white !important;
}

.btn-blue {
  background-color: #0050a4;
  color: white !important;
}

.btn-blue:hover:enabled {
  background-color: #003266;
}

.btn-red {
  background-color: #ef4135;
  color: white !important;
}

.btn-red:hover:enabled {
  background-color: #992a22;
}

.progcirc-cover {
  width: 150px;
  height: 150px;
  background-color: white;
  z-index: 1;
}

/* ATTRIBUTE CLASSES */

.user-select-none {
  user-select: none;
}

.cursor-pointer {
  cursor: pointer;
}

.text-underline {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.text-underline-double {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-style: double;
}

.decoration-skip-none {
  text-decoration-skip-ink: none;
}

.border-dashed {
  border-style: dashed;
}

.border-solid {
  border-style: solid;
}

.white-space-pre {
  white-space: pre;
}

.font-size-0 {
  font-size: 0;
}

.font-size-8 {
  font-size: 8;
}

.bg-inherit {
  background-color: inherit;
}

.text-shadow {
  text-shadow: black 0.1em 0.1em 0.2em;
}

/* SECTION */

/* section {
	position: absolute;
	width: 100%;
	top: 82px;
	left: 0;
	bottom: 34px;
	overflow: auto;
	background: #CCC;
	vertical-align: middle;
}

.content {
	text-align: center;
	height: 100%;
}

#login-form {
	margin: auto auto;
}

#register-form {
	margin: auto;
}

input[type=text], input[type=password] {
	margin: 8px auto;
	display: block;
	border: 1px solid #ccc;
	box-sizing: border-box;
	text-align: center;
}

textarea {
	margin: 8px auto;
	display: block;
	border: 1px solid #ccc;
	box-sizing: border-box;
}

label {
	margin-top: 5px;
}

input[type="radio"].leftorright {
	opacity: 0;
}

input[type="radio"].leftorright+label {
	cursor: pointer;
	padding: 4px 10px;
	border: 1px solid #ccc;
}

input[type="radio"].leftorright:checked+label {
	background: #777;
	border: 1px solid #444;
} */

/* 
audio {
	width: 100%;
} */
