/*
	Theme Name: Huntsman
	Theme URI: https://cardiff.gov.uk
	Description: WebTeam WordPress Theme
	Version: 2.0
	Author: Cardiff Council
	Author URI: https://cardiff.gov.uk

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */

*,
*:after,
*:before {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
/* html element 62.5% font-size for REM use */


body {
	background-color: #fff;
	font-size: 18px;
}
/* clear */

.clear:before,
.clear:after {
	content: ' ';
	display: table;
}
.clear:after {
	clear: both;
}
.clear {
	*zoom: 1;
}
/**Skip link**/

.skip-link {
	position: absolute;
	top: -100px;
	background-color: #f7f7f7;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 6px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar */
	-webkit-transition: top .75s ease-out;
	transition: top .75s ease-out;
}
.skip-link:focus {
	color: #21759b;
	top: 7px;
	-webkit-transition: top 0s;
	transition: top 0s;
}
/**end skip link**/

img {
	max-width: 100%;
}




/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */

.wrapper {
	max-width: 100%!important;
	background-color: #fff;
	width: 100%!important;
	overflow: hidden;
}
.wrapper.boxed {
	max-width: 1240px!important;
}
.wrapper.boxed header.header.is-transparent.clear {
	max-width: 1240px;
	left: unset;
}
.wrapper-rightcol {
	width: 75%;
	float: left;
}
.wrapper-lefttcol {
	width: 75%;
	float: right;
}

.nopadding.vce-row.vce-element--has-background {
    padding-top: 0px;
}

section {
	padding: 0% 2.5%;
	max-width:1200px;
	margin:0px auto;
}


/* sticky header */

.stuck,
.stuck-4 {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 9999;
}
header.header.is-transparent {
	/* background-color: transparent!important; */
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 0;
	z-index: 10000;
	transition: all 0.2s ease-in-out;
	height: auto;
	background-color: transparent;
}
header.header.is-transparent.stuck {
	background-color: #fff;
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}
header.header.is-transparent .logo-white {
	display: block!important;
}
header.header.is-transparent.stuck .logo-white {
	display: none!important;
}
header.header.is-transparent.stuck .logo {
	display: block!important;
}
header.header.is-transparent .logo {
	display: none!important;
}
header.header.header-5.is-transparent.clear, header.header.header-4.is-transparent.clear {
	position: relative;
	display: block;
}
header.header.header-5-2ndlevel.is-transparent.clear, header.header.header-4-2ndlevel.is-transparent.clear  {
	position: relative;
	display: block;
}

.header-4 .nav.navright, .header-4-2ndlevel .nav.navright {
    margin-right: 0px;
}

.header-4 #mega-menu-wrap-header-menu #mega-menu-header-menu, .header-4-2ndlevel #mega-menu-wrap-header-menu #mega-menu-header-menu {
    padding: 0px 0% 0px 10px;
}
/* END */

main {
	margin-top:20px;
}
main.fullwidth,
main.with-sidebar,
main.no-sidebar {
	margin-top: 0px!important;
}
.fullwidth .wp-block-column {
	padding: 0%;
}
.fullwidth h1 {
	padding: 1.5% 2.5% 0% 2.5%;
}
.sidebar-right {
	width: 24%;
	float: right;
	padding: 2.5% 1%;
}
.sidebar-left {
	width: 24%;
	float: left;
	padding: 2.5% 1%;
}
.header {
	background-color: #fff;
	clear: both;
}
#mobile-header {
	display: none;
	background-color: #fff;
}
#mobile-nav-btn {
	float: right;
	font-size: 21px;
	line-height: 90px;
	margin-top: 0px;
	color: #cccccc;
}
div#mobile-menu {
	/*margin-top: -30px;*/
	display: none;
}
.mobile-menu-search .search {
	padding: 0px 30px 30px 30px;
}
.mobile-menu-search .search-input {
	width: 70%;
}
.nav-mobile ul {
	margin: 0px;
	padding: 0px 0 20px 20px;
}
nav.nav-mobile ul li {
	display: block;
	list-style: none;
	margin: 0px 0 0px 0;
	padding: 10px;
	color: #fff;
	padding-bottom: 0px!important;
}
.nav-mobile a {
	color: #333;
	padding-top: 20px;
	display: block;
	font-size: 16px;
}



.topbar {
	display: flex;
}
.topbar-left {
	width: 50%;
	padding: 0% 1%;
	float: left;
}
.topbar-right {
	width: 50%;
	padding: 0% 1%;
	float: right;
	text-align: right;
}
.topbar-right form.search {
	margin-top: 5px;
}
.topbar-right .search-input,
.topbar-right .search-input {
	margin: 0px!important;
}
.logo,
.logo-white {
}

.logo.middle {
    margin: 0px auto;
    text-align: center;
}

.logo.left,
.logo-white.left {
	float: left!important;
}
.middle .logo-img {
}





.sidebar-widget {
	padding: 1.5%;
	background-color: #f6f6f6;
	margin: 5% 0%;
}
.search-input {
	box-sizing: border-box;
	margin: 20px 10px 0 0;
	max-width: 100%;
	display: inline-block;
	padding: 10px;
}


.wp-block-column {
	padding: 1%;
}
.footer {
	padding: 2.5%;
	background-color: #666;
	clear: both;
	color: #fff;
	font-size: 16px;
}
.footer-widgets,
.footer-widgets-full,
.footer-widgets-half,
.footer-widgets-third,
.footer-widgets-quarter {
	min-height: 200px;
	display: flex;
}
/*
   .footer-1, .footer-2, .footer-3 {
	width:33%;
	padding:1%;
	float:left;
	text-align:center;
}
*/

.footer-widgets-full .footer-1 {
	width: 98%;
	padding: 1%;
	float: left;
	text-align: center;
}
.footer-widgets-half .footer-1,
.footer-widgets-half .footer-2 {
	width: 48%;
	padding: 1%;
	float: left;
	text-align: center;
}
.footer-widgets-third .footer-1,
.footer-widgets-third .footer-2,
.footer-widgets-third .footer-3 {
	width: 33%;
	padding: 1%;
	float: left;
	text-align: center;
}
.footer-widgets-quarter .footer-1,
.footer-widgets-quarter .footer-2,
.footer-widgets-quarter .footer-3,
.footer-widgets-quarter .footer-4 {
	width: 25%;
	padding: 1%;
	float: left;
	text-align: center;
}
.copyright-wrapper {
	background-color: #333;
	padding: 0.2% 2.5%;
	clear: all;
}
.copyright {
	color: #eee;
	font-size: 14px;
}
.copyright a {
	color: #eee;
}


/*--------------------------------------------*\
    Nav - Can delete if using Max Mega Menu
\*--------------------------------------------*/

.nav {
	list-style: none;
	padding: 10px 0px;
	text-align: right;
	background:#f4f4f4;
}
.nav.middle {
	text-align: center;
}
.nav.navright {
	background-color: transparent;
	color: #fff;
	text-align: right;
	width: 70%;
	float: right;
	margin-top: 15px;
	margin-right: 40px;
}
.nav.navright a {
}
.nav ul {
	list-style: none;
	display: inline-block;
	padding: 0px;
	margin: 20px 0px;
}
.nav ul li {
	margin: 0px 10px;
	display: -webkit-inline-box;
	display: inline-block;
}
.current-menu-item {
	color: #333;
}
.current-menu-item a,
.current-menu-item a:hover {
	display: block;
}
.menu-item a {
	display: block;
}
.menu-item a:hover,
.menu-item a:focus {
	display: block;
}
li.menu-item-has-children:hover {
	left: 0;
	top: 100%;
}
/* sub-menu */

.nav .sub-menu {
	width: 200px;
	padding: 10px;
	margin: 0;
	position: absolute;
	left: 0px;
	border: none;
	z-index: 200;
	display: none;
	background: #eee;
}
.nav ul li {
	position: relative;
}
.nav ul li:hover>ul {
	display: block!important;
}
.nav .sub-menu li {
	border: none;
	margin: 0px 0px;
	padding: 10px 0px;
	height: auto;
	position: relative;
	width: 100%;
	display: block;
	text-align: left;
}
.subnav {
	position: absolute;
}
.nav .sub-menu:focus {
	display: block!important;
}
[data-visually-hidden="true"] {
	display: none!important;
}
[data-visually-hidden="false"] {
	display: block!important;
}
.nav-mobile .menu-item-has-children a::after {
	float: right;
}
/* transparent nav */

.is-transparent .nav.navright a {
	color: #fff;
}
.is-transparent.stuck .nav.navright a {
	color: #444;
}
.is-transparent .nav .sub-menu li a {
	color: #444;
}
.is-transparent.stuck .nav.navright a:hover {
	color: #fff;
}
/* #### END NAV #### */


/* MOBILE MENU ARROW STYLES */

.nav-mobile .open>ul {
	margin: 8px 0;
	padding: 12px 0;
	height: auto;
}
.nav-mobile li>ul {
	margin: 0;
	padding: 0;
	height: 0;
	overflow: hidden;
	transition: all 0.3s;
}
.nav-mobile .menu-item a {
	width: 85%;
}
.plus,
.minus {
	float: right;
	padding: 6px 16px 6px 30px;
	font-weight: 700;
	color: #fff;
	font-size: 20px;
}
.plus:hover,
.minus:hover {
	cursor: pointer;
}
.minus {
	display: none;
}
.open .plus {
	display: none;
}
.open .minus {
	display: block;
}


.designed_by {
	background:#000;
	color:#fff;
	padding:10px;
	font-size:small;
}

.designed_by a {
	color:#fff;
	margin-right:10px;
}

.designed_by p a {
	margin-right:0px!important
}

/* ################################################# BACK TO TOP ############################################# */

.cd-top {
  display: inline-block;
  background-color: #333;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 10px;
  right: 10px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
.cd-top::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 1em;
  line-height: 50px;
  color: #fff;
}
.cd-top:hover {
  cursor: pointer;
  background-color: #333;
}
.cd-top:active {
  background-color: #555;
}
.cd-top.show {
  opacity: 1;
  visibility: visible;
}
.no-touch .cd-top:hover {
	background-color: #333;
	opacity: 1;
}





/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}
.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}
.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}
a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}
a img.alignnone {
	margin: 5px 20px 20px 0;
}
a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}
a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption {
	background: #FFF;
	border: 1px solid #F0F0F0;
	max-width: 96%;
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}
.sticky {}
.bypostauthor {}


/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background: transparent !important;
		color: #000 !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}
	a,
	a:visited {
		text-decoration: underline;
	}
	a[href]:after {
		content: " (" attr(href) ")";
	}
	abbr[title]:after {
		content: " (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content: "";
	}
	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}
	thead {
		display: table-header-group;
	}
	tr,
	img {
		page-break-inside: avoid;
	}
	img {
		max-width: 100% !important;
	}
	@page {
		margin: 0.5cm;
	}
	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}
	h2,
	h3 {
		page-break-after: avoid;
	}
}