/*
Theme Name: Exhibit2023
Text Domain: exhibit2023
Description: A theme designed for art exhibits
*/


/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */

html {
  font-size: 62.5%; }
body {
  font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
  line-height: 1.8em;
  font-weight: 400;
  font-family: 'Alata', sans-serif;
  color: #000;
 }

a {
  color:black;
}
a:hover {
  color:#888;
  text-decoration:none;
}

h1, h2, h3, h4, h5 { font-family: 'Raleway', sans-serif; }

#header { position:relative; }

#site-title { 
  margin:1% 0px;
  line-height: 3em;
  padding: 10px 0px;
  display: inline-block;
  
  }


#header h1 {margin:0px;}
#header h1 a { font-size:1.4em;text-decoration:none; }
#header h5 { font-size:1em;color:#777; margin:0px;}

#footer { }
#footer ul { list-style-type: none; }
#footer li { margin-bottom:0px; }






/******************* GALLERY ******************/




#postgallery {
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  margin: 0px auto;
}

#postgallery a {
    position: relative;
    min-width:150px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    margin:1%;
}

#postgallery a .bg {
    text-align: center;
    color:white;
    display: inline-block;
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    background: rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    font-weight: bold;
    line-height: 1.2em;
    justify-content: center;
    padding:6%;
}
#postgallery a .bg:hover {
    color:transparent;
    background: rgba(0,0,0,0);
    transition: background 2s, color 1s;
}

#postgallery .frame.matted { 
  position:relative;
  background:#fff3e0;
  margin:1%;
  text-align:center;
  display:flex;
  flex-direction:column;
  justify-content:center; 
  box-shadow: inset 0px 0px 4px #666; 
} 


#postgallery .frame.matted .art { 
  position:absolute;
  top:10%;
  right:10%;
  bottom:10%;
  left:10%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}






/* Child Page Menu
–––––––––––––––––––––––––––––––––––––––––––––––––– */

#exhibit-menu li.page_item { 
  list-style-type:none;
}

#exhibit-menu li a {
  border:solid 1px #efefef;
  padding:8px 12px;
  margin-bottom:0px;
}



/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 38px;
  padding: 0 30px;
  color: #555;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: .1rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border-radius: 4px;
  border: 1px solid #bbb;
  cursor: pointer;
  box-sizing: border-box; }
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #333;
  border-color: #888;
  outline: 0; }
.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
  color: #EEE;
  background-color: #33C3F0;
  border-color: #33C3F0; }
.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
  color: #EEE;
  background-color: #1EAEDB;
  border-color: #1EAEDB; }


/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #EEE;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; }
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; }
textarea {
  min-height: 65px;
  padding-top: 6px;
  padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #33C3F0;
  outline: 0; }
label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; }
fieldset {
  padding: 0;
  border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal; }


/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {  }
ol { list-style: decimal inside; }
ol, ul {
  padding-left: 0;
  margin-top: 0; }
ul ul,
ul ol,
ol ol,
ol ul {
  margin: 1.5rem 0 1.5rem 3rem;
  font-size: 90%; }
li {
  margin-bottom: 0rem;
  margin-left:2em;
}


/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  font-size: 90%;
  white-space: nowrap;
  background: #F1F1F1;
  border: 1px solid #E1E1E1;
  border-radius: 4px; }
pre > code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre; }


/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #E1E1E1; }
th:first-child,
td:first-child {
  padding-left: 0; }
th:last-child,
td:last-child {
  padding-right: 0; }


/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
  margin-bottom: 1rem; }
input,
textarea,
select,
fieldset {
  margin-bottom: 1.5rem; }
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
  margin-bottom: 2.5rem; }


/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
  width: 100%;
  box-sizing: border-box; }
.u-max-full-width {
  max-width: 100%;
  box-sizing: border-box; }
.u-pull-right {
  float: right; }
.u-pull-left {
  float: left; }
  
  

  
  


/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #E1E1E1; }


/********* nav *********/

#primarynav { display:none; }
#secondarynav { display:none; }

#mobile-menu-icon label { font-size:2em; margin:5px;padding-top:2%;  }

	
/* (C) TOGGLE SHOW/HIDE MENU */
#hamitems { display: none; }
#hamburger:checked ~ #hamitems { display: block; }	

#mobilenav {
 text-align:right;
}
#mobilenav a {
 padding: 10px 14px;
 text-decoration:none;
 display:block;
}
#mobilenav ul.menu {
 margin:0px !important;
 padding:10px 0px;
 position: relative;
 display: block;
 text-align:left;
}
#mobilenav ul.menu li {
  display: block;
  margin-bottom:0px;
  font-size: 1.1em;
  text-transform: lowercase;
  background:white;
}
#mobilenav ul.menu ul.sub-menu {
  display: none;
  position: absolute;
  width:100%;
  z-index: 999;
  margin:0px;
  text-align:left;
  
}
#mobilenav ul.menu ul.sub-menu li {
  display:block;
  margin-bottom:0px;
  background:white;
  width:100%;
}
#mobilenav ul.menu ul.sub-menu a {
    text-decoration: none;
    display: block;
}


/**************** animations ********************/

.fade-in {
animation: fadeIn ease 3s;
-webkit-animation: fadeIn ease 3s;
-moz-animation: fadeIn ease 3s;
-o-animation: fadeIn ease 3s;
-ms-animation: fadeIn ease 3s;
}
@keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}

@-moz-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}

@-webkit-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}

@-o-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}

@-ms-keyframes fadeIn {
0% {opacity:0;}
100% {opacity:1;}
}



.fade-up {
animation: fadeUp ease 3s;
-webkit-animation: fadeUp ease 3s;
-moz-animation: fadeUp ease 3s;
-o-animation: fadeUp ease 3s;
-ms-animation: fadeUp ease 3s;
}
@keyframes fadeUp {
0% {opacity:0;margin-top:30px;}
100% {opacity:1;margin-top:0px;}
}

@-moz-keyframes fadeUp {
0% {opacity:0;margin-top:30px;}
100% {opacity:1;margin-top:0px;}
}

@-webkit-keyframes fadeUp {
0% {opacity:0;margin-top:30px;}
100% {opacity:1;margin-top:0px;}
}

@-o-keyframes fadeUp {
0% {opacity:0;margin-top:30px;}
100% {opacity:1;margin-top:0px;}
}

@-ms-keyframes fadeUp {
0% {opacity:0;margin-top:30px;}
100% {opacity:1;margin-top:0px;}
}



img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }


.wp-caption {
  font-size:0.85em;
  color:#666;
  line-height:1.2em;
}
