/*
* {
  box-sizing: border-box;
}
*/

body,h1,h2,h3,h4,h5,h6,p,form,fieldset
{
	margin: 0;
	padding: 0;
}

body
{
	margin: 0;
	padding: 15px 0;
	font-family: Arial, Helvetica, sans-serif;
	
	line-height: 1.4;
	
	color: #414141;
	background: #c8c8c8;
}

a
{
	color: #31ae6f;
	text-decoration: none;
}

a:hover
{
	color: #2f8c71;
        text-decoration: underline;
}

h1, h1 a, h2, h2 a, h3 a, h4 a
{
	color: #009193;
 line-height: 1.1;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover
{
	color: #1BA6B2;
}

h1
{
	font-size: 30px;
}

h2
{
	margin: 0 0 0.5rem 0;
	font-family: Georgia, serif;
	font-size: 1.8em;
	font-weight: normal;
}

h3
{
	margin: 1rem 0 0.5rem 0;
	font-family: Georgia, serif;
	font-size: 1.6em;
	font-weight: normal;
}

a h3, .entry > h3 {
    margin-top: initial;
}

h4
{
	margin: 0;
	font-size: 1em;
}

a img
{
	border: none;
}

p
{
	margin: 0;
	padding: 0 0 12px 0;
}

ul
{
	margin: 0 0 0 1.4em;
	padding: 0 0 12px 0;
}

ul ul
{
	padding: 0;
}

blockquote
{
	margin: 0;
	padding: 0 10px;
	font-style: italic;
}

pre, code
{
	font-family: Courier, Monaco, monospace;
	background-color: #F8FAF2;
}

#border
{
        
}

#container
{
        width: 900px;
    margin: 0 auto;
	padding: 0px 30px 0 30px;
	background-color: white;
}

#masthead
{
        background: #fff;
        display: block;
  padding: 1rem 1rem 0.4rem 1rem;
  background: url(/files/r_letterhead_2009_title.svg) no-repeat;
  background-size: 55%;
  background-position: 95% 75%;
}

#masthead img
{
    height: 55px;
    width: auto;
}

#head
{
	width:  690px;
	padding: 0 0 0 0px;
	background-color: #F0F9F9;
	background-size: cover;
    width: 100%;
    background-position: 50%;
  overflow: hidden;
  height: 300px;
  position: relative;
  /*border-top:  1px solid #ccc;
  border-right:  1px solid #ccc;
  border-left:  1px solid #ccc;
  box-sizing: border-box; */
}

#head h1
{
	padding-top: 50px;
}

#head img
{
	padding:  0;
	margin:  0;
    /* visibility: hidden; */
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
  transform: translateY(-50%);
}

#navigation
{
	margin-top: 1px;
        background-color: #5b8c7d;
	/* height: 2.38rem;
	line-height: 2.4rem; */
}

#navigation a
{
	color: white;
}

#navigation .selected a
{
	color: #737c81;
        background-color: #fff;
}

#navigation a:hover
{
	color: #fff;
        background-color: #2f8c71;
        text-decoration: none;
}

#navigation ul
{
	margin: 0;
	padding: 0;
}

#navigation li
{
	/* float: left; */
      display: inline-block;
	margin: 0;
	padding: 0;
	list-style-type: none;
	border-right: 1px solid;
	white-space: nowrap;
	border-color: white;
}

#navigation li a
{
	display: block;
	padding: 1rem 2rem;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 1px;
        font-weight: bold;
}

* html #navigation a
{
	width: 1%;
}

#navigation form
{
	float: right;
	height: 100%;
	width: 189px;
	padding: 0 15px;
	border-left: 1px solid;
	line-height: 0;
	border-color: white;
	background: #41b291 url(/images/blix_corner_bottom_right.gif) bottom right no-repeat;
}

#navigation form fieldset
{
	margin-top: 7px;
	border: 0 solid;
}

* html #navigation form fieldset
{
	margin-top: 7px;
}

#navigation #s
{
	height: 1.5em;
	width: 140px;
	margin: 0 5px 0 0;
	padding: 0;
	border: 1px solid;
	font-size: 0.8em;
	vertical-align: middle;
	border-color: #FFF9EA;
}

#navigation #searchbutton
{
	height: 2em;
	width: auto;
	padding: 0 1px;
	border: 1px solid;
	font-size: 9px;
	letter-spacing: 1px;
	text-align: center;
	vertical-align: middle;
	color: white;
	background-color: #31ae6f;
}

#center
{
	padding-top: 32px;
    display: flex;
    flex-wrap: wrap;
    margin-left: -1em;
  width: 916px;
}

#center nav {
    /* clear: both; */
    display: block;
    width: 100%;
    margin-left: 1em;
}

#center article {
    margin-left: 1em;
    margin-bottom: 1rem;
}

.flexfig {
    display: flex;
    margin-left: -1em;
}

figure {
    width: -webkit-min-content;
    width: -moz-min-content;
    width: min-content;
    margin: 0 auto;
    width: 100%;
    padding: 0 0 1em 0;
}

.flexfig figure {
  margin-left: 1em;
  flex: 0 1 auto;
}

.flexfig.flex1 figure:nth-child(1),
.flexfig.flex2 figure:nth-child(2) {
    flex: 2 1 auto;
}

.flexfig.flex1 figure:nth-child(2),
.flexfig.flex2 figure:nth-child(1) {
    flex: 0 2 auto;
}

figure img {
    width: 100%;
    height: auto;
  object-fit: cover;
}

figcaption {
    font-size: small;
    line-height: 1.4;
}

#center img.preview
{
	padding:  1px;
	border:  1px solid gray;
}

#center img.thumb
{
	padding:  1px;
	margin:  0 0 8px 8px;

	border:  1px solid gray;
}

#center .thumb_r
{
	padding:  1px;
	margin:  0 0 8px 8px;
	border:  1px solid gray;
	float:  right;
	clear:  both;
  max-width: 440px;
  height: auto;
}

#center .thumb_l
{
	padding:  1px;
	margin:  0 8px 8px 0px;
	border:  1px solid gray;
	float:  left;
	clear:  both;
  max-width: 440px;
  height: auto;
}

a.thumb_l, a.thumb_r, a.rssThumbFloat {
    line-height: 0;
}

.noborder {
        border: 0 !important
}

#center ul.posts li
{
	list-style-image: url(/images/blix_post_yellow.gif);
}

#center hr
{
	color: #F3F4F4;
	height: 1px;
        border: none;
}

.foliothumbs {
  display: flex;
  flex-wrap: wrap;
}

.foliothumb {
    padding: 1px;
    margin: 0 10px 10px 0;
    border: 1px solid gray;
    width: 140px;
    height: 140px;
    overflow: hidden;
    /* display: block; */
    /* float: left; */
    flex: 0 1 auto;
    box-sizing: border-box;
}

.foliothumb img {
    height: 100%;
    width: auto;
}

p.gallery {
    display: flex;
    flex-wrap: wrap;
    clear: both;
    width: 900px;
}

.gallery a {
    flex: 0 1 auto;
    margin: 0 1rem 1rem 0;
    align-items: stretch;
}

.entry {
    justify-content: space-between;
    width: 47%;
    margin: 0 0 1em 1em;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 45%;
}

.entry object {
        margin-bottom: 10px;
}

div#flowplayer + p {                                                                   
	font: 13px georgia, serif;
	font-style: italic;
	line-height: 21px;
	text-indent: 0px;
	text-align: center;
	margin: 15px 20px 15px 20px;
}

p.info, div#flowplayer + p.info
{
        margin: 1rem 0 0 0;
        font: 0.9em Arial, Helvetica, sans-serif;
	line-height: 1.6em;
        text-align: left;
	position: relative;
	padding: 3px;
	border-top: 1px solid;
	border-bottom: 1px solid;
	border-color: #F3F4F4;
	background-color: #FAFAFA;
	clear:  both;
}

p.info a
{
	border-color: #949494;
}

/* file info */
span.info {
    font-size: small;
    color: grey;
}

#right
{
	float:  right;
	clear: right;
	width: 190px;
	padding: 15px 0 0 0px;
	font-size: 0.9em;
	line-height: 1.5em;
    display: none;
}

#right h3
{
	margin: 5px 0 10px 0;
	font-family: Georgia,serif;
	font-size: 1em;
	font-weight: bold;
	line-height: 1em;
	color: white;
	background: #41b291 url(/images/blix_corner_top_left.gif) top left no-repeat;
}

#right h3 em
{
	display: block;
	padding: 5px 10px;
	font-style: normal;
	background: url(/images/blix_corner_bottom_right.gif) bottom right no-repeat;
}

#right p
{

	padding: 0 10px 5px 10px;
}

#right ul.categories li
{
	list-style-image: url(/images/blix_categories_yellow.gif);
}

#rssCatList ul li
{
	list-style-image: url(/images/blix_categories_yellow.gif);
}

#right ul.links li
{
	list-style-image: url(/images/blix_links_yellow.gif);
}

#right ul.feeds li
{
	list-style-image: url(/images/blix_feeds_yellow.gif);
}


#right ul.posts li
{
	list-style-image: url(/images/blix_post_yellow.gif);
}

#right ul.categories li li
{
	list-style-image: url(/images/spring_flavour/sub_categories_yellow.gif);
}

#right ul li
{
        margin: 2px 0 2px 12px;
	padding-bottom: 2px;
	border-bottom: 1px solid;
	border-bottom-color: #F0F0F0;
}

#right li a
{
	/*display: block;*/
	padding: 1px 0;
	height: 1%;
}

#right li a:hover
{
	background-color: #FFFBF0;
}

#foot, footer
{
	clear: both;
	padding: 10px 0 15px 0;
	font-size: 0.9em;
        background: white;
	/* background: white url(/images/blix_footer_bg.gif) 470px 0px no-repeat; */
        border-top: 1px solid #eee;
}

/*Built in classes rssThumbs, rssThumbLabel, rssThumb, rssImg, rssThumbFloat for easy CSS styling*/

.rssThumbs {
  float: left;
}

.rssThumbFloat {
  float: left;
  border: 1px solid #999;
  margin: 0 15px 15px 0;
  padding: 1px;
  text-align: left;
  font-size: .85em;
  line-height: 1.5em;
  font-weight: bold;
  display: block;
  
}

.cap {
  margin-top: 0px;
  display: block;
}

ul#rssThumbNav {
list-style-type: none;
margin: 0;
padding: .5em 0;
border-top: 1px solid #666;
}
ul#rssThumbNav li a {
display: block;
width: 5em;
color: #FFF;
background-color: #036;
padding: .2em 0;
text-align: center;
text-decoration: none;
}
ul#rssThumbNav li a:hover {
color: #FFF;
background-color: #69C;
}
ul#rssThumbNav .left { float: left; }
ul#rssThumbNav .right { float: right; }

.alignleft {
  float: left;
  display: inline;
}

.alignright {
  float: right;
  display: inline;
}

#flowplayer {
   margin: 0 0 20px 0;
  text-align: center;
  width: 900px;
}


div#flowplayer + p {                                                                   
	font: 13px georgia, serif;
	font-style: italic;
	line-height: 21px;
	text-indent: 0px;
	text-align: center;
	margin: 15px 20px 15px 20px;
}

#center table {
	width: 100%;
	border-collapse: collapse;
	padding: 0px;
	margin: 0 0 20px 0;
}

#center td:first-child {
	width: 170px;
	}

#center td {
	border: 1px #ccc solid;
	padding: 4px;
	margin: 0px;
}

/* zem contact form */

.zemContactForm fieldset {
	border: none;
}

.zemContactForm legend {
	border: none;
	display: none;
}

.zemContactForm input, .zemContactForm textarea {
	margin-bottom: 6px;
}

.zemContactForm textarea {
        width: 430px;
}

label.zemText, label.zemTextarea {
	font-weight: bold;
}

.zemThanks {
	font-weight: bold;
	font-style: italic;
}

.zemError {
	color: red;
}

/* ****** icons ****** */

.soc {
  display: block;
  font-size: 0;
  list-style: none;
  margin: 0;
  text-align: center;
}
.soc li {
  display: inline-block;
  margin: 12px;
  margin: 1.2rem;
  vertical-align: middle;
}
.soc a, .soc svg {
  display: block;
}
.soc a {
  position: relative;
  height: 64px;
  height: 4rem;
  width: 64px;
  width: 4rem;
}
.soc svg {
  height: 100%;
  width: 100%;
}
.soc em {
  font-size: 14px;
  line-height: 1.5;
  margin-top: -0.75em;
  position: absolute;
  text-align: center;
  top: 50%;
  right: 0;
  bottom: 0;
  left: 0;
}

.icon-1:hover, .icon-2:hover, .icon-3:hover, .icon-4:hover, .icon-5:hover, .icon-6:hover, .icon-7:hover, .icon-8:hover, .icon-9:hover, .icon-10:hover, .icon-11:hover, .icon-12:hover, .icon-13:hover, .icon-14:hover, .icon-15:hover, .icon-16:hover, .icon-17:hover, .icon-18:hover, .icon-19:hover, .icon-20:hover, .icon-21:hover, .icon-22:hover, .icon-23:hover, .icon-24:hover, .icon-25:hover, .icon-26:hover, .icon-27:hover, .icon-28:hover, .icon-29:hover, .icon-30:hover {
  border-radius: 100%;
  background: #2f8c71;
  color: #fff;
  fill: #fff;
  -webkit-transform: scale(1.25);
          transform: scale(1.25);
  -webkit-transition: background-color 0.5s, -webkit-transform 0.5s ease-out;
  transition: background-color 0.5s, -webkit-transform 0.5s ease-out;
  transition: background-color 0.5s, transform 0.5s ease-out;
  transition: background-color 0.5s, transform 0.5s ease-out, -webkit-transform 0.5s ease-out;
}

.icons li a {
  color: #5b8c7d;
  fill: #5b8c7d;
}

a.lrl {
  width: auto;
  height: 50px;
}



@media only screen 
and (max-device-width: 980px)
/*and (max-device-width: 400px) */
and (-webkit-min-device-pixel-ratio: 2),
(max-width: 800px)
{
  body {
    padding: 0;
  }
  #container {
    margin: 0;
    padding: 0;
    width: 100%;
  }
  #navigation li a {
    font-size: 1.5rem;
  }
  #center {
    display: block;
    margin-left: 1em;
    padding: 0 1em;
    width: initial;
  }
  #center article {
    margin-top: 2em;
    margin-left: 0;
  }
  #center .entry {
    width: 100%;
    margin: 4em 0 3em 0;
  }
  #center nav {
    margin: .5em;
    line-height: 3;
    font-size: 2em;
    width: inherit;
  }

  .thumb_r {
    width: 330px;
    height: auto;
  }

  .flexfig {
    display: block;
    margin-left: initial;
  }

  .flexfig figure {
    margin: auto;
    width: 100%;
  }

  footer {
    padding-left: 1em;
  }
}
