﻿@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap');

::-webkit-scrollbar {
	width: 6px;
	height: 7px;
	background-color: #ddd;
}

::-webkit-scrollbar-thumb {
	background: #444;
}
body, html {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
}

.bg-purple {
	background-color: #6f42c1 !important;
}

.bg-indigo {
	background-color: #6610f2!important;
}

.bg-orange {
	background-color: #fd7e14!important;
}

.bg-pink {
	background-color: #e83e8c!important;
}

.bg-teal {
	background-color: #20c997!important;
}

.bg-cyan {
	background-color: #17a2b8!important;
}

.bg-primary, .btn-primary {
	background-color: rgb(51, 103, 214)!important;
}
a.text-light:focus, a.text-light:hover {
	color: #fff!important;
}

.navbar-brand img {
	max-height: 50px;
	margin: -2rem 1rem -2rem 0;
}

.main {
	padding-top: 56px;
}

nav button:focus {
	outline: none !important;
	outline: 1px dotted !important;
}

.nav-item .dropdown-toggle::after {
	content: none;
}

.navbar-brand {
	padding-top: .125rem;
}

table.table-hover tbody tr {
	cursor: pointer;
}

.collapsible-link {
	width: 100%;
	position: relative;
	text-align: left;
}

	.collapsible-link::before {
		content: '\f107';
		position: absolute;
		top: 50%;
		right: 0.8rem;
		transform: translateY(-50%);
		display: block;
		font-family: 'FontAwesome';
		font-size: 1.1rem;
	}

	.collapsible-link[aria-expanded='true']::before {
		content: '\f106';
	}

textarea {
	resize: none;
}

#adwizard a.card {
	color: inherit;
}

	#adwizard a.card:hover {
		text-decoration: none;
	}

	#adwizard a.card i.fa {
		display: none;
		float: right;
		margin-top: 3px;
	}

	#adwizard a.card.active i.fa {
		display: inline;
	}

#divAdSize table tr td:first-child i,
#divPubs table tr td:first-child i {
	display: none;
}

#divAdSize table tr.active td:first-child i,
#divPubs table tr.active td:first-child i {
	display: initial;
}

.bootstrap-datetimepicker-widget table th,
.bootstrap-datetimepicker-widget table td.day {
	height: 34px !important;
	line-height: 34px !important;
	width: 14.28% !important;
}

.bootstrap-datetimepicker-widget table td.disabled, .bootstrap-datetimepicker-widget table td.disabled:hover {
	color: #ccc;
}

#divAdType .card-body,
#divAdSize .card-body,
#divDates .card-body, 
#divPubs .card-body, 
#dspContent .card-body,
#clsContent .card-body textarea.form-control,
#summary {
	height: 255px;
	overflow-y: auto;
	overflow-x: auto;
}

#dspContent .card img {
	margin: 0 auto;
	max-width: 100%;
	max-height: 100%;
}

#dspContent a.card-header:hover {
	text-decoration: none;
}

@media (max-width:540px) {
	#btnAddDate i.fa {
		transform: rotate(90deg);
	}
}

#dspContent .card {
	overflow-y: auto;
}

.table-borderless th, 
.table-borderless thead th, 
table.dataTable.no-footer,
.dataTables_wrapper.no-footer .dataTables_scrollBody {
	border-bottom: solid 1px #dee2e6!important;
}

div.dataTables_wrapper div.dataTables_info {
	padding-top: 0.25rem!important;
}

.dataTables_scrollHead table.no-footer,
.dataTables_scrollFoot table.no-footer,
.dataTables_scrollBody table.table-borderless th {
	border-bottom: none !important;
}

footer {
	padding: .5rem;
	text-align: center;
	font-size: 14px;
	font-weight: 200;
	letter-spacing: 0.4pt;
}

footer span, .list-group-item span {
	word-break:break-word;
}

.loader {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
	display: none;
	z-index: 1501;
}

	.loader > div {
		position: absolute;
		display: inline-block;
		text-align: center;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		color: #000;
	}

ul.footer-links {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: inline;
}

	ul.footer-links li {
		list-style-type: none;
		display: inline-block;
		padding: .25rem .75rem;
		margin: 0;
	}

.logo {
	max-height: 96px;
	transition: all linear 0.5s;
}

@media (max-width: 768px) {
	.logo {
		max-width: 320px;
	}
}
#sidebar {
	width: 275px;
	position: fixed;
	top: 0;
	left: -275px;
	height: 100vh;
	z-index: 999;
	background: #fff;
	transition: all 0.3s;
	overflow-y: scroll;
}

	#sidebar.active {
		left: 0;
		box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
	}

#dismiss {
	width: 35px;
	height: 35px;
	line-height: 35px;
	text-align: center;
	position: absolute;
	top: 15px;
	right: 10px;
	cursor: pointer;
	-webkit-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

	#dismiss:hover {
		background: #fff;
		color: #7386D5;
	}

.overlay {
	display: none;
	position: fixed;
	top: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.7);
	z-index: 998;
	opacity: 0;
	transition: all 0.5s ease-in-out;
}

	.overlay.active {
		display: block;
		opacity: 1;
	}

#sidebar .sidebar-header {
	padding: 15px;
}

#sidebarCollapse {
	position: absolute;
	color: #000;
	top: 0.25rem;
	right: 0.5rem;
}

main {
	min-height: calc(100vh - 229px);
}

.category-list .list-group-item {
	background-color: transparent;
	color: #333;
}

.category-list .list-group-item:hover, .category-list .list-group-item.active {
	background-color: #eee;
	text-decoration: none;
}

.card-horizontal {
	display: flex;
	flex: 1 1 auto;
}

.ad-column-left, .ad-column-right {
	background-color: #eee;
	min-height: 50vh!important;
}

	.ad-column-left:before, .ad-column-right:after {
		content: "ADVERTISEMENT";
		display: block;
		font-size: 24px;
		color: #ccc;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		max-width: 94%;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.news-item {
		color: #333 !important;
	}

	.news-item .card-body {
		overflow-y: hidden;
	}

	.news-item:hover {
		text-decoration: none;
	}

	.news-item .img-square-wrapper {
		min-width: 150px !important;
		max-width: 150px !important;
		background-size: cover;
		height: 150px;
		background-repeat: no-repeat;
		background-position: center center;
	}

@media (max-width:480px) {
	.news-item, .news-item * {
		font-size: 100% !important;
	}
}
@media (max-width: 575px) {
	.card-horizontal {
		flex-wrap: wrap!important;
	}
		.card-horizontal .img-square-wrapper {
			min-width: 100%!important;
			max-width: initial!important;
		}
	.news-item .img-square-wrapper {
		min-width: initial !important;
		max-width: initial !important;
		width: 30vw !important;
		height: 30vw !important;
	}
}

.topbar {
	top: 0;
	position: fixed;
	width: 100%;
	height: 2.5rem;
	z-index: 101;
	overflow: hidden;
}

	.topbar + .container-fluid {
		margin-top: 2.5rem;
	}

.ticker {
	max-height: 2rem!important;
}
@media (max-width:767px) {
	.topbar {
		height: 5.5rem;
	}

		.topbar + .container-fluid {
			margin-top: 5.5rem;
		}
	.ticker {
		max-height: 4rem !important;
	}
}

#story img {
	max-width: 100%!important;
}

img.note-float-left {
	margin-right: 0.75rem;
}

img.note-float-right {
	margin-left: 0.75rem;
}

.story-content img {
	margin-bottom: 0.75rem;
}

.e-paper-link {
	font-weight: 600;
	font-size: 120%;
}

h5.newstitle, .story-title {
	font-weight: 600;
	color: #ff8030;
}

.newstitle + p {
	max-height: 4.5rem;
	overflow: hidden;
	margin-bottom: 0;
}

@media (max-width: 575px) {
	.news-item > .card {
		border: 0;
	}
}