@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;700&family=Roboto:wght@400;700&display=swap');

:root {
    --link: #111;
    --accent: #0785c4;
    --black: #000;
    --white: #fff;
    --rr-background: #e6f3f9;
    --body: #595959;
    --boap-link-hover:#7dacc4;
  }

#big-grid-ad-unit {
    position: relative;
}

#native-big-grid iframe, #native-big-grid > div {
    height: 100% !important;
}

html, body, .GoogleActiveViewElement, #big-grid-ad-unit {
    width: 100%;
    height: 100%
}

#big-grid-ad-unit .ta-native-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#big-grid-ad-unit .ta-native-image-link, #big-grid-ad-unit .ta-native-image-link span {
    display: block;
    width: 100%;
    height: 100%;
}

#big-grid-ad-unit .ta-native-image-link span {
    background-position: center 50%;
    background-size: cover;
}

#big-grid-ad-unit .ta-native-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#big-grid-ad-unit .td-module-meta-info {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 25px;
    background-color: var(--black);
    color: var(--white);
    width: calc(100% - 50px);
    font-family: 'Open Sans';
}

#big-grid-ad-unit .td-module-meta-info a {
    color: var(--white);
    text-decoration: none;
}

#big-grid-ad-unit .ta-native-attribution {
    background-color: var(--accent);
    border-color: var(--accent);
    margin: 0 0 7px;
    padding: 3px 7px;
    font-family: 'Montserrat';
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

#big-grid-ad-unit .td-module-meta-info .ta-native-title {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    padding: 0 0 10px 0;
}

/* Right Rail Styles */

#native-rr-article iframe {
    height: auto;
    max-height: 110px;
}

#rr-article-ad-unit {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--rr-background);
}

#rr-article-ad-unit .ta-native-attribution {
    padding: 3px 8px;
    font-family: Montserrat, sans-serif;
    font-size: 10px;
    line-height: 11px;
    font-weight: 600;
    color: var(--white);
    background-color: var(--accent);
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}

#rr-article-ad-unit .ta-native-image {
    width: 30%;
    flex: 0 0 30%;
    height: auto;
}

#rr-article-ad-unit .ta-native-image img {
    max-width: 100%;
    height: auto;
}

#rr-article-ad-unit .td-module-meta-info {
    margin: 0 0 0 15px;
    flex: 0 0 60%;
}

#rr-article-ad-unit .td-module-meta-info a {
    color:  var(--link);
    text-decoration: none;
}

#rr-article-ad-unit  .ta-native-title {
    margin: 4px 0 6px 0;
    font-size: 14px;
    font-family: 'Montserrat';
    font-weight: 700;
    line-height: 1.4;
}

#rr-article-ad-unit .ta-native-advertiser {
    font-size: 11px;
    font-weight: 600;
    font-family: 'Open Sans';
    margin-bottom: 5px;
}

/* Main Well Styles */

#native-main-well {
    box-shadow: 0 4px 15px 0 rgba(0,0,0,.15);
    background-color: var(--rr-background);
}

#native-main-well iframe {
    height: 100vw;
    min-height: 165px;
    max-height: 210px;
}

#main-well-ad-unit {
    display: flex;
}

#main-well-ad-unit .ta-native-image {
    flex: 0 0 20%;
    width: 20%;
    display: block;
}

#main-well-ad-unit .ta-native-image a {
    display: block;
    padding-bottom: 100%;
    position: relative;
}

#main-well-ad-unit .ta-native-image a span {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 100%;
    background-size: cover;
    background-position: center center;
    display: block;
}

#main-well-ad-unit .td-module-meta-info {
    padding: 15px 20px;
    width: 100%;
    font-size: 11px;
}

#main-well-ad-unit .td-module-meta-info .ta-native-attribution {
    display: inline-block;
    margin: 0 0 8px;
    padding: 4px 8px;
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    line-height: 11px;
    font-weight: 600;
    color: var(--white);
    background-color: var(--accent);
    text-transform: uppercase;
}

#main-well-ad-unit .td-module-meta-info .ta-native-title {
    margin: 0 0 6px;
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    font-family: 'Roboto';
}

#main-well-ad-unit .td-module-meta-info .ta-native-title a {
    color: var(--black);
    text-decoration: none;
}
#main-well-ad-unit:hover .td-module-meta-info .ta-native-title a {
    color: var(--accent);
}

#main-well-ad-unit .td-module-meta-info .ta-native-advertiser {
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    font-family: 'Open Sans';
}

#main-well-ad-unit .td-module-meta-info .ta-native-advertiser a {
    color: var(--accent);
    text-decoration: none;
}

#main-well-ad-unit .td-module-meta-info .ta-native-body {
    margin: 20px 0 0;
    line-height: 21px;
    font-size: 13px;
    color: var(--body);
    font-family: 'Open Sans';
}

/* BOAP Styles */

#native-boap iframe {
    height: 36rem;
}

@media screen and (min-width: 500px) {
    #native-boap iframe {
        height: 25rem;
    }
}

@media screen and (min-width: 1100px) {
    #native-boap iframe {
        height: 24.5rem;
    }
}

#boap-ad-unit {
    display: flex;
    margin: 40px auto;
    position: relative;
    flex-wrap: wrap;
}

#boap-ad-unit .ta-native-attribution {
    width: 100%;
    padding: 7px 20px 8px;
    color: var(--white);
    background-color: var(--accent);
    font-family: 'Roboto',sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .25px;
    line-height: 1;
}

#boap-ad-unit .ta-native-content {
    position: relative;
    padding: 20px;
    border-left: 1px solid #ededed;
    border-right: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
    line-height: 1;
}

#boap-ad-unit .ta-native-image {
    width: 42%;
    float: left;
}
#boap-ad-unit .ta-native-image a {
    display: block;
}

#boap-ad-unit .ta-native-image img {
    max-width: 100%;
    height: auto;
}

#boap-ad-unit .td-module-meta-info {
    padding-left: 20px;
    color: var(--body);
    margin-left: 42%;
    font-family: 'Montserrat';
}

#boap-ad-unit .td-module-meta-info .ta-native-title {
    margin: 0 0 10px 0;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 700;    
}

#boap-ad-unit .td-module-meta-info a {
    color: var(--link);
    text-decoration: none;
    transition: all .3s ease;
}

#boap-ad-unit .td-module-meta-info a:hover, #boap-ad-unit .td-module-meta-info .ta-native-advertiser a:hover {
    color: var(--boap-link-hover);
}

#boap-ad-unit .td-module-meta-info .ta-native-advertiser {
    margin: 0 0 10px 0;
    font-size: 16px;
}

#boap-ad-unit .td-module-meta-info .ta-native-advertiser a {
    color: var(--accent);
    font-weight: 600;
}

#boap-ad-unit .td-module-meta-info .ta-native-body {
    line-height: 1.6;
    margin: 1em 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#boap-ad-unit .td-module-meta-info .ta-native-body a:hover {
    color: var(--body);
}

/* #big-grid-ad-unit { 
    color: red;
	position: relative;
    top: -10px;
    margin-bottom: -10px !important;
  	background-color: #ecf6f9;
    padding: 12px 15px;
  transition: all .3s ease;
}

#big-grid-ad-unit .ta-native-attribution {
    font-family: 'Open Sans', arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    background-color: #1f1671;
    padding: 3px 6px 4px;
    display: inline-block;
    vertical-align: top;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    border: solid 2px #1f1671;
    border-radius: 6px;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

#big-grid-ad-unit .ta-native-advertiser {
	background-color: transparent !important;
  font-family: Roboto;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 1px !important;
  margin-right: 5px;
	padding: 3px 6px 4px;
  text-transform: uppercase;
}

#big-grid-ad-unit .ta-native-advertiser-link {
  color: #60bad6;
  text-decoration: none;
}

#big-grid-ad-unit .ta-native-advertiser-link:hover {
  color:#ec4b43;
}

#big-grid-ad-unit::before {
	bottom: 0;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #eaeaea;
}
#big-grid-ad-unit .ta-native-title{ 
	padding-top: 0 !important; 
   padding-right: 10px !important;
  margin-top: 0;
  margin-bottom: 10px;
} 

#big-grid-ad-unit .ta-native-title .ta-native-title-link {
  color: #1f1671;
  text-decoration: none;  
}

#big-grid-ad-unit .ta-native-title .ta-native-title-link:hover {
  color: #ec4b43;
}

@media only screen and (min-width: 768px) and (max-width: 1140px) {
	#big-grid-ad-unit .ta-native-title {
    	font-size: 8px;
        padding: 3px 2px 4px;
    }
}
@media only screen and (max-width: 250px) {
	#big-grid-ad-unit .ta-native-title {
    	font-size: 8px;
        padding: 3px 2px 4px;
    }
} */