/*
Theme Name:   GeneratePress Child
Theme URI:    https://generatepress.com
Description:  GeneratePress Child Theme
Author:       Tom Usborne
Author URI:   https://tomusborne.com/
Template:     generatepress
Version:      3.6.1
Text Domain:  generatepresschild
*/

*, *::before, *::after {
    box-sizing: border-box;
}
p:empty, 
header.site-header.has-inline-mobile-toggle, 
div.site-footer {
    display: none !important;
}
a {
    text-decoration: unset !important;
}
ol, ul {
    margin: 0 !important;
    padding: 0 !important;
}
button:focus {
	background: transparent;
}
h1, h2, h3, h4, h5, h6 {
    text-transform: capitalize !important;
    letter-spacing: unset !important;
}
p {
    max-width: 100% !important;
}
.dropdown {
	margin-left: 0;
}
.site.grid-container.container {
    padding: 0;
    max-width: 100% !important;
}
.site-content {
    display: inherit;
}
.single-post .site-content .content-area, 
.content-area, 
.site-main.post {
    width: 100%;
}
.content-area {
    background-color: #FFFFFF;
}
.single-post .site-content,
.site-main.post {
    display: inherit;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}
.separate-containers .site-main {
    margin: 0;
}

/* Container CSS */
body .container,
body .container-fluid,
body .grid-container {
    margin: 0 auto;
}
@media only screen and (max-width: 991.98px) {
    body .container, body .container-fluid {
        padding: 0 30px;
        width: 100%;
    }
}
@media only screen and (min-width: 576px) {
    body .container,
    body .grid-container {
        max-width: 100%;
        width: 100%;
    }
}
@media only screen and (min-width: 650px) {
    body .container,
    body .grid-container {
        max-width: 100%;
        width: 100%;
    }
}
@media only screen and (min-width: 768px) {
    body .container,
    body .grid-container {
        max-width: 920px;
        width: 100%;
    }
}
@media only screen and (min-width: 992px) {
    body .container,
    body .grid-container {
        max-width: 960px;
        width: 100%;
    }
}
@media only screen and (min-width: 1200px) {
    body .container,
    body .grid-container {
        max-width: 1140px;
        width: 100%;
    }
}
@media only screen and (min-width: 1300px) {
    body .container,
    body .grid-container {
        max-width: 1210px;
        width: 100%;
    }
}
@media only screen and (min-width: 1400px) {
    body .container,
    body .grid-container {
        max-width: 1360px;
        width: 100%;
    }
}
@media only screen and (min-width: 1600px) {
    body .container,
    body .grid-container {
        max-width: 1400px;
        width: 100%;
    }
}
@media only screen and (min-width: 1700px) {
    body .container,
    body .grid-container {
        max-width: 1600px;
        width: 100%;
    }
}
@media only screen and (min-width : 1500px) {
    body .mxw-1500 {
        max-width: 1500px;
        margin: 0 auto;
    }
}
@media only screen and (min-width : 1400px) {
    body .mxw-1320 {
        max-width: 1320px;
        margin: 0 auto;
    }
}
@media only screen and (min-width: 1199px) {
    body .mxw-1024 {
        max-width: 1024px;
    }
}
.site.grid-container.container {
    padding: 0;
    max-width: 100% !important;
}
/*  */
.inner-hero, .content-area {
    margin-top: 90px;
}
.inner-hero {
    background-color: #213461;
    text-align: center;
}
.inner-hero h1 {
    color: #fff;
    margin-bottom: 0;
    padding: 30px 0;
}
/*@media only screen and (min-width: 769px) {
    .inner-hero, .content-area {
        margin-top: 45px;
    }
}
@media only screen and (min-width: 781px) {
    .inner-hero, .content-area {
        margin-top: 45px;
    }
}
@media only screen and (min-width: 991px) {
    .inner-hero, .content-area {
        margin-top: 90px;
    }
}*/


/* Blog CSS Start */
.blog-post-section {
    background-color: #FFFFFF;
    width: 100%;
}
.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 21/9;
}
.blog-post-section .default-content h3 {
    margin: 0 0 32px;
}
ul.blog-post-list {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 30px 1fr 30px 1fr;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
ul.blog-post-list li {
    -webkit-box-shadow: 0 0 24px rgba(0, 0, 0, .1);
    box-shadow: 0 0 24px rgba(0, 0, 0, .1);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease 0s;
}
ul.blog-post-list li > a img {
    aspect-ratio: 1 / .6;
    object-fit: cover;
    object-position: top;
    transition: all 0.3s ease 0s;
    width: 100%;
}
.blog-content {
    padding: 24px;
    border: none !important;
}
ul.blog-post-list li p{
    margin-bottom: 0;
    font-size: 16px;
}
ul.blog-post-list li p a{
    color: rgba(0, 0, 0, .5) !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -o-text-overflow: ellipsis;
   	text-overflow: ellipsis;
    margin: 15px 0 0;
}
ul.blog-post-list li p a.read-more {
    color: #002D56 !important;
}
ul.blog-post-list li a h2 {
    color: #002D56 !important;
    font-size: 22px;
    font-weight: 600;
    list-style: 1.3;
    margin-top: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    text-align: left;
}
ul.blog-post-list li:hover {
	transform: translateY(-4px);
}
ul.blog-post-list li:hover img.wp-post-image {
    transform: scale(1.04);
}
@media only screen and (max-width: 1199px){
    ul.blog-post-list li a h2 {
        font-size: 18px;
    }
}
@media only screen and (max-width: 991px){
    ul.blog-post-list {
        -ms-grid-columns: (1fr);
        grid-template-columns: repeat(2, 1fr);
    }
}
@media only screen and (max-width: 767px){
    ul.blog-post-list {
        -ms-grid-columns: (1fr);
        grid-template-columns: repeat(1, 1fr);
    }
}

/*blog pagination*/
.pagination {
    margin: 40px 0 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}
.pagination >* {
    padding: 5px 10px;
    display: inline-block;
    vertical-align: top;
    min-width: 32px;
    font-size: 14px;
    text-align: center;
    border-radius: 4px;
    background-color: #AFA48E;
    color: #fff;
}
.pagination .current,
.pagination a:hover {
    background: #002D56;
    color: #FFFFFF;
}
.pagination .prev.page-numbers,
.pagination .next.page-numbers {
    background-repeat: no-repeat;
    background-size: 7px;
    background-position: center;
    font-size: 0px;
}
.pagination .prev.page-numbers {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3.737' height='6.474' viewBox='0 0 3.737 6.474'%3E%3Cpath d='M3.03 5.767.5 3.237 3.03.707' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.pagination .next.page-numbers {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3.737' height='6.474' viewBox='0 0 3.737 6.474'%3E%3Cpath d='m.707 5.767 2.53-2.53L.707.707' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media only screen and (max-width: 425px) {
    .pagination {
        margin: 25px 0 0;
    }
    .pagination >* {
        font-size: 12px;
        min-width: 22px;
        padding: 4px 8px;
    }
    .pagination .prev.page-numbers, .pagination .next.page-numbers {
        background-size: 6px;
    }
}

/* Blog Single page design */
.blog-single-section .page-header {
    padding: 0;
}
.single-post .site-main-header .header-bottom {
    background: #002D56;
}
.blog-single-section .post-thumbnail {
    margin-bottom: 30px;
}
.blog-single-section .post-thumbnail .wp-post-image {
    max-height: 600px;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    object-position: top;
}
.blog-single-section h1 {
	font-size: 45px;
    color: #002D56;
}
.blog-single-section h2, .blog-single-section h3 {
    padding: 10px 0 20px;
    margin-bottom: 0;
    color: #002D56;
}
.blog-single-section h2 {
	font-size: 35px;
}
.blog-single-section h3 {
    font-size: 28px;
}
.blog-single-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.blog-single-section ul li {
    padding-left: 20px;
    margin-bottom: 12px;
    position: relative;
}
.blog-single-section ul li::before {
    position: absolute;
    content: "";
    top: 10px;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: #002D56;
    border-radius: 50%;
}
.blog-single-section .page-content a{
    color: #002D56;
}
.blog-single-section .page-content a:hover{
    color: #4A4B4F;
}
body .section_padding {
    padding: 80px 0;
}
.blog-single-section p {
    margin-top: 0;
}
@media only screen and (max-width: 1199.98px){
    .blog-single-section h1, 
    .inner-hero h1 {
        font-size: 40px;
    }
    .blog-single-section h2 {
        font-size: 30px;
    }
    .blog-single-section h3 {
        font-size: 26px;
    }
    body .section_padding {
        padding: 60px 0;
    }
}
@media only screen and (max-width: 991.98px){
    p, li, th, td {
        font-size: 16px;
    }
    .blog-single-section  h1{
        font-size: 35px;
    }
    .blog-single-section h2 {
        font-size: 28px;
    }
    .blog-single-section h3 {
        font-size: 22px;
    }
}
@media only screen and (max-width: 767.98px){
    .page-header .entry-title{
        max-width: 100%;
    }
    .blog-single-section  h1{
        font-size: 28px;
    }
    .blog-single-section h2 {
        font-size: 26px;
    }
    .blog-single-section h3 {
        font-size: 20px;
    }
    .blog-single-section table {
        display: block;
        width: 100%;
        overflow: auto;
    }
}
@media only screen and (max-width: 575.98px){
    .blog-single-section h2 {
        font-size: 24px;
    }
    .blog-single-section h3 {
        font-size: 18px;
    }
}
/* Blog Single page design */
.post-image {
    display: flex;
    flex-wrap: wrap;
}
.post-image img {
    display: inline-block;
    vertical-align: top;
    /*width: auto;*/
}
.post-image br {
    display: none;
}
/*  */
.post-24 .post-thumbnail,
.post-15 .post-thumbnail {
    display: none;
}
footer .columns-3 .vertical-flex p {
    max-width: 1000px !important;
}