/*a.iconPost time:before,*//*a.iconPost time:before,*/
.bottomLinks a:after,
.homeCatTitle:before,
a.iconPost::after{
    content: "\f111";
    font-family: 'Font Awesome 5 Pro';
    font-style: normal;
    font-variant: normal;
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

main {
    padding: 2rem 0 2rem;
    background: rgb(255,255,255) url(../images/bgMain.png) left bottom repeat-y;
    background-size: cover;
}
    main #recentNewsCont.col-sm {
        max-width: 50%;
        padding-bottom: 3rem;
        padding-right:3rem;
    }
    main #upcomingEventsCont.col-sm {
        max-width: 50%;
        padding-bottom: 3rem;
        padding-left:3rem;
    }

header.masterHeader {
    position: absolute !important;
    width: 100%;
}

.frmSearch {
    position: absolute;
    top: 39%;
    top: 300px;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin: 0;
    z-index: 5;
}

#recentNewsCont h3, #upcomingEventsCont .nav-tabs .nav-link {    
    text-transform: uppercase;
    /*border-bottom: 1px solid rgb(222,219,218);*/
    font-family: 'Aleo', serif;
    font-size: 1.25rem;
    font-weight: 700;
    font-style: normal;
    color: #0f3d39;
    letter-spacing: 2px;    
    text-align: center;
    margin-bottom: 0;
    line-height: 1;
}
#upcomingEventsCont .nav-tabs .nav-link{
    padding:1.23rem 0;
}
#recentNewsCont h3 {
    padding: 1.3rem 0;
    border-bottom: 1px solid #bcbcbc;
}
#upcomingEventsCont .nav-tabs {
    border-bottom: 1px solid #bcbcbc;
}


.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-family: 'Open Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    font-style: normal;
    color: #2b2b2b;
    display: block;
    padding: 1.5rem 2rem 1.5rem 5rem;    
}
    a.iconPost:visited {
        color: #2b2b2b;
    }
    a.iconPost:hover {
        color: #e3530d;
    }
    a.iconPost:active {
        color: #e3530d;
    }
    a.iconPost:focus {
        color: #e3530d;
    }
a.iconPost:first-child{
    padding-top:2rem;
}
a.iconPost h4 {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    font-style: inherit;
    color: inherit;    
    letter-spacing: 3px;
    text-transform: capitalize;
    margin-bottom: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

    a.iconPost time {
        text-transform: uppercase;
        font-family: 'Open Sans', sans-serif;
        font-size: 1rem;
        font-weight: 600;
        font-style: normal;
        color: #0f3d39;
        text-transform: uppercase;
        letter-spacing: 3px;        
    }
	a.iconPost:hover time{
		color:#e3530d;
	}
/*a.iconPost time:before {
    content:"\f073";
    font-weight: 300;
    margin-right: 0.5rem;
}*/
a.iconPost time span {
    display: inline-block;
    margin-right: 0.5rem;
}

a.iconPost > span {
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    /*font-size: 2rem;*/
    font-size:3rem;
    color:#e3530d;
}

a.iconPost::after {
    content: "\f324";
    position: absolute;
    right: 0;
    bottom:1rem;
    font-size: 1.875rem;
    /*-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: #bcbcbc !important;
    font-weight: 300;
}



#recentNewsCont a.iconPost.postBG,
#recentNewsCont a.iconPost.postBG:link {
    /*float: left;
    width: 50%;
    height: 200px;
    color: rgb(255,255,255);*/
    padding: 1rem;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
}
/*#recentNewsCont a.iconPost.postBG:visited {
    color: rgb(255,255,255);
}
#recentNewsCont a.iconPost.postBG:hover {
    color: rgb(227,83,13);
}
#recentNewsCont a.iconPost.postBG:active {
    color: rgb(227,83,13);
}*/
/*#recentNewsCont a.iconPost.postBG:first-of-type, #recentNewsCont a.iconPost.postBG:first-of-type:link {
    width: 100%;
    height: 250px;
    clear: both;
    margin-bottom: 1px;
}*/


#upcomingEventsCont .nav-tabs .nav-link {
    border: none;
}
#upcomingEventsCont .nav-tabs .nav-item {
    width: 50%;
    text-align:center;
}
#upcomingEventsCont  .nav-tabs .nav-item.show .nav-link,
#upcomingEventsCont  .nav-tabs .nav-link.active {
    border-bottom: 4px solid #165751;
    background: none;
}


.empty i {
    font-size: 5rem;
    color: rgb(222,219,218);
    margin: 1rem 0;
}
.empty p a,
.empty p a:link {
    font-weight: 700;
}

.empty a,
.empty a:link,
.bottomLinks a,
.bottomLinks a:link {
    color: rgb(22,87,81);
    display: inline-block;
}
.empty a:visited,
.bottomLinks a:visited{
    color: rgb(22,87,81);
}
.empty a:hover,
.bottomLinks a:hover{
    color: rgb(227,83,13);
}
.empty a:active,
.bottomLinks a:active {
    color: rgb(227,83,13);
}
.empty a:focus,
.bottomLinks a:focus {
    color: rgb(227,83,13);
}

#recentNewsCont .bottomLinks{
    padding-right:3rem;
    padding-left:1rem;
} 
#upcomingEventsCont .bottomLinks{
    padding-left:3rem;
    padding-right:1rem;
}
.bottomLinks {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    margin-bottom: 0;
}

.bottomLinks a,
.bottomLinks a:link {
    /*float: left;
    font: 700 1rem 'Open Sans';*/
    text-transform: uppercase;
    font-family: 'Roboto Slab', serif;
    font-size: 1rem;
    font-weight: 500;
    font-style: normal;
    color: #0f3d39;
    letter-spacing: 2px;
}
.bottomLinks a, .bottomLinks a:hover{
     color:#e3530d;
}
.bottomLinks a, .bottomLinks a:focus{
     color:#e3530d;
}
.bottomLinks a, .bottomLinks a:active{
     color:#e3530d;
}

.bottomLinks a:first-of-type{
    float: left;
}
.bottomLinks a:last-of-type{
    float: right;
}

    .bottomLinks a:after {
        content: "\f324";
        font-weight: 500;
        color: #e3530d;
        margin-left: 0.5rem;
    }    




/****************************************************************
--------Highlights---------
****************************************************************/


ul.homeCol3,
ul.homeCol3 > li {
    list-style: none;
    margin: 0;
}

ul.homeCol3 {
    margin:0;
    padding:0;
}

.post {
    position: relative;
    /*left: 7%;*/
    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 Slab', serif;
    text-transform: uppercase;
    margin: 1em 0 0;
    letter-spacing: 2px;
}
 .post p {
    font: normal 700 1.063em 'Lato', sans-serif;
    color: rgb(0,35,65);
}
 .post .post-1 h2{
    color:rgb(35,156,123);
}
 .post .post-2 h2 {
    color: rgb(0,73,134);
}
 .post .post-3 h2{
    color: rgb(0,148,218);
    
}
 .post .post-1 figure {
    background: rgb(35,156,123);
    max-width: 416px;
}
 .post .post-1 img {
    /* opacity: 1; */
    /* -webkit-transition: .3s ease-in-out; */
    /* transition: .3s ease-in-out; */
}
 .post .post-2 figure {
    background: rgb(0,73,134);
    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: rgb(0,148,218);
    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 {
    opacity: 0.3;
}
 .post .post-2:hover img {
    opacity: 0.3;
}
 .post .post-3:hover img {
    opacity: 0.3;
}


/****************************************************************
--------End---------
****************************************************************/

/****************************************************************
MEDIA QUERY
****************************************************************/
@media only screen and (max-width: 1680px) {
    
    #recentNewsCont h3, #upcomingEventsCont .nav-tabs .nav-link{
        font-size:0.9rem;
    }
    .empty i {
        font-size: 4rem;
    }
    a.iconPost > span {
        font-size: 2rem;
    }
    a.iconPost,
    a.iconPost:link {
        font-size: 1rem;
        padding: 1.5rem 2rem 1.5rem 3.5rem;
    }
        a.iconPost::after {
            font-size: 1.25rem;
            bottom: 1.25rem;
        }
    a.iconPost time{
        font-size:0.9rem;
    }
    .bottomLinks a, 
    .bottomLinks a:link{
        font-size:0.9rem;
    }
    
    .empty p {
        font-size: 1rem;
    }   
    
}

@media only screen and (max-width:1330px) {
    /*.activePopupAlert .frmSearch {
        top: 22rem;
    }
    .frmSearch button[type="submit"] {
        right: 0.2rem;
    }*/
}


@media only screen and (max-width:1190px) {
    /*.frmSearch {
        top: 250px;
    }
    .activePopupAlert .frmSearch {
        top: 20rem;
    }*/
    #recentNewsCont h3, #upcomingEventsCont .nav-tabs .nav-link {
        font-size: 0.8rem;
        letter-spacing:1px;
    }
    main #upcomingEventsCont.col-sm {
        padding-bottom: 3rem;
        padding-left: 1.5rem;
    }
    main #recentNewsCont.col-sm {
        padding-bottom: 3rem;
        padding-right: 1.5rem;
    }
}

@media only screen and (max-width:1024px) {
    
}

@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%;
    }
    main #recentNewsCont.col-sm {        
        padding-bottom: 3rem;
        padding-right: 0.5rem;
    }
    main #upcomingEventsCont.col-sm {        
        padding-bottom: 3rem;
        padding-left: 0.5rem;
    }
    #recentNewsCont .bottomLinks {
        padding-right: 1rem;
        padding-left: 1rem;
    }
    #upcomingEventsCont .bottomLinks {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .bottomLinks a, .bottomLinks a:link {
        font-size: 0.8rem;
        letter-spacing:1px;
    }
}

@media only screen and (max-width:850px) {    
    main #recentNewsCont.col-sm {
        padding-bottom: 3rem;
        padding-right: 1rem;
        max-width:100%;
        flex-basis:auto;
        margin-bottom:1rem;
    }

    main #upcomingEventsCont.col-sm {
        padding-bottom: 3rem;
        padding-left: 1rem;
        max-width: 100%;
        flex-basis: auto;
    }

    /*#recentNewsCont  {
        margin-bottom: 2rem;
    }*/
    /*main .col-sm {
        padding-bottom: 0;
    }*/
    /*.bottomLinks {
        position: static;
        bottom: auto;
        left: auto;
        right: auto;
        padding-left: 0;
        padding-right: 0;
        margin-top: 2rem;
    }*/
    .empty i {
        font-size: 3rem;
    }
    .empty p {
        font-size: 0.85rem;
    }
    a.iconPost > span {
        font-size: 1.5rem;
    }
    a.iconPost, a.iconPost:link {
        font-size: 0.9rem;
        padding: 1rem 2rem 1rem 2.5rem;
    }
        a.iconPost::after {
            font-size: 1rem;
            bottom: 0.75rem;
        }
        a.iconPost time {
            font-size: 0.8rem;
        }
    .bottomLinks a, .bottomLinks a:link {
        font-size: 0.7rem;
        letter-spacing: normal;
    }
     
    
   
}

@media only screen and (max-width:785px) {
    header.masterHeader {
        position: static !important;
    }

    
}

@media only screen and (max-width:680px) {    
    #recentNewsCont h3, #upcomingEventsCont .nav-tabs .nav-link {
        font-size: 1rem;
        letter-spacing:normal;
    }
}

@media only screen and (max-width:600px) {
    /*.frmSearch input[type="search"] {
        font-size: 0.8rem;
    }
    .frmSearch button[type="submit"] {
        font-size: 0.9rem;
    }*/


    #recentNewsCont a.iconPost.postBG,
    #recentNewsCont a.iconPost.postBG:link {
        float: none;
        width: 100%;
        margin-bottom: 1px;
    }
}

@media only screen and (max-width:580px) {
    /*.frmSearch {
        top: 190px;
    }
    .activePopupAlert .frmSearch {
        top: 230px;
    }*/
	 #recentNewsCont h3, #upcomingEventsCont .nav-tabs .nav-link {
        font-size: .8rem;
        letter-spacing:normal;
    }
}

@media only screen and (max-width:400px) {
    /*.bottomLinks a, 
    .bottomLinks a:link {
        float: none;
        max-width: 200px;
        font-size: 0.7rem;
        color: rgb(255,255,255);
        text-align: center;
        display: block;
        padding: 0.6rem 1.5rem;
        margin: auto;
        -webkit-border-radius: 0.5rem;
        -moz-border-radius: 0.5rem;
        border-radius: 0.5rem;
        -webkit-transition-property: background;
        -moz-transition-property: background;
        -o-transition-property: background;
        transition-property: background;
        background: rgb(1,138,182);
    }
    .bottomLinks a:visited {
        color: rgb(255,255,255);
    }
    .bottomLinks a:hover {
        background: rgb(252,176,64);
    }
    .bottomLinks a:first-of-type {
        margin-bottom: 0.1rem;
    }
    .bottomLinks a:last-of-type {
        float: none;
    }
    .bottomLinks a:before {
        color: inherit;
    }*/


    /*.frmSearch {
        top: 170px;
    }
    .activePopupAlert .frmSearch {
        top: 200px;
    }*/
}
