/* ========================================================================
   UIKit
 ========================================================================== */

audio,
canvas,
img,
video {
    max-width: 100%;
    height: auto;
    box-sizing: Border-box;
}

.firstcharacter {
    font-size: 72px;
    font-family: serif;
    padding: 0px;
    line-height: 0px;
    margin-bottom: 0px;
}



h1 {
    font-size: 72px;
    color: white;
    line-height: 1;
    font-family: Times New Roman Pro Bold;
}



.sub-heading {
    color: #999;
}

.cover {
    padding-top: 0px;
}



/* ========================================================================
   IRISH TIMES: General
 ========================================================================== */
html,
body {
    overflow-x: hidden;
}

body {
    line-height: 1.5em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Georgia', 'Times', serif;
}

nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
    margin: 0;
    padding: 0;
}

figure {
    margin: 0;
    position: relative;
}

/* ========================================================================
   IRISH TIMES: Full width
 ========================================================================== */

.fw {
    width: 100%;
}

.fw-container {
    max-width: 100%;
    padding: 1em;
    margin: 0 auto;
    position: relative;
}

@media screen and (min-width: 1024px) and (max-width: 1215px) {
    .fw-container {
        max-width: 960px;
    }
}

@media screen and (min-width: 1216px) {
    .fw-container {
        max-width: 1152px;
    }
}


/* ========================================================================
   IRISH TIMES: Footer
 ========================================================================== */

footer {
    position: relative;
    clear: both;
    text-align: center;
    font-family: 'Lato', sans-serif;
    padding: 12px 0 0;
    border-top: 10px solid #e2e2e2;
    font-size: 12px;
    background-color: #f6f6f6;
}

footer #partners {
    text-align: center;
    padding: 10px 0;
    background-color: #333;
}

footer #partners h2 {
    color: #FFF;
    font-family: Georgia;
    font-size: 160%;
    margin: 0;
}

footer #legal {
    padding: 15px 0 0;
}

footer #connect {
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .follow .at-follow-btn span.at-icon-wrapper {
    border-radius: 50% !important;
}

footer .follow p {
    margin: 0;
}

footer #connect .follow div a {
    float: none;
    margin-left: 15px;
}

footer #legal nav ul li {
    display: inline-block;
    margin-right: 5px;
}

footer #connect .apps {
    margin-left: 20px;
}

footer #connect .apps a {
    margin-left: 15px;
}

footer #connect .apps a:first-child {
    margin-left: 0;
}

footer #legal nav ul li a {
    color: #515151;
    padding-right: 5px;
    border-right: 1px solid #c6c6c6;
}

footer #legal nav ul li:last-child a {
    border-right: 0;
}

footer #legal .copyright {
    text-align: center;
    font-family: "Times New Roman", Times, serif;
    color: #000;
    font-weight: bold;
    line-height: 1.3em;
    padding: 10px 0;
    font-size: 11px;
}



/* ========================================================================
   IRISH TIMES: Long Read
 ========================================================================== */

/* ===================== Top Area  ===================== */

.article-header {
    position: relative;
}

.article-header .fw-container {
    max-width: 900px;
}

.article-header:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    z-index: 2;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(-180deg, rgba(3, 10, 18, 0) 29%, rgba(3, 10, 18, 1) 99%);
}

.article-header .fw-container {
    z-index: 3;
}

.article-header h1 {
    font-weight: 400;
    display: inline;
    padding: 3px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    color: white;
    line-height: 1.23;
    font-family: 'Merriweather', serif;
}

.article-header p {
    font-size: 18px;
}

.article-metadata,
.article-header p {
    font-family: 'Lato', sans-serif;
    color: white;
}

@media screen and (min-width:768px) {
    .author:after {
        content: '\2022';
        margin: 0 5px;
    }
}


.article-metadata div {
    margin-right: 10px;
    display: inline-block;
}

.article-metadata {
    display: inline-block;
}

.shareTools {
    display: block;
    margin-top: 10px;
}

/* ===================== Sharing Tools  ===================== */

@media only screen and (min-width: 768px) {
    .at-style-responsive .at-share-btn {
        border: 1.5px solid white;
        background-color: transparent !important;
        width: 26px !important;
        height: 26px !important;
        margin-right: 10px !important;

    }

    .at-resp-share-element .at-share-btn svg.at-icon.at-icon {
        width: 23px !important;
        height: 26px !important;
    }
}


/* ===================== Blockquotes  ===================== */

blockquote {
    border-bottom: 2px solid #101010;
    border-top: 2px solid #101010;
    clear: both;
    display: block;
    float: left;
    margin: 40px 0;
    padding-left: 0;
    padding:30px 20px 40px 0;
    width: 40%;
    margin-right: 40px;
    position: relative;
    font-family: 'Lato';
    font-size: 24px;
    line-height: 1.2em;
    overflow: visible;
    font-weight: 400;
    font-style: normal;
}

@media screen and (min-width:768px) {
    blockquote.fw {

        width: 100%;
        margin: 40px 0;
        padding-left: 90px;
        border: none;
        box-sizing: border-box;
    }

    blockquote.fw:before {
        top: -5px;
        left: 0;
    }

}

blockquote.fw:after {
    display: none;
}






blockquote:before {
    background-color: #fff;
    background-image: url(https://irishtimes.com/assets/images/article/black-start-quote.svg?r=1544604584);
    background-repeat: no-repeat;
    background-size: 62px 51px;
    content: "";
    display: block;
    height: 52px;
    padding-right: 8px;
    position: absolute;
    width: 62px;
    padding-top: 0px;
    top: -34px;
}

blockquote:after {
    background-color: #fff;
    background-image: url(/file-assets/border-stories/conflict-connection/img/black-end-quote.svg);
    background-position-x: 8px;
    background-repeat: no-repeat;
    background-size: 62px 51px;
    content: "";
    display: block;
    float: right;
    height: 52px;
    margin-top: 9px;
    padding-left: 8px;
    position: absolute;
    right: 0px;
    width: 62px;
    bottom: -20px;
}

@media only screen and (min-width: 1024px) {

    blockquote {
        margin-left: -50px;
    }
}

@media only screen and (max-width: 767px) {
    blockquote,  blockquote.fw {
        width: 93%;
        margin-bottom: 60px;
    }
}

/* ===================== Images  ===================== */
.img-credit {
    padding: 10px;
    font-family: "Lato";
    background: #1c1c1c;
    display: inline-block;
    font-size: 12px;
    color: white;
    position: absolute;
    bottom: -20px;
    z-index: 2;
}

/* ===================== Killings Interactive  ===================== */

.k-wrapper h1,
.k-wrapper h2,
.k-wrapper p {
    font-family: "Lato", sans-serif;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip .tooltiptext {
    font-family: Arial;
    letter-spacing: 2px;
    line-height: 15px;
    font-size: 18px;
    visibility: hidden;
    width: 300px;
    background-color: grey;
    color: #fff;
    text-align: left;
    Border-color: black;
    padding: 8px 8px 8px 8px;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.tooltip.selected .tooltiptext.left {
    left: -300px;
}

.tooltip.selected .tooltiptext {
    visibility: visible;
}

.tooltip.selected {
    color: #cc0000;
}

.weepeople {
    font-size: 48px;
    letter-spacing: -14px;
    line-height: 1;
    text-align: left;
}

.desktop-cta {
    display: none;
}

.weepeople img {
    margin-top: 15px;
    margin-bottom: 15px;
}

.inline-left {
    float: left;
    margin-right: 15px;
}

.inline-right {
    float: right;
    margin-left: 15px;
}

.inline-left:after,
.inline-right:after {
    content: "";
    display: table;
    clear: both;
}
.mobile-hidden {
    display:inline;
}

@media only screen and (max-width:979px) {

    
    .article-header h1 {
        font-size: 50px;
    }

    
    .desktop-cta {
        display: block;
        font-family: 'Lato', sans-serif;
        font-size: 16px;
        letter-spacing: 0;
        color: white;
        margin: 1em 0 0 0;
    }

    .mobile-hidden {
        display: none;
    }

    .weepeople {
        font-size: 70px;
        text-align: center;
    }

    .weepeople img {
        float: none !important;
        margin: 0 auto!important;
        display: block;
    }

    .tooltip.selected {
        display: block;
        display: block;
        min-height: 140px;
        color: #cc0000 !important;
    }

    .tooltip.selected .tooltiptext {
        visibility: visible;
        display: block;
        position: absolute;
        text-align: center;
        line-height: 1;
        box-sizing: border-box;
        width: 100%;

    }

    .tooltip.selected .tooltiptext.left {
        left: 0;
    }
}

/* ===================== UK Terror Data  ===================== */

.subunit.SCT {
    fill: grey;
    opacity: 0.7;
}

.subunit.WLS {
    fill: grey;
    opacity: 0.7;
}

.subunit.NIR {
    fill: grey;
    opacity: 0.7;
}

.subunit.ENG {
    fill: grey;
    opacity: 0.7;
}

.subunit.IRL {
    fill: grey;
    opacity: 0.7;
}


.subunit-boundary {
    fill: none;
    stroke: grey;
    stroke-dasharray: 2, 2;
    stroke-linejoin: round;
}

.subunit-boundary.IRL {
    stroke: black;
}

.farm {
    stroke-width: 1px;
    stroke: white;
    fill: white;
    fill-opacity: 10;
}

.axis {
    fill: black;
}

.axis .slider-bar {
    stroke: gray;
    stroke-width: 4px;
    stroke-linecap: round;
}

.progress-bar {
    stroke: black;
    stroke-width: 4px;
    stroke-linecap: round;
}

.slider .handle circle {
    fill: black;
    stroke-linecap: round;
    pointer-events: none;
}

.slider .handle text {
    fill: black;
    text-align: center;
    font-size: 18px;
}

.ticker {
    fill: black;
    text-align: center;
    font-size: 18px;
}

.ticknumber {
    font-size: 78px;
    fill: grey;
}

.play-button {
    fill: black;
}

.playbtn {
    position: absolute;
    top: 50px;
}

/*TITLES*/
.vis-title {
    margin-top: 1em;
    font-size: 26px;
    line-height: 30px;
    font-family: futura;
    color: grey;
    text-align: center;
}

.caveat {
    font-size: 9px;
}

/* Landscape Mobile */
@media only screen and (min-width:480px) and (max-width:599px) and (orientation:landscape) {
    .article-header {
        top: 85px;
    }
}

/* SMALL SCREEN */
@media screen and (max-width: 600px) {

    .ticker {
        font-size: 16px;
    }

    .ticknumber {
        font-size: 75px;
    }

    .slider .handle text {
        font-size: 16px;
    }

    .caveat {
        font-size: 8px;
    }

}

/* MOBILE */
@media screen and (max-width: 400px) {

    .ticker {
        font-size: 14px;
    }

    .ticknumber {
        font-size: 72px;
    }

    .slider .handle text {
        font-size: 14px;
    }

    .caveat {
        font-size: 8px;
    }

}





/* ===================== Article Body  ===================== */

.article_body {
    max-width: 800px;
    color: #414141 !important;
   
}
@media only screen and (min-width:768px) and (max-width:979px){
    .article_body{
        padding-top:80px;
    }
}
.highlight-text p {
    background: #1c1c1c;
    display: inline;
    line-height: 1.86em;
    color: white;
    padding: 5px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* Responsive Video */
.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

h4.crosshead {
    font-family: 'Lato';
    font-size: 20px;
    color: #101010;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.2em;
    clear: both;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

h4.crosshead:before, h4.crosshead:after {
    background-color: #101010;
    content: "";
    height: 2px;
    width: 20%;
    max-width: 100px;
}

h4.crosshead:before {
    margin-right: 10px;
}

h4.crosshead:after {
    margin-left: 10px;
}

/* People Data */
/* Iframes */
.map-iframe iframe {
    width: 1px;
    min-width: 100%;
}

.map-big {
    width: 100%;
    max-width: 100%;
    padding: 0;
    text-align:center;
}
.centered{
    text-align:center;
}
.ie11 .c_eu{
    width:970px;
    height:610px;
}

.map-iframe img {
    display: none;
}


@media only screen and (max-width: 767px) {

    .article-top-area {
        display: block;
    }

    .article-top-area .shareTools {
        margin-top: 15px;
        margin-left: -5px;
        display: block;
    }

    .article-metadata div {
        display: block;
    }

    .img-credit {
        position: relative;
        bottom: 0;
        text-align: center;
        display: block;
    }

    footer #legal {
        padding: 0;
    }

    footer .policy_terms {
        display: none;
    }

    footer #connect .follow,
    footer #connect .apps {
        text-align: center;
    }

    footer #connect {
        flex-direction: column;
    }

    footer #connect .apps {
        margin-top: 10px;
    }

    h4.crosshead {
        font-size: 18px;
    }
}

@media only screen and (max-width:1023px) {
    .map-iframe.imageswap iframe {
        display: none;
    }

    .map-iframe.imageswap img {
        display: block;
        width: 100% !important;
    }
}

@media only screen and (max-width:1199px) {
    .map-iframe.imageswap.imageswap-landscape iframe {
        display: none;
    }
  .map-iframe.imageswap.imageswap-landscape img {
        display: block;
        width: 100% !important;
    }
}


/* fixing ie11 issue with responsive SVG on d3 */
.ie11 .map-iframe iframe .svg-container  .svg-content-responsive{
    height:800px!important;
}