/* -----------------------------------
 * Slidebars
 * Version 0.10.3
 * http://plugins.adchsm.me/slidebars/
 *
 * Written by Adam Smith
 * http://www.adchsm.me/
 *
 * Released under MIT License
 * http://plugins.adchsm.me/slidebars/license.txt
 *
 * -------------------
 * Slidebars CSS Index
 *
 * 001 - Box Model, Html & Body
 * 002 - Site
 * 003 - Slidebars
 * 004 - Animation
 * 005 - Helper Classes
 *
 * ----------------------------
 * 001 - Box Model, Html & Body
 */

html, body, #sb-site, .sb-site-container, .sb-slidebar {
	/* Set box model to prevent any user added margins or paddings from altering the widths or heights. */
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

html, body {
	width: 100%;
	overflow-x: hidden; /* Stops horizontal scrolling. */
}

html {
	height: 100%; /* Site is as tall as device. */
}

body {
	min-height: 100%;
	height: auto;
	position: relative; /* Required for static Slidebars to function properly. */
}

/* Site scroll locking - prevent site from scrolling when a Slidebar is open, except when static Slidebars are only available. */
html.sb-scroll-lock.sb-active:not(.sb-static) {
	overflow: hidden;
}

/* ----------
 * 002 - Site
 */

#sb-site, .sb-site-container {
	/* You may now use class .sb-site-container instead of #sb-site and use your own id. However please make sure you don't set any of the following styles any differently on your id. */
	width: 100%;
	min-height: 100vh;
	position: relative;
	z-index: 1; /* Site sits above Slidebars */
	background-color: #ffffcc; /* Default background colour, overwrite this with your own css. I suggest moving your html or body background styling here. Making this transparent will allow the Slidebars beneath to be visible. */
}

/* Micro clearfix by Nicolas Gallagher, ensures the site container hits the top and bottom of the screen. */
#sb-site:before, #sb-site:after, .sb-site-container:before, .sb-site-container:after {
	content: ' ';
	display: table;
}

#sb-site:before, #sb-site:after, .sb-site-container:before, .sb-site-container:after {
    clear: both;
}

/* ---------------
 * 003 - Slidebars
 */

.sb-slidebar {
	height: 100%;
	overflow-y: auto; /* Enable vertical scrolling on Slidebars when needed. */
	position: fixed;
	top: 0;
	z-index: 0; /* Slidebars sit behind sb-site. */
	display: none; /* Initially hide the Slidebars. Changed from visibility to display to allow -webkit-overflow-scrolling. */
	background-color: #222222; /* Default Slidebars background colour, overwrite this with your own css. */
	background-color: #929596;
	
}

.sb-slidebar, .sb-slidebar * {
	-webkit-transform: translateZ( 0px ); /* Fixes issues with translated and z-indexed elements on iOS 7. */
}

.sb-left {
	left: 0; /* Set Slidebar to the left. */
}

.sb-right {
	right: 0; /* Set Slidebar to the right. */
}

html.sb-static .sb-slidebar,
.sb-slidebar.sb-static {
	position: absolute; /* Makes Slidebars scroll naturally with the site, and unfixes them for Android Browser < 3 and iOS < 5. */
}

.sb-slidebar.sb-active {
	display: block; /* Makes Slidebars visibile when open. Changed from visibility to display to allow -webkit-overflow-scrolling. */
}

.sb-style-overlay {
	z-index: 9999; /* Set z-index high to ensure it overlays any other site elements. */
}

.sb-momentum-scrolling {
	-webkit-overflow-scrolling: touch; /* Adds native momentum scrolling for iOS & Android devices. */
}

/* Slidebar widths for browsers/devices that don't support media queries. */
	.sb-slidebar {
		width: 30%;
	}
	
	.sb-width-thin {
		width: 15%;
	}
	
	.sb-width-wide {
		width: 45%;
	}

@media (max-width: 480px) { /* Slidebar widths on extra small screens. */
	.sb-slidebar {
		width: 70%;
	}
	
	.sb-width-thin {
		width: 55%;
	}
	
	.sb-width-wide {
		width: 85%;
	}
}

@media (min-width: 481px) { /* Slidebar widths on small screens. */
	.sb-slidebar {
		width: 55%;
	}
	
	.sb-width-thin {
		width: 40%;
	}
	
	.sb-width-wide {
		width: 70%;
	}
}

@media (min-width: 768px) { /* Slidebar widths on medium screens. */
	.sb-slidebar {
		width: 40%;
	}
	
	.sb-width-thin {
		width: 25%;
	}
	
	.sb-width-wide {
		width: 55%;
	}
}

@media (min-width: 992px) { /* Slidebar widths on large screens. */
	.sb-slidebar {
		width: 30%;
	}
	
	.sb-width-thin {
		width: 15%;
	}
	
	.sb-width-wide {
		width: 45%;
	}
}

@media (min-width: 1200px) { /* Slidebar widths on extra large screens. */
	.sb-slidebar {
		width: 20%;
	}
	
	.sb-width-thin {
		width: 5%;
	}
	
	.sb-width-wide {
		width: 35%;
	}
}

/* ---------------
 * 004 - Animation
 */

.sb-slide, #sb-site, .sb-site-container, .sb-slidebar {
	-webkit-transform: translate( 0px );
	   -moz-transform: translate( 0px );
	     -o-transform: translate( 0px );
	        transform: translate( 0px );
	
	-webkit-transition: -webkit-transform 400ms ease;
	   -moz-transition:    -moz-transform 400ms ease;
	     -o-transition:      -o-transform 400ms ease;
	        transition:         transform 400ms ease;
	
	-webkit-transition-property: -webkit-transform, left, right; /* Add left/right for Android < 4.4. */
	-webkit-backface-visibility: hidden; /* Prevents flickering. This is non essential, and you may remove it if your having problems with fixed background images in Chrome. */
}

/* --------------------
 * 005 - Helper Classes
 */
 
.sb-hide { 
	display: none; /* Optionally applied to control classes when Slidebars is disabled over a certain width. */
}

/* Submenus */
/* use div to toggle submenu to prevent page scrolling to top with anchor toggle */
.sb-toggle-submenu {
    cursor: pointer;
}
.sb-submenu {
	display: none;
	padding: 10px 0 10px 12px;
	margin: 0;
	list-style-type: none;
	background-color: #333131; /* Submenu background colour. */
}

/* Caret */
span.sb-caret {
	width: 0;
	height: 0;
	display: inline-block;
	margin: 0 5px;
    padding-bottom: 2px;
	border: 5px solid transparent;
}

span.sb-caret { /* Caret Down */
	border-top: 5px solid;
	border-bottom: 0px solid transparent;
}

.sb-submenu-active > span.sb-caret { /* Caret Up */
	border-top: 0px solid transparent;
	border-bottom: 5px solid;
}









#sub-bar {
    font-family: "futura-pt", Arial, Helvetica, sans-serif;
    width: 100%;
    background-color: #656565;
}
#sub-bar .container {
    margin: 0 auto;
    width: 1110px;
    padding: 30px 0 40px 0;
    /* border: 1px solid #eee; */
}
#sub-bar .l-block, #sub-bar .r-block {
    float: left;
}
#sub-bar .l-block {
    position: relative;
    width: 260px;
    height: 315px;
    /* margin: 0 40px 0 241px; /* left margin to right align text w/ donati image */
    margin: 0 40px 0 22.4%;
    text-align: right;
}




/*--- drop-down nav menus ---*/
nav#primary ul li.drop {
    position: relative;
}
nav#primary ul li.drop .drop-container {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    background-color: rgb(46, 45, 44); /* ie 7-8 fallback */
   	background-color: rgba(46, 45, 44, 0.95);
    z-index: 9999;
    border: 2px solid #32302f;
    -webkit-border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
	border-radius: 0 0 4px 4px;   
    -webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-ms-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}
nav#primary ul li.drop:hover .drop-container, nav#primary ul li.drop:focus .drop-container {
    visibility: visible;
    opacity: 1;
}

/* artists drop-down specific */
nav#primary ul li.drop .artists {
    width: 330px;
    margin: 8px 0 0 -50px;
    padding: 10px 0 10px 10px;
}
nav#primary ul li ul.artist-nav li a {
    font-size: 13px;
    display: block;
    padding: 5px 10px;
}
nav#primary ul li ul.artist-nav li {
    line-height: normal;
    width: 160px;
}

/* exhibitions drop-down specific */
nav#primary ul li.drop .exhibit {
    font-family: "futura-pt", Arial, Helvetica, sans-serif;
    text-align: right;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.95);
    background: url(../img/leonor-fini-painting-drop-bg.jpg) rgba(46, 45, 44, 0.90) no-repeat;
    background-size: cover;
    width: 275px;
    height: 160px;
    margin: 8px 0 0 -50px;
}
nav#primary aside.current {
    padding: 0 15px 0 5px;
}
nav#primary aside.current h1 {
    float: none;
    color: #d97038;
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
nav#primary aside.current h3 {
    color: #f2f2f2;
    font-size: 14px;
}
nav#primary aside.current a {
    display: block;
    height: 100%;  
}
nav#primary aside.current p.enter {
    float: none;
    color: #d97038;
    font-size: 18px;
    font-weight: 500;
    padding: 0;
}
nav#primary aside.current a:hover p.enter, nav#primary aside.current a:focus p.enter {
    color: #fff;
}

/* Bauer - Realm of the Spirit dropdown
nav#primary aside.current h1, nav#primary aside.current h2, nav#primary aside.current h3, nav#primary aside.current p.enter {    
    float: left;
    clear: both;
    margin-bottom: 5px;
    
}
nav#primary aside.current h1, nav#primary aside.current h2, nav#primary aside.current p.enter {
    font-weight: 500;
    color: #2e2d2c;
    background-color: rgb(230, 230, 223);
    background-color: rgba(230, 230, 223, 0.75);
}
nav#primary aside.current h1 {
    font-size: 20px;
    text-transform: uppercase;
    padding: 2px 5px;
}
nav#primary aside.current h2 {
    font-size: 18px;
    text-transform: uppercase;
    padding: 2px 5px 1px 5px;
}
nav#primary aside.current h3 {
    color: #fff;
    font-size: 12px;
}
nav#primary aside.current p.enter a {
    font-size: 14px;
    font-style: italic;
    font-weight: 700;
    padding: 1px 5px 0 5px;
    color: #ec5435;
}
nav#primary aside.current p.enter a:hover, nav#primary aside.current p.enter a:focus {
    color: #e5af0b;
}
*/

/*--- artist section subhead & nav links (see Fini/Oct 2015) ---*/
header#artist-subhead {
    font-family: "futura-pt", Arial, Helvetica, sans-serif;
    position: fixed;
    top: 40px;
    text-align: center;
    background-color: rgb(38, 37, 37); /* ie 7-8 fallback */
   	background-color: rgba(38, 37, 37, 0.95);
    z-index: 3;
    width: 100%; 
}
nav#artist-links li {
    display: inline-block;
    margin-right: 15px;
}
nav#artist-links li:last-child {
    margin-right: 0;
}
nav#artist-links a {
    font-size: 16px;
    color: #95B8D1;
    display: block;
    text-decoration: none;
    font-weight: 400;
    padding: 10px 5px;
}

/*--- drop-down nav menus ---*/
nav#primary ul li.drop {
    position: relative;
}
nav#primary ul li.drop .drop-container {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    background-color: rgb(46, 45, 44); /* ie 7-8 fallback */
   	background-color: rgba(46, 45, 44, 0.95);
    z-index: 9999;
    border: 2px solid #32302f;
    -webkit-border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
	border-radius: 0 0 4px 4px;   
    -webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-ms-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}
nav#primary ul li.drop:hover .drop-container, nav#primary ul li.drop:focus .drop-container {
    visibility: visible;
    opacity: 1;
}

/* artists drop-down specific */
nav#primary ul li.drop .artists {
    width: 330px;
    margin: 8px 0 0 -50px;
    padding: 10px 0 10px 10px;
}
nav#primary ul li ul.artist-nav li a {
    font-size: 13px;
    display: block;
    padding: 5px 10px;
}
nav#primary ul li ul.artist-nav li {
    line-height: normal;
    width: 160px;
}

/* exhibitions drop-down specific */
nav#primary ul li.drop .exhibit {
    font-family: "futura-pt", Arial, Helvetica, sans-serif;
    text-align: right;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.95);
    background: url(../img/leonor-fini-painting-drop-bg.jpg) rgba(46, 45, 44, 0.90) no-repeat;
    background-size: cover;
    width: 275px;
    height: 160px;
    margin: 8px 0 0 -50px;
}
nav#primary aside.current {
    padding: 0 15px 0 5px;
}
nav#primary aside.current h1 {
    float: none;
    color: #d97038;
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
nav#primary aside.current h3 {
    color: #f2f2f2;
    font-size: 14px;
}
nav#primary aside.current a {
    display: block;
    height: 100%;  
}
nav#primary aside.current p.enter {
    float: none;
    color: #d97038;
    font-size: 18px;
    font-weight: 500;
    padding: 0;
}