/*
Theme Name: DFI Journal
Author: X-CD
Description: A custom theme for DFI's Journal System
Version: 1.00
*/
@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&display=swap');

/* CSS Document */
/* RESET */
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* END RESET */

/* WORDPRESS CORE */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

.wp-block-columns {
	max-width: 1650px;
    margin: 0 auto;
	padding: 15px 50px 0px;
}

#single .wp-block-columns h1, #single .wp-block-columns h2, #single .wp-block-columns h3, #single .wp-block-columns h4 {
	padding:0;
}

#single .wp-block-columns p {
	padding:10px 0;
}

#single .wp-block-columns p.button {
	padding:5px;
	margin:10px 0;
}

#single .wp-block-columns ul {
	padding:15px 50px;
}

#single .wp-block-gallery .blocks-gallery-item {
	margin:0 5px 10px;
}
/* END WORDPRESS CORE */

/* SLIDEOUT */
.slideout-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 500px;
  min-height: 100vh;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  z-index: 0;
  display: none;
}

#mobile-menu-wrap {
	width: 500px;
	min-width: 500px;
	opacity: 0;
	visibility: hidden;
}

#mobile-menu-wrap.visible {
	opacity: 1;
	visibility: visible;
}

.slideout-menu-left {
  left: 0;
}

.slideout-menu-right {
  right: 0;
}

.slideout-panel {
  position: relative;
  z-index: 1;
  background-color: #FFF; /* A background-color is required */
}

.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
  overflow: hidden;
}

.slideout-open .slideout-menu {
  display: block;
}

#panel:before {
  content: '';
  display: block;
  background-color: rgba(0,0,0,0);
  transition: background-color 0.5s ease-in-out;
}

#panel.panel-open:before {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(0,0,0,.5);
  z-index: 99;
}

#close-mobile {
	height: 40px;
    background:#F7F8F9;
    text-align: right;
    padding:0 25px;
    box-sizing: border-box;
	margin-bottom:25px;
	display: flex;
	justify-content: space-between;
}

#close-mobile a {
	display: inline-block;
	color:#c03b32;
	font-size:26px;
	line-height: 48px;
}

#mobile-menu-back {
	visibility: hidden;
}

#mobile-menu-back.active {
	visibility: visible;
}

#mobileSearch {
	display:block;
	width:100%;
	margin-bottom:30px;
	text-align: center;
}

#mobileSearch .searchForm input[type="text"] {
	width:85%;
}

#mobile-menu {
	padding:0 25px;
	box-sizing: border-box;
	margin-bottom:60px;
}

#mobile-menu li {
	border-bottom:1px solid #dbd9d2;
	padding:25px 0;
}

#mobile-menu li a {
	display: inline-block;
	width:90%;
	font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
}

#mobile-menu li ul {
	display:none;
	position: absolute;
    height: 100%;
    width: 100%;
    background: #fff;
    top: 61px;
    left: 0px;
	padding-left: 25px;
	box-sizing: border-box;
}

#mobile-menu li ul.expanded {
	display:block;
	z-index: 20;
}

#mobile-menu li ul.expanded ul.expanded {
	top:0;
}

#mobile-menu .mobileParentItem:after {
	display:inline-block;
	content:">";
	position: absolute;
	right:30px;
	z-index: 10;
}

#mobile-menu-wrap .button {
	display: block;
	width:200px;
	margin:0 auto 15px;
	text-align: center;
}
/* END SLIDEOUT */

/* GENERAL */
img {
	max-width: 100%;
	height: auto;
}

.button, #single .button {
	font-family: 'Montserrat', sans-serif;
	font-size:16px;
	font-weight: 500;
	color:#fff;
	text-decoration: none;
	background: #c03b32;
	padding:8px 0px;
	border:2px solid #c03b32;
	border-radius: 5px;
	-webkit-box-shadow: 0px 10px 5px 0px rgba(0,0,0,0.34);
	-moz-box-shadow: 0px 10px 5px 0px rgba(0,0,0,0.34);
	box-shadow: 0px 10px 5px 0px rgba(0,0,0,0.34);
	display: inline-block;
	max-width:270px;
	width:100%;
	box-sizing: border-box;
	text-align: center;
}

.button.white, #single .button.white {
	color:#c03b32;
	background: #fff;
}

.button.squared {
	border-radius: 0;
}

.button.whiteborder {
	border:2px solid #fff;
}

main {
	padding-top:208px;
}

#single h1, #single h2 {
	color:#c03b32;
	font-family: "Montserrat", sans-serif;
}

#single h1 {
	font-size: 32px;
	font-weight: 500;
	margin: 10px auto 25px;
	padding:0;
	line-height: 40px;
}

#single h2 {
	font-size: 26px;
	font-weight: 500;
	margin: 25px auto 15px;
	padding:0;
}

#single h3 {
	font-family: "Montserrat", sans-serif;
	color:#000;
	padding:0;
	font-size: 24px;
	font-weight: 500;
	margin:15px auto;
}

#single h4 {
	font-family: "Montserrat", sans-serif;
	padding:0;
	font-size: 20px;
	margin:15px auto;
}

#single a {
	color: #c03b32;
	font-weight: 500;
	text-decoration: none;
}

#single .button a {
	color: #fff;
}

#single .button.white a {
	color:#165a87;
}

#single ul, #single ol {
	padding:10px 25px;
	margin:0 auto 0 auto;
	font-family: "Montserrat", sans-serif;
	max-width: 1600px;
}

#single ul {
	list-style: disc;
}

#single ul ul {
	padding:15px 25px;
	list-style: circle;
}

#single ol {
	list-style: lower-roman;
}

#single ol ol {
	padding:10px;
	list-style: lower-alpha;
}

#single ul li, #single ol li {
	margin:0 0 10px;
	line-height: 25px;
}

main p {
	padding:10px 0px;
	font-family: "Montserrat", sans-serif;
	font-size:16px;
	font-weight: 400;
	line-height: 26px;
	margin:0 auto;
}

#single .wp-block-table {
	padding:15px 50px;
}

#single table {
	max-width:1650px;
	font-family: "Montserrat", sans-serif;
	font-size:16px;
	font-weight: 400;
	line-height: 26px;
	margin:0 auto;
}

#single table thead {
	background:#165a87;
	color:#fff;
	text-align: left;
}

#single table thead th {
	border:2px solid #fff;
	padding:10px;
}

#single table td {
	padding:10px;
}

.searchForm input[type="text"] {
    width: 200px;
    height: 31px;
	padding-left:15px;
    position: relative;
    z-index: 1;
	border:2px solid #e8e8e8;
}
.searchForm input[type="submit"] {
    margin-left: -50px;
    height: 20px;
    width: 50px;
    position: relative;
    z-index: 10;
    background-image: url(img/caccn-magnify.png);
    background-color: transparent;
    border: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
	cursor: pointer;
}
/* END GENERAL */

/* HEADER */
header {
	position: fixed;
	width:100%;
	background-color: #fff;
	z-index:90;
}
#topBar {
	display:block;
	padding:5px 45px;
	box-sizing:border-box;
}

#topBar ul {
	display:flex;
	justify-content:flex-end;
}

#topBar li {
	padding:0 5px;
}

#topBar a {
	font-size:13px;
	color:#212529;
	text-decoration: none;
	font-family: "Montserrat", sans-serif;
}

#topMenu {
	display:block;
	text-align: right;
	padding-top:15px;
}

#topMenu ul {
	display:flex;
	justify-content: flex-end;
}

#topMenu li {
	margin-right:25px;
}

#topMenu li a {
	font-family:"Lato", sans-serif;
	font-size:14px;
	font-weight: 300;
	color:#000;
	text-decoration: none;
}

#logoNav {
	display:flex;
	align-items: flex-end;
	justify-content: space-between;
	padding: 0px 45px 0 53px;
	box-sizing: border-box;
}

#logo {
	width:150px;
}

#printInfo {
	width:30%;
	font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 400;
}

#mainMenu {
	width:60%;
}

#mainMenu ul {
	display:flex;
	justify-content: flex-end;
}

#mainMenu li {
	padding-right:25px;
}

#mainMenu li:last-child {
	padding-right:0;
}

#mainMenu li a {
	font-family:"Lato", sans-serif;
	font-size:16px;
	font-weight: 300;
	color:#000;
	text-decoration: none;
}

#mainMenu li.current_page_item a {
	color:#c03b32;
}

#headerSearch {
	text-align: right;
	padding-bottom:50px;
}

#headerSearch input[type="text"], #mobileSearch input[type="text"] {
    width: 475px;
    height: 20px;
    padding-left: 15px;
    padding-right: 35px;
    position: relative;
    z-index: 1;
    color: #d2d3d5;
    background: transparent;
    border: 1px solid #d2d3d5;
    border-radius: 5px;
    padding: 10px 35px 10px 15px;
}

#headerSearch input[type="submit"], #mobileSearch input[type="submit"] {
    margin-left: -35px;
    position: relative;
    z-index: 10;
    background-color: transparent;
    border: none;
    font-family: "Font Awesome 5 Pro";
    color: #d2d3d5;
    transform: scaleX(-1);
}

#mobilePrintInfo {
	width:90%;
	font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 400;
	margin:0 auto;
}

#mobileMenuButton {
	display:none;
}

#mobileMenuButton a {
	color:#000;
	text-decoration: none;
	font-size:48px;
}

#mobileSearch {
    display: block;
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
}

#mobileSearch input[type="text"] {
    width: 75%;
}

#tagline {
	margin-top:10px;
	background-color: #c03b32;
	padding:7px 25px;
}

#tagline {
	font-family: "Lato", sans-serif;
	font-size:20px;
	font-weight: 300;
	color:#fff !important;
}
/* END HEADER */

/* MOBILE SUBMENU */
#mobileRight {
	display: none;
	background-color: #dedede;
	padding:25px;
	box-sizing: border-box;
	text-align: center;
}

#mobileRight a {
	font-size:20px;
	color:#000;
	text-decoration: none;
	font-family:"Montserrat", sans-serif;
}

#mobileRight a .far {
	font-size:10px;
}

#mobileSideMenu {
	max-height:0px;
	overflow: hidden;
	transition: .3s ease;
}

#mobileSideMenu.expanded {
	max-height:1000px;
}

#mobileSideMenu li {
	margin-top:25px;
}

#mobileSideMenu a {
	font-family:"Lato", sans-serif;
	color:#000;
	font-size:14px;
	font-weight: 300;
	text-decoration: none;

}


/* END MOBILE SUBMENU */

/* MAIN CONTENT */
#mainContent {
	display:flex;
	margin:0 auto;
	padding:0;
	box-sizing: border-box;
}

#leftSidebar {
	width:310px;
	margin-right:30px;
	padding:25px;
	box-sizing: border-box;
	background-color: #F7F8F9;
}

#leftSidebar a, #mobileSidebar a {
	color:#c03b32;
}

#mobileSidebar {
	display: none;
}

#leftSidebar h2, #rightSidebar h2, #mobileSidebar h2 {
	font-family: "Montserrat", sans-serif;
	font-size:22px;
	margin: 25px auto 15px;
}

#rightSidebar {
	width:310px;
	margin-left:30px;
	padding:25px;
	box-sizing: border-box;
	background-color: #F7F8F9;
}
#rightSidebar li, #leftSidebar li {
	padding:0px 0px 15px;
}

#rightSidebar li a, #leftSidebar li a {
	color:#000;
	text-decoration: none;
	font-family: "Montserrat", sans-serif;
	font-size:14px;
}

#iframeContent {
	width:calc(100% - 530px);
	position: relative;
}

#iframeContent iframe {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  z-index: 1;
  overflow-x:hidden;
}

#single {
	width:calc(100% - 250px);
}
/* END MAIN CONTENT */

/* ARCHIVE */
#archive {
	width: calc(100% - 250px);
}

#archive #heading-1 {
	font-size: 32px;
    font-weight: 500;
    margin: 10px auto 25px;
    padding: 0;
	line-height: 40px;
	color:#c03b32;
}

#archive .post {
	display:block;
	width:100%;
	margin-bottom:100px;
}

#archive .post .postTeaser {
	margin-bottom: 25px;
}

#archive .post .postTeaser p {
	font-size:16px;
}

#archive .post h2 {
	font-size:24px;
	font-weight: 500;
	margin-bottom: 15px;
	letter-spacing: 1px;
	padding: 0;
}

#archive .post p {
	font-size:14px;
	line-height:22px;
	font-weight: 400;
	padding: 0;
}

#archive .post .postInfo, #single .postInfo  {
	margin-bottom: 40px;
}

#single .postInfo p {
	margin-bottom:5px;
	padding: 0;
}

#archive .post .postCats, #single .postCats {
	font-weight: 600;
}

#archive .post .postInfo .postTags, #single .postInfo .postTags {
	font-weight: 600;
}

#archive .post .postInfo .postTags a, #single .postInfo .postTags a {
	font-weight: 400;
}

#archive a {
	color:#c03b32;
}

#archive .review {
	color:#fff;
	display: block;
	padding:25px;
	margin: 15px auto;
	box-sizing: border-box;
	position: relative;
	text-align: center;
	background: url(img/xcd-review-background-image.png);
	background-size: cover;
}

#archive .post .button {
	margin-top:10px;
}

#prevNext {
	padding:0 75px 40px;
}

#prevNext ul {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	list-style: none;
}

#prevNext a {
    font-weight: 500;
}
/* END ARCHIVE */

/* FOOTER */
footer {
	display: block;
	padding:15px 25px;
	text-align:center;
	background:#c03b32;
	color:#fff;
}

footer h2 {
	font-family: "Montserrat", sans-serif;
}

footer a {
	color:#fff;
	font-family: "Montserrat", sans-serif;
}
/* END FOOTER */

/* X-CD FOR WP */
#x-cd-login-form {
	display: block;
    margin: 0 auto;
    text-align: center;
    padding-top: 200px;
}

#x-cd-login-form input#x-cd-username, #x-cd-login-form input#x-cd-user-pass {
	width:350px;
	padding:10px 15px;
	border-radius:5px;
	border:1px solid #efefef;
	-webkit-box-shadow: 0px 4px 10px -5px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 4px 10px -5px rgba(0,0,0,0.75);
	box-shadow: 0px 4px 10px -5px rgba(0,0,0,0.75);
}

#x-cd-login-form fieldset {
	display:inline-block;
}

#x-cd-login-form #x-cd-login-submit, .x-cd-login-slim-form input.x-cd-slim-login-submit {
	background:#c03b32;
	color:#fff;
	border:1px solid #c03b32;
	cursor: pointer;
	width:381px;
	font-size: 25px;
	letter-spacing: 1px;
	border-radius:5px;
}

#x-cd-login-form #x-cd-login-submit:hover, .x-cd-login-slim-form input.x-cd-slim-login-submit:hover {
	transition: .3s ease;
	background-color: #c24d45;
	-webkit-box-shadow: 0px 4px 10px -5px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 4px 10px -5px rgba(0,0,0,0.75);
	box-shadow: 0px 4px 10px -5px rgba(0,0,0,0.75);
}

.x-cd-login-slim-form input.x-cd-slim-login-submit {
	width: 350px !important;
    padding: 10px 15px !important;
}

.x-cd-login-slim-form input {
	width:350px !important;
	padding:10px 15px;
	border-radius:5px;
	border:1px solid #efefef;
}

.x-cd-login-slim-form input:hover {
	transition: .3s ease;
	-webkit-box-shadow: 0px 4px 10px -5px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 4px 10px -5px rgba(0,0,0,0.75);
	box-shadow: 0px 4px 10px -5px rgba(0,0,0,0.75);
}

.featherlight .featherlight-content {
	border-radius:5px;
}

#topBar .xcd-logout-link input[type="submit"] {
	background:none;
	border:none;
	cursor:pointer;
	font-size: 13px;
    color: #212529;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
	line-height:15px;
}
/* END X-CD FOR WP */

@media screen and (max-width:1125px) {
	#mainMenu {
		display: none;
	}
	#mobileMenuButton {
		display: block;
	}

	#printInfo {
		width:80%;
	}

	#logoNav {
		padding:0 25px;
	}

	#mainContent {
		flex-wrap: wrap;
		padding:25px 25px;
		box-sizing: border-box;
	}

	#single {
		width:100%;
	}

	#leftSidebar, #rightSidebar {
		display:none;
	}

	#iframeContent {
		width:100%;
	}

	#mobileSidebar, #mobileRight {
		display:block;
		width:100%;
		margin:0 auto;
		padding:0 25px 25px;
		box-sizing: border-box;
		font-family: "Montserrat", sans-serif;
		font-size: 16px;
		line-height: 26px;
	}

	#mobileRight {
		padding:10px 25px;
	}

/* @MB
Alignment and whitespace adjustments for mobile view */
	#block-12 {
		display: none;
	}

	#mobileSidebar {
		text-align: center;
	}

	#mobileSidebar ul, .widget_media_image, #text-2, #block-13 {
    padding-top: 70px;
	}

	#media_image-7{
		padding-top: 40px;
	}

	#mobileSidebar li {
    padding: 8px 0;
	}

	#block-13, .widget-title, #block-2, #mobileSidebar {
    border-top: 1px solid #e5e5e5;
    margin-top: 50px;
	}

	.widget-title {
		padding: 75px 0 55px;
	}

	#block-2 {
		padding-top: 50px;
	}
	#block-6 p, #block-7 p, #block-8 p {
		padding: 20px 0;
	}
} /* ---end */

/* @MB ---
hiding orginal editorial titles displaying in wrong order for mobile -
can turn back on if new titles unwanted, or can be deleted if original
titles are okay to omit altogether
*/
.hidden {
	display: none;
}

/*styling new header*/
.wp-block-separator {
    margin: 40px;
}

.ed_title {
	margin-top: 0px;
}

.wp-container-54, .wp-container-63, .wp-container-69 {
	margin-bottom: 0 !important;
}

@media screen and (max-width:781px) {
	.wp-container-54, .wp-container-63, .wp-container-69 {
		padding-top: 0 !important;
	}
}/* ---end */

@media screen and (max-width:700px) {
	main {
		padding-top:240px;
	}

	#topBar a {
		font-size:11px;
	}

	#printInfo {
		display:none;
	}
}

/* @MB ---
adjusting style to make "award papers" tables more mobile friendly */
@media screen and (max-width:663px) {
	#single .wp-block-table {
    padding: 15px 0px;
	}

	#single table {
		font-size: 11px;
	}

	#single table td {
		padding: 2px;
	}
}/* ---end */

@media screen and (max-width:500px) {
	#mobile-menu-wrap {
		width:100%;
		max-width:100%;
		min-width:auto;
	}

	#logo {
		width:75px;
	}

	main {
		padding-top: 158px;
	}
}