/*Restrict resize to a min of 320px*/

body {
    min-width: 320px;
}

iframe {
    max-width: 100%;
}

.instagram-media {
    margin-bottom: 1rem !important;
}

.widget-Derry-Londonderry {
    font-size: 0.6em !important;
}

.contact-message {
    margin: 10px 0px;
}

.label-error {
    color: #ff0000;
}

.label-success {
    color: #333;
}

.article-gallery-thumbnail {
    height: 79px;
    overflow: hidden; /*width: auto !important;*/
    max-width: 140px;
}

.programme h4 {
    font-weight: bold !important;
    font-size: 1.1em;
}

.guide-strip.links a {
    font-weight: bold;
}

.awards ul {
    margin: 10px 0px 20px 0px;
    padding: 0px;
}

.awards li {
    margin: 0px;
    padding: 0px;
    list-style: none;
    min-height: 25px;
    line-height: 25px;
}

.awards li img {
    float: left;
    margin-right: 10px;
}

.awards li span {
    line-height: 25px;
    float: left;
}

.clearfix:after {
    content: " "; /* Older browser do not support empty content */
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}


.m2-carousel-item .error, .playlist-caption .error {
    display: none !important;
}

.play-video.disabled .error {
    z-index: 1;
}

/*Competitions*/
.itv-competitions-embed .views-grouping h3 {
    background: none repeat scroll 0 0 #2f317f !important;
}

.competitions-back {
    display: none;
}

/*Weather outlook*/
.weather-summary p.summary {
    margin-top: 10px;
    min-height: 100px;
    max-height: 300px;
    font-size: 16px;
}

#weather .tab-header a {
    width: auto;
}
/*Weather outlook*/
/*Comments*/

/*HERO IMAGE*/

.hero-image-utv {
    height: 100%;
    background-position: center center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/*HERO IMAGE*/

/*EXTERNAL ORG*/

.help-block {
    word-wrap: break-word;
}

/*EXTERNAL ORG*/

/*STORY LIST*/

.slide {
    display: none;
}

.show-more:after {
    content: "\25BC" !important;
    padding-right: 5px;
}

.show-more.less:after {
    content: "\25B2" !important;
}

/*STORY LIST*/

/*CLIP CONTAINER*/

.utv-player-container {
    z-index: 0;
}

/*CLIP CONTAINER*/

/*ADDED FOR IPAD SUPPORT OF JS LIVE CLICK EVENTS*/

.button {
    cursor: pointer;
}

/*ADDED FOR IPAD SUPPORT OF JS LIVE CLICK EVENTS*/

/*Live style*/

.live .flag-message, .article-meta .live {
    -webkit-animation: blink-live 1s steps(5, start) infinite;
    -moz-animation: blink-live 1s steps(5, start) infinite;
    -o-animation: blink-live 1s steps(5, start) infinite;
    animation: blink-live 1s steps(5, start) infinite;
}

.en-GB .live .flag-message, .en-GB .article-meta .live {
    background-color: #eb2b24 !important;
}

.en-IE .live .flag-message, .en-IE .article-meta .live {
    background-color: #7eb63f !important;
}

.hidden {
    display: none;
}

.bold {
    font-weight: bold;
}

/*STICKY*/

.sticky {
    padding: 5px 0px;
}

div.sticky-style {
    width: 100%;
    background-color: #edeef4;
    margin-bottom: 5px;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 1000000;
    font-size: 0;
    padding: 5px 0px;
    /*-webkit-box-shadow: 0 2px 5px -2px #000000;
    -moz-box-shadow: 0 2px 5px -2px #000000;
    box-shadow: 0 2px 5px -2px #000000;*/
}
/*STICKY*/

/*Hide empty ad placements*/
.adplacement:empty {
    display: none;
}

.billboard .adplacement img {
    display: inline;
}

/*TAKEOVER*/

.utv-takeover {
    display: none;
    overflow: hidden;
}

.utv-takeover img {
    max-width: none;
}

.utv-takeover-left img {
    float: right;
}

.utv-takeover-top {
    /*margin:auto;
    width:1024px;*/
}

.utv-takeover-left, .utv-takeover-right {
    position: fixed;
    top: 0px;
    z-index: 9998;
    width: 2000px;
    background-color: #ffffff;
    height: 2000px;
}

/*TAKEOVER*/

/*INTERSTITIAL*/

.utv-interstitial {
    z-index: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    visibility: hidden;
}

.utv-interstitial > * {
    position: absolute;
}

.utv-interstitial-close {
    display: none;
    cursor: pointer;
}

.utv-interstitial .utv-interstitial-close {
    display: inline-block;
    background: url('/assets/images/close_ad.png');
    background-size: contain;
    height: 60px;
    width: 60px;
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #fff;
}

.utv-interstitial a, .utv-interstitial img {
    max-height: 100%;
    max-width: 100%;
    text-align: center;
    margin: auto;
}

/*INTERSTITIAL*/

/*WEATHER WARNING*/

.weather-warning.orange, .weather-warning.amber {
    background-color: #f93 !important;
}

/*WEATHER WARNING*/

/*CONTENT CLICK INFEED*/

#contentclick27235 {
    margin: 0px !important;
    line-height: 1rem !important;
}

#contentclick27235.block {
    padding: 0rem !important;
}

#contentclick27235 .cc_disclosure {
    color: #333 !important;
}

/*CONTENT CLICK INFEED*/

/*.feedback .form header {
    margin:0rem !important;
}*/

ul.inline {
    margin: 0px;
    padding: 0px;
}

.inline li {
    list-style: none;
    float: left;
    margin-right: 1rem;
}

.adaptv-outstream {
    margin-bottom: 1rem !important;
    max-width: 100%;
}

/*CONDOLENCES*/
.condolence-wrapper p {
    margin: 1rem 0rem;
}

.condolence-interaction .button {
    margin-bottom: 0.5rem;
}

.condolence-wrapper .add-condolence {
    margin-left: 7px;
}
/*ul.condolence-list li {
    vertical-align:top;
}
ul.condolence-list li:nth-of-type(2n+2){
    margin-left:2%;
}
    ul.condolence-list li span {
        white-space: pre;
    }*/

.condolence-list .author-when {
    white-space: pre;
}

.condolences .author-name, .condolences .author-location {
    font-weight: bold;
}

.superheader.info {
    margin-bottom: 2rem;
}

/*Programme support header redone*/

.progsupheader {
    text-align: center;
    background-repeat: no-repeat;
    background-position: center top;
    /*background-color: #181940;*/
    background-size: contain;
    min-height: 312px;
    padding:5em 0em;
}

.en-GB .progsupheader { 
    background-color: #181940;
}

.en-IE .progsupheader {
    background-color: #071B13;
}

.progsupheader h1 {
    color: #fff;
    text-shadow: 0 3px 7px #202020;
}

/*.progsupheader .broadcast-detail {
    position:absolute;
    bottom:0px;
    width:100%;
}

.progsupheader .broadcast-detail .row {
    margin:auto;
}*/

@media (min-width: 600px) and (max-width: 1000px) {
    .progsupheader {
        min-height: 230px;
        background-size: cover;
        padding:3em 0em;
    }
}

@media (min-width: 0px) and (max-width: 599px) {
    .progsupheader {
        min-height: 170px;
        padding:2.5em 0em;
        background-size: cover;
        /*margin-bottom:50px;*/
    }
    .progsupheader.nolisting {
        margin-bottom:0em;
    }
}

/*Programme support ENDS*/

@media (min-width: 320px) and (max-width: 599px) {
    .condolence-wrapper .add-condolence {
        margin-left: 0px;
    }
}

/*CONDOLENCES*/

@-webkit-keyframes blink-live {
    0% {
        color: #ffffff;
    }

    50% {
        color: #ffffff;
    }

    50.01% {
        color: transparent;
    }

    100% {
        color: transparent;
    }
}

@-moz-keyframes blink-live {
    0% {
        color: #ffffff;
    }

    50% {
        color: #ffffff;
    }

    50.01% {
        color: transparent;
    }

    100% {
        color: transparent;
    }
}

@-o-keyframes blink-live {
    0% {
        color: #ffffff;
    }

    50% {
        color: #ffffff;
    }

    50.01% {
        color: transparent;
    }

    100% {
        color: transparent;
    }
}

@keyframes blink-live {
    0% {
        color: #ffffff;
    }

    50% {
        color: #ffffff;
    }

    50.01% {
        color: transparent;
    }

    100% {
        color: transparent;
    }
}

.group.superheader {
    max-height: 212px;
    background-size: auto;
}

@media (min-width: 320px) and (max-width: 599px) {

    /*Extend sub navigation on mobile*/

    .nav-center {
        width: 320px !important;
    }

    .socialFix {
        width: 300px;
        margin: 30px auto;
    }

    /*The article flag doesn't look great with multiple tags so moved on to its own line.*/
    span.article-tag {
        display: table !important;
        margin-bottom: 0.5rem;
    }

    .group.superheader {
        max-height: 212px;
        background-size: cover;
    }
}

@media (min-width: 768px) and (max-width: 940px) {

    .galleries-hub .container { /*background-color: red;*/
        width: 612px;
    }

    .galleries-hub .col-md-6 {
        width: 262px;
    }

    .galleries-hub .col-sm-3 {
        width: 121px;
    }

    .galleries-hub .col-md-8 {
        width: auto;
    }
}

@media (min-width: 940px) {
    .m2-carousel-items {
        overflow-x: hidden;
    }
}



/*2 COLUMN*/

.two-column > div {
    float: left;
    width: 47%;
}

.two-column > div:first-child {
    margin-right: 6%;
}

@media (max-width: 599px) {
    .two-column > div {
        float: none;
        width: 100%;
    }

    .two-column > div:first-child {
        margin-right: 0%;
        margin-bottom: 1rem;
    }
    /*Reducing padding on top billboard on mobile*/
    .billboard {
        padding: 0rem;
    }
}

/*2 COLUMN*/


.share .shares {
    padding: 5px;
}

.article-shares {
}

.article-shares a {
    float: left;
    background-repeat: no-repeat;
    padding: 10px 10px 10px 36px;
    background-position: 12px center;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    margin-right: 10px;
}

.article-shares a:hover {
    color: #fff;
    cursor: pointer;
}

.en-GB .article-shares a:hover {
    background-color: #2f317f;
}

.en-IE .article-shares a:hover {
    background-color: #18563e;
}

.article-shares .facebook {
    background-color: #3b5998;
    background-image: url('/assets/images/icon-facebook.png');
}

.article-shares .twitter {
    background-color: #00aced;
    background-image: url('/assets/images/icon-twitter.png');
}

.article-shares .whatsapp {
    background-color: #26b43d;
    background-image: url('/assets/images/icon-whatsapp.png');
}

@media (max-width: 599px) {
    .article-shares a {
        background-position: center center;
    }
}

.rev-content .underlined {
    margin-bottom: 20px;
}
