#layout {
    line-height: 1.42857143;
    background-color: white;
}

#layout .section-wide {
    width: 100%;
}

#layout a > img {
    border: none;
}

.grid {
    text-align: center;
}

.grid > table {
    margin: 0px auto;
    text-align: left;
    width: 100%;
}

a {
    /* This is the Bootstrap default link appearance */
    /* It is here to compensate for the pollution of Composer by the Suite's Bootstrap CSS */
    /* We want to prevent the user being misled as to the final style of links when emails are published */
    /* Bootstrap is *not* included when inlining the CSS before publication. Change the style in the theme if you wish */
    color: #656d78;
    text-decoration: none;

    /*Disabled for SM-3718 - START */
    /*TODO need a test for ATH*/
    /*line-height: 17px;*/
    /*Disabled for SM-3718 - END */
}

#layout .block[data-sd-content=calendar] table {
    border-collapse: collapse
}

#layout .block .sd-google-map {
    margin: 0;
}

#layout .block[data-sd-content=image] img {
    display: block
}

.sd-article-share:hover,
.sd-article-share:focus{
    /* Prevent underline showing when mouseover share A tags */
    text-decoration: none;
}

.actual-block-content {
    /*leave this until we stop sending the full text, some rules are required by Outlook*/
    display: none !important;
    max-height: 0px;
    font-size: 0px;
    overflow: hidden;
    mso-hide: all
}

/* SM-1302 start */
td {
    /* Standard Bootstrap padding*/
}

/* SM-1302 end */
[class*="text-style-"] .header1 {
    font-size: 1.6em;
}

[class*="text-style-"] .header2 {
    font-size: 1.4em;
}

[class*="text-style-"] .header3 {
    font-size: 1.2em;
}

[class*="text-style-"] td.header {
    /* simulate h1 style*/
    padding: 0px 0px 10px 0px;
}

/* SM-1302 start */
#layout table {    
    font-size: inherit;
    font-family: inherit;
}
/* SM-1302 end */

#layout th {
    /* Bootstrap standard*/
    text-align: left;
}

/* SM-1978 start */
#layout .block[data-image-position=right] td.figure {
    padding-left: 0;
}
/* SM-1978 end */

.sd-mobile-quicklinks.hidden {
    display: none !important;
}

/*mobile quicklinks inline style comes below*/
.sd-mobile-quicklinks .grid {
    /* Hiding mobile quicklink in desktop view, mainly for Outlook*/
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    height: 0;
    margin: 0;
    padding: 0;
    width: 0;
    max-height: 0;
    font-size: 0;
    display: none;
    overflow: hidden;
    mso-hide: all;
}

/* Ivan: The following style might need to be moved to Theme */
.sd-list-date {
    text-align: right;
}

.block[data-sd-content=list] .items {
    padding-bottom: 10px;
}

.block[data-sd-content=list] .item{
    padding-bottom: 20px;
}

.share-article td{
    padding-right: 10px;
}

.share-article td a {
    padding: 0;
    margin: 0;
}

#layout .figure > img {
    display: block;
}

#layout .block[data-sd-content=article][data-image-position=left-no-wrap] .text-container,
#layout .block[data-sd-content=article][data-image-position=right-no-wrap] .text-container {
    padding: 20px;
}

#layout .block[data-sd-content=list] .category {
    font-size: 1.4em;
    line-height: 1.4em;
    font-style: italic;
}

/* SM-1978 start */
@media screen and (max-width:650px) {
    #layout  img.sd-img-responsive {
        width:100% !important;
        height: auto !important;
    }

    .sd-mobile-img-figure > img {
        width: 100% !important;
        height: auto !important;
    }

    .sd-image-figure-left, .sd-image-figure-right {
        padding-left : 0 !important;
        padding-right: 0 !important;
    }
}
/* SM-1978 end */

.header .header1 a {
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    font-family: inherit;
    text-decoration: inherit;
    color: inherit;
    line-height: inherit;
}

.guttertable td, .margintable td {
    font-size: 1px;
    line-height: 1px;
}
/* SM-4518 start */
#layout td.main  ul,#layout td.main  ol {
    margin-top: 10px !important;
}
/* SM-4518 ens */

.overridebootstrap{
    border-collapse:initial;
}
.overridebootstrap td{
    padding: 4px;
}

#layout .header-container td.blank-title{
    padding-top: 7px !important;
}
#layout .header-container td.blank-title div{
    display: none;font-size: 0; max-height: 0; line-height: 0; mso-hide:all;
}

@media only screen {
    table.mso-full-width.contenttable, table.guttertable, table.margintable {float:left;}
    table.sd-mobile-full-width.sd-float-left {float:left;}
    table.sd-mobile-full-width.sd-float-right {float:right;}
}

#layout .block[data-sd-content="sd-feedback"] {
    padding:  20px;
}