/*
 * Plugin Name: EmLibrary
*/

/* Remove default theme page thumbs
-------------------------------------------------------------- */

.single-emlibrary_article .wp-post-image:not(.size-emlibrary-thumb),
.single-emlibrary_article .post-thumbnail,
.post-type-archive-emlibrary_article .wp-post-image:not(.size-emlibrary-thumb),
.post-type-archive-emlibrary_article .post-thumbnail {
	display: none!important;
}

.emlibrary-credit {
    display: none!important;
}

.clear {
    clear: both;
}

.press-covers { font-size: 10px; text-align: center; text-decoration: none; line-height: 20px;}

.cover-preview { margin: 0px 2px 4px 2px; width: 124px; height: auto; padding: 4px; background: #fffff; border: 1px solid #D4D4D4; border-radius: 2px;  box-shadow: 0 4px 2px -2px #D6D6D6; }

.press-covers a, .press-covers a:visited { font-size: 11px; color: #808080; }

#article-border { float: left; width:680px; height: 100%; padding: 20px; margin-bottom: 20px; background: #ffffff;}

#article-content { width: 620px; background: #ffffff; padding: 30px; text-align: justify; float: left; max-width:300px%; display:block; font-size: 13px; margin-bottom: 15px; line-height: 28px; border: 1px solid #000000;}

.magazine-covers { text-align: center; }

.magcover-preview { margin: 0px 2px 4px 2px; width: 134px; height: auto; padding: 4px; background: #fffff; border: 1px solid #D4D4D4; border-radius: 2px;  box-shadow: 0 4px 2px -2px #D6D6D6; }

.magcover-title { text-align: center; font-size: 12px; font-weight: 600px; line-height: 18px; margin-top: -8px; }

.magcover-date { text-align: center; font-size: 10px; font-weight: 400px; color: #808080!important; margin-top: -8px; margin-bottom: 15px; }




/* Single article
-------------------------------------------------------------- */

.emlibrary-publication {
	font-family: "Bitter"; font-size: 26px; line-height: 32px; letter-spacing: -1px; font-weight: 700;
	color: #808080; 
	margin-bottom: 2px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.emlibrary-publication-title{
	padding: 0px 0 2px 0;
	font-size: 16px;
	color: #BD9C55;
	font-weight: 700;
	overflow: hidden;
}

.emlibrary-details {
	margin-bottom: 20px;
	padding: 0px 0 10px 0;
	color: #E36565;
	font-weight: 700;
	border-bottom: 3px double #D9D9D9;
}

.emlibrary-title-small {
	margin: 25px 0px 20px 0px;
	font-weight: 700;
}

.emlibrary-image {
	max-width: 200px;
	height: auto;
	float: left;
	border-radius: 2px;
	margin: 20px 20px 0px 0px;
}

.form-transcript-scans-missing {
}

.emlibrary-thumbnails-title {
	font-size: 16px;
	font-weight: 700;
	padding: 25px 0px 25px 0px;
	text-align:left; 
	}

.emlibrary-thumbnails {
	margin: 0px 3px 0px 2px; width: 141px; height: auto; border: 1px solid #BEBEBE; }
	
.press-byline {
	font-size: 12px; line-height: 24px; font-weight: 700; color: #C4A277 }
	
.press-tags-main { float: left; background: #E36565; color: #ffffff; padding: 0px 12px; margin: 11px 5px 10px 0px; font-size: 9px; font-weight: 700; text-transform: uppercase; text-transform: uppercase; border-radius: 2px; }

.press-tags { color: #ffffff; margin: 10px 5px 10px 0px; }

.press-tags a, .tags a:visited, .tags a:active { background: #ECECEC; border-radius: 2px; color: #808080; text-decoration:none; font-size: 9px; font-weight: 700; padding: 8px 12px; text-transform: uppercase; text-transform: uppercase; }

.tags-country a, .tags-country a:visited, .tags-country a:active { float: left; background: #ECECEC; -moz-hyphens: auto; hyphens: auto; color: #808080; text-decoration:none; font-size: 8px; font-weight: 700; border-radius: 2px; padding: 1px 7px; margin-right: 4px; margin-bottom: 4px; text-transform: uppercase; }

.tag-cover-year a, .tag-cover-year a:visited, .tag-cover-year a:active { text-align: center; background: #D97776; color: #F5F5F5; text-decoration:none; font-size: 10px; font-weight: 700; border-radius: 2px; padding: 5px 15px; margin-bottom: 60px!important; }

.thumbs-wrapper { max-height: 167px; overflow: hidden; margin-bottom: 20px; }
	


/* Listing
-------------------------------------------------------------- */

.emlibrary-content {

width: 550px; min-height: 550px; padding: 25px 25px 5px 25px; text-align: justify; float: left; max-width:300px%; display:block; font-size: 12.5px; line-height: 26px; border: 1px solid #CFCFCF;

}

.emlibrary-title {
	font-size: 24px;
	letter-spacing: -1px;
	font-weight: 700;
	color: #808080; 
	margin-bottom: 25px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.emlibrary-listing-row {
	display: table;
	width: 100%;
	padding: 6px 0px 6px 0px;
	border-bottom: 1px solid #CFCFCF;
}

.emlibrary-listing-row:before { display: inline-block; margin-top: 8px; position:absolute; z-index:50; content:'\f249'; font:400 12px fontawesome; }

.emlibrary-print-row {
	    color: black;
	    font-size: 11px;
	    float: right;
}

.emlibrary-listing-row:first-child {
}

.emlibrary-listing-publication,
.emlibrary-listing-date,
.emlibrary-back-press-archive,
.emlibrary-print-document {
	display: table-cell;
}

.emlibrary-listing-date {
	width: 18%;
	font-family: "Tahoma";
	font-size: 10px;
	font-weight: 800;
	text-align: left;
	padding-left: 20px;
}

.emlibrary-listing-publication {
	width: 35%;
	font-size: 11.5px;
	white-space: nowrap;
	text-align: left;
	text-overflow: ellipsis;
}

.emlibrary-listing-title {
	overflow: hidden;
	max-width: 275px;
	font-size: 11px;
	text-align: left;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.emlibrary-back-press-box {
	float: left;
	margin-top: 25px;
}

.emlibrary-back-press-archive {

}

.emlibrary-back-press-archive:before {
	font-family: FontAwesome;
	content: '\f190';
	padding-right: 2px;
}

.emlibrary-print-document {
padding-left: 20px;
}

.emlibrary-print-document:before {
	font-family: FontAwesome;
	content: '\f02f';
	padding-right: 2px;
}

.cover-listing {
	float: left;
	 margin: 0px 5px 10px 5px; width: 128px; height: auto; background: #fffff; border: 1px solid #CCCCCC; border-radius: 2px; }

.cover-listing-single {
	    max-width: 200px!important;
		width: 200px!important;
		height: 270px!important;
	    float: left;
		border: 1px solid #DDDDDD;
}

.listing-publication-date-box {
	max-width: 134px;
 	height: 255px;
	padding: 0px 8px 10px 8px;
	float: left;
	line-height: 20px;
}

.listing-publication-date {
 text-align: center;
 font-size: 10px;
 letter-spacing: -0.5px;
 color: #808080;
}

.listing-publication-date-title {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: -0.5px;
	color: #BD9C55;
}

/* Press Navigation
-------------------------------------------------------------- */

.emlibrary-navigation .nav-previous {
	margin-left: 10px;
	font-size: 11px;
	display: inline-block;
	float: left;
	width: 46.5%;
	vertical-align: top;
}

.meta-nav-previous {
	font-weight: 600;
	color: #ad9c42;
	text-transform: uppercase;
	display: block;
}

.meta-nav-previous:before {
    color: #4b4b4a!important;
    font-weight: 500;
	font-family: FontAwesome;
	content: '\f190';
	padding-right: 6px;
}

.emlibrary-navigation .nav-next {
	margin-right: 10px;
	font-size: 11px;
	display: inline-block;
	float: right;
	width: 46.5%;
	text-align: right;
	vertical-align: top;
}

.meta-nav-next {
	font-weight: 600;
	color: #ad9c42;
	text-transform: uppercase;
	display: block;
}

.meta-nav-next:after {
    color: #4b4b4a!important;
    font-weight: 500;
	font-family: FontAwesome;
	content: '\f18e';
	padding-left: 6px;
}


.emlibrary-navigation .meta-nav {
	font-weight: 600;
	font-size: 11px;
	display: block;
}

.form-transcript-scans-missing {
  margin-top: -25px;
  margin-left: -10px;

  input[type='text'], input[type='email'] {
    width: 58%;
    max-width: 100%;
}

.wpcf7-textarea, textarea {
    width: 58%!important;
    height: 150px!important;
  }
}

/* Contact Form 7
-------------------------------------------------------------- */

.wpcf7-form {
  font-size: 13px;
  font-family: $font-content;
  color: $gray-dark;
  padding: 0px 10px 10px 10px;
  outline: none;
}

.wpcf7-form p {
  margin-bottom: 10px;
}

.wpcf7-text {
  padding: 10px;
  width: 58%;
  font-family: $font-content;
  font-size: 13px;
  color: $gray-dark;
}

.wpcf7-textarea {
  width: 58%;
  height: 80px;
  padding: 10px;
  outline: none;
  font-family: $font-content;
  font-size: 13px;
  color: $gray-dark;
}

@media (max-width: 769px) {
  .wpcf7-textarea {
    width: 100%;
  }
}

.wpcf7-response-output {
  background: $white;
}

/* Accessibility
-------------------------------------------------------------- */

.post-type-archive-emlibrary_article .screen-reader-text,
.single-emlibrary_article .screen-reader-text {
	position: absolute !important;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px;
	height: 1px;
}

/* Responsive
-------------------------------------------------------------- */

@media (max-width: 600px) {
	.emlibrary-listing-date,
    .emlibrary-listing-publication,
    .emlibrary-listing-title {
		display: block;
		width: 100%;
	}

	.emlibrary-footer {
		display: none;
	}

.edit_entry {
	display: none;
}

	.emlibrary-listing-title {
		overflow: visible;
		max-width: none;
		white-space: normal;
		text-overflow: clip;
	}

	.listing-publication-date-box {
	    max-width: 120px;
			height: 240px;
	}

	.cover-listing {
    width: 100px;
    height: 130px;
}

	.emlibrary-back-press-box {
	    display: none;
	}

	.nav-previous,
	.nav-next {
		width: 90.5%!important;
	}
	.emlibrary-print-document {
		display: none;
	}

}
