/*
Theme Name:     Newspaper 9 Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newspaper
Version:        9.0c
*/

/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/

/* Homepage */
@media only screen and (min-width:768px) {
	.home .col-sm-4.grid-post:nth-child(3n-1) {
		clear: both;
	}
    
    #td-outer-wrap {
    margin-left: auto;
    margin-right: auto;
    width: 1130px;
}
}


/* Interstitial ad for The Britain Guide */
#morefrombg {
    display:none;
    margin: 32px 0;
    padding: 0;
    border-top: 1px solid #c00322;
}
#morefrombg h4 {
    text-align:center;
    margin: 8px auto 14px;
    border: none;
    font-size: 14px;
    line-height: 14px;
}
#morefrombg h4 a {
    padding:9px 12px 5px 12px;
    box-sizing: border-box;
    color:#fff;
    background-color: #c00321;
    display: inline-block;
    text-transform: uppercase;
    font-family: "Playfair Display";
    font-weight:600;
}
#api-posts .api-list {
    border-bottom: 1px solid #c00322;
}
#api-posts .api-list:after {
    content: "";
    display: table;
    clear: both;
}
#api-posts .post {
    width: 33.3333%;
    float: left;
    margin-bottom: 18px;
    padding: 0 12px;
    box-sizing: border-box;
}
#api-posts .post .card {
    overflow: hidden;
}
#api-posts .post-img {
    height: 150px;
    max-height: max-content;
    overflow: hidden;
    display: block;
}
#api-posts .post-img img {
    width:100%;
    height:100%;
    object-fit: cover;
}
#api-posts .post h3{
    margin-bottom: 0;
}
#api-posts .post:hover h3 a {
    color: #d61d39;
}
@media (max-width: 1018px) {
    #api-posts .post-img {
        height: 101px;
        width: 147px;
    }
}@media (max-width: 767px) {
    #api-posts .post {
        width: 100%;
    }
    #api-posts .post-img {
        height: 69px;
        width: 100px;
        float: left;
        margin-right: 12px;
    }
    #api-posts .post h3 {
        text-align: left;
    }
}


/* Related articles */
h4.td-related-title {
    border-color: #c00321;
}
.td-related-title a.td-cur-simple-item {
    background-color: #c00321;
}

/* Content background */
#td-outer-wrap {
  background-color: #fff;
}

/* Category header styling */
.td_category_template_6 .td-category-header {
  width: 100%;
}
.td_category_template_6 .td-category-header {
  margin-top: 24px;
  background-color: #fff;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.td_category_template_6 .td-category-header .td-page-title, .td_category_template_6 .td-category-header p {
  color:#000;
  background-color: rgba(255,255,255,0.7);
}
.category-people.td_category_template_6 .td-category-header {
  background-image: url('/wp-content/uploads/Britain-Website.jpg.jpeg');
}
.category-news.td_category_template_6 .td-category-header {
  background-image: url('/wp-content/uploads/bigben.jpg');
}
.category-stately-homes.td_category_template_6 .td-category-header {
  background-image: url('/wp-content/uploads/PlasNewydd.jpg');
}
.category-castles.td_category_template_6 .td-category-header {
  background-image: url('/wp-content/uploads/BamburghCastleMain.jpg');
}
.category-history.td_category_template_6 .td-category-header {
  background-image: url('/wp-content/uploads/BayeuxTapestry2.jpg');
}
.category-tudors.td_category_template_6 .td-category-header {
  background-image: url('/wp-content/uploads/TudorDiningRoom.jpg');
}
.category-inspiration.td_category_template_6 .td-category-header {
  background-image: url('/wp-content/uploads/LakeDistrict.jpg');
}
.category-britain-shop.td_category_template_6 .td-category-header {
  background-image: url('/wp-content/uploads/British-Flags.jpg');
}

/* Header magazine ad banner */
.mag-ad {
  position: relative;
  padding: 5px;
  width: 200px;
  height: 122px;
  overflow: hidden;
}

.mag-ad .cover {
  display: block;
  margin: 0 auto;
  height: 185px;
  width: 150px;
  box-shadow: 0 0 4px 0 #000;
}

.mag-ad .banner {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 6px 0;
  text-align: center;
  background-color: #004992;
  color: #fff;
  font: 16px "Helvetica Neue",Helvetica,Arial,sans-serif;
}

.mag-ad .banner-on-hover {
  display: none;
}

.mag-ad .banner-red {
  background-color: #b2242b;
}

.mag-ad:hover .banner-hover-hide {
  display: none;
}

.mag-ad:hover .banner-on-hover {
  display: block;
}

.mag-ad .banner-red:hover {
  background-color: #bd4047;
}

/* Other stuff */

#td-outer-wrap {
    position: relative;
}

.td-mega-menu ul {
  position: absolute;
  width: 1114px !important;
  height: auto;
  left: -23px !important;
  display: none;
  color: #fff;
  border: 1x solid #eaeaea;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.97) !important;

}

.td_mega_menu_sub_cats a {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #000;
  padding: 5px 22px;
  position: relative;
  vertical-align: middle;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
}

}
.td_mega_menu_sub_cats {
  width: 218px;
  max-width: 218px;
  text-align: right;
  display: table-cell;
  height: 100%;
  vertical-align: top;
  padding-top: 22px;
  background-color: rgba(217, 237, 213, 0.91);
  position: relative;
}

.no-touch form input {
    background: red !important;
}

/*// Signup Form */

.dmForm label {
    color: #fff;
}
.dmForm {
    width: 700px;
    margin: 0px auto !important;
    padding: 10px 0px;
    text-align: center;
    font-size:12px;
    color: #dadada;
}

.dmForm input[type='text'] {
    width: 350px;
    text-align:center;
}
.dmForm input[type='radio'] {
    margin-right:10px;
}

.dmForm button {
    background: #c00321 !important;
    border: none;
    color: #fff;
    padding: 10px 20px !important;
    text-transform: uppercase;
}

/*////*/


#category_page_articles img {
	float: left;
	padding: 6px;
/*	border: 1px solid #d3d2d2;*/
/*	background-color: #f5f3f3;*/
    width: 324px;
    min-height: 235px;
    overflow: hidden;
}

.category_page_article_box {
	width: 684px;
	height: 204px;
	float: left;
	margin: 15px 0;
	overflow: hidden;
}

.category_page_article_box h1 {
	font-size: 25px;
	line-height: 29px;
	font-family: "Playfair Display", sans-serif;
	font-weight: normal;
/*	color: #284f94;*/
	margin: 0;
	padding: 0; 
}

.category_page_article_box .article_box_content {
	width: 350px;
	float: left;
	padding: 0 0 0 10px;
	overflow: hidden;
	height: 204px;
}

.category_page_article_box .article_box_content p {
	line-height: 22px;
	margin: 8px 0;
	font-size: 14px;
}

#category_page_articles .category_page_article_box .article_box_content h2, #category_page_articles .category_page_article_box .article_box_content p  {
	margin: 8px 0;
	font-size: 14px;
	font-family: "Arial", sans-serif;
	line-height: 22px;
	color: #636363;
}

.category_page_article_box .article_box_content img {
	display: none;
}

.category_page_article_box .article_box_content p.wp-caption-text {
	display: none;
}
#category_top_picks {
	width: 684px;
	height: 30px;
	float: left;
    background: #081d2e;
	font-size: 14px;
	border-bottom: 1px solid #e7e7e7;
	margin-bottom: 10px;
}

#category_top_picks ul {
	margin: 0;
	padding: 0;
}

#category_top_picks ul li {
	list-style: none;
	float: left;
	margin-right: 15px;
}
#category_top_picks ul li a {
color: #dadada;
}

/*// signup form */ 

#brit-signup input[type="Submit"] {
    background: #d30030;
    margin: 10px 0px;
    display: block;
}

#brit-signup input[type="text"] {
width: 75%;
display: block;
margin: 5px 0px 5px 0px;
}

#brit-signup {
    color: #fff;
    font-size: 10px;
}

/*// signup form internal */ 
.newsletter-signup {
	background-color: #d30030;
    color: #fff;
    padding: 8px 16px 0;
}

#brit-internal input[type="Submit"] {
    background: #000;
    margin: 10px 0px;
    display: block;
	float:right;
}

#brit-internal input[type="text"] {
width: 300px;
display: block;
margin: 5px 0px 5px 0px;
}

#brit-internal {
    font-size: 9px;
}

#brit-internal a {
    color: #fff;
	text-decoration: underline;
}

#brit-internal a:hover {
    color: #ddd;
	text-decoration: underline;
}

/* DFP Wallpaper */
#wallpaper {
    margin: 0px auto;
    width: 1650px;
}

#wallpaper iframe {
    margin-left: -825px;
    width: 1650px;
    height: 1000px;
    position: fixed;
    top: 0;
    left: 50%;
    max-width: none;
} 

#td-outer-wrap {
    position: relative;
}

td-header-style-9 .td-logo-wrap-full {
    min-height: 100px;
    line-height: 80px;
}

.top-bar-style-1 .td-header-sp-top-widget {
    float: left;
}

.wbounce-modal .wbounce-modal-sub {
    display: block;
    left: initial;
    opacity: 1;
    overflow: hidden;
    position: relative;
    width: 600px;
    z-index: 21;
}

.td-read-more, .more-link-wrap {
    display: inline-block;
    float: right;
    font-family: "Roboto",sans-serif;
    margin-bottom: 20px;
}

td-header-gradient::before {
    content: "";
    background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAMBAMAAABRpcpkAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMGAhQQCyEd++8AAAAUSURBVAjXY1AAQgMgdABCCBAAQQAT6AFRBPHcWgAAAABJRU5ErkJggg==');
    width: 100%;
    height: 12px;
    position: absolute;
    bottom: -12px;
    z-index: 1;
    display: none;
}
.td-main-sidebar{
	position:sticky!important;
	top:65px !important;
}
#td-outer-wrap{
	overflow:unset!important;
}