/* shared.css.en
   developer:   yhechler
   requires:    /common/framework/css/framework.es.css
                /common/framework/css/gui.es.css
   ========================================================================== */

/* ==========================================================================
   setup the environment
   ========================================================================== */

:root {
	--red: #dd1100;
	--linkColor: #e00400;
	--linkHover: #b00;
}
.inner {
	margin: 2rem auto;
	max-width: 68rem;
	padding: 2rem;
	width: 100%;
}
#header h1 {
	color: var(--red);
	font-size: 3.13rem;
	font-weight: 400;
	margin: 0 0 4rem 0;
	text-align: center;
}
main a {
	color: var(--linkColor);
	outline: none;
	text-decoration: none;
}
.chevron-after:after {
	color: var(--linkColor);
}
main a:hover,
.chevron-after:hover:after {
	color: var(--linkHover);
}
.examples {
	max-width: 520px;
	margin: 0 auto;
}
.examples a img {
	border-radius: 5px;
	border: solid 2px #fff;
	height: auto;
	max-width: 100%;
}
.examples a:hover img {
	border: solid 2px var(--red);
}
#modeling .examples a img.modeling,
#simulation .examples a img.simulation,
#analysis .examples a img.analysis {
	border-color: var(--red);
}
#analysis #video-content iframe {
	border: 1px solid #cccccc;
}
#video-content iframe,
#video-content .inner {
	max-width: calc(100vw - 2rem);
	max-height: 33.6875rem;
}
#video-content .inner {
	margin: 0 auto;
	max-width: 60rem;
	padding: 0;
}
#reference .inner>div {
	border-top: 3px solid #e9e9e9;
	padding: 2rem 0 0 0;
}
#reference a {
	font-size: 1rem;
}
#reference a img {
	margin: 0 0.6rem;
	vertical-align: top;
}
#reference a div {
	display: inline-block;
	max-width: 75%;
}
#reference a span {
	color: #636363;
	display: block;
	font-size: 0.9rem;
	padding-bottom: 0.5rem;
	width: calc(100% - 2rem);
}
#reference a span:first-child {
	color: var(--red);
	line-height: 1;
}
#reference a span.chevron {
	color: var(--linkColor);
	display: inline-block;
	margin-top: 2rem;
}
#reference a:hover span.chevron {
	color: var(--linkHover);
}
#reference a img#examples {
	background: url("../img/welcome_uses_examples_s.svg") no-repeat;
	background-size: contain;
}
#reference a:hover img#examples {
	background: url("../img/welcome_uses_examples.svg") no-repeat;
	background-size: contain;
}
#reference a img#resources {
	background: url("../img/welcome_more_resources_s.svg") no-repeat;
	background-size: contain;
}
#reference a:hover img#resources {
	background: url("../img/welcome_more_resources.svg") no-repeat;
	background-size: contain;
}
#reference a img#documentation {
	background: url("../img/welcome_documentation_s.svg") no-repeat;
	background-size: contain;
}
#reference a:hover img#documentation {
	background: url("../img/welcome_documentation.svg") no-repeat;
	background-size: contain;
}
/* ==========================================================================
   responsive breakpoint styles
   ========================================================================== */

/* styles for large screens (1200px)
   ========================================================================== */

@media all and (max-width: 1200px) {
	#video-content .inner,
	#video-content iframe {
		max-height: 28rem;
	}
	#header h1 {
		font-size: 2.6rem;
	}
}
/* styles for large screens (900px)
   ========================================================================== */

@media all and (max-width: 900px) {
	#video-content .inner,
	#video-content iframe {
		max-width: calc(100vw - 2rem);
		max-height: 22.75rem;
	}
	#reference a span {
		font-size: 1.1rem;
		text-align: left;
	}
	#reference a span:first-child {
		font-size: 1.25rem;
		text-align: center;
	}
	#reference a div {
		max-width: 100%;
	}
	#reference a>div {
		height: 60px;
	}
}
/* styles for large screens (600px)
   ========================================================================== */

@media all and (max-width: 600px) {
	#header .inner {
		padding: 1rem 1rem 0 1rem;
	}
	#video-content .inner,
	#video-content iframe {
		max-height: 20.75rem;
		margin: 0 auto;
	}
	#header h1 {
		font-size: 2.24rem;
		margin: 0 auto 2rem auto;
	}
	#reference .inner {
		padding: 2rem 1rem 0 1rem;
	}
	#reference a>div {
		height: unset;
	}
	#reference a span:first-child {
		font-size: 1.24rem;
		text-align: left;
	}
	#reference a span {
		font-size: 1.0rem;
		text-align: left;
	}
}
/* styles for large screens (320px)
   ========================================================================== */

@media all and (max-width: 320px) {
	.examples a img {
		max-width: 80%;
	}
}