/*
	Responsive theme for PCH website

	// COLOURS //
	Main Blue colour: #4393d0;
	Alt Blue colour: #23527c;
	
 */


/*
 *	Hospital header logo
 */
.gov_logo {
    background-image: url('../../images/hospitals-responsive/logo-doh-header.png');
    width: 449px;
    height: 75px;
    -webkit-background-size: 449px 75px;
    -moz-background-size: 449px 75px;
    -o-background-size: 449px 75px;
    background-size: 449px 75px;
}

.hospital_logo {
    background-image: url('../../images/hospitals-responsive/logo-pch-header.svg');
    width: 174px;
    height: 75px;
    background-size: 174px 75px;
}

.no-svg .hospital_logo {
    background-image: url('../../images/hospitals-responsive/logo-pch-header.png');
}

@media screen and (max-width: 991px) {
    .hospital_logo {
        width: 112px;
        height: 48px;
        background-size: 112px 48px;
    }
    .no-backgroundsize .hospital_logo {
        background-image: url('../../images/hospitals-responsive/logo-pch-header--mob.png');
    }
}


/*
 *	Main Blue fonts
 */

a,
.header a,
.menu_row .active a,
.menu_row .active a:hover,
.menu_row .active a:focus {
    color: #4393d0;
}

.menu_row li a:hover,
.menu_row li a:focus {
    background: #4393d0;
}

a:hover,
a:focus {
    color: #23527c;
}

@media screen and (max-width: 991px) {
    .menu_row .active a {
        color: #4393d0;
    }
}

.page_controls {
    background: transparent;
}


/*
 *	Main Blue backgrounds
 */

.more_icon,
.carousel,
.page_controls_wrap,
.carousel .top,
.carousel .bottom,
.menu_row li a:hover,
.menu_row li a:focus,
.toggle-menu-mobile,
.colRight h2,
.btnGeneric {
    background: #4393d0;
}


/* Alt blue backgrounds */

a:hover .more_icon,
.toggle-menu-mobile:hover,
.btnGeneric:hover {
    background: #23527c;
}

@media screen and (max-width: 991px) {
    .header-search_toggles label,
    .heading_content {
        background-color: #4393D0;
    }
}

@media screen and (max-width: 767px) {
    .top-anchor_btn {
        background-color: #f79321;
    }
}

.logo-gov-footer-wrap--mobile {
    background-color: #4393d0;
    background-image: -webkit-linear-gradient(270deg, #4393d0 80%, #3d85bc 100%);
    background-image: -moz-linear-gradient(270deg, #4393d0 80%, #3d85bc 100%);
    background-image: -o-linear-gradient(270deg, #4393d0 80%, #3d85bc 100%);
    background-image: linear-gradient(180deg, #4393d0 80%, #3d85bc 100%);
}


/*
 *	Main Blue borders
 */

.carousel {
    min-height: 260px;
    height: auto !important;
}

.carousel_slider {
    position: relative;
}

.carousel .middle:before,
.carousel .middle:after {
    border-right-color: #4393d0;
}

.carousel .middle:before {
    border-top-color: #4393d0;
}

.carousel .middle:after {
    border-bottom-color: #4393d0;
}

.carousel_image img {
    max-width: 100% !important;
    height: auto !important;
}

@media screen and (max-width: 991px) {
    .menu_row .active a:before {
        border-left-color: #4393d0;
    }
}


/*
 *	Other blue borders
 */

.menu_row li {
    border-left-color: #639ac3;
    border-right-color: #347db0;
}

.menu_row ul:before {
    background: #347db0;
}

.menu_row ul:after {
    background: #639ac3;
}


/*
 *	Blue navigation gradient bars
 */

.menu_row {
    background-color: #4393d0;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#4193cf), to(#347baf));
    background-image: -webkit-linear-gradient(#4193cf 0%, #347baf 100%);
    background-image: -moz-linear-gradient(#4193cf 0%, #347baf 100%);
    background-image: -o-linear-gradient(#4193cf 0%, #347baf 100%);
    background-image: linear-gradient( #4193cf 0%, #347baf 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#4193cf', endColorstr='#347baf');
    /*For IE7-8-9*/
}


/* Active page gradient */

.menu_row .active a,
.menu_row .active a:hover,
.menu_row .active a:focus {
    background: #fff;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#d7d9d8));
    background-image: -webkit-linear-gradient(#ffffff 0%, #d7d9d8 100%);
    background-image: -moz-linear-gradient(#ffffff 0%, #d7d9d8 100%);
    background-image: -o-linear-gradient(#ffffff 0%, #d7d9d8 100%);
    background-image: linear-gradient( #ffffff 0%, #d7d9d8 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#ffffff', endColorstr='#d7d9d8');
    /*For IE7-8-9*/
}


/*
 *	Other backgrounds
 */

@media screen and (max-width: 991px) {
    .menu_row,
    .menu_row .active a {
        background: #fff;
    }
    .menu_row li a:hover,
    .menu_row li a:focus,
    .menu_row .active a:hover,
    .menu_row .active a:focus,
    .menu_row .children-toggle:hover,
    .menu_row .children-toggle:focus {
        background: #f2f2f2;
    }
    .menu_row li .active a,
    .menu_row li .active a:hover,
    .menu_row li .active a:focus {
        background: transparent;
    }
    .menu_row,
    .menu_row .active a,
    .menu_row li a:hover,
    .menu_row li a:focus,
    .menu_row .active a,
    .menu_row .active a:hover,
    .menu_row .active a:focus,
    .menu_row .children-toggle:hover,
    .menu_row .children-toggle:focus {
        filter: progid: DXImageTransform.Microsoft.gradient(enabled=false);
    }
}


/*
    Accordian
 */

.doh-accordian_btn:after {
    color: #4393d0;
}

.jcarousel-container .prev-btn:before {
    font-family: Arial;
    font-weight: bold;
    content: '<';
}

.jcarousel-container .next-btn:before {
    font-family: Arial;
    font-weight: bold;
    content: '>';
}

.jcarousel-container .carousel-slide_inner {
    visibility: hidden;
}


/* 
Gallery Pretty Photo 

*/

@media (max-width:767px) {
    .pp_gallery {
        display: none!important;
    }
}


/* Home message */

.home_content p.hosp-marquee {
    display: block;
    width: 100%;
    font-size: 16px;
    font-style: italic;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

@media (min-width: 768px) {
    .home_content p.hosp-marquee {
        font-size: 20px;
        margin-top: 0;
        margin-bottom: 18px;
    }
}

@media only screen and (max-width:767px) {
    .news_list_item {
        border-color: transparent;
    }
}

@media only screen and (min-width:768px) {
    .carousel_text {
        font-size: 14px;
    }
    .page_controls {
        background-color: #4393d0;
    }
}

@media only screen and (min-width:922px) {
    .carousel_text {
        font-size: 16px;
    }
}

@media only screen and (min-width:1200px) {
    .carousel_text {
        font-size: 18px;
    }
}

.articleInternal {
    display: table;
    width: 100%;
}

.articleInternal .articleImage {
    border: none;
}

.feature_list .feature_item .feature_image {
    height: auto!important;
}

.feature_list .feature_item .feature_image img {
    min-height: 0!important;
}

.articleInternal .articleItem,
.articleInternal .articleImage.news {
    display: table-cell;
    width: auto;
    vertical-align: top;
}

@media only screen and (min-width:768px) and (max-width:991px) {
    .feature_list {
        display: flex;
        flex-flow: row;
        margin-left: -5px;
        margin-right: -5px;
    }
    .feature_list .feature_item {
        flex: 1 1 33.33333%;
        max-width: 33.33333%;
        padding-left: 5px;
        padding-right: 5px;
    }
    .feature_list .feature_item .feature_image {}
}

@media only screen and (min-width:1200px) {
    .feature_list .feature_item .feature_image {}
}

.articleInternal .articleItem {
    margin-right: 0;
}

.articleInternal .articleImage.news {
    text-align: right;
}

.articleInternal .articleImage.news img {
    max-width: 225px;
    height: auto;
    padding: 0 10px;
}

@media only screen and (max-width:767px) {
    .articleInternal .articleItem,
    .articleInternal .articleImage.news {
        display: table-cell;
        width: auto;
        vertical-align: top;
    }
    .articleInternal .articleItem {
        margin-right: 0;
    }    
    .articleInternal .articleImage.news img {
        max-width: 200px;
        height: auto;
        padding: 0 10px;
    }
}

@media only screen and (max-width:479px) {
    .articleInternal .articleImage.news img {
        min-width: 150px;
    }
    /* hide text but allow screen readers */
    .articleInternal .articleItem p {
        position: absolute !important;
        top: -9999px !important;
        left: -9999px !important;
    }

    /* Events page */
    .eventDetails img {
    width:12em;
}

    .eventListing  img {
        width:12em;
    }

    .eventListing .articleInternal .articleItem p {
        position: initial !important;
        top: initial !important;
        left: initial !important;
    }
}

@media only screen and (max-width:767px) {
    .news_list_item {
        border-color: transparent;
    }
}

@media only screen and (min-width:480px) {
    .articleInternal .articleItem {
        padding-right: 15px;
    }
}

@media only screen and (min-width:768px) {
    .articleInternal .articleItem {
        padding-right: 30px;
    }
}

@media only screen and (max-width:639px) {
    .image_right,
    .floatImg.right,
    .imageRight {
        float: none;
        clear: both;
        margin-left:0;
        margin-bottom:15px;
        white-space:nowrap;
    }
}

.doh-accordian .doh-accordian_btn {
    width: 100%!important;
    font-size: 1.6em;
}

.doh-accordian.open .doh-accordian_btn {
    border-color: transparent;
    outline: none;
}

.rightColumn {
    display: none;
    margin-top: 30px;
}

@media only screen and (min-width:992px) {
    .rightColumn {
        display: block;
    }
}

.page_controls .social-footer {
    display: inline;
    min-height: 0px;
    padding: 0px 0px;
    text-align: initial;
    background: none;
}

    .page_controls .social-footer .social_controls {
        background-color: #fff;
        margin-right: 3px;
    padding-right: 10px;
    }

.social-footer {
    min-height:60px;
    padding:20px 20px;
    background-color:#d7d9d8;
    background: -ms-linear-gradient(top, rgba(215,217,216,1) 0%, rgba(255,255,255,1) 100%);
    background: linear-gradient(to bottom, rgba(215,217,216,1) 0%, rgba(255,255,255,1) 100%);
    text-align:center;
}

    .social-footer .social_controls > a {
        padding-left: 0px !important;
        padding-right: 6px !important;
    }

@media only screen and (min-width:992px) {
    .social-footer { display: none; }
}


@media only screen and (min-width:768px) {
    .articleInternal .articleItem {
        padding-right: 30px;
    }

    .feature_list {
        display: flex;
    }

    .main_column {
        width: 100%;
    }

    .home_content .main_column {
        width: 80%;
    }

        .home_content .main_column .hr {
            margin-top: 60px;
        }

    .news_column {
        width: 20%;
    }
}

@media only screen and (min-width:768px) and (max-width:991px) {
    .main_column {
        width: 100% !important;
    }

    .news_column {
        width: 100% !important;
        margin-top: 40px;
    }
}

/* Accordian styles */

.doh-accordian {
border-bottom: 1px solid #eeeeee;
}

.doh-accordian_btn {
    background: #F4F4F4;
    background: -webkit-linear-gradient(#ffffff, #F4F4F4);
    background: -o-linear-gradient(#ffffff, #F4F4F4);
    background: -moz-linear-gradient(#ffffff, #F4F4F4);
    background: linear-gradient(#ffffff, #F4F4F4);
padding:15px 24px 15px 10px;
border-bottom: 1px solid #ffffff;
color:#666666;
}

.doh-accordian_btn:hover {
    background: #e4e4e4;
    background: -webkit-linear-gradient(#ffffff, #e4e4e4);
    background: -o-linear-gradient(#ffffff, #e4e4e4);
    background: -moz-linear-gradient(#ffffff, #e4e4e4);
    background: linear-gradient(#ffffff, #e4e4e4);
color:#555555;
}

.doh-accordian_btn:after {
position:absolute;
right:10px;
content:'\f107';
color:#639ac3; /* Different for each hospital site */
}

.doh-accordian_btn:hover:after {
color:#347db0; /* Different for each hospital site */
}

.doh-accordian.open .doh-accordian_btn:after {
content:'\f106';
color:#347db0; /* Different for each hospital site */
}

.doh-accordian.open .doh-accordian_btn {
background: #e4e4e4;
    background: -webkit-linear-gradient(#ffffff, #e4e4e4);
    background: -o-linear-gradient(#ffffff, #e4e4e4);
    background: -moz-linear-gradient(#ffffff, #e4e4e4);
    background: linear-gradient(#ffffff, #e4e4e4);
color:#555555;
}

.doh-accordian_body-wrap {
border-top:1px solid #eeeeee;
border-left:none;
border-right:none;
border-bottom:none;
padding:15px 10px 5px 10px;
}

/* Events page */

.eventItem {
    border-bottom:none;
    margin-bottom:0;
    padding-bottom:0;
}

.eventItem dt {
    width:initial;
    display:inline-block;
}

.eventItem dd {
    width:initial;
    display:inline-block;
}

.eventItem .event {
    margin-bottom:0;
}

.imgHolder {
    float:right;
    padding-left:16px;
    padding-bottom:10px;
    padding-top:2px;
}

.articleInternal h4 {
    margin:0 0 0.2em 0;
}

.articleDate {
    margin-bottom:0.4em;
}

.aspNetDisabled {
    color: #57585c;
    text-decoration:none;
}

.eventListing .articleInternal {
    border-top:none;
}

.eventPageSeparator {
    margin:0;
    padding:0;
}

.eventListing .articleImage {
    float:right;
    display:inline;
    margin-top:4px;
}

.noEventText {
    margin-top:1.6em;
    margin-bottom:2em;
}

.eventListing h4 {
    display:inline;
}

.headingText {
font-weight:bold;
}

/*Pharmacy medication order form*/
#form_F2121932F80B44518F42EBEE62ECBA90 .scfRequired {
    display:none;
}

#form_F2121932F80B44518F42EBEE62ECBA90 .scfValidationSummary ul {
    list-style-type: none;
}

#form_F2121932F80B44518F42EBEE62ECBA90 .scfDatePickerTextBox {
    padding-left:1.2em;
}

/*Updated heading and table styles*/
h2 {
    font-size:1.8em;
}

h3 {
    font-size: 1.6em;
}

h4 {
    font-size:1.4em;
}

h5 {
    font-size: 1.2em;
}

/* PCH table */
.pchTable, .pchTable td, .pchTable th {
    border: solid 1px #333333;
    padding:0.4em 0.6em;
    text-align:left;
}

.BlueHeading {
    background-color: #0076BE;
    color: #ffffff;
}


.GreyHeading {
    background-color: #58595B;
    color: #ffffff;
}

form[action*="/formbuilder?"] input[type='submit'] {
    color: #FFF;
    background-color: #4393d0;
    border: 2px solid #4393d0;
}

    form[action*="/formbuilder?"] input[type='submit']:hover {
        color: #4393d0;
        background-color: lightgrey;
    }