/*
Theme Name: Magine
Theme URI: https://1.envato.market/1k3gD
Description: WordPress Theme
Author: Egemenerd
Author URI: https://1.envato.market/Lq1D0
Version: 1.4.1
License: http://themeforest.net/
License URI: http://themeforest.net/licenses
Tags: custom-menu,featured-images
Text Domain: magine
*/

/* ---------------------- 
Stylesheet Guide
-------------------------

GENERAL STYLES
FORM FIELDS
PAGE STRUCTURE
SLIDING PANEL
BLOG
FULLSCREEN SEARCH
POST NAVIGATION
RELATED POSTS
404
AUTHOR
COMMENTS
CARDS
FOOTER
WIDGETS
CONTACT FORM 7
WORDPRESS
GUTENBERG
ELEMENTOR
BOOTSTRAP OVERWRITES
MASONRY
MASONRY MEDIA QUERIES
MEDIA QUERIES

*/

/* ================= GENERAL STYLES ================== */

html {
    font-size: 16px;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', sans-serif;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    font-variant-ligatures: no-common-ligatures;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.7;
    color: #344055;
    background: #fff;
}

p {
    margin-top: 0;
    margin-bottom: 2rem;
    line-height: 1.7;
}

a {
    color: #0073aa;
    transition: color 0.2s ease-in-out;
    text-decoration: none;
}

a:hover {
    color: #202c39;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.5;
    color: #202c39;
}

.highlight {
    color: #0073aa;
}

.no-margin {
    margin: 0px !important;
}

.no-margin-top {
    margin-top: 0px !important;
}

.no-margin-bottom {
    margin-top: 0px !important;
}

h1,
.h1 {
    font-size: 2.3rem;
}

h2,
.h2 {
    font-size: 2rem;
}

h3,
.h3 {
    font-size: 1.7rem;
}

h4,
.h4 {
    font-size: 1.55rem;
}

h5,
.h5 {
    font-size: 1.4rem;
}

h6,
.h6 {
    font-size: 1.15rem;
}

.title-with-border {
    position: relative;
    padding: 0px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.title-with-border span {
    background: #fff;
    padding-right: 1rem;
}

.title-with-border a {
    padding-left: 1rem;
    background: #fff;
    margin-left: auto;
}

.title-with-border a:after {
    font-family: 'Font Awesome 5 Free';
    content: ' \f30b';
    text-indent: 0em;
    opacity: 0;
    font-size: 0;
    visibility: hidden;
    transition-timing-function: ease-in-out;
    transition-duration: 0.2s;
    transition-property: opacity, font-size;
    transition-delay: 0.2s, 0s;
}

.title-with-border a:hover:after {
    opacity: 1;
    font-size: inherit;
    visibility: visible;
}

.elementor-widget-magine-heading {
    z-index: 1;
}

#footer-widgets .title-with-border span {
    background: #fafafa;
}

.title-with-border span:before {
    position: absolute;
    top: 50%;
    left: 0;
    content: "";
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.075);
    z-index: -1;
    transform: translateY(-50%)
}

.lead {
    font-size: 1.15rem;
}

img {
    max-width: 100%;
    height: auto;
    color: transparent;
}

body.magine .elementor-column {
    min-height: 0px;
}

pre {
    background: #fafafa;
    padding: 1rem;
    margin: 2rem 0;
}

dl,
ol,
ul {
    margin-bottom: 2rem;
}

dd {
    margin-bottom: 2rem;
}

hr {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.075);
}

table {
    margin: 2rem 0;
    table-layout: auto;
    /* Prevents HTML tables from becoming too wide */
    width: 100%;
}

table:not([class]) {
    border-collapse: collapse;
}

table:not([class]),
table:not([class]) th,
table:not([class]) td {
    border: 1px solid #ddd;
}

table:not([class]) th,
table:not([class]) td {
    padding: 10px 15px;
}


blockquote {
    border-left: 5px solid rgba(0, 0, 0, 0.075);
    padding: 2.5rem 2rem;
    background: #fafafa;
    margin: 3rem 0;
    font-weight: 700;
}

blockquote p {
    font-weight: 700;
    margin-bottom: 1rem;
}

blockquote p:last-child {
    margin: 0;
}

blockquote cite {
    font-weight: 400;
    font-style: normal;
    font-size: 0.9rem !important;
}

blockquote cite:before {
    content: '\2014 \2009'
}

iframe,
object,
embed,
video {
    max-width: 100%;
}

ol.children,
ul.children {
    font-size: 0.9rem;
}

/* ================= FORM FIELDS ================== */

textarea,
textarea.form-control,
input.form-control,
input[type=text],
input[type=password],
input[type=email],
input[type=number],
input[type=tel],
input[type=date],
[type=text].form-control,
[type=password].form-control,
[type=email].form-control,
[type=tel].form-control,
[contenteditable].form-control {
    display: block;
    width: 100%;
    height: auto;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: #344055;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 0.0625rem solid rgba(0, 0, 0, 0.1);
    border-radius: 0.125rem;
    box-shadow: none;
    transition: all 0.3s ease-in-out;
}

textarea:focus,
textarea.form-control:focus,
input.form-control:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
input[type=tel]:focus,
[type=text].form-control:focus,
[type=password].form-control:focus,
[type=email].form-control:focus,
[type=tel].form-control:focus,
[type=date].form-control:focus,
[contenteditable].form-control:focus {
    color: #202c39;
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.2);
    outline: 0;
}

textarea[disabled],
textarea[readonly],
textarea.form-control[disabled],
textarea.form-control[readonly],
input.form-control[disabled],
input.form-control[readonly],
input[type=text][disabled],
input[type=text][readonly],
input[type=password][disabled],
input[type=password][readonly],
input[type=email][disabled],
input[type=email][readonly],
input[type=number][disabled],
input[type=number][readonly],
input[type=date][disabled],
input[type=date][readonly],
[type=text].form-control[disabled],
[type=text].form-control[readonly],
[type=password].form-control[disabled],
[type=password].form-control[readonly],
[type=email].form-control[disabled],
[type=email].form-control[readonly],
[type=tel].form-control[disabled],
[type=tel].form-control[readonly],
[contenteditable].form-control[disabled],
[contenteditable].form-control[readonly] {
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: #e9ecef;
    opacity: 1;
}

textarea[disabled],
textarea[disabled]::-webkit-input-placeholder,
textarea.form-control[disabled],
textarea.form-control[disabled]::-webkit-input-placeholder,
input.form-control[disabled],
input.form-control[disabled]::-webkit-input-placeholder,
input[type=text][disabled],
input[type=text][disabled]::-webkit-input-placeholder,
input[type=password][disabled],
input[type=password][disabled]::-webkit-input-placeholder,
input[type=email][disabled],
input[type=email][disabled]::-webkit-input-placeholder,
input[type=number][disabled],
input[type=number][disabled]::-webkit-input-placeholder,
[type=text].form-control[disabled],
[type=text].form-control[disabled]::-webkit-input-placeholder,
[type=password].form-control[disabled],
[type=password].form-control[disabled]::-webkit-input-placeholder,
[type=email].form-control[disabled],
[type=email].form-control[disabled]::-webkit-input-placeholder,
[type=tel].form-control[disabled],
[type=tel].form-control[disabled]::-webkit-input-placeholder,
[type=date].form-control[disabled],
[type=date].form-control[disabled]::-webkit-input-placeholder,
[contenteditable].form-control[disabled],
[contenteditable].form-control[disabled]::-webkit-input-placeholder {
    color: #adb5bd;
}

textarea[disabled],
textarea[disabled]::-ms-input-placeholder,
textarea.form-control[disabled],
textarea.form-control[disabled]::-ms-input-placeholder,
input.form-control[disabled],
input.form-control[disabled]::-ms-input-placeholder,
input[type=text][disabled],
input[type=text][disabled]::-ms-input-placeholder,
input[type=password][disabled],
input[type=password][disabled]::-ms-input-placeholder,
input[type=email][disabled],
input[type=email][disabled]::-ms-input-placeholder,
input[type=number][disabled],
input[type=number][disabled]::-ms-input-placeholder,
[type=text].form-control[disabled],
[type=text].form-control[disabled]::-ms-input-placeholder,
[type=password].form-control[disabled],
[type=password].form-control[disabled]::-ms-input-placeholder,
[type=email].form-control[disabled],
[type=email].form-control[disabled]::-ms-input-placeholder,
[type=tel].form-control[disabled],
[type=tel].form-control[disabled]::-ms-input-placeholder,
[type=date].form-control[disabled],
[type=date].form-control[disabled]::-ms-input-placeholder,
[contenteditable].form-control[disabled],
[contenteditable].form-control[disabled]::-ms-input-placeholder {
    color: #adb5bd;
}

textarea[disabled],
textarea[disabled]::placeholder,
textarea.form-control[disabled],
textarea.form-control[disabled]::placeholder,
input.form-control[disabled],
input.form-control[disabled]::placeholder,
input[type=text][disabled],
input[type=text][disabled]::placeholder,
input[type=password][disabled],
input[type=password][disabled]::placeholder,
input[type=email][disabled],
input[type=email][disabled]::placeholder,
input[type=number][disabled],
input[type=number][disabled]::placeholder,
[type=text].form-control[disabled],
[type=text].form-control[disabled]::placeholder,
[type=password].form-control[disabled],
[type=password].form-control[disabled]::placeholder,
[type=email].form-control[disabled],
[type=email].form-control[disabled]::placeholder,
[type=tel].form-control[disabled],
[type=tel].form-control[disabled]::placeholder,
[type=date].form-control[disabled],
[type=date].form-control[disabled]::-ms-input-placeholder,
[contenteditable].form-control[disabled],
[contenteditable].form-control[disabled]::placeholder {
    color: #adb5bd;
}

textarea::-ms-clear,
textarea.form-control::-ms-clear,
input.form-control::-ms-clear,
input[type=text]::-ms-clear,
input[type=password]::-ms-clear,
input[type=email]::-ms-clear,
input[type=number]::-ms-clear,
[type=text].form-control::-ms-clear,
[type=password].form-control::-ms-clear,
[type=email].form-control::-ms-clear,
[type=tel].form-control::-ms-clear,
[contenteditable].form-control::-ms-clear {
    display: none;
}

input[type="submit"]:not(.btn):not(.slick-arrow),
input[type="button"]:not(.btn):not(.slick-arrow):not(.ed_button),
.button {
    display: inline-block;
    font-weight: 700;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #0073aa;
    border: 0.0625rem solid transparent;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    line-height: 1.7;
    border-radius: 0;
    position: relative;
    transition: all 0.2s ease-in-out;
    box-shadow: none;
    text-transform: uppercase;

}

input[type="submit"]:not(.btn):not(.slick-arrow):focus,
input[type="button"]:not(.btn):not(.slick-arrow):not(.ed_button):focus,
.button:focus {
    outline: 0;
    color: #fff;
    text-decoration: none;
    opacity: 0.85;
}

input[type="submit"]:not(.btn):not(.slick-arrow):hover,
input[type="button"]:not(.btn):not(.slick-arrow):not(.ed_button):hover,
.button:hover,
input[type="submit"]:not(.btn):not(.slick-arrow):active:hover,
input[type="button"]:not(.btn):not(.slick-arrow):not(.ed_button):active:hover,
.button:active:hover {
    color: #fff;
    text-decoration: none;
    opacity: 0.85;
}

input[type="submit"]:not(.btn):not(.slick-arrow):active,
input[type="button"]:not(.btn):not(.slick-arrow):not(.ed_button):active,
.button:active {
    box-shadow: none;
}

/* ================= PAGE STRUCTURE ================== */

#magine-main-wrapper {
    position: relative;
    display: block;
    padding: 80px 0px;
    z-index: 1;
    overflow-x: hidden;
}

.magine-searchlg-wrapper {
    margin-bottom: 60px;
}

.magine_before_footer {
    margin-bottom: 100px;
    display: block;
    position: relative;
}

.magine_after_single_post,
.magine_after_posts {
    margin-top: 3rem;
}

.magine_before_single_post,
.magine_before_posts {
    margin-bottom: 3rem;
}

.magine-image-ad a {
    display: block;
}

#magine-header-menu.sticky-top.stick {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    opacity: 0.9;
}

#magine-header-menu {
    padding: 0;
    z-index: 9;
    background: #0073aa;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.075);
}

#magine-header-menu .navbar-nav {
    width: 100%;
}

#magine-header-menu .navbar-nav .nav-link {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

#magine-header-menu .navbar-nav .nav-item.ml-auto a {
    position: relative;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

#magine-header-menu .navbar-nav .nav-item.ml-auto a:before {
    background: rgba(0, 0, 0, 0.075);
    position: absolute;
    width: 100%;
    height: 2.8rem;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    margin-top: -1.4rem;
    z-index: -1;
    border-radius: 3rem
}

#magine-header {
    background: #0073aa;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.075);
    position: relative;
    z-index: 99
}

.magine-logo {
    width: 220px;
    max-width: 100%;
    height: auto;
    display: block;
}

#magine-header-v1 .magine-logo {
    margin: 0 auto;
}

#magine-header-v3 .magine-logo {
    padding: 1rem 0;
}

#magine-header-v3 #magine-header-menu .navbar-nav > .nav-item:last-child > .nav-link {
    padding-right: 0
}

#magine-header-v3 #magine-header-menu .navbar-nav {
    flex-wrap: wrap
}

.magine_header_banner {
    float: right;
    max-width: 728px;
}

.magine-top-icons {
    display: flex;
    color: #fff;
    font-size: 0.9rem;
    justify-content: flex-end;
}

#magine-main-menu .magine-top-icons {
    padding: 1rem 0;
}

.magine-top-icons.top-left-icons {
    justify-content: flex-start;
}

.magine-top-icons a {
    color: #fff;
}

.magine-top-icon-right div:last-child {
    display: block;
    font-size: 0.8rem;
    line-height: 1.6;
    opacity: 0.7;
}

.magine-top-icon-right div:first-child {
    display: block;
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 700;
    opacity: 0.9;
}

.magine-top-icon {
    display: flex;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(0, 0, 0, 0.075);
}

.magine-top-icon:first-of-type {
    margin-left: 0;
    padding-left: 0;
    border: none;
}

.magine-top-icon-left {
    padding-right: 0.5rem;
}

.magine-top-woo-icon a,
.magine-top-woo-icon a:hover {
    color: #fff;
}

.magine-top-woo-icon a {
    font-size: 16px;
    position: relative;
    width: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 100%;
    background: #005177;
    margin: 0 2px;
}

.magine-top-woo-icon > a > span {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    font-size: 12px;
    font-weight: 700;
    background: #fff;
    line-height: 18px;
    min-width: 18px;
    text-align: center;
    border-radius: 100%;
    z-index: 1;
    color: #0073aa
}

.magine-top-woo-icon a .fas,
.magine-top-woo-icon a .fab {
    transition: transform 0.15s ease-in-out;
    transform: scale(1.0);
}

.magine-top-woo-icon a:hover i {
    transform: scale(1.2);
}

#magine-main-menu .magine-top-woo-icon > a {
    font-size: 14px;
    width: 36px;
    line-height: 36px;
    margin: 0 0 0 4px;
}

.magine-top-woo-icon {
    display: flex;
    align-items: center;
}

#magine-header-menu .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

#magine-header-menu .navbar-nav .nav-link:hover {
    color: #fff;
}

#magine-header-menu .dropdown-menu {
    background-color: #005177;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    border-radius: 0px;
}

#magine-header-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease-in-out;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

#magine-header-menu .dropdown-item:last-child {
    border: none;
}

#magine-header-menu .dropdown-item:hover {
    color: #fff;
}

#magine-main-wrapper.magine-homepage {
    padding-top: 0px !important;
}

#magine-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0);
    z-index: 1
}

#magine-page-title .container {
    position: relative;
    z-index: 2;
}

#magine-page-title {
    background-color: #0073aa;
    padding: 4rem 0;
    position: relative;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: center center;
    text-shadow: 1px 2px 0px rgba(0, 0, 0, 0.2);
}

#magine-page-title h1 {
    margin: 0;
    line-height: 1.2;
    color: #fff;
    font-weight: 900;
}

#magine-page-title .magine-page-subtitle {
    margin: 0.25rem 0 0 0;
    font-size: 1.2rem;
    font-style: normal;
    color: #fff;
    display: block;
    line-height: 1.5;
}

#magine-page-title .magine-page-subtitle p {
    margin: 0.25rem 0 0 0;
}

/* ================= SLIDING PANEL ================== */

.overflow-hidden {
    overflow: hidden;
}

.magine-panel {
    display: none;
    max-width: 100%;
    overflow-y: auto;
    width: 480px;
    background-color: #fff;
    box-shadow: 0 0 10px 0 rgba(1, 1, 1, .1);
}

.magine-panel-inner {
    position: relative;
    padding: 80px 60px;
    min-height: 100%;
}

#magine-overlay {
    position: fixed;
    z-index: 999999999;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    width: 100%;
    height: 100%;
    display: none;
    overflow: hidden !important;
    background: rgba(250, 250, 250, 0.9);
}

.magine-panel-inner .magine-panel-close {
    position: absolute;
    top: 0px;
    right: 60px;
    font-size: 20px;
    line-height: 1;
    color: #fff;
    background: #f5593d;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.magine-panel-inner .magine-panel-close i {
    transition: transform 0.2s ease-in-out;
    transform: scale(1.0);
}

.magine-panel-inner .magine-panel-close:hover i {
    transform: scale(1.2);
}

/* ================= BLOG ================== */

.magine-cardfooter-author,
.magine-cardfooter-date {
    display: inline-block;

}

.magine-cardfooter-author {
    padding-right: 0.6rem;
}

.magine-cardfooter-author img {
    display: inline-block !important;
    border-radius: 100% !important;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 0.25rem;
    margin-top: -2px;
}

.card-small .magine-cardfooter-author img {
    width: 20px;
    height: 20px;
}

.magine-featured-img {
    margin: 0 auto 3rem auto;
    display: block;
    text-align: center;
}

.magine-meta {
    display: flex;
    width: 100%;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.magine-meta > div {
    margin: 0.25rem 0;
}

.magine-meta > div.magine-meta-updated {
    display: block;
    margin-top: 1rem
}

.magine-meta .badge {
    margin-right: 4px;
    margin-bottom: 2px;
}

.magine-cat-widget {
    list-style: none;
    margin: 0;
    padding: 0;
}

.magine-cat-widget li {
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.magine-cat-widget li a {
    display: flex;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.magine-cat-widget li a span {
    transition: all 0.2s ease-in-out;
}

.magine-cat-widget li a span.magine-cat-span2 {
    margin-left: auto;
}

.animate-txt .tmc-posts-bg-img .tmc-posts-card-body {
    transition: all 0.2s ease-in-out;
}

.animate-txt .tmc-posts-bg-img:hover .tmc-posts-card-body {
    margin-bottom: 10px
}

.entry-content p:last-child {
    clear: both;
}

/* ================= FULLSCREEN SEARCH ================== */

#magine-fullscreen-search {
    height: 100%;
    width: 100%;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(250, 250, 250, 0.9);
    z-index: 99999999999;
}

#magine-fullscreen-search-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

#magine-fullscreen-search-content form {
    width: 100%;
    max-width: 800px;
    padding: 40px;
}

#magine-fullscreen-search .input-group {
    -webkit-box-shadow: 0 30px 50px 0 rgba(1, 1, 1, .2);
    box-shadow: 0 30px 50px 0 rgba(1, 1, 1, .2);
}

#magine-close-search {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 9;
    width: 50px;
    height: 50px;
    text-align: center;
    background: #f5593d;
    line-height: 50px;
    border-radius: 100%;
    padding: 0;
    font-size: 1.4rem;
    -webkit-transition: background 0.2s cubic-bezier(0.34, 2, 0.6, 1);
    -moz-transition: background 0.2s cubic-bezier(0.34, 2, 0.6, 1);
    transition: background 0.2s cubic-bezier(0.34, 2, 0.6, 1);
    color: #fff;
    display: block;
}

#magine-close-search .fas {
    -webkit-transition: transform 300ms cubic-bezier(0.34, 2, 0.6, 1);
    -moz-transition: transform 300ms cubic-bezier(0.34, 2, 0.6, 1);
    -o-transition: transform 300ms cubic-bezier(0.34, 2, 0.6, 1);
    -ms-transition: transform 300ms cubic-bezier(0.34, 2, 0.6, 1);
    transition: transform 300ms cubic-bezier(0.34, 2, 0.6, 1);
}

#magine-close-search:hover .fas {
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -moz-transform: scale(1.2);
}

.magine-lg-form .form-control {
    padding: 1.25rem;
    font-size: 1.1rem
}

.magine-lg-form .btn {
    font-size: 1.3rem;
    min-width: 100px
}

/* ================= POST NAVIGATION ================== */

.magine-post-nav-wrapper {
    position: relative;
    display: table;
    width: 100%;
    table-layout: fixed;
    margin-top: 5px;
    background: #fafafa;
}

.magine-post-nav-left-row,
.magine-post-nav-right-row {
    display: table-cell;
    width: 50%;
    vertical-align: middle;
    height: 100%;
}

.magine-post-nav-left-row {
    text-align: left;
}

.magine-post-nav-right-row {
    text-align: right;
}

.magine-post-nav-link {
    padding: 1.5rem 2rem;
    width: 100%;
    height: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    font-weight: 400;
    line-height: 1.6;
}

.magine-post-nav-table > .magine-post-nav {
    position: relative;
    vertical-align: middle;
    padding: 0px;
    background-color: #fafafa;
    height: 100%;
}

.magine-post-nav-right-row .magine-post-nav-link .fas {
    margin: 0 0 0 5px;
    color: #202c39;
}

.magine-post-nav-left-row .magine-post-nav-link .fas {
    margin: 0 5px 0 0;
    color: #202c39;
}

.magine-post-nav {
    color: inherit;
    font-weight: 600;
}

.magine-post-nav:hover {
    color: #0073aa;
}

.magine-post-nav-link span {
    display: block;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    color:#202c39;
}

#magine-share-buttons {
    margin-top: 2.25rem;
    max-width: 1100px
}

/* ================= RELATED POSTS ================== */

#magine-related-posts-wrapper {
    padding: 2.5rem 2rem;
    background: #fafafa;
    position: relative;
    z-index: 1;
    border-top:5px solid rgba(0, 0, 0, 0.075);
}

#magine-related-posts-wrapper .title-with-border span {
    background: #fafafa;
}

.magine-masonry-grid.related-grid {
    margin: 0px -15px;
    margin-bottom: -30px;
}

.magine-masonry-grid .magine-related-post {
    padding: 0px 15px;
    margin-bottom: 30px;
}

.magine-related-post {
    display: flex;
    align-items: center;
}

.magine-related-post-left {
    width: 70px;
}

.magine-related-post-right {
    width: calc(100% - 70px);
}

.magine-related-post-left a,
.magine-related-post-left img {
    border-radius: 100%;
}

.magine-related-post-left a {
    transition: opacity 0.2s ease-in-out;
}

.magine-related-post-left a:hover {
    opacity: 0.8;
}

.magine-related-post-right a {
    color: inherit;
    display: block;
    padding-left: 1rem;
    line-height: 1.5
}

.magine-related-post-right a:hover {
    color: #0073aa;
}

.magine-related-post-right a.magine-related-post-date {
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.magine-related-post-right .magine-related-post-title {
    font-weight: 600;
}

/* ================= 404 ================== */

#magine-404-wrapper {
    display: flex;
    justify-content: center;
    padding: 0px 60px;
    background-color: #fafafa;
    height: 100vh;
    align-items: center;
}

#magine-404-container {
    width: 100%;
    text-align: center;
}

#magine-404-container h1 {
    font-size: 8rem;
    margin: 0 0 1rem 0;
    line-height: 1;
}

#magine-404-container p.magine-404-subtitle {
    font-size: 1.2rem;
    text-transform: none;
    line-height: 1.5;
    margin-bottom: 2rem
}

#magine-404-container .btn {
    border-radius: 80px;
    padding: .75rem 1.75rem;
}

/* ================= AUTHOR ================== */

.magine-author-tabs {
    margin: 3rem 0;
}

.magine-author-tabs .nav-tabs .nav-link {
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
    padding: 1.25rem 1.5rem;
    position: relative;
}

.magine-author-tabs .tab-content {
    background: #fafafa;
    border: none;
    padding: 3rem 2rem;
}

.magine-author-tabs .nav-tabs .nav-link.active,
.magine-author-tabs .nav-tabs .nav-item.show .nav-link {
    background: #fafafa;
    border: none;
}

.magine-author-tabs .nav-tabs .nav-link span,
.magine-author-tabs .nav-tabs .nav-item .nav-link span {
    display: block;
}

.magine-author-tabs .nav-tabs .nav-link span:before,
.magine-author-tabs .nav-tabs .nav-item .nav-link span:before {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 5px;
    background: transparent;
    content: '';
    transition: all 0.2s ease-in-out;
}

.magine-author-tabs .nav-tabs .nav-link.active span:before,
.magine-author-tabs .nav-tabs .nav-item.show .nav-link span:before {
    width: 100%;
    background: rgba(0, 0, 0, 0.075);
}

.magine-author-box {
    display: flex;
    margin: 0;
    padding: 0
}

.magine-author-avatar img {
    border-radius: 100%;
}

.magine-author-meta {
    padding-left: 1.5rem;
}

.magine-author-meta h3 {
    margin-bottom: 0.75rem;
}

.magine-author-meta h3 a {
    color: inherit;
}

.magine-author-meta h3 a:hover {
    color: #0073aa;
}

.magine-author-meta p {
    margin-bottom: 1.5rem;
}

.magine-author-box .magine-author-avatar {
    width: 100px;
}

.magine-author-box .magine-author-meta {
    width: calc(100% - 100px)
}

.magine-author-row {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 1rem 0;
}

.magine-author-row-avatar {
    padding: 0 0 1rem 0;
    width: 150px;
    margin: 0 auto;
}

.magine-author-row-avatar img {
    width: 100%;
    height: auto;
    border-radius: 100%;
}

.magine-author-row-info {
    width: 100%;
    max-width: 900px;
}

#magine-page-title .magine-author-row-info .magine-page-subtitle {
    margin-top: 0.5rem;
}

.magine-top-icons.magine-author-icons {
    justify-content: center;
    margin-top: 1.25rem;
    text-shadow: none;
}

.magine-top-icons.magine-author-box-icons {
    justify-content: flex-start;
    margin: 0;
}

.magine-top-icons.magine-author-box-icons .magine-top-woo-icon a {
    margin: 0 4px 0 0;
    font-size: 14px;
    width: 36px;
    line-height: 36px;
    background: #0073aa;
}

.magine-author-box-btn {
    display: flex;
    justify-content: flex-end;
    margin:2.5rem 0 -1rem 0;
}

.magine-author-box-btn .btn {
    font-size:0.8rem;
    border-radius:50px;
    padding: 0.5rem 1.25rem
}

/* ================= COMMENTS ================== */

#magine-comments-wrapper {
    margin-top: 3rem;
    padding: 3rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.075);
    border-top-width: 5px;
}

.magine_comments_block,
.magine_comment_form {
    position: relative;
    display: block;
}

.magine_comments_block h3.title-with-border {
    margin-bottom: 4rem;
}

.magine_commentlist .comment-respond {
    margin: 0px 0px 40px 0px;
    list-style: none;
    padding: 0;
}

.magine_comment {
    position: relative;
    display: table;
    width: 100%;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    table-layout: fixed;
    border-bottom: 1px solid rgba(0, 0, 0, 0.075);
}

.magine_comment_inner {
    display: table-row;
}

.magine_comment_left,
.magine_comment_right {
    display: table-cell;
    vertical-align: top;
}

.magine_comment_left {
    width: 60px;
}

.magine_comment_left img {
    border-radius: 100%;
    width: 60px;
    height: 60px;
}

.magine_comment_right {
    width: 100%;
}

.magine_comment_right_inner {
    padding-left: 20px;
    position: relative;
}

.magine_comment_right_inner.magine_no_avatar {
    padding: 0px !important;
}

.magine_commentlist,
.magine_comments_block .children {
    margin: 0px;
    padding: 0px;
}

.magine_commentlist {
    margin-top: 50px;
}

.magine_comments_block .children li {
    position: relative;
}

.magine_commentlist .comment > .comment {
    position: relative;
}

.magine_commentlist .comment > .comment .magine_comment {
    padding-left: 60px;
}

.magine_commentlist .comment > .comment:before {
    font-family: 'Font Awesome 5 Free';
    content: "\f3e5";
    text-indent: 0em;
    text-align: center;
    position: absolute;
    top: 20px;
    left: 25px;
    width: 24px;
    height: 24px;
    font-size: 24px;
    margin: 0px;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    z-index: 1;
    color: rgba(0, 0, 0, 0.15);
    font-weight: 700;
}

.magine_comment_text {
    margin: 0px;
    display: block;
    font-style: normal;
}

.magine_cancel {
    float: right;
}

.magine_cancel a,
.magine_cancel a:hover {
    vertical-align: top;
    color: #fff;
    background: #ba324f;
    padding: 5px 10px;
    text-transform: uppercase;
    transition: box-shadow 0.15s ease;
    letter-spacing: 0.025em;
    font-size: 0.8rem;
}

.magine_cancel a:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

#respond form {
    margin-bottom: 0px;
}

p.logged-in-as {
    margin-bottom: 20px;
    margin-top: -20px;
}

.magine-pager.comments-pager {
    margin-top: 40px;
    margin-bottom: 10px;
}

.magine-pager.comments-pager a {
    padding: 10px 15px;
}

.magine-pager .pagination {
    margin-bottom: 0px !important;
}

.magine_comments pre {
    padding: 0px;
}

.magine_comments_rss {
    text-align: right;
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.magine_comments_rss .fa {
    margin-right: 5px;
    font-weight: normal;
}

p.form-submit {
    margin-bottom: 0px;
}

.magine_fn {
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
    font-style: normal;
    line-height: 1;
}

.magine_comment_links {
    display: inline-block;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.075);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    line-height: 1;
}

.magine_comment_links a {
    color: inherit;
}

/* ================= CARDS ================== */

body.magine .card {
    border: 1px solid rgba(0, 0, 0, 0.075);
}

body.magine .card-body {
    padding: 2rem 1.5rem;
}

body.magine .card-footer {
    padding: 1.25rem 1.5rem;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.075);
}

body.magine .card-title,
body.magine .card-title a {
    margin-bottom: 1rem;
    line-height: 1.3;
}

body.magine .card-title a:hover {
    color: #0073aa;
}

.card-body p:last-of-type {
    margin: 0;
}

.magine-card-subtitle {
    margin: 0;
    font-weight: 700
}

.magine-card-excerpt p {
    margin: 0;
}

.magine-card-excerpt {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.075)
}

.card-featured-img {
    position: relative;
    margin: -1px -1px 0 -1px;
}

.card-featured-img img {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    transition: all 0.2s ease-in-out;
    box-shadow: none;
    vertical-align: bottom;
}

.card-featured-img:hover img {
    opacity: 0.8;
}

.card-masonry-cats {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.card-masonry-cats .badge {
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.card-masonry-cats-list span {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.card-date a {
    color: inherit;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    color: #202c39
}

body.magine .card-horizontal .card {
    flex-direction: row;
    align-items: stretch;
}

body.magine .card-horizontal .card .card-featured-img {
    margin: -1px;
    width: 50%;
    padding: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: scroll;
    transition: opacity 0.2s ease-in-out;
}

body.magine .card-horizontal .card .card-featured-img:hover {
    opacity: 0.8;
}

body.magine .card-horizontal .card .card-featured-img img {
    border-radius: 0;
}

body.magine .card-horizontal .card .card-content {
    width: 50%;
    margin: 0px;
    padding: 3rem 2.5rem;
}

body.magine .card-horizontal .card .card-footer {
    border: none;
    padding: 0;
    margin-top: 1.5rem;
}

body.magine .card-horizontal .card .card-body {
    padding: 0;
}

body.magine .card-small p {
    font-size: 0.9rem
}

body.magine .card-small .card-footer {
    font-size: 0.75rem;
}

body.magine .card-small .card-masonry-cats-list span {
    font-size: 0.85rem
}

body.magine .card-small .card-body {
    padding: 1.25rem 1rem;
}

body.magine .card-small .card-footer {
    padding: 1rem;
}

div.format-video .card:before,
div.format-gallery .card:before,
div.format-audio .card:before,
div.format-quote .card:before,
div.format-video .tmc-posts-card:before,
div.format-gallery .tmc-posts-card:before,
div.format-audio .tmc-posts-card:before,
div.format-quote .tmc-posts-card:before {
    width: 40px;
    background: #202c39;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    text-align: center;
    line-height: 40px;
    color: #fff;
    z-index: 9;
    font-family: 'Font Awesome 5 Free';
    font-size: 16px;
    border-radius: 100%;
    font-weight: 700;
}

div.format-gallery .tmc-posts-card:before,
div.format-gallery .card:before {
    content: "\f302";
}

div.format-video .tmc-posts-card:before,
div.format-video .card:before {
    content: "\f04b";
}

div.format-audio .tmc-posts-card:before,
div.format-audio .card:before {
    content: "\f028";
}

div.format-quote .tmc-posts-card:before,
div.format-quote .card:before {
    content: "\f10e";
}

div.format-video .card-horizontal .card:before,
div.format-gallery .card-horizontal .card:before,
div.format-audio .card-horizontal .card:before,
div.format-quote .card-horizontal .card:before,
div.format-video .tmc-posts-horizontal.tmc-posts-card:before,
div.format-gallery .tmc-posts-horizontal.tmc-posts-card:before,
div.format-audio .tmc-posts-horizontal.tmc-posts-card:before,
div.format-quote .tmc-posts-horizontal.tmc-posts-card:before {
    left: 0.5rem;
    right: auto;
}

/* ================= FOOTER ================== */

#magine-footer {
    position: relative;
    background-color: #202c39;
}

#footer-widgets {
    position: relative;
    padding: 80px 0px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#footer-widgets .widget_nav_menu div ul > li,
#footer-widgets .widget_recent_entries ul li,
#footer-widgets .widget_categories ul li,
#footer-widgets .widget_recent_comments ul li,
#footer-widgets .widget_pages ul li,
#footer-widgets .widget_meta ul li,
#footer-widgets .widget_archive ul li,
#footer-widgets .widget_archives ul li,
#footer-widgets .widget_recent-posts ul li,
#footer-widgets .widget_rss ul li,
#footer-widgets .recentcomments {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#footer-widgets .widget_recent_entries ul li:last-child,
#footer-widgets .widget_categories ul li:last-child,
#footer-widgets .widget_recent_comments ul li:last-child,
#footer-widgets .widget_pages ul li:last-child,
#footer-widgets .widget_meta ul li:last-child,
#footer-widgets .widget_archive ul li:last-child,
#footer-widgets .widget_archives ul li:last-child,
#footer-widgets .widget_recent-posts ul li:last-child,
#footer-widgets .widget_rss ul li:last-child,
#footer-widgets .widget_nav_menu div ul > li:last-child,
#footer-widgets .recentcomments:last-child {
    border: none;
}

#footer-widgets .tagcloud a,
#footer-widgets a[class^="tag"] {
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: inherit;
}

#footer-widgets .tagcloud a:hover,
#footer-widgets a[class^="tag"]:hover {
    color: #fff;
}

#footer-widgets .tagcloud .tag-link-count {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

#magine-footer-bottom .magine-footer-icons {
    position: relative;
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    float: right;
}

#magine-footer-bottom .magine-footer-icons li {
    display: inline-block;
    margin: 5px 0px;
    float: left;
}

#magine-footer-bottom .magine-footer-icons li a {
    display: block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    background: none;
    text-align: center;
    border-radius: 100%;
    color: inherit;
    transition: color 0.2s ease-in-out;
    font-size: 16px;
    box-shadow: none;
    color: #aaa;
}

#magine-footer-bottom .magine-footer-icons li a:hover {
    color: #fff;
}

#magine-footer-bottom #magine-gototop {
    background: #0073aa;
    color: #fff;
    margin-left: 8px;
}

#magine-footer-bottom #magine-gototop i {
    transition: transform 0.15s ease-in-out;
    transform: scale(1.0);
}

#magine-footer-bottom #magine-gototop:hover i {
    transform: scale(1.2);
}

#magine-footer-bottom {
    padding: 20px 0px;
}

#magine-footer-bottom p {
    margin: 0;
    font-style: italic;
    font-size: 0.9rem;
}

#magine-footer h1,
#magine-footer h2,
#magine-footer h3,
#magine-footer h4,
#magine-footer h5,
#magine-footer h6 {
    color: #fff;
}

#footer-widgets .title-with-border span {
    background: #202c39;
}

#magine-footer,
#magine-footer p,
#magine-footer a:not([class]),
#footer-widgets .magine-widget a:not(.btn) {
    color: #aaa
}

#magine-footer a:not([class]):hover,
#footer-widgets .magine-widget a:not(.btn):hover {
    color: #fff;
}

#magine-footer .title-with-border span::before {
    background: rgba(255, 255, 255, 0.1);
}

#footer-widgets .form-control {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

#footer-widgets img.footer-logo {
    max-width: 220px !important;
    margin-bottom: -40px;
}

#magine-footer .custom-select {
    color: #fff;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23ffffff' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
    background-color: rgba(0, 0, 0, 0.1);
    border: .0625rem solid rgba(255, 255, 255, 0.1);
}

#magine-footer .custom-select option {
    color: #202c39 !important;
}

#footer-widgets table:not([class]),
#footer-widgets table:not([class]) th,
#footer-widgets table:not([class]) td {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================= WIDGETS ================== */

.magine-widget,
.widget_mc4wp_form_widget {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 60px;
    vertical-align: bottom;
}

.widget_mc4wp_form_widget label {
    margin-bottom: 20px;
    display: inline-block;
}

.magine-widget h5 {
    margin-bottom: 1.5rem;
}

.magine-widget h5:empty {
    display: none;
}

.magine-widget img {
    max-width: 100%;
    height: auto;
}

.magine-widget a:not(.btn),
[class*="elementor-widget-wp-widget-"] a {
    color: inherit;
    -webkit-transition: color 0.2s ease-in-out;
    -moz-transition: color 0.2s ease-in-out;
    -ms-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
}

[class*="elementor-widget-wp-widget-"] a:hover,
.magine-widget a:not(.btn):hover {
    color: #0073aa;
}

.magine-widget:last-child {
    margin-bottom: 0px !important;
}

[class*="elementor-widget-wp-widget-"] ul,
.widget_nav_menu div ul,
.widget_recent_entries ul,
.widget_categories ul,
.widget_recent_comments ul,
.widget_pages ul,
.widget_meta ul,
.widget_archive ul,
.widget_archives ul,
.widget_recent-posts ul,
.widget_rss ul,
#recentcomments {
    list-style: none;
    padding: 0;
    margin: 0;
    vertical-align: bottom;
}

[class*="elementor-widget-wp-widget-"] ul > li,
.widget_nav_menu div ul > li,
.widget_recent_entries ul li,
.widget_categories ul li,
.widget_recent_comments ul li,
.widget_pages ul li,
.widget_meta ul li,
.widget_archive ul li,
.widget_archives ul li,
.widget_recent-posts ul li,
.widget_rss ul li,
.recentcomments {
    position: relative;
    padding: 0px 0px 12px 0px;
    margin: 0px 0px 12px 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.075);
}

.recentcomments a {
    font-size: 1rem;
    text-transform: none;
}

.recentcomments,
.recentcomments a.url {
    font-size: 0.8rem;
    text-transform: uppercase;
}

[class*="elementor-widget-wp-widget-"] ul li li,
.widget_nav_menu div ul > li li,
.widget_recent_entries ul li li,
.widget_categories ul li li,
.widget_pages ul li li,
.widget_archive ul li li,
.widget_archives ul li li {
    border: none;
    padding-bottom: 10px;
    margin-bottom: 0;
}

[class*="elementor-widget-wp-widget-"] ul li:last-child,
.widget_recent_entries ul li:last-child,
.widget_categories ul li:last-child,
.widget_recent_comments ul li:last-child,
.widget_pages ul li:last-child,
.widget_meta ul li:last-child,
.widget_archive ul li:last-child,
.widget_archives ul li:last-child,
.widget_recent-posts ul li:last-child,
.widget_rss ul li:last-child,
.widget_nav_menu div ul > li:last-child,
.recentcomments:last-child {
    padding: 0px;
    margin: 0px;
    border: none;
}

[class*="elementor-widget-wp-widget-"] ul > li > a,
.widget_nav_menu div ul > li > a,
.widget_recent_entries ul li a,
.widget_categories ul li a,
.widget_recent_comments ul li a,
.widget_pages ul li a,
.widget_meta ul li a,
.widget_recent-posts ul li a {
    font-weight: 600;
}

[class*="elementor-widget-wp-widget-"] ul > li > ul > li > a,
.widget_nav_menu div ul > li > ul > li > a,
.widget_recent_entries ul li ul li a,
.widget_categories ul li ul li a,
.widget_pages ul li ul li a,
.widget_meta ul li ul li a,
.widget_recent-posts ul li ul li a,
.recentcomments .comment-author-link a {
    font-weight: 400;
}

.widget_recent_comments ul li a {
    display: inline-block;
}

.widget_recent_comments ul li span {
    position: relative;
    display: inline-block;
}

[class*="elementor-widget-wp-widget-"] ul li ul,
.widget_nav_menu div ul li ul,
.widget_categories ul li ul,
.widget_pages ul li ul {
    padding-left: 15px;
}

[class*="elementor-widget-wp-widget-"] ul ul,
.widget_nav_menu div ul ul,
.widget_categories ul ul,
.widget_pages ul ul {
    padding-top: 0px;
    margin-top: 10px;
}

.widget_categories ul li {
    position: relative;
}

.widget_search.magine-widget,
.widget_display_search.magine-widget,
.widget_product_search.magine-widget {
    padding: 0px;
    border: none;
}

.elementor-widget-wp-widget-recent-posts ul li span.post-date,
.widget_recent_entries ul li span.post-date {
    display: block;
    margin: 0.2rem 0 0 0;
    position: relative;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.elementor-widget-wp-widget-recent-posts ul li span.post-date:before,
.widget_recent_entries ul li span.post-date:before {
    font-family: 'Font Awesome 5 Free';
    content: "\f017";
    padding-right: 0.3rem;
    font-weight: 400;
}

.elementor-widget-wp-widget-categories ul li span.badge,
.widget_categories ul li span.badge {
    text-align: center;
    display: inline-block;
    position: absolute;
    top: 0.3rem;
    right: 0;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1em;
    padding: 6px 8px 6px 8px;
    border-radius: 20px;
}

.elementor-widget-wp-widget-categories ul li:hover span.badge,
.widget_categories ul li:hover span.badge {
    background: #0073aa
}

.elementor-widget-wp-widget-categories ul li a,
.widget_categories ul li a {
    display: block
}

.widget_rss div,
.widget_rss .rss-date,
.widget_rss cite {
    font-size: 0.875rem;
}

.widget_rss ul li .rssSummary {
    margin-bottom: 15px;
}

.widget_rss ul li .rss-date {
    margin-bottom: 15px;
    display: block;
    position: relative;
}

.widget_rss cite {
    font-style: italic;
}

.widget_rss a {
    font-weight: 700;
    padding: 0;
}

.widget_rss ul li cite {
    text-align: right;
    display: block;
}

#recentcomments a {
    display: block !important;
}

/* calendar widget */

#wp-calendar {
    width: 100%;
    margin: 0px;
    border-collapse: collapse;
    max-width: 480px;
    font-size: 0.825rem
}

.widget_calendar.magine-widget {
    padding: 0px;
    border: none;
}

#wp-calendar caption {
    padding: 15px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
}

#wp-calendar thead th {
    font-weight: 700;
    padding: 10px;
    text-transform: uppercase;
    text-align: center;
}

#wp-calendar tbody td {
    position: relative;
    padding: 10px;
    text-align: center;
}

#wp-calendar tbody td#today {
    font-weight: 700;
}

#wp-calendar tbody td#today:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
}

#wp-calendar tbody td a {
    display: block;
}

#wp-calendar tfoot tr td {
    border: 0 !important;
    padding: 0 !important;
}

#wp-calendar tfoot tr a {
    display: block;
    padding: 15px 20px;
    font-weight: 700;
}

#wp-calendar tfoot tr #prev {
    text-align: left;
}

#wp-calendar tfoot tr #next {
    text-align: right;
}

.tagcloud {
    position: relative;
    display: inline-block;
    margin-bottom: -5px;
}

.tagcloud:after {
    content: "";
    display: table;
    clear: both;
}

.tagcloud a,
a[class^="tag"] {
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 10px 7px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    border: 1px solid rgba(0, 0, 0, 0.075);
    line-height: 1;
    color: inherit;
}

.tagcloud a:hover,
a[class^="tag"]:hover {
    text-decoration: none;
    color: #0073aa;
}

.tagcloud .tag-link-count {
    padding-left: 5px;
    margin-left: 5px;
    display: inline-block;
    font-weight: 700;
    border-left: 1px solid rgba(0, 0, 0, 0.075);
}

/* ================= CONTACT FORM 7 ================== */

body.magine .wpcf7-form-control-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}

body.magine div.wpcf7-mail-sent-ok,
body.magine div.wpcf7-mail-sent-ng,
body.magine div.wpcf7-spam-blocked,
body.magine div.wpcf7-validation-errors {
    border: none !important;
    padding: 20px 25px !important;
    margin: 30px 0px 0px 0px;
    box-shadow: none;
    background: #202c39;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999999;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

body.magine div.wpcf7-validation-errors {
    background: #f2a229;
    color: #202c39;
}

body.magine div.wpcf7-mail-sent-ok {
    background: #00bf9a;
}

body.magine div.wpcf7-spam-blocked {
    background: #FA5252;
}

body.magine div.wpcf7-mail-sent-ng {
    background: #009ffd;
}

body.magine div.wpcf7-mail-sent-ok:after,
body.magine div.wpcf7-mail-sent-ng:after,
body.magine div.wpcf7-spam-blocked:after,
body.magine div.wpcf7-validation-errors:after {
    content: "\f00d";
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    top: 1rem;
    right: 0;
    line-height: 1;
    width: 50px;
    height: 50px;
    cursor: pointer;
    text-align: center;
    font-size: 18px;
    z-index: 9;
    font-weight: 700;
}

body.magine span.wpcf7-not-valid-tip {
    margin-bottom: 25px;
    margin-top: 5px;
    font-size: 0.875rem;
}

body.magine .use-floating-validation-tip span.wpcf7-not-valid-tip {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    border: 1px solid transparent;
    background: #ba324f;
    padding: 0.9rem;
    font-size: 0.9rem;
    margin: 0 !important;
    color: #fff !important;
    height: 100%;
    width: 100%;
    line-height: 1.5rem;
    font-weight: 700;
}

body.magine .wpcf7-recaptcha {
    margin-bottom: 30px;
}

body.magine .wpcf7-textarea {
    max-height: 140px;
    resize: none;
}

body.magine .grecaptcha-badge {
    z-index: 9 !important;
}

body.magine .wpcf7-form label {
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    font-size: 0.8rem
}

body.magine .wpcf7-form .row {
    margin-right: -20px;
    margin-left: -20px;
}

body.magine .wpcf7-form [class*="col-"] {
    padding-right: 20px;
    padding-left: 20px;
}

body.magine .wpcf7-form p {
    margin-bottom: 1.5rem;
}

body.magine .wpcf7-form > p:last-of-type {
    margin: 0;
}

/* ================= WORDPRESS ================== */

body.magine .alignleft {
    float: left;
    margin: 0 2rem 3rem 0;
}

body.magine .alignright {
    float: right;
    margin: 0 0 3rem 2rem;
}

body.magine .aligncenter {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

body.magine img.alignnone {
    float: none;
}

body.magine .caption-image .alignleft,
body.magine .caption-image .alignright {
    float: none !important;
}

body.magine img.size-full,
body.magine img.size-large,
body.magine img.header-image,
body.magine img.wp-post-image,
body.magine img.alignnone,
body.magine img.alignright,
body.magine img.aligncenter,
body.magine img.alignleft {
    max-width: 100%;
    height: auto;
}

body.magine .wp-caption {
    max-width: 100% !important;
    text-align: center;
    padding-bottom: 2rem;
}

body.magine .wp-caption img {
    max-width: 100% !important;
    height: auto;
    margin: 0px;
    vertical-align: bottom;
}

body.magine .wp-caption-text {
    margin: 0px;
    padding: 10px;
    font-size: 1rem;
}

body.magine .gallery-caption {
    font-weight: 700;
}

body.magine .bypostauthor {
    font-weight: normal;
}

body.magine .form-allowed-tags {
    font-size: 80%;
}

body.magine .post-password-form label {
    margin: 0px;
}

body.magine .post-password-form input[type="submit"] {
    line-height: 52px;
    padding-top: 0;
    padding-bottom: 0;
    vertical-align: bottom;
    transform: none !important;
    border-radius: 0;
}

body.magine .post-password-form p:first-of-type {
    padding: 1rem 1.5rem;
    color: #fff;
    background-color: #ba324f;
    border-color: #ba324f;
}

body.magine .magine-page-links {
    display: flex;
    clear: both;
    font-weight: 700;
    line-height: 1;
    margin: 3rem 0 2rem 0;
    font-size: 0.9rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

body.magine .magine-page-links a {
    display: inline-block;
}

body.magine .magine-page-links > a > span,
body.magine .magine-page-links > span {
    position: relative;
    height: 46px;
    margin: 0 2px;
    min-width: 46px;
    line-height: 44px;
    padding: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    outline: none;
    box-shadow: none;
    border-radius: 0;
    font-weight: 800;
}

body.magine .magine-page-links > span {
    background: #0073aa;
    color: #fff;
}

body.magine .magine-page-links > a > span:hover {
    color: #0073aa;
    box-shadow: none;
    background: #fafafa
}

body.magine .magine-page-links > a > span {
    background: #fafafa;
    color: #344055
}

div.sticky .card {
    border-top: 3px solid #0073aa;
}

.textwidget > p:last-of-type {
    margin-bottom: 0;
}

/* Text meant only for screen readers. */

body.magine .screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

body.magine .screen-reader-text:focus {
    background-color: #ddd;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #000;
    display: block;
    font-size: 0.925rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

/* ================= GUTENBERG ================== */

body.magine .alignfull,
body.magine .alignwide,
body.magine .aligncenter,
body.magine .wp-block-cover-image.alignwide {
    max-width: 100%;
    height: auto;
    clear: both;
}

body.magine .wp-block-cover-image.alignfull {
    width: auto;
}

body.magine .wp-block-cover,
body.magine .wp-block-cover-image {
    height: auto;
}

body.magine .wp-block-cover p {
    line-height: 1.5;
    font-weight: 800;
}

body.magine .wp-block-cover .wp-block-cover__inner-container p {
    text-shadow: 1px 2px 0px rgba(0, 0, 0, 0.2);
}

body.magine .wp-block-cover .wp-block-cover__inner-container p:last-child {
    margin: 0;
}

body.magine .wp-block-media-text:not(.alignleft):not(.alignright),
body.magine .wp-block-embed:not(.alignleft):not(.alignright),
body.magine .wp-block-image:not(.alignleft):not(.alignright),
body.magine .wp-block-cover:not(.alignleft):not(.alignright),
body.magine .wp-block-audio:not(.alignleft):not(.alignright),
body.magine .wp-block-code:not(.alignleft):not(.alignright),
body.magine .wp-block-button:not(.alignleft):not(.alignright),
body.magine .wp-block-video:not(.alignleft):not(.alignright),
body.magine .wp-block-verse:not(.alignleft):not(.alignright),
body.magine .wp-block-preformatted:not(.alignleft):not(.alignright),
body.magine .wp-block-latest-comments:not(.alignleft):not(.alignright) {
    margin-bottom: 3rem;
    margin-top: 3rem;
}

body.magine .wp-block-gallery {
    margin-bottom: 2rem;
    margin-top: 3rem;
}

.wp-block-media-text .wp-block-media-text__content {
    padding: 2rem;
}

.wp-block-media-text .wp-block-media-text__content p.has-large-font-size {
    line-height: 1.5;
    font-weight: 700;
    font-size: 1.7rem
}

.wp-block-media-text .wp-block-media-text__content p:last-of-type {
    margin-bottom: 0;
}

.wp-block-audio audio {
    width: 100%;
}

.wp-block-columns {
    margin: 3rem 0;
}

.wp-block-column p:last-child {
    margin: 0
}

.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
    padding: 15px 5px;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.7;
}

.wp-block-gallery a {
    opacity: 1;
    -webkit-transition: opacity 0.15s linear;
    -moz-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
}

.wp-block-gallery a:hover,
.wp-block-gallery a:focus {
    opacity: 0.7;
}

.wp-block-cover-image-text {
    font-weight: 700;
}

.wp-block-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 0 0 40px 0;
}

.wp-block-video iframe,
.wp-block-video object,
.wp-block-video embed,
.wp-block-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: none;
    border: none;
}

table.wp-block-table {
    border-collapse: collapse;
}

table.wp-block-table,
table.wp-block-table th,
table.wp-block-table td {
    border: 1px solid #ddd;
}

table.wp-block-table th,
table.wp-block-table td {
    padding: 10px 15px;
}

.wp-block-table.is-style-stripes {
    border-color: #ddd
}

.wp-block-archives,
.wp-block-categories-list,
.wp-block-latest-posts {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
    vertical-align: bottom;
}

.wp-block-archives li a,
.wp-block-categories-list li a,
.wp-block-latest-posts li a {
    -webkit-transition: color 0.2s ease-in-out;
    -moz-transition: color 0.2s ease-in-out;
    -ms-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
    line-height: 1.7;
}

.wp-block-archives li,
.wp-block-categories-list li,
.wp-block-latest-posts li {
    position: relative;
    padding: 0px 0px 15px 0px;
    margin: 0px 0px 15px 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.075);
}

.wp-block-categories-list li li {
    border: none;
    margin-bottom: 0;
    padding-bottom: 10px;
}

.wp-block-archives li:last-child,
.wp-block-categories-list li:last-child,
.wp-block-latest-posts li:last-child {
    padding: 0px;
    margin: 0px;
    border: none;
}

.wp-block-archives li ul,
.wp-block-categories-list li ul {
    padding-left: 15px;
}

.wp-block-archives ul,
.wp-block-categories-list ul {
    padding-top: 0px;
    margin-top: 10px;
    list-style: none;
}

.wp-block-categories-list li span {
    text-align: center;
    display: inline-block;
    position: absolute;
    top: 0.3rem;
    right: 0;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1em;
    padding: 6px 8px 6px 8px;
    border-radius: 20px;
}

.wp-block-latest-comments {
    padding: 0px;
}

.wp-block-latest-comments li {
    padding: 0px 0px 15px 0px;
    margin: 0px 0px 15px 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.075);
}

.wp-block-latest-comments__comment-excerpt p {
    margin: 15px 0 0 0;
}

.wp-block-latest-comments li:last-child {
    padding: 0px;
    margin: 0px;
    border: none;
}

.wp-block-latest-comments__comment,
.wp-block-latest-comments__comment-excerpt p {
    font-size: 1rem;
}

.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
    padding: 3rem 2rem;
    margin: 3rem 0;
}

.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p {
    font-size: 1.2rem;
    font-style: normal;
    line-height: 1.8;
}

.wp-block-pullquote {
    padding: 0;
    margin: 3rem 0;
    text-align: left;
}

.wp-block-pullquote.is-style-solid-color {
    padding: 4rem 3rem
}

.wp-block-pullquote blockquote {
    border: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0
}

.wp-block-pullquote.is-style-solid-color blockquote {
    max-width: 100%;
}

.wp-block-pullquote.is-style-solid-color blockquote p,
.wp-block-pullquote.is-style-default blockquote p {
    font-size: 1.7rem;
    line-height: 1.5;
    margin: 0
}

.wp-block-pullquote.is-style-solid-color blockquote cite,
.wp-block-pullquote.is-style-default blockquote cite {
    margin-top: 1.5rem;
    display: block;
    line-height: 1.5;
}

#magine-main-wrapper > .container > .row > .col-12 > .entry-content > [class^="wp-block-"]:first-child {
    margin-top: 0
}

.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper::before {
    padding-top: 56.25% !important;
}

.has-text-color p {
    color: inherit
}

/* ================= ELEMENTOR ================== */

.elementor-widget-heading .elementor-heading-title > a:hover {
    color: #0073aa;
}

.elementor-widget-container .bbp-topics {
    margin: 0px !important;
}

/* TABS */

body.magine .elementor-widget-tabs .elementor-tab-content {
    padding: 2rem
}

body.magine .elementor-widget-tabs .elementor-tab-desktop-title {
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
}

body.magine .elementor-widget-tabs .elementor-tab-content p:last-child {
    margin-bottom: 0px;
}

@media (max-width: 767.98px) {
    body.magine .elementor-widget-tabs .elementor-tab-content {
        padding: 1.5rem 1rem;
    }
}

/* ================= BOOTSTRAP OVERWRITES ================== */

.container {
    padding-right: 60px;
    padding-left: 60px;
    max-width: 1520px;
}

.row {
    margin-right: -30px;
    margin-left: -30px;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12,
.col,
.col-auto,
.col-sm-1,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm,
.col-sm-auto,
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md,
.col-md-auto,
.col-lg-1,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg,
.col-lg-auto,
.col-xl-1,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl,
.col-xl-auto {
    padding-right: 30px;
    padding-left: 30px;
}

body.magine .breadcrumb {
    justify-content: flex-start;
    font-size: 1.2rem;
    font-style: normal;
    margin: 0.25rem 0 0 0;
    line-height: 1.8;
}

.breadcrumb-item.active,
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
}

body.magine .breadcrumb .breadcrumb-item {
    padding: 0 0.5rem 0 0;
}

body.magine #navbar-toggler {
    padding: 1.75rem 0;
    font-weight: 700;
    font-size: 1.2rem;
    width: 100%;
}

body.magine #navbar-toggler span {
    position: absolute;
    right: 0;
    top: 1.75rem;
}

body.magine .input-group-prepend .btn,
body.magine .input-group-append .btn {
    z-index: inherit;
}

.pagination {
    justify-content: center;
    margin: 0;
    padding: 0;
}

.page-link {
    color: #202c39;
    background-color: #f5f5f5;
    border: none;
    font-weight: 800;
    transition: all 0.15s ease;
    outline: none !important;
    box-shadow: none !important;
}

.page-link:focus,
.page-link:hover {
    color: #fff;
    background-color: #0073aa;
}

.page-item.active .page-link,
.page-item.active .page-link:hover,
.page-item.active .page-link:focus {
    color: #fff;
    background-color: #202c39;
    border-color: #202c39;
    pointer-events: none;
    font-weight: 800;
}

.page-item .page-link,
.page-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0 2px;
    border-radius: 0 !important;
    width: 36px;
    height: 36px;
    font-size: 0.875rem;
}

.pagination-lg .page-item .page-link,
.pagination-lg .page-item span {
    width: 46px;
    height: 46px;
    line-height: 46px;
    font-size: 0.9rem;
}

.pagination-sm .page-item .page-link,
.pagination-sm .page-item span {
    width: 30px;
    height: 30px;
    line-height: 30px;
}

/* ================= MASONRY ================== */

.magine-column {
    float: left;
}

.size-1of1 {
    width: 100%;
}

.size-1of2 {
    width: 50%;
}

.size-1of3 {
    width: 33.333%;
}

.size-1of4 {
    width: 25%;
}

.size-1of5 {
    width: 20%;
}

.magine-masonry-grid,
.magine-masonry-grid2 {
    position: relative;
    width: auto;
    height: auto;
    vertical-align: bottom;
    margin: 0px -20px;
    min-width: 100%;
    display: block;
    opacity: 0;
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
}

.magine-masonry-grid > div,
.magine-masonry-grid2 > div {
    display: inline-block;
    vertical-align: bottom;
    width: 100%;
}

.magine-masonry-grid .card-masonry,
.magine-masonry-grid2 .card-masonry,
.magine-masonry-grid2 .magine-gallery-item {
    padding: 0px 20px;
    margin-bottom: 40px;
}

.magine-gallery-item {
    opacity: 1;
    -webkit-transition: opacity 0.15s linear;
    -moz-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
}

.magine-gallery-item:hover,
.magine-gallery-item:focus {
    opacity: 0.7;
}

.magine-masonry-grid.small-grid,
.magine-masonry-grid2.small-grid {
    margin: 0px -15px;
}

.magine-masonry-grid.small-grid .card-masonry,
.magine-masonry-grid2.small-grid .card-masonry {
    padding: 0px 15px;
    margin-bottom: 30px;
}

.magine-one-column[data-columns]::before {
    content: '1 .magine-column.size-1of1';
}

.magine-two-columns[data-columns]::before {
    content: '2 .magine-column.size-1of2';
}

.magine-three-columns[data-columns]::before {
    content: '3 .magine-column.size-1of3';
}

.magine-four-columns[data-columns]::before {
    content: '4 .magine-column.size-1of4';
}

.magine-five-columns[data-columns]::before {
    content: '5 .magine-column.size-1of5';
}

.magine-one-column[data-columns]::before,
.magine-two-columns[data-columns]::before,
.magine-three-columns[data-columns]::before,
.magine-four-columns[data-columns]::before,
.magine-five-columns[data-columns]::before {
    visibility: hidden;
}

/* ================= MASONRY MEDIA QUERIES ================== */

@media screen and (min-width: 1200px) {

    .magine-masonry-grid.large-grid,
    .magine-masonry-grid2.large-grid {
        margin: 0px -30px;
    }

    .magine-masonry-grid.large-grid .card-masonry,
    .magine-masonry-grid2.large-grid .card-masonry {
        padding: 0px 30px;
        margin-bottom: 60px;
    }

    .magine-two-columns[data-columns]::before {
        content: '2 .magine-column.size-1of2';
    }

    .magine-three-columns[data-columns]::before {
        content: '3 .magine-column.size-1of3';
    }

    .magine-four-columns[data-columns]::before {
        content: '4 .magine-column.size-1of4';
    }

    .magine-five-columns[data-columns]::before {
        content: '5 .magine-column.size-1of5';
    }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .magine-five-columns[data-columns]::before {
        content: '4 .magine-column.size-1of4';
    }

    .magine-four-columns[data-columns]::before {
        content: '3 .magine-column.size-1of3';
    }

    .magine-three-columns[data-columns]::before,
    .magine-two-columns[data-columns]::before {
        content: '2 .magine-column.size-1of2';
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .magine-five-columns[data-columns]::before {
        content: '3 .magine-column.size-1of3';
    }

    .magine-four-columns[data-columns]::before {
        content: '2 .magine-column.size-1of2';
    }

    .magine-three-columns[data-columns]::before,
    .magine-two-columns[data-columns]::before {
        content: '1 .magine-column.size-1of1';
    }
}

@media only screen and (max-width: 575px) {
    .magine-five-columns[data-columns]::before {
        content: '2 .magine-column.size-1of2';
    }

    .magine-four-columns[data-columns]::before,
    .magine-three-columns[data-columns]::before,
    .magine-two-columns[data-columns]::before {
        content: '1 .magine-column.size-1of1';
    }
}

/* ================= MEDIA QUERIES ================== */

@media screen and (min-width: 1200px) {
    body.magine .magine-masonry-grid.large-grid .card-body {
        padding: 2.75rem 2.25rem;
    }

    body.magine .magine-masonry-grid.large-grid .card-footer {
        padding: 1.5rem 2.25rem;
    }
}

@media only screen and (max-width: 1199px) {
    .container {
        padding-right: 40px;
        padding-left: 40px;
    }

    #magine-404-wrapper {
        padding: 0 40px;
    }

    .wp-block-pullquote.is-style-solid-color {
        padding: 3rem 2rem
    }
}

@media only screen and (max-width: 991px) {
    html {
        font-size: 15px;
    }

    #magine-header {
        padding: 1.25rem 0;
    }

    .magine-logo {
        width: 180px;
    }

    #magine-header-menu .navbar-nav {
        padding: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.075);
    }

    #magine-header-menu .navbar-nav .dropdown-menu {
        box-shadow: none;
        padding: 0;
        margin: 0;
        background: none;
    }

    #magine-header-menu .navbar-nav .dropdown-item,
    #magine-header-menu .navbar-nav .nav-link {
        font-size: 1rem;
        display: flex;
        align-items: center;
    }

    #magine-header-menu .dropdown-toggle::after {
        margin-left: auto;
        font-size: 1rem;
    }

    #magine-header-menu .navbar-nav .dropdown-item {
        padding: 0.75rem 0;
        border: none;
        border-top: 1px solid rgba(0, 0, 0, 0.075);
    }

    #magine-header-menu .navbar-nav .dropdown-menu .dropdown-menu {
        margin: 0;
        padding: 0;
    }

    #magine-header-menu .navbar-nav li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.075);
    }

    #magine-header-menu .navbar-nav li:last-child {
        border: none;
    }

    #magine-header-menu .navbar-nav .nav-link {
        padding: 1rem 0;
    }

    #magine-header-menu .navbar-nav .dropdown-menu .dropdown-menu .dropdown-item {
        padding-left: 1rem
    }

    #magine-header-v3 #magine-main-logo {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.075);
    }

    #magine-header-v3 .magine-logo {
        margin: 0 auto;
    }

    #magine-main-menu .magine-top-icons {
        border-top: 1px solid rgba(0, 0, 0, 0.075);
    }

    body.magine .card-horizontal .card .card-featured-img {
        width: 40%;
    }

    body.magine .card-horizontal .card .card-content {
        width: 60%;
    }
}

@media only screen and (max-width: 800px) {

    .wp-block-column,
    .wp-block-columns {
        display: block !important;
        width: 100% !important;
    }

    .wp-block-column {
        margin: 0 0 2rem 0 !important;
    }
}

@media only screen and (max-width: 767px) {
    .container {
        padding-right: 20px;
        padding-left: 20px;
    }

    #magine-main-wrapper {
        padding: 60px 0px;
    }

    #magine-404-wrapper {
        padding: 0px 20px;
    }

    .magine_before_footer {
        margin-bottom: 80px;
    }

    #magine-comments-wrapper {
        padding: 2rem 1rem;
    }

    .magine_comment_left {
        width: 40px;
    }

    .magine_comment_left img {
        width: 40px;
        height: 40px;
    }

    .magine_comment_right_inner {
        padding-left: 15px;
    }

    .magine_commentlist .comment > .comment .magine_comment {
        padding-left: 40px;
    }

    .magine_commentlist .comment > .comment:before {
        left: 5px;
        top: 15px
    }

    .magine-post-nav-wrapper,
    .magine-post-nav-left-row,
    .magine-post-nav-right-row {
        display: block;
        width: 100%;
    }

    .magine-post-nav-right-row {
        border-top: 5px solid #fff;
    }

    .magine-top-icon-left {
        display: none;
    }

    .magine-author-meta {
        padding-left: 1.5rem;
    }

    #magine-header-v2 .magine-logo {
        margin: 1rem auto 0 auto;
    }

    #magine-header-v2 .magine-top-icons {
        justify-content: center;
        flex-wrap: wrap;
    }

    #magine-header-v1 .magine-top-icon-wrapper {
        display: none;
    }

    #footer-widgets {
        padding: 60px 0px;
    }

    #magine-footer-icons {
        display: block;
        text-align: center;
        width: 100%;
        white-space: nowrap;
        overflow-x: scroll;
        overflow-y: hidden;
        padding: 0;
    }

    #magine-footer-icons .magine-footer-icons {
        float: none;
        display: inline-block;
        vertical-align: bottom;
        padding: 0 15px;
    }

    #magine-footer-icons .magine-footer-icons li {
        float: none;
        display: inline-block;
    }

    .magine-footer-icons li {
        margin: 2px;
    }

    #magine-footer-bottom {
        text-align: center;
        padding: 30px 0px;
    }

    #magine-footer-bottom .magine-footer-icons {
        float: none;
        margin: -5px auto 0px auto;
        display: inline-block;
    }

    body.magine .card-horizontal .card .card-content {
        padding: 2rem;
    }

    .magine-top-woo-icon > a {
        font-size: 14px;
        width: 36px;
        line-height: 36px;
    }
}

@media only screen and (max-width: 575px) {
    html {
        font-size: 14px;
    }

    #magine-main-wrapper {
        padding: 40px 0px;
    }

    .magine_before_footer {
        margin-bottom: 60px;
    }

    #magine-header-v1 .magine-top-icons {
        justify-content: center;
        margin-top: 0.5rem;
    }

    #magine-header-v1 .magine-top-woo-icon > a {
        font-size: 12px;
        width: 30px;
        line-height: 30px;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .h1,
    .h2,
    .h3,
    .h4,
    .h5,
    .h6,
    p {
        margin-bottom: 1.5rem;
    }

    #footer-widgets {
        padding: 40px 0px;
    }

    blockquote {
        padding: 1rem;
    }

    .wp-block-pullquote.is-style-solid-color {
        padding: 2rem 1rem
    }

    #magine-comments-wrapper {
        padding: 0;
        border: none;
    }

    .magine-post-nav-link {
        padding: 1.5rem 1rem;
    }

    body.magine .card-body {
        padding: 1.5rem 1rem;
    }

    body.magine .card-footer {
        padding: 1rem;
    }

    .magine-top-woo-icon > a > span {
        font-size: 10px;
        line-height: 16px;
        min-width: 16px;
    }

    .magine-top-woo-icon > a {
        font-size: 14px;
        width: 36px;
        line-height: 36px;
    }

    .magine-author-meta {
        padding-left: 1rem;
    }

    #magine-close-search {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1.2rem;
    }

    .magine-widget,
    .widget_mc4wp_form_widget {
        margin-bottom: 40px;
    }

    .magine-searchlg-wrapper {
        margin-bottom: 40px;
    }

    body.magine .card-horizontal .card .card-featured-img {
        width: 25%;
    }

    body.magine .card-horizontal .card .card-content {
        width: 75%;
        padding: 1.5rem;
    }

    .magine-author-row-avatar {
        width: 120px;
    }

    .magine-author-box .magine-author-avatar img {
        width: 80px;
    }

    .magine-author-box {
        flex-direction: column;
        text-align: center;
    }

    .magine-author-box .magine-author-avatar,
    .magine-author-box .magine-author-meta {
        width: 100%;
        padding: 0;
    }

    .magine-author-box .magine-author-avatar {
        margin-bottom: 1rem
    }

    .magine-author-box .magine-author-avatar img {
        width: 100px;
    }

    .magine-top-icons.magine-author-box-icons {
        justify-content: center;
    }

    #magine-related-posts-wrapper,
    .magine-author-tabs .tab-content {
        padding: 2rem 1rem;
    }
    
    .magine-author-box-btn {
        margin-bottom:0;
    }

    .magine-masonry-grid.related-grid {
        margin-bottom: -20px
    }

    .magine-masonry-grid .magine-related-post {
        margin-bottom: 20px;
    }

    .wp-block-pullquote.is-style-solid-color blockquote p,
    .wp-block-pullquote.is-style-default blockquote p {
        font-size: 1.4rem;
    }

    .magine_comment {
        margin-bottom: 2rem;
        padding-bottom: 0;
    }
}
