/*
Theme Name: Grazia Responsive Theme
Author: EBPearls
Author URI: http://ebpearls.com.au/
Description: Grazia Responsive Theme is for GRAZIA, a stylish destination for original Fashion, Beauty, Culture and Entertainment news.
Version: 1.0
Text Domain: grazia
Domain Path: /languages
*/

@font-face {
	font-family: 'Magnat-PosterExtraBoldItalic';
	src: url('../fonts/Magnat-PosterExtraBoldItalic.woff') format('woff'),
		 url('../fonts/Magnat-PosterExtraBoldItalic.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

.pagination__next{
	visibility: hidden;
	height: 0;
	width: 0;
	opacity: 0;
	display: block;
}
.search-results {
	border-bottom: none;
	padding-top: 100px;
}
.search-results .inner h1 {
	font-family: "BrandonGrotesqueWeb", sans-serif;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
	color: #000;
	margin: 0 0 0.75em;
}
.search-results .inner h1 small{
	font-size: 16px;
	font-weight: normal;
}
.no-results p{
	letter-spacing: 0;
}
.login-section{
	position: relative;
}
.login-section.loading:before {
	content: '';
	display: block;
	position: absolute;
	height: 100%;
	width: 100%;
	background: url(../images/ajax-loader.gif) rgba(255, 255, 255, 0.58);
	z-index: 9;
	background-position: center center;
	background-repeat: no-repeat;
	top: 0;
	left: 0;
}
body.admin-bar {
	margin-top: -32px;
	padding-bottom: 32px;
}
#wpadminbar {
	top: auto !important;
	bottom: 0;
}
#wpadminbar .quicklinks>ul>li {
	position:relative;
}
#wpadminbar .ab-top-menu>.menupop>.ab-sub-wrapper {
	bottom:32px;
}
#wpadminbar .menupop li.hover>.ab-sub-wrapper, #wpadminbar .menupop li:hover>.ab-sub-wrapper{
	left: 0;
	bottom: 0;
}
@media screen and (max-width: 782px) {
	body.admin-bar{
		margin-top: -46px !important;
	}
	body.admin-bar .nav-opener{
		bottom: 61px;
	}
}
@media screen and (max-width: 600px) {
	#wpadminbar{
		position: fixed;
	}
}

/* GEO TARGETING */
#nav .nav.right {
	display: flex;
}

span.geo-targeting {
	vertical-align: top;
	font-family: "BrandonGrotesque", "Arial", "Helvetica", sans-serif;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.15em;
	cursor: pointer;
	color: #000;
}
.header-wrap > span.geo-targeting.mobile {
	display: none;
}

@media (max-width: 1023px) {
	.header-wrap > span.geo-targeting.mobile {
		display: block;
	}
}

span.geo-targeting > img {
	height: 26px;
	position: relative;
	top: 2px;
}

.header-wrap > span.geo-targeting {
	right: 55px;
	position: absolute;
	float: right;
	top: 22px;
	display: block;
}
.header-wrap > span.geo-targeting > img {
	height: 26px;
	position: relative;
	top: -5px;
}

#nav .nav.right span.geo-targeting {
	margin-left: 15px;
}

#nav .nav.right span.geo-targeting:after {
	content: "";
	display: block;
	transform: scaleX(0);
	border-bottom: 1px solid #fff500;
	transition: transform 0.25s ease;
}
#nav .nav.right span.geo-targeting:hover:after {
	transform: scaleX(1);
}

/* Overlay for geo targeting */
#geo-targeting-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow-y: auto;
	overflow-x: hidden;
	z-index: 2;
}
#geo-targeting-overlay:before {
	content: "";
	position: fixed;
	top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f2f2f2;
    z-index: -1;
}
#geo-targeting-overlay div.overlay-content {
	margin-top: 0;
	top: 12%;
	z-index: 10;
	position: relative;
	text-align: center;
}
#geo-targeting-overlay div.overlay-content div.overlay-logo {
	margin: 0 auto;
	width: fit-content;
}
#geo-targeting-overlay div.overlay-content div.overlay-logo img {
	width: 166px;
}
#geo-targeting-overlay div.overlay-content span.choose-location {
	text-transform: uppercase;
	font-family: "BrandonGrotesque", "Arial", "Helvetica", sans-serif;
	color: #000;
	letter-spacing: 0.15em;
	font-weight: 700;
	font-size: 11px;
	display: block;
	margin-top: 1em;
}
#geo-targeting-overlay div.overlay-content div.location-wrapper {
	margin-top: 10em;
}
#geo-targeting-overlay div.overlay-content table.location-table {
	border: 0;
	margin: 0 auto;
	text-transform: uppercase;
	font-family: "BrandonGrotesque", "Arial", "Helvetica", sans-serif;
	letter-spacing: 0.15em;
	font-size: 11px;
	width: fit-content;
}
#geo-targeting-overlay div.overlay-content table.location-table tr th:first-child {
	text-align: left;
	padding: 0 6em 3em 0;
	border: 0;
	color: #000;
}
#geo-targeting-overlay div.overlay-content table.location-table tr th:last-child {
	text-align: right;
	padding: 0 0 3em 6em;
	border: 0;
	color: #000;
	font-weight: bolder;
}
#geo-targeting-overlay div.overlay-content table.location-table tr td:first-child {
	text-align: left;
	padding: 0 6em 1.5em 0;
	border: 0;
	font-weight: 400;
}
#geo-targeting-overlay div.overlay-content table.location-table tr td:last-child {
	text-align: right;
	padding: 0 0 1.5em 6em;
	border: 0;
	font-weight: 400;
}
#geo-targeting-overlay div.overlay-content table.location-table tr td:first-child div {
	width: fit-content;
}
#geo-targeting-overlay div.overlay-content table.location-table tr td:last-child div {
	width: fit-content;
	float: right;
}
#geo-targeting-overlay div.overlay-content table.location-table tr td a:after {
	padding-top: 0.4em;
	content: "";
	display: block;
	transform: scaleX(0);
	border-bottom: 1px solid #000;
	transition: transform 0.25s ease;
}
#geo-targeting-overlay div.overlay-content table.location-table tr td a:hover:after {
	transform: scaleX(1);
}
#geo-targeting-overlay div.geo-overlay-left-text-wrapper {
	position: fixed;
	text-align: left;
	left: -3em;
	top: -3em;
	width: 30em;
	height: 110%;
	z-index: 1;
}

#geo-targeting-overlay div.geo-overlay-right-text-wrapper {
	position: fixed;
	text-align: right;
	right: -3em;
	top: -3em;
	width: 34em;
	height: 110%;
	z-index: 1;
}

#geo-targeting-overlay div.geo-overlay-right-text-wrapper > img, #geo-targeting-overlay div.geo-overlay-left-text-wrapper > img {
	width: 100%;
	height: 100%;
	transition: opacity 0.4s;
	opacity: 0.2;
}

#geo-targeting-overlay div.geo-overlay-right-text-wrapper.focus > img, #geo-targeting-overlay div.geo-overlay-left-text-wrapper.focus > img {
	transition: opacity 0.4s;
	opacity: 1;
}

#geo-targeting-overlay .mobile {
	display: none;
}

@media screen and (max-width: 1025px) {
	#geo-targeting-overlay .hide-mobile {
		display: none !important;
	}

	#geo-targeting-overlay .mobile {
		display: block !important;
	}

	#geo-targeting-overlay div.overlay-content {
		top: 23%;
		margin-top: 0;
	}

	#geo-targeting-overlay div.overlay-content div.location-wrapper {
		margin-top: 1em;
	}

	#geo-targeting-overlay div.overlay-content span.choose-location {
		font-size: 11px;
		margin-top: 0;
	}

	#geo-targeting-overlay div.location-mobile-div * {
		font-family: "BrandonGrotesque", "Arial", "Helvetica", sans-serif;
		color: #000;
		letter-spacing: 0.15em;
		text-transform: uppercase;
	}

	#geo-targeting-overlay div.location-mobile-div h1 {
		font-size: 50px;
		margin-top: 0.5em;
		margin-bottom: 0.1em;
		font-family: 'Magnat-PosterExtraBoldItalic';
		letter-spacing: 0;
	}

	#geo-targeting-overlay div.location-mobile-div div {
		font-size: 0.6em;
		margin-bottom: 2em;
	}
}
/* End of Overlay for geo targeting */
