/* Widget - Section Title */
.train-first-section-title-wrapper .train-first-section-title {
    font-size: 40px;
    line-height: 40px;
    font-weight: 300;
    margin-bottom: 30px;
}
.train-first-section-title-wrapper .train-first-section-title-subtitle {
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 30px;
}
/* align - right */
.train-first-section-title-wrapper.train-first-section-title-wrapper-align-right {
    text-align: right;
}
/* align - center */
.train-first-section-title-wrapper.train-first-section-title-wrapper-align-center {
    text-align: center;
}
/* white */
.train-first-section-title-wrapper.train-first-section-title-wrapper-white,
.train-first-section-title-wrapper.train-first-section-title-wrapper-white .train-first-section-title,
.train-first-section-title-wrapper.train-first-section-title-wrapper-white .train-first-section-title-subtitle {
    color: #fff;
}

/* Widget - Social Icons */
.train-first-social-icons-wrapper {
    display: flex;
}
.train-first-social-icons-wrapper .social-item {
    margin-right: 10px;
}
.train-first-social-icons-wrapper .social-item:last-child {
    margin-right: 0;
}
.train-first-social-icons-wrapper .social-item a {
    font-size: 26px;
    line-height: 26px;
    -webkit-transition: color .3s ease;
    -moz-transition: color .3s ease;
    -o-transition: color .3s ease;
    -ms-transition: color .3s ease;
    transition: color .3s ease;
}
.train-first-social-icons-wrapper .social-item a:hover {
    color: #D60E0E;
}
/* align - right */
.train-first-social-icons-wrapper.train-first-social-icons-wrapper-align-right {
    justify-content: flex-end;
}
/* align - center */
.train-first-social-icons-wrapper.train-first-social-icons-wrapper-align-center {
    justify-content: center;
}
/* white */
.train-first-social-icons-wrapper.train-first-social-icons-wrapper-white .social-item a {
    color: white;
}
.train-first-social-icons-wrapper.train-first-social-icons-wrapper-white .social-item a:hover {
    color: #D60E0E;
}

/* Widget - Contact Info */
.train-first-contact-info-wrapper .contactinfo-item {
    margin-bottom: 15px;
}
.train-first-contact-info-wrapper .contactinfo-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 16px;
    line-height: 16px;
    -webkit-transition: color .3s ease;
    -moz-transition: color .3s ease;
    -o-transition: color .3s ease;
    -ms-transition: color .3s ease;
    transition: color .3s ease;
}
.train-first-contact-info-wrapper .contactinfo-item a:hover {
    color: #D60E0E;
}
.train-first-contact-info-wrapper .contactinfo-item i.fas,
.train-first-contact-info-wrapper .contactinfo-item i.fa,
.train-first-contact-info-wrapper .contactinfo-item i.far {
    font-size: 20px;
    line-height: 20px;
    margin-right: 10px;
}
/* align - right */
.train-first-contact-info-wrapper.train-first-contact-info-wrapper-align-right {
    text-align: right;
}
/* align - center */
.train-first-contact-info-wrapper.train-first-contact-info-wrapper-align-center {
    text-align: center;
}
/* white */
.train-first-contact-info-wrapper.train-first-contact-info-wrapper-white a {
    color: white;
}
.train-first-contact-info-wrapper.train-first-contact-info-wrapper-white a:hover {
    color: #D60E0E;
}
/* WIDGET - FEATURED BOX */
.train-first-featured-box-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
    height: 232px;
    overflow: hidden;
    width: 100%;
}
.train-first-featured-box-wrapper a.train-first-featured-box-link-wrapper {
    background: black;
    width: 100%;
}
.train-first-featured-box-wrapper a.train-first-featured-box-link-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transition: width 0.5s ease, transform 0.5s ease, opacity 0.5s ease, max-width 0.5s ease;
    -moz-transition: width 0.5s ease, transform 0.5s ease, opacity 0.5s ease, max-width 0.5s ease;
    -o-transition: width 0.5s ease, transform 0.5s ease, opacity 0.5s ease, max-width 0.5s ease;
    -ms-transition: width 0.5s ease, transform 0.5s ease, opacity 0.5s ease, max-width 0.5s ease;
    transition: width 0.5s ease, transform 0.5s ease, opacity 0.5s ease, max-width 0.5s ease;
    opacity: 0.66;
}
.train-first-featured-box-wrapper a.train-first-featured-box-link-wrapper .train-first-featured-box-title {
    position: absolute;
    bottom: 30px;
    text-align: center !important;
    width: 100%;
    color: white;
    font-size: 27px;
    line-height: 32px;
    text-transform: uppercase;
}
/* hover */
.train-first-featured-box-wrapper a.train-first-featured-box-link-wrapper:hover img {
    max-width: 110%;
    width: 110%;
    transform: translate(-5%);
    opacity: 0.9;
}
/* WIDGET - ICON BOX */
a.train-first-icon-box-wrapper {
    text-decoration: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
a.train-first-icon-box-wrapper .train-first-icon-box-image-wrapper {
    background: #333399;
    border-radius: 40px;
    padding: 30px;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    -webkit-transition: color .3s ease, background .3s ease, border .3s ease;
    -moz-transition: color .3s ease, background .3s ease, border .3s ease;
    -o-transition: color .3s ease, background .3s ease, border .3s ease;
    -ms-transition: color .3s ease, background .3s ease, border .3s ease;
    transition: color .3s ease, background .3s ease, border .3s ease;
}
a.train-first-icon-box-wrapper .train-first-icon-box-image-wrapper img {
    max-width: 100px;
    max-height: 100px;
}
a.train-first-icon-box-wrapper .train-first-icon-box-title {
    font-size: 25px;
    line-height: 28px;
    color: #333399;
    margin-top: 20px;
    font-weight: 700;
    -webkit-transition: color .3s ease, background .3s ease, border .3s ease;
    -moz-transition: color .3s ease, background .3s ease, border .3s ease;
    -o-transition: color .3s ease, background .3s ease, border .3s ease;
    -ms-transition: color .3s ease, background .3s ease, border .3s ease;
    transition: color .3s ease, background .3s ease, border .3s ease;
}
/* hover */
a.train-first-icon-box-wrapper:hover .train-first-icon-box-image-wrapper {
    background: #D60E0E;
}
a.train-first-icon-box-wrapper:hover .train-first-icon-box-title {
    color: #D60E0E;
}
/* WIDGET - COURSE LOOP */
.train-first-facourse-loop-wrapper {
    display: flex;
    flex-wrap: wrap;
}
.train-first-facourse-loop-wrapper a.train-first-facourse-loop-item {
    flex-basis: 48%;
    margin-right: 4%;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.445);
    background: white;
    margin-bottom: 30px;
    text-decoration: none;
    color: #2F2F2F;
    text-align: center;
}
.train-first-facourse-loop-wrapper a.train-first-facourse-loop-item:nth-child(2n+2) {
    margin-right: 0;
}
a.train-first-facourse-loop-item .train-first-facourse-loop-item-image-wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
    overflow: hidden;
    width: 100%;
    height: 184px;
    background: black;
}
a.train-first-facourse-loop-item .train-first-facourse-loop-item-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    -webkit-transition: opacity .3s ease;
    -moz-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    -ms-transition: opacity .3s ease;
    transition: opacity .3s ease;
}
a.train-first-facourse-loop-item .train-first-facourse-loop-item-content-wrapper {
    padding: 20px;
}
a.train-first-facourse-loop-item .train-first-facourse-loop-item-title {
    font-size: 28px;
    line-height: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    -webkit-transition: color .3s ease;
    -moz-transition: color .3s ease;
    -o-transition: color .3s ease;
    -ms-transition: color .3s ease;
    transition: color .3s ease;
}
a.train-first-facourse-loop-item .train-first-facourse-loop-item-desc {
    font-size: 15px;
    line-height: 20px;
    margin-bottom: 20px;
}
a.train-first-facourse-loop-item .train-first-facourse-loop-item-button {
    display: inline-block;
    text-decoration: none;
    color: #FFFFFF;
    background: #D60E0E;
    border-radius: 25px;
    padding: 16px 55px;
    font-size: 18px;
    line-height: 18px;
    font-weight: 700;
    -webkit-transition: color .3s ease, background .3s ease, border .3s ease;
    -moz-transition: color .3s ease, background .3s ease, border .3s ease;
    -o-transition: color .3s ease, background .3s ease, border .3s ease;
    -ms-transition: color .3s ease, background .3s ease, border .3s ease;
    transition: color .3s ease, background .3s ease, border .3s ease;
}
a.train-first-facourse-loop-item:hover .train-first-facourse-loop-item-image-wrapper img {
    opacity: 1;
}
a.train-first-facourse-loop-item:hover .train-first-facourse-loop-item-title {
    color: #D60E0E;
}
a.train-first-facourse-loop-item:hover .train-first-facourse-loop-item-button {
    background: #333399;
}
/* WIDGET - COURSE DATES */
.train-first-course-dates-wrapper .train-first-course-dates-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.train-first-course-dates-wrapper .train-first-course-dates-title-wrapper h2.train-first-course-dates-title {
    font-size: 28px;
    line-height: 32px;
    font-weight: 700;
    margin: 0;
}
.train-first-course-dates-wrapper table {
	background: white;
	box-shadow: 0 0 10px #00000040;
	margin: 10px 0;
}
.train-first-course-dates-wrapper table tr:nth-child(even) {
	background: #ededed;
}
.train-first-course-dates-wrapper table th,
.train-first-course-dates-wrapper table td {
    font-size: 18px;
    line-height: 20px;
	padding: 10px 15px;
	text-align: center;
}
.train-first-course-dates-wrapper table th {
    background: #2f2f2f;
	color: white;
	font-weight: 500;
}
.train-first-course-dates-wrapper table td.train-first-course-dates-table-time {
    width: 140px;
}
.train-first-course-dates-wrapper table a.train-first-button-link {
    padding: 7px 28px;
    font-size: 16px;
    line-height: 16px;
}
/* SIZING */
@media (max-width: 767px) {
    /* Widget - Section Title */
    .train-first-section-title-wrapper {
        text-align: center !important;
    }
    .train-first-section-title-wrapper .train-first-section-title {
        font-size: 26px;
        line-height: 32px;
    }
    .train-first-section-title-wrapper .train-first-section-title-subtitle {
        font-size: 14px;
        line-height: 23px;
    }
    /* Widget - Social Icons */
    .train-first-social-icons-wrapper {
        justify-content: center;
    }
    /* Widget - Contact Info */
    .train-first-contact-info-wrapper {
        text-align: center !important;
    }
    .train-first-contact-info-wrapper .contactinfo-item a {
        justify-content: center;
    }
    /* WIDGET - ICON BOX */
    a.train-first-icon-box-wrapper {
        margin-bottom: 30px;
    }
    /* WIDGET - COURSE LOOP */
    .train-first-facourse-loop-wrapper {
        flex-direction: column;
    }
    .train-first-facourse-loop-wrapper a.train-first-facourse-loop-item {
        flex-basis: 100%;
        margin-right: 0;
    }
    a.train-first-facourse-loop-item .train-first-facourse-loop-item-image-wrapper {
        height: 140px;
    }
    a.train-first-facourse-loop-item .train-first-facourse-loop-item-title {
        font-size: 18px;
        line-height: 24px;
    }
    a.train-first-facourse-loop-item .train-first-facourse-loop-item-button {
        padding: 10px 37px;
    }
    /* WIDGET - COURSE DATES */
    .train-first-course-dates-wrapper .train-first-course-dates-title-wrapper {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        margin-bottom: 30px;
    }
    .train-first-course-dates-wrapper table td.train-first-course-dates-table-time {
        width: auto;
    }
    .train-first-course-dates-wrapper table thead {
        display:none;
    }
    .train-first-course-dates-wrapper table,
    .train-first-course-dates-wrapper table tbody,
    .train-first-course-dates-wrapper table tr,
    .train-first-course-dates-wrapper table td {
        display:block;
        width:100%;
    }
    .train-first-course-dates-wrapper table tr {
        padding: 10px 0;
    }
    .train-first-course-dates-wrapper table td {
        padding-left:33%;
        text-align:left;
        position:relative;
        font-size: 16px;
    }
    .train-first-course-dates-wrapper table td::before{
        content:attr(data-label);
        position:absolute;
        left:0;
        width:33%;
        padding-left:15px;
        font-size:15px;
        font-weight:bold;
        text-align:left;
    }
}
