/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

 /* Prevents Horizontal scroll */
@media screen and (max-width:480px){
    html, body {
      overflow-x: hidden;
    }
    body {
      position: relative
    }
}
@font-face {
    font-family: clarikaMed;
    src: url(/wp-content/uploads/fonts/Clarika/The_Refinery_-_Clarika_Geo_Medium.otf);
    font-weight: bold;
}
@font-face {
    font-family: clarikaThin;
    src: url(/wp-content/uploads/fonts/Clarika/The_Refinery_-_Clarika_Geo_Thin.otf);
    font-weight: 100;
}
@font-face {
    font-family: clarikaLight;
    src: url(/wp-content/uploads/fonts/Clarika/The_Refinery_-_Clarika_Geo_Light.otf);
    font-weight: 300;
}
@font-face {
    font-family: clarika;
    src: url(/wp-content/uploads/fonts/Clarika/The_Refinery_-_Clarika_Geo_Regular.otf);
    font-weight: 400;
}
  
h1, h2, h3{
    font-family: 'Noto Serif';
}
p, input, label{
    font-family: "Clarika", Clarika;
}


/* 
    Navigatgion Bar
*/
nav#main-menu {
    text-align: left;
}
.elementor-nav-menu > .menu-item > a{
    font-family: 'Clarika', 'Open Sans';
}
div#phone-num a {
    background-color: #FF6A6A;
    color: #fff;
    padding: 10px 30px;
    border-radius: 7px;
}
.elementor-nav-menu > li {
    position: relative;
}
.elementor-nav-menu li + li:before {
    content: '';
    width: 1px;
    background-color: #000;
    height: 10px;
    position: absolute;
    top: 20px;
    left: 0;
}
.elementor-nav-menu > .menu-item {
    text-transform: uppercase;
}

/* 
   Articles & Authors page - Category Icons
*/
.article-category a ,
.article-category .elementor-icon-list-item[itemprop="about"] {
    border-bottom: 1px solid #989898;
}
.single-post .article-category.top a {
    border-bottom: 0;
}
.rewards-category i,
.article-category i {
    background-size: contain;
}
.article-category i {
    height: 28px;
    width: 28px !important;
}
.rewards-category i {
    height: 16px;
    width: 16px !important;
}
.rewards-category i:before,
.article-category i:before{
    opacity: 0;
}
.rewards-category span.elementor-icon-list-icon ,
.article-category span.elementor-icon-list-icon {
    position: absolute;
}
.page-id-538 .article-category span.elementor-icon-list-icon ,
.parent-pageid-538 .article-category span.elementor-icon-list-icon {
    right: -20px;
    top: -10px;
}
.article-category span.elementor-icon-list-icon {
    right: -28px;
    top: -2px;
}
.author .article-category span.elementor-icon-list-icon {
    top: -10px;
    right: -20px;
}
.rewards-category span.elementor-icon-list-icon {
    right: -26px;
    top: 5px;
}
.author .rewards-category span.elementor-icon-list-icon {
    right: -18px;
    top: -4px;
}
.foodie-icon{
    background: url(/wp-content/uploads/2019/09/food-guide-icon-red.png) no-repeat;
}
.weekend-icon{
    background: url(/wp-content/uploads/2019/09/weekend-guide-icon-purp.png) no-repeat;
} 
.fooddrinks-icon{
    background: url(/wp-content/uploads/2019/09/ft-rewards-foodrinks-icon.png) no-repeat;
}
.entertainment-icon{
    background: url(/wp-content/uploads/2019/09/ft-rewards-entertainment-icon.png) no-repeat;
}
.lifestyle-icon{
    background: url(/wp-content/uploads/2019/09/ft-rewards-lifestyle-icon.png) no-repeat;
}
.purp{
    color:#5A4FFF !important;
}

@media (max-width: 1024px) and (min-width: 481px){
    .rewards-category span.elementor-icon-list-icon {
        right: -35px;
        top: 0px;
    }
}
@media (max-width: 480px){
    .rewards-category span.elementor-icon-list-icon {
        right: -35px;
        top: 5px;
    }
    .article-category span.elementor-icon-list-icon {
        top: 0px;
    }
}

/* 
    Footer & Copyrights
*/
.sp-pc-post-image {
    position: relative;
}
#flexdigest-row .sp-pc-post-image:after,
#flexdigest-row a.elementor-post__thumbnail__link:after {
    content: "";
    background: url(/wp-content/uploads/2019/09/blog-article-readmore-btn.png) no-repeat;
    position: absolute;
    width: 56px;
    height: 47px;
    bottom: 0;
    right: 0;
    background-size: 100%;
}


/* 
    Footer & Copyrights
*/
#footer-sidebars > .row aside{
    padding-top: 30px;
}
footer #media_image-2 {
    margin: 0 auto;
    width: 185px;
}
footer #text-2 li+li:before {
    content: '|';
    padding: 10px;
}
footer #text-2 {
    text-align: center;
}
footer #text-2 li {
    display: inline-block;
    text-transform: uppercase;
}
.copyrights .first > p a {
    margin: 0 10px;
}


/* 
    Flex Digest Hover
 */

#flexdigest-row .post .elementor-post__thumbnail:before,
.slick-slide .sp-pc-post-image a:before,
/* .eael-grid-post-holder .eael-entry-thumbnail:after , */
.eael-entry-header a.eael-grid-post-link:after
{
    content: '';
    height: 100%;
    width: 100%;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    transition: background 0.3s ease;
}
#flexdigest-row .post:hover .elementor-post__thumbnail:before,
.slick-slide:hover .sp-pc-post-image a:before,
/* .eael-grid-post-holder:hover .eael-entry-thumbnail:after, */
.eael-entry-header:hover a.eael-grid-post-link:after
{
    background: #ff6a6a52;
}
.slick-slide .sp-pc-post-image a:before{
	height:100%;
}


#flexdigest-row .post:hover .elementor-post__thumbnail:before{
	z-index:1;
} 