body {
  margin: 0;
  padding-top: 50px;
  background-color: #fafafa !important;
}

body,
input,
textarea,
button {
  font-family: sans-serif;
  font-size: 15px;
}

input[type='text'],
input[type='password'] {
  width: 90%;
  padding: 8px 10px;
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 2px;
  box-sizing: border-box;
}

.container {
  width: auto !important;
  padding-bottom: 50px;
}

.page {
  background-color: #fafafa;
}

.radio-inline {
  margin-right: 15px;
  padding-left: 5px !important;
}

.photopreview {
  border: 1px solid #ccc;
  float: left;
  margin-bottom: 20px;
  margin-right: 15px;
}

.element-margin {
  margin-right: 20px !important;
}

.logininput {
  width: 100%;
  padding: 12px 20px;
  margin-top: 10px;
  margin-bottom: 25px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.separator {
  border-bottom: 1px solid lightgrey;
  margin-bottom: 10px;
  padding-top: 10px;
  opacity: 0.3;
}

.left {
  float: left;
}

.right {
  float: right;
}

.clear {
  clear: both;
}

.maindiv {
  padding: 15px;
}

.eform {
  max-width: 350px;
}

.inputsentences {
  width: 100%;
}
.windowcenter {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform: -webkit-translate(-50%, -50%);
  transform: -moz-translate(-50%, -50%);
  transform: -ms-translate(-50%, -50%);
}

#blockScreenUnderPopup {
  z-index: 99;
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
#predefinedTitlesPopup {
  z-index: 100;
  display: none;
  width: 80%;
  height: auto;
}

#ptForm {
  overflow: scroll;
  max-height: 500px;
}

/* Remove the navbar's default margin-bottom and rounded borders */
.navbar {
  margin-bottom: 0;
  border-radius: 0;
}

/* Set height of the grid so .sidenav can be 100% (adjust as needed) */
.row.content {
  height: 450px;
}

/* Set gray background color and 100% height */
.sidenav {
  padding-top: 20px;
  background-color: #f1f1f1;
  height: 100%;
}

/* Set black background color, white text and some padding */
footer {
  background-color: #555;
  color: white;
  padding: 15px;
}

.list-group-item {
  cursor: pointer;
  background: white !important;
}
.list-group-item:hover {
  cursor: pointer;
  background: #f6f6f6 !important;
}
.selected {
  background: #f6f6f6 !important;
}

.panel-default {
  width: 100%;
  float: left;
  margin-right: 15px;
  margin-top: 15px !important;
}

.panel-slim {
  width: 40%;
  min-width: 320px;
  float: left;
  padding-right: 15px;
}
.panel-wide {
  width: 60%;
  min-width: 320px;
  float: left;
}
.panel-menu {
  width: 30%;
  padding-right: 15px;
  float: left;
}
.panel-menu-container {
  width: 70%;
  float: left;
}

/* On small screens, set height to 'auto' for sidenav and grid */
@media only screen and (max-width: 900px) {
  .panel-slim {
    width: 100%;
    padding-right: 0px;
  }
  .panel-wide {
    width: 100%;
  }
  .panel-menu {
    width: 100%;
    padding-right: 0px;
  }
  .panel-menu-container {
    width: 100%;
  }
  .sidenav {
    height: auto;
    padding: 15px;
  }
  .row.content {
    height: auto;
  }
}

.spinner {
  margin: 100px auto;
  width: 40px;
  height: 40px;
  position: relative;
}

.cube1,
.cube2 {
  background-color: #333;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 0;
  left: 0;

  -webkit-animation: sk-cubemove 1.8s infinite ease-in-out;
  animation: sk-cubemove 1.8s infinite ease-in-out;
}

.cube2 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.btn {
  margin-top: 0px;
  margin-right: 10px;
  margin-bottom: 10px !important;
  margin-left: 0px;
}

button.close {
  color: orange;
  margin-top: 5px;
  opacity: 0.5;
  font-size: 30px;
}

img.thumbnail {
  max-width: 200px;
  max-height: 200px;
  float: left;
  margin-right: 20px;
}

@-webkit-keyframes sk-cubemove {
  25% {
    -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
  }
  50% {
    -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
  }
  75% {
    -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg)
      scale(0.5);
  }
  100% {
    -webkit-transform: rotate(-360deg);
  }
}

@keyframes sk-cubemove {
  25% {
    transform: translateX(42px) rotate(-90deg) scale(0.5);
    -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
  }
  50% {
    transform: translateX(42px) translateY(42px) rotate(-179deg);
    -webkit-transform: translateX(42px) translateY(42px) rotate(-179deg);
  }
  50.1% {
    transform: translateX(42px) translateY(42px) rotate(-180deg);
    -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
  }
  75% {
    transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
    -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg)
      scale(0.5);
  }
  100% {
    transform: rotate(-360deg);
    -webkit-transform: rotate(-360deg);
  }
}
