/*
    General Settings
    ======================================= */

.wrap h1.wp-heading-inline {
    font-weight: bold;
    margin-bottom: 15px;
}

.theme-demos h5 {
    font-size: 1.25rem;
    margin-top: 0;
}

.theme-demos {
    clear: both;
}

.theme-demos a {
    text-decoration: none;
}

.fade {
    transition: opacity .15s linear;
}

.mr-auto {
    margin-right: auto;
}

.mr-1 {
    margin-right: 0.5rem;
}

.ml-2 {
    margin-left: 1rem !important;
}

.close:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.close {
    color: #000;
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    opacity: .5;
    text-shadow: 0 1px 0 #fff;
}

.theme-demos .button {
    background: #e5e5e5;
    border: none;
    border-radius: 2em;
    box-shadow: none;
    color: #555;
    font-weight: 500;
    height: 35px;
    padding: .2rem 1rem;
    text-transform: uppercase;
}

.theme-demos .button.import,
.theme-demos .button.proceed,
.theme-demos .button.back {
    margin-right: .2rem;
}

.theme-demos .button:hover,
.theme-demos .button:focus {
    background: #333;
    border: none;
    box-shadow: none;
    color: #fff;
}

.theme-demos .button:focus {
    box-shadow: 0 0 0 0.2rem rgba(65, 214, 207, 0.25);
}

.theme-demos .button-primary {
    background: #452e9b;
    border-color: #452e9b;
    box-shadow: none;
    color: #fff;
    text-shadow: none;
}

.theme-demos .button-primary:focus {
    background: #452e9b;
}

button.close {
    background-color: transparent;
    border: 0;
    padding: 0;
    -webkit-appearance: none;
}

.alert {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: .25rem;
    color: #856404;
    margin-bottom: 1rem;
    padding: .75rem 1.25rem;
    position: relative;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.alert-success h3 {
    color: #155724;
}

.alert img {
    margin-right: 0.5rem;
    position: relative;
    top: 5px;
}

.badge {
    border-radius: 10rem;
    color: #999;
    display: inline-block;
    font-size: 75%;
    font-weight: 500;
    line-height: 1;
    padding: .4em .6em;
    text-align: center;
    vertical-align: baseline;
    white-space: nowrap;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-error {
    background: #f8d7da;
    color: #721c24;
}

.badge-premium {
    text-align: left;
    white-space: normal;
}

.badge-demo {
    background: #452e9b;
    color: #fff;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1;
}

.demo-info-col .badge-demo {
    right: 25px;
}

/*
    SVG Icons
    ======================================= */

[class^="demo-awesome-icon-"],
[class*=" demo-awesome-icon-"] {
    display: inline-block;
    height: 1em;
    position: relative;
    vertical-align: middle;
    width: 1em;
    fill: currentColor;
}

.demo-awesome-icon-right::after,
.demo-awesome-icon-left::after {
    background: url(../images/icons.svg#icon-angle-right-view) center center no-repeat;
    background-size: 16px;
    content: '';
    height: 16px;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    position: absolute;
    top: 50%;
    width: 16px;
}

.demo-awesome-icon-left::after {
    background-image: url(../images/icons.svg#icon-angle-left-view);
}

.svg-spin svg {
    animation: spin .7s infinite linear;
    -webkit-animation: spin .7s infinite linear;
    filter: blur(0);
    -webkit-filter: blur(0);
}

.demo-awesome-icon-logo {
    height: 2em;
    margin-right: .5rem;
    width: 2em;
}

/*
    Filters
    ======================================= */

.nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin-bottom: 3rem;
    padding-left: 0;
    -ms-flex-wrap: wrap;
}

.nav a {
    background-color: transparent;
    color: #41d6cf;
    font-weight: bold;
    text-decoration: none;
    -webkit-text-decoration-skip: objects;
}

.nav a:focus {
    box-shadow: 0 0 0 0.2rem rgba(65, 214, 207, 0.25);
}

.nav-link {
    border-radius: 2em;
    display: block;
    padding: .5rem 1rem;
}

.nav-link.active {
    background: #41d6cf;
    color: #fff;
}

.theme-demos .demo {
    transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    transition: all 350ms ease;
    -o-transition: all 350ms ease;
    -webkit-transition: all 350ms ease;
}

.theme-demos .demo.filter-item {
    transform: scale(0);
    -ms-transform: scale(0);
    -webkit-transform: scale(0);
}

/*
    Demo Screenshots
    ======================================= */

.theme-demos .demo {
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    box-sizing: border-box;
    cursor: pointer;
    float: left;
    margin: 0 4% 4% 0;
    position: relative;
    width: 30.6%;
}

.theme-demos .demo:hover,
.theme-demos .demo:focus {
    cursor: pointer;
}

.theme-demos .demo:nth-child(3n) {
    margin-right: 0;
}

.theme-demos .demo .demo-screenshot {
    display: block;
    overflow: hidden;
    position: relative;
    transition: opacity .2s ease-in-out;
    -webkit-backface-visibility: hidden;
}

.theme-demos .demo:hover .demo-screenshot,
.theme-demos .demo:focus .demo-screenshot {
    background: #fff;
}

.theme-demos .demo:hover .demo-screenshot img,
.theme-demos .demo:focus .demo-screenshot img {
    opacity: .4;
}

.theme-demos .demo .demo-screenshot::after {
    content: "";
    display: block;
    padding-top: 66.66666%;
}

.theme-demos .demo .demo-screenshot img {
    height: auto;
    left: 0;
    position: absolute;
    top: 0;
    transition: opacity .2s ease-in-out;
    width: 100%;
}

.theme-demos .demo .more-details {
    background: #23282d;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 2em;
    color: #fff;
    -ms-filter: "alpha(opacity=0)";
    font-size: 1.5rem;
    height: 40px;
    left: 50%;
    line-height: 40px;
    margin-left: -20px;
    margin-top: -20px;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: 50%;
    transition: opacity .1s ease-in-out;
    width: 40px;
    -webkit-font-smoothing: antialiased;
}

.theme-demos .demo:hover .more-details,
.theme-demos .demo:focus .more-details {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    opacity: 1;
}

.theme-demos .demo .more-details::after {
    background: url(../images/icons.svg#icon-zoom-view) center center no-repeat;
    background-size: 18px;
    content: '';
    height: 18px;
    left: 50%;
    margin-left: -9px;
    margin-top: -9px;
    position: absolute;
    top: 50%;
    width: 18px;
}

.theme-demos .demo .demo-name {
    background: #fff;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
    font-size: 15px;
    font-weight: 600;
    height: 26px;
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    padding: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.theme-demos .demo .demo-actions {
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    -ms-filter: "alpha(opacity=0)";
    height: auto;
    opacity: 0;
    padding: 10px 15px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transition: opacity .1s ease-in-out;
}

.theme-demos .demo:hover .demo-actions,
.theme-demos .demo:focus .demo-actions {
    -ms-filter: "alpha(opacity=100)";
    opacity: 1;
}

.theme-demos .demo-container {
    position: relative;
}

.demo-info-row {
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    -ms-flex-wrap: wrap;
}

.demo-info-col {
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    width: 100%;
}

.demo-awesome-container {
    height: 100%;
}

.demo-preview-row {
    overflow-x: hidden;
}

.demo-preview-container {
    transition: width 0.3s ease;
    -moz-transition: width 0.3s ease;
    -o-transition: width 0.3s ease;
    -webkit-transition: width 0.3s ease;
}

.demo-required-plugins {
    transition: margin 0.3s ease;
    -moz-transition: margin 0.3s ease;
    -o-transition: margin 0.3s ease;
    -webkit-transition: margin 0.3s ease;
}

.collapsed {
    display: none;
}

/*
    Pop Ups
    ======================================= */

.modal {
    bottom: 0;
    display: none;
    left: 0;
    outline: 0;
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1050;
}

.modal-preview {
    top: 32px;
}

.modal-preview .modal-lg {
    margin: 0 0 0 160px;
    max-width: 100%;
}

body.folded .modal-preview .modal-lg {
    margin-left: 35px;
}

.modal-preview iframe {
    bottom: 0;
    height: 100%;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal.fade .modal-dialog {
    transform: translate(0, -25%);
    -webkit-transform: translate(0, -25%);
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out, -webkit-transform .3s ease-out;
}

.modal.show .modal-dialog {
    transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
}

.modal-dialog {
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    margin: .5rem;
    min-height: calc(100% - (.5rem * 2));
    pointer-events: none;
    position: relative;
    width: auto;
}

.modal-preview .modal-dialog {
    height: 100%;
}

.modal-preview .modal-content {
    border-radius: 0;
    height: 100% !important;
}

.modal-content {
    background-clip: padding-box;
    background-color: #fff;
    border-radius: .3rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    -ms-flex-direction: column;
    outline: 0;
    pointer-events: auto;
    position: relative;
    width: 100%;
}

.modal-header {
    align-items: flex-start;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem;
}

.modal-body {
    flex: 1 1 auto;
    font-size: .9rem;
    padding: 1rem;
    position: relative;
    -ms-flex: 1 1 auto;
}

.modal-preview .modal-body {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 63px;
}

.modal-footer {
    align-items: center;
    border-top: 1px solid #e9ecef;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
}

.modal-title {
    line-height: 1.5;
    margin-bottom: 0;
}

.modal-header .close {
    margin: -1rem -1rem -1rem auto;
    padding: 1rem;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: .5;
}

.modal-backdrop {
    background-color: #000;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1040;
}

.hide {
    display: none;
}

.required-plugins-text,
.required-premium-text {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;

}

.required-plugins li {
    border-bottom: 1px solid #e9ecef;
    margin: 0;
    padding-bottom: 1rem;
    padding-top: 1rem;
    position: relative;
}

.required-plugins li:first-child {
    border-top: 1px solid #e9ecef;
}

.required-plugins strong,
.required-plugins .button {
    align-self: center;
    -ms-flex-item-align: center;
}

.required-plugins .button {
    margin-top: -17.5px;
    position: absolute;
    right: 0;
    top: 50%;
}

.spinner-loader {
    height: 20px;
    margin: 2rem 0;
    position: relative;
    text-align: center;
}

.spinner-loader::after {
    animation: spin .7s infinite linear;
    -webkit-animation: spin .7s infinite linear;
    background: url(../images/icons.svg#icon-loader-view) center center no-repeat;
    background-size: 20px;
    content: '';
    filter: blur(0);
    -webkit-filter: blur(0);
    height: 20px;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    position: absolute;
    top: 50%;
    width: 20px;
}

.loader {
    background: #fff;
    background: url(../images/loader.png), -o-radial-gradient(circle, #fff, #eff2f4);
    background: url(../images/loader.png), radial-gradient(circle, #fff, #eff2f4);
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    margin: 0;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #ddd;
}

::-webkit-scrollbar-thumb {
    background: #aaa;
}

::-webkit-scrollbar-thumb:hover {
    background: #777;
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
    }
}

/*
    Responsive Dynamic Definitions
    ======================================= */

/*
	Min-Width 1640px
	--------------------------------------- */

@media (min-width: 1640px) {
    .theme-demos .demo {
        margin: 0 3% 3% 0;
        width: 22.7%;
    }

    .theme-demos .demo:nth-child(3n) {
        margin-right: 3%;
    }

    .theme-demos .demo:nth-child(4n) {
        margin-right: 0;
    }
}

/*
	Max-Width 1120px
	--------------------------------------- */

@media (max-width: 1120px) {
    .theme-demos .demo {
        margin-right: 0;
        width: 47.5%;
    }

    .theme-demos .demo:nth-child(odd) {
        margin-right: 5%;
    }

    .theme-demos .demo:nth-child(even) {
        margin-right: 0;
    }

    .demo-info-row img {
        max-width: 100%;
    }
}

/*
	Min-Width 992px
	--------------------------------------- */

@media (min-width: 992px) {
    .collapsed {
        display: block;
        margin-right: -27%;
    }
}

/*
	Max-Width 960px
	--------------------------------------- */

@media only screen and (max-width: 960px) {
    .modal-preview .modal-lg {
        margin-left: 36px;
    }
}

/*
	Max-Width 850px
	--------------------------------------- */

@media (max-width: 850px) {
    .modal-preview iframe,
    .demo-preview-container {
        height: 500px;
    }

    .demo-required-plugins {
        padding-top: 1rem;
    }
}

/*
	Max-Width 782px
	--------------------------------------- */

@media (max-width: 782px) {
    .demo:hover .demo-actions,
    .demo:focus .demo-actions {
        display: block;
    }

    .theme-demos .button {
        font-size: unset;
        line-height: 2;
        margin-bottom: 0;
        padding: .2rem 1rem;
    }

    .modal-preview .modal-lg {
        margin-left: 0;
    }

    .modal-preview {
        top: 46px;
    }
}

/*
	Min-Width 576px
	--------------------------------------- */

@media (min-width: 576px) {
    .modal-dialog {
        margin: 1.75rem auto;
        max-width: 500px;
        min-height: calc(100% - (1.75rem * 2));
    }
}

/*
	Max-Width 480px
	--------------------------------------- */

@media (max-width: 480px) {
    .theme-demos .demo {
        margin-right: 0;
        width: 100%;
    }
}

/*
	Min-Width 1120px
	--------------------------------------- */

@media (min-width: 1120px) {
    .modal-lg {
        max-width: 880px;
    }
}

/*
	Max-Width 1640px
	--------------------------------------- */

@media (max-width: 1640px) {
    .demo-info-row img {
        max-width: 100%;
    }
}

/*
	Min-Width 1640px
	--------------------------------------- */

@media (min-width: 1640px) {
    .modal-lg {
        max-width: 1300px;
    }

    .demo-info-row img {
        max-width: 880px;
    }
}

/*
	Min-Width 850px
	--------------------------------------- */

@media (min-width: 850px) {
    .demo-info-col {
        flex-basis: 0;
        flex-grow: 1;
        max-width: 100%;
        -ms-flex-preferred-size: 0;
        -ms-flex-positive: 1;
    }

    .demo-required-plugins {
        max-width: 25%;
    }
}

/*
	IE Fixes
	--------------------------------------- */

@media all and (-ms-high-contrast: none) {
    .demo-info-row .demo-screenshot-container img {
        width: 100%;
    }
}