@import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300);

body {
    font-family: helvetica, arial, sans-serif;
    font-size: 14px;
    color: #666;
    background: url('../img/4a-body-background.png') repeat;
}

h1, h2, h3, h4 {
    font-family: 'Open Sans Condensed', helvetica, sans-serif;
    font-weight: bold;
}

h1 {
    font-size: 40px;
    margin-bottom: 30px;
}

h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

h3 {
    font-size: 20px;
}

h4 {
    font-size: 17px;
}

p {
    margin-bottom: 15px;
    line-height: 1.5;
}

li {
    margin-bottom: 5px;
}

label {
    margin-bottom: 10px;
}

textarea {
    height: 150px;
}

input,
textarea {
    margin: 5px 0 20px;
    width: 180px;
    font-size: 14px;
    padding: 3px;
}

    input[type=checkbox] {
        width: auto;
        margin-bottom: 10px;
    }

    input[type="submit"] {
        color: #fff;
    }

article ul, article ol {
    margin-bottom: 15px;
    line-height: 1.5;
}

.cardiff-3box p {
    padding-left:10px;
    padding-right: 10px;
}

.rule {
    height: 1px;
    margin: 0;
    border: none;
}

.rule2 {
    margin: 30px 0;
    clear: left;
}

.wrapper {
    padding: 0 30px 0 0;
}

.arrowLink {
    width: 18px;
    height: 9px;
    margin-left: 5px;
}

.submit {
    width: auto;
    height: 30px;
    border: none;
    font-size: 13px;
    padding: 3px 5px;
}

.addthis_toolbox {
    height: 30px;
    padding-top: 20px;
    clear: both;
}

/* new blog */
.dateTime .addthis_toolbox {
    display: inline-block;
    height: inherit;
}

.post .post-image {
    float: left;
}

.post-image {
    min-height: 250px;
}

.post-container {
    overflow: hidden;
    padding-left: 10px;
}

.blogPost .post-image {
    float: left;
}

.postheader {
    overflow: hidden;
    margin-bottom: 10px;
}

.post-image .blogimage {
    margin-top: 5px;
    display: inline-block;
}

.post-image .blogimage img{
    max-width: 125px;
    height: auto;
}

.post-summary {
    margin-top: 15px;
    line-height: 1.4;
}

.authorimage {
    border-radius: 50%;
    width: 10%;
    float: left;
    margin-right: 10px;
}

.author {
    font-weight: bold;
    margin-top: 20px;
    display: inline-block;
}

    .author span {
        font-weight: normal;
    }

.genre {
    margin: 10px 0;
}

.clear {
    clear: both;
}

.blog-archives {
    display: none;
}

.post-container .readmore {
    display: inline-block;
    background-color: #368EBF;
    padding: 10px 15px;
    color: white;
    font-weight: bold;
}

.post h2 {
    margin-top: 0;
}


/* pin pages */
.pinContent {
    margin: 0 auto;
    width: 320px;
    padding: 20px;
    background-color: #DEDEDE;
    border-radius: 10px;
}

    .pinContent label {
    display: block;
    text-align: center;
    font-weight: bold;
    }

.pinContentInner {
    overflow: hidden;
    margin: 0 auto;
    width: 175px;
}

.txtPin {
    width: 33px;
    float: left;
    margin: 0 20px 0 0;
    padding: 8px;
}

.btnGetContent {
    margin: 0;
    height: 34px;
}

.needpin {
    margin-top: 14px;
    text-align: center;
    margin-bottom: 0;
}

.pinError, .pinSuccess {
    margin: 10px 0;
    text-align: center;
}

.pinSuccess {
    color: green;
}


/*header*/
header h3 {
    font-size: 40px;
    margin-top: 30px;
}

header h4 {
    font-size: 28px;
    margin-bottom: 30px;
}

#agentLogo {
    float: left;
    margin: 0 30px 30px 0;
    max-height: 150px;
    max-width: 300px;
}

/*nav*/
nav {
    height: 50px;
    font-size: 18px;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: bold;
    z-index: 1;
    position: relative;
}

    nav .container {
        padding-top: 13px;
    }

    nav a {
        margin-left: 10px;
        padding-left: 10px;
    }

    nav li:first-child a {
        border: none;
        margin: 0;
        padding: 0;
    }

    nav ul ul {
        width: 180px;
        top: 23px;
        padding-top: 0;
    }

    nav li li {
        border: none;
        margin: 0;
        padding: 0;
        font-size: 13px;
        font-family: Helvetica,sans-serif;
    }

    nav li:hover ul {
        left: 10px;
    }

    nav li li a,
    nav li li:first-child a {
        display: block;
        padding: 7px 10px;
        border: none;
        margin-left: 0;
    }

    nav li {
        padding-bottom: 5px;
    }

.socialMedia {
    float: right;
}

    .socialMedia a {
        margin-left: 0;
        padding-left: 0;
        border: none;
    }

nav > a {
    padding-right: 0;
    margin-right: 0;
    border-right: none;
}

nav .subnavContainer {
    display: none;
    position: absolute;
    right: 0;
}

/* content */
#content {
    min-height: 494px;
    margin-bottom: 30px;
    padding: 30px 0;
}

    #content article img.cardiff,
    .blogPost img,
    #eventContent img {
        max-width: 100%;
    }

iframe,
.section_FullWidth img {
    max-width: 100%;
}

aside {
    width: 465px;
    font-size: 12px;
}

    aside .wrapper {
        padding-right: 0;
    }

#agentPhoto {
    width: 145px;
    height: 145px;
    padding: 5px 0 0 5px;
    float: left;
    margin: 0 30px 30px 0;
    background-color: #fff;
}

    #agentPhoto img {
        width: 140px;
        height: 140px;
    }

#hero .hero {
    width: 455px;
    height: 455px;
    background-position: 50%;
    background-repeat: no-repeat;
}

#hero .container {
    width: 460px;
    height: 460px;
    padding: 5px 0 0 5px;
    background-color: #fff;
}

#hero .backArrow,
#hero .forwardArrow {
    background: url(../img/presentationArrows.gif) no-repeat;
}

#hero .backArrow {
    top: 220px;
}

#hero .forwardArrow {
    top: 220px;
    left: 439px;
    background-position: -26px 0;
}

#hero .wrapper {
    position: absolute;
    left: 5px;
    bottom: 5px;
    padding-right: 5px;
}

#hero h2 {
    margin-bottom: 2px;
}

    #hero h2 span {
        padding: 0 10px;
        color: #fff;
    }

#hero p {
    padding: 5px 10px;
    background-color: #797B7F;
    background-color: hsla(240, 0%, 25%, 0.9);
    color: #fff;
    margin-bottom: 0;
}

#hero a {
    text-decoration: underline;
    color: #fff;
}

/*SIDE BY SIDE*/
#externalCustomSectionAssets .section {
    margin-bottom: 20px;
}

.section.SideBySide:first-of-type {
    padding-top: 30px;
}

.section.SideBySide {
    clear: both;
}

.SideBySide {
    width: 700px;
    margin: 0 auto;
}

    .SideBySide h3 {
        font-weight: inherit;
    }

    .SideBySide img {
        width: 54%;
    }

    .SideBySide.Right img {
        float: right;
    }

    .SideBySide.Left .boxside {
        float: right;
    }

    .SideBySide .boxside {
        width: 245px;
        text-align: left;
    }

        .SideBySide .boxside h3 {
            margin-bottom: 10px;
        }

        .SideBySide .boxside h3,
        .SideBySide .boxside p,
        .SideBySide .boxside a {
            text-align: center;
        }

    .SideBySide .btn {
        display: block;
        width: 50%;
        background: #D8D8D6;
        font-size: 1.1em;
        margin: 0 auto;
        padding: 7px;
        color: #fff;
    }

.cardiff-row .Right {
    text-align: right;
}

.cardiff-row .Left {
    text-align: left;
}

.cardiff-row .Center {
    text-align: center;
}

.section_Boxes .cardiff-3box h2 + div {
    margin-bottom: 15px;
}

.box-icon img {
    height: 82px;
}

.section_Boxes .cardiff-3box {
    text-align: center;
}

.section_SideBySide .aside_text {
    padding: 0;
}

.section_boxes ol li {
    list-style-type: decimal;
}

.section_boxes ul li {
    list-style-type: disc;
}

.section_boxes ol li,
.section_boxes ul li {
    list-style-position: inside;
}

.is-landing-page .section_Boxes.boxCount-2,
.is-landing-page .section_Boxes.boxCount-3,
.is-landing-page .section_Boxes.boxCount-4 {
    padding-left: 32px;
}

#subContent {
    clear: both;
}

    #subContent .wrapper {
        padding: 20px 20px 10px;
        }

    #subContent .right,
    #subContent .left {
        width: 465px;
        min-height: 300px;
        margin-bottom: 30px;
        }

    #subContent .left {
        margin-right: 0;
        font-size: 12px;
    }

    #subContent .right .textfield {
        float: left;
        width: 210px;
    }

    #subContent textarea {
        width: 390px;
        height: 50px;
    }

footer {
    min-height: 280px;
    font-size: 13px;
}

    footer .container {
        padding: 30px 0;
    }

    footer h4 {
        margin-bottom: 5px;
    }

    footer p {
        margin-bottom: 10px;
    }

    footer .socialMedia {
        position: relative;
        top: 0;
        float: none;
    }

@media print {
    footer .contact {
        word-wrap: break-word;
    }

        footer .contact a {
            display: block;
        }
}

/*page unique*/
.subpage #content article {
    width: 630px;
}

    .subpage #content article .rule {
        clear: left;
    }

.subpage #content aside {
    width: 300px;
}

.subpage aside section {
    margin-bottom: 20px;
}

#learningContent .matter {
    float: left;
    margin: 0 30px 0 0;
    width: 280px;
    /* min-height:; */
}

.socialMedia.contact {
    float: none;
}

#allTypeContent .left {
    clear: left;
}

#allTypeContent section {
    margin: 0 30px 0 0;
    width: 280px;
}

#allTypeContent section {
    float: left;
}

#matterContent img {
    width: 300px;
    height: 229px;
    float: left;
    margin-right: 30px;
}

#matterContent .featuredFlag {
    font-size: 20px;
    font-family: 'Open Sans Condensed';
    font-weight: bold;
}

    #matterContent .featuredFlag,
    #matterContent .featuredFlag:hover {
        color: #fff;
    }
#matterContent .featured img        { background-size: cover; -moz-background-size: cover; }

#suggested {
    margin-top: 30px;
}

#allVideoContent .videoContent {margin-left:30px; padding-bottom:20px; width:190px;}
#allVideoContent .videoContent img  {width: 190px;height: 145px;background-size: cover;-moz-background-size: cover;margin-bottom: 10px;}
#allVideoContent .left              {clear:left; margin-left:0;}

        #suggested .content img {
            height: 145px;
            margin-bottom: 10px;
            width: 190px;
        }

    #suggested .left {
        margin-left: 0;
    }


#allVideoContent .videoContent {
    margin-left: 30px;
    padding-bottom: 20px;
    width: 190px;
}

#allVideoContent .videoContent img  {
    width: 190px;
    height: 145px;
    -moz-background-size: cover;
    background-size: cover;
    margin-bottom: 10px;
}

#allVideoContent .left {
    clear: left;
    margin-left: 0;
}

#additional nav {
    clear: none;
    background: none transparent;
    height: 30px;
}

    #additional nav a {
        padding-bottom: 0;
    }
#matterContent .featured img        { background-size: cover; -moz-background-size: cover; }

    #additional nav ul {
        padding-top: 0;
    }

#additional .left {
    clear: none;
    background: none transparent;
    width: auto;
    height: auto;
}

#additional .viewAll {
    clear: none;
}

#articleContent .fastFact,
#articleContent .tip {
    font-size: 12px;
    line-height: 1.4;
    padding-top: 31px;
    width: 200px;
}

#teamContent .info img {
    margin: 0 20px 40px 0;
}

#teamContent .agent .info {
    margin-right: 20px;
    width: 300px;
}

#teamContent .rule {
    margin-bottom: 40px;
}

/*#agentContent img {
    margin: 0 0 30px 30px; // Commenting this out to fix the team detail page (FMGSUITE-5560). This doesn't seem to be needed for any other pages, but keeping it here just in case. 
}*/

#eventContent .rule {
    margin-bottom: 20px;
}

#eventContent .info {
    font-size: 12px;
}

#eventContent {
    overflow: hidden;
    margin-top: -30px;
}

    #eventContent .info {
        margin-right: 30px;
        font-size: 14px;
        width: 100%;
    }

        #eventContent .info p {
            margin-bottom: 5px;
        }

        #eventContent .info h3 {
            margin-bottom: 7px;
        }

    #eventContent .regBtn {
        display: inline-block;
        margin-right: 10px;
        position: relative;
        bottom: 15px;
    }

    #eventContent .addthis_toolbox {
        display: inline-block;
    }

    #eventContent .organizer a {
        display: block;
        margin-bottom: 10px;
    }



/*background-image*/
nav,
#content {
    background-image: url(../img/4a-sprite.png);
}

#subContent .right,
#subContent .left {
    background-image: url(../img/4a-subContent.png);
}

footer {
    background-image: url(../img/4a-footer.png);
}

/*background-repeat*/
nav,
#content,
#subContent .right,
#subContent .left,
footer {
    background-repeat: repeat-x;
}

/*background-position*/
#content {
    background-position: 0 -50px;
}

.weather .wrapper {
    padding-bottom: 40px;
}

    .weather .wrapper .body {
        float: left;
        margin-right: 30px;
    }

.weather .degree {
    font-size: 35px;
    margin-bottom: 0;
    line-height: 1;
}

.weather .condition {
    font-size: 15px;
}

#navButton {
    display: none;
}

.subnavButton {
    display: none;
}

/*BROKER CHECK*/
header .broker-check {
    width: 100%;
    height: 40px;
    background: #F6F6F6;
    text-align: right;
    margin-bottom: 20px;
    border-bottom: solid 1px #E4E4E4;
}

    header .broker-check .container {
        padding: 9px 0 0 0;
    }

.broker-check a:hover {
    text-decoration: none;
}

header.masthead {
    margin: 0 !important;
}

.floating-broker-check {
    width: 205px;
    height: 40px;
    background: rgba(246, 246, 246, .85);
    text-align: center;
    border: solid 2px #E4E4E4;
    position: fixed;
    bottom: 0;
    right: 80px;
    z-index: 9999;
    margin-top: 0;
    box-sizing: border-box;
}

    .floating-broker-check a {
        display: block;
        width: 205px;
        height: 40px;
        padding-top: 8px;
    }

.broker-check-description {
    display: block;
    margin: 0;
    text-align: center;
}

/* This is for the video-scroll-play script */
.js-video-autoplay {
    width: 100%;
    margin-bottom: 40px;
}

/* Team Sections */
.section_TeamList .c-team-section__container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-flow: row wrap;
    align-content: flex-start;
}

    .section_TeamList .c-team-section__container > .c-team-section__member {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        width: 30%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        margin: 0 5% 35px 0;
    }
.section_TeamList .c-team-section__container > .c-team-section__member:nth-child(3n+3){
    margin-right:0;
}
.c-team-member__info{
    padding-left:35px;
}

.c-team-member__grid {
    padding-left: 0;
}

.c-team-member__list {
    padding-left: 15px;
}

.c-fmg-divider {
    background: #D5D5D5;
}

.c-cardiff-portrait{
    display:block;
    text-align:center;
}


.c-team-list__section--cardiff {
    width: 100%;
    padding: 30px 0;
}

.c-team-list__section--cardiff + .c-fmg-divider:last-child {
    display: none;
}

.c-team-list__img--cardiff {
    width: 100%;
    max-width: 100%;
    vertical-align: top;
    display: inline-block;
    padding: 0;
}

.c-team-list__h1--cardiff {
    font-size: 24px;
    text-transform: Capitalize;
    color: #257FB1;
    font-weight: bold;
    margin: 0;
}

.c-team-list__h2--cardiff {
    font-size: 17px;
    font-weight: bold;
    color: #4C4C4C;
    margin-top: 5px;
    margin-bottom:20px;
}

.c-team-list__h3--cardiff {
    font-size: 16px;
    font-weight: normal;
    color: #2F83B1;
    margin-bottom:15px;
    margin-bottom:15px;
}

.c-team-list__a--cardiff {
    color: #2F83B1;
    display: inline-block;
}

.c-team-list__a--cardiff:hover {
        text-decoration: none;
  }
.c-team-member__social-icns{
    margin-bottom:20px;
}

.c-team-grid__section--cardiff {
    width: 100%;
    display: inline-block;
    background-color: #F7F8F7;
    padding: 15px;
}

.c-team-grid__fa-icon--cardiff {
    float: left;
    margin-right: 10px;
}

.c-team-grid__a--cardiff {
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
}

    .c-team-grid__a--cardiff:hover {
        text-decoration: none;
  }

.c-team-grid__img--cardiff {
    width: 200px;
    max-width: 100%;
    padding: 0;
}

.c-team-grid__h1--cardiff {
    font-size: 20px;
    text-transform: Capitalize;
    color: #257FB1;
    font-weight: bold;
    margin: 5px 0 0px;
}

.c-team-grid__h2--cardiff {
    font-size: 18px;
    font-weight: normal;
    margin-top: 10px;
    margin-bottom:20px;
}

.c-team-grid__h3--cardiff {
    font-size: 16px;
    font-weight: normal;
    color: #2F83B1;
    margin-bottom:15px;
}
.c-team-member__email{
    margin-bottom:20px;
}
.c-team-info__icons{
    margin-right:10px;
}


.fa__linkedin--circle {
    background-color: #2F83B1;
    color: white;
    padding: 6px 7px;
    border-radius: 20px;
    font-size: 14px;
    margin-right:10px;
}

.fa__facebook--circle {
    background-color: #2F83B1;
    color: white;
    padding: 6px 9px;
    border-radius: 20px;
    font-size: 14px;
    margin-right:10px;
}

.fa__twitter--circle {
    background-color: #2F83B1;
    color: white;
    padding: 6px 6px;
    border-radius: 20px;
    font-size: 14px;
}

.fa-phone__team--cardiff {
    font-size: 20px;
}

.c-team__image--bw {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    -o-transition: ease-in 0.2s all;
    -moz-transition: ease-in 0.2s all;
    -webkit-transition: ease-in 0.2s all;
    transition: ease-in 0.2s all;
}

    .c-team__image--bw:hover {
        -webkit-filter: grayscale(0%);
        filter: grayscale(0%);
        -o-transition: ease-in 0.2s all;
        -moz-transition: ease-in 0.2s all;
        -webkit-transition: ease-in 0.2s all;
        transition: ease-in 0.2s all;
  }

.c-team__divider--JumboSolid {
    border-bottom: solid 1px #333;
}

.c-team__divider--JumboDashed {
    border-bottom: dashed 1px #333;
}

.c-team__divider--LargeSolid {
    content: '';
    border-bottom: solid 1px #333;
    width: 60%;
    display: block;
    margin: 0 auto;
}

.c-team__divider--LargeDashed:after {
    content: '';
    border-bottom: dashed 1px #333;
    width: 60%;
    display: block;
    margin: 0 auto;
}

.c-team__divider--CaretDown {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    background-color: inherit;
}

.c-team__read-more--cardiff {
    margin-top: 10px;
    display: block;
}

.c-row--cardiff {
    margin-right: -15px;
    margin-left: -15px;
}

.c-col-2--cardiff {
    display: inline-block;
    width: 20%;
    vertical-align: top;
    margin-right: 10px;
}

.c-col-10--cardiff {
    display: inline-block;
    width: 70%;
}

.c-col-4--cardiff {
    display: inline-block;
    width: 31%;
    margin-right: 10px;
    vertical-align: top;
}

.c-col-3__team-detail--cardiff {
    display: inline-block;
    width: 30%;
    vertical-align: top;
    margin-right: 20px;
}

.c-col-9__team-detail--cardiff {
    display: inline-block;
    width: 65%;
}

.c-col-12--cardiff {
    display: inline-block;
    width: 100%;
}

.c-team-detail__h1--cardiff {
    font-size: 19px;
    text-transform: Capitalize;
    font-weight: bold;
    margin: 0;
}

.c-team-detail__h2--cardiff {
    font-size: 17px;
    font-weight: bold;
    margin-top: 10px;
}

.c-team-detail__h3--cardiff {
    font-size: 16px;
    font-weight: normal;
    margin-top: 0;
}

.c-team-detail__a--cardiff {
}

.c-team-detail__sms {
    margin-top: 15px;
}

.c-team-detail__row {
    margin: 0;
    max-width: 100%;
}

.c-team-overflow--ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
    vertical-align:bottom;
}

/*START TEAM SEARCH*/
.homepage #content section.section_TeamSearch.section_TeamSearch.section_TeamSearch {
    background: #F6F6F6;
}


.c-cardiff-team__search.Left {
    text-align: left;
}

.c-cardiff-team__search,
.c-cardiff-team__search.Center {
    text-align: center;
}

    .c-cardiff-team__search.Right {
        text-align: right;
  }



    .c-cardiff-team__search .c-cardiff-search__input {
        display: inline-block;
        width: 100%;
        height: 43px;
        vertical-align: middle;
        margin: 0;
        padding: 0 35px 0 15px;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -wbkit-box-sizing: border-box;
      }


.c-team-search__inner .awesomplete > ul:before {
    display: none;
}

.c-team-search__list--hidden {
    display: none;
}

.c-team-search__inner {
    width: 50%;
    display: inline-block;
    position: relative;
    margin-bottom: 25px;
}

    .c-team-search__inner .awesomplete > ul > li:hover {
        background: rgba(204,204,204,.25);
        color: #333;
       }

    .c-team-search__inner .awesomplete > ul > li[aria-selected="true"] {
        background: rgba(204,204,204,.25);
        color: #333;
  }

    .c-team-search__inner .awesomplete mark {
        background: none;
        padding: 0;
        font-weight: bold;
        font-style: normal;
    }

    .c-team-search__inner .awesomplete li {
        list-style-type: none;
        padding: 10px;
    }

        .c-team-search__inner .awesomplete li:last-of-type {
            margin-bottom: 0;
        }

        .c-team-search__inner .awesomplete li:hover mark {
            background: none;
        }

        .c-team-search__inner .awesomplete li[aria-selected="true"] mark {
            background: none;
            color: inherit;
        }

    .c-team-search__inner .c-search-icon {
        position: absolute;
        top: 15px;
        right: 10px;
        z-index: 1;
        font-size: 20px;
    }
/*@media (min-width:992px) {
    .c-cardiff-team__search .c-cardiff-search__input {
        width: 50%;
        margin: 0;
    }
    .c-cardiff-team__search .c-cardiff-search__btn {
        width: 12%;
    }
}*/
/*END TEAM SEARCH*/

/*START NEW BOX SECTION*/
.section_Boxes.boxCount-2 .cardiff-3box{
    width:350px;
    margin-right:65px;
    margin-bottom:55px;
}
.section_Boxes.boxCount-2 .cardiff-3box:first-child{
    margin-left:97.55px;
}
.section_Boxes.boxCount-2 .cardiff-3box:last-child{
    margin-right:0
}

.section_Boxes.boxCount-2 .cardiff-3box.Image {
    width: 100%;
}

.section_Boxes.boxCount-4 .cardiff-3box{
    width:225px;
    margin-right:20px;
    margin-bottom:55px;

}
.section_Boxes.boxCount-4 .cardiff-3box:last-child{
    margin-right:0;
}

.section_Boxes.boxCount-4 .cardiff-3box.Image img {
    width: 100%;
}

/*BOX SECTION SUBPAGE*/
.subpage .section_Boxes.boxCount-2 .cardiff-3box:first-child{
    margin-left:0;
        margin-right: 15px;
}
.subpage .section_Boxes.boxCount-2 .cardiff-3box:last-child{
    margin-right:0
}
.subpage .section_Boxes.boxCount-2 .cardiff-3box{
    width:300px;
    padding-left:0;
    padding-right:0;
}
/*END NEW BOX SECTION*/

.c-popup__submit:hover {
    opacity: .85;
}


/*START LEAD GEN*/
.section_Form{
    margin-right:0;
    margin-left:0;
    padding:35px;
    background:#F7F8F7;
}

.o-form__wrapper h2{
    margin-top:0;
}
.c-leadGen-form__input {
        width: 32%;
        margin-right: 2%;
        float: left;
}
.c-leadGen-form__input input {
    width:100%;
    height: 60px;
    padding: 20px;
    box-sizing:border-box;
}

.c-leadGen-form__input.c-form__email {
    margin-right: 0;
}
.c-cardiff__leadGen.Center{
    text-align:center;
}
.c-cardiff__leadGen.Left{
    text-align:left;
}
.c-cardiff__leadGen.Right{
    text-align:right;
}
.c-leadGen-form__input label.error{
    font-size:13px
}
.subpage .section_boxes .cardiff-row.section{
    margin-bottom:20px;
}
.subpage .section_boxes .cardiff-row.section:last-child{
    margin-bottom:0;
}
.section.section_Boxes ul, .section.section_Boxes ol{
    list-style-position:inside;
    margin-left:0;
}




/*START REFERRAL PAGE*/

.c-cardiff__referralCampaign {
    margin-bottom: 65px;
}

.c-referral-page__title {
    margin-top: 0;
}

.c-referralCampaign-form {
    position: relative;
    display: inline-block;
    width: 50%;
    vertical-align: middle;
}

.c-referral__input-group label:not(.error) {
    display:block;
    color: #206B8F;
    text-transform: uppercase;
    margin-bottom:0;
}

.c-referralCampaign__cover-image {
    width: 50%;
    display: inline-block;
    vertical-align: middle;
    float: right;
}

    .c-referralCampaign__cover-image img {
        width: 100%;
    }

.c-referral__input-group {
    position:relative;
    margin-bottom: 30px;
}

    .c-referral__input-group input[type="text"] {
        width:90%;
    }

.referral-contact__group {
    width: 100%;
}

.c-referral__info-sep {
    display: inline-block;
    /* width: auto; */
    margin: 0 2.1%;
    vertical-align: middle;
    padding-bottom: 10px;
    font-size: 18px;
}

    .c-referral__info-sep span {
        font-weight: 700;
        text-transform: uppercase;
        color: #206B8F;
    }

.referral-contact__group .c-referral__input-group {
    display: inline-block;
    width: 50%;
    margin-bottom: 15px;
}

.c-referralCampaign-form__btn {
    width: 25%;
}

.c-referral__image-border {
    background: #fff;
    display: inline;
    float: left;
    margin: 0 0 27px 30px;
    width: auto;
    padding: 10px 10px 65px;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    -webkit-box-shadow: 0 3px 6px rgba(0,0,0,.25);
    -moz-box-shadow: 0 3px 6px rgba(0,0,0,.25);
}
.referral-contact__group .c-referral__input-group label.error {
    display: none !important;
}
.c-referral__input-group input.error {
    box-shadow: 0 0 5px #e75344 !important;
    border: 1px solid #e75344 !important;
}

.c-referral__input-group label.error {
    position: absolute;
    top: 0;
    right: 15px;
}
.u-form__error {
    padding: 30px 15px;
}
.u-form__error ul li {
    font-size:14px;
}
.u-form__error,
.u-submission__error{
    box-sizing:border-box;
}
/*END REFERRAL PAGE*/

/* ADDITIONAL GUESTS FOR REGISTRATION FORM*/
.c-event-guests-additional {
    display: flex;
    align-items: center;
}
    .c-event-guests-additional label {
        margin-bottom: 0;
    }

.c-event-guests-additional--select {
    width: auto;
    margin-left: auto;
    padding: 5px 10px;
}

.c-msg {
    max-width: 300px;
    margin-top: 15px;
}
/*Event list*/
.c-events__upcoming {
    border-bottom: solid 1px #d8d8d6;
}

.c-event__row {
    position:relative;
    padding-bottom: 40px;
    padding-left:10px;
    padding-right:10px;
}

.c-event-group--title {
    margin-top: 50px;
    margin-bottom:0;
}

.c-event__row:first-of-type {
    padding-top: 30px;
}

.c-event__row + .c-event__row {
    padding-top: 40px;
    padding-bottom: 40px;
}
.c-event__row + .c-event__row:before{
    content:'';
    width:calc(100% - 20px);
    height:1px;
    background-color:#d8d8d6;
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
}
.c-event__row .info h3{
    margin-bottom:10px;
}
.c-event__row .info h2{
    margin-top:0;
}
.c-events-list__error p {
    margin: 25px 10px;
}

#articleContent img {
    margin-top: 15px;
    margin-bottom: 15px;
    max-width: 100%;
    height: auto;
}

.c-matter__masthead {
    height: 230px;
    width: 100%;
    max-width: 100%;
    background-position: center;
    background-size: cover;
}

@media(min-width: 992px) {
    .c-matter__masthead {
        height: 350px;
    }
}

.c-matter__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    flex-direction: column;
}

@media(min-width: 992px) {
    .c-matter__meta {
        flex-direction: row;
    }
}

.c-matter__read-time {
    margin-top: 12px;
}

@media(min-width: 992px) {
    .c-matter__read-time {
        margin-top: 0;
    }

    .c-matter__read-time:before {
        content: "\2022";
        padding: 6px;
    }
}

.c-matter__title {
    text-align: center;
}

.c-matter__pull-quote {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 18px;
}
.c-matter__pull-quote a {
    color: white;
    text-decoration: underline;
}
.c-matter__pull-quote a:hover {
    color: #fff;
}

@media(min-width: 992px) {
    .c-matter__pull-quote {
        font-size: 21px;
    }
}

.c-matter__pull-quote blockquote {
    margin: 0 auto;
    padding: 24px;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    /*BS override*/
    border: 0 none;
}

@media(min-width: 992px) {
    .c-matter__pull-quote blockquote {
        padding: 12px 12px 32px;
    }
}

.c-matter__pull-quote p {
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 0;
}

@media(min-width: 992px) {
    .c-matter__pull-quote p {
        margin-top: 0;
        width: calc(100% - 128px);
    }
}

.c-matter__pull-quote blockquote:before {
    content: "\201c";
    height: 48px;
    width: 48px;
    font-size: 128px;
    text-align: center;
    line-height: 0.9;
}

@media(min-width: 992px) {
    .c-matter__pull-quote blockquote:before {
        height: 128px;
        width: 128px;
        font-size: 192px;
        line-height: normal;
    }
}

.c-matter__pull-quote cite {
    margin-top: 24px;
    font-style: normal;
}

@media(min-width: 992px) {
    .c-matter__pull-quote cite {
        margin-top: 0;
        margin-left: 128px;
    }
}

/* UTILITY CLASSES */
.u-padding--0 {
    padding: 0 !important;
}

.u-padding-left--0 {
    padding-left: 0;
}

.u-margin-top--20 {
    margin-top: 20px;
}

.u-margin--0 {
    margin: 0;
}

.u-margin-right--5 {
    margin-right: 5px;
}

.u-margin-right--10 {
    margin-right: 10px;
}
.u-margin-right--15 {
    margin-right: 15px;
}


.u-margin-left--15 {
    margin-left: 15px;
}

.u-margin-top--0 {
    margin-top: 0;
}

.u-margin-top--5 {
    margin-top: 5px;
}

.u-margin-bottom--5 {
    margin-bottom: 5px;
}

.u-width--145 {
    width: 145px;
}

.u-width--150 {
    width: 150px;
}

.u-width--170 {
    width: 170px;
}

.u-padding-bottom--5 {
    padding-bottom: 5px;
}

.u-margin-bottom--10 {
    margin-bottom: 10px;
}

.u-margin-bottom--20 {
    margin-bottom: 20px;
}
.o-video-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}
.o-video-wrapper .c-video-iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.c-video-iframe--maxwidth {
    max-width: 650px;
}
.c-video-page__wrapper .c-video-iframe--maxwidth {
    max-width: 800px;
}

.c-video-page__wrapper {
    justify-content: center;
}

.c-video-page__wrapper .c-video-vert--maxwidth {
    max-width: 400px;
    justify-content: center;
}

.c-team-grid__section--cardiff .fa.fa-mobile.fa-mobile__team--cardiff {
    margin-right: 10px;
}

.fa.fa-mobile.fa-mobile__team--cardiff {
    margin-right: 5px;
    font-size: 25px;
}

.fa.fa-mobile.c-team-info__icons {
    margin-right: 14px;
    font-size: 25px;
}

.c-team-detail-mobilephone {
    margin-bottom: 0;
}

.c-team-grid__section--cardiff .c-team-detail__voice-only {
    margin-left: 25px;
}

.c-team-grid__section--cardiff > .u-margin-top--5 > a[target="_blank"] ~ div {
    margin-top: 15px;
}
