/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {

	font-family: "brownstd-regular","Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size:13px;
	padding:1em;
}

a{
	text-decoration: none;
	color:#989898;
}

a:hover{
	color:#000;
}

.current-cat a{
	color:#000;
}
.site{
	max-width: 1200px;
	margin:auto;
}

p{
	font-family: "minionpro-regular", Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif;
	font-size:1.2em
}

.arrow-left{
	width:100px;
	height:100px;
	background: url('../img/arrow-left.svg') no-repeat;
	background-size: 100%;
}

.arrow-right{
	width:100px;
	height:100px;
	background: url('../img/arrow-right.svg') no-repeat;
	background-size: 100%;
}

h1{
	margin:0;
	font-size:1.6em;
}

h3{
	font-size:1em;
}

h4{
	font-size:1em;
	text-transform:uppercase;
	margin:0;
}

.extrainfo{
	position:absolute;
	right:0;
	top:0

}
.item {
	color:#000;
}

.item .title{
	text-transform: uppercase;
	height:1em;
}

.item .description{
	height:4em;
	font-size:0.8em;
}

header{
	margin-bottom:2em;
  padding-left:1rem;
  padding-right:1rem;
}
header ul, ul.clean{
	margin:0;
	padding:0;
	list-style-type: none;
}



ul.clean li:nth-child(4n+1){
	margin-left:2%;
}

header li{
	float:left;
	font-size:1.6em;
	margin-right:1em;
	text-transform:uppercase;

}
.centerfloats{
    display: table;
    margin-left: auto;
    margin-right:auto;
}
.centerfloats li:last-child{
	margin-right:0;
}

.wrapper{
  padding-left:1rem;
  padding-right:1rem;
}

#container{
	position:relative;
}

.pos-relative{
	position:relative;
}

.center{
	text-align:center;
}

.pagefade{
	opacity:0;
}
.infoverlay{
	display:none;
	opacity:0;
	padding-left:25%;
	padding-right:25%;
	z-index:5000;
	position:absolute;
	top:0;
	width:50%;
	height:100%;
}

.single .infoverlay{
	margin-top:6em;
}

h4.bold{

		font-family:"brownstd-bold";
}

.posthead{
	margin-bottom: 2em;
}

#nav{
	position: absolute;
	width: 100%;
	z-index:1000;
}
.nav-left{
	position:absolute;
	left:0.5%;
	top:0;
	padding-bottom:25%;
	padding-top:25%;
	margin-left:0px;

}

.nav-right{
	position:absolute;
	right:0.5%;
	top:0;
	padding-bottom:25%;
	padding-top:25%;
	margin-right:0px;
}

.synopsis{
	padding-right:1em;
}

.background{
	background-color: red;
}

.full-image{
	padding:0.5%;
}

.full-image .text{
	display:hidden;
}

.full-image img{
	width:100%;
}



#ivycat-slider{
	text-align:center;
}

#ivycat-slider h3{
	display:none;
}

.slider-content img{
	max-width:1200px;
	height:auto;
}

.social-twitter{
	background: url('../img/social.png')no-repeat;
}

.social-facebook{
	background: url('../img/social.png')no-repeat -28px 0;
}

.social-twitter, .social-facebook{
	float:left;
	margin:2px;
	width:28px;
	height:28px;
	background-size:200%;
	opacity:0.5;
}



.social-twitter:hover, .social-facebook:hover{
	opacity:1;
}


.twoCol img, .fourCol img, .item img, .singleLandCol img{
		width:100%;
		height: auto !important;
	}

.social-container{
	/*width:64px;*/
	margin:auto;
  font-size:2rem;
}


#logo h1{
	text-align:center;
}
.float-right{
	text-align:center;
}

table, thead, tbody, th, td, tr {
		display: block;
	}

.single-text p{
	padding:1em;
}

.bigtext {
	padding:6px;
	font-size:16px;
	width:100%;


}

.bigtext strong{
	font-size:1.3em;
	display:block;
}

/* Desktops and laptops ----------- */

/* Styles */
	body{
		font-size:14px;
		padding:0;
		}
	table, thead, tbody, th, td, tr {
		display: inline-table;
		width:100%;
	}
	.bigtext {
		width:50%;

		text-align:justify;
		text-justify:inter-word;
	}

	#logo h1{
		text-align:left;
	}

	.social-container{
		margin:0;
	}
	.eightCol{
		width:11.5%;
		padding:0.5%;
	}

	.fourCol{
		width:24%;
		padding:0.5%;

	}


	.twoCol{
		width:49%;
		padding:0.5%;

	}

	.singleLandCol{
		width:74%;
		padding:0.5%;
	}

	td.fourCol{
		width:25%;

	}

	td.twoCol{
		width:50%;
	}

	td.singleLandCol{
		width:75%;
	}


	.gutter-left{
		margin-left:1%
	}
	.gutter-right{
		margin-right:1%
	}

	.margin-left{
		margin-left:1.5%
	}

	.margin-right{
		margin-right:1.5%
	}
	.float-left{
	float:left;
	}

	.float-right{
	float:right;
	}





/**** Isotope Filtering ****/

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:      -o-transform, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}



.loading{
	position:absolute;
	left:0;
	top:0;
	margin-left:50%;
	margin-top:400px;
	z-index:2000
}

.loading div{
	text-align:center;
	width:76px;
	margin-left:-38px; background-color:#fff;
}


/* Loading clock */

#clock {
	position: absolute;
	left: 50%;
	width: 120px;
	height: 120px;
	background: rgba(0,0,0,0.6);
	margin-left:-60px;
	margin-top:20%;
	/*border: 10px solid #fff;*/

	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	z-index:100000;
}


/* Press */

.fourCol{
		width:24%;
		padding:0.5%;

	}

/* Hands */
#clock span.hand {
	background: #fff;
	position: absolute;
	left: 50%;
	-webkit-animation: rotate 10s infinite linear;
	-webkit-transform-origin: left bottom;
	-moz-animation: rotate 10s infinite linear;
	-moz-transform-origin: left bottom;
	-ms-animation: rotate 10s infinite linear;
	-ms-transform-origin: left bottom;
	-o-animation: rotate 10s infinite linear;
	-o-transform-origin: left bottom;
	animation: rotate 10s infinite linear;
	transform-origin: left bottom;
}

#clock span.hand.second {
	height: 50px;
	width: 2px;
	margin-left: -1px;
	top: 10px;
}

@-webkit-keyframes rotate {
	0% { -webkit-transform: rotate(0deg);}
	100% { -webkit-transform: rotate(360deg);}
}

@-moz-keyframes rotate {
	0% { -moz-transform: rotate(0deg);}
	100% { -moz-transform: rotate(360deg);}
}

@-ms-keyframes rotate {
	0% { -ms-transform: rotate(0deg);}
	100% { -ms-transform: rotate(360deg);}
}

@-o-keyframes rotate {
	0% { -o-transform: rotate(0deg);}
	100% { -o-transform: rotate(360deg);}
}

@keyframes rotate {
	0% { transform: rotate(0deg);}
	100% { transform: rotate(360deg);}
}

@media only screen and (max-width: 480px) {
	.eightCol,.fourCol,.twoCol,td.fourCol,td.twoCol,td.singleLandCol,header li {
	width:100%;

	}
	.site{
		padding:1em;
	}
	.posthead{
		text-align: left;
	}

	.extrainfo{
		position:relative;
	}
	#image_title{
		display:none;
	}
	.center{
	text-align: left;
	}
}

.slider-content img{
	width:100%;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
