/* ----- SB auditing - starting 27/04 ------*/


/*--- needed for correct article text size -- request raised by team post CC Live redesign - amendment made by Gary Dec 16-*/

.single .entry-content {
    font-size: 16px;
}


/*---- article text box and page furniture styling -- requirement raised by the team, created by Simeon, loaded by Gary April 2015 -*/

.full-width-box>h4 {
    margin-top: 0;
}

.post-grey-box {
    background-color: #f5f6f8;
}

.full-width-box {
    border-left: #93c01f 5px solid;
    background-color: #f5f6f8;
    margin: 1em 0;
    padding: 1em;
}

.half-width-box {
    border-top: #93c01f 5px solid;
    background-color: #f5f6f8;
    margin: 1em;
    padding: 1em;
    float: right;
    width: 40%;
}

.entry-content ol {
    counter-reset: li-counter;
    list-style-type: none !important;
    margin: 0 0 0 4em;
    padding: 0;
}

.entry-content ol>li {
    margin-bottom: 20px;
    min-height: 2em;
    padding-left: 0.5em;
    position: relative;
}

.entry-content ol>li:before {
    background-color: #f5f5f5;
    border-radius: 50%;
    color: #93c01f;
    content: counter(li-counter, decimal);
    counter-increment: li-counter;
    font-size: 1.5em;
    height: 1em;
    left: -2em;
    line-height: 1;
    padding: 0.5rem;
    position: absolute;
    text-align: center;
    top: 0;
    width: 1em;
}


/*--- case law icon headers - to illustrate seperate sections within the Case Law articles - created by Simeon, added by Gary January 2015 ----*/

.presenting-in-court-header:before {
    content: url("https://markallenassets.blob.core.windows.net/ccinform/wp-content/uploads/2015/01/legal2.png");
    padding-right: 1rem;
}

.recommendations-header:before {
    content: url("https://markallenassets.blob.core.windows.net/ccinform/wp-content/uploads/2015/01/Written-example.png");
    padding-right: 1rem;
}

.key-points-header:before {
    content: url("https://markallenassets.blob.core.windows.net/ccinform/wp-content/uploads/2015/03/key-points-for-practice.png");
    padding-right: 1rem;
}

.case-details-header:before {
    content: url("https://markallenassets.blob.core.windows.net/ccinform/wp-content/uploads/2015/05/case-details-new.png");
    padding-right: 1rem;
}

.tools-header:before {
    content: url("https://markallenassets.blob.core.windows.net/ccinform/wp-content/uploads/2015/03/tools.png");
    padding-right: 1rem;
}

.observations-header:before {
    content: url("https://markallenassets.blob.core.windows.net/ccinform/wp-content/uploads/2015/03/Observations1.png");
    padding-right: 1rem;
}

.questions-header:before {
    content: url("https://markallenassets.blob.core.windows.net/ccinform/wp-content/uploads/2015/03/questions.png");
    padding-right: 1rem;
}

.ways-forward-header:before {
    content: url("https://markallenassets.blob.core.windows.net/ccinform/wp-content/uploads/2015/05/ways-forward-new.png");
    padding-right: 1rem;
}

.points-practice-header:before {
    content: url("https://markallenassets.blob.core.windows.net/ccinform/wp-content/uploads/2015/03/key-points-for-practice.png");
    padding-right: 1rem;
}

.further-details-header:before {
    content: url("https://markallenassets.blob.core.windows.net/ccinform/wp-content/uploads/2015/03/further-details.png");
    padding-right: 1rem;
}

.case-summary-header:before {
    content: url("https://markallenassets.blob.core.windows.net/ccinform/wp-content/uploads/2015/01/case-summary2.png");
    padding-right: 1rem;
}

.decision-court-header:before {
    content: url("https://markallenassets.blob.core.windows.net/ccinform/wp-content/uploads/2015/01/decision-of-court.png");
    padding-right: 1rem;
}

.analysis-header:before {
    content: url("https://markallenassets.blob.core.windows.net/ccinform/wp-content/uploads/2015/01/analysis2.png");
    padding-right: 1rem;
}

.points-to-watch-header:before {
    content: url("https://markallenassets.blob.core.windows.net/ccinform/wp-content/uploads/2015/05/Points-to-watch.png");
    padding-right: 1rem;
}

.recommendations-header:before {
    content: url("https://markallenassets.blob.core.windows.net/ccinform/wp-content/uploads/2015/01/Written-example.png");
    padding-right: 1rem;
}


/*---- styling for quick guide pages --- to allow the team to present information in a different way, within an article type - created by Simeon and loaded by Gary October 2014*/

.quick-guide-left {
    float: left;
    width: 44%;
    padding: 0.5em 1em;
    margin: 1em 1em 1em 0;
    background-color: #F4F4F4;
}

.quick-guide-left ul li {
    margin-bottom: 1em;
    list-style-type: disc;
}

.quick-guide-right {
    float: left;
    display: inline;
    width: 44%;
    padding: 0.5em 0;
    margin: 1em;
}

.quick-guide-full-width {
    width: 95%;
    padding: 0.5em 1em;
    margin: 1em 1em 1em 0;
    background-color: #F4F4F4;
}

.quick-guide-full-width ul {
    padding-left: 1em;
}

.quick-guide-full-width ul li {
    margin-bottom: 1em;
    list-style-type: disc;
}

@media (max-width:1000px) {
    .quick-guide-left, .quick-guide-right .full-width {
        width: 95%;
    }
}


/* style block with no quote mark --- unfortunately no records on why this was needed or when it was set up*/

.entry-content .noquote-block {
    color: #333333;
    font-size: 2rem ! important;
    max-width: 90%;
    padding: 1rem;
    border-left: 10px solid #93c01f;
    margin: 1em;
}

.entry-content .noquote-block p {
    display: inline;
}


/* --- article quick links -- neater styling for the quick links at the top of the articles - created by Simeon, loaded by Gary March 2015-*/

.quick-links ul li {
    background-color: #f5f6f8 !important;
    border: 1px solid #dedede;
    border-radius: 5%;
    display: inline-block;
    float: left;
    font-size: 1.1rem !important;
    line-height: 1;
    list-style-type: none !important;
    margin: 2px;
    padding: 1rem;
}

.quick-links ul {
    padding: 0;
}

.quick-links {
    overflow: auto;
    display: block;
    margin-bottom: 2rem;
}

.quick-links ul li a {
    text-decoration: none !important;
}

.quick-links ul li:hover {
    background-color: #dedede !important;
}


/*--- article sub headers ----*/

.entry-content h2 {
    font-size: 1.9rem;
}

.main-content-section .site-content .entry-content h3 {
    font-size: 1.3rem;
}


/*--- article accordion -- set up to allow the team to add large chunks of information without increasing the page size - until the accordion is opened - created by Simeon, loaded by Gary March 2015---*/

.accordionItem h2 {
    background-color: #93c01f;
    border-bottom: 1px solid #ffffff;
    color: #ffffff;
    font-size: 1.1em;
    margin: 0;
    padding: 0.4em;
}

.accordionItem h2:hover {
    cursor: pointer;
}

.accordionItem div {
    background-color: #f5f6f8;
    border-bottom: 1px solid #ffffff;
    margin: 0;
    padding: 1em 0.4em;
}

.accordionItem.hide h2 {
    background-color: #93c01f;
    color: #ffffff;
}

.accordionItem.hide div {
    display: none;
}

.accordionItem.hide h2:before {
    content: "+";
    float: left;
    font-size: 24px;
    line-height: 1em;
    margin-right: 8px;
}


/*--- article sub heading on mobile -- post launch - team not happy with size of font on mobile site - amendment Gary January 2017 -*/

@media all and (max-width: 500px) {
    #content .entry-content h2 {
        font-size: 1.5rem;
    }
}


/*--- Aesop article subheader -- amendment to original Aesop control - tweak made by Gary June 2015--*/

.aesop-article-chapter-wrap .aesop-cover-title {
    font-size: 2rem !important;
    position: relative !important;
    top: 25px !important;
    bottom: 0 !important;
    border-bottom: none !important;
    text-shadow: 2px 2px 5px #000000;
    left: 5% !important;
    font-weight: 400;
}

.aesop-article-chapter {
    height: auto !important;
    padding-bottom: 12rem !important;
}


/*---- article table styling -- team required specific styling for tables, as they did not look very good, created by Simeon, loaded Gary March 2015-*/

.tg {
    border-collapse: collapse;
    border-color: #999;
    border-spacing: 0;
    max-width: 100%;
}

.tg td {
    background-color: #F0F6E0;
    border-color: #ffffff;
    border-style: solid;
    border-width: 1px;
    color: #444;
    font-family: Arial, sans-serif;
    font-size: 14px;
    overflow: hidden;
    padding: 10px 20px 0px 15px;
    vertical-align: top;
    word-break: normal;
}

.tg th {
    background-color: #93c01f;
    border-color: #fff;
    border-style: solid;
    border-width: 1px;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    overflow: hidden;
    padding: 10px 5px;
    word-break: normal;
}

.tg .tg-e3zv {
    font-weight: bold;
}

.tg .tg-vn4c {
    background-color: #F5FAEB;
    vertical-align: top;
}


/* --- article text box --these were created to allow the team to add quotes with their own standout style - it would have been in 2015 but I do not have a date--*/

#quote-bubble-left {
    background-color: #E8FAFA;
    border-radius: 3% 3% 3% 0px;
    margin-right: auto;
    margin-top: 1rem;
    padding: 1rem;
    width: 60%;
}

#quote-bubble-left2 {
    border-right: 15px solid transparent;
    border-top: 15px solid #E8FAFA;
    content: "";
    height: 0px;
    margin-bottom: 1rem;
    margin-right: auto;
    width: 0px;
}

#quote-bubble-right {
    background-color: #d3f4fd;
    border-radius: 3% 3% 0px;
    margin-left: auto;
    margin-top: 1rem;
    padding: 1rem;
    width: 60%;
}

#quote-bubble-right2 {
    border-left: 15px solid transparent;
    border-top: 15px solid #d3f4fd;
    content: "";
    height: 0px;
    margin-bottom: 1rem;
    margin-left: auto;
    width: 0px;
}


/* -- new colour for back to top button -- change to colour once redesign released - amend by Gary Jan 2017- */

#back-to-top {
    background-color: var(--background-light-blue) ! important;
}


/* Aesop element hide ---amendment to original Aesop control - tweak made by Gary June 2015--* -*/

.aesop-toggle-chapter-menu {
    display: none;
}


/* Author bio hidden --- i can find no reason why this has been put into the css section - i cannot see why we would want to hid the author information but somebody must have requested it.-*/

.author-bio {
    display: none;
}


/*---- key skills badge --new content required a specific badge on it - created by Simeon, loaded by Gary August 2015---*/

h1 #kss {
    background-color: #93c01f;
    bottom: 1rem;
    color: white;
    font-size: 1.5rem;
    position: relative;
    padding: 0 .5rem;
}


/*---- CPEL button --new content required a specific badge on it - created and loaded by Gary November 2016-*/

h1 #cpel {
    background-color: #93c01f;
    bottom: 1rem;
    color: white;
    font-size: 1.5rem;
    position: relative;
    padding: 0 .5rem;
}


/*--- article text box -- new box requested by time for specific content within a page - created by Simeon, loaded by Gary January 2016-*/

.discussion-box {
    background-color: #F5F6F8;
    margin: 1em 0;
    padding: 1em;
    width: 100%;
    box-sizing: border-box;
}

.discussion-box h3 {
    color: #00AFD7;
    font-size: 1.8em !important;
    padding: 0;
    margin: 0;
}

.discussion-box h3::before {
    content: url("/wp-content/uploads/2015/03/questions.png");
    margin-right: 10px;
    padding: 5px;
}


/*--- hub page subheader -- team requested something that would allow them to clearly show a multimedia link within a hub page - created by Simeon, loaded by Gary Mar 2016-*/

.landing-page-card-interactive h5 {
    vertical-align: top;
    margin: 0px 0px 5px 0px !important;
    font-size: 1.2rem;
    padding: 0px 5px 10px 5px;
    width: auto;
    color: #005e84;
    line-height: 1;
}

.landing-page-card-interactive p {
    margin: 0 !important;
}


/* article intro box --- revised and updated hub intro boxes as requested by the team - created and loaded by Gary August 2016-*/

.intro-box {
    clear: both;
    padding: 10px 15px;
    box-shadow: 1px 1px 5px #aaa;
    border-radius: 1%;
    background-color: #BBDEF0;
}

.hubintro-box {
    background-color: #ffffff;
    border-radius: 1%;
    box-shadow: 1px 1px 5px #aaa;
    clear: both;
    padding: 10px 15px;
    width: 96.5%;
}


/* ---- styled numbered list -- team wanted styling on a custom list, created and loaded by Gary 19th September 2016--*/

.custom-counter {
    margin-left: 0 !important;
    padding-right: 0 !important;
    list-style-type: none !important;
}

.custom-counter li {
    counter-increment: step-counter !important;
}

.custom-counter li::before {
    background-color: #93c01f !important;
    border-radius: 20px !important;
    color: white !important;
    content: counter(step-counter, decimal) !important;
    font-size: 100% !important;
    font-weight: bold !important;
    margin-right: 5px !important;
    padding: 8px !important;
}


/* ---- article box --revised and updated hub intro boxes as requested by the team - created and loaded by Gary August 2016-*/

.moreinfobox {
    background: #93c01f none repeat scroll 0 0;
    box-sizing: border-box;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 10px 10px 10px 12px;
    width: 100%;
}


/* ---- article box styling --tweak made as requested by team - created and loaded by Gary January 2017-*/

.entry-content .noquote-block {
    line-height: 1.3 !important;
}


/* --- full page metaslider styling ----tweaks made to the slider, created and loaded by Simeon, November 2015 --*/

.cci-new #cci-new-page #content .metaslider .flexslider a {
    color: #fff !important;
}

.cci-new #cci-new-page #content .metaslider .flexslider img.msDefaultImage {
    filter: brightness(0.6) saturate(90%) blur(10px);
}

.cci-new #li-lunch-learn .flexslider .caption, .cci-new .tools-inner .flexslider .caption {
    min-height: 80px;
}

.single .post-image img {
    display: none;
}


/* ------- # VC pattern library -----templates set up by Simeon for use by the team, when they finally decide to use or get shown how to use visual composer - these were created and load around Feb 2017-- */

.full-width-box-overlay {
    position: relative;
    z-index: 100;
    top: 10px;
    left: -10px;
    color: #333;
    margin: 0;
}

.cci-new .lo-container .full-width-box-overlay h3, .cci-new .lo-container .full-width-box-plain h3 {
    padding: 0px;
}

.full-width-box-new {
    color: transparent;
}

.full-width-box-new .vc_column-inner {
    padding: 0 !important;
}

.full-width-box-plain .vc_column-inner {
    padding: 0 !important;
}

.pull-quote-box-new:before {
    left: 20px;
    position: absolute;
}

.pull-quote-box-new:after {
    right: 20px;
    position: absolute;
    bottom: 0px;
}

.pull-quote-box-new {
    margin: 0px 60px 0px 70px;
    font-size: 20px;
}

.non-quote-box-new {
    padding-left: 70px;
    font-size: 20px;
    background-repeat: no-repeat;
}

.half-width-box-right-new {
    float: right !important;
    transform: rotate(2deg);
    width: 400px;
    max-width: 100%;
    position: absolute;
    right: 0px;
    z-index: -1;
    height: 100%;
    color: transparent;
    padding: 0px 10px;
}

.half-width-box-right-new .vc_column-inner {
    padding: 0;
}

.half-width-box-right-overlay {
    float: right;
    width: 40%;
    background-color: rgba(205, 235, 248, 0.7);
    padding: 10px;
    position: relative;
    left: 10px;
}

.half-width-box-right-overlay h4, .icon-box-new h4 {
    margin: 10px 0;
}

.new-float-right-container {
    float: right;
}

.icon-box-new {
    color: #333 !important;
}

.icon-box-new .vc_message_box-icon {
    color: #333 !important;
}

.text-over-image-new {
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.5);
    background-size: cover;
    background-blend-mode: overlay;
    background-position: center center;
    padding: 10px;
    color: #fff;
    font-size: 24px;
    text-shadow: 2px 2px 3px #333;
    line-height: 1.2;
}

.float-right-dialogue {
    background-color: #CDEBF8;
    padding: 10px;
    box-sizing: border-box;
    width: 350px;
    max-width: 100%;
    float: right;
    position: relative;
    border-radius: 5px 5px 5px 0px;
}

.float-right-dialogue:after {
    content: "";
    height: 0;
    width: 0;
    border-bottom: 15px solid transparent;
    position: absolute;
    border-left: 15px solid #CDEBF8;
    left: 0;
    bottom: -14px;
}

.float-left-dialogue {
    box-sizing: border-box;
    width: 350px;
    max-width: 100%;
    float: left;
    position: relative;
    border-radius: 5px 5px 0px 5px;
}

.float-left-dialogue:after {
    content: "";
    height: 0;
    width: 0;
    border-bottom: 15px solid transparent;
    position: absolute;
    border-right: 15px solid #CDEBF8;
    right: 0;
    bottom: -14px;
}


/*----------- manage account form --------addition of some new styling showing CC buttons etc------- created by Simeon, loaded by Gary 25 Jan 2017--------------*/

.single-datacaptureform #wrapper {
    max-width: 100%;
}

#datacaptureform {
    width: 960px;
    max-width: 100%;
    margin: 10px auto;
    border: 1px solid #eee;
    box-shadow: 1px 1px 5px #ccc;
    font-family: "Open Sans", sans-serif;
    box-sizing: border-box;
}

.single-datacaptureform #wrapper #datacaptureform h1 {
    position: relative;
    float: right;
    font-size: 42px;
    color: #333;
    top: 10px;
}

.single-datacaptureform #wrapper #datacaptureform form label, .single-datacaptureform #wrapper #datacaptureform input.text {
    font-size: 15px;
}

.single-datacaptureform #wrapper #datacaptureform input {
    padding: 5px;
    border-radius: 2px;
}

.single-datacaptureform #wrapper #datacaptureform .datacapturefield {
    margin-left: 0px;
}

.single-datacaptureform .menu-footer-menu-logged-in-container {
    background-color: #0DACD9;
    text-align: center;
}

.single-datacaptureform .menu-footer-menu-logged-in-container ul {
    padding-left: 0px;
}

.single-datacaptureform .menu-footer-menu-logged-in-container ul li {
    list-style-type: none;
    display: inline-block;
    margin: 10px 0px;
    border-right: 1px solid #fff;
    padding: 0px 10px;
}

.single-datacaptureform .menu-footer-menu-logged-in-container ul li:last-of-type {
    border-right: none;
}

.single-datacaptureform .menu-footer-menu-logged-in-container ul li a {
    color: #fff;
}

.single-datacaptureform #bottom-footer {
    text-align: center;
}

.single-datacaptureform #bottom-footer img {
    padding: 5px;
}

#manage-account-form-buttons ul {
    display: block;
    clear: left;
    text-align: center;
    padding-left: 0px;
}

#manage-account-form-buttons ul li {
    display: inline-block;
    list-style-type: none;
    width: 110px;
    box-sizing: border-box;
    margin: 10px;
    vertical-align: top;
    border: 1px solid #eee;
    height: 180px;
    box-shadow: 1px 1px 3px #ccc;
    background-color: #eee;
}

#manage-account-form-buttons ul li img {
    width: 90px;
    padding: 10px;
}

#manage-account-form-buttons ul li a {
    color: #005F87;
    width: 100%;
    display: block;
    height: 100%;
}

#manage-account-form-buttons ul li a:hover {
    color: #00AFd7;
}

#manage-account-form-buttons ul li:hover {
    background-color: #cdebf8;
    box-shadow: inset 1px 1px 3px #ccc;
}

@media all and (max-width:620px) {
    .single-datacaptureform #wrapper #datacaptureform h1 {
        float: left;
        left: -20px;
        bottom: 10px;
        top: 0px;
    }
}


/*--- table styling --- various tweaks requested by the team on the original table design - cannot put exact date on them, as they were minor changes and have been made over the course of 2016/17 by Gary --*/

.tg .tg-abcd {
    background-color: #e6eff3;
    width: 25% !important;
}

.tg .tg-efgh {
    background-color: #e6eff3;
    width: 75% !important;
}

.tg .tg-abcd {
    background-color: #e6eff3;
    width: 25% !important;
}

.tg .tg-efgh {
    background-color: #e6eff3;
    width: 75% !important;
}

.tg .tg-vn4c {
    background-color: #e6eff3;
    width: 50%;
}

td[data-label="Date Saved"] {
    word-break: normal;
}

.tg .tg-ksstabhead {
    font-weight: bold;
}

.tg .tg-kss1 {
    background-color: #f5faeb;
    vertical-align: top;
}

.tg .tg-kss2 {
    background-color: #e6eff3;
    vertical-align: top;
}

ul.kss {
    list-style-type: circle;
    padding: 0px 20px 0px 20px;
}

h3.kss {
    padding: 0px 0px 10px 25px !important;
}

.roundedcorner {
    border: 5px solid #73ad21;
    border-radius: 25px;
    height: 5px;
    padding: 10px;
    width: 5px;
}

.tg .checklisttable {
    background-color: #ffffff;
    border-color: #ffffff;
    border-style: solid;
    border-width: 1px;
    color: #444;
    font-family: Arial, sans-serif;
    font-size: 14px;
    overflow: hidden;
    padding: 10px 20px 0 15px;
    vertical-align: top;
    word-break: normal;
}

.post-114926 table.tg {
    width: 100%;
    table-layout: fixed;
}


/* new case law text box - team had requested a new box, with a smaller font, to highlight a different sort of content within the case law section, created and loaded by Gary 23rd March 2017 ---*/

.case-law-guidance-box {
    background-color: #e4f8fb !important;
    margin-bottom: 10px;
    padding: 2%;
    width: 95%;
    border: 2px solid #055879;
    box-shadow: 1px 1px 5px #aaa;
}

h3.case-law-guidance {
    color: #000000;
    font-size: 1.2em !important;
    font-family: Tahoma;
}

p.case-law-guidance {
    color: #000000;
    font-size: 0.8em !important;
    font-family: Tahoma;
}

ul.case-law-guidance {
    color: #000000;
    font-size: 0.8em !important;
    font-family: Tahoma;
}

.cci-new-single-learning_tools .case-details-header h2 {
    font-size: 32px;
    background: url("https://markallenassets.blob.core.windows.net/ccinform/wp-content/uploads/2015/05/case-details-new.png") no-repeat left center;
    line-height: 1.9em;
    padding-left: 90px;
    max-width: 100%;
    margin-bottom: 0px;
}

.cci-new-single-learning_tools .entry-content h4 {
    font-size: 1.2rem;
    display: inline-block;
}
