@import url(http://fonts.googleapis.com/css?family=Roboto:400,300,500&subset=latin,latin-ext);
body {
  padding: 0;
  margin: 0;
}
.btn {
  display: inline-block;
  padding: 12px 28px 12px;
  margin-top: 12px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: none;
  color: #e74c3c;
  border: 2px solid #e74c3c;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  line-height: 22px;
  cursor: pointer;
  -webkit-transition: 0.25s;
  -moz-transition: 0.25s;
  -o-transition: 0.25s;
  transition: 0.25s;
}
.btn:hover,
.btn:focus {
  text-decoration: none;
  background: #e74c3c;
  color: #fff;
}
.btn:active,
.btn.active {
  border-color: #e74c3c;
  background: #e74c3c;
  color: rgba(255, 255, 255, 0.75);
}
.btn.disabled {
  color: #fff;
  border: 2px solid #95a5a6;
  background: #95a5a6;
}
.btn.disabled:hover,
.btn.disabled:focus {
  text-decoration: none;
  background: #95a5a6;
  border: 2px solid #7f8c8d;
  color: #fff;
}
.block {
  display: block;
}
a.nostyle {
  text-decoration: inherit;
  color: inherit;
}
a.nostyle.btn {
  color: #fff;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.pull-right {
  float: right;
}
.pull-left {
  float: left;
}
.both {
  clear: both;
}
.hide {
  display: none;
}
.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}
.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
  display: none !important;
}
@media (max-width: 767px) {
  .visible-xs {
    display: block !important;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .visible-sm {
    display: block !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .visible-md {
    display: block !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg {
    display: block !important;
  }
}
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  -ie-appearance: none;
  outline: none !important;
  background-color: #fafafa;
  border: 1px solid #d3d3d3;
  border-radius: 26px;
  box-shadow: inset 0 0 0 1px #d3d3d3;
  cursor: pointer;
  height: 28px;
  position: relative;
  transition: border 0.25s 0.15s, box-shadow 0.25s 0.3s, padding 0.25s;
  width: 44px;
  vertical-align: top;
}
input[type="checkbox"]:after {
  background-color: #ffffff;
  border: 1px solid #d3d3d3;
  border-radius: 24px;
  box-shadow: inset 0 -3px 3px rgba(0, 0, 0, 0.025), 0 1px 4px rgba(0, 0, 0, 0.15), 0 4px 4px rgba(0, 0, 0, 0.1);
  content: '';
  display: block;
  height: 24px;
  left: 0;
  position: absolute;
  right: 16px;
  top: 0;
  transition: border .25s .15s,
                left .25s .1s,
                right .15s .175s;
}
input[type="checkbox"]:checked {
  border-color: #53d76a;
  box-shadow: inset 0 0 0 13px #53d76a;
  padding-left: 18px;
  transition: border 0.25s, box-shadow 0.25s, padding 0.25s 0.15s;
}
input[type="checkbox"]:checked:after {
  border-color: #53d76a;
  left: 16px;
  right: 0;
  transition: border .25s,
                  left .15s .25s,
                  right .25s .175s;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto';
  min-width: 1200px;
}
body#sign_in {
  background: #ecf0f1;
}
#sign_in {
  background: #ecf0f1;
}
#sign_in .form {
  background: #52B3D9;
  color: #fff;
  width: 250px;
  margin: 0 auto;
  padding: 20px;
  margin-top: 100px;
}
#sign_in label {
  font-size: 14px;
  font-weight: 500;
}
#sign_in input[type="text"],
#sign_in input[type="password"] {
  color: #000;
  margin: 5px 0;
  border: none;
  width: 100%;
}
#sign_in input[type="submit"] {
  font-family: 'Roboto';
  background: #fff;
  border-radius: 3px;
  border: 2px solid #fff;
  padding: 7px 15px;
  margin-top: 20px;
  color: #22313F;
  outline: none;
}
#sign_in input[type="submit"]:hover {
  cursor: pointer;
  background: #52B3D9;
  color: #fff;
}
#sign_in p {
  margin-top: 20px;
  color: #fff;
  font-size: 12px;
  opacity: 0.8;
  line-height: 1.2;
}
#schedule {
  margin-bottom: 30px;
}
#schedule .hours .hour,
#schedule .hours .empty {
  display: inline-block;
  width: 6%;
  min-height: 30px;
  line-height: 50px;
  vertical-align: middle;
}
#schedule #days .day {
  border-bottom: 1px dashed #ddd;
  margin-top: 1px;
  clear: both;
  position: relative;
  min-height: 50px;
}
#schedule #days .day .day-name {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6%;
  line-height: 50px;
  text-align: center;
  vertical-align: middle;
  background: #eee;
}
#schedule #days .day .line {
  position: relative;
  margin-left: 6%;
  height: 50px;
  margin-bottom: 1px;
}
#schedule #days .day .line .class,
#schedule #days .day .line .lecture {
  position: absolute;
  top: 0;
  padding: 5px;
  color: #fff;
}
#schedule #days .day .line .class a,
#schedule #days .day .line .lecture a {
  color: #fff;
}
#schedule #days .day .line .class .lock,
#schedule #days .day .line .lecture .lock,
#schedule #days .day .line .class .note,
#schedule #days .day .line .lecture .note {
  visibility: hidden;
  font-size: 10px;
  padding: 5px 7px 7px 7px;
  margin: 8px 5px 5px 5px;
  text-align: center;
  vertical-align: middle;
}
#schedule #days .day .line .class .lock:hover,
#schedule #days .day .line .lecture .lock:hover,
#schedule #days .day .line .class .note:hover,
#schedule #days .day .line .lecture .note:hover {
  border-radius: 2px;
  color: #2C3E50;
  background: #fff;
  cursor: pointer;
}
#schedule #days .day .line .class .note,
#schedule #days .day .line .lecture .note {
  visibility: visible;
}
#schedule #days .day .line .class .content .name,
#schedule #days .day .line .lecture .content .name,
#schedule #days .day .line .class .content .who,
#schedule #days .day .line .lecture .content .who {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#schedule #days .day .line .class:hover .lock,
#schedule #days .day .line .lecture:hover .lock {
  visibility: visible;
}
#schedule #days .day .line .lecture {
  border: 1px solid #ccc;
  color: #666;
}
#switch {
  margin: 10px 0;
  background: #f7f7f7;
  padding: 5px;
}
#switch :first-child {
  line-height: 40px;
  vertical-align: middle;
  font-weight: 500;
  color: #C0392B;
}
#classes {
  font-size: 15px;
  color: #222;
}
#classes .row {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
#classes .row .color-preview {
  height: 10px;
  width: 10px;
  float: left;
  border-radius: 2px;
  margin-top: 5px;
  margin-right: 15px;
}
#classes .row .remove,
#classes .row .change-color {
  padding: 5px;
  font-size: 12px;
  color: #666;
}
#classes .row .remove:hover,
#classes .row .change-color:hover {
  background: #2C3E50;
  color: #fff;
  border-radius: 2px;
  cursor: pointer;
}
@media (max-width: 1500px) {
  .class,
  .lecture {
    font-size: 12px;
  }
}
input[type="text"],
input[type="password"] {
  padding: 5px !important;
  outline: none;
  border-radius: 2px;
  border: 1px solid #95a5a6;
}
p {
  margin: 50px 0 10px 0;
  color: #777;
}
.hide-no-bootstrap {
  display: none;
}
.error {
  color: #fff;
  background: #ba3346;
  padding: 20px;
  margin-bottom: 15px;
}
.error .close {
  color: rgba(255, 255, 255, 0.7);
  opacity: 1 !important;
  text-shadow: none;
}
.error .close:hover {
  color: #fff;
}
