/*
 * Description: Main stylesheet for Answers, etc.
 */

/* =============================
   Imports
   ============================= */
@import url("font-awesome.css");
@import url("shortcodes.css");
@import url("jquery-ui.css");
@import url("flexslider.css");
@import url("owl.carousel.css");
@import url("woocommerce.css");
@import url("magnific-popup.css");
@import url("../rev-slider/css/settings.css");
@import url("../rev-slider/css/layers.css");
@import url("../rev-slider/css/navigation.css");
/* @import url("https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,500,600,700|"); */

/* =============================
   CSS Variables
   ============================= */
:root {
    --font-size-huge: 52px;
    --font-size-xxx-large: 40px;
    --font-size-xx-large: 32px;
    --font-size-x-large: 30px;
    --font-size-larger: 24px;
    --font-size-large: 18px;
    --font-size-medium: 16px;
    --font-size-small: 14px;
    --font-size-x-small: 10px;
    --color-accent: #98c739;
    --color-dark: #333333;
    --color-light: #ffffff;
    --color-gray: #6e6e6e;
}

/* =============================
   Reset & Base Styles
   ============================= */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    background: transparent;
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font: 14px/26px "Poppins", sans-serif;
    font-weight: 300;
    background-color: #fff;
    color: var(--color-gray);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.3s;
}

    a:hover, a:focus {
        color: var(--color-accent);
        outline: 0;
    }

img {
    max-width: 100%;
    height: auto;
    border: 0;
    vertical-align: middle;
}

b, strong {
    font-weight: 900;
}

/* =============================
   Utility Classes
   ============================= */
/* Spacing */
.no-margin {
    margin: 0 !important;
}

.no-margin-bottom {
    margin-bottom: 0 !important;
}

.no-padding {
    padding: 0 !important;
}

.padding-bottom-48 {
    padding-bottom: 48px !important;
}

.padding-top-4 {
    padding-top: 4px !important;
}

.padding-top-5 {
    padding-top: 5px !important;
}

.padding-top-33 {
    padding-top: 33px !important;
}

.padding-left-7 {
    padding-left: 7px !important;
}

.padding-left-2 {
    padding-left: 2px !important;
}

.margin-bottom-58 {
    margin-bottom: 58px !important;
}

.margin-bottom-55 {
    margin-bottom: 55px !important;
}

.margin-bottom-50 {
    margin-bottom: 50px !important;
}

.margin-bottom-51 {
    margin-bottom: 51px !important;
}

.margin-bottom-52 {
    margin-bottom: 52px !important;
}

.margin-bottom-46 {
    margin-bottom: 46px !important;
}

.margin-bottom-43 {
    margin-bottom: 43px !important;
}

.margin-bottom-42 {
    margin-bottom: 42px !important;
}

.margin-bottom-41 {
    margin-bottom: 41px !important;
}

.margin-bottom-40 {
    margin-bottom: 40px !important;
}

.margin-bottom-26 {
    margin-bottom: 26px !important;
}

.margin-bottom-14 {
    margin-bottom: 14px !important;
}

.margin-bottom-10 {
    margin-bottom: 10px !important;
}

.margin-top-49 {
    margin-top: 49px !important;
}

.margin-top-46 {
    margin-top: 46px !important;
}

.margin-top-44 {
    margin-top: 44px !important;
}

.margin-top-40 {
    margin-top: 40px !important;
}

.margin-top-38 {
    margin-top: 38px !important;
}

.margin-top-35 {
    margin-top: 35px !important;
}

.margin-top-32 {
    margin-top: 32px !important;
}

.margin-top-30 {
    margin-top: 30px !important;
}

.margin-top-27 {
    margin-top: 27px !important;
}

.margin-top-24 {
    margin-top: 24px !important;
}

.margin-top-22 {
    margin-top: 22px !important;
}

.margin-top-15 {
    margin-top: 15px !important;
}

.margin-top-11 {
    margin-top: 11px !important;
}

.margin-top-8 {
    margin-top: 8px !important;
}

.margin-left-52 {
    margin-left: 52px !important;
}

.margin-left-3 {
    margin-left: 3px !important;
}

.margin-right-52 {
    margin-right: 52px !important;
}

/* Typography */
.letter-spacing-12 {
    letter-spacing: 12px !important;
}

.letter-spacing-10 {
    letter-spacing: 10px !important;
}

.letter-spacing-7 {
    letter-spacing: 7px !important;
}

.letter-spacing-6 {
    letter-spacing: 6px !important;
}

.letter-spacing-3 {
    letter-spacing: 3px !important;
}

.letter-spacing-3-2 {
    letter-spacing: 3.2px !important;
}

.letter-spacing-3-6 {
    letter-spacing: 3.6px !important;
}

.letter-spacing-1 {
    letter-spacing: 1px !important;
}

.letter-spacing-08 {
    letter-spacing: 0.8px !important;
}

.letter-spacing--1 {
    letter-spacing: -1px !important;
}

.line-height-28 {
    line-height: 28px !important;
}

.line-height-24 {
    line-height: 24px !important;
}

.line-height-36 {
    line-height: 36px !important;
}

.line-height-48 {
    line-height: 48px !important;
}

.line-height-60 {
    line-height: 48px !important;
}

.line-height-76 {
    line-height: 76px !important;
}

/* Font Size Utilities */
.font-size-huge, .font-size-huge a {
    font-size: var(--font-size-huge) !important;
}

.font-size-xxx-large, .font-size-xxx-large a {
    font-size: var(--font-size-xxx-large) !important;
}

.font-size-xx-large, .font-size-xx-large a {
    font-size: var(--font-size-xx-large) !important;
}

.font-size-x-large, .font-size-x-large a {
    font-size: var(--font-size-x-large) !important;
}

.font-size-larger, .font-size-larger a {
    font-size: var(--font-size-larger) !important;
}

.font-size-large, .font-size-large a {
    font-size: var(--font-size-large) !important;
}

.font-size-medium, .font-size-medium a {
    font-size: var(--font-size-medium) !important;
}

.font-size-small, .font-size-small a {
    font-size: var(--font-size-small) !important;
}

.font-size-x-small, .font-size-x-small a {
    font-size: var(--font-size-x-small) !important;
}

.font-weight-300 {
    font-weight: 300 !important;
}

.font-weight-400 {
    font-weight: 400 !important;
}

.font-weight-500 {
    font-weight: 500 !important;
}

.font-weight-600 {
    font-weight: 600 !important;
}

/* Color Utilities */
.text-accent {
    color: var(--color-accent) !important;
}

.text-333 {
    color: var(--color-dark) !important;
}

.text-fff {
    color: var(--color-light) !important;
}

.text-6e6 {
    color: var(--color-gray) !important;
}

/* Layout Utilities */
.text-line {
    display: inline-block;
    width: 50px;
    height: 2px;
    background-color: rgba(51,51,51,0.1);
    position: relative;
    top: -7px;
}

    .text-line.left {
        left: -14px;
    }

    .text-line.right {
        right: -7px;
    }

.row.gutter-10 {
    margin-left: -10px;
    margin-right: -10px;
}

    .row.gutter-10 > [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }

.boxed {
    overflow: hidden;
    position: relative;
    margin: 5px
}

.container-width-93 {
    max-width: 93%;
}

.container-width-94 {
    max-width: 94.7%;
}

/* =============================
   Responsive & Media Queries
   ============================= */
@media (max-width: 1200px) {
    .about-box td {
        width: 220px;
        height: 220px;
        padding: 20px 4px;
        font-size: 1rem;
    }

    .about-box h3 {
        font-size: 18px;
    }

    .about-box p {
        font-size: 15px;
    }

    .howitworks-img {
        width: 200px;
        height: 142px;
    }

    #logo img {
        width: 300px;
    }

    .themesflat-button {
        font-size: 1.7rem !important;
        padding: 16px 36px !important;
        min-width: 150px;
        min-height: 50px;
    }
}

@media (max-width: 992px) {
    .about-img {
        max-width: 80px;
    }

    .about-box td {
        width: 100%;
        height: auto;
        display: block;
        padding: 12px 2px;
        font-size: 0.95rem;
    }

    .about-box h3 {
        font-size: 16px;
    }

    .about-box p {
        font-size: 14px;
    }

    .howitworks-cell, .contact-cell {
        width: 100%;
        display: block;
    }

    .contact-table p {
        font-size: 16px !important;
    }

    .contact-table a {
        font-size: 15px !important;
    }

    .menu a {
        font-size: 16px !important;
    }

    .howitworks-img {
        width: 100%;
        height: auto;
    }

    #top-bar .top-bar-content a, #top-bar .top-bar-nav a, .center-links a {
        font-size: 14px !important;
    }

    #logo img {
        width: 250px;
    }
    /* Responsive font-size utilities */
    .font-size-huge, .font-size-huge a {
        font-size: 48px !important;
    }

    .font-size-xxx-large, .font-size-xxx-large a {
        font-size: 36px !important;
    }

    .font-size-xx-large, .font-size-xx-large a {
        font-size: 28px !important;
    }

    .font-size-x-large, .font-size-x-large a {
        font-size: 25px !important;
    }

    .font-size-larger, .font-size-larger a {
        font-size: 20px !important;
    }

    .font-size-large, .font-size-large a {
        font-size: 16px !important;
    }

    .font-size-medium, .font-size-medium a {
        font-size: 14px !important;
    }

    .font-size-small, .font-size-small a {
        font-size: 12px !important;
    }

    .font-size-x-small, .font-size-x-small a {
        font-size: 10px !important;
    }

    .themesflat-button {
        font-size: 1.3rem !important;
        padding: 12px 28px !important;
        min-width: 120px;
        min-height: 40px;
    }
}

@media (max-width: 576px) {
    .about-box td {
        padding: 6px 1px;
        font-size: 0.8rem;
    }

    .about-box h3 {
        font-size: 14px;
    }

    .about-box p {
        font-size: 13px;
    }

    #logo img {
        width: 150px;
    }

    .font-size-huge, .font-size-huge a {
        font-size: 42px !important;
    }

    .font-size-xxx-large, .font-size-xxx-large a {
        font-size: 32px !important;
    }

    .font-size-xx-large, .font-size-xx-large a {
        font-size: 24px !important;
    }

    .font-size-x-large, .font-size-x-large a {
        font-size: 20px !important;
    }

    .font-size-larger, .font-size-larger a {
        font-size: 18px !important;
    }

    .font-size-large, .font-size-large a {
        font-size: 14px !important;
    }

    .font-size-medium, .font-size-medium a {
        font-size: 12px !important;
    }

    .font-size-small, .font-size-small a {
        font-size: 10px !important;
    }

    .font-size-x-small, .font-size-x-small a {
        font-size: 10px !important;
    }

    .themesflat-button {
        font-size: 1rem !important;
        padding: 8px 18px !important;
        min-width: 90px;
        min-height: 32px;
    }
}

/* =============================
   Components, Layout, and Custom Styles
   ============================= */
/* Add your component, header, footer, table, and other layout styles below this line. */

/* =============================
   Layout: Top Bar, Header, Navigation, Footer, etc.
   ============================= */
/* Top bar
---------------------------------------------------------------*/
.topbar-style-1 #top-bar {
    background-color: #252525;
}

#top-bar, #top-bar a {
    color: #fff;
    font-weight: 400;
}

    #top-bar .top-bar-inner-wrap {
        display: table;
        width: 100%;
        padding: 9px 0px 10px 0px;
    }

    #top-bar .top-bar-content,
    #top-bar .top-bar-nav {
        display: table-cell;
        width: 50%;
        text-align: left;
        vertical-align: middle;
    }

        #top-bar .top-bar-content .content {
            letter-spacing: -0.5px;
            line-height: 30px;
            font-size: 16px !important;
            margin: 0px 15px;
        }

    #top-bar .top-bar-nav {
        text-align: right;
        font-size: 18px;
    }

        #top-bar .top-bar-nav .inner {
            margin: 0px 15px;
        }

        #top-bar .top-bar-nav li a {
            color: #fff;
        }

        #top-bar .top-bar-nav .inner > div {
            display: inline-block;
            margin: 0px 13px;
            letter-spacing: -0.5px;
            color: black;
        }

            #top-bar .top-bar-nav .inner > div > a {
                color: black;
            }

            #top-bar .top-bar-nav .inner > div:last-child {
                margin-right: 0px;
            }

            #top-bar .top-bar-nav .inner > div i {
                padding-left: 2px;
            }

    #top-bar .language > li {
        position: relative;
        padding-right: 16px;
    }

        #top-bar .language > li:after {
            content: "\f107";
            position: absolute;
            top: 0;
            right: 0px;
            font-family: "FontAwesome";
        }

    #top-bar .top-bar-nav ul.sub-language {
        background-color: #252525;
        position: absolute;
        top: 100%;
        left: 0px;
        box-shadow: 0px 5px 14.25px 0.75px rgba(36, 11, 12, 0.05);
        z-index: 99999;
        transform: translateY(9.5px);
        opacity: 0;
        visibility: hidden;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

        #top-bar .top-bar-nav ul.sub-language li {
            display: block;
            border-top: 1px solid rgba(255,255,255,0.2);
            line-height: 35px;
        }

            #top-bar .top-bar-nav ul.sub-language li:first-child {
                border-top: 0px;
            }

            #top-bar .top-bar-nav ul.sub-language li > a {
                color: #fff;
                font-weight: 500;
                padding: 0px 30px;
            }

    #top-bar ul.language > li:hover > ul.sub-language {
        opacity: 1;
        visibility: visible;
    }

    #top-bar .language.style2 li {
        padding: 0px;
        margin: 0px 8px;
    }

        #top-bar .language.style2 li:first-child {
            margin-left: 0px;
        }

        #top-bar .language.style2 li a {
            color: #c5c5c5;
            font-size: 13px;
        }

        #top-bar .language.style2 li:before {
            content: "";
            width: 0%;
            height: 1px;
            position: absolute;
            bottom: 0;
            left: 0;
            background-color: transparent;
            margin-bottom: 4px;
            opacity: 0;
            visibility: hidden;
            -webkit-transition: all 0.3s ease-in-out;
            -moz-transition: all 0.3s ease-in-out;
            -o-transition: all 0.3s ease-in-out;
            transition: all 0.3s ease-in-out;
        }

        #top-bar .language.style2 li a:hover,
        #top-bar .language.style2 li.active a {
            color: #333;
        }

        #top-bar .language.style2 li:hover:before,
        #top-bar .language.style2 li.active:before {
            opacity: 1;
            visibility: visible;
            background-color: #c5c5c5;
            width: 100%;
        }

.topbar-style-1 #top-bar .top-bar-inner-wrap {
    padding: 7px 0px 8px 0px;
}

/* Syle 2 */
.topbar-style-2 #top-bar .top-bar-nav,
.topbar-style-2 #top-bar .top-bar-content,
.topbar-style-2 #top-bar .top-bar-left {
    display: table-cell;
    width: 33.33%;
    vertical-align: middle;
}

.topbar-style-2 #top-bar .top-bar-left {
    text-align: left;
}

.topbar-style-2 #top-bar .top-bar-content {
    text-align: center;
}

.topbar-style-2 #top-bar .top-bar-nav {
    text-align: right;
}

.topbar-style-2 #top-bar,
.topbar-style-2 #top-bar a {
    color: #333333;
    font-weight: 400;
}

.topbar-divider #top-bar .top-bar-inner-wrap {
    border-bottom: 1px solid #ebebeb;
}

.topbar-style-2 #top-bar ul.language li {
    display: inline-block;
}

    .topbar-style-2 #top-bar ul.language li:after {
        content: "";
    }

.topbar-style-2 #top-bar .top-bar-inner-wrap {
    padding: 9px 0px 11px 0px;
    margin-bottom: 4px;
}

.topbar-style-2 #top-bar .top-bar-nav span {
    font-size: 13px;
    margin: 0px 13px;
}

    .topbar-style-2 #top-bar .top-bar-nav span:last-child {
        margin-right: 0px;
    }

    .topbar-style-2 #top-bar .top-bar-nav span a {
        padding: 0px 3px;
    }

#top-bar .top-bar-nav ul.sub-language li > a:hover,
#top-bar a:hover {
    color: #f63440;
}

/* Header
---------------------------------------------------------------*/
.header {
    position: relative;
    box-shadow: 0px 5px 14.25px 0.75px rgba(36, 11, 12, 0.05);
    z-index: 99;
}

#site-header-inner {
    position: relative;
    height: 100%;
    padding: 31px 0px 32px;
}

.header-absolute .header {
    position: absolute;
    width: 100%;
    background-color: transparent;
    box-shadow: none;
}

.header-style-2.header-center #site-header-inner,
.header-absolute #site-header-inner {
    padding: 36px 0px;
}

.header-style-2.header-center .menu-extra > li,
.header-style-2.header-center #mainnav > ul > li > a,
.header-absolute .menu-extra > li,
.header-absolute #mainnav > ul > li > a {
    line-height: 98px;
}

/* Fixed */
#header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #fff;
}

.header-absolute #header.is-fixed {
    box-shadow: 0px 5px 14.25px 0.75px rgba(36, 11, 12, 0.05);
}

/* Menu extra */
.menu-extra {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    display: none;
}

.has-menu-extra .menu-extra {
    display: block;
}

.menu-extra .box-search .icon_search:before,
.menu-extra .box-login .icon_login:before,
.menu-extra .box-cart .icon_cart:before {
    content: "";
    font-family: "FontAwesome";
}

.menu-extra .box-search .icon_search:before {
    content: "\f002";
}

.menu-extra .box-login .icon_login:before {
    content: "\f007";
}

.menu-extra .box-cart .icon_cart:before {
    content: "\f07a";
}

.menu-extra > li {
    display: inline-block;
    line-height: 88px;
    position: relative;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.menu-extra li a {
    margin: 0px 2.5px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    font-size: 15px;
    color: #333333;
    display: inline-block;
    position: relative;
    background: transparent;
}

    .menu-extra li a span {
        width: 15px;
        height: 15px;
        font-size: 10px;
        line-height: 15px;
        color: #ffffff;
        font-weight: 400;
        position: absolute;
        top: 0px;
        right: -3px;
        background-color: #f63440;
        text-align: center;
        border-radius: 50%;
        display: inline-block;
    }

    .menu-extra li a.active {
        background: #eeeeee;
        color: #333;
    }

    .menu-extra li a:hover {
        background: #eeeeee;
        color: #f63440;
    }

/* Search show */
.menu-extra li.box-search .header-search-form {
    position: absolute;
    top: 100%;
    right: 0px;
    width: 270px;
    line-height: normal;
    opacity: 0;
    visibility: hidden;
}

    .menu-extra li.box-search .header-search-form.show {
        opacity: 1;
        visibility: visible;
    }

.menu-extra .header-search-form .header-search-field {
    margin: 0;
    padding-top: 13px;
    padding-bottom: 8px;
    padding-left: 28px;
    background-color: #fff;
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.15)
}

.menu-extra .header-search-form .header-search-submit {
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    display: none;
}

/* Shop cart */
.nav-top-cart-wrapper .nav-shop-cart {
    width: 270px;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    position: absolute;
    right: -10px;
    top: 100%;
    z-index: 999999;
    background-color: #fff;
    padding: 0px;
    -webkit-box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.1);
    box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.1);
    -webkit-transition: all ease-in-out 0.3s;
    -moz-transition: all ease-in-out 0.3s;
    transition: all ease-in-out 0.3s;
}

.nav-top-cart-wrapper .woocommerce-min-cart-wrap {
    padding: 10px 30px;
}

.nav-top-cart-wrapper .nav-shop-cart ul li {
    display: block;
    position: relative;
    width: 100%;
    font-weight: 500;
    line-height: 30px;
}

.nav-top-cart-wrapper:hover .nav-shop-cart {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Navigation */
.header-style-2 .nav-wrap {
    display: inline-block !important;
    position: absolute !important;
    top: 50% !important;
    right: 25% !important;
}

.header-style-2 .nav-wrap2 {
    display: inline-block !important;
    position: absolute !important;
    top: 20% !important;
    right: 1% !important;
}

.header-style-2.has-menu-extra .nav-wrap {
    right: 50%;
    transform: translate(50%, -50%);
}

.header-style-1 .nav-wrap {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.header-style-3 .nav-wrap {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

    .header-style-3 .nav-wrap ul {
        float: right;
    }

.header-style-1.has-menu-extra .nav-wrap {
    right: 187px;
}

.header-center #logo,
.header-style-1 #logo {
    margin-left: 15px;
}

.header-center .menu-extra,
.header-style-1 .menu-extra {
    right: 15px;
}

#mainnav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#mainnav ul li {
    position: relative;
}

#mainnav > ul > li {
    display: inline-block;
}

    #mainnav > ul > li > a {
        font-weight: 500;
        color: #333333;
        font-size: 18px;
        line-height: 88px;
        margin: 0px 8px;
        display: block;
    }

        #mainnav > ul > li.active > a,
        #mainnav > ul > li > a:hover {
            color: #f63440;
        }

/* Submenu */
#mainnav ul.submenu {
    position: absolute;
    top: 150%;
    left: 0;
    width: 230px;
    background: #ffffff;
    box-shadow: 0px 5px 14.25px 0.75px rgba(0, 0, 0, 0.05);
    padding: 15px 10px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

    #mainnav ul.submenu:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 2px;
        width: 100%;
        background: #f63440;
    }

    #mainnav ul.submenu > li > a {
        font-weight: 400;
        line-height: 45px;
        color: #636363;
        padding: 0px 0px 0px 32px;
        display: block;
        margin-bottom: 2px;
    }

    #mainnav ul.submenu li ul {
        position: absolute;
        left: 220px;
        top: -15px !important;
    }

    #mainnav ul.submenu > li > a:hover,
    #mainnav ul.submenu > li.active > a,
    #mainnav ul.submenu-child > li.active > a {
        background: #f5f5f5;
    }

#mainnav > ul.menu li:hover > ul.submenu {
    top: 100%;
    opacity: 1;
    visibility: visible;
}

/* Right submenu */
#mainnav ul.right-submenu {
    left: auto;
    right: 0;
}

/* Mobile button */
.mobile-button {
    display: none;
    position: absolute;
    width: 26px;
    height: 26px;
    top: 50%;
    right: 0;
    margin: 0px 20px 0px 0px;
    background-color: transparent;
    cursor: pointer;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

    .mobile-button:before,
    .mobile-button:after {
        content: '';
        position: absolute;
        top: 0;
        height: 3px;
        width: 100%;
        left: 0;
        top: 50%;
        -webkit-transform-origin: 50% 50%;
        -ms-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
    }

    .mobile-button:before {
        -webkit-transform: translate3d(0,-7px,0);
        -moz-transform: translate3d(0,-7px,0);
        transform: translate3d(0,-7px,0);
    }

    .mobile-button:after {
        -webkit-transform: translate3d(0,7px,0);
        -moz-transform: translate3d(0,7px,0);
        transform: translate3d(0,7px,0);
    }

    .mobile-button:before,
    .mobile-button:after,
    .mobile-button span {
        background-color: #98c739;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    .mobile-button span {
        position: absolute;
        width: 100%;
        height: 3px;
        left: 0;
        top: 50%;
        overflow: hidden;
        text-indent: 200%;
    }

    .mobile-button.active span {
        opacity: 0;
    }

    .mobile-button.active:before {
        -webkit-transform: rotate3d(0, 0, 1, 45deg);
        -moz-transform: rotate3d(0, 0, 1, 45deg);
        transform: rotate3d(0, 0, 1, 45deg);
    }

    .mobile-button.active:after {
        -webkit-transform: rotate3d(0, 0, 1, -45deg);
        -moz-transform: rotate3d(0, 0, 1, -45deg);
        transform: rotate3d(0, 0, 1, -45deg);
    }

.btn-submenu {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0px;
    font-family: "FontAwesome";
    color: #fff;
    font-size: 20px;
    line-height: 47px;
    background: #333;
    width: 48px;
    height: 47px;
    text-align: center;
}

    .btn-submenu:before {
        content: "\f107";
    }

    .btn-submenu.active:before {
        content: "\f106";
    }

/* Main nav mobile */
#mainnav-mobi {
    margin: 0 auto;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    background-color: #222;
}

    #mainnav-mobi ul {
        margin: 0px;
        padding: 0px;
        display: block;
    }

        #mainnav-mobi ul li {
            margin: 0;
            text-align: left;
            cursor: pointer;
            padding: 0;
            position: relative;
            border-top: 1px solid #333;
        }

            #mainnav-mobi ul li.active > a {
                color: #f63440;
            }

            #mainnav-mobi ul li a {
                display: inline-block;
                text-transform: uppercase;
                font-weight: 400;
                line-height: 48px;
                color: #fff;
            }

                #mainnav-mobi ul li a:hover {
                    color: #f63440;
                }

    #mainnav-mobi > ul > li > a {
        padding: 0px 20px;
    }

    #mainnav-mobi ul.submenu > li > a {
        padding: 0px 40px;
    }

    #mainnav-mobi ul.submenu li ul.submenu > li > a {
        padding: 0px 60px;
    }

/* =============================
   Components: Blog, Sidebar, Widgets, etc.
   ============================= */
/* Blog
---------------------------------------------------------------*/
.blog-posts {
    padding: 108px 0px 71px 0px;
}

    .blog-posts .post-wrap {
        margin-bottom: 31px;
    }

article {
    margin-bottom: 27px;
}

    article .title-post {
        position: relative;
        padding-bottom: 25px;
        margin-bottom: 20px;
    }

        article .title-post:after {
            content: "";
            width: 100%;
            height: 1px;
            background: #ebebeb;
            position: absolute;
            bottom: 0;
            left: 0;
        }

    article ul li {
        display: inline-block;
        line-height: 30px;
    }

    article .meta-post {
        margin-bottom: 10px;
    }

        article .meta-post li {
            font-weight: 300;
        }

        article .meta-post .author a {
            font-weight: 400;
        }

        article .meta-post .date,
        article .meta-post .comment {
            float: right;
        }

        article .meta-post .date {
            margin-right: 21px;
        }

        article .meta-post .comment {
            position: relative;
            margin: 0px 2px 0px 25px;
        }

            article .meta-post .comment:before {
                content: "|";
                position: absolute;
                top: 0px;
                left: -25px;
                width: 2px;
                height: 14px;
                color: #bababa;
                font-weight: 300;
            }

    article .featured-post {
        margin-bottom: 25px;
    }

    article .entry-post {
        padding-left: 2px;
    }

    article .more-link a {
        position: relative;
        display: inline-block;
        color: #f63440;
        font-weight: 500;
        line-height: 46px;
    }

        article .more-link a:after {
            content: "\f101";
            font-family: "FontAwesome";
            color: #f63440;
            position: absolute;
            top: 0px;
            right: -12px;
            -webkit-transition: all 0.3s ease-in-out;
            -moz-transition: all 0.3s ease-in-out;
            -o-transition: all 0.3s ease-in-out;
            transition: all 0.3s ease-in-out;
        }

        article .more-link a:hover:after {
            right: -20px;
        }

/* Style1 */
.blog-posts.style1 {
    padding: 62px 0px 70px 0px;
}

.post-wrap.style1 {
    margin: 0px 70px 25px 0px;
}

    .post-wrap.style1 article .title-post {
        padding-bottom: 15px;
        margin-bottom: 11px;
    }

    .post-wrap.style1 article .featured-post {
        margin-bottom: 23px;
    }

    .post-wrap.style1 article.margin_bottom30 {
        margin-bottom: 30px;
    }

/* Style2 */
.blog-posts.style2 {
    padding: 63px 0px 68px 0px;
}

.post-wrap.style2 {
    margin: 0px 70px 39px 0px;
}

    .post-wrap.style2 article {
        border-bottom: 1px solid #ebebeb;
        padding-bottom: 29px;
        margin-bottom: 24.5px;
    }

        .post-wrap.style2 article:last-child {
            border-bottom: 0px;
            padding: 0;
        }

        .post-wrap.style2 article .featured-post {
            float: left;
            margin: 7px 50px 0px 0px;
        }

        .post-wrap.style2 article .content-post {
            overflow: hidden;
        }

            .post-wrap.style2 article .content-post .title-post {
                padding: 0;
                margin-bottom: 2px;
            }

                .post-wrap.style2 article .content-post .title-post:after {
                    width: 0;
                    height: 0;
                }

                .post-wrap.style2 article .content-post .title-post h2 {
                    font-size: 18px;
                    line-height: 28px;
                }

        .post-wrap.style2 article .meta-post {
            margin-bottom: 13px;
        }

            .post-wrap.style2 article .meta-post .comment {
                float: none;
                margin: 0px 3px 0px 42px;
            }

/* Style3 */
.post-wrap.style3 article {
    margin-bottom: 0px;
}

    .post-wrap.style3 article .featured-post {
        position: relative;
        margin: 0px;
    }

post-wrap article .featured-post img {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.post-wrap.style3 article .content-post {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 48px 20px;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-30px);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.post-wrap.style3 article .title-post {
    padding: 0px;
    margin-bottom: 5px;
}

    .post-wrap.style3 article .title-post h2 {
        font-size: 26px;
        color: #fff;
    }

        .post-wrap.style3 article .title-post h2 a {
            color: #fff;
        }

    .post-wrap.style3 article .title-post:after {
        background-color: transparent;
        height: 0px;
    }

.post-wrap.style3 article .meta-post {
    margin-bottom: 7px;
}

    .post-wrap.style3 article .meta-post li,
    .post-wrap.style3 article .meta-post li a {
        color: #fff;
        font-weight: 300;
        font-size: 12px;
    }

    .post-wrap.style3 article .meta-post li {
        margin-right: 0px;
        float: none;
        position: relative;
        padding: 0px 9.5px;
    }

        .post-wrap.style3 article .meta-post li:before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 1px;
            height: 11px;
            margin: 9px 0px 0px -3px;
            background-color: #fff;
        }

        .post-wrap.style3 article .meta-post li:first-child:before {
            width: 0px;
            background-color: transparent;
        }

.post-wrap.style3 article p {
    color: #fff;
    font-weight: 300;
}

.post-wrap.style3 article .more-link a {
    line-height: 36px;
    font-weight: 700;
    margin-top: 25px;
}

    .post-wrap.style3 article .more-link a:after {
        content: "";
    }

    .post-wrap.style3 article .more-link a:before {
        content: "";
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 1px;
        background-color: #f63440;
        left: 0;
        margin-bottom: 8px;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

.post-wrap.style3 article .title-post:hover h2 a,
.post-wrap.style3 article .meta-post li:hover a {
    color: #f63440;
}

.post-wrap.style3 article:hover .content-post {
    opacity: 1;
    visibility: visible;
    transform: translateX(0px);
}

.post-wrap.style3 article .more-link a:hover:before {
    width: 0%;
}

.post-wrap.style4 article:hover .featured-post img,
.post-wrap.style3 article:hover .featured-post img {
    transform: scale(1.1);
}

/* Style4 */
.post-wrap.style4 article,
.post-wrap.style4 article .featured-post {
    margin: 0px;
}

    .post-wrap.style4 article .content-post {
        padding-top: 20px;
    }

    .post-wrap.style4 article .meta-post {
        margin: 0px;
    }

        .post-wrap.style4 article .meta-post li {
            float: none;
            position: relative;
            line-height: 28px;
            margin: 0px;
            padding: 0px 17px 0px 22px;
        }

            .post-wrap.style4 article .meta-post li,
            .post-wrap.style4 article .meta-post li a {
                font-size: 12px;
                font-weight: 200;
                color: #222;
            }

                .post-wrap.style4 article .meta-post li:before {
                    content: "";
                    width: 1px;
                    height: 11px;
                    position: absolute;
                    top: 0;
                    left: 0px;
                    margin-top: 8px;
                    background-color: #c5c5c5;
                    opacity: 0.7;
                }

                .post-wrap.style4 article .meta-post li:first-child {
                    padding-left: 0px;
                }

                    .post-wrap.style4 article .meta-post li:first-child:before {
                        width: 0px;
                        height: 0px;
                    }

    .post-wrap.style4 article .title-post {
        padding: 0px;
        margin: 0px;
    }

        .post-wrap.style4 article .title-post:after {
            height: 0px;
            background-color: transparent;
        }

        .post-wrap.style4 article .title-post h2 {
            font-size: 18px;
        }

    .post-wrap.style4 article .more-link a {
        letter-spacing: -0.2px;
        padding-right: 6px;
        line-height: 43px;
    }

    .post-wrap.style4 article .entry-post {
        padding-left: 0px;
    }

    .post-wrap.style4 article .more-link a:after {
        content: "\f178";
    }

    .post-wrap.style4 article .meta-post li a:hover {
        color: #f63440;
    }

/* Grid */
.grid-posts {
    padding: 72px 0px 69px 0px;
}

    .grid-posts.style2 {
        padding-top: 70px;
    }

.grid {
    margin: 0px -15px;
    overflow: hidden;
}

    .grid.three article {
        float: left;
        width: 33.333333%;
        padding: 0px 15px;
        margin-bottom: 32px;
    }

    .grid article .featured-post {
        margin-bottom: 22px;
    }

    .grid article .entry-post {
        padding-left: 0px;
    }

    .grid article .title-post {
        margin-bottom: 6px;
        padding: 0;
    }

        .grid article .title-post:after {
            width: 0;
            height: 0;
        }

        .grid article .title-post h2 {
            font-size: 18px;
            line-height: 30px;
        }

    .grid.two article {
        float: left;
        width: 50%;
        padding: 0px 15px;
        margin-bottom: 32px;
    }

/* =============================
   Custom Tables & About Box
   ============================= */
.mytable-blkbkgrd {
    border-style: solid;
    border: thick;
    border-color: greenyellow;
    background-color: #000000;
    color: white;
    font-size: x-large;
    padding: 5px;
}

.mytable-whtbkgrd {
    border-style: solid;
    border: thick;
    background-color: white;
    color: black;
    font-size: medium;
    padding: 5px;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
}

    .custom-table th, .custom-table td {
        border: 0px solid #ccc;
        padding: 8px;
        text-align: center;
    }

    .custom-table th {
        background-color: #f2f2f2;
    }

    .custom-table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

.custom-table2 {
    width: 100%;
    border-collapse: collapse;
}

    .custom-table2 th, .custom-table2 td {
        font-size: large;
        border: 0px solid #ccc;
        padding: 8px;
        text-align: left;
    }

    .custom-table2 th {
        background-color: #f2f2f2;
    }

    .custom-table2 tr:nth-child(even) {
        background-color: #f9f9f9;
    }

.full-width {
    width: 100%;
}

.howitworks-img {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: contain;
    display: inline-block;
}

.howitworks-cell, .contact-cell {
    font-size: 16px
}

.contact-table p {
    font-size: 18px !important;
}

.contact-table a {
    font-size: 17px !important;
}

.collapsible {
    background-color: black;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

.about-img {
    width: 100%;
    max-width: 100px;
    height: auto;
    object-fit: contain;
    display: inline-block;
}

.about-box {
    border-collapse: collapse;
    margin: 0 auto;
}

    .about-box td {
        width: 300px;
        height: 300px;
        text-align: center;
        vertical-align: middle;
    }

    .about-box i {
        font-size: 58px;
        margin-bottom: 0;
        color: #4285f4;
        display: inline-block;
        line-height: 58px;
        cursor: pointer;
        border-radius: 50%;
    }

    .about-box h3 {
        font-size: 20px;
        color: #292929;
        margin-bottom: 15px;
    }

    .about-box p {
        padding: 0 10px;
    }
    /* Responsive contact table cell and font size */
    .about-box td {
        width: 300px;
        height: 300px;
        text-align: center;
        vertical-align: middle;
        padding: 32px 8px;
        font-size: 1.2rem;
    }

/* =============================
   Utility: Buttons, Links, Toggles
   ============================= */
.toggle-title {
    padding: 15px 0 0 5px !important;
    height: 45px !important;
    font-size: 24px !important
}

.toggle-content {
    font-size: 14px !important;
}

.content1 {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
}

.link-set-2 {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

    .link-set-2:hover, .link-set-2:focus {
        color: #98c739;
        text-decoration: none;
        outline: 0;
        transition: all 0.3s ease-in-out;
    }

.center-links a {
    font-size: 16px !important;
}

.py-25 {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

/* =============================
   Responsive & Media Queries
   ============================= */
@media (min-width: 1201px) {
    .toggle-title {
        height: 55px;
        font-size: 18px
    }

    .toggle-content {
        font-size: 16px !important;
    }

    .themesflat-button {
        font-size: 2rem !important;
        padding: 16px 36px !important;
        min-width: 180px !important;
        min-height: 60px;
    }
}

@media (max-width: 1200px) {
    .about-box td {
        width: 220px;
        height: 220px;
        padding: 20px 4px;
        font-size: 1rem;
    }

    .about-box h3 {
        font-size: 18px;
    }

    .about-box p {
        font-size: 15px;
    }

    .howitworks-img {
        width: 200px;
        height: 142px;
    }

    #logo img {
        width: 300px;
    }

    .themesflat-button {
        font-size: 1.7rem !important;
        padding: 16px 36px !important;
        min-width: 150px !important;
        min-height: 50px !important;
    }
}

@media (max-width: 992px) {
    .about-img {
        max-width: 80px;
    }

    .about-box td {
        width: 100%;
        height: auto;
        display: block;
        padding: 12px 2px;
        font-size: 0.95rem;
    }

    .about-box h3 {
        font-size: 16px;
    }

    .about-box p {
        font-size: 14px;
    }

    .howitworks-cell, .contact-cell {
        width: 100%;
        display: block;
    }

    .contact-table p {
        font-size: 16px !important;
    }

    .contact-table a {
        font-size: 15px !important;
    }

    .menu a {
        font-size: 16px !important;
    }

    .howitworks-img {
        width: 100%;
        height: auto;
    }

    #top-bar .top-bar-content a {
        font-size: 14px !important;
    }

    #top-bar .top-bar-nav a {
        font-size: 14px !important;
    }

    #logo img {
        width: 250px;
    }

    .center-links a {
        font-size: 14px !important;
    }

    .font-size-huge, .font-size-huge a {
        font-size: 48px !important;
    }

    .font-size-xxx-large, .font-size-xxx-large a {
        font-size: 36px !important;
    }

    .font-size-xx-large, .font-size-xx-large a {
        font-size: 28px !important;
    }

    .font-size-x-large, .font-size-x-large a {
        font-size: 25px !important;
    }

    .font-size-larger, .font-size-larger a {
        font-size: 20px !important;
    }

    .font-size-large, .font-size-large a {
        font-size: 16px !important;
    }

    .font-size-medium, .font-size-medium a {
        font-size: 14px !important;
    }

    .font-size-small, .font-size-small a {
        font-size: 12px !important;
    }

    .font-size-x-small, .font-size-x-small a {
        font-size: 10px !important;
    }

    .themesflat-button {
        font-size: 1.3rem !important;
        padding: 12px 28px !important;
        min-width: 100px !important;
        min-height: 40px !important;
    }
}

@media (max-width: 576px) {
    .about-box td {
        padding: 6px 1px;
        font-size: 0.8rem;
    }

    .about-box h3 {
        font-size: 14px;
    }

    .about-box p {
        font-size: 13px;
    }

    #logo img {
        width: 150px;
    }

    .font-size-huge, .font-size-huge a {
        font-size: 42px !important;
    }

    .font-size-xxx-large, .font-size-xxx-large a {
        font-size: 32px !important;
    }

    .font-size-xx-large, .font-size-xx-large a {
        font-size: 24px !important;
    }

    .font-size-x-large, .font-size-x-large a {
        font-size: 20px !important;
    }

    .font-size-larger, .font-size-larger a {
        font-size: 18px !important;
    }

    .font-size-large, .font-size-large a {
        font-size: 14px !important;
    }

    .font-size-medium, .font-size-medium a {
        font-size: 12px !important;
    }

    .font-size-small, .font-size-small a {
        font-size: 10px !important;
    }

    .font-size-x-small, .font-size-x-small a {
        font-size: 10px !important;
    }
    .themesflat-button {
        font-size: 1.2rem !important;
        padding: 10px 20px !important;
        min-width: 80px !important;
        min-height: 30px !important;
    }
}