html {
    overflow-y: scroll;
}

body {
    color: #555;
}
::selection {
  background: #B0064B;
  color: #fff;
}
::-moz-selection {
  background: #B0064B;
  color: #fff;
}
header {
    padding: 5px 0;
    font-size: 12px;
}

header a {
    color: #103151;
    font-size: 28px;
}

nav {
    position: relative;
    z-index: 100;
    box-shadow: none;
    border-bottom: 1px solid #ccc;
    height: 50px;
    line-height: 50px;
}

nav ul a {
    font-weight: 300;
    letter-spacing: 1px;
    padding: 0 10px;
    text-transform: uppercase;
    line-height: 50px;
}

td, th {
    padding: 5px;
    /*outline: 1px solid #ddd;*/
}

a:active, a:hover {
    color: #C60751;
}
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    text-align: left;
}
h1 {
    font-size: 2rem;
}
.no-margin {
    margin: 0;
}

#logo-container img {

}

#logo-container h2 {

}


nav ul li ul li a {
    background: #7CB342;
    color: #fff;
}

nav ul li ul li.active a {
    background: #33691E;
    color: #fff;
}
#logo-container {
    padding: 10px 0;
    display: block;
}

ul.nav.menu {

}

.item-page img, .items-leading img {
    /*width: 100%;
    height: auto;*/
}

.full-section {
    padding: 0;
    z-index: 1;
}

.page-footer {    
    padding-bottom: 30px;
}
footer a {
    color: #fff;
}
.page-footer .footer-copyright {
    background-color: #1f4866;
}
.page-footer .moduletable {
    float: right;
    padding: 0 10px;
}

.material-icons {
    vertical-align: middle;
    line-height: inherit !important;
}

.btn-small {
    font-size: 12px;
    height: 25px;
    line-height: 16px;
    margin: 0;
    padding: 5px 10px;
}

.text-center {
    text-align: center;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: rgba(0, 0, 0, 0.65);
}
::-moz-placeholder { /* Firefox 19+ */
    color: rgba(0, 0, 0, 1);
}
:-ms-input-placeholder { /* IE 10+ */
    color: rgba(0, 0, 0, 0.65);
}
:-moz-placeholder { /* Firefox 18- */
    color: rgba(0, 0, 0, 1);
}

b, strong {
    font-weight: 400;
}

ul.latestnews li {
    margin-bottom: 10px;
    
    font-size: 0.9rem;
    border-bottom: 3px solid #ECEFF1;
}
.item-page {
    text-align: justify;
    font-weight: 300;
}
.item-page h2 {
	font-weight: 300;
}
.item-page h3 {
    font-weight: 300;
    letter-spacing: -1px;
    font-size: 1.5rem;
}
.item-page h3 strong {
    font-weight: 300;
}

.items-row h2 {
    font-weight: 300;
    font-size: 1.7rem;
    margin: 0;
    color: #0D2B4B;
    text-align: left;
}
.readmore .btn {
    font-size: 0.8rem;
}
.blog {
    text-align: justify;
}
.blog .item {
    font-weight: 300;
}


.article-date {
    background-color: #c60751;
    border-radius: 3px;
    color: #fff;
    float: right;
    padding: 5px;
    width: 55px;
}
.article-date-day {
    font-size: 2rem;
    line-height: 2rem;
    text-align: center;
}
.article-date-month-year {
    font-size: 0.8rem;
    letter-spacing: -1px;
    text-align: center;
}
.moduletable h3 {
    margin: 0;
}


ul.sigFreeClassic li.sigFreeThumb {
    margin: 0 -1px 1px 0px;
}
ul.sigFreeClassic li.sigFreeThumb a.sigFreeLink {
    border: 1px solid #fff !important;
}
nav ul a {
    font-size: 0.9rem;
}

.clr {
	clear: both;
}

.page-header {
	/*padding: 15px 0;*/
    letter-spacing: -1px;
}
.social-menu {
    height: 50px;
}
.social-menu a {
    font-size: 28px;
    line-height: 20px;
    padding: 0 10px;
    margin-left: -10px;
}
.social-menu .fa {
    line-height: 50px;
    height: 50px;
}
.social-menu a div {
    font-size: 14px;
    padding: 15px 5px;
    float: right;
}
.m0 {
    margin: 0;
}
.img-fluid {
    width: 100%;
    height: auto;
}
.centered .materialboxed {
    margin: 0 auto;
}

.article-title .page-header {
    padding: 0;
}
.article-title h2 {
    margin-bottom: 10px;
}


.item-page h2 {
    font-size: 2rem;
    color: #5890B1;
}

/* Joomla 6 renders the article title as a configurable heading (h1 by default).
   Keep the original ERA look (h2 style) regardless of the tag used. */
.item-page .page-header h1,
.item-page .page-header h2,
.com-content-article .page-header h1 {
    font-size: 2rem;
    color: #5890B1;
    font-weight: 300;
    margin-top: 0;
}

.gallery img {
    float: left;
    padding: 0.25%;
    width: 25%;
    height: auto;
}
.clr {
    clear: both;
}

.side-nav li.active {
    background-color: rgb(196, 2, 73);
}
.side-nav li > a:hover {
    background-color: rgb(196, 2, 73);
}

h2.ui.header {
    font-size: 2rem !important;
    font-weight: 300;
    color: #5890B1 !important;
}
.sub.header {
    margin-top: 10px !important;
    color: #444 !important;
}

nav a.button-collapse {
    color: rgb(196, 2, 73);
}

.ui.message.success {
    background: none !important;
    border: none !important;
    font-size: 2rem !important;
    font-weight: 300;
    color: #5890B1 !important;
    box-shadow: none !important;
    padding: 0 !important;
}












@media (max-width: 768px) {
    nav {
        position: inherit;
        z-index: 2;
    }
    nav .brand-logo {
        left: 65px;
        transform: translateX(0px);
    }
    #logo-container img {
        position: inherit;
        height: 75px;
    }
    #logo-container h2 {
        font-size: 1.5rem;
        margin: 16px 10px 16px 98px;
    }
    nav .container {
        width: 100%;
    }    
    .gallery img {
        float: left;
        padding: 0.25%;
        width: 49.5%;
        height: auto;
    }
    .social-menu a {
        padding: 0 10px;
        font-size: 20px;
    }
    .social-menu a div {
        font-size: 12px;
    }

}

@media (min-width: 1200px) {


}

@media (max-width: 1199px) {
 .social-menu a div {
        font-size: 12px;
        padding: 15px 0px;
        float: right;
        letter-spacing: 0;
    }
}

@media (max-width: 600px) {

}
@media (max-width: 992px) {

}
@media (min-width: 1170px) {

}

/* ===== ERA-style pagination ===== */
.pagination-list {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    list-style: none;
}
.pagination-list li {
    display: inline-block;
    height: 30px;
    border-radius: 2px;
    text-align: center;
    vertical-align: top;
}
.pagination-list li a {
    color: #444;
    display: inline-block;
    font-size: 1rem;
    padding: 0 10px;
    line-height: 30px;
    cursor: pointer;
}
.pagination-list li.active {
    background-color: #C60751;
}
.pagination-list li.active a {
    color: #fff;
}
.pagination-list li.disabled a {
    color: #bbb;
    cursor: default;
}
.pagination-list li a i {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 30px;
    vertical-align: middle;
    text-transform: none;
    letter-spacing: normal;
}
.pagination-list li a i.icon-first::before { content: 'first_page'; }
.pagination-list li a i.icon-previous::before { content: 'chevron_left'; }
.pagination-list li a i.icon-next::before { content: 'chevron_right'; }
.pagination-list li a i.icon-last::before { content: 'last_page'; }

/* ===== Back-to-top button ===== */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background-color: #C60751;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#back-to-top.show {
    opacity: 1;
    visibility: visible;
}
#back-to-top:hover {
    background-color: #103151;
}

/* Blog pagination: page numbers (left) and "Page X of Y" counter (right) on one row */
.com-content-category-blog__navigation {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.com-content-category-blog__navigation .com-content-category-blog__counter {
    margin: 0;
    padding: 0;
    float: none;
    color: #555;
}
.com-content-category-blog__navigation .com-content-category-blog__pagination {
    margin: 0;
}
.com-content-category-blog__navigation .pagination-list {
    margin: 10px 0;
}