@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');

/* Preloader */
#loading {
    opacity: 1;
}
#size-check {
    display: none;
}

#preloader {
    background: #fff url("anim_imgs/preloader/ajax-loader.gif") center no-repeat;
    -webkit-background-size: 80px;
    background-size: 80px;
    height: 80px;
    left: 50%;
    margin: -100px 0 0 -40px;
    position: absolute;
    top: 50%;
    width: 80px;
}

#tooLong, #sizeCheckText {
    font-family: Montserrat, sans-serif;
    left: 0;
    position: absolute;
    text-align: center;
    top: 48%;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
}

#sizeCheckText {
    top:40%;
}

#tooLong h3, #sizeCheckText h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
}

#tooLong h5, #siezCheckText h3 {
    font-family: Montserrat, sans-serif;
    font-size: 1.125rem;
    line-height: 1.5;
}



/*
 * ExtJS reconfigured
 */
.x-panel-default,
.x-window-body-default,
.femhub-window-embedded {
    border: none !important;
/*  background-color: transparent !important;*/
    overflow: visible !important;
    position: relative !important;
}

.x-femhub-course-body .x-window-item {
    margin-right: -15px;
    margin-left: -15px;
    width: auto !important;
}

/* This class is used to reveal elements after course levels are loaded */
.ingame {
    display: none;
}

.hero {
    margin-bottom: 200px;
}

.hero-wrapper {
    padding: 50px 15px;
}

.hero-image {
    padding: 25px 0;
}

.hero-image img {
    height: auto;
    padding: 0 50px;
    width: 100%;
}

.hero-title {
    font-family: Montserrat, sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2222;
    margin-bottom: 1.875rem;
    color: #333146;
}

.hero-lead {
    font-size: 1.5rem;
    font-family: Montserrat, sans-serif;
    line-height: 1.5;
}

/* TODO: These two definitions are dangerous but seem like the only way to prevent x-masks on startup 
body>.x-mask {
  display: none !important;
}
body > .x-mask-msg.x-layer.x-mask-msg-default.x-border-box {
    display: none !important;
}*/

body > .x-mask + .x-mask {
    display: none !important;
}

.femhub-window-embedded {
    background: none !important;
    position: relative !important;
    overflow: visible !important;
}

.x-femhub-course-body {
    z-index: 2;
    background: transparent !important;
    border: 0 solid rgba(255, 255, 255, 0) !important;
    overflow: visible !important;
}

.x-femhub-course-body * {
    background-color: transparent !important;
    border-width: 0 !important;
}

.femhub-notification {
    background: #fff !important;
    border-width: 0 !important;
    padding: 10px !important;
    background-color: #E3EFF4;
    opacity: 0.94;
    background-image: -webkit-gradient(linear, left bottom, left top, from(#DEE8F0), to(#FFFFFF));
    background-image: linear-gradient(0deg, #DEE8F0, #FFFFFF);
    -webkit-box-shadow: 0 0 4px 2px #777;
    box-shadow: 0 0 4px 2px #777;
}
/**/

/*
 * HOC related classes
 */
.hoc-unit {
    padding: 20px 0 0;
    position: relative;
    overflow-x: visible;
}

.hoc-course {
    overflow: visible;
    position: relative;
    min-width: 1000px;
}

/*
 * Course expander
 */

.course-expander-shortcut {
    background-color: #fff !important;
    box-shadow: 0 7px 17px 0 rgba(0, 0, 0, .1);
    cursor: pointer;
    float: left;
    width: calc(50% - 30px);
    height: 150px;
    margin: 0 15px 30px;
    overflow: hidden;
    padding: 20px 30px 40px 180px;
    position: relative;
    top: auto !important;
    left: auto !important;
    -webkit-transition:
        -webkit-box-shadow 0.3s ease,
        -webkit-transform 0.3s ease;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    text-align: left;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.course-expander-shortcut.status-locked {
    filter: grayscale(90%) opacity(0.6);
}

.course-expander-shortcut:hover {
    box-shadow: 0 7px 17px 0 rgba(0, 0, 0, .25);
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
}

.course-expander-description {
    color: #333;
    font-size: 18px;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    display: inline;
    line-height: 1.5;
    text-align: left;
}

.course-expander-text {
    color: #fff;
    display: block;
    font-family: Montserrat, sans-serif;
    font-size: 70px;
    font-weight: bold;
    left: 0;
    line-height: 150px;
    margin: 0;
    opacity: 1;
    padding: 0;
    position: absolute;
    text-align: center;
    text-shadow: 0 0 50px rgba(0,0,0,0.3);
    top: 0;
    transition: all 0.3s ease;
    width: 150px;
}

.course-expander-shortcut:hover .course-expander-text {
    font-size: 24px;
    opacity: 0;
}

/* do not remove !important. They are necessary to override femhub styles */
.course-expander-shortcut .course-expander-shortcut-icon {
    background: #fafbfc;
    float: left;
    height: 160px !important;
    position: absolute;
    top: -5px;
    left: 0;
    width: 150px !important;
    -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.course-expander-shortcut .course-expander-shortcut-icon.course-expander-level-undone {
    opacity: 0.8;
}

.course-expander-shortcut:nth-child(1) .course-expander-shortcut-icon,
.course-expander-shortcut:nth-child(4) .course-expander-shortcut-icon,
.course-expander-shortcut:nth-child(7) .course-expander-shortcut-icon,
.course-expander-shortcut:nth-child(10) .course-expander-shortcut-icon,
.course-expander-shortcut .course-expander-shortcut-icon {
    background-image: linear-gradient(225deg, #68E0CF 0%, #209CFF 100%) !important;
}

.course-expander-shortcut:nth-child(2) .course-expander-shortcut-icon,
.course-expander-shortcut:nth-child(5) .course-expander-shortcut-icon,
.course-expander-shortcut:nth-child(8) .course-expander-shortcut-icon {
    background-image: linear-gradient(225deg, #ffc2d0 0%, #8785ff 100%) !important;
}

.course-expander-shortcut:nth-child(3) .course-expander-shortcut-icon,
.course-expander-shortcut:nth-child(6) .course-expander-shortcut-icon,
.course-expander-shortcut:nth-child(9) .course-expander-shortcut-icon {
    background-image: linear-gradient(225deg, #FFC796 0%, #FF6B95 100%) !important;
}

.course-expander-shortcut:not(.current) .course-expander-shortcut-icon.course-expander-level-undone {
    background-image: linear-gradient(45deg, #a6a6a6 0%, #e0e0e0 100%) !important;
}

.course-expander-shortcut .course-status {
    content: '';
    width: 150px;
    height: 150px;
    position: absolute;
    background: transparent url("anim_imgs/icon-play.png") center no-repeat;
    background-size: 100px;
    transition: all 0.3s ease;
    opacity: 0;
    left: 0;
    mix-blend-mode: color-burn;
    top: 5px;
    margin: 0;
    -webkit-transform: none;
    transform: none;
}

.course-expander-shortcut:hover .course-status {
    opacity: 1;
}

.course-expander-shortcut .course-status.course-status-done {
    background-image: url("anim_imgs/icon-done.png");
    opacity: 1;
}

.course-expander-shortcut .course-thumbnail {
    display: block;
    position: absolute;
    top: 5px;
    left: 0;
    width: 150px;
    height: 150px;
    border-width: 0px !important;
    border-style: solid !important;
    border-color: rgba(255, 255, 255, 0.9);
}

.textStart {
    bottom: 20px;
    color: #333146;
    display: inline-block;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 700;
    right: 30px;
    position: absolute;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    top: auto;
}

/*.course-expander-shortcut .course-status-locked {*/
/*    -webkit-transition: opacity 0.5s ease, transform 0.5s ease;*/
/*    transition: opacity 0.5s ease, transform 0.5s ease;*/
/*    -webkit-transform: scale3d(1, 1, 1);*/
/*    transform: scale3d(1, 1, 1);*/
/*    opacity: 0.8;*/
/*}*/

/*.course-expander-shortcut:hover .course-status-locked {*/
/*    !*-webkit-transform: scale3d(1.5, 1.5, 1);*!*/
/*    !*transform: scale3d(1.5, 1.5, 1);*!*/
/*    opacity: 1;*/
/*}*/

/*.course-status-done {*/
/*    background: url("anim_imgs/accept.png");*/
/*}*/

/*.course-status-locked {*/
/*    background: url("anim_imgs/lock.png");*/
/*}*/

.course-points {
    display: none;
}

/*
 * Finished Button
 */

#finishedButton {
    display: none;
}

.home #finishedButton {
    z-index: 3;
    -webkit-transform: none;
    transform: none;
    display: block;
    position: static;
    margin-bottom: 60px;

    width: 100%;
    overflow: visible;
    text-align: center;
}

#finishedButton .finishedButtonText {
    background-color: #ed6639;
    border: 2px solid #ed6639;
    color: #fff;
    display: inline-block;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 700;
    overflow: hidden;
    padding: 22px 40px;
    margin-bottom: 50px;
    position: static;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    -webkit-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, color .15s ease-in-out;
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, color .15s ease-in-out;
    top: 0;
    width: 400px;
}

#finishedButton .finishedButtonText:hover {
    background-color: transparent;
    color: #ed6639;
}
