body.page-home {
  overflow-x: hidden;
  background: url('../img/globus.png') no-repeat;
  overflow-x: hidden;
  background-size: 65% auto;
  background-position: right 50px top 300px;
  background-attachment: fixed;
}

p {
  line-height: 1.75;
}

.page-section {
  padding: 4rem 0;
}

.page-section .section-heading {
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.page-section .section-subheading {
  font-size: 1rem;
  font-weight: 400;
  color: #000;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  section {
    padding: 9rem 0;
  }
}

::-moz-selection {
  background: #dee4ff;
  text-shadow: none;
}

::selection {
  background: #dee4ff;
  text-shadow: none;
}

img::-moz-selection {
  background: transparent;
}

img::selection {
  background: transparent;
}

img::-moz-selection {
  background: transparent;
}

.form-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  margin: 0;
  color: #0053a1;
}

.form-control .ms-choice {
  border-radius: 0.5rem;
  outline: none;
  color: #0053a1;
}

.form-control .ms-drop {
  border-radius: 0.5rem;
  border-color: #0053a1;
  margin-top: 4px;
}

.btn-xl {
  padding: 0.25rem 1rem;
  font-size: 1.5rem;
  font-weight: 500;
}

.btn-muted {
  background: #6c757d;
  border-color: #6c757d;
}

.btn-social {
  height: 2.5rem;
  width: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 100%;
}

#navbar {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  margin: 0 50px;
  border-bottom: 3px solid #0053a1;
}

#navbar .row {
  align-items: end;
}

#navbar .menu-item {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0.5rem;
}

#navbar .menu-item.active {
  color: #009ee3;
  /* border-bottom: 3px solid #009ee3; */
}

#navbar .logo {
  display: block;
  margin-top: -10px;
  margin-bottom: -10px;
  text-align: center;
  height: 100px;
}

#navbar .logo img {
  max-height: 100px;
}

header.header {
  padding-top: 4rem;
  padding-bottom: 4rem;
  text-align: center;
  color: #0053a1;
}

header.header .header-subheading {
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.5rem;
  margin-bottom: 25px;
}

header.header .header-heading {
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 3.25rem;
  margin-bottom: 2rem;
}

header.header.subpage {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

header.header.subpage .header-heading {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 3.25rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  header.header .header-subheading {
    font-size: 2.25rem;
    font-style: italic;
    line-height: 2.25rem;
    margin-bottom: 2rem;
  }

  header.header .header-heading {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 4.5rem;
    margin-bottom: 4rem;
  }

  header.header.subpage {
    padding-bottom: 3rem;
  }

  header.header.subpage .header-heading {
    font-size: 3rem;
    letter-spacing: 1px;
  }
}

@media (min-width: 992px) {
  #exercises>div {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
  }

  #exercises .exercise-item .exercise-link {
    min-height: 272px;
  }
}

@media (min-width: 1260px) {
  #exercises>div {
    flex: 0 0 25%;
    max-width: 25%;
  }

  #exercises .exercise-item .exercise-link {
    min-height: 252px;
  }
}

#exercises .exercise-item {
  max-width: 25rem;
  margin-left: auto;
  margin-right: auto;
}

#exercises .exercise-item:hover .exercise-link {
  border-radius: 1rem;
  border-width: 8px;
  box-shadow: 0 4px 7px 0px #00000060;
}


#exercises .exercise-item .exercise-link {
  position: relative;
  display: block;
  margin: 0 auto;
  min-width: 272px;
  border-radius: 100%;
  border: 10px solid #009ee3;
  overflow: hidden;
  /* transition: border-radius ease-in-out 0.25s; */
}

#exercises .exercise-item .exercise-link.degree-ss {
  border-color: #0053a1;
}

#exercises .exercise-item .exercise-label {
  margin: 5px;
}

#exercises .exercise-item .exercise-label span {
  display: inline-block;
  padding: 0 5px;
  background: #ff6300d1;
  color: #fff;
}

#exercises .exercise-item .exercise-link .exercise-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
}

#exercises .exercise-item .exercise-link .exercise-hover .exercise-hover-content {
  font-size: 1.25rem;
  color: white;
  margin-right: 5px;
}

#exercises .exercise-hover .exercise-header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  background: #009ee3d1;
  padding: 3px 10px;
  color: #fff;
}

#exercises .exercise-item .exercise-link.degree-ss .exercise-header {
  background: #0053a1d1;
}

#exercises .exercise-duration {
  white-space: nowrap;
}

#exercises .exercise-footer {
  position: absolute;
  bottom: 10px;
  width: 100%;
}

#exercises .exercise-description {
  background: #ffffffd1;
  color: #333;
  font-weight: 100;
  line-height: 120%;
  padding: 5px 10px;
  font-size: 0.85rem;
}

#exercises .exercise-unit {
  background: #23004ebd;
  text-align: center;
  color: #fff;
  padding: 0 10px;
}

#exercises .exercise-item:hover .exercise-hover {
  opacity: 1;
}

#exercises .exercise-item .exercise-caption {
  padding: 1rem 0;
  text-align: center;
  min-height: 60px;
}

#exercises .exercise-item .exercise-caption .exercise-caption-heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 120%;
  color: #595858;
}

#exercises .exercise-item:hover .exercise-caption .exercise-caption-heading {
  color: #0053a1;
}

#exercises .exercise-item .exercise-caption .exercise-caption-subheading {
  font-style: italic;
}

#exercise {
  padding: 3rem 0;
}

#exercise .exercise-caption-heading {
  font-size: 2.5rem;
}

#exercise .section-subheading {
  margin-bottom: 10px;
}

#exercise .exercise-img {
  width: 95%;
  border-radius: 100%;
  border: 20px solid #009ee3;
  margin-top: 20px;
}

#exercise .exercise-img.degree-ss {
  border-color: #0053a1;
}

#exercise .finish-exercise .exercise-img {
  max-width: 450px;
  border-width: 15px;
}

#exercise .exercises-label {
  display: flex;
}

#exercise .exercises-label label {
  font-weight: bold;
  width: 170px;
  margin: 0;
}

#exercise .exercises-label span {
  width: calc(100% - 170px);
}

.download-pdf {
  background: url('../img/pdf.svg') no-repeat;
  background-size: 20px auto;
  padding-left: 25px;
  color: #000;
  text-decoration: underline;
}

.download-pdf:hover {
  text-decoration: none;
}

@media (min-width: 992px) {
  #exercise button {
    position: absolute;
    bottom: 15px;
    right: 0;
  }
}

.footer {
  background: #0053a1;
  color: #fff;
  text-align: center;
  font-size: 0.9rem;
}

.logged-in {
  margin-top: 42px;
}

.adminbar {
  height: 42px;
  padding: 0.25rem 10px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #212529;
  text-align: right;
  color: #fff;
  font-size: 14px;
  z-index: 10000;
}

.dataTables_wrapper {
  width: 100%;
}

fieldset {
  border: 1px solid #0053a1;
  border-radius: 0.5rem;
  padding: 6px 12px;
}

legend {
  font-size: 0.75rem;
  display: inline-block;
  width: auto;
  margin: 0;
}

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#code {
  display: flex;
  justify-content: center;
}

#code input {
  max-width: 200px;
  margin: 0 10px;
  border-width: 3px;
  text-align: center;
  font-weight: 600;
  font-size: 2.25rem;
  height: 3.75rem;
}


.page-cviceni table {
  border: 0;
}

.page-cviceni table td {
  border: 0;
  height: 40px;
  padding: 5px;
}

.page-cviceni table td input {
  border: 0;
  width: 100%;
  outline: none;
  font-weight: bold;
  color: #e64c4c;
  height: 100%;
}

.text-tiny {
  font-size: 0.75rem;
  line-height: 120%;
}

.text-small {
  font-size: 1rem;
  line-height: 120%;
}

.text-big {
  font-size: 1.5rem;
  line-height: 120%;
}

.text-huge {
  font-size: 2rem;
  line-height: 120%;
}

.switch {
  position: relative;
  box-sizing: border-box;
}

.switch-knobs,
.switch-layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.switch-button {
  position: relative;
  /* top: 50%; */
  width: 65px;
  height: 36px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0.5rem;
}

.switch-checkbox {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.switch-knobs {
  z-index: 2;
}

.switch-layer {
  width: 100%;
  background-color: #0053a1;
  transition: 0.3s ease all;
  z-index: 1;
}

.switch-button .switch-knobs:before,
.switch-button .switch-knobs:after,
.switch-button .switch-knobs span {
  position: absolute;
  top: 4px;
  width: 28px;
  height: 28px;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  padding: 9px 4px;
  border-radius: 0.25rem;
  transition: 0.3s ease all;
}

.switch-button .switch-knobs:before {
  content: '';
  left: 4px;
  background-color: #28a745;
}

.switch-button .switch-knobs:after {
  content: 'NE';
  right: 4px;
  color: #ffffff;
}

.switch-button .switch-knobs span {
  display: inline-block;
  left: 4px;
  color: #fff;
  z-index: 1;
}

.switch-button .switch-checkbox:checked+.switch-knobs span {
  color: #ffffff;
}

.switch-button .switch-checkbox:checked+.switch-knobs:before {
  left: 34px;
  background-color: #F44336;
}

.switch-button .switch-checkbox:checked+.switch-knobs:after {
  color: #fff;
}

.switch-button .switch-checkbox:checked~.switch-layer {
  background-color: #0053a1;
}

.breadcrumbs {
  padding: 2.5rem !important;
  font-size: 1.5rem;
  font-weight: 600;
  color: #0053a1;
  text-align: center;
  border-bottom: 3px solid #0053a1;
  margin: 0 50px;
}

.breadcrumbs-delimiter {
  margin: 0 7px;
}

.breadcrumbs-item:last-child {
  color: #009ee3;
}

.breadcrumbs-item a {
  border-bottom: 3px solid #0053a1;
}

.breadcrumbs-item a:hover {
  border-color: transparent;
}

#admin-exercises .exercise-control {
  background: #fff;
  box-shadow: 0 0 11px 0px #d7d7d7;
  padding: 30px 12px;
  margin-bottom: 24px;
  text-align: center;
}

#admin-exercises .exercise-control-type {
  font-size: 2rem;
}

#admin-exercises .exercise-control-meta {
  color: #777;
}

#admin-exercises .exercise-control-actions {
  margin-top: 20px;
}

.tox-tinymce {
  border: 1px solid #0053a1 !important;
  border-radius: 0.5rem !important;
}

.tox .tox-textarea {
  min-height: 200px !important;
}

.deleteFile {
  cursor: pointer;
}

.page-section .faded {
  opacity: 0.5;
}