/**
 * style.css
 * 
 * InsideFlyer NL styles.
 * 
 * @package InsideFlyer NL
 * @since InsideFlyer NL 1.0.0
 */

/**
 * Theme Name: InsideFlyer NL
 * Theme URI: http://insideflyer.com/
 * Description: InsideFlyer - Required Reading for Frequent Flyers
 * Version: 1.1.1
 * Author: Joshua Fach
 * Author URI: http://frequentflyerservices.com/
 * Text Domain: insideflyernl
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Tags: Blue, Yellow, Two Columns, Three Columns, Right Sidebar, Responsive Layout, Custom Menus, Featured Images, Post Formats, Sticky Post, Threaded Comments, Translation Ready
 * Template: insideflyer
 */

/*  Copyright 2014  Joshua Fach  (email : jfach@frequentflyerservices.com)

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License, version 2, as 
    published by the Free Software Foundation.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
*/


/* ==========================================================================
    5.2 - IF News Ticker
========================================================================== */

/* News Ticker */
#if-news-ticker {
	color: #333;
	font-size: 20px;
	font-weight: 600;
	text-transform: uppercase;
	display: flex;
	justify-content: space-between;
	border-bottom: unset!important;
	align-items: center;
	max-height: 80px;
	background: #f5f5f5;
	height: 54px;
}
#if-news-ticker .news-first {
	display: flex;
	gap: 12px;
	align-items: center;
	overflow-x: hidden;
	height: 100%;
	overflow-y: hidden;
}
#if-news-ticker span.news {
	background: #015da2;
	padding: 0 12px;
	color: #FFFFFF;
	height: 100%;
	align-content: center;
}
#if-news-ticker ul.ticker {
	list-style-type: none;
	padding: 0px 12px 0px 0px;
	overflow-x: hidden;
	margin-bottom: 0px;
	height: 100%;
	align-content: center;
}
#if-news-ticker ul.ticker li {
	display: none;
	opacity: 0;
}
#if-news-ticker ul.ticker li.active {
	display: list-item;
	opacity: 1;
}
#if-news-ticker ul.ticker li a {
	display: block;
	overflow: hidden;
	position: relative;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}
#if-news-ticker ul.ticker li a span.news {
	color: #fff;
    background: #015da2;
    padding: 12px;
}

/* Ticker Nav */
#if-news-ticker .ticker-nav {
    display: flex;
    flex-direction: column;
    background: #dbdbdb;
    padding: 2px 6px;
    height: 100%;
}
#if-news-ticker .ticker-nav span.ticker-prev,
#if-news-ticker .ticker-nav span.ticker-next {
	cursor: pointer;
	line-height: inherit;
	-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;
	font-size: 17px;
    position: relative!important;
}
#if-news-ticker .ticker-nav span.ticker-prev:hover,
#if-news-ticker .ticker-nav span.ticker-next:hover {
	color: #333;
}
#if-news-ticker .ticker-nav span.ticker-prev {
    left: unset;
}
#if-news-ticker .ticker-nav span.ticker-next {
    right: unset;
}

/* IF News Ticker (Extra Small) */
@media (max-width: 767px) { 
	#if-news-ticker {
		font-size: 18px;
	}
	#if-news-ticker ul.ticker {
		padding: 0 20px;
	}
	#if-news-ticker ul.ticker li a span.news {
		display: none;
	}
	#if-news-ticker .ticker-nav {
		display: none;
	}
}

/* IF News Ticker */
@media (max-width: 479px) { 
	#if-news-ticker ul.ticker {
		padding: 0;
	}
}