
/* Blog Page */

.wordpress-post-view.page-layout-1column .post-image{
    background-color:#fff;
    display:flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}
.wordpress-post-view.page-layout-1column .social{
    width:15%; 
    margin:0 auto;   
    float: left;
}
.wordpress-post-view.page-layout-1column .social ul li{
    text-align:center;
}
.wordpress-post-view.page-layout-1column .social ul li.title{
    font-weight: bold;
}
.wordpress-post-view.page-layout-1column .footer.content{
    width:100%; 
}

.wordpress-post-view.page-layout-1column .content{
    width: 80%;
    float: left;
}


.wordpress-post-view.page-layout-1column .page-title{
    width:100%;
    text-align: center;
    text-transform: inherit !important;
    margin:0px 0px 15px 0px;
    padding:15px 0px;
    border-bottom:1px solid #eee;
    border-top:1px solid #eee;
}
.wordpress-post-view.page-layout-1column .page-title h1{
   font-size:36px;
   text-transform:uppercase;
}

.wordpress-post-view.page-layout-1column .page-title span {
    text-transform:uppercase;
}


.wordpress-post-view .topcat{
    display:flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 20px;
    flex-flow: row wrap;
    flex-direction: column;
}
.wordpress-post-view .topcat a{
    color:#2a447f;
    font-weight: bold;
}
.wordpress-post-view .topcat .post-date{
    padding-left: 5px;
}
.wordpress-post-view h1{
    text-align: center;
    color: #014b88;
    font-weight: 800;
    padding: 0px 0 10px 0;
    margin-bottom: 0;
    font-size: 32px;
}

.single-post.wordpress-post-view #comments{
    display:none;
}
.single-post.wordpress-post-view p{
    font-size:18px;
    font-weight: 300;
}

.single-post.wordpress-post-view .post-view{
    overflow: hidden;
    padding-bottom: 60px;
}


@media (max-width:991px){
    .wordpress-post-view.page-layout-1column .social{
        width:100%;
        order:2;
    }
    .wordpress-post-view.page-layout-1column .social ul{
        display:flex;   
        border-top:1px solid;
        border-bottom:1px solid;
        margin-bottom:0;
        padding:20px 0;
    }
    .wordpress-post-view.page-layout-1column .social li{
        padding-right:10px;
        margin-bottom:0;
    }
    .wordpress-post-view.page-layout-1column .content{
        width: 100%;
        order:1;
    }

    .wordpress-post-view.page-layout-1column .post-content{
        display:flex;
        flex-direction: column;
    }
}


/*  2 Col News */

.wordpress-post-view.page-layout-2columns-right .page-title::after {
    display:none;
}
.wordpress-post-view.page-layout-2columns-right .topcat{
    text-align: left;
    justify-content: flex-start;
}
.wordpress-post-view.page-layout-2columns-right .post-content{
    display:flex;
    flex-direction: column;
    flex-flow: row wrap;
}
.wordpress-post-view.page-layout-2columns-right .post-content .content{
    order:1;
}
.wordpress-post-view.page-layout-2columns-right .post-content .social{
    order:2;
    width:100%;
    border-top:1px solid #5d636c; 
    border-bottom:1px solid #5d636c; 
    margin-top: 40px;
}
.wordpress-post-view.page-layout-2columns-right .post-content .social ul{
    display:flex;
    margin: 0;
    padding-top: 15px;
}
.wordpress-post-view.page-layout-2columns-right .post-content .social ul li{
    padding-right: 10px;
    
}
.wordpress-post-view.page-layout-2columns-right .post-image{
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:20px 0;
    margin-bottom: 40px;
}
.wordpress-post-view.page-layout-2columns-right .column.main{
    width:75%;
}
.wordpress-post-view.page-layout-2columns-right .sidebar-main{
    float: right;
    width:25%;
}

.wordpress-post-view.page-layout-2columns-right .block-wishlist{
    display: none;
}


.wordpress-post-view.page-layout-2columns-right .block-recent-posts{
    background-color:#5d636c;
    color:#fff;
    padding:30px 30px;
}
.wordpress-post-view.page-layout-2columns-right .block-recent-posts ul li a{
    color:#fff;
}

.wordpress-post-view.page-layout-2columns-right #comments{
    display:none;
}

@media (max-width:991px){
    .wordpress-post-view.page-layout-2columns-right .sidebar-main{
        order:2;
    }
}






/* Loop Page */

.wordpress-term-view #maincontent.page-main{
    max-width: 100%;
    padding:0;
}
.wordpress-term-view #maincontent.page-main h1{
    max-width: 1561px;
    margin: 0 auto;
    display:block;
}
.wordpress-term-view .page-title-wrapper{
    background-color:#fff;
    padding:40px 0;
    margin-bottom: 40px;
    position: relative;
}
.wordpress-term-view .page-title:after{
    content:"";
    height: 1px;
    background-color: #5d636c;
    width: 100%;
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
}
.wordpress-term-view .page-title span{
    background-color:#fff;
    position: relative;
    z-index: 1;
    padding: 0 5px;
}

.wordpress-term-view .toolbar-amount{
    display: none;
}

.wordpress-term-view .breadcrumbs{
    display:none;
}

.post-list.grid {
    display:flex;
    flex-flow: row wrap;
}
.post-list.grid li{
    width:31.3333%;
    display: flex;
    flex-direction: column;
    flex-flow: row wrap;
    margin-bottom: 50px;
}

.post-list-wrapper .post-list-item{
    display: flex;
    flex-direction: column;
    flex-flow: row wrap;
    height:100%
}

.post-list-wrapper .post-title{
    color: #014b88;
    font-weight: 800;
    padding: 0px 0 10px 0;
    margin-bottom: 0;
    font-size: 25px;
}
.post-list-wrapper .post-date{
    font-weight: 300;
    color: #89c04c;
    font-size: 14px;
    margin-bottom: 5px;
    margin-top: 10px;
    width:100%;
}
.post-list-wrapper .post-excerpt{
    font-size:16px;
    margin-bottom: 20px;
    line-height: 26px;
}

.post-list-wrapper .post-entry{
    display:flex;
    flex-direction: column;
    flex-flow: row wrap;
    margin:0;
}
.post-list-wrapper .btn{
    border:2px solid #2a447f;
    background-color:inherit;
    font-weight: bold;
    height:inherit;
    color:#2a447f !important;
    border-radius: 0px;
    box-shadow: inherit;
    line-height: inherit;
}
.post-list-wrapper .btn:hover{
    text-decoration: none;
    border:2px solid #2a447f;
    color:#2a447f;
}

.post-list-wrapper .post-image{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 260px;
    background-color:#fff;
}

@media (max-width:990px){
    .post-list.grid li{
        width:49%;
    }
}
@media (max-width:550px){
    .post-list.grid li{
        width:100%;
    }
}



.wp-sidebar .item{
    overflow: hidden;
}
.wp-sidebar .item .post-image{
    width:50%;
    float:left;
    margin-bottom: 0;
}
.wp-sidebar .item .post-image img{
    max-width:100px;
}
.wp-sidebar .item .text{
    width:50%;
    float:left;
    padding-left: 20px;
}

.wp-sidebar .item .text .title{
    font-weight: bold;
    line-height: 20px;
}
.wp-sidebar .item .text a:hover{
    text-decoration: none;
}
.wp-sidebar .item .text .post-excerpt{
    font-size: 16px;
    line-height: 18px;
}


/* ############################## */

/* Toms CMS page styles */

.resBOX {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.resIcon {display:flex;align-content:center;justify-content:center;}
.resIcon i {
    font-size: 60px;
    padding: 20px;
}
.resCont {}
.resCont h2 {
    font-weight: bold;
}
.resCont p {}

@media only screen and (max-width: 992px) {
    .resIcon {margin-bottom:20px;}
}

/* Helper */
.imgcol {background:#fff;display:flex;align-items: center;justify-content: center;margin-bottom:20px !important;}
.imgcol img {
    float: none;
    margin: 0px;
    max-width:100%;
    height:auto;
    display:inline-block;
    vertical-align:top;
}

.flex-row {
    display: flex;
    /* flex-direction: column; */
    flex-wrap: wrap;
}

i span.remove {display:none;}

.contact .form {
    border:5px solid #5d636c;
    padding:20px;
}

.row.post-view > .col {padding:0px !important;}

.contact .form label {font-size:16px;color: #5d636c}

@media only screen and (max-width: 992px) {
    .contact .form, .contact .cont {margin-bottom:20px;}
}


.wordpress-homepage-view .page-main{
    padding:0 0;
    max-width: 1600px;
}
.wordpress-post-view #comments {
    width: 100%;
    overflow: hidden;
}






.wordpress-homepage-view .pages .items{
    width: 100%;
}
.wordpress-homepage-view .page-title-wrapper h1{
    padding: 20px 0px;
    text-transform: none;
    margin: 0px;
    position: relative;
    display: block;
    text-align: center;
    font-weight: 800;
    flex-grow: 1;
    color: #394c5c;
    font-size: 32px;
}
.wordpress-homepage-view  .page-title-wrapper {
    display: flex;
    flex-flow: row wrap;
    align-content: center;
    justify-content: center;
    max-width: 1600px;
}





/* ############################## */