@charset "utf-8";
/* CSS Document */

/* for screen width >= 790px full menu */
	
.contactbar {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;	
	align-items: center;
	padding: 0 10px;
	background-color: var(--optc-red);
	height: 35px;
}	
.contactbar a {
	color: var(--optc-yellow);
	font-size: 0.75em;
}
.contactbar a:hover {
	color: white;
}
img.fb, img.insta {
	padding: 0px 10px 0 40px;
	height: 20px;
	width: auto;
}
img.insta {
	padding: 0 40px 0 10px;
}
img.fb:hover, img.insta:hover {
	opacity: 0.5;
}

.topbar {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-end;
	padding: 0 30px;
	background-color: white;
}
.topbarlogo{
	display: inline-block;
	width: 100px;
}
.logo {
	height: 100px;
	width: auto;
	margin: 0;
	padding: 10px 0;
}
.topnav {
	overflow: hidden;   /* if menu items don't fit screen they fall off RHS */
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	}
.topnav a {
	float: left;
	display: block;
/*	color: white;*/
  	text-align: center;
 	padding: 18px 15px 17px 15px;
  	text-decoration: none;
  	font-size: 16px;
}
/* don't display Home link, hamburger icon and down arrows in widescreen menu */
a.nav-home, .topnav .icon.open, .topnav .icon.close, .menu-arrow {
  	display: none;
}
.topnav a:not(:first-child), .dropdown .dropbtn {
    display: block;
	color: var(--grey-dk);
	font-weight: 500;
}
.topnav a:hover, .dropdown:hover .dropbtn {
  	background-color: var(--optc-yellow);
  	color: var(--optc-red);
	cursor: pointer;
	border-radius: 15px 15px 0 0;
}	
.dropdown {
    float: left;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown .dropbtn {
    font-size: 16px;  
	font-weight: 500;
    border: none;
	background-color: transparent;
    font-family: inherit;
	padding: 21px 15px;
}

.dropbtn a {
	padding: 0px;
	margin: 0px;
	border-bottom: none;
}
.dropdown-content {
    display: none;
    position: absolute;
	background-color: var(--optc-red);
    min-width: 160px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.29);
    z-index: 1;
}
.dropdown-content a {
    float: none;
	background-color: white;
	font-size: 15px;
	font-weight: 500;
    padding: 12px 16px;
	border-bottom: 0.5px solid var(--grey-mid);
    text-decoration: none;
    display: block;
    text-align: left;
}
.dropdown-content a:hover {
    background-color: var(--optc-yellow);
	color: var(--optc-red);
	border-radius: 0px;
}


/*for screen width > 890px*/
@media screen and (min-width: 890px){
	/* increase logo size and side padding since all menu items now fit on the screen */
	.topbar {
		padding: 0 60px;
	}	
	.topbarlogo {
		width: 10%;
	}
	.logo {
		height: 90px;
	}	
}

