/*
Theme Name: Profiles in Diversity Journal
Description: Website theme for Profiles in Diversity Journal.
Version: 1.0
Text Domain: diversityjournal
*/


/* WordPress Core CSS
  
Description: This file contains necessary WordPress core styles, 
add or edit extra CSS as needed. 
________________________________________________________________________________*/

/*--------------------------------------------------
# Galleries ( Classic Editor Styles )
--------------------------------------------------*/

.gallery {
	margin: 25px 0 25px 0;
}

.gallery-item {
	display: inline-block;
	padding: 0 10px 10px 10px;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-item a {
	display: block;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-icon img {
	border: none !important;
	margin: 0 auto;
}

.gallery-caption {
	display: block;
	font-size: 14px;
	line-height: 1.4;
	padding-top: 5px;
	margin-bottom: 0;
	text-align: center;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}


/*--------------------------------------------------
# Captions ( Classic Editor Styles )
--------------------------------------------------*/

.wp-caption {
    background: transparent;
    border: 0px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    text-align: left;
}

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

.wp-caption.aligncenter {
    display: block;
    margin: 0 auto 15px auto;
}

.wp-caption.alignleft {
    float: left;
	margin: 0 15px 15px 0;
}

.wp-caption.alignright {
    float:right;
	margin: 0 0 15px 15px;
}

.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: 14px;
    line-height: 18px;
    margin: 0;
    padding: 5px;
}


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

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
	word-break: normal;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	-webkit-clip-path: none;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	right: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}