/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0.5
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/***Custom langing section ***/
.custom-landing{
    width: 1300px;
    margin: 0 auto;
    padding-top: 30px !important;
}

html{
    background-color: #ffffff !important;
}

body, div:not(.text-center) > p:not(.top-icons){
    text-align: justify;
}

p.top-icons a{
    padding-left: 5px;
}

/*** Remove logo placeholder ***/
#logo {
    display: none;
}

.top-block {
    padding-top: 10px !important;
}

.top-icons {
    margin-bottom: 0px;
    font-size: 13px;
}

.top-icons a {
    color: #aaa;
}
.top-icons a:hover {
    color: #b6121b;
}

/** add plus and minus sign on image lightbox*/
.mfp-gallery .mfp-image-holder .mfp-figure {
    cursor: default;
}

.image-lightbox::after {
    content: '+';
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #b6121b;
    border-radius: 5px;
    color: #fff;
    font-size: 35px;
    text-align: center;
    height: 25px;
    width: 25px;
    line-height: 20px;
}

.mfp-close {
    opacity: 1 !important;
    cursor: pointer !important;
    mix-blend-mode: normal;
}

.mfp-close::after {
    content: '-';
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #b6121b;
    border-radius: 5px;
    color: #fff;
    font-size: 35px;
    text-align: center;
    height: 25px;
    width: 25px;
    line-height: 20px;
}

button.mfp-close {
    display: none;
}

/*** remove images from ux_pages shortcode if vertical layout, add excerpt, button and mail ***/
.box-vertical {
    margin: -25px 0;
}

.box-vertical .box-image {
    display: none;
}
.box-vertical .box-text-inner {
    display: inline-block;
    max-width: calc(100% - 45px);
    position: relative;
    margin-left: 40px;
}
.box-vertical .arrow-button {
    display: inline-block;
    background-color: #b6121b;
    border-radius: 5px;
    color: #fff;
    font-size: 35px;
    text-align: center;
    height: 25px;
    width: 25px;
    line-height: 20px;
    margin-right: 15px;
    position: absolute;
    top: 36px;
}

.box-vertical .mail-in-title {
    padding-left: 3px;
    font-size: 0.8em;
}

/*** main menu custom stuff.... ***/

.header-wrapper:not(.stuck) .menu-item-has-children::after,
.header-wrapper:not(.stuck) .menu-item-has-children::before {
    display: none;
}

.header-wrapper:not(.stuck) .nav-dropdown {
    background: none;
    border: none;
    box-shadow: none;
}
.header-wrapper:not(.stuck) .nav-dropdown a {
    color: #000000;
    border: none;
    font-weight: bold;
}
.header-wrapper:not(.stuck) .nav-dropdown a:hover {
    color: #b6121b;
}

/*** Remove header exerpt ***/
.page-header-excerpt {
    display: none;
}

.button.active {
    color: #333 !important;
}
.button.active:before {
    left: 0%;
    width: 100%;
    opacity: 1;
}

.icon-box > a.plain {
    padding-right: 15px;
}

.icon-box-text > a.plain,
.icon-box-text > p > a.plain {
    pointer-events: none;
}

.mfp-bg{
    background: #fff;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
}

@media print {
    .top-block,
    #header,
    .no-print {
        display: none;
    }
    #content > .gap-element {
        margin-bottom: -125px;
    }
}
