/*
 Theme Name:   www.m7-m9-interchange-ruamphathana-rd34.com
 Theme URI:    www.m7-m9-interchange-ruamphathana-rd34.com
 Description:  www.m7-m9-interchange-ruamphathana-rd34.com
 Author:       Yosaki
 Author URI:   yoskai.com
*/

*,
::before,
::after {
    box-sizing: border-box;
}



@font-face {
    font-family: 'heavent';
    src: url('fonts/DB_Heavent.ttf') format('truetype'), url('fonts/DB_Heavent.woff') format('woff'), url('fonts/DB_Heavent.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'heavent';
    src: url('fonts/DB_Heavent_Bd.ttf') format('truetype'), url('fonts/DB_Heavent_Bd.woff') format('woff'), url('fonts/DB_Heavent_Bd.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5 {
    line-height: 1.2em;
    margin: 10px 0;
    font-family: heavent;
}

p {
    line-height: 1.2em;
    margin: 10px 0;
}

h1 {
    font-size: 35px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 30px;
}

p {
    font-size: 16px;
}

.read-more {
    font-size: 22px;
}

div,
section {
    overflow: visible;
}

header {
    background-size: cover;
}

footer {
    overflow: visible;
    padding: 20px;
    position: relative;
    z-index: 999;
}

header a,
footer a {
    color: #fff;
}

.menu-fixed {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 999;
    visibility: hidden;
    transition: visibility 0s, opacity 0.5s linear;
    filter: alpha(opacity=0);
    opacity: 0;
    transition: all 1s ease;
}

.menu-fixed.moved {
    padding: 10px 0 0;
    filter: alpha(opacity=100);
    opacity: 1;
    visibility: visible;
}

.menu-fixed.moved nav.topnav div.menu-primary-container {
    padding: 0;
    width: auto;
}

.menu-fixed.moved div.menu-primary-container ul li a {
    min-width: 0;
}

.menu-fixed.moved .social-menu {
    display: none;
}


/* @group CSS Reset - DO NOT TOUCH */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: normal;
}

ol,
ul {}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

blockquote.paddingleft {
    float: left;
    margin-right: 3% !important;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

sup {
    font-size: 75%;
    vertical-align: baseline;
}

small {
    font-size: 0.714em;
    /* 10px */
}


/* @end */

a {
    color: #008fd3;
    text-decoration: underline;
}

a:hover {
    color: #006b9e;
}

body h1 {
    color: #22465e;
}


/* Colored text */

.blue {
    color: #0083de;
}

.red {
    color: #b90000;
}

body {
    background: #0e3d7d;
}


/* Add borders for elements */

.rightborder {
    border-right: 1px solid #ebebea;
}

div#top-banner {
    background: url('images/top_header.png') no-repeat left top transparent;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 150px;
    z-index: 5;
}

div#bottom-banner {
    background: url('images/bottom_banner.png') no-repeat right bottom transparent;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 150px;
    z-index: 5;
    background-size: 100% 100%;
}

/* Back to top anchor link */

#top-anchor {
    position: fixed;
    right: 20px;
    bottom: 20px;
    text-align: center;
    display: none;
    background: #080808;
    padding: 0 8px 8px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

#top-anchor:hover {
    background: #2e2e2e;
}

#top-anchor a {
    color: #e1e1e1;
    text-decoration: none;
}

#top-anchor a:hover {
    color: #e1e1e1;
}

#top-anchor .fas {
    font-size: 2em;
}

#top-anchor p {
    font-size: 0.15em;
    /* 9px */
    text-decoration: underline;
    margin-top: -5px;
    margin-bottom: 5px;
}


/* Bootstrap carousels */

.carousel-control-next,
.carousel-control-prev {
    text-decoration: none;
}


/* Apply class "clear" to container with floated elements to clear */

.clear:before,
.clear:after {
    content: "";
    display: table;
}

.clear:after {
    clear: both;
}

.clear {
    zoom: 1;
    /* For IE 6/7 (trigger hasLayout) */
}


/* Longs Drugs bug in nav bar */

.longs-bug-topnav {
    display: inline-block;
    text-indent: -9999px;
    background: url(../images/longs-drugs-logo.png) top left no-repeat;
    width: 96px;
    height: 20px;
}


/* Longs Drugs bug in hamburger menu */

.longs-bug-menu {
    font-size: 0.778em;
    /* 12px */
    margin-top: 30px;
}

.longs-bug-menu a {
    color: #ffe600;
    text-decoration: none;
}

.hamburger-slide {
    font-size: 24px;
}


/* @group Navigation Menus */

.topnav {
    transition: all;
}

.topnav a {
    text-decoration: none;
    color: #fff;
}

.topnav a:hover,
.topnav a.subscribe:hover {
    color: #fff;
}

.topnav ul li {
    list-style-type: none;
    display: inline-block;
    margin: 0;
}

#bigSize {
    font-size: 6em;
}

/* Add search icon */

.topnav-search a:before {
    content: "\f002";
    padding-right: 4px;
}

.collapse {
    display: none;
}

.collapse.show {
    display: block;
}

#menu-primary>li {
    position: relative;
    border: 0px solid #fff;
    padding: 0px 4px;
    flex: auto;
    -webkit-flex: auto;
    -ms-flex: auto;
    margin-left: 5px;
}

#menu-primary>li>a:first-child {
    display: inline-block;
    text-align: center;
    padding: 3px 10px;
}

#menu-primary>li>a:first-child i {
    display: none;
}

#menu-primary>li>a#btn-1 {
    padding-right: 0px;
}

#menu-primary>li.current_page_item {
    position: relative;
}

.moved #menu-primary>li.current_page_item::after {
    opacity: .7;
}

#menu-primary>li.current_page_item,
#menu-primary>li:hover {
    background: transparent;
}

#menu-primary ul.sub-menu {
    z-index: 999;
    border: 0px solid #ccc;
    position: absolute;
    padding: 0px 0;
    left: 0;
    min-width: 200px;
    width: 100%;
    background: rgba(59, 99, 194, 0.5);
}

#menu-primary ul.sub-menu li {
    border: 1px solid #fff;
    display: block;
    padding: 5px 0;
    width: 100%;
}

#menu-primary ul.sub-menu li:hover {
    background: transparent;
}

#menu-primary ul.sub-menu li:hover a {
    color: #fff !important;
}

#menu-primary ul.sub-menu li a {
    color: #fff;
    padding: 3px 5px;
    display: block;
    font-size: 18px;
    font-weight: 400;
}

#menu-primary ul.sub-menu li a:hover,
#menu-primary ul.sub-menu li:hover a {
    text-decoration: underline;
    color: #333;
}

#menu-primary ul.sub-menu.show ul.sub-menu.show {
    left: 195px;
    top: 0;
}

#menu-primary ul.sub-menu li a.toggle-custom {
    float: right;
    margin-top: -30px;
    transform: rotate(-90deg);
}

.moved #menu-primary ul.sub-menu.show ul.sub-menu.show {
    left: 148px;
}

i.fab.fa-facebook-square {
    font-size: 24px;
    background: #fff;
    padding-left: 2px;
    padding-right: 2px;
    color: #475993;
}

.moved {
    position: fixed !important;
    left: 0;
    right: 0;
    top: 0;
    z-index: 999;
}

.topnav.moved {
    background: rgba(0, 0, 0, 0.8);
    bottom: unset !important;
}

.moved>.row {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    align-items: center;
}

.moved .social-menu {
    display: none;
}

.moved #header-image {
    width: 290px;
}

.moved #main-menu {
    width: auto;
    flex: auto;
    ms-flex: auto;
    margin-top: 5px !important;
}

.moved #menu-primary {
    margin-top: 0 !important;
}

.moved #menu-primary>li {
    padding: 0;
}

.moved #menu-primary>li>a:first-child {
    min-width: 0;
    padding: 3px 5px;
}

.carousel-control-next,
.carousel-control-prev {
    background: rgba(0, 0, 0, 0);
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 40px;
    height: 40px;
}

.myblack-bg {
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
}


/* Slide-in Menus */

#slide-menu,
#slide-user-menu {
    width: 350px;
    height: 100%;
    position: fixed;
    top: 0;
    background: #2e2e2e;
    padding: 20px 25px 25px;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    z-index: 51;
    font-size: 1.125em;
    /* 18px */
}

#slide-menu ul li,
#slide-user-menu ul li {
    list-style-type: none;
}

#slide-menu ul li a,
#slide-user-menu ul li a {
    color: #e1e1e1;
    font-weight: bold;
    text-decoration: none;
}

#slide-menu ul li a:hover,
#slide-user-menu ul li a:hover {
    color: #fff;
}

#slide-menu hr,
#slide-user-menu hr {
    margin: 25px 0;
    border-top: 1px solid #383838;
}

#slide-menu.hidden {
    position: fixed;
    left: -1000px;
    top: 0;
    z-index: 999;
}

#slide-user-menu.hidden {
    position: fixed;
    right: -1000px;
    top: 0;
}


/* Bootstrap menu styles */

#slide-menu .nav {
    display: block;
    font-family: heavent;
}

#slide-menu .nav>li,
#slide-user-menu .nav>li {
    position: relative;
    display: block;
    width: 100%;
}

#slide-menu .nav>li>a,
#slide-user-menu .nav>li>a {
    position: relative;
    display: block;
    padding: 12px 10px;
    font-size: 24px;
}


/* Link hover background color */

#slide-menu .nav>li>a:hover,
#slide-user-menu .nav>li>a:hover {
    background: #000;
}

#slide-menu .toggle-custom,
#slide-user-menu .toggle-custom {
    position: absolute !important;
    top: 0;
    right: 0;
}


/* Collapsible sub-menu */

#slide-menu .collapse,
#slide-user-menu .collapse {
    display: none;
    visibility: hidden;
}

#slide-menu .collapse.show,
#slide-user-menu .collapse.show {
    display: block;
    visibility: visible;
}

#slide-menu .nav .nav,
#slide-user-menu .nav .nav {
    background: #000;
}

#slide-menu .nav .nav>li>a,
#slide-user-menu .nav .nav>li>a {
    padding-left: 20px;
    font-size: 0.889em;
    /* 16px */
    font-weight: normal;
    border-bottom: 1px solid #151515;
}

#slide-menu .nav .nav>li>a:hover,
#slide-user-menu .nav .nav>li>a:hover {
    background: #0b0b0b;
}

#slide-menu .toggle-custom>.fas,
#slide-user-menu .toggle-custom>.fas {
    -webkit-transition: .3s transform ease-in-out;
    -moz-transition: .3s transform ease-in-out;
    transition: .3s transform ease-in-out;
}

#slide-menu .toggle-custom.collapsed>.fas,
#slide-user-menu .toggle-custom.collapsed>.fas {
    transform: rotate(180deg);
}

.menu-close {
    color: #e1e1e1;
    text-decoration: none;
    font-size: 0.778em;
    /* 14px */
}

.menu-close:hover {
    color: #fff;
}


/* Hide dropdown toggle icon for notification icon */

#notice-icon.dropdown-toggle:after {
    display: none;
}


/* Hide mobile menus on desktop */

.mobile-menu,
#slide-user-menu {
    display: none;
}


/* Notifications icon */

#noti-counter.green {
    background: #1abb9c;
    font-size: 0.625em
        /* 10px */
    ;
    color: #fff;
    padding: 0 3px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}


/* Icons on thumbnails */

.thumbnail .icon {
    color: #e1e1e1;
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #080808;
    padding: 5px;
    opacity: 0.9;
    font-size: 0.75em;
    /* 12px */
}


/* @group Footer */

.footer {
    background: #22465E;
    color: #a7a7a7;
    font-size: 1.2em;
    font-family: heavent;
    /* 14px */
}

.footer a {
    color: #fff;
}

.footer a:hover {
    color: #fff;
}

.footer li {
    line-height: 1.5em;
    /* 24px */
}

.footer .social li {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.875em;
    /* 30px */
    line-height: normal;
}

.footer .fb:hover a {
    color: #3b5998;
}

.footer .tw:hover a {
    color: #1da1f2;
}

.footer .gplus:hover a {
    color: #ea4335;
}

.footer .ig:hover a {
    color: #c13584;
}

.footer .yt:hover a {
    color: #ff0000;
}

.footer .li:hover a {
    color: #0077b5;
}


/* @end */


/* @group Internet Explorer Adjustments */

.ie8 .topnav .row {
    max-width: none;
}

.ie8 .topnav .col-xl-8 {
    width: 66.666667%;
}

.ie8 .topnav .col-xl-4 {
    width: 33.333333%;
}


/* Account extra space for outdated browser alert */

.ie-alert {
    background: #fff3cd;
    color: #856404;
    text-align: center;
    padding: 10px;
    width: 100%;
    min-height: 40px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 52;
}

.ie .topnav {
    top: 40px;
}

.ie body {
    padding-top: 80px;
}

.clear {
    clear: both;
}

header ul {
    list-style: none;
}

i.fa.fa-facebook-square {
    font-size: 24px;
    background: #fff;
    padding-left: 2px;
    padding-right: 2px;
    color: #475993;
}

.footer p {
    color: #fff;
}

.pagination2 {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4em;
    z-index: 10;
}

.pagination2 a {
    display: block;
    height: 20px;
    margin-bottom: 5px;
    color: #19476E;
    position: relative;
    padding: 4px;
}

.pagination2 a.active:after {
    box-shadow: inset 0 0 0 5px;
}

.pagination2 a .hover-text {
    position: absolute;
    right: 15px;
    top: -5px;
    opacity: 0;
    -webkit-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
    padding-right: 15px;
    text-shadow: 1px 0 5px #fff;
}

.pagination2 a:hover .hover-text {
    opacity: 1;
}

.pagination2 a:after {
    -webkit-transition: box-shadow 0.5s ease;
    transition: box-shadow 0.5s ease;
    width: 10px;
    height: 10px;
    display: block;
    border: 1px solid;
    border-radius: 50%;
    content: '';
    position: absolute;
    margin: auto;
    top: 0;
    right: 4px;
    bottom: 0;
}

section.content {
    background: #fff;
}

section.home img.pined {
    margin-top: 0;
    height: auto;
    max-width: 350px;
    width: 40%;
}


section .header-content {
    position: absolute;
    left: 50px;
    top: 120px;
    width: 25%;
}

section .vertical-center {
    text-align: center;
    width: 100%;
    position: absolute;
    top: 47%;
    transform: translateY(-47%);
}

section .vertical-left {
    text-align: left;
    width: 50%;
    position: absolute;
    margin-top: 5%;
}

section .gallery0 {
    position: absolute;
    left: 30%;
    top: 80px;
    width: 60%;
}

div.container {
    position: relative;
}

section h1 {
    color: #19476E;
    font-weight: bold;
    font-family: heavent;
    padding-bottom: 0px;
    /*max-width:335px;*/
    font-size: 74px;
}

section h2 {
    font-weight: bold;
    font-family: heavent;
    color: #19476E;
    padding-bottom: 0px;
    font-size: 60px;
}

section article {
    font-family: heavent;
    font-size: 24px;
}

section h1 a {
    color: #19476E;
}

section h1 a:hover {
    color: #09274E;
}

section h3 {
    font-weight: 400;
    font-size: 36px;
    margin-bottom: 10px;
    color: #19476E;
    font-family: heavent;
}

section.panel h3 {
    font-size: 32px;
}

section>p {
    font-size: 22px;
    text-align: left;
    color: #19476E;
}

section p a {
    color: #19476E;
}

.blue h3,
.blue p {
    color: #fff !important;
}

section .content {
    position: absolute;
    width: 100%;
    top: 10%;
}

section.video .content {
    top: 0%;
    width: 100%;
    margin: auto;
    position: relative;
}

section.video .row>div {
    justify-content: center;
    align-self: center;
}

section.top .content {
    top: 0%;
    width: 100%;
    margin: auto;
    position: relative;
}

section.tri {
    background: #0E3D7D;
    color: #fff;
}

section.tri h1 {
    border-color: #fff;
    color: #fff;
}

section.tri h1 a {
    color: #fff;
}

section.tri h1 a:hover {
    color: #ccc;
}

.blue h1 a {
    color: #fff;
}

.blue h1 a:hover {
    color: #ccc;
}

div.flex {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}

div.flex article {
    flex-grow: 1;
    -webkit-flex-grow: 1;
}

article {
    overflow: hidden;
}

article div.title,
article p {
    word-wrap: break-word;
}

img.img-responsive {
    width: 100%;
    height: auto;
}

div.news article:first-child div.image img {
    border-radius: 0 0 0 50%;
    border-left: 8px solid #FAAF41;
    border-bottom: 8px solid #FAAF41;
}

div.news article:nth-child(2) div.image img {
    border-bottom: 8px solid #FAAF41;
}

div.news article:nth-child(2) div.image div.embed-responsive {
    border-bottom: 8px solid #FAAF41;
}

div.news article:last-child div.image div.embed-responsive {
    border-bottom: 8px solid #FAAF41;
}

div.news article:last-child div.image img {
    border-radius: 0 0 50% 0;
    border-right: 8px solid #FAAF41;
    border-bottom: 8px solid #FAAF41;
}

div.news article div.image {
    position: relative;
}

div.news article div.image::after {
    content: '•';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    color: #FAAF41;
    font-size: 140px;
    line-height: 35px;
}

div.news article:nth-child(2) div.image::after {
    bottom: -10px;
}


/*
article a.read-more {
    border: none;
    padding: 5px 10px;
    min-width: 100px;
    color: #fff;
    text-align: center;
    font-size: 18px;
    background: #282560;
    font-family: heavent;
    text-decoration: none;
    border-radius: 5px;
    display: block;
}

article.card {
    padding: 15px;
    border: 2px solid #0E3D7D;
    margin-right: 10px;
}

.row article.card:first-child {
    margin-left: 15px;
}

.row article.card .image {
    margin-bottom: 15px;
}

.row article.card .image img {
    max-width: 110px;
    margin: auto;
    display: block;
}

.row article.card.dd .image img {
    max-width: 180px;
}

.row article.card .title {
    margin-bottom: 20px;
}

.row article.card:last-child {
    margin-right: 0;
}

article.card h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.row article.card ul {
    text-align: left;
    padding-left: 40px;
}

.row article.card ul li {
    margin-bottom: 10px;
    font-size: 24px;
}

.row article.card ul li a {
    color: #19476E;
}

section article p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 22px;
    line-height: 1.2em;
    letter-spacing: 0.01em;
}
*/

div.view-all {
    position: absolute;
    right: 15px;
    top: 20px;
    background: #22465E;
    padding: 5px 10px;
    min-width: 100px;
    float: right;
    color: #22465E;
    text-align: center;
    font-size: 18px;
}

div.view-all a {
    text-decoration: none;
    color: #fff;
}

div.view-all a:hover {
    text-decoration: none;
    color: #ccc;
}

section.news div.content>div:nth-child(2) {
    background: #E5E5E5;
}

section.news div.left-bg {
    background: #19476E;
    width: 50%;
    left: 0;
    top: 0;
    bottom: 0;
    position: absolute;
}

section.news div.right-bg {
    background: #E5E5E5;
    width: 50%;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
}

.entry-content {
    padding: 0 0px;
    line-height: 1.5em;
}

.entry-content p {
    margin-bottom: 0px;
    clear: both;
    color: #000;
    margin-bottom: 1em;
    -webkit-line-clamp: initial;
    text-overflow: unset;
}

.entry-content p {
    text-align: justify;
    letter-spacing: 0.01em;
    font-size: 24px;
}

.entry-content p>img.aligncenter,
.entry-content>img.aligncenter {
    clear: both;
    margin: 20px auto;
    text-align: center;
    display: block;
}

.entry-content ul {
    padding-left: 40px;
    margin: 20px 0;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

.entry-content ul li {
    color: #000;
    font-family: heavent;
}

.entry-content table {
    border: 0px solid;
    width: 100%;
    margin: 20px auto;
    height: auto !important;
}

.entry-content table tr {
    border: 1px solid;
}

.entry-content table>thead>tr>th,
.entry-content table>tbody>tr>th,
.entry-content table>tfoot>tr>th,
.entry-content table>thead>tr>td,
.entry-content table>tbody>tr>td,
.entry-content table>tfoot>tr>td {
    border: 1px solid;
    padding: 5px;
}

blockquote {
    font-family: Georgia, serif;
    font-size: 24px;
    font-style: italic;
    width: 450px;
    margin: 20px 0;
    padding: 20px 40px;
    line-height: 1.45;
    position: relative;
    color: #383838;
    background: #ececec;
}

blockquote:before {
    display: block;
    content: "\201C";
    font-size: 80px;
    position: absolute;
    left: -10px;
    top: -10px;
    color: #7a7a7a;
}

blockquote cite {
    color: #999999;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

blockquote cite:before {
    content: "\2014 \2009";
}

section h1 a {
    text-decoration: none;
}

section h1 a:hover {
    text-decoration: none;
}

.blue {
    background: #19476E;
}

.blue h1 {
    color: #fff;
}

.blue p {
    color: #fff;
}

.blue article {
    color: #fff;
}

.blue a.read-more {
    color: #fff;
    border-color: #fff;
}

.grey {
    background: #E5E5E5;
}

.grey h1 {
    color: #19476E;
}

.grey article {
    color: #19476E;
}

#myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    height: auto;
    top: auto;
}


/* Back to top anchor link */

#top-anchor {
    z-index: 999;
    position: fixed;
    right: 20px;
    bottom: 20px;
    text-align: center;
    display: none;
    background: #000;
    border: 1px solid #fff;
    padding: 0 10px 5px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

#top-anchor:hover {
    background: #000;
    color: #fff;
}

#top-anchor a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
}

#top-anchor a:hover {
    color: #fff;
}

#top-anchor .fas {
    font-size: 2em;
}

#top-anchor p {
    font-size: 0.15em;
    /* 9px */
    text-decoration: underline;
    margin-top: -5px;
    margin-bottom: 5px;
}

.border-bottom.blueBorder {
    border-bottom: 2px solid #1A285B !important;
}

.border-bottom.whiteBorder {
    border-bottom: 2px solid #fff !important;
}

.topHead {
    background: url('images/top.png') repeat-x top right transparent;
    height: auto;
    padding: 10px 0 10px;
}

.topnav {
    padding: 0px 15px 0px;
    background: transparent;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 7;
}

.topnav>div.container>div.row {}

.topnav ul {
    padding: 0;
    margin: 0;
    font-family: heavent;
}

.topnav ul li {
    padding: 0;
    margin: 0;
    position: relative;
}

.topnav ul li a:first-child {
    padding: 12px 15px;
    display: inline-block;
    margin: 0;
    font-size: 22px;
    display: block;
}

.topnav ul li:hover,
.topnav ul li.current-menu-item {
    color: #fff !important;
    border: none;
    border: none;
}

.topnav ul li:hover a,
.topnav ul li.current-menu-item a {
    color: #004598 !important;
    background: rgb(57, 85, 126);
    background: -moz-linear-gradient(180deg, rgba(57, 85, 126, 1) 0%, rgba(200, 214, 236, 1) 25%);
    background: -webkit-linear-gradient(180deg, rgba(57, 85, 126, 1) 0%, rgba(200, 214, 236, 1) 25%);
    background: linear-gradient(180deg, rgba(57, 85, 126, 1) 0%, rgba(200, 214, 236, 1) 25%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#39557e", endColorstr="#c8d6ec", GradientType=1);
}

.topnav ul li a.drop {
    padding-right: 8px;
}

.topnav ul li a.toggle-custom {
    /*padding:15px 10px 0 0;*/
    display: inline-block;
}

.topnav ul li ul {
    position: absolute;
    left: 0;
    right: 0;
    background: #fff;
}

.topnav ul li ul li a {
    color: #000;
    font-size: 20px;
}

.topnav ul li.current-menu-item a {
    font-size: 22px;
}

.topnav ul li ul.collapsing {
    display: block;
}

.topnav ul li ul li {
    display: block;
}

.img-responsive {
    width: 100%;
    height: auto;
}

.gallery {
    margin: 0 auto 18px;
}

.gallery .gallery-item {
    float: left;
    margin-top: 0;
    text-align: center;
    width: 33%;
}

.gallery-columns-2 .gallery-item {
    width: 50%;
}

.gallery-columns-4 .gallery-item {
    width: 25%;
}

.gallery img {
    box-shadow: 0px 0px 4px #999;
    border: 1px solid white;
    padding: 8px;
    background: #f2f2f2;
}

.gallery img:hover {
    background: white;
}

.gallery-columns-2 .attachment-medium {
    max-width: 92%;
    height: auto;
}

.gallery-columns-4 .attachment-thumbnail {
    max-width: 84%;
    height: auto;
}

.gallery .gallery-caption {
    color: #888;
    font-size: 12px;
    margin: 0 0 12px;
}

.gallery dl,
.gallery dt {
    margin: 0;
}

.gallery br+br {
    display: none;
}


/* Pagination */

.page-numbers {
    display: inline-block;
}

.page-numbers.current {
    font-size: 15px;
    font-size: 0.9375rem;
}

.page-numbers.current .screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
}

ul.page-numbers {
    clear: both;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

ul.page-numbers li {
    display: inline-block;
    margin: 0 5px;
    font-size: 12px;
}

ul.page-numbers li .page-numbers.current {
    font-size: 12px;
    font-weight: bold;
}

.timeline-toolbars,
.cd-timeline__date {
    font-size: 24px;
    font-weight: 400;
    color: #19476E;
}

.cd-timeline__date {
    font-size: 28px !important;
    color: #19476E !important;
    padding: .4em 0 !important;
}

.timeline-toolbars select {
    font-size: 18px;
    font-weight: 400;
}

.cd-timeline__content article {
    padding-bottom: 0px;
}

.cd-timeline__content article .title {
    margin-top: 10px;
}

select.form-control {
    height: 100% !important;
}

.carousel-inner .carousel-item {
    padding-bottom: 0px;
}

body {
    color: #000;
    background: #fff;
    background-size: cover;
}

h1 {
    font-size: 80px;
    line-height: 70px;
}

h2 {
    font-size: 60px;
}

h3 {
    font-size: 48px;
}

h4 {
    font-size: 32px;
}

h5 {
    font-size: 28px;
}

h6 {
    font-size: 24px;
}

p {
    font-size: 20px;
}

.img-fluid {
    width: 100%;
}

article>h1.entry-title {
    font-size: 3.3rem;
    text-align: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
    color: #0069A7;
}

.page-content article {
    background: #5F94AF;
    padding-bottom: 0;
}

.page-content article h3 {
    color: #0D2430;
}

.page-content article p {
    color: #fff;
}

.page-content article a.read-more {
    border: 1px solid #fff;
    color: #fff;
    border-radius: 10px;
}



.gradient-box {
    border-radius: 10px;
    background: url("images/header-bg.png") repeat-x transparent top center;
}

article .article-header {
    color: #004598;
}

article .article-content {
    word-wrap: break-word;
}

article .article-footer .read-more button {
    background: #004598;
    font-family: heavent;
    color: #FBB040;
    padding: 3px 15px;
    border-radius: 10px;
}

article .title a {
    text-decoration: none;
}

.moved .gradient-box {
    border-radius: 0;
    background: none transparent;
}

.gradient-box:before {
    /* content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: -3px -3px -20px -3px;
    border-radius: inherit;
    background: rgb(195, 152, 46);
    background: linear-gradient(90deg, rgba(195, 152, 46, 1) 0%, rgba(249, 242, 147, 1) 45%, rgba(128, 80, 32, 1) 100%); */
}

.moved .gradient-box:before {
    content: "";
    position: relative;
    background: none;
    display: none;
}

div#scrollSection:hover {
    border-color: #FAAF41 !important;
    transition: all ease-in 1s;
    transform: scale(0.9);
}

div.counter {
    position: absolute;
}

form {
    font-family: heavent;
}

section#section-1 {
    background: url('images/bg-1.png') repeat bottom center #BFF2E3;
    background-size: auto;
}

section#section-2 {
    background: url('images/bg-2.png') repeat bottom center #BFF2E3;
    background-size: auto;
}

section#section-content {
    background: url('images/bg-1.png') repeat bottom center #BFF2E3;
    background-size: auto;
}

#carousel-header .carousel-inner .carousel-item {
    background: url('images/banner.png') no-repeat bottom center #041223;
    background-size: cover;
}

.entry-content > .container {
    background-color: #fff;
}

@media(min-width:1201px) {
    .container {
        max-width: 1920px;
    }
    .entry-content > .container {
        padding: 20px 15px;
        max-width: 960px;
    }

    section#section-1>.container,
    section#section-2>.container,
    section#section-content>.container {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
        min-height: 50vh;
        padding-left: 0;
        padding-right: 0;
    }

    #carousel-header .carousel-inner .carousel-item {
        max-height: 100vh;
    }

    .gradient-box>ul#menu-main,
    footer>.container {
        max-width: 1400px;
    }

}

@media(min-width:991px) and (max-width:1200px) {
    .topnav ul li a:first-child {
        font-size: 18px;
    }

    section#section-1>.container,
    section#section-2>.container,
    section#section-content>.container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}

@media(max-width:990px) {
    .logo-mobile {
        display: none;
    }

    .moved .logo-mobile {
        display: block;
    }

    section#section-1>.container,
    section#section-2>.container,
    section#section-content>.container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}

@media(max-width:767px) {
    .container {
        max-width: 100%;
    }

    div.counter {
        position: initial;
    }
}

@media (max-width:567px) {
    .hamburger-slide {
        font-size: 18px;

    }
}