/*
Theme Name: Borto 2
Theme URI: http://owenhoskins.com
Description: Built on Shape theme framework
Author: Owen Hoskins
Author URI: http://owenhoskins.com
Version: 0.2
*/


/* Import font */
@import url('styles/joanna.css');

/* Reset default browser styles */
@import url('styles/reset.css');

/* Rebuild default browser styles */
@import url('styles/rebuild.css');

/* Basic WordPress Styles */
@import url('styles/wp.css');


body {
  margin: 0;
  min-height: 100%;
  font: 16px/19px "JoannaMTRegular", "Times New Roman", serif;
  letter-spacing: 1px;
  color: #000;
  -webkit-text-size-adjust: none;
}
a:link, a:visited, a:active {
  color: #000;
  text-decoration: none;
}
a:hover {
  border-bottom: none;
  color: #999;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-type: none;
}

/* =Exhibition Archive
-------------------------------------------------------------- */

.exhibition-duration {
	padding-right: 10px;
}
.exhibition-title { }
#archive {
  overflow: hidden;
  z-index: 2021;
  border: 1px #000 solid;
  background: #fff;
  position:fixed;
  top: 30px;
  right: 30px;
  text-align: left;
}
#archive:hover{
  cursor:pointer;
}
#archive a:link,
#archive a:visited,
#archive a:active {
  border: none;
}
#archive a:hover {
  color: #999;
}
#archive h2 {
  display:inline;
}
#archive-inner {
  position: relative;
  display: block;
  padding: 12px 18px 10px 18px;
  text-align: right;
}
#archive ul#carousel {
  padding: 0 14px 14px 0;
  text-align: left;
  line-height: 21px;
  position: absolute;
  left: 10px;
  top: 0;
  display: none;
}
#archive ul#carousel:hover {
  display: block;
}
#toparea {
  height: 0px;
  width: 100%;
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 101;
  background: url(images/uarr.png) right 0 no-repeat;
  cursor: pointer;
}
#bottomarea {
  height: 0px;
  width: 100%;
  position: absolute;
  bottom: 8px;
  right: 10px;
  z-index: 101;
  background: url(images/darr.png) right 0 no-repeat;
  cursor: pointer;
}

/* =Left Column/Right Column

-------------------------------------------------------------- */

#left {
  width: 240px;
}
.page-template-page-front-php #right, .page-template-page-artists-php #right, .page #right {
  margin: 0 230px 0 230px;
  min-width: 700px;
}
.page-template-page-front-php #left,
.single #left,
.error404 #left,
.page #left,
.page-template-page-artists-php #left {
  position: fixed;
  left: 0;
  top: 0;
  padding-top: 29px;
}
.single #right,
.error404 #right {
  padding: 27px 240px 0 240px;
}
#branding {
  padding: 0 20px 0 5px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
}
#branding a:hover {
  color: #000;
}

#footer {
  clear: right;
  padding:15px;
  position: relative;
}
.backtotop {
  margin:0 auto;
  width: 300px;
  text-align: center;
}
#loading {
  position: fixed;
  left: 0;
  bottom: 30px;
  width: 100%;
  text-align: center;
}
.image-total, .image-count {
  display: inline-block;
}

/* =Front

-------------------------------------------------------------- */

.page-template-page-front-php #archive, .page-template-page-front-php .artists-wrapper, .page-template-page-front-php #left { display: none; }

.invite-info-wrapper, #news, #information, #imprint, #credit, #edeneden { display: none; }

body.single-post #news,
body.single-post #information,
body.single-post #credit
 { display: block; }

.page-template-page-front-php .invite-info-wrapper,
.page-template-page-front-php #news,
.page-template-page-front-php #information,
.page-template-page-front-php #imprint,
.page-template-page-front-php #credit,
.page-template-page-front-php #edeneden {
	display: block;
}

.page-template-default #information, .page-template-page-artists-php #information { display: block; }

h4 {
  font: 12px/24px "JoannaMTSemiBold", serif;
  margin: 30px 0 30px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.invite-front {
	text-align: center;
	padding: 28px 0 30px 0;
	height: 1000px;
}

.invite-front img {
	max-width: 100%;
	height: auto;
	display: none;
}

.invite-front img.invite-portrait {
	width: auto;
	max-height: 100%;
}

#centerTable {
    display: table;
    height: inherit;
    width: 100%;
}

#centerCell {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    height: inherit;
}

#centerWidth {
	display: inline-table;
	text-align: center;
}


.invite-back {
	text-align: center;
	margin-bottom: 40px;
}

.invite-back img {
	max-width: 100%;
	height: auto;

}

.invite-info {
	position: absolute;
	left: 50%;
	margin: 0 0 0 0px;
}

.invite-info-wrapper {
text-align: center;
width: 100%;
margin-left: auto;
margin-right: auto;

}

.invite-info h3 {
  margin-bottom: 19px;
}

.invite-info h3 {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 20px;
  text-align: center;
}

.invite-info-box p {
	margin: 12px 0;
}

.invite-info-box h2 {
	letter-spacing: 7px;
	font-size: 60px;
	line-height: 58px;
}

.invite-info p {
	text-align: center;
}

#news {
	text-align: center;
	margin-top: 76px;
	width: 700px;
	margin: 0 auto;
	overflow: hidden;
}

#news .date p {
	margin-bottom: 3px;
	text-align: left;
}

#news p {
	margin-bottom: 19px;
	text-align: left;
}

#news .entry-content p:last-child {
	margin: 0;
}

#news .entry-content {

}

.news-column {
	width: 200px;
	padding: 0 10px 0 22px;
	float: left;
	margin-bottom: -99999px;
	padding-bottom: 99999px;
	border-left: 1px solid black;
}

.news-column:nth-child(2) { }
.news-column:nth-child(3) { }
.news-column:nth-child(4) { border-right: 1px solid black; }
.news-column p:last-child { padding-bottom: 0; }


/* Eden Eden */

#edeneden {
	text-align: center;
	margin-top: 76px;
	width: 700px;
	margin: 60px auto;
	overflow: hidden;
}

.edeneden_event {
	float: left;
}

.edeneden_event h2 {
	letter-spacing: 7px;
	font-size: 60px;
	line-height: 58px;
	text-transform: uppercase;
}

.edeneden_address {
	float: right;
}

#information .address-block {
	text-align: center;
}

#information {
  width: 600px;
  margin: 0 auto;
  padding: 40px 40px 0;
}

#information p {
  margin: 0;
}

#information h3 {
  font: 12px/24px "JoannaMTSemiBold", serif;
  margin-bottom: 19px;
  text-align: center;
}

#information .col {
  float: left;
  width: 200px;
  margin-right: 6px;
}

#information .col1 {
  width: 200px;
  margin-right: 6px;
}

#information .col2 {
  width: 200px;
}

#information .col3 {
  width: 168px;
  margin-right: 0;
}

.arrow {
  background-position: right -23px;
  background-repeat: no-repeat;
  background-image: url(http://bortolozzi.com/cms/wp-content/themes/borto2/images/rarr.png);
  padding-right: 16px;
}

.contact {display: block; border:0; }
.contact input[type="text"] {}
.contact label { clear: none; display: inline; text-align: left; }
.contact textarea{ width: 100%; height: 15em; margin-bottom: .5em;}
.contact_msg.ok{ color: #000; }
.contact_msg.err{  color: #red; ;
width: 185px;
}

.contact {
	border: 1px solid #000;
	width: 185px;
	margin-top: 3px;
}

#contact_from_email {
  width: 158px;
  border: 0;
  font: 16px/19px "Times New Roman", serif;
}

input {
	line-height: 19px;
}

.contact_send {
	font-family: "Times New Roman", serif;
	font-size: 16px;
}

#contact_send {
  background-color: transparent;
  background-position: right -23px;
  background-repeat: no-repeat;
  background-image: url(http://bortolozzi.com/cms/wp-content/themes/borto2/images/rarr.png);
  border: none;
  width: 14px;
  padding: 0;
}

#contact_send:hover {
  background-position: right 1px;
}

#imprint {
	position: absolute;
	bottom: 30px;
	left: 30px;
}

.page h3 {
	padding-top: 27px;
}

#credit {
	position: absolute;
	bottom: 30px;
	right: 30px;
}

#content { min-width: 700px; margin: 0 auto;}

#content .page,
#exhibition .press-release
 {
  width: 412px;
  margin: 0 auto;
  padding: 0 20px 0 50px;
}

/* =Artists List
-------------------------------------------------------------- */

.artists-wrapper {
  padding-top:38px;
}

.menu-header a:hover { color: #000; }

.menu-header ul.sub-menu li a:hover { color: #999; }

ul.artists {
  text-align:center;
}
ul.artists li {
  text-align: left;
  padding: 0 30px;
}
ul.artists li a {
  border-bottom: none;
}
ul.artists li ul.sub-menu {
  padding-top: 19px;
  display: none;
}
ul.artists li ul.sub-menu li {
  padding:0 0 0 30px;

}
ul.artists li ul.sub-menu li a {
  border-bottom: none;
  line-height: 20px;
}

ul.artists li ul.sub-menu li.coming-soon a {
	cursor: default;
}

ul.artists li ul.sub-menu li.coming-soon a:hover {
	color: #000;
}


/* =Exhibitions single page
-------------------------------------------------------------- */

.exhibition-title-wrapper {
  display: none;
  text-align: center;
  width: 500px;
  margin: 0 auto;
}
.exhibition-title-wrapper h2 {
 display: block;
}
a.exhibition-title:hover {
  color: #000;
}

.exhibition-artist {
  margin-bottom: 19px;
}

.exhibition-artist span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 20px;
}

.view a:hover { color: #000; }

.view a.first .exhibition-title-wrapper span.hover:hover { color: #000; }

.views .view img {
  display: none;
}

.views {
  display: block;
  margin: 0;
}

.view {
  margin: 0 auto;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.view .iframe-wrapper {
  height: 100%;
  position: relative;
}

.view .iframe-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 0;
  width: 100%;
  height: 100%;
  max-width: 1024px;
  transform: translateX(-50%) translateY(-50%);
}

/* The ghost, nudged to maintain perfect centering */

.view-landscape {
  font-size: 0;
}

.view.view-landscape:before {
  content: '';
  display: inline-block;
/*  height: 100%; */
height: inherit;
  vertical-align: middle;
/*  font-size: 0;
  margin-right: -5px;
 */
}

@-moz-document url-prefix() {
    h1 {
        color: red;
    }

    .view.view-landscape:before {
    	height: auto;
    }

}

.view img {
	display: inline-block;
	vertical-align: middle;
	height: inherit;
	max-height: 100%;
	max-width: 100%;
	width: auto;
}

.view-portrait img2 {
  max-height: 100%;
  width: auto;
}

body.window-portrait .view-portrait img,
body.window-portrait .view-square img {
  max-width: 100%;
  height: auto;
}

.view-landscape img2 {
  max-width: 100%;
  height: auto;
}

.view-square img2 {
  max-width: 100%;
  height: auto;
}

.view-portrait {
  width: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
  margin: 0 0 190px;
}

.view-landscape, .view-square {
  padding-top: 30px;
  padding-bottom: 30px;
}

.view-landscape, .view-square {
  margin: 0 0 80px;
}

.caption-wrapper {
  position: absolute;
  width: 100%;
  height: auto;
  background: #fff;
  display: block;
  bottom: -10px;
  display: none;
}
.caption {
  padding-top: 10px;
  padding-bottom: 39px;
  font-size: 16px;
  line-height: 19px;
  margin: 0 auto;
}
.caption {
  width: 500px;
  font-weight: normal;
}
#page-controls {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
}

a.keys { display: block; }

a.prev {
  padding-left: 12px;
  background: url(images/uparrow.png) left 3px no-repeat;
}
a.prev:hover {
  background-position: left -23px;
  color: #999;
}
a.next  {
  padding-left: 12px;
  background: url(images/downarrow.png) left -23px no-repeat;
}
a.next:hover {
  background-position: left 3px;
  color: #999;
}

.single-exhibitions #information { display: none; }

/* =iPhone exhibition page
-------------------------------------------------------------- */

@media screen and (max-device-width: 480px) {
  #page-controls {
    display: none !important;
  }
  .caption-wrapper {
  	position: relative;
  	display: block !important;
  }
  .view-portrait img {
  	height: 100% !important;
  	width: auto !important;
  }
  body.window-portrait .view-portrait img {
  width: 100% !important;
  height: auto !important;
  }
  .view-landscape {
  	padding: 30px 0 !important;
  }
  .view {
  	overflow: visible;
  	margin: 0 0 190px 0 !important;
  }
  a:hover { color: #000 !important; }
}

/* =Artists page exhibition list
-------------------------------------------------------------- */

#secondary-nav {
  margin-top: 19px;
}

#vortex {
  width:28px;
  height:39px;
  cursor: pointer;
  position: fixed;
  bottom:0;
  left: 30px;
}

.artist-name {
  letter-spacing: 2px;
  text-transform: uppercase;
}
.artist-name span {
  display: inline-block;
}

.artist-name, .selected-thumb-wrapper {
  text-align: center;
  margin-bottom: 38px;
}

.coming-soon {
	text-align: center;
}

.selected-thumb-wrapper {
	height: 300px;
	position: relative;
}

.selected-thumb {
	position: absolute;
	display: none;
	text-align: center;
	width: 100%;
}

.selected-thumb:first-of-type {
	display:block;
}

#artist {
  width:100%;
  margin: 0 auto;
  position: relative;
  padding-top: 27px;
}

#artist p {
}

#artist .gallery-info-title {
  text-align: center;
  display: block;
}

#table-wrapper {
}

.exhibition-list {
  width: 100%;
}

.exhibition-list thead {
  font: 12px/24px "JoannaMTSemiBold", serif;
  text-transform: uppercase;
}

.exhibition-list tbody {
  line-height: 17px;
}

.exhibition-header {
  border-bottom: 1px solid #000;
  padding: 5px 0 4px 0;
}

tr.exhibition-link {
	cursor: pointer;
	border-bottom: 1px solid #000;
}

tr.exhibition-link:hover td a {
	color: #999;
}

tr.exhibition-link td {
	padding: 7px 10px 6px 0;
}

.exhibition-link:hover {
	color: #999;
}

tr.exhibition-link td.exhibition-title {
  padding-right: 15px;
}

td.exhibition-date {
  width: 155px;
}

thead.exhibition-header td.exhibition-views {
  width: 35px;
  padding: 0;
}

tr.exhibition-link td.exhibition-views {
  width: 35px;
  padding: 0;
  display: inline-block;
}

tbody td.exhibition-views {
  background-position: right -23px;
  background-repeat: no-repeat;
  background-image: url(http://bortolozzi.com/cms/wp-content/themes/borto2/images/rarr.png);
}

tr.pagination {
  display: none;
}

td.next { display: none; }

td.prev { display: none; }

ul.pagination {
	margin-top: 6px;
	text-align: center;
}

ul.pagination li {
	display: inline-block;
}

ul.pagination li a {
	padding: 6px;
}

ul.pagination li a.selected {
	color: #999;
}


.cv-link {
  padding-left: 12px;
  background: url(images/downarrow.png) left -23px no-repeat;
}


/* =Artists page biography list
-------------------------------------------------------------- */

#cv {
	clear: both;
	padding-top: 108px;
	width: 550px;
	margin: 0 auto;
	padding-left: 25px;
	line-height: 21px;
}

#cv ul li {
	padding-left: 61px;
}

#cv ul {
  margin-bottom: 38px;
  margin-top: 19px;
  border-left: 1px solid black;
  padding-left: 10px;
}

h3 {
	line-height: 19px;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 19px;
	text-align: center;
}

h3.cv-header {
	border: none;
	margin: 0;
}


p span.date {
	display: block;
	height: 100%;

}

span.date {
  display: inline-block;
  margin-left: -66px;
  width: 62px;
  text-align: right;
  padding-right: 4px;
}

span.title {

}

/* = narrow screen artist's page
-------------------------------------------------------------- */

@media screen and (max-width: 1060px) {



  .selected-thumb-wrapper {
	height: 200px;
	position: relative;
  }
  .selected-thumb img {
	width: 200px;
	height: 200px;
}

  #cv { width: 570px; margin: 0; padding-left: 0; }

}

/* = Wide screen artist's page
-------------------------------------------------------------- */

@media screen and (min-width: 1300px) {


  .selected-thumb-wrapper {
	height: 300px;
	width: 100%;
	position: relative;
  }

  #cv { width: 650px; padding-left: 50px; }

  #cv h3 { margin-left: -50px; }

}

/* = iphone artists page
-------------------------------------------------------------- */

@media screen and (max-device-width: 480px) {


  #cv { width: 500px; padding-left: 20px; }

  #cv h3 { margin-left: -20px; }

  .page-template-page-front-php #left, .single #left, .error404 #left, .page #left, .page-template-page-artists-php #left, #archive { position: absolute; }

  .page-template-page-front-php #archive, .page-template-page-front-php .artists-wrapper, .page-template-page-front-php #left { display: block; }

  .invite-front img {
  	width: 600px;
  	height: auto;
  }

  .invite-front {
  	height: auto !important;
  }

}




