/* ---------------------------------------------------
    FONT
----------------------------------------------------- */

@font-face {
  font-family: TelefizionNetFont;
  src: url(fonts/DroidKufi-Regular.ttf);
}

/* ---------------------------------------------------
    MAIN STYLE
----------------------------------------------------- */

html, body {
	/* Prevent scroll on narrow devices */
	overflow-x: hidden;
}
header {
	z-index: 1000;
}
body {
	font-family: TelefizionNetFont;
    background: #ffffff;
	direction: rtl;
	text-align: right;
}
a {
    color: #555555;
}
a:hover, a:focus {
    text-decoration: none;
    transition: all 0.3s;
    color: #660000;
}
ul {
	list-style: none;
    margin: 0; /* To remove default bottom margin */ 
    padding: 0; /* To remove default left padding */
}
li {
    margin: 0; /* To remove default bottom margin */ 
    padding: 0; /* To remove default left padding */
}

.brand {
	width: 60px;
	height: 60px;
}

.search {
	width:300px !important;
}
.navbar {
    background: #fff;
    padding-left: 10px;
    padding-right: 10px;
    -webkit-box-shadow: 0 8px 6px -6px #999;
    -moz-box-shadow: 0 8px 6px -6px #999;
    box-shadow: 0 8px 6px -6px #999;
}
.nav-item > a:hover {
	color: red;
	
}
.nav-item > a.nav-link {
	color: teal;
}
.nav-item > a.active {
	color: red !important;
	box-shadow: 0 0 3px #999;
}
.navbar-nav {
  padding: 5px !important;
}
.navbar-nav > li.active > a {
  color: red !important;
}
.content-wrapper {
	display: block;
	align-items: stretch;
	background: #efefef;
/*	background: red; */
}
.content {
	maring: auto;
	padding-left: 15px;
	padding-right: 15px;
}

/* ---------------------------------------------------
    PANE STYLE
----------------------------------------------------- */

.pane {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: flex-start;
	align-content: flex-start;
	padding: 7px;

	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.section {
	height: 100%;
	display: flex;
	flex-direction: column;	
	background: #ffffff;
	
	overflow: hidden;
	text-overflow: ellipsis;

	border-radius: 5px;
	box-shadow: 0 0 5px #999;
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}

.section:hover {
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;

	-webkit-box-shadow: 0 0 7px #333;
	-moz-box-shadow: 0 0 7px #333;
	box-shadow: 0 0 7px #333;

	-webkit-transform: scale(1.02);
	-moz-transform: scale(1.02);
	-ms-transform: scale(1.02);
	-o-transform: scale(1.02);
	transform: scale(1.02);
}

.section-image {
	width: 100%;
	background: #fff;
	min-height: 120px;
	max-height: 200px;
}

.item-image {
	width: 100%;
	background: #fff;
	min-height: 120px;
}
.item {
	padding: 0px 5px 5px 5px;
}
.item-content {
	height: 100%;
	display: flex;
	flex-direction: row;
}
.item-title a {
	color: #111111;
	font-size:16px;
}
.item-title a:hover {
    color: #660000;
}
.item-description {
	padding-top: 5px;
	font-size:15px;
}
.item-time {
	padding-top: 5px;
}
.item-loading {
	width: 100%;
	font-size:18px;
	text-align: center;
	color: #cc0000;
}
.live-social {
	text-align: center;
}

.item-logo {
}
.item-logo img {
	width: 55px;
	height: 55px;
	padding: 5px;
}

/* ---------------------------------------------------
    ARTICLE PUB & SHARE
----------------------------------------------------- */
.social-footer-separator {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: auto;
    margin-right: auto;
    border-style: inset;
    border-width: 1px;
	position: bottom;
}


/* ---------------------------------------------------
    EMBEDDED VIDEO
----------------------------------------------------- */

.video-embed {
  position: relative;
  padding-bottom: 51%;
  /* 16:9 */
  background: black; /* change to red for debugging */
}
.video-embed video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  valign: center;
  width: 100%;
  height: 100%;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  valign: center;
  width: 100%;
  height: 100%;
}

/* ---------------------------------------------------
    NEWS SOURCE
----------------------------------------------------- */

.news-source img{
  width:50px;
  height:50px;
  margin-left:5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 0 5px #999;
  -moz-box-shadow: 0 0 5px #999;
  box-shadow: 0 0 5px #999;
}
.news-source img:hover {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-box-shadow: 0 0 7px #333;
    -moz-box-shadow: 0 0 7px #333;
    box-shadow: 0 0 7px #333;
}
.news-source.active img {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-box-shadow: 0 0 7px #f00;
    -moz-box-shadow: 0 0 7px #f00;
    box-shadow: 0 0 7px #f00;
}


/* ---------------------------------------------------
    SIDE MENU
----------------------------------------------------- */

.sidebar-menu {
  list-style-type: none;
  margin-top: 7px;
  margin-right: -10px;
  margin-left: -10px;
}
.sidebar-heading {
	text-align:center;
    font-size: 16px;
    color: #333333;
    padding-top: 10px;
    padding-bottom: 5px;
}
.sidebar-section {
    list-style-type: none;
    margin-bottom: 10px;
    background:white;   
    border-radius: 5px;
    -webkit-box-shadow: 0 0 5px #999;
    -moz-box-shadow: 0 0 5px #999;
    box-shadow: 0 0 5px #999;
    width:100%;
}
.sidebar-section:hover {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-box-shadow: 0 0 7px #333;
    -moz-box-shadow: 0 0 7px #333;
    box-shadow: 0 0 7px #333;
}
.sidebar-section ul { 
	display: table; 
	font-size:0;
    padding-bottom: 5px;
}
.sidebar-section li { 
	display: inline-table; 
	font-size:15px;
    padding: 5px;
}

.sidebar-section li.source { 
    text-align:center;
    padding: 5px 0px 5px 0px;
}
.sidebar-section li a {
    font-weight: 550;
    color: #555555;
	border: 1px solid transparent;
    border-radius: 5px;
}
.sidebar-section li.country.active a, 
.sidebar-section li.category.active a {
  color: #f00;
  font-weight: 550;
  border: 1px solid #f00;
  border-radius: 5px;
}
.sidebar-section li.country.active:before,
.sidebar-section li.category.active:before {
  color: #f00;
}
.sidebar-section li.country:hover a,
.sidebar-section li.category:hover a {
  text-decoration: none;
  color: #f00;
  border: 1px solid #f00;
  border-radius: 5px;
}
.sidebar-section li.country:hover:before,
.sidebar-section li.category:hover:before {
  color: #f00;
}
.sidebar-section li.source { 
	width: 33.3%;
}
.sidebar-section li.country { 
	width: 33.3%;
}
.sidebar-section li.category { 
	width: 50%;
}

/* ---------------------------------------------------
    SOCIAL BUTTONS
----------------------------------------------------- */

.fb-like {
	vertical-align: middle;
	text-align: center;
}
.fb-share-button {
	vertical-align: middle;
	text-align: center;
}
.twitter-follow-button {
	vertical-align: middle;
	text-align: center;
}
.twitter-share-button {
	vertical-align: middle;
	text-align: center;
}

/* ---------------------------------------------------
    WEATHER
----------------------------------------------------- */

.weather {
	display: table;
	text-align:center;
	width: 100%;
	color: #555555;
}
.weather-heading {
	display: table-caption;
	padding: 4px;
    font-size: 16px;
}
.weather li { 
	display: inline-table; 
	padding: 5px;
	width: 22%;
}
.weather-day {
 	font-size:15px;
}
.weather-img img {
	width: 40px;
	height: 40px;
}
.weather-temp {
	font-family: TelefizionNetFont;
/*    font-family: 'Poppins', sans-serif; */
	font-size:11px;
}

/* ---------------------------------------------------
    mobilebar STYLE
----------------------------------------------------- */
#mobilebar {
    min-width: 350px;
    max-width: 350px;
    background: #CC0000;
    color: #fff;
    transition: all 0.3s;
    margin-right: -350px;
    position: fixed;
    /* top layer */
    z-index: 9999;
}

#mobilebar.active {
    margin-right: -350px;
}

#mobilebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}
#mobilebar ul li ul.active {
	display: table; 
	width: 100%; 
}

#mobilebar ul li ul li {
	display: inline-table; 
	width: 18%;
}
#mobilebar ul li ul li a img {
	width:50px;
	height:50px;
}
#mobilebar ul li a {
    padding: 8px;
    font-size: 1.0em;
    display: block;
    color: #bbb;
}
#mobilebar ul li a:hover {
    color: #CC0000;
    background: #fff;
}

#mobilebar ul li.active > a, a[aria-expanded="true"] {
    color: #fff;
    background: #AA0000;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
    #mobilebar {
        margin-right: -350px;
    }
    #mobilebar.active {
        margin-right: 0;
    }
    #sidebar {
        display: none !important;
    }
}
