/*
 Theme Name:   UKCF 2019
 Description:  Custom theme for UKCF Conference
 Author:       Carnoustie Creative
 Author URI:   https://www.carnoustiecreative.co.uk
 Template:     bedrock-carbon
 Version:      2.1.9
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  carbon-child

font-family: league-gothic, sans-serif;
font-weight: 400;
font-style: normal;

font-family: brandon-grotesque, sans-serif;
font-weight: 400;
font-style: normal;

font-family: brandon-grotesque, sans-serif;
font-weight: 400;
font-style: italic;

font-family: brandon-grotesque, sans-serif;
font-weight: 700;
font-style: normal;

*/

.home .entry-content iframe {
	width: 70%;
	float: right;
	margin: 0 0 5rem 0;
}

@media ( max-width: 1100px ) {

	.home .entry-content iframe {
		height: auto !important;
		width: 100%;
	}
}

@media (max-width: 600px) {

	.pacific.home img.alignright {		
		max-width: 100%;
	}

}

.pacific .lshowcase-box-4 {
	width: 24%;
}

.pacific .lshowcase-box-2 {
	width: 49%;
}

html {
	scroll-behavior: smooth;
}

body.pacific {
	font-family: "brandon-grotesque", sans-serif;
	font-size: 1.9rem;
	font-weight: 400;
	font-style: normal;	
}

.pacific h1,
.pacific h2 {
	font-family: "league-gothic", sans-serif;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	color: #000;	
}

.pacific .cde-title h1 {
	font-size: 6rem;
	letter-spacing: 0.4rem;
	border-top: 0.22rem solid #000;
	border-bottom: 0.22rem solid #000;
	padding: 1.4rem 0;	
}

.pacific h2 {
	font-size: 4rem;
	letter-spacing: 0.3rem;
}

.pacific h3 {
	text-transform: uppercase;
}

.pacific .cde-title.flex-elm {
	margin-bottom: -1rem;
}

.pacific h4,
.pacific h5,
.pacific h6 {
	letter-spacing: 0;
	font-family: "brandon-grotesque", sans-serif;
}

nav .full .container {
	padding-top: 1rem;
	border-top: 0.1rem solid #ccc;
}

header nav .full .container {
	padding-top: 0;
	border-top: none;
}

.pacific .header-wrap {	
	border-bottom: none;
}

.pacific .logo img {
	max-width: 70%;
}

.pacific nav .full .current-menu-item > a, 
.pacific nav .full .current_page_item > a {
	background: transparent;
	color: #000;
	border-bottom: 0.2rem solid #ef477e;
}

.pacific nav .full a:hover {
	background: transparent;
	color: #000;
	border-bottom: 0.2rem solid #ef477e;
}


.pacific nav .full  a {
	border-bottom: 0.2rem solid transparent;
}

.pacific .second {
	top: 1rem;
	bottom: 0.5rem;
}

.pacific .second .textwidget {	
	display: flex;	
	flex-direction: row;
	justify-content: flex-end;
	align-items: center;
}

.pacific .second .ukcf-logo,
.pacific .second .fs-logo,
.pacific .second .r-logo {
	display: inline-block;
}

.pacific .second img {
	max-height: 3.5rem;	
}

.pacific .second .fs-logo img,
.pacific .second .r-logo img {
	max-height: 3rem;
	margin-right: 2rem;
}


.pacific footer {
	margin-top: 6rem;
	padding-top: 3rem;
	border-top: 0.2rem solid #000;
	position: relative;
	z-index: 2;
}

.home.pacific footer {
	margin-top: 3rem;
}

.widget-area.footer-bottom {
	text-align: center;
	margin-top: 4rem;	
}

.widget-area.footer-bottom .menu {
	text-align: center;
}

.cde-flex-content .container {
	width: 100%;
}

#custom_html-4 {
	position: relative;
}

.mur-wrap {		
	position: absolute;
	right: 0;
	left: -30vw;	
	background-size: cover;
	height: 30vw;
}

.mur-wrap.tall {
	height: 50vw;
}		

.mur-wrap:after {		
	position: absolute;
	content: "";
	background-size: contain;
	background-repeat: no-repeat;
	display: block;
	background-image: url('white-star.svg');
	width: 10vw;	
	height: 10vw;	
	right: -5vw;
	bottom: 2rem;	
	z-index: 1;
}

@media ( min-width: 800px ) {

	.mur-wrap.crop-left {
		background-position: 10rem center;
	}

}

@media ( max-width: 800px ) {
	
	.mur-wrap {	
		position: relative;	
		height: 30rem;
		width: 120%;
		left: -10%;
		margin-bottom: 5rem;
	}

	.mur-wrap.tall {			
		height: 40rem;		
	}

	.mur-wrap:after {		
		bottom: -15%;
		left: 10%;		
		width: 30%;
		height: 30%
	}

}

.entry-content {
	display: none;
}

.pacific .entry-content+.widget-area {
	margin-top: 0;
}

@media ( min-width: 800px ) {

	.pacific .main .content {
		padding-top: 7.5rem;
	}

	.pacific.home .main .content {
		padding-top: 5.5rem;
	}
	
}

@media ( max-width: 720px ) {

	.pacific .main .content {
		overflow-x: hidden;
	}

}

.widget.cde-flex-content {
	position: relative;
	z-index: 8;
}

.welcome .alignright {
	max-width: 20rem !important;	
}

@media ( max-width: 720px ) {

	.welcome .alignright {
		max-width: 13rem !important;	
	}

}

.welcome .alignright p {
	margin-bottom: 0;
}

.pacific .wp-caption, .gallery-caption {
	font-size: 1.3rem;
}

@media ( max-width: 720px ) {

	.pacific .wp-caption, .gallery-caption {
		font-size: 1.2rem;
	}

}

.l-col {
	position: relative;
	top: 33vw;
}

.l-col-mobile {
	display: none;
}

@media ( max-width: 800px ) {

	.l-col {
		display: none;
	}

	.l-col-mobile {
		display: block;
	}

}

header .logo a {
	display: flex;
	align-items: center;
}

.to-top {
	text-transform: uppercase;
	font-size: 1.4rem;
	border-bottom: 0.1rem solid #ccc;
	display: block;
	letter-spacing: 0.13rem;
}

.col-green {
	color: #8DC63E;
}

.col-blue {
	color: #00BBE4;
}

.col-pink {
	color: #EE487E;
}

.time {
	color: #EE487E;
	left: -4.9rem;
	position: absolute;
}

.glance p {
	margin-left: 4.9rem;
	position: relative;
}

.glance em,
.cde-prog-day em {
	font-size: 90%;
}

.cde-prog-day input[type='checkbox'] {
	display: none;
}

.cde-prog-day .codes {
	float: right;
}

.collapsible-content {
	max-height: 0px;
	overflow: hidden;  
	transition: max-height .25s ease-in-out;
}

.toggle:checked + .lbl-toggle + .collapsible-content {
	max-height: 35rem;
}

.lbl-toggle {
	cursor: pointer;
}

.lbl-toggle strong {
	margin-left: 3rem;
	display: inline-block;
}

.lbl-toggle:before {
	content: "+";
	position: absolute;
	width: 1rem;
	height: 1rem;
	line-height: 1rem;
	display: inline-block;
	text-align: center;
	margin-right: 0.4rem;
	padding: 0.5rem;
	border: 0.1rem solid #ccc;
}

.toggle:checked + .lbl-toggle:before {
	content: "-";
}

@media ( max-width: 720px ) {

	.cde-prog-day > p {
		margin-left: 4.9rem;
		position: relative;
	}

	.cde-prog-day .session  {
		margin-left: 1.3rem;
	}

	.glance h3 {
		margin-top: 2rem;
	}
	
}

.main img.pull-right,
.pacific .pull-right {
	max-width: 40%;
	position: absolute;
	float: none;
	left: -52%;
}

@media ( max-width: 800px ) {

	.main img.pull-right,
	.pacific .pull-right {
		max-width: 90%;
		position: static;
		margin-left: 0;
		float: none;
	}

}

.glance h3 {
	margin-bottom: 1.5rem;
	font-size: 2.3rem;
}

.glance .pull-right {
	max-width: 45%;
	left: -57%;
	top: -60rem;
}

.cde-day-outer {	
	padding-top: 2rem;	
	background-color:#fff;
	border-bottom: 0.1rem solid #EE487E;
}

.cde-day-outer .flex-elm {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.session {
	margin-top: 1rem;
	display: grid;
	grid-template-columns: 3.5rem 1fr;
}

.visits .session .codes {
	font-size: 1.7rem;
	line-height: 2.6rem;
}

.session .codes .x,
.workshop-key .x,
.session .codes .c,
.workshop-key .c,
.session .codes .d,
.workshop-key .d,
.session .codes .f,
.workshop-key .f,
.session .codes .g,
.workshop-key .g,
.session .codes .m,
.workshop-key .m,
.session .codes .t,
.workshop-key .t {
	background-color: #575756;
	width: 2rem;
	height: 2rem;
	display: inline-block;
	text-align: center;
	color: #fff;
	border-radius: 50%;
	line-height: 2rem;
	font-size: 1.4rem;
}

.session .codes span {
	margin-left: 0.2rem;
}

.session .codes .x,
.workshop-key .x {
	background-color: #E83B77;
}

.session .codes .c,
.workshop-key .c {
	background-color: #95C11E;
}

.session .codes .d,
.workshop-key .d {
	background-color: #00B5E2;
}

.session .codes .g,
.workshop-key .g {
	background-color: #F4ABBD;
}

.session .codes .m,
.workshop-key .m {
	background-color: #FCBD1B;
}

.session .codes .t,
.workshop-key .t {
	background-color: #9185BF;
}

.workshop-key {
	padding: 1rem;
	border: 0.1rem solid #aaa;
	margin: 2rem 0 2.5rem 0;
	font-size: 1.6rem;	
}

.workshop-key li {
	display: inline-block;
	margin-right: 1rem;
	margin-bottom: 0;
}

.workshop-key li:last-child {
	margin-right: 0;
}

.workshop-key p {
	text-transform: uppercase;
	font-size: 1.4rem;
}

.pacific .small-text {
	font-size: 1.5rem;
	line-height: 1.3;
}

/* Sticky sub-menu */

.cde-shared-content-elm {
	position: sticky;
	position: -webkit-sticky;
	top: 0;
	background-color:rgba(240,240,240, 0.9);
	z-index: 999;
	padding: 1rem 1rem 0.2rem 1rem;
}

.page-id-14 .cde-shared-content-elm {
	background-color: transparent;
	position: static;
}

#sticky-menu h5 {
	font-size: 1.6rem;	
	margin: 0 1.5rem 0 0;	
}

@media ( max-width: 720px ) {

	#sticky-menu h5 {
		display: none;
	}

}

.scroll-nav {
	width: 100%;
}

.scroll-nav ol {
	list-style: none;
	margin-left: 0;	
	margin-bottom: 0;
	display: flex;
	justify-content: space-between;
}

.scroll-nav ol li {
	display: inline-block;
	margin-bottom: 0;
	line-height: 1.1;
}

.scroll-nav__item a {
	text-transform: capitalize;
	font-size: 1.4rem;	
	display: block;
	line-height: 1.4;
	font-family: "brandon-grotesque", sans-serif;
	margin-right: 0.8rem;	
	padding-bottom: 0.8rem;
	border-bottom: 0.22rem solid transparent;
}

.scroll-nav__item a:hover {
	text-decoration: none;
}

.scroll-nav__item:hover a , 
.scroll-nav__item--active a {
	border-bottom: 0.22rem solid #00BBE4;
}

/* End of sticky sub-menu */

@media ( max-width: 800px ) {

	.page-id-8 .scroll-nav ol {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		grid-column-gap: 1rem;				
		grid-row-gap: 1.5rem;				
	}

}

.page-id-8 a[href="#scroll-nav__4"] {
	hyphens: auto;
}

.flex-elm.visits {
	margin-top: 0;
	margin-bottom: 0;
}

.flex-elm.visits h4 {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
	color: #95C11E;	
	font-weight: bold;
	font-size: 2.1rem;
}

.visits .session {
	grid-template-columns: 4.2rem 1fr;
}

.flex-elm#cde-flex-content-2-9,
.flex-elm#cde-flex-content-2-20 {
	margin-top: 0;
}

.pacific .dataTables_wrapper {
	margin-top: 3.5rem;
}

.pacific .tablepress tfoot th, .pacific .tablepress thead th {
	background-color: #00B5E2;
	color: #fff;
	font-weight: normal;
}

.pacific .bedrock-panel {
	background-color: #E83B77;
	color: #fff;
}

.pacific .bedrock-panel h3 {
	color: #fff;
}

/* Titles */

.title-block {
	height: 60vh;	
	background-size: cover; 
}

.title-block .empowering {
	padding-top: 10vh;
	padding-bottom: 5vh;
	max-width: 55%;
}

.title-block .empowering .inner {
	display: inline-block;	
	padding: 1.5rem 2rem 0.5rem 2rem;
	background-color: rgba(0,0,0,0.5);	
	max-width: 40rem;
}

.title-block h1 .inner {
	display: inline;
	font-size: 4.5rem;
	padding: 0.3rem 2rem;
	line-height: 1.2;
	background-color: #E83C77;
	color: #fff;
	letter-spacing: 0.2rem;
	-webkit-box-decoration-break: clone;
	-o-box-decoration-break: clone;
	box-decoration-break: clone;
} 


.title-block h2 .inner {
	display: inline;
	font-size: 4.5rem;
	padding: 0.3rem 2rem;
	background-color: #95C11E;
	color: #fff;
	letter-spacing: 0.2rem;
	line-height: 1.2;	
	-webkit-box-decoration-break: clone;
	-o-box-decoration-break: clone;
	box-decoration-break: clone;
}

.title-block h1,
.title-block h2 {
	margin-bottom: 0;
	max-width: 60%;
	line-height: 0.9;
}

.title-block h2 {
	margin-top: 0.6rem;
}

@media ( max-width: 720px) {

	.title-block {
		height: 50vh;
	}
	
	.title-block h2 {
		margin-top: -0.2rem;		
	}

	.title-block h1 .inner,
	.title-block h2 .inner {
		font-size: 3rem;
		padding: 0.2rem 2rem;
	}

}

/* Venues */

.cde-venue {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 3rem;
}

@media ( max-width: 720px ) {

	.cde-venue {
		grid-template-columns: 1fr;
	}

}

.cde-venue h3 {
	color: #E83B77;
}

.cde-venue .address p {
	margin-bottom: 0;
}

.cde-venue .desc {
	margin-top: 2rem;
	font-size: 1.8rem;
}

.cde-venue .image {
	width: 100%;
	height: 25rem;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.flex-elm.cde-venue  {
	padding-bottom: 3rem;
	border-bottom: 0.1rem solid #ddd;
}

.flex-elm.cde-venue.last {
	border-bottom: none;
}

/* End of venues */

/* Start of speakers */

.cde-speaker .grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-column-gap: 3rem;
}

.cde-speaker .image {
	width: 100%;
	height: 25rem;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* End of speakers */

.main img.vp-img {
	max-width: 90%;
}

.ukcf.inline-list li:after {
	background-image: url('ukcf-device.svg');
	width: 2.8rem;
	height: 2.8rem;
	background-color: transparent;
	background-size: contain;
	background-repeat: no-repeat;
	border-radius: none;
	top: 0.7rem;
	position: relative;
}

.logo-block h4 {
	margin-top: 4rem;
	display: block;
	font-style: italic;
	color: #888;
	margin-bottom: 2rem;
}

.logo-block .headline img {
	height: 13rem;
	width: auto;
}

.logo-block .sponsors img {
	height: 9rem;
}

.logo-block .sponsors img#ruffer {	
	height: 11rem;
}

@media ( max-width: 720px ) {

	.logo-block .sponsors img#mg {
		height: 8rem;
	}

	.logo-block .sponsors img#ruffer {		
		height: 9rem;
	}

}

.logo-block .supporters img {
	height: 5rem;
}

.logo-block .supporters img#aberdeen {
	height: 8rem;
}

.logo-block .supporters img#barclays {
	height: 3rem;
}

.logo-block .supporters img#close,
.logo-block .supporters img#smith,
.logo-block .supporters img#good {
	height: 4rem;
}

.logo-block .media  img {
	height: 6rem;
}

.logo-block .logos {
	display: flex;	
	align-items: center;
	flex-wrap: wrap;
}

.logo-block .supporters .logos {
	justify-content: space-between;
}

.logo-block .supporters .logos img {
	margin: 1.5rem 1rem;
}

@media ( max-width: 720px ) {
	.logo-block .supporters .logos {
		justify-content: space-around;
	}
}

.widget .bedrock-panel a {
	color: #eee;
}

@media ( min-width: 800px ) {

	.logo-block .sponsors .regular .logos {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-column-gap: 3rem;
		align-items: flex-start;
	}

	.logo-block .sponsors img#ruffer {
		margin-top: -2rem;
	}

	footer .logo-block .sponsors .regular .logos {
		display: flex;
		align-items: center;
	}

	footer .logo-block .sponsors img#ruffer {
		margin-top: 0;
	}

}


/* Footer logos */

footer .logo-block .sponsors img#ruffer {
	margin-left: 3rem;
}

footer .logo-block h4 {
	font-size: 1.5rem;
	text-align: center;
	margin-bottom: 1rem;
}

footer .logo-block {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-template-rows: auto;
	grid-column-gap: 3rem;
	grid-template-areas: 
	  "headline sponsors sponsors sponsors"
	  "supporters supporters supporters media";	  
}

footer .logo-block .headline {
	grid-area: headline;
}

footer .logo-block .sponsors {
	grid-area: sponsors;
}

footer .logo-block .supporters {
	grid-area: supporters;
}

footer .logo-block .media {
	grid-area: media;
}

footer .logo-block .headline img {
	height: 7rem
}

footer .logo-block .supporters img {
	height: 3rem;
}

footer .logo-block .sponsors {
	display: grid;
	grid-template-columns: 2fr 1fr;
	grid-column-gap: 3rem;
}

footer .logo-block .sponsors .regular {
	width: 70%;
	margin-left: 15%;
}

@media ( max-width: 1100px ) {

	footer .logo-block .sponsors .regular {
		width: 80%;
		margin-left: 10%;
	}

}

@media ( max-width: 980px ) {

	footer .logo-block .sponsors .regular {
		width: 100%;
		margin-left: 0;
	}

	footer .logo-block {
		grid-column-gap: 4rem;
	}

}

footer .logo-block .sponsors img#ruffer {
	height: 8rem;
}

footer .logo-block .sponsors img {
	height: 6rem;
}

footer .logo-block .sponsors .regular .logos {
	display: flex;
	justify-content: space-evenly;
}

footer .logo-block .supporters img {
	height: 5rem;
}

footer .logo-block .supporters .logos {
	justify-content: space-evenly;
}

footer .logo-block .supporters .logos img {
	margin: 1.5rem 2rem;
}

footer .logo-block .corporate p {
	margin-top: 2rem;
	text-align: center;
}

footer .logo-block .media img {
	height: 4rem;
}

footer .logo-block .media {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
}

footer .logo-block .info {
	display: none;
}

@media ( max-width: 850px ) {

	footer .logo-block {
		display: block;
	}

	footer .logo-block .headline {
		text-align: center;
	}

	footer .logo-block .sponsors img#mg {
		height: 6rem;
	}

	footer .logo-block .sponsors img#ruffer {
		height: 7rem;
	}

}

@media ( max-width: 600px ) {

	footer .logo-block .sponsors {
		display: block;
	}

	footer .logo-block .sponsors .regular .logos {
		justify-content: center;
	}

	footer .logo-block .sponsors img#ruffer {
		margin-left: 4rem;
	}

}

/* End of footer logos */

.welcome-button {
	position: absolute;
	right: 2rem;
	bottom: 5rem;
	color: #fff;
	border: 0.2rem solid #fff;
	padding: 1.5rem;
}

.widget a.welcome-button {
	color: #fff;
	display: inline-block;
}

.widget a.welcome-button:hover {
	text-decoration: none;
	color: #8DC63E;
	border-color: #8DC63E;	
}

.widget a.welcome-button i {
	animation-name: nudgeRight;
	animation-duration: 1s;
	animation-iteration-count: infinite;
}

@keyframes nudgeRight {
	0% {
	  transform: translate(0px, 0px);	
	}
	50% {
		transform: translate(5px, 0px);
	}
	100% {
	  transform: translate(0px, 0px);
	}
  }