/* Stylesheet for AMA Without Borders by Rowan Bixler */

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
	scroll-behavior: smooth;
}

/*#en {
    display: none;
}

#es {
    display: none;
}*/

body {
	margin-left: auto;
	margin-right: auto;
	margin-top: 100px;
}

header {
	left: 0;
	max-width: 100%;
}

.hpheader {
	height: 100%;
	margin-top: 100px;
	top: 0; 
	left: 0; 
}

.hpvideo {
	position: fixed;
	z-index: -1;
	min-width: 100%; 
	min-height: 100%; 
	width: auto;
	height: auto;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

#headermessage {
	z-index: 1;
	margin-top: 5%;
	margin-bottom: 25%;
	text-align: center;
	color: white;
}

.banner {
	display: block;
    max-width: 100%;
    max-height: 70px;
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
}

/* Desktop navigation menu */
.navbar{
    display: inline-block;
    margin-top: 1.5em;
    align-self: center;
}

.dropbtn {
	color: #c3373a;
	padding: 16px;
	font-size: 16px;
	border: none;
	cursor: pointer;
	font-family: 'Open Sans', sans-serif;
	transition: 0.4s;
}

.dropbtn a {
	text-decoration: none;
	color: #c3373a;
}

.dropdown {
	position: relative;
	display: inline-block;
	transition: 0.4s;
}

.dropdown-content {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	right: 0;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
}

.dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
	transition: 0.4s;
	font-family: 'Open Sans', sans-serif;
}

.dropdown-content a:hover {
	background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
	visibility: visible; 
	opacity: 1; 
	transition: visibility 0s, opacity 0.4s linear;
}

.dropdown:hover .dropbtn {
	background-color: white;
}

/* Tool bar and tool icons */
.toolbar {
	height: 100px;
	width: 100%;
	display: inline-block;
	background-color: rgba(255,255,255,0.8);
	/* Experimental web feature (Can be viewed in Microsoft Edge) */
	backdrop-filter: saturate(180%) blur(20px);  
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	position: fixed;
	top: 0;
	z-index: 2;
	left: 0;
	transition: 0.3s;
}

.toolbox {
	float: right;
	/*padding-right: 4em;*/
	display: inline-block;
	vertical-align: center;
	margin-top: 0px;
	transition: 0.4s;
}

.toolicon {
	padding-left: 2em;
}

/* Tooltip container */
.tooltip {
	position: relative;
	display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
	display: inline;
	visibility: hidden;
	width: 100px;
	background-color: #2b2b2b;
	color: #fff;
	text-align: center;
	padding: 5px 0;
	border-radius: 6px;
	font-family: 'Open Sans', sans-serif;

	/* Position the tooltip text */
	position: absolute;
	z-index: 1;
	top: 110%;
	left: 25%;
	margin-left: -17px;

	/* Fade in tooltip */
	opacity: 0;
	transition: opacity 0.4s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: transparent transparent #2b2b2b transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
	visibility: visible;
	opacity: 1;
}

.open {
	color: #c3373a;
	font-weight: bold;
	font-size: 50px;
	margin-left: 35px;
	margin-right: 10px;
	cursor: pointer;
}

.sidenav {
	height: 100%; /* 100% Full-height */
	width: 0; /* 0 width - change this with JavaScript */
	position: fixed; /* Stay in place */
	z-index: 3; /* Stay on top */
	top: 0;
	right: 0;
	background-color: rgba(255,255,255,0.8);
	/* Experimental web feature (Can be viewed in Microsoft Edge) */
	backdrop-filter: saturate(180%) blur(20px);  
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	overflow-x: hidden;/* Disable horizontal scroll */
	padding-top: 60px; /* Place content 60px from the top */
	transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

button {
	color: inherit;
	font-size: 18px;
	background-color: #ffffff00;
	border: none;
}

button:active {
	border: none;
}

/* The navigation menu links */
.sidenav a, .dropdown-btn {
	padding: 8px 8px 8px 32px;
	text-decoration: none;
	font-size: 16px;
	font-family: 'Open Sans', sans-serif;
    color: #c3373a;
    background-color: #ffffff00;
	display: block;
	transition: 0.3s;
}

.non-dropdown-nav {
	margin-left: -8px;
}

.dropdown-container {
	display: none;
	background-color: #FFFFFF;
	padding-left: 8px;
}

.dropdown-container a {
	color: black;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:active {
	color: #FFFFFF;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
	position: absolute;
	top: 0;
	right: 25px;
	font-size: 36px;
	margin-left: 50px;
}

#main {
	width: 100%;
	max-width: 100%;
    margin-top: 45px;
    margin-left: auto;
	margin-right: auto;
	padding-left: 2.5%;
	padding-right: 2.5%;
	padding-bottom: 2em;
	padding-top: 5px;
	background-color: white;
}

h1 {
    font-size: 30px;
	font-family: 'Open Sans', sans-serif;
}

h2 {
	font-family: 'Open Sans', sans-serif;
}

p {
	font-size: 1.15em;
	font-family: 'Open Sans', sans-serif;
}

b {
	font-size: 1.15em;
	font-family: 'Open Sans', sans-serif;
}

ul {
	font-size: 1.15em;
	font-family: 'Open Sans', sans-serif;
	text-decoration: none;
}

a {
	text-decoration: none;
	color: inherit;
}

.wireframe {
    display: inline-block;
	width: 100%;
	max-width: 100%;
    background-color:dimgray;
    border-radius: 12px;
    padding: 1em;
    color: white;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.wireframe-3 {
	display: inline-block;
    max-width: 100%;
    background-color:dimgray;
    border-radius: 12px;
    padding: 1em;
    color: white;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	height: 400px; 
	margin-bottom: 1em;
	text-align: center;
}

.button, .accordion {
	display: inline-block; 
	padding: 10px 20px; 
	border: solid #c3373a;  
	border-radius: 8px;
	font-weight: bold;
	letter-spacing: 0.0625em; 
	background-color: rgba(105, 105, 105,0.8);
	backdrop-filter: saturate(180%) blur(20px);  
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	color: white; 
	text-decoration: none;
	font-family: 'Open Sans', sans-serif;
	transition: 0.4s;
	cursor: pointer;
}

.button:hover, .accordion:hover {
	border: solid #c3373a; 
	background-color: white;
	color: #c3373a;
}

.panel {
	background-color: #ffffff00;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
}

.bannerquote {
	font-family: 'Fjalla One', sans-serif; 
	font-size: 60px; 
	font-weight: lighter;
}

.social-media {
	display: block; 
	margin-left: auto; 
	margin-right: auto;
	transition: 0.4s;
}

.social-media:hover {
	opacity: 0.5;
}

footer {
	width: 100%;
	padding-top: 2em;
	border-top: solid #c3373a;
	padding-left: 2em;
	padding-right: 2em;
	padding-bottom: 2em;
}

footer a {
	text-decoration: none;
	color: #c3373a;
	font-size: 12px;
	font-family: 'Open Sans', sans-serif;
	margin-right: 2em;
	text-align: left;
	padding-bottom: 1em;
}	

footer a:hover {
	color: dimgray;
}

footer p {
	font-size: 12px;
	font-family: 'Open Sans', sans-serif;
	text-align: right;
}

.desktop {
	display: none;
}

.tablet {
	display: none;
}

.mobile {
	display: inline;
}

@media only screen and (min-width: 1010px) {

#main {
	margin-top: 110px;
}
	
body {
	margin-top: 0px;
}

.banner {
	display: inline;
	max-width: 100%;
	float: left;
	margin-right: 1em;	
	margin-top: 1em;
	margin-left: 2.5%;
	margin-bottom: 0.5em;
	max-width: 100%;
}

.toolbar {
	position: fixed;
	top: 0;
	z-index: 2;
	left: 0;
}

.toolbox {
	margin-top: 20px;
	margin-right: 2.5%;
}

#main {
	width: 100%;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.wireframe {
	width: 100%;
    max-width: 100%;
}

.wireframe-3 { 
	height: 400px; 
	margin-right: 2em;
	margin-bottom: 0;
	/*max-width: 31.4%;*/
}

.bannerquote {
	font-size: 90px; 
}

.desktop {
	display: inline;
}

.tablet {
	display: none;
}

.mobile {
	display: none;
}

}