html,
body {
    height: 100%;
    width: 100%;
}

body {
    margin: 0;
    background: #f7f7f7;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}


.main-content {
    padding: 3vh 3vw;
    min-height: calc(100vh - 70px);
    transition: all 0.3s;
}

.main-hero {
    width: 99vw;
    height: 100%;
    min-width: 98vw;
    min-height: 100vh;
    position: relative;
}

.main-hero::after,
.main-hero::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.main-hero::before {
    background-size: cover;
    z-index: -2;
    opacity: 1;
}

.main-hero::after {
    background-color: #9800FF;
    z-index: -1;
    opacity: 0.4;
}

blockquote .fa-quote-left {
    color: #0400ff;
    margin-right: 12px;
    float: left;
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #333;
}

/* Font Awesome Suppliment */

.fa-xs {
    font-size: .75em
}

.fa-sm {
    font-size: .875em
}

.fa-1x {
    font-size: 1em
}

.fa-2x {
    font-size: 2em
}

.fa-3x {
    font-size: 3em
}

.fa-4x {
    font-size: 4em
}

.fa-5x {
    font-size: 5em
}

.fa-6x {
    font-size: 6em
}

.fa-7x {
    font-size: 7em
}

.fa-8x {
    font-size: 8em
}

.fa-9x {
    font-size: 9em
}

.fa-10x {
    font-size: 10em
}

.fa-fw {
    text-align: center;
    width: 1.25em
}

.fa-ul {
    list-style-type: none;
    margin-left: 2.5em;
    padding-left: 0
}

.fa-ul>li {
    position: relative
}

.fa-li {
    left: -2em;
    position: absolute;
    text-align: center;
    width: 2em;
    line-height: inherit
}

.fa-spin {
    animation: fa-spin 2s infinite linear
}

.fa-pulse {
    animation: fa-spin 1s infinite steps(8)
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(1turn)
    }
}

.fa-rotate-90 {
    transform: rotate(90deg)
}

.fa-rotate-180 {
    transform: rotate(180deg)
}

.fa-rotate-270 {
    transform: rotate(270deg)
}

.fa-flip-horizontal {
    transform: scaleX(-1)
}

.fa-flip-vertical {
    transform: scaleY(-1)
}

.fa-flip-both,
.fa-flip-horizontal.fa-flip-vertical {
    transform: scale(-1)
}

:root .fa-flip-both,
:root .fa-flip-horizontal,
:root .fa-flip-vertical,
:root .fa-rotate-90,
:root .fa-rotate-180,
:root .fa-rotate-270 {
    filter: none
}

.fa-stack {
    display: inline-block;
    height: 2em;
    line-height: 2em;
    position: relative;
    vertical-align: middle;
    width: 2.5em
}

/* Font Awesome */


.brand-color-1-bg {
    background-color: #0400ff;
}

.brand-color-2-bg {
    background-color: #fff;
}

.brand-color-1-text {
    color: #0400ff;
}

.brand-color-2-text {
    color: #fff;
}

.ripple {
    position: relative;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
}

.ripple:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #000 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .5s, opacity 1s;
}

.ripple:active:after {
    transform: scale(0, 0);
    opacity: .2;
    transition: 0s;
}

.dismiss {
    width: 35px;
    height: 35px;
    position: absolute;
    /* top right corner of the sidebar */
    top: 10px;
    right: 10px;
}

.overlay {
    display: none;
    position: fixed;
    /* full screen */
    width: 100vw;
    height: 100vh;
    /* transparent black */
    background: rgba(0, 0, 0, 0.7);
    /* middle layer, i.e. appears below the sidebar */
    z-index: 998;
    opacity: 0;
    /* animate the transition */
    transition: all 0.5s ease-in-out;
}

/* display .overlay when it has the .active class */
.overlay.active {
    display: block;
    opacity: 1;
}

.form-group {
    margin-top: 1.25rem;
    margin-right: 15px;
    font-size: 1.25rem;
}

.form-row .form-group {
    margin-right: .75rem;
}

.form-group.col-md-6 {
    margin-left: 5px;
    margin-right: 15px;
    flex: 0 0 45%;
}


.form-control {
    border: none;
    background-color: transparent;
    border-bottom: 1px solid #9e9e9e;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    box-sizing: content-box;
    transition: box-shadow .3s, border .3s;
}

.form-control:not([readonly]):focus {
    box-shadow: 0px 1px 0px 0px #26a69a;
    border-bottom: 1px solid #26a69a;
}

.form-control:focus {
    box-shadow: 0 0 0 .15rem rgba(42, 48, 54, 0.25);
}

.form-control-collapse {
    transform: scaleX(0);
    transition: all 1s ease-in-out;
}

.form-control-expand {
    transform: scaleX(1);
}

td .fa {
    margin-right: 6px;
}

textarea[name="body"] {
    height: calc(100vh - 420px);
}

/* 
[contenteditable="true"] {
    width: 90%;
    margin: auto;
    min-height: 300px;
} */

.exceeded-suggested-length,
.exceeded-suggested-length:focus {
    border: 2px solid;
    border-color: rgb(207, 209, 107);
    background-color: rgba(248, 245, 212, 0.75);
    box-shadow: 0 0 0 .15rem rgba(223, 208, 9, 0.25);
}

.btn-success.disabled,
.btn-success:disabled {
    color: rgb(175, 175, 175);
    background-color: #c2ebcb;
    border-color: #c2ebcb;
}

.btn-floating {
    display: inline-block;
    color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 40px;
    height: 40px;
    line-height: 40px;
    padding: 0;
    border-radius: 50%;
    transition: background-color .3s;
    cursor: pointer;
    vertical-align: middle;
}

.btn-floating.btn-large {
    width: 64px;
    height: 56px;
    line-height: 56px;
    padding: 0;
    margin: 3px;
}

.btn-floating.btn-large i,
.btn-floating.btn-large i::before {
    line-height: 56px;
}

.btn-large i,
.btn-large i::before {
    font-size: 1.6rem;
}

.btn-floating i,
.btn-large i::before {
    display: inline-block;
    text-align: center;
    color: #fff;
    /* font-size: 1.6rem; */
    line-height: 40px;
    width: 40px;
}

.table-container {
    width: 94%;
    margin-top: 1rem;
}

.table-container .spinner-border,
.table-container .spinner-grow {
    width: 6rem;
    height: 6rem;
}

.table-container .table-responsive,
.table-container .table-responsive-lg {
    width: 100%;
}

.filter-box {
    width: 100%;
    transform: scaleY(0);
    transition: all 2s ease-in-out;
    transform-origin: left;
    display: none;
    flex-direction: column;
    padding: 1% 2%;
}

.filter-box.expand {
    transform: scaleY(1);
    display: flex;
}

.filter-item {
    width: 320px;
    height: 2em;
    line-height: 2em;
    padding: .2em 5px;
    margin: 6px 12px;
    flex-direction: column;
}

/* animated checkboxes */

[type=checkbox].animated-checkbox+label:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 34px;
    z-index: 0;
    border: 1px solid #222;
    border-radius: 1px;
    margin-top: 2px;
    -webkit-transition: .2s;
    transition: .2s;
}

[type=checkbox].animated-checkbox:checked+label:before {
    top: -15px;
    left: -15px;
    width: 24px;
    height: 44px;
    border-style: solid;
    border-width: 6px;
    border-color: transparent #28a745 #28a745 transparent;
    -webkit-transform: rotate(40deg);
    -ms-transform: rotate(40deg);
    transform: rotate(40deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

input.animated-checkbox[type=radio],
input.animated-checkbox[type=checkbox] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}

[type=radio].animated-checkbox,
[type=checkbox].animated-checkbox {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

[type=radio].animated-checkbox+label,
[type=checkbox].animated-checkbox+label {
    position: relative;
    margin-left: 24px;
    margin-bottom: 42px;
    padding-left: 42px;
    cursor: pointer;
    cursor: pointer;
    display: inline-block;
    height: 36px;
    line-height: 36px;
    font-size: 2em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* end animated checkboxed */

/* grapejs */

.gjs-block {
    width: auto;
    height: auto;
    min-height: auto;
}

.panel__top {
    padding: 0;
    width: 100%;
    display: flex;
    position: initial;
    justify-content: center;
    justify-content: space-between;
}

.panel__basic-actions {
    position: initial;
}

.editor-row {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: nowrap;
    height: 300px;
}

.editor-canvas {
    flex-grow: 1;
}

.panel__right {
    flex-basis: 230px;
    position: relative;
    overflow-y: auto;
}

.panel__switcher {
    position: initial;
}

.user-avatar {
    width: 48px;
}

.btn-flat {
    box-shadow: none;
    background-color: transparent;
    color: #343434;
    cursor: pointer;
    transition: background-color .2s;
}


.btn-flat:focus {
    background-color: rgba(0, 0, 0, 0.1);
}


.fixed-action-btn.direction-left,
.fixed-action-btn.direction-right {
    padding: 0 0 0 15px;
}

.fixed-action-btn {
    position: fixed;
    padding-top: 15px;
    margin-bottom: 0;
    z-index: 997;
}

.fixed-action-btn.top {
    top: 72px;
    /* header + 24px */
}

.fixed-action-btn.bottom {
    bottom: 24px;
}

.fixed-action-btn.right {
    right: 24px;
}

.fixed-action-btn.left {
    left: 24px;
}


.fixed-action-btn.direction-left ul,
.fixed-action-btn.direction-right ul {
    text-align: right;
    right: 64px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 100%;
    left: auto;
    width: 500px;
}

.fixed-action-btn ul {
    left: 0;
    right: 0;
    text-align: center;
    position: absolute;
    bottom: 64px;
    margin: 0;
    visibility: hidden;
}

ul:not(.browser-default) {
    padding-left: 0;
    list-style-type: none;
}

.fixed-action-btn.direction-left ul li,
.fixed-action-btn.direction-right ul li {
    display: inline-block;
    margin: 7.5px 15px 0 0;
}

.fixed-action-btn ul li {
    margin-bottom: 15px;
}

ul:not(.browser-default)>li {
    list-style-type: none;
}

.fixed-action-btn ul a.btn-floating {
    opacity: 0;
}

.fixed-action-btn.active ul {
    visibility: visible;
}

.fixed-action-btn.active ul a.btn-floating {
    transition-property: all;
    transition-timing-function: ease-in-out;
    transition-duration: 1s;
    opacity: 1;
    transform: scale(1) translateY(0px) translateX(0px);
}

.youtube-row {
    margin: 0;
    padding: 0;
    min-height: 300px;
    min-width: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
}

.youtube-player {
    position: relative;
    padding-bottom: 0;
    /* Use 75% for 4:3 videos */
    height: 360px;
    overflow: hidden;
    max-width: 640px;
    background: transparent;
    margin: 5px;
    width: 100%;
}

.youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: transparent;
}

.youtube-player img {
    bottom: 0;
    display: block;
    left: 0;
    margin: auto;
    max-width: 100%;
    width: 100%;
    max-width: 90vw;
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    height: auto;
    cursor: pointer;
    transition: .4s all;
}

.youtube-player img:hover {
    -webkit-filter: brightness(75%);
}

.youtube-player .play {
    height: 72px;
    width: 72px;
    left: 50%;
    top: 50%;
    margin-left: -36px;
    margin-top: -36px;
    position: absolute;
    background: url(/img/video-play.png) no-repeat;
    cursor: pointer;
}


@media (max-width: 768px) {

    /* 80px and its content aligned to centre. Pushing it off the screen with the
       negative left margin
    */
    .sidebar.active {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important;
    }


    /* Reappearing the sidebar on toggle button click */
    .sidebar {
        margin-left: 0;
    }


    /* Toggling the sidebar header content, 
       hide the big heading [h3] and showing the small heading [strong] and vice versa
    */
    .sidebar .sidebar-header strong {
        display: none;
    }

    .sidebar.active .sidebar-header h3 {
        display: none;
    }

    .sidebar.active .sidebar-header strong {
        display: block;
    }

    /* Downsize the navigation links font size */
    .sidebar.active ul li a {
        padding: 20px 10px;
        font-size: 0.85em;
    }

    .sidebar.active ul li a i {
        margin-right: 0;
        display: block;
        font-size: 1.8em;
        margin-bottom: 5px;
    }

    /* Adjust the dropdown links padding*/
    .sidebar.active ul ul a {
        padding: 10px !important;
    }

    /* Changing the arrow position to bottom center position, 
      translateX(50%) works with right: 50% 
      to accurately  center the arrow */
    .dropdown-toggle::after {
        top: auto;
        bottom: 10px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }
}


.rotator:hover {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
}