/* text based settings */
p{font-size: 1em; line-height:1.6em; margin:0px; padding:0px; margin-top:15px;}
h1{font-size: 2.0em; line-height:1.5em;}
h2{font-size: 1.667em; line-height:1.3em;}
h3{font-size: 1.500em; line-height:1.3em;}
h4{font-size: 1.333em; line-height:1.3em; font-weight:normal;}
h5{font-size: 1.167em; line-height:1.2em; font-weight:normal;}
li{font-size:1em; line-height:1.2em; font-weight:normal; margin-bottom:4px;}
article li{font-size:1em; line-height:1.6em; font-weight:normal; margin-bottom:4px;}

#MainBreadCrumbTrail h1{margin-bottom:0px !important; padding-bottom:0px !important;}
.MainContentRightBox h2{color:#016574; }
#MainBreadCrumbTrail header h1{font-size:1em !important; border:none;}
.Selected {color:#000 !important;}
/* links */
a{color:#006699; text-decoration: underline; font-weight:bold;}
a:hover {color:#40c47b; text-decoration:underline !important;}
p a{color:#016574; text-decoration:underline !important; font-weight:bold;}
p a:hover {color:#40c47b; text-decoration:underline;}
#MainBreadCrumbTrail a{color: #006699; text-decoration:underline;}
#MainBreadCrumbTrail a:hover{text-decoration:underline; color:#40c47b;}
#MainColumnContentWrapper a:hover{color: #40c47b;}
#MainColumnContentWrapper a{text-decoration:underline; color: #006699;}
.fa-brands, .fab { font-family: "Font Awesome 6 Brands"; }
.FooterSocialIconsList li {display:inline;}
.social--icons {font-size: 24px !important;}
.FooterLinksRight a { color:#ffffff !important;}
.FooterLinksRight a:hover { color:#40c47b !important;}
.FooterLinksLeft {font-size:14px; line-height: 18px; color:#ffffff !important; padding-bottom: 20px; padding-top:20px; margin:0px; border-bottom: 2px solid #FFFFFF;}
.FooterLinksLeft a{text-decoration:none; font-size:14px; color:#ffffff !important;}
.FooterLinksLeft a:hover{text-decoration:underline; color: #40c47b !important;}
.FooterCopyright {margin-top:15px;font-size:16px;line-height:20px;color:#ffffff;}
.MainContentRightBox a{text-decoration:none; margin:0px; padding:8px; padding-left:10px; display:block; font-weight:normal !important;}
.MainContentRightBox a:hover{background-color:#016574; color:#FFF;}
.MainContentRightBox a:hover[href^="http://"] {background: url(../img/template/external_link_icon_invert.png) center right no-repeat; padding-right: 13px; background-color:#016574; color:#FFF !important;}
.MainContentRightBox a:hover[href^="https://"] {background: url(../img/template/external_link_icon_invert.png) center right no-repeat; padding-right: 13px; background-color:#016574; color:#FFF !important;}
.MainContentRightBox p{margin-top:2px;}
.MainContentRightBox li a{text-decoration:none; margin:0px; padding:8px; padding-left:10px; display:block; font-weight:normal !important;}
.MainContentRightBox li a:hover[href^="http://"],.MainContentRightBox li a:hover[href^="https://"] {background: url(../img/template/external_link_icon_invert.png) center right no-repeat; padding-right: 13px; background-color:#016574; color:#FFF !important;}
.MainContentRightBox li{margin-top:4px;} 
.MainContentRightBox  a[href^="http://media.sepa.org.uk/"], .MainContentRightBox a[href^="http://apps.sepa.org.uk/"], .MainContentRightBox a[href^="https://apps.sepa.org.uk/"]{text-decoration:none; margin:0px; padding:8px; padding-left:10px; display:block; font-weight:normal !important;}
.MainContentRightBox  a[href^="http://media.sepa.org.uk/"]:hover, .MainContentRightBox a[href^="http://apps.sepa.org.uk/"]:hover , .MainContentRightBox a[href^="https://apps.sepa.org.uk/"]:hover{background-color:#016574; background-image: none !important; color:#FFF;}

/* table */
table {margin:0px; padding:0px; margin-top:15px; font-size:1.0em; text-align:left;}
th {border: 1px solid #e7e8e9; padding:5px; margin:2px; background-color:#ccdacb/*c7d9ed*/; color:#016574;}
td {border: 1px solid #e7e8e9; padding:5px; margin:2px; background-color:#FFFFFF; vertical-align:top !important;}
td p{vertical-align:top !important;}
tr {vertical-align:middle;}
td p{font-size: 1em; line-height:1.2em; margin:0px; padding:0px; margin-bottom:15px;}
td p:last-child{margin-bottom:0px;}
.TableWithHeader{color:#333;}
.TableWithHeader tr:first-child td{border: 1px solid #e7e8e9; padding:5px; margin:2px; background-color:#ccdacb/*c7d9ed*/; color:#043e5a/*005983*/;}

article table {width:100% !important;}

/* attempt to catch non header tables */
thead td {border: 1px solid #e7e8e9; padding:5px; margin:2px; background-color:#c7d9ed; color:#016574;}
thead td p {margin:0px; padding:0px;}
th p {margin:0px; padding:0px;}


/* headings */
#MainContentFull header h1, .MainBody header h1, #MainContentDoubleColumnWidth header h1 {border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #e7e8ea; margin-top:0px !important; font-size:2em; line-height:1.5em !important; font-weight:bold; margin-bottom:20px;}
.MainBody h2, #MainContentDoubleColumnWidth h2, #MainContentFull h2 {border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #e7e8ea; margin-bottom:20px; margin-top:20px; font-size: 1.500em !important; line-height:1.3em !important;}
.LeftMenu header h1{font-size: 1.4em !important; padding:4%;  padding-bottom: 15px; line-height: 1em; padding-top: 15px; background-color: #71706E; color: #ffffff; position:relative; margin-bottom:0px !important; }
.LeftMenu header h1 a{color:#ffffff; text-decoration:none;}
.LeftMenu header h1 a:hover{color:#ffffff; text-decoration:underline;}
.MakingTheCaseVideoText h2 {border:none; font-size: 1.667em !important; line-height: 1.3em; margin-top: 10px; font-weight:bold; margin-bottom:0px;}
.ContactUsPopular h1 {border:none !important; font-size: 1.667em !important; line-height: 1.3em; margin-top: 10px;}
#contentSearchColumn h2 {font-weight:bold; border:none; font-size:1.8em !important;}
#contentSearchColumn h2 a:hover {color:#40c47b !important;}
.JobsHomepageTextSplit header h1 {border:none !important; margin-bottom:0px !important; padding-bottom:0px !important; font-size: 1.2em !important;  line-height: 1em !important;}

/* append icon to external links */
.MainContentRightBox a:hover[href^="http://"] {background: url(../img/template/external_link_icon_invert.png) center right no-repeat; padding-right: 13px; background-color:#016574; color:#FFF !important;}
.MainContentRightBox li a:hover[href^="http://"] {background: url(../img/template/external_link_icon_invert.png) center right no-repeat; padding-right: 13px; background-color:#016574; color:#FFF !important;}
.MainContentRightBox a[href^="http://media.sepa.org.uk/"] {background: url(../img/template/external_link_icon.png) center right no-repeat; text-decoration:none; margin:0px;  padding:5px; padding-left:10px; display:block; font-weight:bold;}
/*
a[href^="http://"] {background: url(../img/template/external_link_icon.png) center right no-repeat; padding-right: 13px;}
a[href^="https://"] {background: url(../img/template/external_link_icon.png) center right no-repeat; padding-right: 13px;}
*/
#jobsIe1 a[href^="http://"] {background: none; padding: 0px; margin:0px;}
#jobsIe1 a[href^="https://"] {background: none; padding: 0px; margin:0px;}
a[href^="http://apps.sepa.org.uk/"] {background: none; padding: 0px;}
a[href^="https://apps.sepa.org.uk/"] {background: none; padding: 0px;}
a[href^="http://www.facebook.com/"] {background: none; padding: 0px;}
a[href^="http://twitter.com/"] {background: none; padding: 0px;}
a[href^="https://twitter.com/"] {background: none; padding: 0px;}
a[href^="https://www.youtube.com/"] {background: none; padding: 0px;}
a[href^="https://uk.linkedin.com/"] {background: none; padding: 0px;}
a[href^="http://www.visitscotland.com/"] {background: none; padding: 0px;}
a[href^="http://media.sepa.org.uk/"] {background: none; padding: 0px;}
a[href^="http://www.sepa.org.uk/contact/"] {background: none; padding: 0px;}
a[href^="http://www.vibes.org.uk/"] {background: none; padding: 0px;}
.SliderText p a[href^="https://"] {background:none !important; padding-right: 0px !important;}
.SliderText p a[href^="http://"] {background:none !important; padding-right: 0px !important;}
.noExtIcon {background: none !important;  padding: 0px !important;}
.noExtIconHome {background: none !important; /*padding: 0px !important;*/}
#floodboxlink a[href^="http://"] {background:none !important; padding-right: 0px !important;}
#HeaderNavBar a[href^="http://"] {background:none !important; padding: 0px;}
/* site map */
.sitemap ul , .sitemap ul li{margin:0px !important; padding:0px !important; list-style:none !important;}
.level-2{font-size: 1.800em !important; line-height:1.3em !important; font-weight:bold; margin-top:10px !important;}
.level-3{font-size: 0.82em !important; line-height:1.1em !important;  font-weight:bold; }
.level-4{font-size: 0.8em !important; line-height:1.2em !important;  font-weight:bold;}
.smHeadingUL{border-bottom:1px solid #40c47b !important; display:block; margin-bottom:10px !important;}
.smHeadingUL:hover{text-decoration:none !important; border-bottom:1px solid #000 !important;}
.level-3 a{text-decoration:underline !important;}
.level-4 a{text-decoration:none !important;}
.sitemap ul ul li{margin-bottom:10px !important;}
.sitemap ul ul ul li{margin-bottom:0px !important;}
.sitemap ul { padding-top:10px !important; margin-left:5px !important; }
.sitemap ul ul {margin-bottom:10px !important; margin-left:40px !important; padding-top: 0px !important;}
.sitemap ul ul ul {padding-top:6px !important; margin-left:45px !important; }

/* Custom mailchimp form embed */

#mc_embed_signup .button {
background-color: #016574 !important;
margin: 20px 5px 10px 0 !important;	
}
/* code to stop external link on imge  on page /regulations/waste/life-smart-waste/ */
table tr td a[href^="http://eepurl.com/buHTcP"] {background:none !important; padding:0px !important;}
.SliderText p a[href^="https://"] {background:none !important; padding-right: 0px !important;}
.SliderText p a[href^="http://"] {background:none !important; padding-right: 0px !important;}
#accordion ul {margin-left:0px; padding-left:16px;}
/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */