/*
Theme Name: Hamilton child theme for Aviva
Theme URI: http://backtofrontdesign.co
Description:
Template: hamilton
*/

/* Typography */

/*Pages from the old site have links bolded */

p,
.entry-content li {
	font-size: .8em;
}

strong a,
a strong {
	font-weight: normal;
}

/* Removing the cool fade-block effect on titles */

.page-header {
min-height: 0;
margin-bottom: 2em;
}

/* capitalise titles :/ */
.site-name,
.title,
h1,
.menu-item a {
	text-transform: uppercase;
}
#site-content h1 {
	color: rgba( 0, 0, 0, .6 );
}
.title {
	font-size: 36px;
}

/*Navigation */

.menu-item a {
	text-decoration: none;
}
.menu-item a:hover,
.menu-item a:active {
	text-decoration: underline;
}

@media (max-width:620px){
.site-nav .menus {
 
	padding-top: 80px;
}
}

.site-nav.active footer {
	display:none;
}

/* Home Page */

.section {
	margin-top: 150px;;
}

@media (max-width: 620px) {
	.home .section {
		margin-top: 76px;
			
	}

}

.section-heading {
	margin: 24px 0 18px 0;
	
}
.section-heading h1 {
	font-size: 24px;
}

/* Loading spinner on the home page phot slider */

ss3-loader::after {
	display:none;
	content:none;
}

/* Archives */

.archive .page-header {
  margin-bottom: 60px;
}

.three-columns-grid .post-preview {
	float: left;
}


.preview-image {
    height: 100%;
	background-size: cover ;
	background-position:center center;
	transition: transform 2s; 
	
  }
.post-preview:hover .preview-image {
	transform: scale(1.1);
	 
  }


@media (min-width: 620px){
	.post-preview  {
	height:  280px;
	overflow:hidden;
	padding: 0px;
	border: 10px solid #fff;
	/*replacing padding with border to allow zoom on hover */
	}
	.three-columns-grid .post-preview h2 {
    font-size: 18px;
}
}

@media (max-width: 620px) { 
	.post-preview{
		width: 100%;
		height:  280px;
	overflow:hidden;
	padding: 0px;
	border: 5px solid #fff;
	/*replacing padding with border to allow zoom on hover */
	}
	.three-columns-grid .post-preview h2 {
    font-size: 18px;
	}
}



/* events archive */
.category-performances #site-content,
.category-performances .section-inner#events {
font-size: 0px;
  /* bug in upcoming events query showing date on 1st page of pagination onlly, hide this */
}
 .event-date {
  font-size: 12px;
  color: #fff;
  margin-top: 8px;
}



/* Single posts */

.dates {
  margin-bottom: 1.2em;
}

@media min-width(620px){ 
/* media embeds except on mobile */
.wp-block-embed__wrapper {
    max-width: 80%;
    margin: 0 auto;
}
}

.meta {
	margin-top: 12px;
	font-size: 12px;
}

/* Newsletter subscriptions */

.tnp-field input[type="submit"] {
    margin: 2em auto;
}


/* VIBRATO VIRTUAL PAGES
pink: #f18eab
red: #f1696b
orange: #f19257
yellow: #e3d36d
*/

.vv-button {
  width: 100%;
  border: 2px solid #fff;
  border-radius: 12px;
  font-size: 48px;
  font-weight: 1;
  background-color: #fff;
  margin-bottom: 1em;
}


.vv-button .play-icon {
  font-size: 112px;
  font-weight: 1;
}



/* RED */
.page-id-1796,
.page-id-1796 .site-nav,
.page-id-1796 .site-nav footer{
	background-color: #f1696b;
}

.post-1796 .vv-button,
.post-1796 .vv-button span{
  color: #f1696b;
}

/*PINk*/

.page-id-1817,
.page-id-1817 .site-nav,
.page-id-1817 .site-nav footer {
  background-color: #f18eab;
}
.page-id-1817 .vv-button {
  color: #f18eab!important;
	
}

/* ORANGE */

.page-id-1819,
.page-id-1819 .site-nav,
.page-id-1819 .site-nav footer{
  background-color: #f19257;
}
.page-id-1819 .vv-button {
  color: #f19257;
}

/* YELLOW */
.page-id-1821,
.page-id-1821 .site-nav,
.page-id-1821 .site-nav footer{
  background-color: #e3d36d;
}
.page-id-1821 .vv-button {
  color: #e3d36d;
}

