﻿/* this file is automatically included in the page header when an education grid is used */

.education-grid {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}
.education-grid tr {
    border-bottom: solid 1px #cccccc;
}

.education-grid tr td {
    padding: 5px;
}

.education-day, .education-date, .education-day-to, .education-date-to {
    display: block;
    text-transform: uppercase;
    /*background-color: #ffffff;*/
    width: 50px;
    text-align: center;
}
.education-day, .education-date {
    
}
.education-day-to, .education-date-to {
    margin-left: 25px;
}
.education-day, .education-day-to {
    border-top: solid 5px slateblue;
    margin-top: 5px;
    padding-top: 1px;
    font-size: 1.3em;
    font-weight: 700;
    color: #6b7475;
}
.education-date, .education-date-to {
    font-size: .8em;
    color: #6b7475;
}
.education-to {
    display: inline-block;
    float: left;
    line-height: 50px;
    height: 50px;
    width: 20px;
    margin-left: 2px;
    /*background-color: #ffffff;*/
    color: #6b7475;
}
.education-title {
    display: block;
    font-size: 1.2em;
    font-weight: 400;
    color: #4d69e0;
    margin-left: 10px;
}
.education-title > a {
    text-decoration: none;
}
.education-title > a:hover {
    text-decoration: underline;
}
.education-description {
    font-size: 0.8em;
    color: #666666;
    margin-left: 10px;
    margin-right: 10px;
}
.education-location {
    display: inline-block;
    margin-left: 0px;
    font-weight: 400;
    font-size: 1.0em;
}
.education-cost {
    display: block;
    margin: 2px 10px 2px 0px;
    font-size: 1.1em;
    font-weight: 400;
    color: #666666;
}
.education-button {
    text-decoration: none;
    white-space: nowrap;
    color: black;
    font-size: .8em;
    background-color: rgba(106, 90, 205, .0);
    border: solid 2px slateblue;
    border-radius: 5px;
    padding: 0px 10px 0px 10px;
    cursor: pointer;
    -webkit-transition: background-color 0.3s linear, color 0.3s linear;
    -moz-transition: background-color 0.3s linear, color 0.3s linear;
    -o-transition: background-color 0.3s linear, color 0.3s linear;
    transition: background-color 0.3s linear, color 0.3s linear;
}
    .education-button:hover {
        background-color: rgba(106, 90, 205, 1);
        color: white;
    }
@media(max-width:450px){
    .education-grid tr {
        text-align: center;
    }
    table.education-grid tr > td:nth-child(1), table.education-grid tr > td:nth-child(2) {
        display: inline-block;
    }
    .education-grid tr td {
        display: block;
        text-align: center;
    }
    .education-title {
        margin-right: 10px;
    }
    .get-educated-nav {
        height: auto;
    }
}