﻿@media (min-width: 768px) and (max-width: 991px) {
    .navbar-upper .already-a-member {
        display: none;
    }

    .sign-in-dropdown .dropdown-menu {
        left: -50px !important;
        right: -50px !important;
    }

    .sign-in-col img {
        height: 45px !important;
    }

    .sign-in-col .dropdown-menu,
    .homepage-selector .dropdown-menu {
        left: -30px;
        right: -30px;
    }

    .contact,
    .info,
    .topic,
    .tag,
    .regional,
    .campaign,
    .search,
    .sm-homepage-content {
        padding-top: 50px;
    }

        .contact h1,
        .topic h1,
        .tag h1,
        .regional h1,
        .info h1,
        .campaign h1 {
            font-size: 34px;
            line-height: 30px;
            padding-bottom: 10px;
            padding-top: 10px;
        }

        .topic .intro,
        .tag .intro,
        .regional .intro,
        .campaign .intro {
            font-size: 16px;
            line-height: 23px;
            padding-bottom: 10px;
        }

            .campaign .intro .col-md-7 img {
                margin-bottom: 15px;
            }

        .contact h3 {
            font-size: 18px;
            line-height: 23px;
        }

        .contact h4 {
            font-size: 21px;
            line-height: 25px;
        }

        .contact h5 {
            font-size: 18px;
            line-height: 27px;
            padding-bottom: 15px;
        }

        .contact .list-group-item {
            line-height: 27px;
            font-size: 14px;
        }

        .contact .sectionpadding {
            padding-top: 10px;
            padding-bottom: 10px;
        }

        .contact .sectionpaddingleft {
            border-right: solid 1px #CCCCCC;
            padding-top: 10px;
            padding-bottom: 10px;
        }

    .hidden-md {
        display: none;
    }

    .footer-upper .panel > div,
    .footer-upper .email-bulletin-title {
        min-height: 105px;
    }

    .now-read-control .now-read-title {
        text-align: center;
    }

    .footer-lower .footer-links-title::after {
        width: 100% !important;
    }

    .PromoWidget.newsletter-widget {
        display: none;
    }

    .author-row > .col-md-12 > div {
        border-top: 1px solid #CDCDCD;
        padding-top: 15px;
    }

    .article-main-image-row {
        padding-top: 15px !important;
        padding-bottom: 10px !important;
    }

    .navbar-lower .col-md-7 > .row > .dropdown.col-md-3 {
        font-size: 20px !important;
    }

    .logged-in-dropdown .dropdown-toggle .col-lg-9 {
        padding: 0 5px !important;
    }

        .logged-in-dropdown .dropdown-toggle .col-lg-9,
        .logged-in-dropdown .dropdown-toggle .col-lg-9 member-name i {
            line-height: 22px;
        }

    .latest-cips-knowledge {
        margin-top: 15px;
    }

    .sm-home-opinion-col,
    .sm-home-article-col,
    .more-news-promo {
        margin-right: 0 !important;
    }

    .sm-home-main-news-col,
    .events-promo {
        margin-left: 0 !important;
    }

    .sm-home-analysis-col {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .sm-home-advert-col {
        display: block !important;
        margin-left: 0 !Important;
    }

    .more-news-promo {
        margin-bottom: 15px;
    }

    .cips-magazine img {
        padding-right: 0;
    }

    .footer-upper .email-bulletin-container .col-xs-12 {
        margin-top: 3px !important;
    }

    .navbar-upper .logged-in-dropdown .dropdown-toggle .member-name .col-md-9,
    .navbar-upper .logged-in-dropdown .dropdown-toggle .member-name .col-md-3 {
        height: 38px;
        -ms-flex-direction: row !important;
        -webkit-flex-direction: row !important;
        flex-direction: row !important;
    }

    #cookie-bar {
        text-align: left;
    }

        #cookie-bar .cb-enable,
        #cookie-bar .cb-enable:hover {
            float: right;
            margin-top: 12px;
        }

        #cookie-bar p span {
            display: inline-block;
            width: 85%;
        }
}

@media (max-width: 991px) {
    .topics-row .row-equal-height,
    .row-equal-height.cips-magazine-and-knowledge,
    .row-equal-height.row-sm-home-opinion,
    .row-equal-height.row-sm-analysis-news,
    .row-equal-height.news-and-events {
        display: block !important;
    }

    .big-picture-row .big-picture-title {
        padding-top: 20px !important;
    }

    .big-picture-row .big-picture-summary {
        padding-top: 25px !important;
    }

    .big-picture-row .big-picture-date {
        padding-bottom: 15px !important;
    }

    .sm-home-article-col {
        height: 400px;
    }

    .cips-knowledge-widget .cips-knowledge-widget-links a:nth-child(4),
    .cips-knowledge-widget .cips-knowledge-widget-links a:nth-child(5) {        
        display: none;        
    }
}


@media (min-width: 544px) and (max-width: 1199px) {
    .topics-row .col-xl-2 {
        border-left: 1px solid #000000 !important;
        border-top: none !important;
    }

        .topics-row .col-xl-2:nth-child(1),
        .topics-row .col-xl-2:nth-child(2) {
            border-top: 1px solid #000000 !important;
        }

        .topics-row .col-xl-2:nth-child(even) {
            border-left: none !important;
        }
}
