/* GRID */
div.rye-grid>div {
    padding-right: 1.8%;
}

div.rye-grid>div.span1 { width: 10.925%; }
div.rye-grid>div.span2 { width: 23.65%; }
div.rye-grid>div.span3 { width: 36.375%; }
div.rye-grid>div.span4 { width: 49.1%; }
div.rye-grid>div.span5 { width: 61.825%; }
div.rye-grid>div.span6 { width: 74.55%; }
div.rye-grid>div.span7 { width: 87.275%; }
div.rye-grid>div.span8 { width: 100% }

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    line-height: 140%;
}

body, a {
    color: #000;
}

body input[type=text], body input[type=email], body input[type=password], body textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #cccccc;
    padding: 8px;
}

body input.fhAjaxCriteria {
    width: 80%;
}

body .fhPrimary, body .button {
    border-radius: 0;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    background: #000;
    color: #fff !important;
    border: 0 !important;
    font-weight: normal;
    padding: 8px !important;
}

.fhError, body .fhPrimary, .parsley-error-list, body .button {
    font-size: 0.9em;
}

body .fhPrimary:hover, body .button:hover {
    border: 0 !important;
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease;
    background: #d04b08;;
}

.l-body div.fhContainer .fhLabel {
    width: 200px;
}

.l-body div.fhContainer .fhField {
    margin-left: 220px;
}

.l-body div.fhContainer .fhCombiField>.fhField {
    margin-left: 120px;
}

.l-footer .nav a, .l-footer p.credit a {
    text-decoration: none;
}

h1 {
    margin-top: 1em;
    font-size: 2.1em;
    font-weight: normal;
}

h2 {
    font-size: 1.4em;
    font-weight: bold;
}

h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin: 1.4em 0 0.7em 0;
}

.contact-address {
    font-weight: 600;
    font-size: 1.1em;
}

h2.is-not-bold {
    font-weight: normal;
}

.top-pad {
    padding-top: 1.5em;
}

/* LAYOUT */
.l-side {
    background: #e5e5e5;
    overflow: hidden;
    padding: 10px 15px
}

.l-footer, .l-parent-grid {
    border-top: 5px solid #a1a1a1;
}

.l-parent-grid {
    background: url(images/side-bg-desktop.gif) repeat-y left;
}

.semibold {
    font-weight: 600
}

/* SIDEBAR */
.logo {
    text-align: center;
    margin: 0;
}

ul.nav, ul.nav ul {
    list-style: none;
    margin: 0;
    line-height: 100%;
}

ul.nav li {
    padding-bottom: 15px;
}

ul.nav>li:first-child {
    padding-top: 10px;
}

ul.nav ul>li:first-child {
    padding-top: 15px;
}

ul.nav>li:last-child {
    padding-bottom: 10px;
}

ul.nav ul>li:last-child {
    padding-bottom: 0px;
}

.l-footer ul.nav>li {
    padding-bottom: 4px;
}

.l-side a {
    color: #000;
}

ul.nav ul a {
    padding-left: 20px;
}

ul.nav ul a.active {
    background: url(images/nav-bar-active.png) no-repeat 0% 50%;
}

a:hover, ul.nav a.active, ul.nav-sub a.active {
    color: #d04b08;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
    text-decoration: none;    
}

ul.nav>li>a:hover {
    background-image: url(images/nav-bullet-active.png);
}

ul.nav a.active {
    font-weight: 600;
}

ul.nav a {
    text-decoration: none;
}

ul.nav>li>a {
    background: url(images/nav-bullet.png) no-repeat 4px 50%;
    padding-left: 18px;
}

ul.nav>li>a.active {
    background-image: url(images/nav-bullet-active.png);
}

ul.nav>li.active-parent>a {
    background: url(images/nav-bullet-open.png) no-repeat 0px 50%;
}

ul.nav>li.active-parent>a.active {
    background: url(images/nav-bullet-open-active.png) no-repeat 0px 50%;
}

ul.nav ul {
    margin-left: 18px;
    display: none;
}

ul.nav li.active-parent ul {
    display: block;
} 

ul.nav ul a {
    color: #333333;
}

ul.nav ul li>a {
    background: none;
}

.logo, .l-side ul.nav, .l-side .twitter, .l-side .signup, .l-side .contact, .l-side .search {
    border-bottom: 1px solid #000;
    padding-bottom: 19px;
    margin-bottom: 20px;
}

.l-side h4 {
    font-weight: normal;
    font-size: 1.1em
}

.twitter h4>a.bird {
    padding-left: 10px
}

#twitter_feed ul {
    list-style: none;
    margin: 15px 0;
    font-size: 0.9em;
    background: url(images/open_quotes.png) no-repeat 0 3px;
    padding-left: 30px;
    line-height: 100%;
}

#twitter_feed p {
    line-height: 140%;
    margin: 0;
    word-wrap: break-word;
}

#twitter_feed ul>li {
    background: url(images/close_quotes.png) no-repeat 100% 3px;
    padding-right: 30px;
}

#twitter_feed p.interact {
    display: none;
}

#twitter_feed p.timePosted {
    font-size: 0.9em;
    margin-top: 0.3em;
    font-style: italic;
}

.signup p.lead {
    font-weight: normal;
    margin: 0.5em 0 0.7em 0;
    font-size: 0.9em;
}

.signup .fhLabel {
    display: none;
}

body .signup .fhPrimary {
    float: none;
}

.l-side .contact ul {
    font-size: 0.9em;
}

.l-side .contact ul>li {
    margin: 0.3em 0;
    padding-left: 30px;
    
}

.l-side .contact a, .social-links a {
    text-decoration: none;
}

.contact li.address {
    background: url(images/address-icon.png) no-repeat 0 5px;
}

.contact li.telephone {
    background: url(images/telephone-icon.png) no-repeat 0 5px;
}

.contact li.email {
    background: url(images/email-icon.png) no-repeat 0 5px;
}

.l-head {
    padding-top: 20px; 
    font-size: 0.9em;
}

.social-links {
    margin: 5px 0 0 0 !important;
}

.social-links>li {
    vertical-align: middle;
}

ul.inline>li {
  padding: 0px 10px;
}

.social-links li.telephone {
    margin-left: 20px;
}

.social-links a.facebook, .social-links a.twitter {
    display: block;
}

.social-links a.facebook {
    height: 19px;
    width: 11px;
    background: url(images/social.png) no-repeat 0 0;
}

.social-links a.facebook:hover {
    background-position: 0 -25px;
    -webkit-transition: 0s ease;
    transition: 0s ease;
}

.social-links a.twitter {
    height: 19px;
    width: 21px;
    background: url(images/social.png) no-repeat -24px 0;
}

.social-links a.twitter:hover {
    background-position: -24px -25px;
    -webkit-transition: 0s ease;
    transition: 0s ease;
}

.search input[type=text] {
    width: 80%; 
    margin-right: 5px;
}

.l-side .search h4 {
    margin-bottom: 0.7em;
}

.l-side .search input[type=text] {
    width: 80%; 
    margin-right: 2% !important;
}

.search .fhPrimary {
    padding: 10px 8px !important;
}

.l-side .search .fhPrimary {
    width: 18% !important;
}

.l-head .search h4 {
    display: none;
}

.l-body {
    margin-top: 30px;
    font-size: 0.9em;
    padding-bottom: 20px;
}

body .success, body .notice, body .error {
    margin-top: 30px;
    border-radius: 0;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    text-align: center;
}

.l-footer {
    font-size: 0.75em;
    padding-top: 15px;
}

.l-body .carousel .carousel-content, .carousel-nav div a {
    height: 325px;
}

.carousel-wrapper, .box, img.image-border {
    border: 5px solid #e5e5e5;
    position: relative;
}

img.image-border {
    box-sizing: border-box;
}

.tools {
    float: right;
    margin: 1em 0 1em 1em;
}

.box a, .box img {
    display: block;
}

.carousel-wrapper>.tools {
    position: absolute;
    left: 15px;
    top: 15px;
    margin: 0;
    float: none;
}

.carousel-caption, .box .text {
    padding: 18px 12px;
    box-sizing: border-box;
}

.carousel-caption h3, .carousel-caption h4, .box .text h3, .box .text h4, .box .text h3 a, .box .text h4 a, .box .text p {
    color: #fff;
    font-weight: normal;
    text-decoration: none;
}

.carousel-caption h3, .box .text h3 {
    font-size: 1.4em;
    margin-bottom: 0.4em;
}

.carousel-caption h4, .box .text h4 {
    font-size: 1.05em;
    margin-bottom: 0.4em;
}

.box .text h4 {
    font-style: italic;
}

.l-body .carousel .carousel-content .carousel-buttons {
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
}

.box {
    position: relative;
}

.box .text {
    box-sizing: border-box;
    width: 100%;
    position: absolute;
    bottom: 0;
}

.collection-artist .thumbs-grid>.box>.text, .collection-artist .box .text {
    position: relative;
    background: url(images/collection-box-bg.png) no-repeat 50% 0%;
    padding-top: 16px !important;
    top: -6px;
    margin-bottom: -6px;
}

.collection-artist .thumbs-grid>.box.no-image {
    border-width: 7px;
}

.collection-artist .thumbs-grid>.box.no-image>.text {
    background: url(images/collection-box-noimage-bg.png) no-repeat 50% 0%;
}

.js-masonry>.box {
    margin-right: 0 !important;
    margin-bottom: 15px !important;
}

.collection-artist .box img {
    width: 100%;
}

.box.no-image .text {
    position: relative;
}

.box.no-image .text h3, .box.no-image .text h3 a, .box.no-image .text h4, .box.no-image .text p {
    color: #000;
}

.box .text>*:first-child {
    margin-top: 0;
}

.box .text>*:last-child {
    margin-bottom: 0;
}

.featuredbox .box .text, .thumbs-grid .box .text {
    text-align: center;
}

p.more>a {
    display: inline-block;
    zoom: 1;
    *display: inline;
    background: url(images/nav-bullet.png) no-repeat 0% 50%;
    padding-left: 15px;
    text-decoration: none;
}

.cms-image {
    margin-bottom: 0;
    text-align: center;
}

.cms-image-caption {
    text-align: center;
    font-style: italic;
}

.thumbs-grid {
    clear: both;
}

.thumbs-grid>.box {
    margin-right: 1.8%;
    width: 23.65%;
    display: inline-block;
    zoom: 1;
    *display: inline;
    float: left;
    box-sizing: border-box;
    margin-bottom: 1.5em;
    line-height: 100%;
}

.thumbs-grid>.box:nth-child(4n) {
    margin-right: 0;
}

.thumbs-grid>.box>.text {
    padding: 10px 10px
}

.thumbs-grid .box .text h3 {
    font-size: 1em;
    line-height: 140%;
}

.collection-artist .thumbs-grid h3, .collection-artist .thumbs-grid h3 a {
    font-weight: 600;
}

.event, .artist-item .artist-bio, .artist-item .artist-content, .collection-artist .artist-images, .collection-artist .artist-noimages {
    border-top: 1px solid #000;
    padding-top: 19px;
    margin-top: 20px;
}

.event .dates {
    margin-top: -0.7em;
}

.event p.location {
    margin-top: -0.8em;
}

.exhibitions-page, .news-page, .cms-page {
    position: relative;
}

.exhibitions-page .tools, .news-page .tools, .cms-page .tools {
    position: absolute;
    right: 0;
    top: 0;
}

ul.nav-sub {
    float: right;
    margin-top: 0;
}

ul.nav-sub a {
    text-decoration: none;
}

.artist-menu {
    display: none;
}

.item-nav {
    width: 70%;
}

.item-nav i:before {
    content: "" !important;
}

.nav-fullscreen {
    min-height: 31px;
}

.item-nav a span, .item-nav i, .item-nav span.fake-link span, .contact-nav i, .contact-nav a span  {
    display: inline-block;
    zoom: 1;
    *display: inline;
    vertical-align: middle;
}

.item-nav a span, .item-nav span.fake-link span, .contact-nav a span {
    border-left: 1px solid #fff;
    padding: 0 25px 0 13px;
    margin-left: 2px;
}

.item-nav i, .contact-nav i {
    width: 27px;
    height: 27px;
}

.item-nav li a, .item-nav span.fake-link, .contact-nav li a {
    background: #e5e5e5;
    display: block;
    width: auto;
    padding: 2px;
}

ul.item-nav li, ul.collection-artist-menu li, ul.contact-nav li {
  margin: 0.15em 0em;
}

.contact-nav i {
    background: #000;
    color: #fff;
    font-size: 1.6em;
    text-align: center;
    line-height: 27px;
    vertical-align: middle;
}

.item-nav i.fi-full {
    background: url(images/item-nav.png) no-repeat 0 0;
}

.item-nav i.fi-mail {
    background: url(images/item-nav.png) no-repeat 0 -27px;
}

.item-nav i.fi-previous {
    background: url(images/item-nav.png) no-repeat 0 -81px;
}

.item-nav i.fi-next {
    background: url(images/item-nav.png) no-repeat 0 -54px;
}

.item-nav a:hover i.fi-full {
    background-position: -27px 0;
}

.item-nav a:hover i.fi-mail {
    background-position: -27px -27px;
}

.item-nav a:hover i.fi-previous {
    background-position: -27px -81px;
}

.item-nav a:hover i.fi-next {
    background-position: -27px -54px;
}

.contact-nav a:hover i {
    background: #d04b08
}

.item-nav span.fake-link i.fi-previous {
    background-position: -54px -81px;
}

.item-nav span.fake-link i.fi-next {
    background-position: -54px -54px;
}

.item-nav span.fake-link span {
    color: #fff;
}

.item-nav .loading_item span {
    background: url(images/ajax-loader2.gif) no-repeat 100% 4px;
}

.item-title {
    margin-bottom: 0.3em;
}

.item-details {
    margin: 0.3em 0 2.5em 0
}

.back-button {
    display: block;
    height: 24px;
    width: 24px;
    background: url(images/back-button.png) no-repeat 0 0;
    margin-top: 5px;
}

.back-button:hover {
    background-position: -24px 0;
    -webkit-transition: 0s ease;
    transition: 0s ease;
}

.cms-page.collection .text {
    padding: 10px 12px;
}

.cms-page.collection .text h4 {
    font-size: 0.95em;
    font-style: italic;
}

ul.collection-artist-menu li a {
    background: #e5e5e5 url(images/nav-bullet.png) no-repeat 99% 50%;
    display: block;
    padding: 6px 10px 6px 15px;
    text-decoration: none;
}

ul.collection-artist-menu li a:hover {
    background-image: url(images/nav-bullet-active.png);
}

ul.js_menu_nav>li {
    padding: 0 20px 0 0 !important;
    margin-bottom: 10px;
}

.js_menu_nav a {
    display: block;
    background: #000;
    padding: 3px 10px;
    color: #fff;
    font-size: 1.2em;
    text-decoration: none;
}

.js_menu_nav a:hover, .js_menu_nav a.active {
    background: #d04b08
}

.collection-artist.artist-list .box .text {
    padding: 10px 12px;
    font-size: 0.8em;
    text-align: center;
}

.box .text h4.reference {
    font-style: normal;
}

h1>small {
    font-size: 0.6em;
    font-style: italic;
    padding-left: 20px;
}

.clear {
    clear: both;
}

.openinghours p {
    margin-bottom: 0.2em;
}

form#get-in-touch .fhRequired {
    display: none;
}

form#get-in-touch .fhLabel label, form#get-in-touch .fhLabel span.label {
    font-weight: 600;
}

form#get-in-touch .fhLabel {
    padding-top: 6px;
}

form#get-in-touch .fhField>label {
    margin-top: 8px;
}

form#get-in-touch fieldset {
    border: 0;
    padding: 0;
}

form#get-in-touch  .fhPrimary {
    text-transform: uppercase
}

.calendar-box .month {
    padding: 5px 10px;
    background: #000;
    font-size: 1.1em;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
}

.calendar-box .day {
    background: #e5e5e5;
    padding: 5px 10px;
    font-size: 1.1em;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
}

.responsive-menu {
    text-align: center;
    font-size: 1.8em;
}

.calendar-box {
    width: 70px;
    float: left;
}

.calendar-box-text {
    margin-left: 85px;
}

.calendar-box-text h2 {
    margin-top: 0;
}
