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

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

.tax-featured_item_category .box-image > div , .single-featured_item .box-image > div{
    height: 165px;
}
.footer-widgets li.recent-blog-posts-li .post_comments {
    display: none;
}
.tax-featured_item_category .box-image img , .single-featured_item .box-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tax-featured_item_category .page-title-inner h1:after {
    height: 3px;
    display: block;
    background-color: rgba(0,0,0,0.1);
    width: 100%;
    max-width: 30px;
    content: '';
    margin: 18px auto;
}
.tax-featured_item_category .page-title-inner h1 {
    text-align: center;
    text-transform: none;
    letter-spacing: 0;
    padding-top: 10px;
}
body:not(.home) .footer-widgets.footer.footer-1{
    display: none;
}
.row-small>.col.product-small {
        padding: 10px 15px 20px;
}
.badge-container {
    margin: -15px 0 0 -15px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 90px;
}
/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover , .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.modal-header {
    padding: 2px 16px;
    border-top: 7px solid #d61921;
}
.modal-body {padding: 2px 30px;}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 40%;
    min-width: 600px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.4s
}
@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}
.gform_wrapper .top_label .ginput_container_email input.medium {
    width: 100%;
}
.modal-content h3 {
    font-size: 24px;
    line-height: 1;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: 15px;
}
.gform_confirmation_wrapper .gform_confirmation_message {
    margin-top: 25px;
    margin-bottom: 25px;
    background: transparent;
    color: #321e42;
    font-size: 20px;
    text-align: center;
}
.post-more.gravity-button {
    cursor: pointer;
    color: #e52b26;
}
#gform_wrapper_2 .top_label input.medium, #gform_wrapper_2 .top_label select.medium {
    width: 100%;
}
#gform_wrapper_2 .name_first label {
    display: none !important;
}
.featured-item-category-services .gravity_form_button {
    display: none;
}
.header-nav.header-nav-main.nav-left li {
    margin: 0 10px;
}
.header-nav.header-nav-main.nav-left {
    display: block;
    text-align: center;
}
.footer-widgets span.product-title {
    color: #334862;
}
.star-rating span:before{
	color: #d61a21 !important;
}
.category-page-row .large-9 {
    padding-left: 60px;
}
.product-small .box-image img {
    padding: 15px;
}
.product-small.box {
    min-height: 335px;
}
.image-tools .cart-icon{
	left: 15px;
}
.zerox-logo{
    height: 60px;
    margin-left: 50px;
}
.footer-1 .large-columns-4 span.widget-title {
    color: #d61921;
}
.box-text.box-text-products {
    border-top: 1px solid #e5e5e5;
}
a.ajax_add_to_cart.add_to_cart_button:hover {
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
}
.cart-icon strong{
    line-height: 1.5em;
    width: 2em;
    height: 2em;
}
.cart-icon strong:after{
    width: 13px;
}
.flickity-viewport .badge-container {
    margin: 0;
}
.product-video-popup {
    display: none !important;
}
.frm_style_formidable-style.with_frm_style input[type=text], .frm_style_formidable-style.with_frm_style input[type=password], 
.frm_style_formidable-style.with_frm_style input[type=email], .frm_style_formidable-style.with_frm_style input[type=number], 
.frm_style_formidable-style.with_frm_style input[type=url], .frm_style_formidable-style.with_frm_style input[type=tel], 
.frm_style_formidable-style.with_frm_style input[type=file], .frm_style_formidable-style.with_frm_style input[type=search], 
.frm_style_formidable-style.with_frm_style select {
    padding: 5px 4px;
    height: 2.507em;
    border-radius: 0;
}
.frm_style_formidable-style.with_frm_style .frm_compact .frm_dropzone.dz-clickable .dz-message, 
.frm_style_formidable-style.with_frm_style input[type=submit], .frm_style_formidable-style.with_frm_style .frm_submit input[type=button], 
.frm_style_formidable-style.with_frm_style .frm_submit button, .frm_form_submit_style {
    background-color: #d61921;
    text-transform: uppercase;
    font-weight: bolder;
    padding: 0 1.2em;
    color: #fff;
    font-size: 1em;
    border: none;
    border-radius: 0;
    letter-spacing: 1px;
    font-family: "Lato", sans-serif;
}
.modal-content form {
    margin-bottom: 0;
}
.lightbox-content{
    max-width: 1000px;
}
.product-gallery-video-container {
    height: 420px;
}
.product-gallery-video-container iframe {
    width: 100%;
    height: 400px;
}
.product-images .flickity-viewport {
    min-height: 510px;
}
.youtube-button a {
    height: 108px;
}




.user-files h3 {
    margin-bottom: 20px;
}
.user-files ul {
    padding-left: 20px;
    margin-bottom: 40px;
}
.user-files img {
    width: 125px;
}
.user-files>a:before {
    content: '';
    background: #000;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: .2;
    transition: .4s;
}
.user-files>a:hover:before {
    opacity: 0;
}
.user-files>a {
    display: inline-block;
    position: relative;
}
.home .sidebar-wrapper ul.product_list_widget li {
    width: 25%;
    float: left;
    padding-right: 20px;
    border-top: none !important;
}
.dark .social-icons {
    display: block;
    margin-top: 20px;
}
.home .flickity-slider>div:not(.col) {
    margin: 0 10px;
}
ul#small-mob-menu {
    display: none;
}
ul#big-device-menu{
    display: block;
}


@media only screen and (max-width: 849px) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.home .sidebar-wrapper ul.product_list_widget li {
    width: 100%;
}
	
	#logo {
    float: left;
    margin: 0;
    width: 115px !important;
    margin-top: 5px;
}

.zerox-logo {
    float: right !important;
    margin: 0;
    height: 40px;
}

.medium-logo-center .flex-left {float: none;display: inline-block;}

.header .flex-row {
    display: block;
    text-align: center;
    padding-top: 15px;
}

.medium-logo-center .flex-right {
    display: inline-block;
}
.is-larger {
    font-size: 16px;
}
	.dark a.lead, .dark label, .dark .heading-font, .dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6, .hover-dark:hover p, .hover-dark:hover h1, .hover-dark:hover h2, .hover-dark:hover h3, .hover-dark:hover h4, .hover-dark:hover h5, .hover-dark:hover h6, .hover-dark:hover a {
    text-align: center !important;
}
	p {
    text-align: center !important;
}
	h1, h2, h3, h4, h5, h6, .heading-font, .banner h1, .banner h2 {
    text-align: center !important;
}
	.col-inner {
    text-align: center;
}
	
.ux-youtube.fill {
    display: block !important;
}
	.category-page-row .large-9 {
    padding-left: 15px;
}
	.product-small.box {
    min-height: unset;
}
	.product-gallery-video-container iframe {
    width: 100%;
    height: 250px;
}
	.product-gallery-video-container {
    height: 250px;
}
	.product-images .flickity-viewport {
    min-height: unset;
}
	.youtube-button a {
    height: auto;
}
	.container .row:not(.row-collapse) {
    margin: 0;
}
	.badge-container {
    margin: 0;
}
	.gravity_form_button {
    text-align: center;
}
	.modal-content {
    width: 100%;
    min-width: 100%;
}
	.entry-content.single-page {
    text-align: center;
}
	.blog-single .entry-author {
    display: none;
}
ul#small-mob-menu {
    display: block;
}
ul#big-device-menu{
    display: none;
}

}
.video.video-fit.mb {
    padding-top: 0!important;
}