.red-theme .cis-logo, .pink-theme .cis-logo, .orange-theme .cis-logo {
    background: url(/archive/20210630085004oe_/https://childreninscotland.org.uk/img/logos/cis_logo-long_red.svg) no-repeat;
}
.purple-theme .cis-logo, .blue-theme .cis-logo {
    background: url(/archive/20210630085004oe_/https://childreninscotland.org.uk/img/logos/cis_logo-long_purple.svg) no-repeat;
}
.green-theme .cis-logo, .teal-theme .cis-logo {
    background: url(/archive/20210630085004oe_/https://childreninscotland.org.uk/img/logos/cis_logo-long_green.svg) no-repeat;
}
.black-theme .cis-logo {
    background: url(/archive/20210630085004oe_/https://childreninscotland.org.uk/img/logos/cis_logo-long_black.svg) no-repeat;
}

@media only screen and (min-width: 768px) {
    
    .red-theme .cis-logo, .pink-theme .cis-logo, .orange-theme .cis-logo {
    background: url(/archive/20210630085004oe_/https://childreninscotland.org.uk/img/logos/cis_logo-stack_red.svg) no-repeat;
    }
    .purple-theme .cis-logo, .blue-theme .cis-logo {
        background: url(/archive/20210630085004oe_/https://childreninscotland.org.uk/img/logos/cis_logo-stack_purple.svg) no-repeat;
    }
    .green-theme .cis-logo, .teal-theme .cis-logo {
        background: url(/archive/20210630085004oe_/https://childreninscotland.org.uk/img/logos/cis_logo-stack_green.svg) no-repeat;
    }
    .black-theme .cis-logo {
        background: url(/archive/20210630085004oe_/https://childreninscotland.org.uk/img/logos/cis_logo-stack_black.svg) no-repeat;
    }
    
}

@media only screen and (min-width: 1024px) {
    
    .red-theme .cis-logo, .pink-theme .cis-logo, .orange-theme .cis-logo {
        background: url(/archive/20210630085004oe_/https://childreninscotland.org.uk/img/logos/cis_logo-long_red.svg) no-repeat;
    }
    .purple-theme .cis-logo, .blue-theme .cis-logo {
        background: url(/archive/20210630085004oe_/https://childreninscotland.org.uk/img/logos/cis_logo-long_purple.svg) no-repeat;
    }
    .green-theme .cis-logo, .teal-theme .cis-logo {
        background: url(/archive/20210630085004oe_/https://childreninscotland.org.uk/img/logos/cis_logo-long_green.svg) no-repeat;
    }
    .black-theme .cis-logo {
        background: url(/archive/20210630085004oe_/https://childreninscotland.org.uk/img/logos/cis_logo-long_black.svg) no-repeat;
    }
    
}

@media only screen and (min-width: 1200px) {
    
    .red-theme .cis-logo, .pink-theme .cis-logo, .orange-theme .cis-logo {
    background: url(/archive/20210630085004oe_/https://childreninscotland.org.uk/img/logos/cis_logo-stack_red.svg) no-repeat;
    }
    .purple-theme .cis-logo, .blue-theme .cis-logo {
        background: url(/archive/20210630085004oe_/https://childreninscotland.org.uk/img/logos/cis_logo-stack_purple.svg) no-repeat;
    }
    .green-theme .cis-logo, .teal-theme .cis-logo {
        background: url(/archive/20210630085004oe_/https://childreninscotland.org.uk/img/logos/cis_logo-stack_green.svg) no-repeat;
    }
    .black-theme .cis-logo {
        background: url(/archive/20210630085004oe_/https://childreninscotland.org.uk/img/logos/cis_logo-stack_black.svg) no-repeat;
    }
    
}

@media only screen and (min-width: 1344px) {
    
    .red-theme .cis-logo, .pink-theme .cis-logoo, .orange-theme .cis-logo {
        background: url(/archive/20210630085004oe_/https://childreninscotland.org.uk/img/logos/cis_logo-long_red.svg) no-repeat;
    }
    .purple-theme .cis-logo, .blue-theme .cis-logo {
        background: url(/archive/20210630085004oe_/https://childreninscotland.org.uk/img/logos/cis_logo-long_purple.svg) no-repeat;
    }
    .green-theme .cis-logo, .teal-theme .cis-logo {
        background: url(/archive/20210630085004oe_/https://childreninscotland.org.uk/img/logos/cis_logo-long_green.svg) no-repeat;
    }
    .black-theme .cis-logo {
        background: url(/archive/20210630085004oe_/https://childreninscotland.org.uk/img/logos/cis_logo-long_black.svg) no-repeat;
    }
    
}

@media only screen and (min-width: 1440px) {
    
    .cis-logo {
        margin-left: calc(50vw - 720px);
    }
    
    .cis-header-buttons, .cis-primary-nav {
        margin-right: calc(50vw - 720px);
    }
    
    .cis-primary-nav .cis-secondary-nav {
        right: calc(0px - (50vw - 720px));
    }
    
    .cis-top-controls {
        right: calc(50vw - 665px);
    }
    
    .cis-primary-nav .cis-secondary-nav, .cis-search input {
        padding-left: calc(50vw - 650px);
        padding-right: calc(50vw - 650px);
    }
    
}

.panel {
    width: calc(50% - 5px);
    overflow: hidden;
}

.panel-split, .panel-huge {
    width: 100%;
}

.panel-body a {
    width: calc(100% - 40px);
}

.btn-square {
    width: calc(25% - 18px)!important;
}
.news-items p {
    width: calc(100% - 45px);
}

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

    .panel-split img, .panel-huge img {
        width: 23%;
        margin: 2% 0 0 2%;
    }

    .panel, .panel-body {
        min-height: 0px;
    }
    
}

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

    .panels .col-md-6 {
        width: calc(50% - 10px);
    }

    .panels .col-md-6:first-of-type {
        margin-right: 10px;
    }
    
}

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

    .panel-body a.btn-linkout {
        width: calc(50% - 20px);
        margin-right: 10px;
    }

    .panel-body.linkouts {
        padding-right: 0;
    }
    
}

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

    .btn-donate1, .btn-donate2 {
        width: calc(50% - 5px);
    }
    
}

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

    .abovepanels .col-md-6 {
        width: calc(50% - 5px);
    }

    .abovepanels .col-md-6:first-of-type {
        margin-right: 10px;
    }

    .panel {
        height: calc((92vw - 30px) / 4);
    }

    .panel-huge {
        height: calc((92vw - 10px) / 2);
    }
    
    .panel-huge .panel-body, .panel-split .panel-body {
        margin-left: 0;
        margin-top: 0;
    }

    .panel-body a.btn-linkout {
        height: calc(5.5vw - 20px);
    }

    .panel-body a.btn-linkout img {
        padding: calc(1.5vw - 8px);
    }
    
    .panel-double {
        height: calc((92vw - 10px) / 2);
    }

    .latest-news li {
        height: calc(15vw - 49px);
    }
    
}

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

    .latest-news li {
        height: calc(15vw - 53px);
    }
    
}

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


    .panel {
        height: 325px;
    }
    
    .panel-huge, .panel-double {
        height: 660px;
    }

    .panel-body a.btn-linkout img {
        padding: 15px;
    }
    
}