/*
Theme Name: De Alwis
Theme URI: http://www.elizabethmartland.co.uk
Description: Custom template for Elizabeth Marltand De Alwis
Author: Sean Bowen
Version: 2.0
*/



/*
Reset
---------------------------------------
*/

*, html, body { 
	margin:0; 
	padding:0; 
	}
	
html {
  font-size: 16px;
}


fieldset, img { 
	border:0; 
}

h1, h2, h3, h5, h5, h6 { 
	font-size:100%; 
	}

ul { 
	list-style:none; 
}



/*
General Styling
---------------------------------------
*/

body {
	font-family: 'Raleway', sans-serif;
	background: #fff;
	color: #0169A8;
	font-style: normal;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
	overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Libre Baskerville', serif;
	color: #73B0AC;
}

h1 {
	font-size: 32px;
	line-height: 40px;
	padding-bottom: 20px;
}

h2 {
	
}

h3 {
	
}


p {
	font-size: 16px;
	line-height: 24px;
	padding-bottom: 20px;
	color: #373737;
}


a {
	
}

a:hover {
	text-decoration: none;
}


.clear { 
	clear: both; 
}

.clear-right {
	clear: right;
}


/*
Site Strucutre
---------------------------------------
*/

.page-mask {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	min-height: 1500px;
	background: #92C2BF;
	overflow: hidden;
	z-index: 1000;
}

.masthead-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 70px;
	background: transparent;
	z-index: 999;
}

.masthead-fade {
	background: #92C2BF !important;
	transition: all 1s;
}

.masthead, .footer {
	margin: 0px auto; 
	width: 1100px;
	height: auto;
}

.masthead {
	height: 70px;
}

.masthead-wrapper, .masthead {
	background: #92C2BF;
}

.home .masthead-wrapper, .home .masthead {
	background: transparent;
}

.wrapper {
	position: relative;
	width: 100%;
	height: auto;
}

.logo {
	float: left;
	margin-top: 12px;
}

.logo a, .logo h1 {
	font-family: 'Playfair Display', serif;
	font-weight: 400;
	font-size: 36px;
	line-height: 40px;
	color: #fff;
	letter-spacing: 0.09em;
	text-decoration: none;
}

.logo h1.light {
	color: #fff;
}

.logo h1.dark {
	color: #73B0AC;
}

.slides {
	position: fixed;
	width: 100%;
	height: 100%;
	min-width: 100vw;
	top: 0;
	left: 0;
	z-index: 1;
}

.slider-navigation {
	position: absolute;
	top: 50%;
	left: 0;
	margin-top: -50px;
	width: 100%;
	height: 60px;
	z-index: 90;
}

.slider-prev {
	position: absolute;
	top: 0;
	left: -30px;
	display: block;
	width: 50px;
	height: 60px;
	background: #92C2BF;
	z-index: 90;
	opacity: 0.5;
	text-align: center;
	cursor: pointer;
}

.slider-next {
	position: absolute;
	top: 0;
	right: -30px;
	display: block;
	width: 50px;
	height: 60px;
	background: #92C2BF;
	z-index: 90;
	opacity: 0.5;
	text-align: center;
	cursor: pointer;
}

a.slider-prev, a.slider-next {
	font-size: 72px;
	line-height: 45px;
	color: #fff;
	-webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

a.slider-prev:hover, a.slider-next:hover {
	opacity: 0.8;
}

.slide-caption {
	position: absolute;
	top: 50%;
	left: 10%;
	margin-top: -80px; /* WAS -45 */
	width: 80%;
	height: auto;	
	text-align: center;
	z-index: 90;
}

.painting-slide {
    position: relative;
}

.painting-slide-caption {
	position: absolute;
	bottom: 30px;
	left: 30px;
	width: 45%;
	height: auto;
	z-index: 100;
}

.painting-slide-caption h2 {
	font-size: 68px;
	line-height: 84px;
	padding-bottom: 20px;
	color: #fff;
}

.painting-slide-caption h3 {
	font-family: 'Raleway', sans-serif;
	font-size: 30px;
	font-weight: 300;
	line-height: 36px;
	padding-bottom: 0;
	color: #fff;
	padding-bottom: 50px;
}

.painting-slide-caption h2, .painting-slide-caption h3 {
	text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.35);
}

.hero {
	position: fixed;
	top: 70px;
	left: 0;
   width: 100%;
	height: auto;
	max-height: 500px;
}

.slides img, .painting-slide img, .hero img, .home-workshops li img, .home-news li img, .news-summary li img, .news-images img.news-main-image, .news-images img.news-aux-image, 
.news-images img.news-aux-image-half, .workshops-list li img, .home-exhibit-image img, .mobile-menu-icon img, .gallery-image img, .study-content-image img {
	display: block;
	width: 100%;
	height: 100%;
	background-position: center;
	object-fit: cover;
	-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.home-news li img {
	min-height: 260px;
}

.home-news ul li {
	position: relative;
}

.news-overlay {
  position: absolute;
  bottom: 0;
  left: 0.1%;
  right: 0.1%;
  background-color: #92C2BF;
  overflow: hidden;
  width: 100%;
  height: 20%;
  text-align: center;
  transition: .3s ease;
}

.home-news ul li:hover .news-overlay {
  height: 100%;
}

.news-overlay-title {
	width: 100%;
	height: 70px;
}

.news-overlay-text {
	padding: 20px 5px 10px 5px;
}

.news-overlay-text p {
	font-size: 16px;
	line-height: 18px;
	padding-bottom: 5px;
}

.news-overlay-text p.read-more {
	margin-top: 20px;
	text-transform: uppercase;
}

.news-overlay-text h3, .news-overlay-text p {
	color: #fff;
}

.home-full-wrapper {
	position: relative;
	margin-top: 2000px;
	width: 100%;
	height: auto;
	min-height: 500px;
	background: #fff;
	z-index: 140;
}

.full-wrapper {
	margin-top: 700px;
}

.no-hero {
	margin-top: 0;
}

.content, .news-content, .workshop-content, .exhibit-content {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 400px;
	padding-top: 40px;
	padding-bottom: 80px;
	background: #fff;
}

.content-fixed-width {
	position: relative;
	margin: 0px auto; 
	width: 1100px;
	height: auto;
	background: #fff;
}

.preliminary-content {
	padding-top: 120px;
}

.preliminary-content.text-only {
	padding-bottom: 60px;
}

.preliminary-content ol li, ul li {
	font-size: 16px;
    line-height: 24px;
    padding-bottom: 20px;
    color: #373737;
}

.preliminary-content ol li {
	margin-left: 20px;
}

.preliminary-content ul li {
	margin-left: 20px;
	list-style: disc;
}

.preliminary-content h3 {
	padding-bottom: 20px;
}

.preliminary-content a {
	color: #73B0AC;
	font-weight: 700;
	text-decoration: none;
}

.preliminary-content a:hover {
	color: #373737;
}

.content-fixed-width h2 {
	font-size: 32px;
	line-height: 40px;
	padding-top: 30px;
	padding-bottom: 20px;
}

.news .content {
	margin-top: 0;
}

.home-content {
	text-align: center;
}

.home-intro {
	width: 100%;
	padding-top: 150px;
	padding-bottom: 150px;
	background: #73B0AC;
	/*background: #373737;*/
}

.home-content h2 {
	font-size: 52px;
	font-size: 4.10vw; 
	line-height: 62px;
	padding-bottom: 15px;
}

.home-content h3, .home-workshops h2, .home-news h2 {
	font-size: 26px;
	line-height: 32px;
}

.home-intro h2 {
	font-size: 52px;
	font-size: 4.10vw; 
	line-height: 82px;
	line-height: 6vw;
	padding-bottom: 30px;
}

.home-intro h3 {
	line-height: 38px;
	padding-bottom: 20px;
}

.home-intro h2, .home-intro h3 {
	color: #fff;
}

.news-overlay-text h3 {
	font-size: 18px;
	line-height: 22px;
	padding-bottom: 20px;
}

.home-workshops h2, .home-news h2 {
	padding-bottom: 40px;
}

.home-workshops {
	width: 100%;
	margin: 50px 0 40px 0;
	padding-left: 1.2%;
	overflow: hidden;
}

.workshops-list {
	margin: 100px 0 40px 0;
}

.home-workshops li, .workshops-list li {
	position: relative;
	width: 100%;
	height: 400px;
	margin-bottom: 50px;
}

.home-workshops li img, .workshops-list li img {
	position: absolute;
	width: 80%;
	height: 100%;
}


.home-workshop-content {
	position: absolute;
	width: 20%;
	height: 87%;
	padding: 2.5%;
	background: #92C2BF;
}

.home-workshops li:nth-child(odd) .home-workshop-content, .workshops-list li:nth-child(odd) .home-workshop-content {
	top: 0;
	right: 0;
}

.home-workshops li:nth-child(odd) img, .workshops-list li:nth-child(odd) img {
	top: 0;
	left: 0;
}

.home-workshops li:nth-child(even) .home-workshop-content, .workshops-list li:nth-child(even) .home-workshop-content {
	top: 0;
	left: 0;
}

.home-workshops li:nth-child(even) img, .workshops-list li:nth-child(even) img {
	top: 0;
	right: 0;
} 

.home-workshop-text {
	margin-top: 30%;
}

.home-workshop-text h3, .home-workshop-text p, .home-workshop-text a {
	color: #fff;
}

.home-workshop-text h3 {
	font-size: 20px;
   line-height: 24px;
	padding-bottom: 5px;
}

.home-workshop-text p {
	font-size: 14px;
	padding-bottom: 5px;
}

.home-workshop-text a {
	text-decoration: none;
}

.content-first-col {
	float: left;
	width: 47%;
	padding-bottom: 50px;
}

.content-second-col {
	float: right;
	width: 50%;
	margin-top: 60px;
	padding-bottom: 50px;
}

.gallery-list li.gallery-item {
	float: left;
	width: 30%;
	height: auto;
	margin-right: 3%;
	margin-bottom: 30px;
}

.gallery-list li.landscape {
	height: auto;
}

.gallery-list li.portrait {
	height: auto;
}

.gallery-list li.square {
	height: auto;
}

.gallery-list li:nth-child(3n+3) {
	margin-right: 0;
}

.gallery-image:hover {
	opacity: 0.8;
}

.gallery-text {
	height: 180px;
}

.content-fixed-width .gallery-text h2, .study-description h2 {
    font-size: 22px;
    line-height: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.gallery-text p {
    font-size: 16px;
    line-height: 24px;
    padding-bottom: 5px;
}

.gallery-text a.gallery-more-link {
	color: #73B0AC;
	font-weight: 700;
	text-decoration: none;
}

.portrait .study-content {
	float: left;
	width: 50%;
	height: auto;
}

.portrait .study-specifics {
	float: right;
	width: 45%;
	height: auto;
}

.landscape .study-content-image {
	text-align: center;
}

.landscape .study-content-image img {
	display: inline-block;
	width: auto;
	max-height: 500px;
}

.portrait .study-content-image img {
	display: inline-block;
	width: auto;
	max-width: 100%;
	max-height: 800px;
}

.study-content-image {
	padding: 10px 0 30px 0;
}

.study-details {
	margin-top: 20px;
	margin-bottom: 50px;
}

.landscape .study-description {
	float: left;
	width: 70%;
}

.landscape .study-details {
	float: right;
	width: 25%;
}

p.painting-sold {
	font-weight: 700; 
	color: red; 
}

p.painting-sold::before { 
  display: inline-block;
    content: '';
    -webkit-border-radius: 0.375rem;
    border-radius: 0.375rem;
    height: 0.75rem;
    width: 0.75rem;
    margin-right: 0.5rem;
    background-color: red;
}

.case-mask {
	position: fixed;
	right: 0;
	bottom: -100%;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,1);
	z-index: 99999;
}

.case-banner {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 70px;
	background: #92C2BF;
}

.case-close {
	position: absolute;
	top: 10px;
	right: 40px;
}

.case-close a {
	font-size: 38px;
	color: #fff;
	text-decoration: none;
}

.case-content {
	width: 90%;
	height: calc(100% - 70px);
	padding: 120px 5% 30px 5%;
	overflow-y: scroll;
}

.case-text-ouput {
	display: none;
}

.news-content .content-second-col {
	margin-top: 0;
}

.about-parallax-image {
	padding-top: 0;
}

.about-parallax-image-bkgrd {
	background: transparent url("images/about_img.jpg") no-repeat 0 0;
}

.about-parallax-image-bkgrd {
	display: block;
	width: 100%;
	height: auto;
	min-height: 620px;
	background-attachment: fixed;
	background-position: center;
	object-fit: cover;
	-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.home-news {
	width: 100%;
	margin: 100px 0 120px 0;
	overflow: hidden;
}

.home-news li {
	position: relative;
	float: left;
	width: 32%;
	height: auto;
	margin-right: 1.33%;
}

.home-news li:last-child {
	margin-right: 0;
}

.news-summary, .workshops-list {
	margin-top: 20px;
}

.workshops-list {
	min-height: 400px;
}

.news-summary li {
	position: relative;
	float: left;
	width: 48%;
	height: auto;
	min-height: 300px;
	margin-bottom: 30px;
	margin-right: 2%;
}

.news-summary li.lead-story {
	position: relative;
	float: left;
	width: 100%;
	height: auto;
	min-height: 300px;
	margin-bottom: 30px;
	margin-right: 0;
}

.news-summary li:nth-child(2n+2) {
	margin-right: 0;
}

.news-image {
	width: 100%;
	height: 340px;
	overflow: hidden;
}

.news-summary li.lead-story .news-image {
	height: 540px;
	max-height: 620px;
}

.news-summary li img {
	max-height: 650px;
	padding-bottom: 30px;
}

.news-summary ul li img {
	-webkit-transform: scale3d(1, 1, 1);
   transform: scale3d(1, 1, 1);
  -webkit-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
}

.news-summary ul li img:hover {
    -webkit-transform: scale3d(1.1, 1.1, 1);
   transform: scale3d(1.1, 1.1, 1);
  -webkit-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
}

.news-summary h2, .news-summary a h2 {
	font-size: 22px;
	line-height: 30px;
	padding-top: 30px;
	padding-bottom: 20px;
}

.news-summary a {
	text-decoration: none;
}

.news-summary .news-read-more a {
	position: relative;
	color: #73B0AC;
}

.news-read-more a,
.news-read-more a:after, .workshop-read-more a, .workshop-read-more a:after {
  transition: all .5s;
}

.news-summary .news-read-more a, .workshop-read-more a, .home-exhibit-caption .read-more a {
	display: block;
	width: 150px; 
	height: 35px;
	margin-top: 20px;
	margin-right: 10%;
	padding: 5px 0 5px 0;
	text-align: center;
	font-size: 18px;
	line-height: 35px;
	background: #fff;
	border: 2px solid #92C2BF;
	color: #92C2BF;
	cursor: pointer;
}

.workshop-read-more a {
	display: inline-block;
	margin-right: 0;
}

.home-exhibit-caption .read-more a {
	background: #373737;
	border: 2px solid #373737;
	color: #FFFAFA;
	text-decoration: none;
}

.news-summary .news-read-more a:hover, .workshop-read-more a:hover, .home-exhibit-caption .read-more a:hover {
	background: #92C2BF;
	color: #FFFAFA;
}

.home-exhibit-caption .read-more a:hover {
	border: 2px solid #92C2BF;
}

.workshop-read-more a:hover {
	background: #373737;
}

.news-summary h3, .news-content h3, .workshop-content h3 {
	font-family: 'Raleway', sans-serif;
	font-size: 18px;
	line-height: 20px;
	font-weight: 400;
	padding-bottom: 10px;
	color: #C1C1C1;
}

.workshop-content h3 {
	padding-bottom: 20px;
}

.news-content h3 {
	padding-bottom: 30px;
}

.news-summary p {
	display: block;
	width: 70%;
	height: auto;
}

.share-buttons ul li {
	float: left;
	margin-right: 15px;
	padding-bottom: 20px;
}

.share-buttons ul li:first-child {
	padding-top: 5px;
}

.news-images img.news-aux-image, .news-images img.news-aux-image-half {
	float: left;
	position: relative;
	display: block;
	height: auto;
	/*padding: 0.1%;*/
	background: #fff;
}

.news-images img.news-main-image {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	max-height: 650px;
	background: #fff;
}

.news-images img.news-aux-image-half {
	width: 50%;
}

.news-images img.news-aux-image {
	width: 33.33%; 
}

.workshop-text, .exhibit-text {
	float: left;
	width: 60%;
	margin-right: 5%;
}

.exhibit-text h3 {
	padding-bottom: 30px;
}

.workshop-specifics, .exhibit-specifics {
	float: left;
	width: 30%;
	height: auto;
	min-height: 400px;
	padding-left: 2.5%;
	border-left: 1px solid #C1C1C1;
}

.workshop-specifics p, .exhibit-specifics p {
	font-size: 18px;
   line-height: 22px;
   padding-bottom: 15px;
   color: #373737;
}

.workshop-specifics h2, .exhibit-specifics h2 {
	font-size: 32px;
   line-height: 40px;
   padding-bottom: 20px;
}


.workshop-specifics strong, .exhibit-specifics strong {
	color: #73B0AC;
	font-weight: normal;
}

.exhibit-specifics a {
	color: #92C2BF;
	font-weight: 900;
	text-decoration: none;
}

.workshop-specifics a.book-workshop, a.gallery-buy {
	display: block;
	width: 127px;
	height: 40px;
	margin-top: 30px;
	padding: 5px 10px 5px 10px;
	text-align: center;
	font-size: 18px;
	line-height: 40px;
	background: #373737;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}

.workshop-specifics a.book-workshop:hover, a.gallery-buy:hover {
	background: #92C2BF;
}
    

.tweets, .twitter-post, .testimonials {
	width: 100%;
	height: auto;
	background: #92C2BF;
	text-align: center;
	padding-top: 60px;
	padding-bottom: 60px;
}

.tweets {
	background: #73B0AC;
}

.testimonials {
	background: #373737;
}

.tweet-text {
	width: 70%;
	height: auto;
	margin-left: 15%;
	margin-right: 15%;
  text-align: center;
}

.testimonial {
	width: 90%;
	height: auto;
	margin-left: 5%;
  text-align: center;
}

.tweet-text p, .tweet-text a{
	font-family: 'Libre Baskerville', serif;
	font-size: 38px;
	line-height: 48px;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.tweet-text a:hover {
	text-decoration: none;
} 

.testimonial p, .testimonial a {
	font-family: 'Libre Baskerville', serif;
	font-size: 22px;
	line-height: 32px;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.testimonial p.testifier {
	font-size: 16px;
	line-height: 24px;
	font-style: italic;
}

a.twitter-follow, a.instagram-follow  {
	margin-top: 30px;
	font-size: 28px;
	color: #fff;	
	text-decoration: none;
}

a.instagram-follow {
	clear: both;
	padding-top: 50px;
	color: #92C2BF;
}

.instagram-grid {
	width: 100%;
	height: auto;
	background: #fff;
	text-align: center;
	padding-top: 100px;
	padding-bottom: 60px;
}

.contact-panel {
	display: none;
	width: 100%;
	height: 300px;
	background: #92C2BF;
}

.contact-details {
	margin-top: 30px;
}

.contact-details a {
	color: #373737;
	text-decoration: none;
}

.contact-details strong, .contact-details a:hover {
	color: #73B0AC;
}

.contact-social {
	margin-top: 40px;
}

.home-exhibit {
	width: 100%;
	height: auto;
	/*max-height: 600px;*/
	margin-top: 80px;
}

.home-exhibit-content {
	position: relative;
	width: 100%;
	height: auto;
	margin-bottom: 40px;
}

.home-exhibit-image::after {
    content: ""; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.home-exhibit-caption {
	position: absolute;
	bottom: 5%;
	left: 5%;
	width: 60%;
	height: auto;
	text-align: left;
	z-index: 1;
}
 
.home-exhibit-caption h2 {
	font-size: 52px;
    line-height: 72px;
    padding-bottom: 20px;
}

.home-exhibit-caption h3 {
	padding-bottom: 20px;
}

.home-exhibit-caption h2, .home-exhibit-caption h3 {
	color: #fff;
}

p.caption {
	display: block;
	margin-top: -20px;
	font-size: 14px;
    line-height: 18px;
    padding-bottom: 20px;
}

.footer-wrapper {
	position: relative;
   width: 100%;
   height: 60px;
	/*background: #92C2BF;*/
	background: #373737;
	z-index: 140;
}

.footer-content {
	position: relative;
	margin: 0px auto; 
	width: 1100px;
	height: 60px;
}

.footer-copyright, .footer-legal {
	width: 43%;
	height: 50px;
}

.footer-copyright, .footer-legal {
	float: left;
}

.footer-social {
	float: right;
	width: 10%;
	height: 50px;
	margin-top: 10px;
}

.footer p {
	margin-top: 15px;
	color: #fff;
}

.footer-social ul li, .contact-social ul li {
	float: left;
	list-style: none;
}

.footer-social a.facebook, .footer-social a.twitter, .footer-social a.instagram,
.contact-social a.facebook, .contact-social a.twitter, .contact-social a.instagram {	
	display: block;
	width: 30px;
	height: 30px;
	margin-right: 10px;
	-webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.footer-social a.twitter {
	margin-right: 0;
}

.contact-social ul li {
	margin-right: 15px;
}

.contact-social a.facebook, .contact-social a.twitter, .contact-social a.instagram {
	width: 40px;
	height: 40px;
}

.footer-social a.facebook, .contact-social a.facebook {
	background: transparent url("images/footer-fb.png") no-repeat 0 0;
	background-position: center;
	object-fit: cover;
	-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.footer-social a.twitter, .contact-social a.twitter {
	background: transparent url("images/footer-twitter.png") no-repeat 0 0;
	background-position: center;
	object-fit: cover;
	-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.footer-social a.instagram, .contact-social a.instagram {
	background: transparent url("images/footer-instagram.png") no-repeat 0 0;
	background-position: center;
	object-fit: cover;
	-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

a.facebook:hover, a.twitter:hover, a.instagram:hover {
	-webkit-opacity: 0.8;
  -moz-opacity: 0.8;
  opacity: 0.8;
}



/*
Navigation
---------------------------------------
*/

.mobile-menu-icon, .mobile-nav {
	display: none;
}

.nav {
  float: right;
  width: 60%;
  margin: 0 auto;
  padding-top: 15px;
}

.nav ul {
  list-style: none;
  text-align: center;
}

.nav ul li {
  display: inline-block;
}

.nav ul li a {
  display: block;
  padding: 10px 5px;
  text-decoration: none;
  font-family: 'Libre Baskerville', serif;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin: 0 10px;
}

.nav ul li a,
.nav ul li a:after,
.nav ul li a:before {
  transition: all .5s;
}

.nav ul li a:hover, .nav li.current_page_item a {
  color: #fff;
}

.nav ul li a.light, .nav ul li a.light:hover, .nav li.current_page_item a.light {
	color: #fff;
}

.nav ul li a.dark, .nav ul li a.dark:hover, .nav li.current_page_item a.dark {
	color: #73B0AC;	
}

.nav ul li a {
  position: relative;
}

.nav ul li a:after, .nav li.current_page_item > a:after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 0%;
  content: '.';
  color: transparent;
  background: #fff;
  height: 1px;
}

.nav ul li a.light:after, .nav li.current_page_item > a.light:after {
	background: #fff;
}

.nav ul li a.dark:after, .nav li.current_page_item > a.dark:after {
	background: #73B0AC	;
}

.nav ul li a:hover:after, .nav li.current_page_item > a:after {
  width: 100%;
}

.footer-legal a {
	margin-top: 15px;
	color: #fff;
	text-decoration: none;
}


/*
Form
---------------------------------------
*/


label {
	font-size: 20px;
	font-weight: 400;
	color: #73B0AC;
}

.content-form h3 {
	margin-bottom: 30px;
}

.content-form input[type="text"], .content-form textarea {
	display: block;
	width: 90%;
	height: 46px;
	padding: 5px;
	border: 2px solid #92C2BF;
	margin-top: 10px;
	margin-bottom: 20px;
}

.content-form textarea {
	height: 160px;
}


.content-form input[type="text"]:focus, .content-form textarea:focus,
.content-form input[type="text"]:hover, .content-form textarea:hover {
	border: 2px solid #92C2BF;
}

.content-form .submit-button {
	float: right;
	display: block;
	width: 127px; /* WAS 254 */
	height: 38px;
	margin-top: 20px;
	margin-right: 10%;
	padding: 5px 0 5px 0;
	text-align: center;
	font-size: 18px;
	line-height: 26px;
	background: #92C2BF;
	border: 2px solid #92C2BF;
	color: #fff;
	cursor: pointer;
}

.content-form .submit-button:hover {
	background: #fff;
	color: #92C2BF;
}

.content-form a {
	color: #92C2BF;
}
 
label.error{
	display: none !important;
}

input.error, textarea.error { 
	border: 1px solid red !important; 
	background-color: #FFDAD5 !important;
}


/*
Animations
---------------------------------------
*/

.fade-up.in-view {
	animation: fade-in-move-up 0.5s;
	opacity: 1;
}


@keyframes fade-in-move-up {
  0% {
    opacity: 0;
    transform: translateY(4rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-move-down {
  0% {
    opacity: 0;
    transform: translateY(-3rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@-webkit-keyframes fadeIn { from { opacity:0; opacity: 1\9; /* IE9 only */ } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; opacity: 1\9; /* IE9 only */ } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; opacity: 1\9; /* IE9 only */ } to { opacity:1; } }

.fade-in.in-view .animate-item {
    opacity:0;  
    -webkit-animation:fadeIn ease-in 1;  
    -moz-animation:fadeIn ease-in 1;
    animation:fadeIn ease-in 1;

    -webkit-animation-fill-mode:forwards;  
    -moz-animation-fill-mode:forwards;
    animation-fill-mode:forwards;

    -webkit-animation-duration:1.6s;
    -moz-animation-duration:1.6s;
    animation-duration:1.6s;
}

.arrow {
  position: fixed;
  bottom: 25px;
  left: 50%;
  margin-left:-20px;
  width: 40px;
  height: 40px;
  background: transparent url("images/down-arrow.png") no-repeat 0 0;
  background-size: contain;
  z-index: 99;
}

.bounce {
	-webkit-animation-name: bounce;
	-moz-animation-name: bounce;
	-o-animation-name: bounce;
	animation-name: bounce;
}
.animated{-webkit-animation-fill-mode:both;
-moz-animation-fill-mode:both;
-ms-animation-fill-mode:both;
-o-animation-fill-mode:both;

            animation-iteration-count: infinite;
       -moz-animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;

animation-fill-mode:both;
-webkit-animation-duration:2s;
-moz-animation-duration:2s;
-ms-animation-duration:2s;
-o-animation-duration:2s;
animation-duration:2s;
}


@-webkit-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);}	40% {-webkit-transform: translateY(-30px);}
	60% {-webkit-transform: translateY(-15px);}
}

@-moz-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);}
	40% {-moz-transform: translateY(-30px);}
	60% {-moz-transform: translateY(-15px);}
}

@-o-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);}
	40% {-o-transform: translateY(-30px);}
	60% {-o-transform: translateY(-15px);}
}
@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
	40% {transform: translateY(-30px);}
	60% {transform: translateY(-15px);}
}


#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 42px;
    height: 42px;
    color: #444;
    cursor: pointer;
    text-decoration: none;
	 background: transparent url("images/backtotop.png") no-repeat 0 0;
	 z-index: 9999;
	 transition: opacity 0.2s ease-out;
    opacity: 0;
}

#back-to-top.show {
    opacity: 1;
}



/*
Responsive
---------------------------------------
*/


@media only screen and (max-device-width: 1099px), screen and (max-width:1099px){ 

.masthead, .footer, .content-fixed-width {
	margin: 0; 
	width: 95%;
	padding-left: 2.5%;
	padding-right: 2.5%;
}


}


@media only screen and (max-device-width: 1050px), screen and (max-width:1050px){ 

.nav {
	display: none;
}

/* Navigation */

.nav {
	display: none;
}

.mobile-menu-icon {
    display: block;
    float: right;
    width: 5%;
    height: auto;
    margin-top: 20px;
    margin-right: 25px;
}

.mobile-nav {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	min-height: 2000px;
	padding-top: 10%;
	background: #92C2BF;
	text-align: center;
	z-index: 1000;
}

.mobile-menu-close {
	position: absolute;
	top: 10px;
	right: 20px;
	width: 40px;
	height: 40px;
	text-align: center;
	z-index: 1001;
}

.mobile-menu-close a {
    font-size: 68px;
    line-height: 62px;
    color: #fff;
    text-decoration: none;
}

.mobile-nav li {
	width: 90%;
	padding: 10px 5% 10px 5%;
}

.mobile-nav li a {
	font-size: 38px;
	line-height: 60px;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
}

.footer-social {
	display: none;
}

}


@media only screen and (max-device-width: 800px) and (orientation: portrait), screen and (max-width:800px){ 

.page-mask {
	min-height: 3000px;
}

.logo {
    float: left;
    margin-top: 12px;
    margin-left: 5%;
}

.logo a, .logo h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 44px;
    line-height: 40px;
    color: #fff;
    letter-spacing: 0.09em;
    text-decoration: none;
}

.mobile-menu-icon {
    display: block;
    float: right;
    width: 5%;
    height: auto;
    margin-top: 10px;
    margin-right: 0;
}

.arrow {
	display: none;
}

#back-to-top.show {
    opacity: 0;
}

.painting-slide, .painting-slide img {
	height: 650px;
}

.home-full-wrapper {
    margin-top: 650px;
}

.home-exhibit {
    margin-top: 20px;
}

.home-intro {
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
}

.home-content h2 {
    font-size: 52px;
    font-size: 4.10vw;
    line-height: 42px;
    padding-bottom: 15px;
}

.home-workshop-text {
    margin-top: 10%;
}

.home-workshop-content {
    position: absolute;
    width: 20%;
    height: 87.5%;
    padding: 2.5%;
    background: #92C2BF;
}

.home-intro {
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
}

.home-news {
    width: 100%;
    margin: 40px 0 40px 0;
    overflow: hidden;
}

.home-news ul li:hover .news-overlay {
  height: 20%;
}

.exhibit-text h3 {
	padding-bottom: 30px;
}

.tweets, .twitter-post, .testimonials {
    padding-top: 30px;
    padding-bottom: 30px;
}

.tweets, .twitter-post, .testimonials {
    width: 100%;
    height: auto;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
}

.tweet-text p, .tweet-text a {
    font-family: 'Libre Baskerville', serif;
    font-size: 28px;
    line-height: 34px;
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.full-wrapper {
    margin-top: 520px;
}

.no-hero {
    margin-top: 0;
}

.news-images img.news-main-image {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    max-height: 450px;
    background: #fff;
}

.content-first-col {
    float: none;
    width: 100%;
    padding-bottom: 0;
}

.content-second-col {
    float: none;
    width: 100%;
    margin-top: 20px;
    padding-bottom: 50px;
}

.about-parallax-image {
    display: none;
}

.instagram-grid {
    padding-top: 30px;
    padding-bottom: 30px;
}

.fade-in.in-view .animate-item {
    opacity: 1;  
    -webkit-animation: none;  
    -moz-animation: none;
    animation: none;
}

}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

.mobile-menu-icon {
    display: block;
    float: right;
    width: 5%;
    height: auto;
    margin-top: 10px;
    margin-right: 0;
}

.arrow {
	display: none;
}

#back-to-top.show {
    opacity: 0;
}

.full-wrapper {
    margin-top: 520px;
}

.full-wrapper.no-hero {
	margin-top: 0;
}

.home-workshop-content {
    position: absolute;
    width: 20%;
    height: 87%;
    padding: 2.5%;
    background: #92C2BF;
}

.about-parallax-image {
    display: none;
}

#back-to-top.show {
    opacity: 0;
}

.home-news {
    width: 100%;
    margin: 40px 0 40px 0;
    overflow: hidden;
}

.home-news ul li:hover .news-overlay {
  height: 20%;
}

.fade-in.in-view .animate-item {
    opacity: 1;  
    -webkit-animation: none;  
    -moz-animation: none;
    animation: none;
}

}


@media only screen and (max-device-width: 500px), screen and (max-width:500px){ 

.home .masthead {
    background: #92C2BF;
}

.logo h1.dark {
    color: #fff;
}

.logo {
    float: left;
    margin-top: 8px;
}

.logo a, .logo h1 {
    font-size: 28px;
    line-height: 40px;
    letter-spacing: 0.09em;
}

.arrow animated {
	display: none;
}

#back-to-top.show {
    opacity: 0;
}

.slides {
	margin-top: 70px;
}

.painting-slide  {
    width: 100%;
	 height: 300px;
	 overflow: hidden;
}

.home-full-wrapper {
	margin-top: 320px;
}

.full-wrapper {
    margin-top: 360px;
}

.no-hero {
    margin-top: 0;
}

.home-intro {
    width: 90%;
    padding-top: 40px;
    padding-bottom: 40px;
	 padding-left: 5%;
	 padding-right: 5%;
}

.home-exhibit {
    width: 100%;
    height: auto;
    max-height: 600px;
    margin-top: 20px;
}

.home-exhibit-content {
    background: #73B0AC;
}

.home-exhibit-caption {
    position: relative;
    bottom: 0;
    left: 0;
    width: 90%;
    height: auto;
    text-align: left;
	 margin-top: 20px;
	 margin-left: 5%;
	 margin-right: 5%;
    z-index: 1;
}

.home-content h2 {
    font-size: 24px;
    line-height: 32px;
}

.home-content h3 {
    font-size: 16px;
    line-height: 22px;
}

.home-workshops {
    width: 100%;
    margin: 20px 0 20px 0;
    padding-left: 0;
    overflow: hidden;
}

.home-workshop-content {
    position: relative;
    width: 95%;
    height: 280px;
    padding: 2.5%;
    background: #92C2BF;
	 margin-bottom: 40px;
}

.home-workshops li img, .workshops-list li img {
    position: relative;
    width: 100%;
    height: 100%;
}

.home-workshops li {
    position: relative;
    width: 100%;
    height: 550px;
    margin-bottom: 50px;
}

.home-workshops li:last-of-type {
	margin-bottom: 20px;
}

.home-news {
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.home-news li {
    position: relative;
    float: none;
    width: 100%;
    height: auto;
    margin-right: 0;
	 margin-bottom: 30px;
}

.testimonial p, .testimonial a {
    font-family: 'Libre Baskerville', serif;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.08em;
}


.tweet-text p, .tweet-text a {
    font-family: 'Libre Baskerville', serif;
    font-size: 18px;
    line-height: 34px;
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.hero {
    width: 100%;
    height: 300px;
    max-height: 500px;
}

.content-first-col {
    padding-bottom: 0;
}

.about-parallax-image-bkgrd {
    display: none;
}

.instagram-grid {
    padding-top: 20px;
    padding-bottom: 0;
}

.gallery-list li.gallery-item {
    float: none;
    width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 0;
}

.landscape .study-content-image img {
    display: inline-block;
    width: auto;
	 max-width: 90%;
    max-height: 220px;
}

.landscape .study-description {
    float: none;
    width: 100%;
	 margin-bottom: 20px;
}

.landscape .study-details {
    float: none;
    width: 100%;
}

.portrait .study-content {
    float: none;
    width: 100%;
    height: auto;
}

.portrait .study-specifics {
    float: none;
    width: 100%;
    height: auto;
}

.news-content, .workshop-content, .exhibit-content {
    padding-top: 0;
    padding-bottom: 40px;
}

.workshops-list li {
    height: auto;
    margin-bottom: 50px;
}

.workshop-text, .exhibit-text {
    float: none;
    width: 100%;
    margin-right: 0;
}

.workshop-text h1, .exhibit-text h1, .news-content h1 {
    font-size: 26px;
    line-height: 40px;
	 padding-top: 30px;
    padding-bottom: 20px;
}

.workshop-specifics, .exhibit-specifics {
    float: none;
    width: 100%;
    height: auto;
    min-height: 400px;
    padding-left: 0;
    border-left: 0;
}

.news-summary li.lead-story .news-image {
    height: 340px;
}

.news-summary li {
    float: none;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    margin-right: 0;
}

.news-images img.news-aux-image, .news-images img.news-aux-image-half {
    float: none;
}

.news-images img.news-aux-image {
    width: 100%;
}

.news-content h1 {
    font-size: 24px;
    line-height: 30px;
    padding-bottom: 10px;
}


/* Navigation */

.mobile-menu-icon {
    display: block;
    float: right;
    width: 10%;
    height: auto;
    margin-top: 10px;
    margin-right: 10px;
	 z-index: 99;
}

.mobile-menu-close a {
    font-size: 48px;
    line-height: 62px;
    color: #fff;
    text-decoration: none;
}

.mobile-nav li a {
    font-size: 32px;
    line-height: 50px;
}

.fade-in.in-view .animate-item {
    opacity: 1;  
    -webkit-animation: none;  
    -moz-animation: none;
    animation: none;
}

}


@media only screen and (max-device-width: 500px) and (orientation: landscape) {

.mobile-menu-icon {
    width: 7%;
    height: auto;
    margin-top: 10px;
    margin-right: 10px;
}

}


/* Colours 


Blue	`										#92C2BF	
Dark blue									#73B0AC	
Cream											#FEF6E5
Grey											#373737



*/





