@charset "utf-8";
@import url(https://fonts.googleapis.com/css?family=Open+Sans:100,400,300,600,700);

.overflow-hidden {
    overflow: hidden !important;
}

.hide {
    display: none;
}

.in-block {
    display: inline-block;
}

.text-center {
    text-align: center;
}

.right {
    float: right
}

.highlight {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.highlight::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: url("../img/bg.jpg") no-repeat 50% 50%;
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
}

.highlight::after {
    display: none;
    content: '';
    width: 31px;
    height: 236px;
    right: 31px;
    top: 50%;
    position: fixed;
    z-index: 9;
    background: rgba(0, 0, 0, 0.05);
    margin: -119px 0 0 0;
    border-radius: 50px;
}

.bg {
    min-height: 5px;
    background: -webkit-linear-gradient(left, #280061, #09ffce);
    background: -o-linear-gradient(left, #280061, #09ffce);
    background: linear-gradient(to right, #280061, #09ffce);
}

.highlight header {
    padding: 25px 30px;
    position: absolute;
    left: 0;
    right: 0;
    font-size: 0.9em;
    z-index: 1;
}

.highlight header a {
    color: white;
    line-height: 33px;
    transition: opacity 0.2s ease;
}

.highlight header a:hover {
    opacity: 0.7;
}

.highlight header a.github {
    margin-left: 30px;
    background: url('../img/github.png') no-repeat;
    background-size: 100%;
    width: 32px;
    height: 32px;
}

.highlight header a.documentation {
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    padding-right: 30px;
    margin-left: 30px;
    display: block;
}

.core {
    width: 100%;
    text-align: center;
    font-family: 'Lato';
    color: white;
    position: relative;
}

.core h1 {
    font-size: 3em;
    font-weight: lighter;
    margin: 0;
    line-height: 1.1em;
    text-shadow: 0 12px 10px rgba(0, 0, 0, 0.24);
}

.core p {
    font-size: 1.1em;
    color: rgba(0, 0, 0, 0.4);
    padding: 0 20px;
    margin-bottom: 10px;
}

.core span {
    font-size: 0.3em;
    font-weight: 400;
    line-height: 1em;
}

.core .examples {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    color: white;
    font-size: 0.6em;
    font-weight: 400;
    letter-spacing: 0.1em;
    display: inline-block;
    margin: 0 auto;
    width: 160px;
    padding: 5px 0 4px 3px;
    border-radius: 3px 0px 0 0;
    border-bottom: 0;
    position: relative;
    line-height: 11px;
}

.core .examples.others {
    border-radius: 0 3px 0 0;
    background: rgba(255, 255, 255, 0.25);
    margin-left: -2px;
}

.core .examples.others:hover {
    background: rgba(255, 255, 255, 0.4);
}

.core .examples:not(.others) {
    cursor: default;
}

.core a {
    display: block;
    border-radius: 3px;
    padding: 10px 20px;
    color: white;
    cursor: pointer;
    transition: 0.2s ease;
    /*background: rgba(255,255,255,0.0);*/
    border: 0;
    font-size: 0.8em;
}

.core a:hover {
    /*background: rgba(255,255,255,0.1);*/
}


.core .buttons {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    padding: 5px;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    min-width: 260px;
    display: block;
    margin-bottom: 20px;
}

.core .buttons li {
    text-align: center;
    white-space: nowrap;
}

.core .buttons .lava {
    display: none;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 50%;
    z-index: 3;
    margin: 0;
    border: 0;
    width: 0;
    padding: 0;
    overflow: hidden;
    text-indent: -9999em;
    background: rgba(255, 255, 255, 0.2);
    transition-property: left, width, opacity;
    transition-duration: .4s;
    transition-timing-function: cubic-bezier(0.35, 0, 0.25, 1);
    pointer-events: none;
    opacity: 0;
}

.buttons li:nth-child(1):hover ~ li.lava {
    left: 5px;
    width: 84px;
    opacity: 1
}

.buttons li:nth-child(2):hover ~ li.lava {
    left: 90px;
    width: 79px;
    opacity: 1
}

.buttons li:nth-child(3):hover ~ li.lava {
    left: 170px;
    width: 85px;
    opacity: 1
}

.buttons li:nth-child(4):hover ~ li.lava {
    left: 257px;
    width: 92px;
    opacity: 1
}

.buttons li:nth-child(5):hover ~ li.lava {
    left: 350px;
    width: 103px;
    opacity: 1
}

.buttons li:nth-child(6):hover ~ li.lava {
    left: 454px;
    width: 121px;
    opacity: 1
}

.tag {
    padding: 2px 5px 2px;
    border-radius: 2px;
    font-size: 11px;
    text-transform: uppercase;
    color: white;
    margin-right: 3px;
}

.tag.red {
    background: #e88a8a;
}

.tag.green {
    background: #76bf73;
}

.notes {
    margin: 30px 0 0 0;
    border: 1px solid #ddd;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 4px;
}

.notes ul {
    padding: 10px 30px 30px 30px;
    border-bottom: 1px solid #ccc;
}

.notes h3 {
    background: #dddddd;
    padding: 5px 20px;
    border: 1px solid #ccc;
    border-left: 0;
}

.notes .header {
    padding: 20px;
    background: #ddd;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    border-radius: 4px 4px 0 0;
}


.features {
    background: #fff;
    padding: 40px 0 50px 0;
    margin-bottom: 50px;
}

.features h4 {
    margin: 0 0 30px;
}

.features h4 span {
    border-radius: 5px;
    padding: 5px 20px 7px;
    margin: 0 0 30px;
    font-size: 14px;
    background: #FFF;
    border: 1px solid #ddd;
}

.features ul {
    display: table;
    width: 100%;
    text-align: center;
}

.features ul li {
    display: inline-block;
    text-align: center;
    width: 33.3%;
    margin-bottom: 20px;
}

.features ul li .icon {
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;
    font-size: 3em;
}

.features ul li:nth-child(1) .icon {
    color: #1E7A98;
}

.features ul li:nth-child(2) .icon {
    color: #209CAA;
}

.features ul li:nth-child(3) .icon {
    color: #21B3B4;
}

.features ul li:nth-child(4) .icon {
    color: #23B8A5;
}

.features ul li:nth-child(5) .icon {
    color: #24BCAF;
}

.features ul li:nth-child(6) .icon {
    color: #28CAC4;
}

.features ul li:nth-child(7) .icon {
    color: #28CA97;
}

.wrap {
    padding: 0 10px;
    max-width: 1020px;
    margin: 0 auto;
}

.panel {
    min-height: 100px;
    background: #fff;
    margin: 30px auto 50px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.panel.attached-bottom {
    margin-bottom: 0;
    border-radius: 4px 4px 0 0;
}

.panel p {
    padding: 10px;
    font-size: 14px;
}

.panel .panel-footer {
    background: #eee;
    padding-bottom: 40px;
    border: 1px solid #bbb;
    border-top: 0;
    border-radius: 0 0 5px 5px;
}

.panel .panel-footer h3 {
    background: white;
}

.panel .panel-footer > h4 span {
    border-bottom: 1px solid #ddd;
}

.modal {
    display: none;
    margin: 0 auto;
    background: url("../img/modal.png") no-repeat 50% 50%;
    background-size: contain;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
}

.syntaxhighlighter {
    padding: 1px;
}

.syntaxhighlighter .toolbar {
    display: none;
}


.bloco-js-iframe .line:nth-child(1),
.bloco-js-iframe .line:nth-child(2),
.bloco-js-iframe .line:nth-child(6) {
    opacity: 0.3;
}

.iziModal .iziModal-content p {
    margin-bottom: 10px;
}

#modal-welcome, #modal-alert {
    background: rgba(255, 255, 255, 0.1);
}


#modal-iframe {
    border-bottom-color: black !important;
    background: black;
}

.modal-custom header {
    background: #eee;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 3px 3px 0 0;
    width: 100%;
}

.modal-custom header a {
    display: block;
    float: left;
    width: 50%;
    padding: 0;
    text-align: center;
    background: #ddd;
    color: #999;
    height: 65px;
    vertical-align: middle;
    line-height: 65px;
    font-family: 'Lato', arial;
    font-size: 15px;
    transition: all 0.3s ease;
}

.modal-custom header a:not(.active):hover {
    box-shadow: inset 0 -10px 20px -10px #aaa
}

.modal-custom header a.active {
    background: #fff;
    color: #777;
}

.modal-custom .sections {
    overflow: hidden;
}

.modal-custom section {
    padding: 30px;
}

.modal-custom section input:not([type="checkbox"]), .modal-custom section button {
    width: 100%;
    border-radius: 3px;
    border: 1px solid #ddd;
    margin-bottom: 26px;
    padding: 15px;
    font-size: 14px;
}

.modal-custom section button {
    height: 46px;
    padding: 0;
}

.modal-custom section input:focus {
    border-color: #28CA97;
}

.modal-custom section label[for="check"] {
    margin-bottom: 26px;
    font-size: 14px;
    color: #999;
    display: block;
}

.modal-custom section footer {
    overflow: hidden;
}

.modal-custom section button {
    background: #34365d;
    color: white;
    margin: 0;
    border: 0;
    cursor: pointer;
    width: 50%;
    float: left;
}

.modal-custom section button:hover {
    opacity: 0.8;
}

.modal-custom section button:nth-child(1) {
    border-radius: 3px 0 0 3px;
    background: #ec4949;
}

.modal-custom section button:nth-child(2) {
    border-radius: 0 3px 3px 0;
}

.modal-custom .icon-close {
    background: #FFF;
    margin-bottom: 10px;
    position: absolute;
    right: -8px;
    top: -8px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: 0;
    color: #dd0c0c;
    cursor: pointer;
}

.modal-custom .icon-close:hover, .modal-custom .icon-close:focus {
    color: black;
}

.modal-custom.hasScroll .icon-close {
    display: none;
}

.iziModal .iziModal-header-title {
    font-family: 'Lato', arial;
    font-weight: 500;
}


.cd-section {
    background: #F0F2F1;
}


/* No Touch devices */
.cd-nav-trigger {
    display: none;
}

.no-touch #cd-vertical-nav {
    position: fixed;
    right: 0;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 10;
    padding-right: 10px;
}

.no-touch #cd-vertical-nav li {
    text-align: right;
}

.no-touch #cd-vertical-nav a {
    display: inline-block;
    /* prevent weird movements on hover when you use a CSS3 transformation - webkit browsers */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.no-touch #cd-vertical-nav a:after {
    content: "";
    display: table;
    clear: both;
}

.no-touch #cd-vertical-nav a span {
    float: right;
    display: inline-block;
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    -ms-transform: scale(0.6);
    -o-transform: scale(0.6);
    transform: scale(0.6);
}

.no-touch #cd-vertical-nav a:hover span {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.no-touch #cd-vertical-nav a:hover span.cd-dot {
    background: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.no-touch #cd-vertical-nav a:hover .cd-label {
    opacity: 1;
}

.no-touch #cd-vertical-nav a.is-selected .cd-dot {
    background-color: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transform-origin: 50% 50%;
}

.no-touch #cd-vertical-nav .cd-dot {
    position: relative;
    /* we set a top value in order to align the dot with the label. If you change label's font, you may need to change this top value*/
    top: 4px;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
    transition: transform 0.2s, background-color 0.2s;
    transform-origin: 50% 50%;
}

.no-touch #cd-vertical-nav .cd-label {
    position: relative;
    margin-right: 10px;
    padding: .1em .5em;
    font-size: 14px;
    font-size: 0.875rem;
    -webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
    -moz-transition: -moz-transform 0.2s, opacity 0.2s;
    transition: transform 0.2s, opacity 0.2s;
    opacity: 0;
    -webkit-transform-origin: 100% 50%;
    -moz-transform-origin: 100% 50%;
    -ms-transform-origin: 100% 50%;
    -o-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
    font-family: 'Lato';
    font-weight: 400;
    color: #555;
}

.cd-img-replace {
    display: inline-block;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}

.cd-nav-trigger {
    display: none;
}

/* Touch devices */
.touch .cd-nav-trigger {
    display: block;
    z-index: 10;
    position: fixed;
    bottom: 10px;
    right: 10px;
    height: 39px;
    width: 39px;
    border-radius: 0.25em;
    background: rgba(0, 0, 0, 0.4);
}

.touch .cd-nav-trigger span {
    position: absolute;
    height: 4px;
    width: 4px;
    background-color: #fff;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.touch .cd-nav-trigger span::before, .touch .cd-nav-trigger span::after {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    background-color: inherit;
    border-radius: inherit;
}

.touch .cd-nav-trigger span::before {
    top: -9px;
}

.touch .cd-nav-trigger span::after {
    bottom: -9px;
}


.touch #cd-vertical-nav {
    position: fixed;
    z-index: 1;
    right: 10px;
    bottom: 10px;
    width: 90%;
    max-width: 378px;
    max-height: 90%;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    -webkit-transform-origin: right bottom;
    -moz-transform-origin: right bottom;
    -ms-transform-origin: right bottom;
    -o-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    transition-duration: 0.2s;
    border-radius: 0.25em;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9;
}

.touch #cd-vertical-nav a {
    display: block;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #989898;
}

.touch #cd-vertical-nav a span:first-child {
    display: none;
}

.touch #cd-vertical-nav a.is-selected span:last-child {
    color: #fff;
}

.touch #cd-vertical-nav.open {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.touch #cd-vertical-nav.open + .cd-nav-trigger {
    background-color: transparent;
}

.touch #cd-vertical-nav.open + .cd-nav-trigger span {
    background-color: rgba(62, 57, 71, 0);
}

.touch #cd-vertical-nav.open + .cd-nav-trigger span::before, .touch #cd-vertical-nav.open + .cd-nav-trigger span::after {
    background-color: #555;
    height: 3px;
    width: 20px;
    border-radius: 0;
    left: -8px;
}

.touch #cd-vertical-nav.open + .cd-nav-trigger span::before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 1px;
}

.touch #cd-vertical-nav.open + .cd-nav-trigger span::after {
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
    bottom: 0;
}

.touch #cd-vertical-nav li:last-child a {
    border-bottom: none;
}

@media only screen and (min-width: 768px) {

    .wrap {
        padding: 0 20px;
    }

    table td {
        padding: 10px 20px;
    }

    .core {
        position: absolute;
        top: 50%;
        left: 0;
        margin-top: -140px;
    }

    .core .buttons .lava {
        display: block;
    }

    .touch .cd-nav-trigger, .touch #cd-vertical-nav {
        bottom: 40px;
    }

    .no-touch #cd-vertical-nav {
        right: 40px;
        padding: 0;
    }

    .highlight::after, .modal, .buttons .lava {
        display: block;
    }

    .core h1 {
        font-size: 3em;
    }

    .core p {
        padding: 0;
        margin-bottom: 25px;
        font-weight: 400;
    }

    .scrollToTop {
        right: 0;
        left: auto;
        bottom: 0;
        color: #1F919B;
    }

    .core .buttons {
        max-width: none;
        display: inline-block;
    }

    .core .buttons li {
        display: inline-block;
        min-width: auto;
    }

    .features ul li {
        display: table-cell;
        text-align: center;
        width: 16%;
    }


}


.no-touch .first-section #cd-vertical-nav .cd-label {
    color: #fff;
}

@-webkit-keyframes wobble {
    from {
        -webkit-transform: none;
        transform: none;
    }

    15% {
        -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
        transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
    }

    30% {
        -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
        transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
    }

    45% {
        -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
        transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
    }

    60% {
        -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
        transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
    }

    75% {
        -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
        transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
    }

    to {
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes wobble {
    from {
        -webkit-transform: none;
        transform: none;
    }

    15% {
        -webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
        transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
    }

    30% {
        -webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
        transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
    }

    45% {
        -webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
        transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
    }

    60% {
        -webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
        transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
    }

    75% {
        -webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
        transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
    }

    to {
        -webkit-transform: none;
        transform: none;
    }
}

.wobble {
    -webkit-animation-name: wobble;
    animation-name: wobble;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}


@-webkit-keyframes shake {
    from, to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    10%, 30%, 50%, 70%, 90% {
        -webkit-transform: translate3d(-10px, 0, 0);
        transform: translate3d(-10px, 0, 0);
    }

    20%, 40%, 60%, 80% {
        -webkit-transform: translate3d(10px, 0, 0);
        transform: translate3d(10px, 0, 0);
    }
}

@keyframes shake {
    from, to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    10%, 30%, 50%, 70%, 90% {
        -webkit-transform: translate3d(-10px, 0, 0);
        transform: translate3d(-10px, 0, 0);
    }

    20%, 40%, 60%, 80% {
        -webkit-transform: translate3d(10px, 0, 0);
        transform: translate3d(10px, 0, 0);
    }
}

.shake {
    -webkit-animation-name: shake;
    animation-name: shake;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}


@media only screen and (max-width: 768px) {
    .core {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        top: 0;
        margin: 0;
    }

    .core .examples {
        width: 125px;
    }

    .highlight header {
        padding: 15px 15px 0 0;
    }

    .highlight header a {
        line-height: 23px;
    }

    .highlight header a.github {
        margin-left: 20px;
        width: 22px;
        height: 22px;
    }

    .highlight header a.documentation {
        padding-right: 15px;
        margin-left: 15px;
    }
}

@media only screen and (max-width: 560px) {
    .tweets .twitter-tweet {
        float: none;
        width: 100% !important;
        padding: 0;
    }
}

@media only screen and (max-width: 350px) {
    .core h1 {
        font-size: 2.5em;
    }

    .core p {
        font-size: 1em;
        color: rgb(0, 0, 0);
    }
}

@media only screen and (max-height: 530px) {
    .highlight header {
        display: none;
    }
}


.touch .highlight::after, .touch .scrollToTop {
    display: none;
}