/*a.iconPost time:before,
.bottomLinks a:before {
    content: "\f10c";
    font-family: fontawesome;
    font-size: inherit;
    font-weight: normal;
    font-style: normal;
    color: inherit;
    display: inline-block;
    margin-left: 0.5rem;
}*/ 
.bottomLinks a:before {
    content: "\f10c";
    font-family: 'Font Awesome 5 Pro';
    font-size: inherit;
    font-weight: normal;
    font-style: normal;
    color: inherit;
    display: inline-block;
    margin-left: 0.5rem;
}

main {
    padding: 1rem 0 2rem;
}
main .col-sm {
    min-width: 50%;
    padding-bottom: 3rem;
}

header.masterHeader {
    position: absolute !important;
    width: 100%;
    -webkit-box-shadow: 0 1px 15px rgba(0,0,0,0.5);
    -moz-box-shadow: 0 1px 15px rgba(0,0,0,0.5);
    box-shadow: 0 1px 15px rgba(0,0,0,0.5);
}

.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;
}

main .container h3 {
    font: normal 700 2.5em 'droid_serifitalic', serif;
    padding-bottom: 1rem;
    padding-top: 1rem;   
}
main .container h3 span{
    font-family:"Roboto",sans-serif;    
    font-weight:300;
}

a.iconPost,
a.iconPost:link {
    position: relative;        
    display: block;
}
#localNewsCont a.iconPost:visited {
    color: rgb(255,255,255);
}

#localNewsCont a.iconPost:hover {
    color: rgb(38,50,56);
}

#localNewsCont a.iconPost:active {
    color: rgb(38,50,56);
}
#localNewsCont a.iconPost {
    color: rgb(255,255,255);
    background: #439944;
    border: 1px solid rgb(176,180,184);
}   
#localNewsCont a.iconPost .newsTitle{
    padding:1rem;
}

    #localNewsCont a.iconPost h4 {
        font: normal 500 1.375em 'Roboto', Arial, sans-serif;
        color: inherit;
        margin-bottom: 0;
        line-height: 27px;
        height: 2.5em;
        text-overflow: ellipsis;
        white-space: normal;
        overflow: hidden;
    }
    #localNewsCont a.iconPost time {
        font: normal 1.063em 'droid_serifregular';
        color: inherit;
        text-transform: uppercase;
    }
#upcomingEventsCont .eventBlock {
    border: 1px solid rgb(176,180,184);
}
#upcomingEventsCont .eventBlock .eventTitle {
    background: #01579b;
    color: rgb(255,255,255);
    position: relative;
    padding: 1em 1em 1em 4.5em;
}
    #upcomingEventsCont .eventBlock .eventTitle span {
        font: normal 500 0.9em "Roboto", Arial, sans-serif;
        position: relative;
        display: block;
        text-transform: uppercase;
    }
    #upcomingEventsCont .eventBlock .eventTitle time {
        font: normal 1.125em "droid_serifregular";
        text-transform: uppercase;
        position: relative;
        display: block;
    }
    #upcomingEventsCont .eventBlock .eventTitle i {
        position: absolute;
        top: 20%;
        left: 20px;
        font-size: 2.5em;
        margin-left: 0px;
    }
    #upcomingEventsCont .eventBlock a.iconPost {
        color: rgb(44,69,117);
        background: #ebf1f4;
        padding: 2em;
    }
    #upcomingEventsCont .eventBlock a.iconPost h4 {
        font: normal 500 1.375em "Roboto", Arial, sans-serif;        
        line-height: normal;
        margin-bottom: 1rem;
        line-height: 27px;
        height: 2.5em;
        text-overflow: ellipsis;
        white-space: normal;
        overflow: hidden;
    }
    #upcomingEventsCont .eventBlock a.iconPost span {
        font: normal 500 1.125rem "Roboto", Arial, sans-serif;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    #upcomingEventsCont .eventBlock a.iconPost i {  
        font-weight:500;
        margin-left:0.8rem;
        display:inline-block;      
    }
    #upcomingEventsCont .eventBlock a.iconPost:visited {
        color: rgb(44,69,117);
    }

    #upcomingEventsCont .eventBlock a.iconPost:hover {
        color: rgb(241,177,32);
    }

    #upcomingEventsCont .eventBlock a.iconPost:active {
        color: rgb(241,177,32);
    }


#localNewsCont .bottomLinks a:first-of-type:before {
    content: "\f0c5";
    font-weight: 700;
}

#localNewsCont .bottomLinks a:last-of-type:before {
    content: "\f044";
}

#upcomingEventsCont .bottomLinks a:first-of-type:before {
    content: "\f133";
}

#upcomingEventsCont .bottomLinks a:last-of-type:before {
    content: "\f044";
}



/*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:before {
   /* content:"\f017";
    margin-left: 0;
    margin-right: 0.5rem;*/
}
a.iconPost time span {
    display: inline-block;
    margin-right: 0.5rem;
}

/*a.iconPost i {
    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;
}*/


.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(38,50,56);
    display: inline-block;
}
.empty a:visited,
.bottomLinks a:visited{
    color: rgb(38,50,56);
}
    .empty a:hover,
    .bottomLinks a:hover {
        color: rgb(241,177,32);
    }
    .empty a:active,
    .bottomLinks a:active {
        color: rgb(241,177,32);
    }
    .empty a:focus,
    .bottomLinks a:focus {
        color: rgb(241,177,32);
    }

.bottomLinks {   
    position: absolute;
    top: 33px;
    /*left: 0;*/
    right: 0;
    padding: 0 ;
    margin-bottom: 0;
}

    .bottomLinks a,
    .bottomLinks a:link {
        float: left;
        font: 500 1.125rem 'Roboto';
        text-transform: uppercase;
        padding: 0 1.9rem;
    }


    .bottomLinks a:last-of-type {
        /* float: right;*/
        padding-left:0;
        padding-right: 1rem;
    }

.bottomLinks a:before {   
    margin-left: 0;
    margin-right: 0.5rem;
}




/****************************************************************
MEDIA QUERY
****************************************************************/
@media only screen and (max-width: 1680px) {
  
    .empty i {
        font-size: 4rem;
    }
    a.iconPost, 
    a.iconPost:link,
    .bottomLinks a, 
    .bottomLinks a:link,
    a.iconPost time,
    .empty p {
        font-size: 1rem;
    }
    main .container h3 {
        font-size:2.250rem;
    }
    #localNewsCont a.iconPost h4, #upcomingEventsCont .eventBlock a.iconPost h4 {
        font-size: 1.150rem;
        line-height: 22px;
    }
    #localNewsCont a.iconPost time {
        font-size:0.9rem;
    }
    #upcomingEventsCont .eventBlock a.iconPost span{
        font-size:0.9rem;
    }
}

@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;
    }
}



@media only screen and (max-width:1024px) {
    main .container h3 {
        font-size: 1.750rem;
    }
    a.iconPost, a.iconPost:link, .bottomLinks a, .bottomLinks a:link, a.iconPost time, .empty p {
        font-size: 0.85rem;
    }
    .bottomLinks {       
        top: 28px;        
    }
}

@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%;
    }
}

@media only screen and (max-width:850px) {
    main .col-sm {
        flex-basis: auto;
    }

    #localNewsCont {
        margin-bottom: 2rem;
    }
    main .col-sm {
        padding-bottom: 0;
    }
   
    .empty i {
        font-size: 3rem;
    }
    a.iconPost, 
    a.iconPost:link, 
    .bottomLinks a, 
    .bottomLinks a:link, 
    a.iconPost time, 
    .empty p {
        font-size: 0.85rem;
    }
    a.iconPost i {
        font-size: 1.1rem;
    }
}

@media only screen and (max-width:785px) {
    /*header.masterHeader {
        position: static !important;
    }*/

    .frmSearch {
        top: 220px;
    }
    .activePopupAlert .frmSearch {
        top: 240px;
    }
    .frmSearch input[type="search"] {
        font-size: 0.9rem;
    }
    .frmSearch button[type="submit"] {
        font-size: 1rem;
    }
    .frmSearch button[type="submit"] {
        right: 0.6rem;
    }
}
@media only screen and (max-width:767px){
    #localNewsCont a.iconPost img{
        width:100%;
    }
    #localNewsCont a.iconPost {        
        margin-bottom: 1rem;
    }
    #upcomingEventsCont .eventBlock {        
        margin-bottom: 1rem;
    }
    .bottomLinks {
        position: static;
        bottom: auto;
        left: auto;
        right: auto;
        padding-left: 0;
        padding-right: 0;        
        margin:0 auto;
    }
    .bottomLinks a,
    .bottomLinks a:link {
        float: none;       
        font-size: 0.7rem;
        color: rgb(255,255,255);
        text-align: center;
        display: block;
        padding: 0.6rem 1.5rem;
        margin: auto;       
        -webkit-transition-property: background;
        -moz-transition-property: background;
        -o-transition-property: background;
        transition-property: background;
        background: rgb(38,50,56);
    }

        .bottomLinks a:first-of-type {
            margin-bottom: 1rem;
        }

        .bottomLinks a:visited {
            color: rgb(255,255,255);
        }

        .bottomLinks a:hover {
            background: rgb(252,176,64);
        }

        .bottomLinks a:last-of-type {
            float: none;
        }

        .bottomLinks a:before {
            color: inherit;
        }

}
@media only screen and (max-width:680px) {
    
}

@media only screen and (max-width:600px) {
    .frmSearch input[type="search"] {
        font-size: 0.8rem;
    }
    .frmSearch button[type="submit"] {
        font-size: 0.9rem;
    }
}

@media only screen and (max-width:580px) {

    .frmSearch {
        top: 190px;
    }
    .activePopupAlert .frmSearch {
        top: 230px;
    }
}

@media only screen and (max-width:400px) {
    

    .frmSearch {
        top: 170px;
    }
    .activePopupAlert .frmSearch {
        top: 200px;
    }
}