/* EB DIGITAL DESIGN */
/* DEFAULT CSS */

* {
    box-sizing: border-box;
}
html {
	font-family: 'Neutraface Text', Helvetica, Arial, Verdana, sans-serif;
	font-size: 100%;
    color: #696969;
    scroll-margin-top: 177px;
}
a:link, a:visited {
	color: #CC3300;
}
a:hover {
	color: #71D9E2;
}

/* BODIES AND CONTAINERS */

.body {
	vertical-align: top;
	text-align: center;
	height: 100%;
    width: 100%;
	margin: 0 auto 0 auto;
	padding: 0px;
    overflow-x: hidden;
}
.sub-body {
	vertical-align: top;
   	display: block;
    height: 100%;
	width: 85%;
    margin: 137px auto 0 auto; /* margin includes logo, margin, border around nav buttons and bottom line in horizontal nav */
	padding: 10px;
    z-index: 0;
}
.sub-body-1 {
	vertical-align: top;
   	display: block;
    height: 100%;
	width: 85%;
    margin: 137px auto 0 auto; /* margin includes logo, margin, border around nav buttons and bottom line in horizontal nav */
	padding: 0px 10px 10px 10px;
    z-index: 0;
}
/* REMOVE THIS */
.container {
	background-repeat: no-repeat;
	background-position: 100% 100%;
    background-color: #FFFFFF;
	vertical-align: top;
	display: inline-block;
    height: 100%;
	margin: 0px;
	padding: 0px;
	clear: both;
}
.media-container {
	background-color: #FFFFFF;
    box-shadow: inset 0px 0px 6px #0B3554;
	vertical-align: top;
	width: 100%;
	margin: 0 auto 0px auto;
	padding: 6px 0px 6px 0px;
}

/* TACHI */

div#tachi a {
	display: block;
	float: right;
	height: 40px;
	line-height: 0px;
	width: 40px;
	margin: 0px -10px 0px 0px;
	padding: 0px;
	text-decoration: none;
}
div#tachi a span {
	display: none;
}
div#tachi a span img {
	margin-bottom: 5px;
    border: 0;
}
div#tachi a:hover span {
	background-color: #0B3554;
	border: 1px solid #FFFFFF;
	display: inline-block;
	position: relative;
	height: 100px;
	line-height: 12px;
	width: 100px;
	margin: 0px;
	padding: 5px;
	right: 120px;
	bottom: 72px;
	z-index: 10;
	text-align: left;
	font-size: 10px;
	color: #71D9E2;
}

/* GENERAL STYLES */

h1, h2, h3, h4 {
    font-family: 'Neutraface Text', Helvetica, Arial, Verdana, sans-serif;
	color: #0B3554;
	text-align: left;
	margin: 10px 0px 10px 10px;
}
h1 {
	font-size: 1.2500em;
}
h2 {
	font-size: 1.1250em;
}
h3 {
	font-size: 1.0625em;
}
h4, th {
	font-size: 1.0000em;
}
td {
	font-size: 1.0000em;
}
p {
	font-size: 1.0000em;
	text-align: left;
	margin: 10px;
	padding: 0px;
    color: #696969;
}
ul {
	font-size: 1.0000em;
	list-style-type: square;
	text-align: left;
    margin: 0px 10px 10px 0px;
}
.ind1 { margin-left: 1em; }
.ind2 { margin-left: 2em; }
.ind3 { margin-left: 3em; }
.ind4 { margin-left: 4em; }

table.data th, table.data td {
	border-color: #0B3554;
	border-style: solid;
	border-right-width: 1px;
	border-left-width: 0px;
	border-top-width: 0px;
	border-bottom-width: 1px;
	padding: 2px;
	text-align: center;
}
table tr.row-data td, table tr.row-data th {
	border-color: #0B3554;
	border-style: solid;
	border-top-width: 1px;
}
table td.firstcolumn-data, table th.firstcolumn-data {
	border-color: #0B3554;
	border-style: solid;
	border-left-width: 1px;
}
table tr.header, table td.header {
	border-color: #0B3554;
	border-style: solid;
	border-left-width: 1px;
	font-weight: bold;
	font-size: 1.0000em;
	color: #0B3554;
	background-color: #DCDCDC;
}
.center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.center1 {
	margin-left: auto;
	margin-right: auto;
}
.image1 {
    max-width: 100%;
    height: auto;
    margin: 1%;
}
.image2 {
    vertical-align: bottom;
    display: inline-block;
	margin: 1%;
    padding: 0;
}
.image2 p {
    text-align: center;
    font-weight: bold;
    font-size: 1.0em;
    text-decoration: none;
}
.image-right {
	float: right;
	margin: 1%;
    padding: 0;
}
.image-right-wotxt {
	width: 33%;
    height: auto;
    float: right;
    font-size: 0;
	margin: 1%;
    padding: 0;
    border: 3px solid #71D9E2;
    border-radius: 6px;
}
.image_2 img, .image-right img, .image-right-wotxt img {
    max-width: 100%; 
    height: auto;
}
.top_left_photo_1, .top_left_photo_2 {
	border: 2px solid #FFFFFF;
	border-radius: 20px;
    width: 17%;
    min-width: 150px;
    height: 250px;
    margin-right: 1%;
    margin-bottom: 10px;
    display: inline-block;
    text-align: center;
    vertical-align: top;
}
.top_left_photo_1 {
	background: url('images/photo_1.jpg') no-repeat center center;
   	background-size: cover;
}
.top_left_photo_2 {
	background: url('images/photo_2.jpg') no-repeat center center;
	background-size: cover;
}

/* IMAGE GALLERY */

.image-gallery, .image-gallery-1 {
    overflow: auto;
    white-space: nowrap;
}
.image-gallery img, .image-gallery-1 img {
    padding: 6px;
    border: 1px solid #FFFFFF;
}
.image-gallery img:hover {
    border: 1px solid #71D9E2;
}

/* WEB IMAGE GALLERY */

div.gallery {
    box-sizing: border-box;       
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
div.gallery-item {
    margin: 5px;
    border: 1px solid #0B3554;
    width: calc(25% - 20px);
}
div.gallery-item:hover {
    border: 1px solid #71D9E2;
}
div.gallery-item img {
    width: 100%;
    height: auto;
}
div.gallery-item div.desc {
    padding: 15px;
    text-align: center;
    color: #0B3554;
}
.sub-nav {
    position: fixed;
	height: auto;
	width: auto;
	margin: 0px;
	padding: 20px 10px 0px 10px;
	background-color: #FFFFFF;
	text-align: left;
	font-size: 1.2500em;
	font-weight: bold;
	color: #0B3554;
	z-index: 5;
}
.sub-nav a {
      font-size: .8750em;
}
.container {
    scroll-snap-type: y mandatory; /* Enforces snapping on the Y-axis */
    margin-top: 50px;
}
.container section {
    scroll-snap-align: start; /* Aligns the start (top) edge of the section to the start (top) of the container */
      /* Other styles, e.g., height: 100vh; for full-section snapping */
    scroll-margin-top: 183px;
}
    
/* HORIZONTAL NAVIGATION */

#horz-nav {
    border-bottom: 1px solid #0B3554;
    background-color: #FFFFFF;
    vertical-align: middle;
    text-align: center;
    width: 100%;
	height: auto;
	margin: 0px auto 0px auto;
    padding: 8px 0px 8px 0px;
    position: fixed;
    top: 0;
	text-align: center;
    z-index: 10;
}
div#logo {
    display: inline-block;
    height: auto;
    margin: 0 auto;
	padding: 0;
	font-size: 0;
	vertical-align: middle;
    text-align: left;
}
div#logo img {
    height: 100%;
    max-height: 160px;
    width: auto;
    margin: 0 8px 0 8px;
    /*background-color: #FF00FF;*/
}
div#title {
    display: inline-block;
    width: auto;
    margin: 0 8px 0 8px;
    vertical-align: middle;
    text-align: center;
    font-size: 28px;
    color: #0B3554; 
    /*background-color: #FF8040;*/
}
#horz-nav ul {
    display: inline-block;
    width: 60%;
    margin: 28px auto;
	padding: 0;
    list-style-type: none;
    vertical-align: middle;
    text-align: right;
    /*background-color: #00FF80;*/
}
#horz-nav ul li {
    display: inline;
    text-align: center;
}
#horz-nav a {
    display: inline-block;
	margin: 8px 8px 8px 8px;
	padding: 6px 6px 6px 6px;
    vertical-align: middle;
    font-family: 'Neutraface Text', Arial, Helvetica, Vergama, sans-serif;
    font-size: .8750em;
	font-style: normal;
	color: #0B3554;
    border: 1px solid #0B3554;
    border-radius: 6px;
    background-color: #FFFFFF;
 	text-decoration: none;
}
#horz-nav a:hover {
    color: #71D9E2;
	background-color: #0B3554;
}
div#logo a {
    line-height: 0;
    height: 120px;
	margin: 0;
	padding: 0px;
    vertical-align: middle;
    font-size: 0px;
    border: 0px solid #FFFFFF;
    border-radius: 0px;
    /*background-color: #FFFF00;*/
}
div#logo a:hover {
    background-color: #FFFFFF
}

/* MEDIA AREA */

.media-block {
    display: inline-block;
    margin: 3px;
    padding: 6px;
}
.media-block .contact {
    display: block;
    margin: 6px 0px 0px 0px;
    font-size: 1.0000em;
    color: #0B3554;
}
.media-block img {
	margin: 0px 2px 0px 2px;
    border: 0;
    vertical-align: middle;
}

/* BOTTOM NAVIGATION */

.bottom-nav {
    height: auto;
    width: 100%;
    padding: 4px 0px 4px 0px;
    word-wrap: break-word;
    position: relative;
    vertical-align: middle;
    text-align: center;
	font-size: .7500em;
	background-color: #0B3554;
}
.bottom-nav a:link, .bottom-nav a:visited, .bottom-nav a:active {
	padding: 3px;
    text-decoration: none;
	color: #FFFFFF;
}
.bottom-nav a:hover {
	text-decoration: none;
	color: #71D9E2;
} 
.bottom-nav-break {
	padding: 0 1% 0 1%;
	color: #FFFFFF;
}
.copywrite {
    width: 100%;
    height: auto;
	line-height: 25px;
	padding: 3px 0px 3px 0px;
    overflow: hidden;
    position: relative;
	vertical-align: middle;
    text-align: center;
	font-size: .7500em;
	color: #71D9E2;
}
.copywrite a {
	text-decoration: none;
}

/* Responsive design for screens smaller than 768px */

@media only screen and (max-width: 768px) {
div.gallery-item {
   width: calc(50% - 20px);
}
}

/* Responsive design for screens smaller than 480px */
    
@media only screen and (max-width: 480px) {
div.gallery-item {
    width: calc(100% - 20px);
}
}

/* Responsive design for screens smaller than 1586px */

@media only screen and (max-width: 1586px) {
#horz-nav ul {
    margin: 0;
}
}

/* Responsive design for screens smaller than 1007px */

@media only screen and (max-width: 1007px) {
.sub-body, .sub-body-1 {
	margin: 0 auto 0 auto;
}
#horz-nav {
    position: relative;
}
#horz-nav ul {
    display: block;
    width: 100%;
    text-align: center;
}
#horz-nav a {
    margin: 8px 8px 0 8px;
}
div#logo {
    display: block;
    width: 100%;
    text-align: center;
}
div#logo img {
    margin: 0px;
}
div#title {
    margin-top: 8px;
}
.image-gallery img {
    width: 30%;
    height: auto;
}
.image-gallery-1 img {
    width: 20%;
    height: auto;
}
.sub-nav {
    position: relative;
}
.container {
    margin-top: 0px;
}
}