/* Custom styles for the ACF Template Code plugin */

/* clear default padding off .inside  */
#acftc-meta-box .inside {
	margin:0;
	padding:0;
}

/* warpper for the intro / meta bar */
.acftc-field-meta {
	position: relative;
	width: 100%;
	height: 22px;
	padding-top: 15px;
}

.acftc-field-code {
	position: relative;

}

/* acftc-field-meta__title - place title */
[data-pseudo-content]::before {
	content: attr(data-pseudo-content);
	display: block;
	color:#999;
	-webkit-user-select: none;  /* Chrome all / Safari all */
	-moz-user-select: none;     /* Firefox all */
	-ms-user-select: none;      /* IE 10+ */
	user-select: none;
	position: absolute;
	top:15px;
	left:20px;
}

.acftc-field-code .acftc-field__copy {
	position: absolute;
	top:-22px;
	right:14px;
	width: 12px;
	height: 20px;
	background: url(icon--clipboard.svg) center center no-repeat;
	background-size: 12px auto;
	display: block;
	opacity: 0.3;
	transition: all 300ms ease-in;
	z-index: 1000;
}

.acftc-copy-all:hover, 
.acftc-field-code .acftc-field__copy:hover  {
	opacity: 1;
}


@-webkit-keyframes zoomitbig {
	15%,40%,75%,100% {
		-webkit-transform-origin: center center
	}

	15% {
		-webkit-transform: scale(1.4, 1.2)
	}

	40% {
		-webkit-transform: scale(0.9, 0.9)
	}

	75% {
		-webkit-transform: scale(1.08, 1)
	}

	100% {
		-webkit-transform: scale(1, 1)
	}
}

@-moz-keyframes zoomitbig {
	15%,40%,75%,100% {
		-moz-transform-origin: center center
	}

	15% {
		-moz-transform: scale(1.4, 1.2)
	}

	40% {
		-moz-transform: scale(0.9, 0.9)
	}

	75% {
		-moz-transform: scale(1.08, 1)
	}

	100% {
		-moz-transform: scale(1, 1)
	}
}

.acftc-copy-all:focus,
.acftc-field-code .acftc-field__copy:focus {
	outline: 0;
	border:none;
	box-shadow: none !important;
	-webkit-animation: zoomitbig 300ms ease-out;
   -moz-animation: zoomitbig 300ms ease-out
}

a.acftc-contact-link {
	display: block;
	padding:10px;
}

.acftc-intro-notice {
	padding:10px 20px;
}

.li-field-label {
	width: 31% !important;
}
.li-field-type {
	width: 22% !important;
}

/* styles for the location section */
.acf-locations {
	border-bottom:1px solid #e5e5e5;
}
.acf-locations .acf-field .acf-label label {
	line-height: 28px;
}

/* hide all the locations to start */
.location-wrap {
	display: none;
}

/* show the first one */
#acftc-group-0.location-wrap {
	display: block;
}


/* location intro area styles for v4 only - body.post-type-acf is only in acf 4 */
body.post-type-acf .acf-locations {
	overflow: auto;
	width: 100%;
	display: block;
}
body.post-type-acf .acf-locations .acf-label {
	width: 24%;
	margin: 0;
	padding: 15px 12px;
	float: left;
	position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background: #F9F9F9;
	border-right:1px solid #E1E1E1;
	font-weight: bold;
}

body.post-type-acf .acf-locations .acf-input {
	width: 76%;
	margin: 0;
	padding: 15px 12px;
	float: left;
	position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body.post-type-acf .acf-locations .acf-field select  {
	width: 100%;
	padding: 3px 5px;
	resize: none;
	margin: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 14px;
	line-height: 1.4;
}

/* copy all */
.acftc-copy-all {
	position: absolute;
	top:-28px;
	right:10px;
	width: 20px;
	height: 20px;
	background: url(icon--clipboard.svg) center center no-repeat;
	background-size: 12px auto;
	display: block;
	opacity: 0.3;
	transition: all 300ms ease-in;
	z-index: 1000;
}

.acftc-copy-all:hover  {
	opacity: 1;
}
