a.iconPost time:before,
.bottomLinks a:after,
.homeCatTitle:before {
    content: "\f111";
    font-family: 'Font Awesome 5 Pro';
    font-style: normal;
    font-variant: normal;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-weight: 900;
}

main {
    padding: 1rem 0 4rem;
    background-image: url('/Content/images/tractor_illustration.png');
    background-repeat: no-repeat;
    background-position: bottom right;
}

    main .col-sm {
        min-width: 50%;
        padding-bottom: 3rem;
        padding-top: 3rem;
    }

#recentNewsCont {
    min-width: 50%;
    padding-bottom: 3rem;
    padding-top: 3rem;
    padding-right: 1.5rem;
    padding-left: 4rem;
}

#upcomingEventsCont {
    min-width: 50%;
    padding-bottom: 3rem;
    padding-top: 3rem;
    padding-right: 4rem;
    padding-left: 1.5rem;
}

main .container h4 {
    font-size: 1.875rem;
    color: var(--blue);
    font-weight: 400;
    font-family: "Caveat";
    margin: 0;
    margin-top: 0.3rem;
}

main .container h3 {
    text-transform: capitalize;
    font-family: 'Tiro Kannada', serif;
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.homeCatTitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.2rem;
}

    .homeCatTitle:before {
        content: "\f01c";
        margin-right: 0.3rem;
    }

a.iconPost,
a.iconPost:link {
    position: relative;
    font: bold 1.125rem 'Roboto', Arial, sans-serif;
    color: var(--dark-gray);
    display: block;
    padding: 1.4em 3rem 1.4rem 4.5rem;
    border-bottom: 1px solid #ebe4e4;
}

    a.iconPost:visited {
        color: var(--dark-gray);
    }

    a.iconPost:hover,
    a.iconPost:active,
    a.iconPost:focus {
        color: var(--blue);
    }

    a.iconPost:last-of-type {
        border-bottom: unset;
    }

    a.iconPost h4 {
        font-family: inherit;
        font-size: inherit;
        font-weight: inherit;
        font-style: inherit;
        color: inherit;
        margin-bottom: 0;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    a.iconPost time {
        font: 400 0.875rem 'Roboto';
        color: var(--light-gray);
        text-transform: uppercase;
        -webkit-transition: color 300ms ease 0s;
        -moz-transition: color 300ms ease 0s;
        -o-transition: color 300ms ease 0s;
        transition: color 300ms ease 0s;
    }

        a.iconPost time:before {
            content: "\f017";
            font-weight: 400;
            margin-right: 0.5rem;
            color: var(--blue);
        }

        a.iconPost time span {
            display: inline-block;
            margin-right: 0.5rem;
        }

    a.iconPost i {
        position: absolute;
        left: 0;
        font-size: 3.2rem;
        color: var(--green);
    }

    a.iconPost:after {
        content: "\f105";
        position: absolute;
        font-family: 'Font Awesome 5 Pro';
        right: 0;
        top: 50%;
        right: 0;
        -webkit-transform: translateY(-50%) !important;
        -moz-transform: translateY(-50%) !important;
        -o-transform: translateY(-50%) !important;
        -ms-transform: translateY(-50%) !important;
        transform: translateY(-50%) !important;
        color: var(--orange);
        -webkit-transition: color 300ms ease 0s;
        -moz-transition: color 300ms ease 0s;
        -o-transition: color 300ms ease 0s;
        transition: color 300ms ease 0s;
    }

    a.iconPost:hover i,
    a.iconPost:active i,
    a.iconPost:focus i,
    a.iconPost:hover time,
    a.iconPost:active time,
    a.iconPost:focus time,
    a.iconPost:hover:after,
    a.iconPost:active:after,
    a.iconPost:focus:after {
        color: inherit;
    }



    a.iconPost:hover i {
        -webkit-animation-name: hvr-bob-float, hvr-bob;
        animation-name: hvr-bob-float, hvr-bob;
        -webkit-animation-duration: 2s;
        animation-duration: 2s;
        -webkit-animation-delay: 0s, .3s;
        animation-delay: 0s, .3s;
        -webkit-animation-timing-function: ease-out, ease-in-out;
        animation-timing-function: ease-out, ease-in-out;
        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
        -webkit-animation-direction: normal, alternate;
        animation-direction: normal, alternate;
    }

@-webkit-keyframes hvr-bob-float {
    50% {
        -webkit-transform: translateY(-8px);
        transform: translateY(-8px);
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes hvr-bob-float {
    50% {
        -webkit-transform: translateY(-8px);
        transform: translateY(-8px);
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}


#recentNewsCont .bottomLinks a:first-of-type:after {
    content: "\f319";
}

#recentNewsCont .bottomLinks a:last-of-type:after {
    content: "\f31c";
}

#upcomingEventsCont .bottomLinks a:first-of-type:after {
    content: "\f271";
}

#upcomingEventsCont .bottomLinks a:last-of-type:after {
    content: "\f271";
}

#recentNewsCont a.iconPost.postBG,
#recentNewsCont a.iconPost.postBG:link {
    float: left;
    width: 50%;
    height: 200px;
    color: #FFF;
    padding: 1rem;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
}

    #recentNewsCont a.iconPost.postBG:visited {
        color: #FFF;
    }

    #recentNewsCont a.iconPost.postBG:hover,
    #recentNewsCont a.iconPost.postBG:active {
        color: #E3530D;
    }

    #recentNewsCont a.iconPost.postBG:first-of-type,
    #recentNewsCont a.iconPost.postBG:first-of-type:link {
        width: 100%;
        height: 250px;
        clear: both;
        margin-bottom: 1px;
    }

.empty i {
    font-size: 3rem;
    color: #DEDBDA;
    margin: 1rem 0;
}

.empty p a,
.empty p a:link {
    font-weight: 700;
}

.empty a,
.empty a:link,
.bottomLinks a,
.bottomLinks a:link {
    color: var(--dark-gray);
    display: inline-block;
}

#recentNewsCont .bottomLinks {
    padding: 0 1rem 0 4rem;
}

#upcomingEventsCont .bottomLinks {
    padding: 0 4rem 0 1rem;
}

.empty a:visited,
.bottomLinks a:visited {
    color: var(--dark-gray);
}

.empty a:hover,
.empty a:active,
.empty a:focus,
.bottomLinks a:hover,
.bottomLinks a:active,
.bottomLinks a:focus {
    color: var(--orange);
}

.bottomLinks {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 1rem;
    margin-bottom: 0;
}

    .bottomLinks a,
    .bottomLinks a:link {
        float: left;
        font: 700 1rem 'Roboto';
        text-transform: uppercase;
    }

        .bottomLinks a:last-of-type {
            float: right;
        }

        .bottomLinks a:after {
            font-weight: 900;
            color: var(--orange);
            margin-left: 0.4rem;
        }


/******* Highlights *******/

ul.homeCol3,
ul.homeCol3 > li {
    list-style: none;
    margin: 0;
}

ul.homeCol3 {
    margin: 0;
    padding: 0;
}

.post {
    position: relative;
    width: 100%
}

main .post {
    margin: 2.5em 0;
}

ul.homeCol3 > li {
    position: relative;
    float: left;
    height: auto;
    min-height: 12em;
    margin-right: 1em;
    width: 32.4%;
}

    ul.homeCol3 > li:last-child {
        margin-right: 0;
    }

    ul.homeCol3 > li a {
        display: block;
    }

main .post h2 {
    font: normal 700 1.375em 'Roboto', sans-serif;
    text-transform: uppercase;
    margin: 1em 0 0;
    letter-spacing: 2px;
}

.post p {
    font: normal 700 1.063em 'Roboto', sans-serif;
    color: #002341;
}

.post .post-1 h2 {
    color: #239C7B;
}

.post .post-2 h2 {
    color: #004986;
}

.post .post-3 h2 {
    color: #0094DA;
}

.post .post-1 figure {
    background: #239C7B;
    max-width: 416px;
}

.post .post-2 figure {
    background: #004986;
    max-width: 416px;
}

.post .post-2 img {
    opacity: 1;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.post .post-3 figure {
    background: #0094DA;
    max-width: 416px;
}

.post .post-3 img {
    opacity: 1;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.post .post-1:hover img,
.post .post-2:hover img,
.post .post-3:hover img {
    opacity: 0.3;
}


/******* End *******/


/******* MEDIA QUERY *******/

@media only screen and (max-width: 1680px) {

    .empty i {
        font-size: 2rem;
    }
}


@media only screen and (max-width:1023px) {
    .frmSearch button[type="submit"] {
        right: 0.3rem;
    }
}

@media only screen and (max-width: 991px) {
    .container {
        max-width: 100%;
    }

    #recentNewsCont,
    #upcomingEventsCont {
        padding-right: 4rem;
        padding-left: 4rem;
    }

        #recentNewsCont .bottomLinks,
        #upcomingEventsCont .bottomLinks {
            padding: 0 4rem;
        }
}

@media only screen and (max-width:850px) {
    main .col-sm {
        flex-basis: auto;
    }
}



@media only screen and (max-width:767px) {

    a.iconPost, a.iconPost:link {
        font-size: 1rem !important;
    }

        a.iconPost time {
            font-size: 0.8rem;
        }

        a.iconPost i {
            font-size: 2.8rem;
        }

    #recentNewsCont,
    #upcomingEventsCont {
        padding-right: 2rem;
        padding-left: 2rem;
    }

    a.iconPost, a.iconPost:link {
        padding: 1.4em 1rem 1.4rem 4rem;
    }

    main .container h3 {
        font-size: 1.8rem;
    }

    #recentNewsCont .bottomLinks, #upcomingEventsCont .bottomLinks {
        padding: 0 2rem;
    }
}


@media only screen and (max-width:470px) {
    .bottomLinks a, .bottomLinks a:link {
        font-size: 0.8rem;
    }

    main .container h3,
    main .container h4 {
        font-size: 1.4rem;
    }

    a.iconPost h4 {
        font-size: 1rem;
    }
}
