#petDetailsPortlet .hidden {
    display: none;
}

#petDetailsPortlet #addFavourite,#petDetailsPortlet #removeFavourite {
    cursor: pointer;
}

#petDetailsPortlet {
    margin-top: 10px;
    overflow: hidden;
}

#petDetailsPortlet #petDetailsModal .modal-body .applyOnline {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#petDetailsPortlet #petDetailsModal .modal-body .applyOnline .schemeButton {
    width: auto;
    padding: 8px 32px;
}

#petDetailsPortlet #petDetailsModal .modal-body .applyOnline .noThanks {
	text-align: center;
	color: #1f2526;
	text-decoration: underline;
	padding-top: 20px;
}

#petDetailsPortlet .searchOrBackLink {
    display: block;
    width: 160px;
    float: left;
}

#petDetailsPortlet .searchOrBackLink span {
    display: block;
    margin-top: 5px;
    width: 200px;
}

#petDetailsPortlet .searchOrBackLink img {
    float: left;
    margin: 0 5px 5px 0;
}

#wrapper #petDetailsPortlet #animalCarousel {
    margin-bottom: 0;
}

#petDetailsPortlet .navigation {
    width: 60px;
    float: right;
}

#petDetailsPortlet .previousPet {
    float: left;
}

#petDetailsPortlet .nextPet {
    float: right;
}

.petDetails.notFound .animalDescription,.petDetails.notFound .searchOrBackLink {
    clear: both;
}

#petDetailsPortlet .petOverview {
    width: 100%;
    clear: both;
    margin-top: 10px;
    float: left;
}

#petDetailsPortlet .petDetails {
    width: 74.5%;
    float: left;
    padding: 0;
    margin: 0;
}

#petDetailsPortlet .additionalInfo {
    width: 24%;
    float: right;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

#petDetailsPortlet .additionalInfo .contact {
    padding: 5px 0;
}


#petDetailsPortlet .aboutMe {
    border-top: 5px solid;
    padding: 7px 5px;
    background: white;
}

#petDetailsPortlet .aboutMe h2 {
    padding-left: 5px;
}

#petDetailsPortlet .aboutMe h3 {
    margin-top: 0;
}

#petDetailsPortlet .aboutMe .applyOnline a {
    margin-bottom: 20px;
}

#petDetailsPortlet #lifeStyle {
    width: 100%;
    float: left;
    clear: both;
}

#lifeStyle ul li {
    height: 78px;
    overflow: hidden;
    width: 49%;
    float: left;
}

#lifeStyle ul li:nth-child(2n) {
    margin-left: 2%;
}

#lifeStyle ul li img {
    float: left;
}

#lifeStyle ul, #lifeStyle ul li {
    padding: 0;
}

#wrapper p.appealsText {
    margin-bottom: 10px;
}

#wrapper #lifeStyle ul li span {
    width: calc(100% - 90px);
    height: 58px;
    display: inline-block;
    vertical-align: middle;
    padding-left: 10px;
    padding-top: 20px;
}

#petDetailsPortlet .establishmentDetails {
    width: 100%;
    /* float: right; */
    padding: 0 15px;
    margin: 15px 0 0 0;
    overflow: hidden;
    border: 4px solid;
    background: #fff;
}

#petDetailsPortlet .establishmentLocation h3 {
    margin-top: 1rem;
}

body.defaultTheme #petDetailsPortlet .additionalInfo .establishmentLocation {
    margin-bottom: 5px;
}

#petDetailsPortlet tr {
    vertical-align: top;
}


#wrapper #petDetailsPortlet th,
#wrapper #petDetailsPortlet td {
    padding: 5px 5px 5px 0px;
    text-align: left;
}

#petDetailsPortlet a#trackingServiceEmail,
#trackingEstabEmail,
.aboutMe td.animalRef {
    word-break: break-all;
    word-wrap: break-word;
}

#wrapper #petDetailsPortlet .aboutAnimal,#wrapper #petDetailsPortlet a.applyOnline {
    padding: 8px 5px;
    display: block;
    text-align: center;
    margin-top: 10px;
    float: left;
    width: 100%;
}

#wrapper .petDetails .donateText p {
    padding-bottom: 0px;
}

.animalHeading {
    width: 100%;
    float: left;
    clear: left;
    overflow: hidden;
}

.animalHeading h1 {
    margin-top: 20px;
    float: left;
    clear: both;
    width: calc(100% - 188px);
}

#removeFavourite,#addFavourite {
    width: 188px;
    float: right;
    margin-top: 10px;
}

#removeFavourite p,#addFavourite p {
    float: left;
    width: calc(100% - 40px);
    text-align: right;
    padding-right: 5px;
}

#removeFavourite img,#addFavourite img {
    float: right;
}

.petDescription {
    float: left;
    clear: both;
    border-bottom: 3px solid;
    width: 100%;
}

.carouselNavButton {
    display: none;
}

.largeImageAndCarousel,.itemFrame,.responsiveCarouselWrapper {
    width: 100%;
    float: left;
    overflow: hidden;
    clear: both;
}

.largeImageAndCarousel {
    position: relative;
}

.largeImageAndCarousel .myfavourite {
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 20;
}

.largeImageAndCarousel .myreserved {
    position: absolute;
    left: 5px;
    bottom: 10px;
    padding: 5px 10px;
    background-color: var(--primary, #2622F7);
    color: var(--sheep-white, #FFFAF5);
}

.largeImageAndCarousel .myappeal {
    position: absolute;
    left: 5px;
    top: 5px;
    z-index: 20;
}

.responsiveCarouselWrapper {
    margin-top: 10px;
    margin-bottom: 10px;
}

.carouselImgHolder {
    border: 1px solid #fff;
    height: 20px;
    width: 20px;
}

.carouselVidHolder {
    height: 18px;
    width: 18px;
    /*padding-top: 2px;
    padding-left: 2px; */
    font-size: 1.2rem!important;
    color: #fff;
    border: 1px solid white;
}

.selected .carouselImgHolder,.selected .carouselVidHolder {
    background-color: white;
}

.carouselImgHolder img {
    display: none;
}

.carouselSlider {
    width: 250px!important;
    margin: 0 auto!important;
    left: 0!important;
}

.carouselViewport {
    padding: 10px 0;
}

body #wrapper #animalCarousel ul li {
    padding: 0;
}

.itemFrame {
    width: 100%;
    position: relative;
}

.itemFrame img {
    width: calc(100% - 10px);
    margin: 5px;
    vertical-align: middle;
}

.itemFrame #largeVid {
    margin: 5px;
}

#wrapper #petDetailsPortlet div.donateButton{
	width: 100%;
	margin-top: 10px;
}

@media all and (min-width: 1007px) {
    #petDetailsPortlet {
        margin-bottom: 1px;
    }
}

@media all and (min-width: 768px) {
    .aboutMe.mobile {
        display: none;
    }
}

@media all and (max-width:1006px) and (min-width:768px) {
	#wrapper #petDetailsPortlet a.themeDonationButton {
	  	margin-left: 0px;
	 }
}

@media all and (max-width: 1006px) {
	body:not(.defaultTheme) #petDetailsPortlet {
		padding: 0 10px;
		width: 100%;
	}
	
    .defaultTheme:not(.estab):not(.intranet) #petDetailsPortlet {
        overflow:hidden;
        padding-top: 10px;
        background-image: linear-gradient(to bottom,#fff,#fff 0,#e4e1ca 0,#e4e1ca 80px,#fff 80px)!important;
    }
    
    
	#petDetailsPortlet .petOverview {
	    clear: both;
	    margin-top: 10px;
	    float: left;
	}
	
	#addFavourite p{
		margin-top:10px;
	}
}



@media all and (max-width: 767px) {		
    #petDetailsPortlet .petDetails {
        width:100%;
    }

    #petDetailsPortlet .petDescription {
        border: 0;
        padding: 5px;
        width: calc(100% - 10px);
    }

    #petDetailsPortlet .aboutMe {
        border-top: 0;
        padding: 7px 5px;
        clear: both;
    }

    #petDetailsPortlet .additionalInfo {
        width: 100%;
    }

    .aboutMe.desktop {
        display: none;
    }

    #petDetailsPortlet .additionalInfo .establishmentDetails {
        padding: 0 5px;
        width: 100%;
    }

    #removeFavourite,#addFavourite {
        width:50px;
    }

    #removeFavourite p,#addFavourite p {
        display: none;
    }
    
    

    #lifeStyle ul li {
        width: 98%;
        float: left;
        margin: 0 1%;
        height: 60px;
    }

    #lifeStyle ul li:nth-child(2n) {
        margin-left: 1%
    }

    #lifeStyle ul li img {
        height: 50px;
    }
    

    #wrapper #lifeStyle ul li span{
    	padding-top: 10px;
        width: calc(100% - 60px);
        padding-left: 10px;
        height: 50px;
    }
}

.defaultTheme #column-2 .portlet-body {
    background-color: transparent;
}