/*****************
SIDEBAR CSS
*****************/

#sidebar {
	margin-right: 10px;
}

/* General sidebar styling */
.sidebar-item {
	margin-bottom: 30px;	
}
.sidebar-item .btn {
	margin-top: 15px;	
}
.sidebar-itemContent,
.sidebar-itemContent.no-padding {
	border-radius: 2px;
}
.sidebar-itemContent {
	/*padding: 20px;*/
}
.sidebar-itemContent.no-padding {
	padding: 0;
}
h5.widget-title,
.sidebar-itemHeader {
	font-weight: 700;
	color: #52575B;
	text-transform: uppercase;
	margin-bottom: 10px;	
	letter-spacing: 0.05em;
}
.sidebar-item h2 {
	margin-top: 0;
}
.sidebar-item .badge {
	float: right;	
}


/* SIDEBAR - SIDENAV */ /*Includes styling for events sidebar menu */
.widget.widget_nav_menu {
	margin-bottom: 30px;	
}
#sidebar-sideNav ul,
.widget.widget_nav_menu ul {
	list-style-type: none;
	padding-left: 0;	
}
#sidebar-sideNav li,
.widget.widget_nav_menu li {
	background: #e4dfd7;
	margin-bottom: 2px;
}
#sidebar-sideNav li a,
#sidebar-sideNav li a:hover,
#sidebar-sideNav li a:active,
.widget.widget_nav_menu li a,
.widget.widget_nav_menu li a:hover,
.widget.widget_nav_menu li a:active {
	border-radius: 1.5px;
}
#sidebar-sideNav li a,
.widget.widget_nav_menu li a {
	font-weight: 600;
	color: #52575B;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 15px;
}
#sidebar-sideNav li a {
	padding-right: 28px;
}
.widget.widget_nav_menu li a {
	padding-right: 14px;
}
.widget.widget_nav_menu li a {
	display: block;
	text-decoration: none;
}

#sidebar-sideNav li a:after,
.widget.widget_nav_menu li span:after {
	content: '\f105';
	font-family: 'fontAwesome';
	font-size: 1.3em;
}
#sidebar-sideNav li a:after {
	position: absolute;
	top: 50%;
	right: 14px;
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
.widget.widget_nav_menu li span:after {
	float: right;
	margin-top: 10px;
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
#sidebar-sideNav li.active a,
#sidebar-sideNav li.active a:hover,
.widget.widget_nav_menu li.active a,
.widget.widget_nav_menu li.active a:hover {
	color: #ffffff;
	background: #009ada;
}
#sidebar-sideNav li.active a:after,
#sidebar-sideNav li.active a:hover:after,
.widget.widget_nav_menu li.active span:after,
.widget.widget_nav_menu li.active span:hover:after {
	color: #FCB53B;
}
#sidebar-sideNav li a:hover,
#sidebar-sideNav li a:focus,
#sidebar-sideNav li a:hover:after {
	color: #009ada;
}
#sidebar-sideNav li a:hover,
#sidebar-sideNav li a:focus,
.widget.widget_nav_menu li a:hover,
.widget.widget_nav_menu li a:focus {
	background: #ddd5ce;	
}




/* ADOPTIONS - SIDEBAR */
/* Pet licence */
#sidebar-adoptionBenefits .sidebar-itemContent {
	background: #fff;
}
#sidebar-adoptionBenefits ul {
	list-style-type: none;
	padding-left: 0;
}
#sidebar-adoptionBenefits li:before {
	content: '\f00c';	
	font-family: 'fontAwesome';
	margin-right: 7px;
	color: #4e8e3c;
}

#sidebar-petLicence h2 {
	margin-top: 20px;
}

/* Recently viewed pets */
#sidebar-recentlyViewedPets .sidebar-itemContent {
	padding: 0;
}

#sidebar-petLicence .sidebar-itemContent p {
	word-wrap: break-word;
}

#sidebar-recentlyViewedPets ul {
	padding-left: 0;
	list-style-type: none;
	margin-bottom: 0;
}
#sidebar-recentlyViewedPets li {
	background: #ffffff;	
	padding-bottom: 5px;
	width: 100%;
	margin-bottom: 10px;
	-moz-box-shadow: 0 0.5px 2px 0 #dddddd;
	-webkit-box-shadow: 0 0.5px 2px 0 #dddddd;
	box-shadow: 0 0.5px 2px 0 #dddddd;
}
#sidebar-recentlyViewedPets li:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
#sidebar-recentlyViewedPets li a {
	color: #36424C;
}
/*#sidebar-recentlyViewedPets .thumbnail {
	position: relative;
	overflow: hidden;
	margin-bottom: 10px;
	border-radius: 0;
}
#sidebar-recentlyViewedPets .thumbnailcaption {
	border-radius: 0;
}
#sidebar-recentlyViewedPets p {
	padding: 10px 12px;
	margin-bottom: 0;
}
*/

#sidebar-recentlyViewedPets .thumbnail {
	border-radius: 0;
}

#sidebar-recentlyViewedPets .image {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 155px;
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 15px;
}
#sidebar-recentlyViewedPets img {
    position: absolute;
    left: 0;
    top: 0;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}
#sidebar-recentlyViewedPets span.thumbnailcaption {
    width: 100%;
    height: 100%;
    position: absolute;
    background: #009ada;
    padding: 5px 15px;
    font-size: 14px;
    color: white;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}
#sidebar-recentlyViewedPets span.thumbnailcaption h3 {
	margin-top: 0;
	margin-bottom: 5px;	
}
#sidebar-recentlyViewedPets span.thumbnailcaption p {
	padding: 0;
}

/* Thumbnail caption - reveal up full */
#sidebar-recentlyViewedPets li.image.revealUpFull span {
    height: 100%;
    width: 100%;
    bottom: -120px;
}
#sidebar-recentlyViewedPets li.image.revealUpFull:hover img {
    top: 0;
}
#sidebar-recentlyViewedPets li.image.revealUpFull:hover span {
    bottom: 0;
}




/* NEWS - SIDEBAR */
#sidebar-postSearch .form-inline {
	background: #008DC7;
	padding: 13px 13px;	
}
#sidebar-postSearch .form-control {
	border: none;	
	width: 100%;	
}
#sidebar-postSearch input[type="search"] {
	height: 38px;
	border: none;
}
#sidebar-postSearch .form-group {
	width: 78%;	
}
#sidebar-postSearch .btn {
	margin: 0 0 0 3px;
	background: #007BAE;
	padding: 2px 11px;	
}

#sidebar-submitStory .sidebar-itemContent {
	background: #38A8DF;
	color: #ffffff;
}

/* Post categories & Post archives */
#sidebar-postCategories ul,
#sidebar-postArchives ul {
	list-style-type: none;
	padding-left: 0;
}
#sidebar-postCategories li {
	margin-bottom: 2px;
}
#sidebar-postArchives li {
	border-bottom: 1.5px solid #ddd;
}
#sidebar-postArchives li:first-child {
	border-top: 1.5px solid #ddd;
}
#sidebar-postCategories li a,
#sidebar-postArchives li a {
	padding-top: 7px;
	padding-bottom: 7px;	
	padding-left: 15px;
}
#sidebar-postCategories li a {
	background: #E05839;
	color: #ffffff;
	border-radius: 2px;	
	padding-right: 0;	
}
#sidebar-postArchives li a {
	color: #52575B;
	padding-right: 28px;	
}
#sidebar-postCategories li a:active,
#sidebar-postCategories li a:hover,
#sidebar-postCategories li a:focus {
	background: #C04F44;
}
#sidebar-postCategories .badge {
	width: 36px;	
	height: 34.7167px;
	padding: 9px 0px 2px;
	font-size: 1.1em;
	background: #C04F44;
	color: #ffffff;
	border-radius: 0px 2px 2px 0;
	margin-top: -7px;
}

#sidebar-postArchives li a:after {
	content: '\f105';
	font-family: 'fontAwesome';
	font-size: 1.3em;
	position: absolute;
	display: block;
	top: 50%;
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	right: 14px;
}



/* MOBILE */
@media only screen and (max-width:750px) {
	#sidebar-postSearch,
	#sidebar-postArchives {
		display: none;	
	}
	
}

/*BETWEEN MOBILE AND DESKTOP */	
@media (min-width: 768px) and (max-width: 1000px) {
    /*Sidebar - post search */
	#sidebar-postSearch .form-inline {
		background: #008DC7;
		padding: 13px 18px;	
	}
	#sidebar-postSearch .form-control {
		display: inline-block;
	}
	#sidebar-postSearch .form-group {
		display: inline-block;
		width: 79.5%;
		margin-bottom: 0;
	}
	#sidebar-postSearch .btn {
		margin-top: -1px;
		height: 35px;
		padding: 0 15px;
	}
}