
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Proxima N W01 Reg", Helvetica, Arial, sans-serif;
    line-height: 24px;
    color: #222222;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    overflow-x: hidden !important;
    -webkit-text-stroke-width: 0.1px;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: unset;
    font-family: "Proxima N W01 Reg", Helvetica, Arial, sans-serif;
    font-weight: 600;
    -webkit-text-stroke-width: 0;
}

h1, h2 {
}

h3, h4 {
}

h5, h6 {
}


.text center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}


@media (min-width: 1200px) {
    .mr-xl-5, .mx-xl-5 {
        margin-right: 3rem !important;
    }
}

@media (min-width: 992px) {
    .mr-lg-5, .mx-lg-5 {
        margin-right: 3rem !important;
    }
}

@media (min-width: 768px) {
    .mr-md-5, .mx-md-5 {
        margin-right: 3rem !important;
    }
}

@media (min-width: 576px) {
    .mr-sm-4, .mx-sm-4 {
        margin-right: 1.5rem !important;
    }

    .container-sm, .container {
        max-width: unset;
    }
}

.container > .row > div[class^="col-"] {
    padding: 0 10px;
}

.btn-secondary, .btn-primary, .primary {
    color: #fff !important;
}

.btn-primary, .primary {
    background-color: #CC0022;
    border-color: #CC0022;
}

    .btn-primary:hover, .primary:hover {
        background-color: #9b001a;
        border-color: #9b001a;
    }

.btn-outline-primary {
    color: #CC0022;
    border-color: #CC0022;
}

    .btn-outline-primary:hover {
        background-color: #CC0022;
        border-color: #CC0022;
    }


.popover {
    box-shadow: rgba(50, 50, 93, 0.4) 0 50px 100px -20px, rgba(0, 0, 0, .45) 0 30px 60px -30px;
    border: 0;
    max-width: 220px;
}

    .popover .popover-header {
        color: #fff;
        font-size: 75%;
        background: #cc0022;
        -webkit-text-stroke-width: thin;
        border: 0;
        font-weight: normal;
    }

    .popover .arrow {
        /* Size */
        height: 16px;
        width: 16px;
        background-color: #FFF;
        position: absolute;
        /* Position at the right center */
        right: 0;
        top: 50%;
        margin-top: 14px;
        margin-right: 3px;
        /* Border */
        border: 0;
        transform: translate(50%, -50%) rotate(45deg);
    }


.sompo__header .sompo__branding .sompo__menu .nav > li > a:not(.sompo__searchtrigger) {
    font-family: "Proxima N W01 Reg", Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    -webkit-text-stroke-width: 0;
}

ul.sompo__sub li a {
    font-weight: 500;
    font-size: 95%;
    -webkit-text-stroke-width: 0;
}


.sompo__header .sompo__branding .sompo__menu .nav .sompo__dropdown.singleton {
    right: auto;
}

.sompo__header .sompo__branding .sompo__logo img {
    max-height: 60px;
}

.sompo__header .sompo__branding .sompo__arch {
    position: absolute;
    bottom: 5px;
    left: 0;
    background: transparent url("../Content/img/sompo-arc-updated.png") no-repeat 0 0;
    width: 81%;
    height: 13px;
    z-index: 2;
    background-position: right;
    max-width: unset;
}


.col-md-offset-2 {
    margin-left: 16.66666667%;
}

@media (max-width: 768px) {
    .col-md-offset-2 {
        margin-left: unset;
    }

    /*body {
        font-size: 10px;
    }*/
}


section {
    margin-bottom: 30px;
}

    section.hero {
        margin-bottom: 0;
    }

    section#preloader {
        margin-bottom: 0;
    }

    section ul li {
        margin-bottom: .5em;
        text-align: justify;
    }

.debug-border {
    border: dotted 1px #CC0022;
}


a, a:focus, a:active, a:link, img {
    outline: none;
}

a, .url, .pdf, .locked {
    color: #005f8b;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease 0s;
    -moz-transition: all 0.25s ease 0s;
    -webkit-transition: all 0.25s ease 0s;
    -o-transition: all 0.25s ease 0s;
}

a:hover .url:hover, .pdf:hover, .locked:hover {
    color: #0076ac;
    text-decoration: none;
    transition: all 0.25s ease 0s;
    -moz-transition: all 0.25s ease 0s;
    -webkit-transition: all 0.25s ease 0s;
    -o-transition: all 0.25s ease 0s;
}


@media (min-width: 1200px) {
    .container {
        max-width: 1600px;
    }
}

#env option:disabled {
    color: #cc0022;
}

.embeditem iframe {
    width: 100% !important;
}


/***************                   MapForm                   *************/
#MapForm {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
    font-weight: 400;
    -webkit-text-stroke: 0;
}


    #MapForm .form-check {
        clear: both;
    }

    #MapForm .form-check-input {
        margin-bottom: 0;
    }

    #MapForm .form-check-label {
        color: #ffffff;
        cursor: pointer;
    }

    #MapForm .form-check .form-check-input {
        float: left;
        margin-left: -1.5em;
        margin-top: 7px;
        cursor: pointer;
    }

    #MapForm .input-title {
        margin: 10px 0;
        font-weight: bold;
        color: #ffffff;
    }

#MapFormForm {
    flex: 1 30%;
    min-width: 300px;
}

    #MapFormForm > div {
        padding: 20px;
        background: #cc0022;
    }

    /*
#MapFormForm .custom-control-label::before {
    background: #990000;
    top: 0;
}

#MapFormForm .custom-control-label::after {
    top: 0;
}
*/

#MapFormForm .form-check-input:checked {
    background-color: #990000;
    border-color: transparent;
}


#MapFormForm .mapFormFormNope {
    padding: 5px;
}

#MapForm #StatesMap {
    vertical-align: middle;
    display: table-cell;
    flex: 1 100%;
    text-align: right;
    padding: 0;
    overflow: hidden;
}

@media (max-width: 768px) {
    #MapForm #StatesMap {
        display: none;
    }
}

#MapFormForm #StatesMap svg {
    max-height: 450px;
}

#MapFormForm #MapFormResults {
    clear: both;
    margin-top: 20px;
}

#MapFormForm .err {
    padding: 5px;
    color: #CC0022 !important;
}

#MapFormForm .nopeList {
    padding: 10px 5px 0 5px;
}

#MapFormForm #MapFormResults td {
    vertical-align: middle;
}


/***************                   popNotification                   *************/
#popNotification {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 999;
    top: 0;
    background: rgba(0, 0, 0, .25);
    opacity: 1;
    transition: opacity 0.6s;
}

    #popNotification > div {
        top: 20%;
        left: 50%;
        position: fixed;
        max-width: 500px;
        background-color: #fff;
        text-align: center;
        padding: 13px 10px;
        border-radius: 5px;
        -webkit-box-shadow: 0 0 12px 5px rgba(0, 0, 0, 0.4);
        box-shadow: 0 0 12px 5px rgba(0, 0, 0, 0.4);
        margin: 0 1vw 0 max(-46vw, -263px);
    }

    #popNotification .close-dialog {
        cursor: pointer;
        background-color: #CC0022;
        float: right;
        color: #fff;
        border: none;
        height: 20px;
        width: 20px;
        border-radius: 50%;
        font-size: 15px;
        display: block;
        padding: 0 5px;
    }

        #popNotification .close-dialog:hover {
            background-color: #de0025;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.9);
        }

        #popNotification .close-dialog i {
            color: #fff;
        }

/***************                   Locations                   *************/

#locationsTable td {
    padding-right: 10px;
    font-size: 70%
}

#locationsTable > div {
    margin-bottom: 20px;
}

/* Sompo Hero Wide (SectionSompoFooterBlock.cshtml) (post Bootstrap5) begin... */

.sompoHeroContainer {
    max-width: 100%;
}

.sompoHero {
    padding: 0 !important;
    background-repeat: no-repeat, no-repeat;
    background-size: contain, cover;
    height: 355px;
}

    .sompoHero > .heroTextLeft {
        margin-left: 60px;
        width: 400px;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .sompoHero.rightAlign > .heroTextLeft {
        float: right;
        margin-left: unset;
        margin-right: 40px;
    }

@media only screen and (max-width: 767px) {
    .sompoHero > .heroTextLeft {
        margin-left: auto;
        width: 100%;
        padding: 15px;
        height: 100%;
        display: flex;
        align-items: center;
    }
}

.sompoHeroSmallWhite {
    background-color: #ffffff;
    background-size: 40%, cover;
    height: 255px;
    padding: 0;
    border: solid 0 #ffffff;
    margin: 10px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 10px #aaaaaa;
    width: 100%;
}

    .sompoHeroSmallWhite:hover {
        box-shadow: 0 0 10px #777777;
    }

    .sompoHeroSmallWhite > .heroTextRight {
        max-width: 60%;
        margin-top: auto;
        background-color: #ffffff;
        color: #cc0022;
        margin-left: 40%;
        padding: 20px;
        height: 100%;
    }

.sompoHero > .heroTextRight > h1 {
    font-size: 1.5rem;
}

.sompoHeroOverlayContainer {
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
}

div.sompoHeroOverlayContainerRow {
    background-size: cover, cover;
    background-repeat: no-repeat;
    position: relative;
}

/* XS and SM viewports special cases */
@media only screen and (max-width: 767px) {
    div.sompoHeroOverlayContainerRow {
        background-size: cover, cover;
        background-repeat: no-repeat;
        background-position: top right !important;
        position: relative;
    }

    div.sompoHero {
        height: auto;
        background: #000;
    }

    div.sompoHeroOverlayContainer {
        margin-top: 300px;
    }
}

/* ...Sompo Hero Wide (SectionSompoFooterBlock.cshtml) end */


/***************                   sompoHero Small                 *************/
.sompoHeroSmallContainer {
    background-color: #ffffff;
    overflow: hidden;
    

    padding: 0 0 0px 0;
    border: solid 0 #ffffff;
    margin: 20px;
    border-radius: 8px;
    box-shadow: rgba(50, 50, 93, 0.25) 0 50px 100px -20px, rgba(0, 0, 0, 0.3) 0 30px 60px -30px;
    height: calc(100% - 60px);
    position: relative;
    transition: box-shadow 0.2s ease-in-out;
}

.sompoHeroSmallContainer:hover {
    box-shadow: rgba(50, 50, 93, 0.4) 0 50px 100px -20px, rgba(0, 0, 0, .45) 0 30px 60px -30px;
}

.sompoHeroSmallContainer:hover .innerGraphic {
    filter: saturate(110%) contrast(110%);
    border-inline: 1px solid rgba(0, 0, 0, .25);
}


.sompoHeroSmallContenttext {
    padding: 20px;
}

    .sompoHeroSmallContenttext p {
        padding-bottom: 40px;
    }

    .sompoHeroSmallContenttext .articleCardsInLinksBlock {
        --lh: 1.2rem;
        line-height: var(--lh);
        --max-lines: 5;
        position: relative;
        height: calc(var(--lh) * var(--max-lines));
        overflow: hidden;
        text-align: left;
        margin-bottom: 15px;
    }

/*
        .sompoHeroSmallContenttext .articleCardsInLinksBlock::after {
            content: "";
            text-align: right;
            position: absolute;
            bottom: -1.2rem;
            right: 0;
            width: 100%;
            height: 2.4rem;
            background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 100%), linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 80%);
        } */

.sompoHeroSmallGraphic {
    background-color: #ffffff;
    background-position-x: 10000px;
    background-repeat: no-repeat;
    height: auto;
    overflow: hidden;
    align-items: flex-end;
    display: flex;
    flex-direction: column-reverse;
    max-height: 270px;
    position: relative;
}

    .sompoHeroSmallGraphic .innerGraphic {
        display: none;
        transition: filter 0.1s ease-in-out;
        border-inline: 0px solid rgba(0, 0, 0, .25);
        filter: saturate(90%) contrast(100%);
    }

@media only screen and (min-width: 991px) and (max-width: 1200px) {
    .sompoHeroSmallGraphic {
        align-items: stretch;
        display: block;
        overflow: visible;
    }

        .sompoHeroSmallGraphic img {
            display: none;
        }

        .sompoHeroSmallGraphic .innerGraphic {
            display: block;
            height: 200px;
            width: 200px;
            top: -25px;
            right: 0 !important;
            position: absolute !important;
            background-position-x: unset !important;
            background-repeat: no-repeat !important;
            background-position: left center !important;
            background-size: cover !important;
            border-radius: 1000px;
        }
}

@media (min-width: 1201px) {
    .sompoHeroSmallGraphic {
        align-items: stretch;
        display: block;
        overflow: visible;
    }

    .sompoHeroSmallGraphic img {
        display: none;
    }

    .sompoHeroSmallGraphic .innerGraphic {
        display: block;
        height: 325px;
        width: 325px;
        top: -40px;
        right: 0 !important;
        position: absolute !important;
        background-position-x: unset !important;
        background-repeat: no-repeat !important;
        background-position: left center !important;
        background-size: cover !important;
        border-radius: 1000px;
    }
}

@media (max-width: 991px) {
    .sompoHeroSmallGraphic .innerGraphic {
        display: block;
        height: auto;
        width: 100%;
        top: 0;
        right: 0 !important;
        border-inline: 0px solid rgba(0, 0, 0, .25);
    }
}

.sompoHeroSmallContent {
    background-color: #ffffff;
    color: #444444;
    padding: 10px;
    position: relative;
}

    .sompoHeroSmallContent p {
        text-align: left;
    }

.buttonHolder {
    text-align: right;
    position: absolute;
    right: 15px;
    bottom: 15px;
}

.sompoHeroButton {
    background-color: #cc0022;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    width: 50px;
    height: 50px;
    
    display: inline-block;
    align-content: center;
    text-align: center;
}

.sompoHeroButton:hover {
    background-color: #de0025;
    box-shadow: 0 0 5px rgba(0, 0, 0, .9);
}

.sompoHeroSmallContent h1,
.sompoHeroSmallContent h2,
.sompoHeroSmallContent h3,
.sompoHeroSmallContent h4,
.sompoHeroSmallContent h5,
.sompoHeroSmallContent h6 {
    color: #cc0022;
}


/* Sompo Leadership Card */
.sompoLeadershipContainer {
    background-color: #ffffff;
    overflow: hidden;
    padding: 0;
    width: 100%;
    display: flex;
    min-height: 200px;
}

.sompoLeadershipSmall {
    min-height: 170px;
}

.sompoLeadershipMedium {
    min-height: 220px;
}

.sompoLeadershipLarge {
    min-height: 270px;
}

.sompoLeadershipPortrait {
    display: inherit;
}

.sompoLeadershipPortraitInner {
    background-size: cover, cover;
    background-repeat: no-repeat;
    background-position: center center, center center;
    width: 250px;
    height: 250px;
    border-radius: 100px;
}

.sompoLeadershipSmall .sompoLeadershipPortraitInner {
    width: 150px;
    height: 150px;
}

.sompoLeadershipMedium .sompoLeadershipPortraitInner {
    width: 200px;
    height: 200px;
}

.sompoLeadershipLarge .sompoLeadershipPortraitInner {
    width: 250px;
    height: 250px;
}

.sompoLeadershipContent {
    color: #000000;
    padding: 10px;
    word-wrap: break-word;
}

.sompoLeadershipContent i {
    color: #005f8b;
}

.sompoLeadershipContent .separator {
}

.sompoLeadershipContent td {
    padding: 5px;
}

.sompoLeadershipSmall .sompoLeadershipContent * {
    font-size: .7rem;
    text-align: left;
}

.sompoLeadershipMedium .sompoLeadershipContent * {
    font-size: .9rem;
    text-align: left;
}

.sompoLeadershipLarge .sompoLeadershipContent * {
    font-size: 1rem;
    text-align: left;
}

.sompoLeadershipSmall .sompoLeadershipContent h4 {
    font-size: 1rem;
    font-weight: bold;
}

.sompoLeadershipMedium .sompoLeadershipContent h4 {
    font-size: 1.1rem;
    font-weight: bold;
}

.sompoLeadershipLarge .sompoLeadershipContent h4 {
    font-size: 1.3rem;
    font-weight: bold;
}

.sompoLeadershipIcon {
    font-size: 1.1em;
    color: #444444;
}

.sompoLeadershipIcon:after {
    content: "\00a0";
}

.sompoLeadershipBorders {
    height: calc(100% - 40px);
    margin: 20px 0 20px 0;
    padding: 10px;
    border-radius: 4px;
    box-shadow: rgba(50, 50, 93, 0.25) 0 50px 100px -20px, rgba(0, 0, 0, 0.3) 0 30px 60px -30px;
    transition: box-shadow 0.2s ease-in-out;
}

.sompoLeadershipBorders:hover {
    box-shadow: rgba(50, 50, 93, 0.4) 0 50px 100px -20px, rgba(0, 0, 0, 0.45) 0 30px 60px -30px;
}

.sompoLeadershipBorders:hover .sompoLeadershipPortraitInner {
    filter: saturate(110%) contrast(110%);
}


/* Sompo Article Layout Section Block */
.SompoLayoutBlock {
    margin: 60px 20px 60px 20px;
}

@media (min-width: 1200px) {
    .SompoLayoutBlock .text-danger, p .text-danger {
        font-size: 145%;
    }
}

@media (max-width: 1200px) {
    .SompoLayoutBlock .text-danger, p .text-danger {
        font-size: 130%;
    }
}

@media (max-width: 768px) {
    .SompoLayoutBlock .text-danger, p .text-danger {
        font-size: 110%;
    }
}

/* Sompo Item List Section Block */
.sompoItemListBorders {
    height: calc(100% - 40px);
    margin: 20px 0 20px 0;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px #aaaaaa;
}

.sompoItemListNoBorders {
    height: calc(100% - 40px);
    margin: 20px 0 20px 0;
    padding: inherit;
    border-radius: unset;
    box-shadow: none;
}

.sompoItemListNoBorders > .row > .col-md-12, .sompoItemListBorders > .row > .col-md-12 {
    padding-bottom: 2rem;
}


/* Sompo Links Holder*/
#SompoLinksHolder {
    padding: 2.5rem;
    border: 1px solid #eaeaea;
    margin-bottom:15px;
}

#SompoLinksHolder h3 {
    display: inline-block;
    font-size: 1.1rem;
    padding-bottom: 10px;
    border-bottom: 5px solid #cc0022;
}

#SompoLinksHolder .url,
#SompoLinksHolder .pdf,
#SompoLinksHolder .locked {
    display: block;
    text-decoration: none;
    padding: 3px 0 3px 15px;
    text-indent: -15px;
    position: relative;
}

#SompoLinksHolder .url:hover,
#SompoLinksHolder .pdf:hover,
#SompoLinksHolder .locked:hover {
    padding: 3px 0 3px 12px;
    text-indent: -15px;
}

#SompoLinksHolder .url:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

#SompoLinksHolder .tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 20%;
    top: 30px;
    width: 200px;
    height: 200px;
    padding: 0px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    transition: visibility 0s, opacity 0.5s ease-in-out;
}

#SompoLinksHolder .tooltip img {
    display: block;
    margin-bottom: 10px;
    max-height: 50%;
    width: 200px;
    object-fit: contain;
    background-image: url('../../../Content/img/sompo-dots-left.png');
    background-size: cover;
    background-color: #005f8b;
}

#SompoLinksHolder .tooltip p {
    color: black;
    font-size: 100%;
    line-height: 1.4;
    margin: 10px;
    text-indent: initial;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#SompoLinksHolder .tooltip i {
    color: #ACACAC;
    font-style: italic;
    margin-left: 10px;
    text-indent: initial;
}


#SompoLinksHolder .url:hover::before,
#SompoLinksHolder .pdf:hover::before,
#SompoLinksHolder .locked:hover::before {
    color: #cc0022;
}

#SompoLinksHolder ul.tagcloud {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: left;
    line-height: 2.5rem;
    margin-left: -10px;
}

#SompoLinksHolder .tagcloud a {
    padding: 10px;        
    background: #FFFFFF;
    border-radius: 6px;
}

#SompoLinksHolder .tagcloud a:hover {
    background: #E3E3E3;
    transition: background 0.1s ease;
    font-weight: bold;
}

.url::before {
    font-family: "FontAwesome";
    font-size: .8rem;
    content: "\f0da";
    padding-right: 10px;
    color: #222;
}

.pdf::before {
    font-family: "FontAwesome";
    content: "\f1c1";
    padding-right: 10px;
    color: #222;
}

.locked::before {
    font-family: "FontAwesome";
    content: "\f023";
    padding-right: 10px;
    color: #222;
}


/*              SectionSompoFormPicker            */
#SompoFormPicker {
}

#SompoFormPicker.bordered {
    padding: 1.5rem 1.5rem;
    border: 1px solid #eaeaea;
}

#SompoFormPicker.bordered h3 {
    display: inline-block;
    font-size: 1.1rem;
    padding-bottom: 10px;
    border-bottom: 5px solid #cc0022;
}

.umbraco-forms-page .row-fluid {
    display: flex;
}

.umbraco-forms-form {
    font-size: small !important;
    width: 100%;
}

.umbraco-forms-form .checkboxlist label,
.umbraco-forms-form .checkboxlist input {
    float: revert !important;
    cursor: hand;
}

.umbraco-forms-form span.checkboxlist,
.umbraco-forms-form span.radiobuttonlist,
.umbraco-forms-form span.checkbox {
    padding: 0 !important;
}

.umbraco-forms-field-wrapper input,
.umbraco-forms-field-wrapper select,
.umbraco-forms-field-wrapper textarea {
    width: 100%;
}

.umbraco-forms-field {
    margin-bottom: 5px;
}


.umbraco-forms-field .umbraco-forms-label {
    width: 100% !important;
    display: block;
    font-family: "Proxima N W01 Smbd", Helvetica, Arial, sans-serif;
    color: #005f8b;
    margin-top: 15px;
}

.umbraco-forms-field .umbraco-forms-field-wrapper {
    width: 100% !important;
}

.umbraco-forms-field .umbraco-forms-field-wrapper input,
.umbraco-forms-field .umbraco-forms-field-wrapper select,
.umbraco-forms-field-wrapper textarea {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding: .5rem;
}

.umbraco-forms-field .umbraco-forms-field-wrapper input:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
}

.umbraco-forms-navigation {
    text-align: right;
    margin: 15px 0;
}

.umbraco-forms-submitmessage {
}

/* Added for Umbraco 13 where the honeypot input isn't actually hidden ... */
.umbraco-forms-hidden {
    display: none;
}

/* SompoMemberLogin */
#SompoMemberLogin {
    /*padding: 2rem;
    border: 1px solid #eaeaea;*/
    margin-bottom: 15px;
    background: url("../Content/img/Stock_001.png") bottom center no-repeat;
    /*
    background: #fafafa;
    border-radius: 3px;
    */
    /*
    max-width: 350px;
    */
}
#SompoMemberLogin h3 {
    color:white;
    display: inline-block;
    font-size: 1.1rem;
    padding-bottom: 10px;
    border-bottom: 5px solid #cc0022;
}
#SompoMemberLogin .nav-link {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0;
    margin-right:3px;
    color: #BBBBBB;
    /*border-bottom:2px solid #cc0000;*/
}
#SompoMemberLogin .nav-link.active {
    background: rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
    /*border-bottom: 2px solid rgba(0, 0, 0, 0.5);*/
}




/*         Sompo Intro Hero Slider              */
.SompoIntroHeroSlider {
    background: #fff;
}

.SompoIntroHeroSlider .overlay-hero {
    background: url("../Content/img/SompoSliderBG.png") no-repeat center;
    background-size: cover;
    text-align: left;
}

@media (max-width: 768px) {
    .SompoIntroHeroSlider .overlay-hero {
        background: #cc0022;
        background-size: cover;
        text-align: left;
    }
}

.SompoIntroHeroSlider .caption-hero {
    text-align: left;
}

.SompoIntroHeroSlider .inner-caption {
    padding: 50px;
}

    .SompoIntroHeroSlider .inner-caption h3 {
        color: #ba0c29;
        margin-bottom: 0;
    }

.SompoIntroHeroSlider .inner-inner-caption {
    background: rgba(255, 255, 255, .75);
    padding: 30px;
    border-bottom: 3px solid #ba0c29;
    box-shadow: rgba(50, 50, 93, 0.25) 0 50px 100px -20px, rgba(0, 0, 0, 0.3) 0 30px 60px -30px;
}

/* Search Results */
.searchresults {
    margin: 40px;
}

    .searchresults .list h3 {
        margin-bottom: 0px;
        margin-top: 20px;
    }

/* Mobile menu overrides */

/* Adjusts height of summary link item */
.sompo__header .sompo__mobilenav .sompo__mobilenav__top > ul > li.is-open .sompo__quicklinks {
    margin-bottom: 0.7rem !important;
}

/* Adds the top border to the first item in the singleton menu */
.sompo__quicklinks.mobile-only > ul.sompo__sub {
    border-top: 1px solid #d6d6d6;
}

/* Hides the redundant singleton menu render in mobile viewport */
@media (max-width: 991.98px) {
    .sompo__dropdown__col.desktop-only {
        display: none;
    }
}

/* Hides the mobile-only singleton menu render in desktop viewport */
@media (min-width: 991.98px) {
    .sompo__quicklinks.mobile-only {
        display: none;
    }
}

/* owl carousel */
.stories-slider .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}

.stories-slider .owl-prev {
    position: absolute;
    left: -15px;
}

.stories-slider .owl-next {
    position: absolute;
    right: -15px;
}

/* Sompo Stories Block Begin... */

#story_container .team-grid-item {
    padding: 0px;
}

#story_container > #non-sidebar-item {
    margin-bottom: 20px;
}

#story_container > #non-sidebar-item .url::before,
#story_container > #non-sidebar-item .pdf::before,
#story_container > #non-sidebar-item .locked::before {
    font-family: unset !important;
    font-size: unset;
    content: "";
    padding-right: unset;
    color: unset;
}


#story_container .sompoHeroSmallContainer {
    box-shadow: 0px 0px 25px #bbbbbb;
    height: 100%;
    margin-bottom: 40px;
    position: relative;
    
}

        /*hover*/
        #story_container .sompoHeroSmallContainer:hover .post-media {
            transform: translate3d(0, -100%, 0);
        }

        #story_container .sompoHeroSmallContainer:hover .post-body {
            height: 250px;
            transform: translate3d(0, -70%, 0);
        }

        #story_container .sompoHeroSmallContainer:hover .buttonHolder {
            visibility: visible;
            position: fixed;
            top: 335px;
            right: 15px;
            padding: 0px 0px 0px 0px;
        }

        #story_container .sompoHeroSmallContainer:hover .post-entry {
            line-height: 1.2rem;
            overflow: hidden;
            text-align: left;
            margin-bottom: 0px;
            height: auto;
        }

            #story_container .sompoHeroSmallContainer:hover .post-entry::after {
                background-image: none;
                height: auto;
            }

        #story_container .sompoHeroSmallContainer:hover .post-header {
            height: auto;
            display: contents;
        }
        /***/
        

    /*card picture*/
    #story_container .sompoHeroSmallContainer .post-media {
        background-image: url('../../../Content/img/sompo-dots-left.png');
        background-size: cover;
        background-color: #005f8b;
        transform: translate3d(0px, 0px, 0px);
        transition: transform 0.5s ease-in-out;
    }
   
    /*card summary text*/
    #story_container .sompoHeroSmallContainer .post-entry {
        --lh: 1.2rem;
        line-height: var(--lh);
        --max-lines: 3;
        position: relative;
        height: calc(var(--lh) * var(--max-lines));
        overflow: hidden;
        text-align: left;
        margin-bottom: 0px;
    }

       /*fade out summary text*/
        #story_container .sompoHeroSmallContainer .post-entry::after {
            content: "";
            text-align: right;
            position: absolute;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 2.4rem;
            background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 130%), linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 130%);
        }

    /*card body - contains post entry and header*/
    #story_container .sompoHeroSmallContainer .post-body {
        padding: 20px 15px;
        height: 250px;
        transform: translate3d(0px, 0px, 0px);
        transition: transform 0.5s ease-in-out;
    }

    /*card title text*/
    #story_container .sompoHeroSmallContainer .post-body h4 a {
        color: #cc0022;
        font-size: 75%;
/* Umbraco 10 Upgrade: Disabled as the card line height was so low the text was overlapping on story cards.*/
/*        line-height: 12px;*/
    }

    /*card arrow button*/
    #story_container .sompoHeroSmallContainer .buttonHolder {
        visibility: hidden;
    }

    /*card title format*/
    #story_container .sompoHeroSmallContainer .post-header {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        color: #cc0022;
        height: 30%;
    }


        #story_container .slider-wrapper.hide-buttons .slider-scroll-button {
            display: none;
        }

.slider-controls-container .dropdown.dropdown-inline {
    margin: 2px 0px 3px 0px;
}

/* Vertical */

.sompo-stories-vertical .post-media {
    width: 50%;
    float: left;
    height: 100%;
    margin-bottom: -20px;
    max-height: 225px;
    min-height: 245px;
}

.sompo-stories-vertical .post-body {
    width: 50%;
    float: left;
    height: 100%;
    max-height: 225px;
}

    .sompo-stories-vertical .post-body .post-header {
        margin-bottom: -15px;
        
    }

/* List - Text-only full width list (SOE-like) */

.sompo-stories-list .blog-post {
    margin-top: -20px;
    margin-bottom: 0px;
}

    .sompo-stories-list .blog-post:first-child {
        margin-top: 0px;
    }

.sompo-stories-list .post-media {
    display: none;
    max-height: 100px;
}

.sompo-stories-list .post-body .post-header h4 {
    font-size: 14px !important;
    line-height: 1.2em;
    margin-bottom: 0px !important;
    display: inherit;
    list-style-type: unset;
    list-style-position: unset;
    
}

.sompo-stories-list .post-body .post-entry {
    overflow: auto !important;
    text-overflow: unset !important;
    display: inline !important;
    -webkit-box-orient: unset !important;
    -webkit-line-clamp: unset !important;
    margin-bottom: 0px !important;
}

.sompo-stories-list .post-body {
    padding: 0px 5px 15px 0px !important;
    display: list-item !important;
    list-style-type: initial !important;
    list-style-position: outside !important;
}

.sompo-stories-list .sompoHeroSmallContainer {
    border: none;
    box-shadow: none !important;
    margin: 5px 20px -15px 0px !important;
    padding-bottom: 0px;
    padding-left: 20px;
}

    .sompo-stories-list .sompoHeroSmallContainer .buttonHolder {
        display: none;
    }

/* Sidebar */


.sidebar-section {
    padding: 0px;
}

    .sidebar-section #story_container #SompoLinksHolder > div > h3 {
        margin-bottom: 1rem;
    }

.sompo-stories-sidebar .blog-post {
    margin-top: -2px !important;
    margin-bottom: 0px;
}

    .sompo-stories-sidebar .blog-post:first-child {
        margin-top: 0px;
    }

.sompo-stories-sidebar .post-media {
    display: none;
    max-height: 100px;
}

.sompo-stories-sidebar .sompoHeroSmallContainer h4 {
    font-size: 14px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    list-style-position: outside;
    color: #343434 !important;
    font-weight: normal;
}

    .sompo-stories-sidebar .sompoHeroSmallContainer h4 a {
        display: block;
        color: #005f8b !important;
        line-height: 14px !important;
        padding: 0px;
    }

        .sompo-stories-sidebar .sompoHeroSmallContainer h4 a::before {
            font-family: "FontAwesome";
            font-size: .8rem;
            content: "\f0da";
            padding-right: 10px;
            color: #222;
        }

.sompo-stories-sidebar .post-meta {
    display: none;
}

.sompo-stories-sidebar .post-entry {
    display: none !important;
}

.sompo-stories-sidebar .post-body {
    padding: 0px !important;
}

.sompo-stories-sidebar .sompoHeroSmallContainer {
    border: none;
    box-shadow: none !important;
    padding: 5px;
    margin: -5px !important;
    overflow: auto;
}

    .sompo-stories-sidebar .sompoHeroSmallContainer .buttonHolder {
        display: none;
    }

/* Sompo Stories Block End... */

/* social media sharing buttons */

#btn-share {
    width: 100%;
    vertical-align: middle;
    white-space: nowrap;
}

    /* top of page */
    .btn-share-label-1 {
        float: right;
        color: #999;
        padding: 2px 20px;
    }
   
    .btn-share-linkedin-1 {
        float: right;
        padding: 0 0px;
        transition: transform 250ms;
    }

        .btn-share-linkedin-1:hover {
            transform: translateY(-3px);
        }

    .btn-share-facebook-1 {
        float: right;
        padding: 0 0px;
        transition: transform 250ms;
    }

        .btn-share-facebook-1:hover {
            transform: translateY(-3px);
        }

    .btn-share-twitter-1 {
        float: right;
        padding: 0 20px;
        transition: transform 250ms;
    }

        .btn-share-twitter-1:hover {
            transform: translateY(-3px);
        }


    /* bottom of page */
    .btn-share-label-2 {
        float: left;
        color: #000;
        font-weight: bold;
        padding: 2px 0px;
    }

    .btn-share-linkedin-2 {
        float: left;
        padding: 0 20px;
        transition: transform 250ms;
    }

        .btn-share-linkedin-2:hover {
            transform: translateY(-3px);
        }

    .btn-share-facebook-2 {
        float: left;
        padding: 0 20px;
        transition: transform 250ms;
    }

        .btn-share-facebook-2:hover {
            transform: translateY(-3px);
        }

    .btn-share-twitter-2 {
        float: left;
        padding: 0 0px;
        transition: transform 250ms;
    }

        .btn-share-twitter-2:hover {
            transform: translateY(-3px);
        }

/* Stories homepage blog list */

.row-blog-item-title {  
    font-weight: bold;     
}

.row-blog-item-date {
    color: black;
    font-weight: lighter;               
}

#bloglist table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}

#bloglist th, #bloglist td {
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    word-break: break-word;
    vertical-align: top;
}

#bloglist tr:hover {
    background-color: #F0EBEB;
}
