:root {
    --primary-color: #fdb900;
    --secondary-color: #001e31;
    --third-color: #001e31;
    --fourth-color: #001e31;
}

.txtDescription {
    width: 100%;
    margin-top: 0px;
    background-color: transparent;
    border-radius: 8px;
    box-shadow: 1px 2px 2px 2px rgb(31, 31, 31);
}

.descriptionTitle {
    width: 98%;
    margin-left: 1%;
    padding-top: 15px;
    padding-bottom: 5px;
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 200;
    border-bottom: #fff 1px solid;
    display: flex;
    justify-content: center;
}

.descriptionContent {
    color: #b5b5b5;
    line-height: 30px;
    margin: 20px 20px;
    display: grid;
    column-count: 2;
}

.txtAndImgBlock {
    /* width: 98%; */
    margin: 6px 0px;
    border-radius: 8px;
    display: grid;
    box-shadow: 1px 2px 2px 2px rgb(31, 31, 31);
    grid-template-areas:
        "titlebar"
        "rowbar";
}

.rowtitle {
    grid-area: titlebar;
    width: 98%;
    height: 30px;
    line-height: 35px;
    font-size: 14px;
    font-weight: 200;
    color: var(--primary-color);
    border-bottom: #fff 1px solid;
    margin-bottom: 6px;
}

.row {
    grid-area: rowbar;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.detail {
    /* width: 98%;
    margin-left: 1%; */
    display: grid;
    grid-template-columns: 150px 1fr;
    margin-top: 10px;
    min-height: 350px;
    box-shadow: 1px 2px 2px 2px rgb(31, 31, 31);
}

.detail a:hover {
    cursor: pointer;
    color: #fff;
}

.detailImg img {
    width: 150px;
    height: 150px;
    margin-top: 15px;
    margin-left: 10px;
    border-radius: 8px;
}

.detailImg img:hover {
    transform: translate(85px, 85px) scale(2.0);
    border-radius: 8px;
    z-index: 990;
}

.detailImg p {
    text-align: center;
    font-size: 0.8rem;
    color: #b5b5b5;
}

.detail b {
    color: var(--primary-color);
    font-weight: 200;
}

.detailText {
    margin: 5px 30px 25px 50px;
    color: #b5b5b5;
    font-weight: 200;
}

.detailText h2 {
    padding: 10px 0px;
    font-size: 1.15rem;
    font-weight: 200;
    color: var(--primary-color);
}

.detailText a {
    color: var(--primary-color);
}

.detailText a:hover {
    color: var(--primary-color);
    color: #fff;
}

.detailText video {
    margin-left: 35%;
}

.descriptionContent table {
    margin: auto;
    width: 60%;
    border: 1px solid #b6b5b5;
    border-collapse: collapse;
    border-spacing: 0;
    padding-left: 10px;
}

.detail td:nth-child(1) {
    width: 35%;
}

.descriptionContent table,
.detail table {
    margin: auto;
    width: 60%;
    border: 1px solid #b6b5b5;
    border-collapse: collapse;
    border-spacing: 0;
    padding-left: 10px;
}

.descriptionContent caption,
.detail caption {
    padding: 10px 0px;
    font-size: 1.25rem;
}

.descriptionContent td,
.detail th,
.detail td {
    border: 1px solid #b6b5b5;
    padding: 8px 10px;
}

.descriptionContent th,
.detail th {
    border: 1px solid #b6b5b5;
    font-size: 1.15rem;
}

.descriptionContent tr {
    border: 1px solid #b6b5b5;
    height: 26px;
}

.detail tr {
    border: 1px solid #b6b5b5;
    height: 26px;
    /* text-align: center; */
}

.detail td:nth-child(1) {
    width: 25%;
}

.descriptionContent td:nth-child(1) {
    width: 20%;
}

.contactInfo {
    font-weight: 200;
    font-size: 2.5rem;
    color: var(--primary-color);
    width: 98%;
    margin-left: 1%;
    margin-top: 5px;
    margin-bottom: 10px;
}

.contactInfo p {
    line-height: 2rem;
}

.contactInfo a {
    color: var(--primary-color);
}

.contactInfo a:hover {
    color: var(--primary-color);
    color: #fff;
}

.contactInfo p a[href^='mailto'] {
    text-decoration: none;
}

.contactInfo p a[href^='mailto']:hover {
    color: #fff;
}

.map {
    width: 98%;
    height: 400px;
    margin-left: 1%;
    margin-top: 20px;
    /* margin-bottom: 20px; */
    background-color: transparent;
    border-radius: 8px;
    box-shadow: 1px 2px 2px 2px rgb(31, 31, 31);
}

.honors {
    width: 100%;
    padding: 20px 0px;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fill, 240px);
}

.cert {
    width: 210px;
    height: 300px;
    position: relative;
}

.cert h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    border-bottom: var(--primary-color) 1px solid;
}

.certtxt {
    width: 210px;
    height: 300px;
    top: 0px;
    position: absolute;
    padding: 0px 10px;
    color: #fff;
    display: none;
    line-height: 1.5rem;
}

.certtxt p {
    font-size: 0.8rem;
    text-indent: 1.6rem;
    word-break: break-all;
}

.cert:hover {
    .certtxt {
        background-color: #666;
        display: block;
    }
}

@media screen and (max-width:720px) {
    .row {
        margin-top: 20px;
        grid-area: rowbar;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .detail {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 10px;
        box-shadow: 1px 2px 2px 2px rgb(31, 31, 31);
    }

    .detailImg {
        justify-content: center;
        margin-top: 10px;
    }

    .descriptionContent table,
    .detail table {
        margin: auto;
        width: 98%;
    }

    .map {
        width: 98%;
        height: 250px;
        margin-left: 1%;
        margin-top: 0px;
        background-color: transparent;
        border-radius: 5px;
        box-shadow: 1px 2px 2px 2px rgb(31, 31, 31);
    }
}