#page {
  background: #fff;
}
#header {
  height: 110px;
  position: relative;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
#logo {
  float: left;
  display: block;
  border: none;
  font-size: 0;
}
#logo .middle-class {
  height: 110px;
}
#container {
  position: relative;
  max-width: 1380px;
  margin: 0 auto;
  padding-bottom: 45px;
}
h1#page-title {
  position: absolute;
  top: -1000px;
}
#footer {
  background: #f4f4f4;
  border-bottom: 4px solid #000;
  border-top: 1px solid #e3e3e3;
  height: 119px;
  line-height: 38px;
  padding: 35px 40px;
  font-weight: 600;
  box-sizing: border-box;
}
#footer > .inner {
  max-width: 1200px;
  margin: 0 auto;
}
#footer .help {
  display: block;
  border: none;
  float: left;
  cursor: pointer;
}
#footer .to-top {
  float: right;
  cursor: pointer;
}
#footer .qm {
  vertical-align: middle;
  display: inline-block;
  margin-left: 10px;
  border: 1px solid #e3e3e3;
  border-radius: 50%;
  font-size: 23px;
  width: 38px;
  text-align: center;
  transition: border-color 0.2s ease;
}
#footer .help:hover .qm {
  border-color: #000;
  animation: pulse 0.3s ease forwards;
}
#footer .up {
  vertical-align: middle;
  display: inline-block;
  margin-left: 10px;
  border: 1px solid #e3e3e3;
  border-radius: 50%;
  text-align: center;
  width: 38px;
  height: 38px;
  background: url("../images/icon_arrow-up.png") no-repeat center center;
  transition: border-color 0.2s ease;
}
#footer .to-top:hover .up {
  border-color: #000;
  animation: pulse 0.3s ease forwards;
}
#bottom {
  background: #e3e3e3;
  padding: 95px 0 125px;
  text-align: center;
}
#bottom > .inner {
  max-width: 610px;
  margin: 0 auto;
}
#bottom .logo {
  margin-bottom: 20px;
}

.clear {
  clear: both;
}
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

.middle-class {
  vertical-align: middle;
  display: inline-block;
  font-size: 0;
}
.middle-class ~ img {
  vertical-align: middle;
}

.rel {
  position: relative;
}

.fa-spin {
  animation-duration: 1s;
}

.color-accent-hover {
  transition: color 0.2s ease;
}

.breaker,
.tablet,
.mobile,
.mobile-portrait {
  display: none;
}
.desktop {
  display: block;
  display: initial;
}


ul.system-messages {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 3;
  max-width: 500px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.admin-menu ul.system-messages {
  margin-top: 30px;
}
li.system-message {
  padding: 15px 25px;
  margin-top: 10px;
  border-radius: 25px;
}
li.system-message:first-child {
  margin-top: 0;
}
li.system-message-info {
  color: #31708F;
  background-color: #D9EDF7;
  border-color: #BCE8F1;
}
li.system-message-success {
  color: #3C763D;
  background-color: #DFF0D8;
}
li.system-message-debug,
li.system-message-warning {
  color: #8A6D3B;
  background-color: #FCF8E3;
}
li.system-message-error {
  color: #A94442;
  background-color: #F2DEDE;
}


a.btn,
.btn {
  background: none;
  color: #000;
  display: inline-block;
  padding: 0 25px;
  margin: 0px;
  font-size: 14px;
  font-weight: 600;
  line-height: 38px;
  height: 40px;
  min-width: 150px;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid #313131;
  border-radius: 20px;
  box-sizing: border-box;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  -webkit-appearance: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
.btn:hover {
  background-color: #313131;
  color: #fff;
}
.btn-block {
  display: block;
}

a.btn-primary,
.btn-primary {
  background-color: #313131;
  color: #fff;
}
.btn-primary:hover {
  background-color: #000;
}
a.btn-danger,
.btn-danger {
  background: transparent;
  color: #D43F3A;
  border-color: #D43F3A;
}
.btn-danger:hover {
  color: #fff;
  background-color: #D43F3A;
  border-color: #D43F3A;
}
a.btn-success,
.btn-success,
.btn-success:hover {
  background: #4CAE4C;
  color: #fff;
  border-color: #4CAE4C;
}
.btn-success:hover {
  opacity: 0.7;
}
a.btn-text,
.btn-text {
  padding: 0;
  height: auto;
  min-width: 0;
  line-height: 22px;
  background: none;
  border-color: transparent;
  border-radius: 0;
}
.btn-text:hover {
  color: #313131;
  background: none;
  border-bottom-color: #313131;
}
.btn-disabled,
.btn-disabled:hover {
  border-color: #ccc;
  background-color: #ccc;
  color: #fff;
}
a.btn-accent,
.btn-accent {
  border: none;
  color: #fff;
  line-height: 40px;
}
.btn-accent:hover {
  opacity: 0.7;
}
a.btn-accent-white,
.btn-accent-white {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
a.btn-accent-bordered,
.btn-accent-bordered {
  border: none;
  color: #fff;
  border: 1px solid #fff;
}
.btn-accent-bordered:hover {
  background-color: #fff;
}
.btn-loader.loading span {
  display: none;
}
.btn-loader.loading:after {
  content: "\f021";
  font-family: FontAwesome;
  font-weight: normal;
  display: inline-block;
  animation: fa-spin 1s infinite linear;
  margin-left: 5px;
}
.actions {
  text-align: center;
}
.actions .btn {
  margin-left: 15px;
}
.actions .btn:first-child {
  margin-left: 0;
}

.content-entity {
  position: relative;
}
a.edit-btn,
a.icon-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	padding: 10px;
	border-radius: 50%;
	color: #fff;
  border: none;
	background: rgba(0,0,0,0.7);
	font-size: 16px;
	line-height: 1;
	z-index: 2;
	opacity: 0;
	visibility: hidden;
	transform: scale(0.1);
	transition: visibility 0s 0.3s, opacity 0.3s ease, transform 0.3s, background-color 0.2s ease;
}
:hover > a.edit-btn,
:hover > a.icon-btn {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
	transition-delay: 0s;
}

.box {
  background: #fff;
  padding: 60px 90px 65px;
}
.box2 {
  background: #ebebeb;
}
.box-accent {
  color: #fff;
}
.box-top {
  margin: -25px 0 0;
  padding: 0 40px 35px;
  line-height: 26px;
  font-size: 18px;
  font-weight: 700;
}
.box:after,
.box-top:after,
.box2 > .header .right,
.box-top > .right:after {
  content: "";
  display: block;
  clear: both;
}
.box-top h1 {
  text-align: left;
  font-size: inherit;
  line-height: inherit;
  padding: 0;
}
.box-top h1 > * {
  border-bottom: none;
}
.box-top h1 > *:nth-child(n+2) {
  display: inline-block;
  border-left: 1px solid #000;
  margin-left: 12px;
  padding-left: 15px;
}
.box-top > * {
  float: left;
  margin-left: 15px;
  padding-left: 15px;
  border-left: 1px solid #000;
}
.box-top > :first-child {
  margin-left: 0;
  padding-left: 0;
  border-left: none;
}
.box-top > .right {
  float: right;
  border-left: 0;
}
.box2 > .header .right > *,
.box-top > .right > * {
  display: block;
  float: left;
  margin-left: 15px;
}
.box-top > .right .fa {
  font-size: 20px;
  line-height: 30px;
}
.box-top > .right .btn {
  margin-top: -5px;
}
.box2 > .header .left > * {
  display: block;
  float: left;
  margin-right: 15px;
}
.box-top > .right > a,
.box2 > .header .right > a,
.box2 > .header .left > a {
  border: none;
  transition: color 0.2s ease;
}
.box2 > .header {
  padding: 20px 45px;
  background: #fff;
  margin-bottom: 1px;
  position: relative;
}
.box2 > .header:after {
  content: "";
  display: block;
  clear: both;
}
.box2 > .header h2 {
  line-height: 20px;
  padding: 10px 0;
}
.box2 > .header .right {
  position: absolute;
  right: 30px;
  top: 20px;
}
.box2 > .header .left {
  position: absolute;
  left: 30px;
  top: 20px;
}
.box2 > .header .left .btn-back {
  background: url("../images/icon_arrow-left.png") no-repeat left center;
  width: 40px;
  height: 40px;
}
.box > .inside {
  box-sizing: border-box;
  padding: 45px 55px 50px;
  background: #fff;
}
.controller-default .box > .inside {
  padding-top: 100px;
  padding-bottom: 110px;
}
.box > .col {
  box-sizing: border-box;
  padding: 30px 80px 75px;
  background: #fff;
  float: left;
  width: 49.95%;
}
.box > .col:first-child {
  margin-right: 0.1%;
}
.box > .col h2 {
  padding: 0 0 22px;
}
.box > .small {
  box-sizing: border-box;
  padding: 30px 80px 75px;
  margin: 0 auto;
  background: #fff;
  max-width: 560px;
}
.box > .col h1,
.box > .small h1 {
  font-size: 16px;
  line-height: 1.3;
  padding: 0 0 22px;
  text-transform: uppercase;
}
.box > .small h1 + .h1-description {
  margin: -12px 0 15px;
  text-align: center;
}
.box > .col .actions,
.box > .small .actions {
  margin-top: 20px;
}
.box > .small > p {
  text-align: center;
  font-size: 16px;
  margin-top: 0;
}
.box .sub-heading {
  position: relative;
  margin-top: -12px;
  font-size: 24px;
  text-align: center;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
}
.box .sub-heading:after {
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  background: #aaa;
  margin: 20px auto 0;
}

ul.checklist {
  margin: 0;
  padding: 0;
  font-size: 18px;
}
ul.checklist li {
  list-style: none;
  margin: 0 0 12px;
  padding: 0 0 0 35px;
  background: url("../images/icon_check_green_large.png") no-repeat left center;
}
ul.checklist li:last-child {
  margin-bottom: 0;
}

.tab-btn,
a.tab-btn {
  display: block;
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  padding: 15px 0;
  border: 1px solid #e3e3e3;
  border-top-width: 0;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.tab-btn:first-child {
  border-top-width: 1px;
}
.tab-btn:hover {
  color: #fff;
  background-color: #313131;
  border-color: #313131;
}
.tab-btn.active {
  color: #fff;
}
.tab-body {
  display: none;
}
.tab-body.active {
  display: block;
}

.popup-close {
  right: 20px;
  width: 20px;
  height: 20px;
  background: url("../images/icon_times.png") no-repeat center center;
}
.popup-close .fa {
  display: none;
}
.popup-size-medium .popup-light {
  width: 650px;
  left: -325px;
}
.popup-wrap form .msg {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 10px;
  text-align: center;
  animation: fade 0.5s ease;
}

.type-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 26px;
  text-transform: uppercase;
  background-position: left center;
  background-repeat: no-repeat;
  padding: 0 0 0 45px;
}
.type-title.type-course {
  background-image: url("../images/icon_type_course.png");
}
.type-title.type-webinar {
  background-image: url("../images/icon_type_webinar.png");
}

/**
 * Cart messages
 */
#cart-messages {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 110;
}
.admin-menu #cart-messages {
  margin-top: 30px;
}
.cart-message {
  float: right;
  clear: both;
  position: relative;
  margin: 0 0 15px;
  overflow: hidden;
  width: 64px;
  box-shadow: 6px 6px 0 0 rgba(0,0,0,0.1);
}
.cart-message .image {
  position: absolute;
  overflow: hidden;
  right: 0;
  top: 0;
  width: 64px;
  height: 64px;
  color: #fff;
  z-index: 111;
}
.cart-message .image img {
  position: absolute;
  right: 0;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}
.cart-message .message {
  position: relative;
  box-sizing: border-box;
  color: #fff;
  padding: 15px 16px 0 20px;
  margin-right: 64px;
  font-weight: 600;
  line-height: 1.3;
  height: 64px;
  width: 336px;
  cursor: pointer;
}
.msg-show {
  animation:
    cartMessageWidth 3.3s 0.7s cubic-bezier(0.7,0,0.3,1) both,
    jelly 0.7s linear forwards,
    jelly 0.7s 4s linear reverse forwards;
}
.msg-show .message span {
  animation:
    fade 0.4s 1.1s ease forwards,
    fade 0.4s 3.2s ease reverse forwards;
  opacity: 0;
}

.tooltip-tip {
  z-index: 5;
}


/**
 * Superuser
 */
.superuser {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 400px;
  z-index: 110;
  box-shadow: 3px 3px 12px rgba(0,0,0,0.15);
  border-right: 9px solid #393939;
  font-size: 16px;
  font-weight: 400;
  background: #fff;
  padding: 15px 20px;
}

/**
 * Course preview
 */
.course-preview {
  position: fixed;
  bottom: 10px;
  left: 10px;
  width: 400px;
  z-index: 110;
  box-shadow: 3px 3px 12px rgba(0,0,0,0.15);
  border-left: 9px solid #393939;
  font-size: 16px;
  font-weight: 400;
  background: #fff;
  padding: 15px 20px;
}

/**
 * Naked view
 */
body.naked {
  background: #fff;
}
body.naked.admin-menu {
  margin-top: 0;
}
.naked #header,
.naked #sidebar,
.naked #footer,
.naked #bottom,
.naked #menu-admin {
  display: none;
}
.naked #container,
.naked #main {
  float: none;
  max-width: none;
  padding: 0;
  width: auto;
}