/*
Theme Name: Conference
Author: Engineering - Communications
Description: The theme for WordPress from the College of Engineering Department of Communications.
*/

/*-----General-----*/
body {
	margin: 0;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	overflow-x:hidden;
	position: relative;
	min-height: 100vh;
}
#close-btn, #trigger-overlay, .home-block strong a:after, #social-container svg, a {
	-webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
#two-col, #hero .inner-content, .color-box-r, .home-block, nav, #vid-overlay, footer .wrapper, #social-container a, #social-container, body {
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
#hero .inner-content, #vid-overlay, body {
	-webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}
#hero .inner-content, #vid-overlay, #social-container a {
	 -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
#two-col, .home-block, nav, footer .wrapper {
	 -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
footer .wrapper {
	 -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}
#hero .inner-content, .home-block, #vid-overlay, footer .wrapper, #social-container, #social-container a {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
nav {
	-webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
}
.home-block .text, .sticky {
	 -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
}
h1, h2, h3, h4, h5, h6, p, a, li {
	margin: 0;
	font-family: 'Nunito', sans-serif;
	font-weight: 400;
}
.mec-wrap h4, .mec-wrap div:not([class^="elementor-"]), .mec-calendar.mec-calendar-daily .mec-calendar-d-top h2, .mec-calendar.mec-calendar-daily .mec-calendar-d-top h3, .mec-event-time.mec-color {
	font-family: 'Nunito', sans-serif !important;
	/*font-weight: 400 !important;*/
}
h4:not(:last-child), h5:not(:last-child), h6:not(:last-child), p:not(:last-child) {
	margin-bottom: 10px;
}
.home-block strong a, h1, h2, h3, h5 {
	text-transform: uppercase;
	letter-spacing: 0.1em;
}
h4, h6 {
	color: #c89933;
}
h1 {
	font-size: 60px;
	line-height: 66px;
	font-weight: 600;
}
h2, h3 {
	color: #8a897c;
	position: relative;
}
h2 {
	font-size: 42px;
	line-height: 36px;
}
h3 {
	font-size: 24px;
    line-height: 30px;
    margin-bottom: 20px;
}
h3:after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	height: 2px;
	width: 50px;
	background-color: #c8d3d8;
}
h4 {
	font-size: 24px;
    line-height: 1.5;
    font-weight: bold;
}
h5 {
	font-size: 15px;
	line-height: 21px;
}
p, h6, .sticky li {
	font-size: 20px;
	line-height: 1.5;
}

/*-----Align-----*/

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 55px 55px;
}

.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;
}
.color-box-r {
	position: relative;
	float: right;
}
.color-box-r:after {
	content: '';
    position: absolute;
    height: 90%;
    width: 93%;
    left: 25px;
    bottom: 25px;
    background-color: #efebe8;
    z-index: -1;
}

/*-----Bullets-----*/
.sticky ul {
	list-style-type: none;
	-webkit-padding-start: 20px;
}
.sticky ul li, .sticky ol li {
	position: relative;
	margin-bottom: 10px;
}
.sticky ul li:before {
	content: '';
    background-color: #c8d3d8;
    height: 8px;
    width: 8px;
    top: 11px;
    display: block;
    border-radius: 50%;
    position: absolute;
    margin-left: -20px;
}
.sticky ol {
	list-style: none; counter-reset: li;
	padding-start: 20px;
	-webkit-padding-start: 20px;
}
.sticky ol li:before {
	content: counter(li) ".";
    color: #c8d3d8;
    display: block;
    margin-left: -20px;
    position: absolute;
    font-weight: bold;
}
.sticky ol li {
	counter-increment: li;
}

/*-----Footer-----*/
footer {
	background-color: #c8d3d8;
}
footer .wrapper {
	max-width: 95%;
    margin: 0 auto;
    padding: 15px 0;
}
#social-container a {
	background-color: white;
	height: 35px;
	width: 35px;
	border-radius: 50%;
	margin: 0 5px;
}
#social-container svg {
	fill: #8a897c;
	height: 20px;
	width: 20px;
}
#social-container a:hover svg {
	fill: #c89933;
}
footer p {
	color: white;
	font-size: 12px;
	line-height: 18px;
	margin-bottom: 0px !important;
}

/*-----Nav-----*/
nav {
	position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    padding: 45px;
    width: 100%;
    box-sizing: border-box;
}
#egr-logo img {
	height: 50px;
    width: auto;
}
#trigger-overlay {
	fill: white;
	height: 40px;
	width: 50px;
}
#trigger-overlay:hover, #close-btn:hover {
	fill: #c89933;
	cursor: pointer;
}

/*-----Home-----*/
#hero {
		background: url(img/mechanics-bg-1-2.jpg) center/cover no-repeat;
	}
#hero, #hero h5 {
	position: relative;
}
#hero, #hero-vid {
	height: 100vh;
}
#hero-vid {
    object-fit: cover;
    width: 100%;
}
#vid-overlay {
	position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    color: white;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.8));
}
#hero .inner-content {
	text-align: center;
	padding: 0 45px;
	box-sizing: border-box;
}
#hero h1, #hero h2, #hero h3, #hero h4, #hero h5 {
	color: white;
}
#hero h1, #hero h2, #hero h3, #hero h5 {
	text-shadow: 4px 4px 10px black;
}
#hero h1 {
	margin: 50px 0 15px 0;
    font-weight: 700;
}
#hero h2 {
	font-size: 2.5rem;
	line-height: 1.2;
    font-weight: 600;
}
#hero h3 {
    font-size: 1.7rem;
    font-weight: 600;
    margin: 3rem 0 .9rem;
}
#hero h3::after {
    content: none;
}
#hero h4 {
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.2;
}
#hero h5 {
    font-size: 2rem;
    font-weight: 600;
}
#hero h5:after {
	position: absolute;
    content: '';
    width: 115px;
    height: 3px;
    background-color: white;
    margin: 0 auto;
    bottom: -25px;
    left: 0;
    right: 0;
}
#hero .inner-content {
	z-index: 999;    
	position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}
#main {
	margin: 250px 0;
}
.home-block {
	margin: 0 100px;
}
.inside-img {
	height: 600px;
	width: 800px;
	position: relative;
}
#top-blocks .inside-img {
	margin-right: 100px;
}
#bottom-blocks .inside-img {
	margin-left: 100px;
}
.img-container {
	position: relative;
}
.color-block {
	background-color: #c8d3d8;
    height: 800px;
    width: 800px;
    position: absolute;
    top: -100px;
    z-index: -1;
}
#top-blocks .color-block {
	 left: -100px;
}
#bottom-blocks .color-block {
	 right: -100px;
}
/*.inside-img:after {
	content: '';
	position: absolute;
	height: 800px;
    width: 900px;
    top: -100px;
	background-color: #c8d3d8;
	z-index: -1;
}*/
/*#top-blocks .inside-img:after {
	left: -100px;
}
#bottom-blocks .inside-img:after {
	right: -100px;
}*/
#top-blocks {
	margin-bottom: 350px;
}
.home-block strong a {
	color: #c89933;
	position: relative;
	text-decoration: none;
	margin-top: 20px;
    display: inline-block;
    font-size: 14px;
    line-height: 20px;
}
.home-block strong a:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -3px;
	height: 2px;
	width: 0px;
	background-color: #c89933;
}
.home-block strong a:hover:after {
	width: 100%;
}

/*-----Inside-----*/
#hero-inside {
	background-color: #c8d3d8;
	padding: 0 45px;
    box-sizing: border-box;
}
#hero-inside h1 {
	text-align: center;
    padding: 175px 0 75px;
    color: #353535;
    font-size: 60px;
    line-height: 56px;
}
.inside .sticky .wrapper {
	max-width: 70%;
    margin: 0 auto;
    padding: 75px 0;
}
.inside h2 {
	text-align: center;
	margin-bottom: 85px;
}
.inside h2:after {
	content: '';
	position: absolute;
	height: 3px;
	width: 115px;
	background-color: #c8d3d8;
	left: 0;
	right: 0;
	margin: 0 auto;
	bottom: -25px;
}
.inside .sticky .wrapper a {
	color: #c89933;
	text-decoration: none;
}
.inside .sticky .wrapper a:hover {
	text-decoration: underline;
}
#hero-inside a {
	text-decoration: none;
}
/*-----Two Column-----*/

#two-col-page #two-col h4 {
	margin-bottom: 0px;
}
#two-col .col {
	width:  48%;
}
#two-col-page #two-col p {
	margin-bottom: 15px;
}


/*-----Conference Program-----*/
.mec-organizer-item a.mec-color-hover:hover {
	text-decoration: none !important;
	cursor:  auto !important;
}
.mec-event-title .event-color, .mec-today-container h2:after, .mec-today-container h3:after, li.mec-daily-view-date-events:before {
	display: none !important;
}
.mec-organizer-item a.mec-color-hover {
	color:  #8a897c !important;
}
.mec-daily-view-date-events .mec-shortcode-organizers {
	margin-top:  0px !important;
}
.mec-daily-view-date-events .mec-event-title {
	margin-bottom: 0px !important;
}
.mec-calendar .mec-event-article .mec-event-title {
	font-size: 21px !important;
	line-height: 27px !important;
}
.mec-organizer-item a, .mec-event-time.mec-color {
	font-size:  15px !important;
	line-height: 21px !important;
}




/*-----Media Queries-----*/
@media (max-width: 1600px) {
	.color-block {
		height: 600px;
    	width: 700px;
    	top: -50px;
	}
	.inside-img {
		height: 500px;
    	width: 700px;
	}
	.home-block {
	    margin: 0 50px;
	}
	#top-blocks .color-block {
		 left: -50px;
	}
	#bottom-blocks .color-block {
		 right: -50px;
	}
	/*#top-blocks .inside-img:after {
	    left: -50px;
	}
	#bottom-blocks .inside-img:after {
	    right: -50px;
	}*/
	#main {
	    margin: 150px 0;
	}
	#top-blocks {
	    margin-bottom: 250px;
	}
}
@media (max-width: 1400px) {
	.inside .sticky .wrapper {
		max-width: 80%;
	}
}
@media (max-width: 1300px) {
	.color-block {
		height: 500px;
    	width: 500px;
	}
	.inside-img {
		height: 400px;
    	width: 500px;
	}
}
@media (max-width: 1100px) {
	.inside .sticky .wrapper {
		max-width: 85%;
	}
	.color-block {
		height: 450px;
    	width: 400px;
	}
	.inside-img {
		height: 350px;
    	width: 400px;
	}
	#top-blocks .inside-img {
	    margin-right: 50px;
	}
	#bottom-blocks .inside-img {
	    margin-left: 50px;
	}
}
@media (max-width: 950px) {
	h1 {
		font-size: 50px;
    	line-height: 56px;
	}
	#hero h2 {
		font-size: 1.8rem;
    	line-height: 1.1;
	}
    #hero h3 {
		font-size: 1.2rem;
    	line-height: 1.1;
        margin: 1.5rem 0 .5rem;
	}
    #hero h4 {
		font-size: 1.2rem;
    	line-height: 1.1;
	}
    #hero h5 {
		font-size: 1.4rem;
    	line-height: 1.1;
	}
	#hero-inside h1 {
		font-size: 40px;
    	line-height: 46px;
	}
	.color-box-r {
		float: unset;
		margin-bottom: 45px;
	}
	.color-box-r img {
		width: 100%;
    	height: auto;
	}
	.color-box-r .alignright {
		margin: 0;
    	padding-left: 25px;
    	box-sizing: border-box
	}
	.color-box-r:after {
		height: 100%;
    	width: 96;
    	left: 0px;
    	bottom: -25px;
	}
	#hero, #hero-vid {
	    height: 65vh;
	}
	.color-block {
		height: 350px;
    	width: 400px;
    	top: -25px;
	}
	.inside-img {
		height: 300px;
    	width: 400px;
	}
	.home-block {
	    margin: 0 25px;
	}
	#top-blocks .color-block {
		 left: -25px;
	}
	#bottom-blocks .color-block {
		 right: -25px;
	}
	#main {
	    margin: 100px 0;
	}
	#top-blocks {
	    margin-bottom: 150px;
	}
	#top-blocks .inside-img {
	    margin-right: 25px;
	}
	#bottom-blocks .inside-img {
	    margin-left: 25px;
	}
}
@media (max-width: 750px) {
	#two-col, #top-blocks, footer .wrapper {
		-webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
	}
	#bottom-blocks {
		-webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
	}
	footer p {
		margin-bottom: 15px !important;
	}
	#top-blocks .inside-img {
	    margin-right: 0px;
	}
	#bottom-blocks .inside-img {
	    margin-left: 0px;
	}
	.home-block .text {
		margin-top: 55px;
	}
	#top-blocks {
	    margin-bottom: 75px;
	}
	#main {
	    margin: 75px 0 50px;
	}
	#two-col .col {
		width:  100%;
	}
}
@media (max-width: 698px) {
    nav {
		padding: 35px;
	}
    #egr-logo img {
		height: 35px;
	}
}
@media (max-width: 600px) {
	#hero-inside h1, h1 {
		font-size: 30px;
    	line-height: 36px;
	}
	#hero h2 {
	    font-size: 16px;
	    line-height: 22px;
	}
	#hero-inside h1 {
    	padding: 100px 0 35px;
	}
	h2 {
		font-size: 24px;
    	line-height: 30px;
	}
	.inside h2 {
		margin-bottom: 45px;
	}
	.inside h2:after {
		width: 75px;
		bottom: -15px;
	}
	h3 {
		font-size: 20px;
    	line-height: 26px;
	}
	h5 {
	    font-size: 13px;
	    line-height: 19px;
	}
	#hero h5:after {
		width: 75px;
	}
	.inside .sticky .wrapper {
		padding: 35px 25px;
		max-width: 100%;
	}
	.color-box-r .alignright {
		padding-left: 15px;
	}
	.color-box-r:after {
    	bottom: -15px;
	}
	.color-box-r {
		margin-bottom: 35px;
	}
	nav {
		padding: 25px;
	}
	#egr-logo img {
		height: 20px;
	}
	#hero-inside {
		padding: 0 25px;
	}
	#hero, #hero-vid {
	    height: auto;
	}
	#hero .inner-content {
		padding: 115px 25px 50px;
    	position: relative;
	}
	#hero-vid {
		display: none;
	}
	#hero h5:after {
		bottom: -20px;
	}
	#hero h1 {
		margin: 40px 0 15px 0;
	}
	.img-container, .inside-img {
		width: 100%;
	}
	.inside-img {
	    height: 250px;
	}
	.color-block {
	    height: 300px;
	    width: 100%;
	}
	#trigger-overlay {
		height: 30px;
    	width: 40px;
	}
}
@media (max-height: 700px) {
	#hero, #hero-vid {
	    height: 400px;
	}
}
/*.inside-img {
	height: 400px;
	width: 600px;
	position: relative;
}
.inside-img:after {
	content: '';
	position: absolute;
	height: 550px;
    width: 600px;
    top: -75px;
    left: -75px;
	background-color: #c8d3d8;
	z-index: -1;
}*/