@media(min-width: 768px) {
  .t4-main-body {
    padding-top:0rem;
    padding-bottom:3rem
  }
}

.tmpl-header {
  height: 336px;
}

.bg-flag {
    background-image: url('../../../../images/header-bg2.png');
    background-repeat: no-repeat;
    background-position: right center;
}

.tmpl-sitename {
    /*height: 165px;*/
    color: #fff;
    font-weight: 500;
    background-color: RGBa(9,58,95,.65);
}

.header-top .mobile .custom {
    margin-left: 0;
}

.tmpl-header-line-panel {
    height: 48px;
    background-color: RGBa(9,58,95,.66);
}

.tmpl-header-line-panel a {
    padding: 0 12px;
    height: 24px;
    margin: 12px 0;
}

.tmpl-header-line-panel .addr-text {
    height: 24px;
    margin: 12px 0;
    display: inline-block;
}

.tmpl-header-line-panel .addr-text a {
    padding: 0;
}

#t4-header header .header-bottom {
    background-color: #0c436e;
    border-radius: 4px;
}

#t4-header header .header-bottom a {
    color: #fff;
}

#t4-header header .header-bottom .navbar {
    padding: 0 16px;
}

.topbar-r .navbar {
    padding-top: 0;
}

.topbar-r .navbar .navbar-nav {
    flex-direction: row;
}

i.item-caret {
    border-top-color: var(--t4-light-bg-subtle) !important;
}

i.item-caret::before {
    border-top: 4px solid var(--t4-light-bg-subtle) !important;
}

nav .dropdown-menu a.dropdown-item {
    color: #000 !important;
}

.navbar-toggler {
    color: #fff;
}

@media (max-width: 575.98px) {
    #t4-header header .header-bottom a {
        color: #000;
        margin-bottom: .7em;
    }
}

@media (max-width: 575.98px) {
    i.item-caret {
        border-top-color: var(--t4-dark) !important;
    }

    i.item-caret::before {
        border-top: 4px solid var(--t4-dark) !important;
    }
}

.custom-header-b .header-top {
    background-color: rgba(var(--t4-border-color-translucent), var(--t4-bg-opacity)) !important;
    border-bottom: none !important;
}

#t4-megamenu-mainmenu .menu-item-title {
    font-size: 1.3rem !important;
    font-weight: normal;
}

#t4-megamenu-mainmenu .dropdown-menu-inner span.menu-item-title {
    font-size: 1rem !important;
    border-bottom: #ccc;
}

.t4-section.t4-breadcrumbs {
    border-top: none;
}

.custom-header-b {
    border-bottom: none;
}

.custom-header-b header {
    background-image: url('../../../../images/header-bg2.png');
    background-repeat: no-repeat;
    background-position: right top;
}

.bg2 {
    background-image: url('../../../../images/header-bg3.png');
    background-position: calc(50vw - 712px) 380px;
    background-repeat: no-repeat;
    position: absolute;
    height: 100%;
    width: 100%;
}

div.item-intro img:first-of-type,
div.article-body > p:first-child > img:first-of-type {
    object-fit: cover;
    width: 150px;
    height: 115px;
}

.plg-photogallery {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: -6px;
    margin-right: -6px;
    margin-bottom: 12px;
}

.plg-photo {
    margin: .5rem !important;
}

.plg-photo img {
    width: 100%;
    height: 216px;
    object-fit: cover;
    border: 1px solid #9ea1a9;
    box-shadow: 0 0 0 4px #fff, 0 0 0 5px #9ea1a9;
    margin-right: .5rem !important;
    margin-left: .5rem !important;
}

.logo-image .logo-img {
    max-width: none;
}

.active > .page-link {
    background-color: #0c436e;
    border-color: #0c436e;
}

p.readmore .btn:hover,
p.readmore .blog-list .item-readmore a:hover,
.blog-list .item-readmore p.readmore a:hover,
p.readmore .btn:active,
p.readmore .blog-list .item-readmore a:active,
.blog-list .item-readmore p.readmore a:active,
p.readmore .btn:focus,
p.readmore .blog-list .item-readmore a:focus,
.blog-list .item-readmore p.readmore a:focus {
    background-color:#0c436e;
    color:#fff
}

#proofreaderModal .modal-body {
    padding-left: 1em;
    padding-right: 1em;
}

#proofreaderModal textarea {
    max-width: 100%;
}

#proofreaderModal .control-group {
    margin-top: 1rem !important;
}

.form-control {
    max-width: 50%;
}

div.awesomplete {
    margin-bottom: .5rem;
    margin-right: .5rem;
    width: 50%;
}

div.awesomplete #q {
    max-width: 100%;
}

@media (max-width: 767.98px) {
    div.awesomplete {
        margin-bottom: .5rem;
        margin-right: .5rem;
        width: 100%;
    }

    #contact-form input, #contact-form textarea {
        max-width: 100%;
    }

    #contact-form input, #contact-form textarea {
        max-width: 100%;
    }

    #contact-form .control-group .control-label {
        float: none;
    }

    #contact-form .control-group .controls {
        margin-left: auto;
    }
}

.component, .breadcrumb {
    font-size: 1.1em;
}

p.readmore {
    clear: both;
    padding-left: 5px;
}
