/*
	Theme Name: MPEGLA
	Description: MPEGLA WordPress Theme
	Version: 1.0

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering: ;
}


body {
	font-family: 'Roboto',sans-serif;
    font-weight: 400;
	font-size: 16px;
	line-height: 1.85;
	background-image: url(https://www.mpegla.com/wp-content/uploads/mpegla-orbs-background.png);
    background-repeat: no-repeat;
    background-position: 30% 65%;
    background-size: auto;
    background-attachment: fixed;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	height: auto;
	vertical-align:middle;
}
a {
	color:#d8262f;
	text-decoration:none;
	font-weight: 700;
	-webkit-transition: .4s;
    -o-transition: .4s;
	transition: .4s;
	box-shadow: none;
	font-style: normal;
}
a:hover {
	color: #b4bd00;
}
p {
	line-height: 1.85;
	margin-bottom: 1em;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
.chinese, .chinese a {
    font-family: "Noto Sans SC", sans-serif;
    font-weight: 400 !important;
}
.japanese, .japanese a {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400 !important;
}
.korean, .korean a {
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 400 !important;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
hr {
	border: 1.5px solid #949494;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0;
	line-height: 1.2;
}
h2 {
	color: #d8262f;
	font-size: 42px;
}
h3 {
	font-size: 30px;
}
.page-title {
	width: 100%;
	border-bottom: 3px solid #949494;
	padding: 5px 0;
	margin-bottom: 10px;
}
ul.menu, .sidebar-nav ul {
	list-style-type: none;
}
ul.bullets {
	list-style-type: disc;
}
.button {
	color: #fff;
	border: 2px solid #fff;
	display: flex;
	padding: 20px 40px;
	justify-content: center;
	align-items: center;
	text-transform: uppercase;
	text-align: center;
	background-color: rgba(26,26,26,0.7);
	box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.4);
}
.button:hover {
	color: #fff;
	background-color: #d8262f;
}
.crispr-buttons .button {
	margin-bottom: 20px;
}
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {

}
/* header */
.header {
	position: relative;
	background-color: #e6e6e4;
	width: 100%;
	transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    margin-top: 0px;
	margin-bottom: 0px;
	z-index: 10;
}
/* logo */
.logo {
	
}
.logo-img {
	position: absolute;
	top: 30px;
	left: 20px;
    height: 85px;
    width: auto;
}
/* nav */
.nav {

}
nav ul {
	list-style-type: none;
	display: flex;
	padding: 0;
	margin: 0;
}
nav ul.sub-menu {
	display:none;
}
nav .menu-item-has-children:hover ul.sub-menu {
	display:block;
}
nav a {
	font-weight: normal;
}

.primary-nav-container {
	width: 100%;
	background-color: #fff;
	margin-top: 50px;
}
.nav-wrap {
	max-width: 1140px;
	margin: 0 auto;
	display: flex;
	align-items: center;
}
.primary-nav-container .nav-wrap {
	justify-content: flex-end;
}
.primary-nav {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.primary-nav a {
	padding: 20px 20px;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	color: #000;
}
.primary-nav a:hover, .primary-nav a:focus, .primary-nav .current-menu-item a {
	color: #b4bd00;
}
.primary-nav a, .primary-nav li {
	position: relative;
}
.primary-nav li:hover:after, .primary-nav li:focus:after, .primary-nav .current-menu-item:after {
	content: "";
	background-color: #b4bd00;
	height: 5px;
	position: absolute;
	bottom: 0;
	width: 100%;
	z-index: 2;
	left: 0;
}
.secondary-nav-container {
	background-color: #949494;
}
.secondary-nav-container .nav-wrap {
	justify-content: center;
}
.secondary-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #949494;
}
.secondary-nav li {
	position: relative;
}
.secondary-nav a {
	padding: 8px 20px;
	text-transform: uppercase;
	display: flex;
	position: relative;
	color: #fff;
}
.secondary-nav a:hover {
	background-color: #444;
}
.secondary-nav .menu-item-has-children a {
	padding-right: 28px;
}
.secondary-nav .menu-item-has-children a:after {
	content: "\f0dd";
	font-family: "Font Awesome 5 Pro";
	color: #fff;
	font-weight: 900;
	-webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
	line-height: 1;
	position: absolute;
	right: 10px;
	top: 45%;
	transform: translateY(-50%);
}
.secondary-nav .menu-item-has-children .sub-menu a:after {
	content: "";
}
.secondary-nav .sub-menu {
	min-width: 100%;
	width: auto;
	max-width: 1000px;
	position: absolute;
	top: auto;
	left: 0;
	background-color: #949494;
	white-space: nowrap;
}
.secondary-nav .sub-menu a {
	font-size: 13px;
}
.secondary-nav .sub-menu a:hover, .secondary-nav .sub-menu a:focus {
	background-color: #b4bd00;
}

/* sidebar */
.sidebar-nav a {
	display: block;
	text-transform: uppercase;
	padding: 13px 5px;
	line-height: 1.2;
	border-bottom: 1px dotted #949494;
	position: relative;
	color: #000;
	font-weight: bold;
}
.sidebar-nav a:hover, .sidebar-nav .current-menu-item a, .page-template-page-program .sidebar-nav .current-page-ancestor a {
	color: #d8262f;
}
.sidebar-nav a:after {
	content: "\f101";
	font-family: "Font Awesome 5 Pro";
	color: #d8262f;
	font-weight: 900;
	-webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
	line-height: 1;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}
.sidebar-nav ul {
	margin: 0;
	padding: 0;
}
/* footer */
.footer {
	background-color: transparent;
}
.footer-nav-container a {
	padding: 13px;
	color: #000;
	text-transform: uppercase;
}
.footer-nav-container .current-menu-item a, .footer-nav-container a:hover,  .footer-nav-container a:focus {
	color: #d8262f;
}
.copyright {
	display: block;
	text-align: center;
	font-size: 14px;
	padding-bottom: 20px;
}
.copyright a {
	color: #000;
	font-weight: normal;
	padding: 0;
}
.copyright a:hover, .copyright a:focus {
	color: #d8262f;
}
/*------------------------------------*\
	SEARCH
\*------------------------------------*/
.primary-nav-container .search-form {
	position: relative;
}
.primary-nav-container .search-form i {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 10px;
}

.primary-nav-container .search-input {
    background-color: transparent;
    border: none;
    cursor: pointer;
    height: 37px;
    margin: 3px 0;
    padding: 0 0 0 34px;
    position: relative;
    -webkit-transition: width 400ms ease, background 400ms ease;
    transition:         width 400ms ease, background 400ms ease;
	width: 0;
	text-align: right;
}
 
.primary-nav-container .search-input:focus {
    background-color: transparent;
    border: 2px solid #c3c0ab;
    cursor: text;
    outline: 0;
    width: 230px;
}
.search-form
.search-submit { 
display:none;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/
main {
	max-width: 1160px;
	margin: 0 auto;
	padding: 10px;
}
.in-program-nav ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	display: flex;
	justify-content: flex-start;
	align-items: stretch;
	width: 100%;
}
.in-program-nav li {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	line-height: 1;
	text-align: center;
	margin: 0;
	padding: 13px;
}
.in-program-nav a {
	box-sizing: border-box;
	font-weight: normal;
	color: #000;
	text-transform: uppercase;
}
.in-program-nav a:hover {
	color: #b4bd00;
}
.in-program-nav a:hover:after {
	position: absolute;
	content: "";
	bottom: 0;
	left: 0;
	height: 3px;
	width: 100%;
	background-color: #b4bd00;
}
.in-program-nav .current-menu-item a {
	color: #d8262f;
}
.in-program-nav .current-menu-item a:after {
	position: absolute;
	content: "";
	bottom: 0;
	left: 0;
	height: 3px;
	width: 100%;
	background-color: #d8262f;

}
.top-sidebar-desktop {
	display: block;
}
.top-sidebar-mobile {
	display: none;
	border: 2px solid #d8262f;
}
.mobile-programs-link {
	color: #d8262f;
	background: transparent;
	text-align: center;
	display: flex;
	justify-content: space-around;
	align-items: center;
	width: 100%;
	border: none;
}
.mobile-programs-menu.active ul {
	display: block;
}
.mobile-programs-menu ul {
	margin: 0;
	padding: 0;
	background-color: #fff;
	display: none;
}
.mobile-programs-menu li {
	padding: 5px;
	border-bottom: 1px dotted #000;
}
.license-button {
	padding: 20px;
}
.license-button a.license-button-link {
    text-transform: uppercase;
    background-color: #949494;
    border-radius: 0px 0px 0px 0px;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    box-shadow: 4px 4px 5px 0px rgba(0,0,0,0.4);
    font-size: 18px;
    padding: 15px 30px;
    margin-bottom: 1.8em;
	font-weight: normal;
	color: #fff;
	border: 2px solid #fff;
}
.license-button .license-button-link:hover {
    background: #b4bd00;
}
/*------------------------------------*\
    FLEX
\*------------------------------------*/
.flex-row {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}
.flex-row.top-aligned, .top-aligned {
	align-items: flex-start;
}
.no-padding, .flex-row.no-padding {
	padding: 0;
}
.flex-half {
	width: 50%;
	padding: 10px;
}
.flex-one-fourth {
	width: 25%;
	padding: 10px;
}
.flex-three-fourths {
	width: 75%;
	padding: 10px;
}
.flex-one-third {
	width: 33.33%;
	padding: 10px;
}
.flex-two-thirds {
	width: 66.66%;
	padding: 10px;
}
/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:320px) {

}
@media only screen and (max-width:480px) {

}
@media only screen and (max-width:768px) {
	h2 {
		font-size: 26px;
	}
	h3 {
		font-size: 22px;
	}
	.flex-one-fourth, .flex-one-third, .flex-half, .flex-two-thirds, .flex-three-fourths {
		width: 100%;
	}	
	.license-button a.license-button-link {
		padding: 10px;
		font-size: 16px;
		white-space: nowrap;
	}
}
@media only screen and (max-width:1024px) {
	.primary-nav-container, .secondary-nav-container {
		display: none;
	}
	.header {
		min-height: 70px;
		margin-bottom: 30px;
	}
	.logged-in button#responsive-menu-button.responsive-menu-button {
		top: 72px;
	}
	button#responsive-menu-button.responsive-menu-button {
		top: 42px;
	}
	.logo-img {
		top: 15px;
	}
	.top-sidebar-desktop {
		display: none;
	}
	.top-sidebar-mobile {
		display: block;
	}
}
@media only screen and (max-width:1140px) {

}
@media only screen and (max-width:1280px) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    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%;
	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 .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		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) ")";
	}
	.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;
	}
	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;
	}
}
