/* for compatibility of semantic tags with older browsers */
article, aside, figure, figcaption, footer, header, main, nav, section, summary {
    display: block;
}

a {
    text-decoration: none;
}

a:link {
    color: #8fcbf1;
}

a:visited {
    color: #8fcbf1;
}

a:focus {
    color: #441421;
    background-color: #8fcbf1;
}

a.transparent:focus {
    color: transparent;
    background-color: transparent;
}

a:hover {
    color: #441421;
    background-color: #8fcbf1;
}

a.transparent:hover {
    color: transparent;
    background-color: transparent;
}

a:active {
    color: #8fcbf1;
}

body {
    max-width: 1000px;
    margin: auto;
    padding: 5px 10px 10px 5px;
    background-color: #441421;
    font-family: Arial, Helvetica, sans-serif;
    font-size: medium;
    color: #8fcbf1;
}

table {
    width: 100%;
    border-spacing: 10px 2px;
}

th {
    font-size: large;
    text-align: left;
    text-transform: uppercase;
    border-bottom: 5px solid #8fcbf1;
/*    padding-bottom: 2px; */
}

#divider {
    display: block;
    position: relative;
    min-width: 100%;
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    height: 50px;
    max-height: 50px;
    clear: both;
}

#divider img {
    position: absolute;
    width: 50px;
    height: 50px;
    z-index: 5;
    left: calc(50% - 25px);
}

#divider hr {
    position: absolute;
    z-index: 0;
    top: 25px;
    bottom: 25px;
    margin: 0px;
}

hr {
    width: 100%;
    border-top: 2.5px solid #8fcbf1;
    border-bottom: 2.5px solid #8fcbf1;
    border-left: 0px solid #8fcbf1;
    border-right: 0px solid #8fcbf1;
}

p {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
}

section {
/*    overflow: auto; */ /* causes scrollbars to appear in certain sections */
}

.image-responsive {
    width: 100%; /* required for responsive images */
    height: auto; /* required for responsive images */
    max-width: 100%;
    max-height: 100%;
}

.image-bordered {
    border: 5px solid #8fcbf1;
}

h2 {
    font-size: xx-large;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    margin-top: 0px;
    margin-bottom: 0px;
}

h3 {
    font-size: large;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 10px;
}

.footnote {
    font-size: small;
    width: 100%;
    display: block;
    text-align: center;
    text-transform: uppercase;
}

header {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto auto auto;
}

.hidden {
    display: none;
}

#logo {
    width: 100%;
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 3;
}

#logo img {
    max-width: 340px;
    max-height: 150px;
}

#menu-social {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
    position: relative;
    display: grid;
    grid-template-columns: auto 60px 60px 60px;
    grid-template-rows: auto;
}

#menu-social img {
    max-width: 50px;
    max-height: 50px;
}

#menu-social-facebook {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
    max-width: 60px;
    max-height: 75px;
}

#menu-social-twitter {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 2;
    max-width: 60px;
    max-height: 75px;
}

#menu-social-instagram {
    grid-column-start: 4;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 2;
    max-width: 60px;
    max-height: 75px;
}

#blurb {
    width: 100%;
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 2;
    grid-row-end: 3;
    position: relative;
}

#blurb span {
    width: 100%;
    font-size: large;
    font-style: italic;
    font-weight: bold;
    position: absolute;
    right: 0px;
    bottom: 0px;
    text-align: right;
}

#site-navigation {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 3;
    grid-row-end: 4;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    font-size: x-large;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

#featured-image {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 4;
    grid-row-end: 5;
    max-width: 1000px;
    max-height: 410px;
}

#featured-image img {
    max-width: 990px;
    max-height: 400px;
}

#schedule {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
}

#schedule-team {
    width: 25%;
    max-width: 25%;
}

#schedule-date {
    width: 20%;
    max-width: 20%;
}

#schedule-field {
    width: 25%;
    max-width: 25%;
}

#schedule-city {
    width: 20%;
    max-width: 20%;
}

#schedule-result {
    width: 10%;
    max-width: 10%;
}

#roster-managers {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    grid-template-rows: auto;
}

#roster-managers img {
    margin: auto;
    display: block;
    max-width: 150px;
    max-height: 225px;
}

/*#roster-assistant_coach {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
    text-align: center;
}

#roster-pitching_coach {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
    text-align: center;
}

#roster-hitting_coach {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
    text-align: center;
}*/

#roster-field_manager {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
    text-align: center;
}

#roster-general_manager {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 2;
    text-align: center;
}

#roster {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
}

#roster-number {
    width: 12%;
    max-width: 12%;
}

#roster-name {
    width: 30%;
    max-width: 30%;
}

#roster-position {
    width: 12%;
    max-width: 12%;
}

#roster-bats-throws {
    width: 16%;
    max-width: 16%;
}

#roster-experience {
    width: 30%;
    max-width: 30%;
}

#store-items {
    display: grid;
    grid-template-columns: 33% 34% 33%;
    grid-template-rows: auto;
}

#store-items img {
    margin: auto;
    display: block;
    max-width: 300px;
    max-height: 225px;
}

#store-items-snapback_hat {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
    text-align: center;
}

#store-items-ringtails_tshirt {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
    text-align: center;
}

#store-items-redding_tshirt {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 2;
    text-align: center;
}

#about-featured_image {
    float: right;
    max-width: 300px;
    max-height: 335px;
    margin-left: 10px;
}

#contact {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    align-content: stretch;
}

.contact-info {
    display: block;
    margin-left: 30px;
    margin-right: 30px;
    font-size: smaller;
}

.contact-info img {
    width: 12px;
    height: 12px;
}