
/*********************************************************************************
 * Heading styles
 */

h5
{
  font-size: 0.9rem;
}

h6
{
  font-size: 0.8rem;
}


/*********************************************************************************
 * Misc styles
 */

.quotedtext
{
  display: block;

  font-family: medium-content-serif-font,Georgia,Cambria,"Times New Roman",Times,serif;
  font-weight: 400;
  font-style: italic;

  border-left: 3px solid rgba(0,0,0,.84);

  margin-left: 0.0em;
  margin-right: 0.5em;
  margin-top: 2em;
  margin-bottom: 2em;

  padding: 0.0em 10px;
}

.smallertext
{
  font-size: smaller;
}

.footnote
{
  color: #990000;
  font-size: 80%;
}

figure
{
    text-align: center;
}

figcaption, .caption
{
    margin-top: 0.25em;
    margin-bottom: 1em;
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
}


/* Table of contents */
li.toc
{
  text-indent:1em;
  font-style: italic;
  line-height:1.5em;
}


/*********************************************************************************
 * Button styles
 */

/* Generic button styles */
.button-gray,
.button-blue,
.button-green,
.button-orange,
.button-dkred
{
  border-radius: 7px;
  display: block;
  float: left;
  margin: 10px 15px 10px 0;
  padding: 10px;
  text-decoration: none;
  border-width: 0px;
}


/* Button with a gray background and almost black text */
.button-gray
{
  background: #f0f0f0;			/* light gray */
  color: #333;
}

.button-gray:hover
{
  background: #dbdbdb;
}

a.button-gray, a.button-gray:visited
{
  color: #333;
}


/* Button with a blue background and white text */
.button-blue
{
  background: #337ab7;
  color: #fff;
}

.button-blue:hover
{
  background: #286090;
}

a.button-blue, a.button-blue:visited
{
  color: #fff;
}


/* Button with a green background and white text. */
.button-green
{
  background: #00a000;
  color: #fff;
}

.button-green:hover
{
  background: #008000;
}

a.button-green, a.button-green:visited
{
  color: #fff;
}


/* Button with an orange background and white text */
.button-orange
{
  background: #f0ad4e;
  color: #fff;
}

.button-orange:hover
{
  background: #ec971f;
}

a.button-orange, a.button-orange:visited
{
  color: #fff;
}


/* Button with a dark red background and white text. NB this button intentionally matches the colours of the "buttonlink" class */
.button-dkred
{
  background: #a00a0a;
  color: #fff;
}

.button-skred:hover
{
  background: #f00a0a;
}

a.button-dkred, a.button-dkred:visited
{
  color: #fff;
}


/*********************************************************************************
 * Alert, download, note and info boxes
 */

span.alert,
span.info,
span.download,
span.note
{
  display: block;
  padding: 10px 10px 10px 45px;
  margin: 15px 0;
}


span.alert
{
  color: #c00;
  border-top: 3px solid #fe7b7a;
  border-bottom: 3px solid #fe7b7a;
  background: #FFD6D6 url(/images/status/status-alert.png) 10px 50% no-repeat;
}

span.info
{
  color: #0055BB;
  border-top: 3px solid #629de3;
  border-bottom: 3px solid #629de3;
  background: #D8E5F8 url(/images/status/status-info.png) 10px 50% no-repeat;
}

span.note
{
  color: #B79000;
  border-top: 3px solid #fde179;
  border-bottom: 3px solid #fde179;
  background: #FEF6D8 url(/images/status/status-note.png) 10px 50% no-repeat;
}

span.download
{
  color: #57861A;
  border-top: 3px solid #c2df88;
  border-bottom: 3px solid #c2df88;
  background: #EEF7DD url(/images/status/status-download.png) 10px 50% no-repeat;
}


/*********************************************************************************
 * Flexslider styles (note that these may prove to be temporary)
 */

.flexslider
{
  height: 600px;
  width: 400px;
}

.flexslider .slides img
{
  height: 600px;
  width: 400px;
}



/*********************************************************************************
 * Styles for the "blogpost" pages
 */

p.blogpost_heading
{
  font-size: 150%;
  font-weight: normal;
  line-height: 110%;
  padding-bottom: 8px;
  margin: 15px 0 0 0;
}

p.blogpost_date
{
  font-size: 95%;
}

p.blogpost_author
{
  font-size: smaller;
  font-style: italic;
  text-align: right;
}

/*********************************************************************************
 * Social media link styles
 */

#social_links a
{
  text-decoration: none;
}


#social_links img
{
    display: inline-block;
    max-width: 3em;
    height: auto;
    margin-left: 1.5%;
    margin-right: 10px;
    vertical-align: middle;
}


/*********************************************************************************
 * Photo gallery styles
 */

#gallery
{
    float:left;
    width:95%;
}

#gallery li {
    list-style: none;
    perspective: 100px;
    -webkit-perspective: 100px;
    margin: 1px;
    float: left;
    position: relative;
    transition: .1s;
    -webkit-transition: 0.1s;
}

#gallery li.video::before
{
    content: '\25BA';
    color: #FFF;
    font-size: 20px;
    height: 20px;
    width: 20px;
    line-height: 0.9;
    position: absolute;
    bottom: 3px;
    left: 4px;
    z-index: 1;
    background: rgba(0,0,0,0.4);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.4);
    border-radius: 0 3px 0 0;
    pointer-events: none;
    opacity: 0;
    transition: .5s 0.2s;
}

#gallery li.loaded.video::before
{
    opacity: 1;
}

#gallery a
{
    display: block;
    width: 150px;
    height: 136px;
    vertical-align: bottom;
    overflow: hidden;
    background: rgba(0,0,0,0.1);
    transition: .4s ease-out;
    -webkit-transition: 0.4s ease-out;
    -webkit-transform: rotateX(90deg) translate(-50px,-50%);
    transform: rotateX(90deg) translate(-50px,-50%);
}

#gallery a:active, #gallery a:focus
{
    outline: none;
}

#gallery a img
{
    min-height: 100%;
    width: 100%;
    transition: .3s ease-out;
    -webkit-transition: 0.3s ease-out;
}

#gallery .loaded a
{
    -webkit-transform: rotateX(0deg) translate(0,0);
    transform: rotateX(0deg) translate(0,0);
}

#gallery li.loaded:hover
{
    z-index: 2;
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
}

#gallery li.loaded a:hover
{
    box-shadow: 0 0 0 2px #FFF, 0 0 20px 5px #000;
    transition: .1s;
    -webkit-transition: 0.1s;
}

#gallery li.loaded:hover img
{
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
}

#gallery li.loaded.video:hover::before
{
    opacity: 0;
}


/*********************************************************************************
 * Articles styles
 */

.article_title
{
  font-weight: bold;
}
