.disp-out {
    background: #FF0000;
}

.disp-low {
    background: #FFFF00;
}

.disp-high {
    background: #00FF00;
}


#ado-elenco {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
}

.ado-prezzo {
	font-family: 'Roboto Slab', serif;
	font-size: 20px;
	color: #7c1608;
	line-height: 30px;
	font-weight: bold;
}

.ado-details {
	font-family: 'Open Sans',sans-serif;
	font-weight: 600;
	font-style: italic;
	font-size: 16px;
	color: #5D5D5D;
	line-height: 22px;
	margin: 5px 0;
}

.ado-titolo {
    font-family: 'Open Sans',sans-serif;
	font-weight: 600;
	font-size: 18px;
	color: #333333;
	line-height: 22px;
	margin: 0;
	
}

.ado-editore {
    font-family: 'Open Sans',sans-serif;
    font-weight: normal;
	font-size: 16px;
	color: #5D5D5D;
	letter-spacing: 0;
	line-height: 22px;
	margin: 0;
	padding: 0;
}

.ado-foto {
  flex: 0 0 155px;
  padding: 10px 5px 10px 10px;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#ado-elenco .button.ajax_add_to_cart_button,
#ado-elenco .button.ajax_add_to_cart_button span {
	color: #fff;
	background: #7c1608;
	display: inline-block;
	padding: 5px 10px 5px 10px;
       border-radius: 5px;
}
#ado-elenco .button.ajax_add_to_cart_button:hover,
#ado-elenco .button.ajax_add_to_cart_button span:hover {
	color: #404040;
}
.ado-scheda {
	padding-top: 15px;
	padding-bottom: 15px;
  flex: 1 1 50%;
  margin-bottom: 10px;
  position: relative;
  display: flex;
  align-items: stretch;
}

@media (max-width: 750px) {
	#ado-elenco {
		flex-direction: column;
	}
	
	.ado-scheda {
		flex: 0 1 auto;
		flex-direction: column;
	}
}

.ado-foto img {
	display: block;
	margin: 0;
}

.ado-desc {
  flex: 1 1 auto;
  color: #000;
  padding: 10px 10px 10px 5px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
}

img.ado_capoluogo {
  padding-right: 4px;
  padding-bottom: 0px;
}

.ado_istituti, 
.ado_capoluogo {
    position: relative;
    float: left;
    color: #808080;
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    padding-left: 4px;
    text-decoration: none;
}


a.ado_lst_subcomune, a.ado_lst_subcomune:visited, a.ado_lst_subcomune:link,
a.ado_lst_istituti, a.ado_lst_istituti:visited, a.ado_lst_istituti:link,
a.ado_lst_scuole, a.ado_lst_scuole:visited, a.ado_lst_scuole:link {
border-collapse:separate;
border-spacing:10px 50px;
  font-weight: bold;
  margin: 0;
  padding: 0;
  text-decoration: none;
  display: block;
  float: left;
  height: 32px;
  background: #3498db;
  padding-left: 10px;     
  padding-top: 8px;     
  padding-bottom: 2px;     
  padding-right: 5px;      
  position: relative;
  width: 100%;
  margin-bottom: 2px; 
  margin-left: 2px; 
  font-size: 16px;
  text-decoration: none;
  color: #fff;
  border-top-left-radius: 5px; border-bottom-left-radius: 5px;
  border-top-right-radius: 5px; border-bottom-right-radius: 5px;
}

a.ado_capoluogo:hover,
a.ado_lst_subcomune:hover,
a.ado_lst_istituti:hover,
a.ado_lst_scuole:hover {
  background: #F8BF24;
  color: #000;
  font-weight: bold;
}

/* -------------- */
/* aggiunte       */
/* -------------- */

#adozioni .searchInput {
    display: flex;
    align-items: center;
}

#adozioni .nav-tabs .searchInput {
	display: flex;
	align-items: center;
}
#adozioni .nav-tabs .pull-right {
    float: right !important;
}

#adozioni .searchInput > label {
	margin-right: 10px;
	font-weight: normal;
	font-family: 'Roboto Slab', serif;
	font-size: 16px;
	color: #252525;
}

#adozioni .searchInput > .form-control {
	border-radius: 0;
	border: 1px solid #f0f0f0;
	color: #252525;
	padding: 10px 15px;
}

#adozioni .nav-tabs {
	border-bottom: 1px solid #f0f0f0;
}

#adozioni .nav > li {
    position: relative;
    display: block;
}

#adozioni .nav-tabs > li {
    float: left;
    margin-bottom: -1px;
}
 
#adozioni .nav:after {
	clear: both;
}
 
#adozioni .nav:before, #adozioni .nav:after {
    content: " ";
    display: table;
}
#adozioni .nav-tabs > li > a {
	background: #fafafa;
	color: #252525;
	font-weight: bold;
	border: 1px solid #f0f0f0;
	border-right: 0;
	margin: 0;
	font-family: 'Roboto Slab', serif;
	position: relative;
}

#adozioni .nav-tabs > li.last > a {
	border-right: 1px solid #f0f0f0;
}

#adozioni .nav-tabs > li.active > a {
	background: white;
	border-top: 0;
	border-bottom: 0;
}

#adozioni .nav-tabs > li > a:after {
	content: '';
	display: block;
	width: calc(100% + 2px);
	height: 4px;
	background: white;
	border: 1px solid #f0f0f0;
	border-bottom: 0;
	position: absolute;
	bottom: 100%;
	left: -1px;
}

#adozioni .nav-tabs > li.active > a:before {
	content: '';
	display: block;
	width: 100%;
	height: 1px;
	background: white;
	position: absolute;
	bottom: -2px;
	left: 0;
}

#adozioni .nav-tabs > li > a.active {
    background: #7c1608;
    color: #fff;
    border-top: 0;
    border-bottom: 0;
}

#adozioni .nav-tabs > li > a.active > span {
    display: inline-block;
}

#adozioni .nav-tabs > li > a > span {
	display: none;
	font-weight: normal;
}

#adozioni .lr-elements {
	list-style: none;
	padding: 0;
	margin: 0;
}

#adozioni .lr-elements.small {
	display: flex;
	align-items: center;
}

#adozioni .lr-elements.small .lr-element {
	margin: 2px;
	flex: 0 0 auto;
}
#adozioni .lr-elements.small .lr-element,
#adozioni .lr-elements.small .lr-element a {
	display: inline-block;
}

#adozioni .lr-elements .lr-element {
	margin: 0;
	display: block;
	padding: 5px;
}

#adozioni .lr-elements .lr-element a {
	font-family: 'Roboto Slab', serif;
	font-weight: bold;
	font-size: 18px;
	color: #000000;
	
	padding: 15px;
	text-decoration: none;
	text-transform: uppercase;
	background: #f0f0f0;
	text-align: center;
	display: block;
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,0.1);
	box-shadow: 0 0 5px rgba(0,0,0,0.3);
	
	
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

#adozioni .lr-elements .lr-element a:hover {
	background: #7c1608;
       color: #fff;
	-webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.7);
	box-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

#adozioni .lr-elements .lr-element.first a {
	font-size: 22px;
	padding: 30px;
}

#adozioni .lr-elements .lr-element.first a:hover {
	background: #7c1608;
	color: #fff;	
}

#adozioni .lr-elements .lr-element.txt-left a {text-align: left}

#adozioni .lr-elements .lr-element a .txt-plus {
	display: block;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-style: italic;
	font-size: 15px;
	color: #4A4A4A;
	margin: 10px 0 0 0;
}

#adozioni .lr-elements .lr-element a:hover .txt-plus {
	color: #fff;
}

#adozioni .lr-classe {margin-bottom: 5px;}

#adozioni .lr-classe .lr-classe-title {
	font-family: 'Roboto Slab', serif;
	font-size: 20px;
	color: #000000;
	margin: 40px 0 10px;
}

#adozioni .lr-classe:first-of-type .lr-classe-title {margin-top: 10px;}

#adozioni .lr-classe .lr-sezione {
	display: flex;
	align-items: center;
}

#adozioni .lr-classe .lr-sezione > span {
	margin-right: 10px;
	font-family: 'Roboto Slab', serif;
	font-size: 18px;
	color: #000000;
}

#adozioni .lr-sub-heading {
	font-family: 'Roboto Slab', serif;
	font-size: 16px;
	color: #000000;
	margin-bottom: 20px;
}

@media (max-width: 750px) {
	#adozioni .nav-tabs {
		display: flex;
		flex-direction: column;
		border-bottom: 0;
	}
	#adozioni .nav-tabs > li {margin-bottom: 0;}
	#adozioni .nav-tabs > li > a {
		border-right: 1px solid #f0f0f0;
		border-bottom: 0;
	}

	#adozioni .nav-tabs > li.last > a {
		margin-bottom: 10px;
		border-bottom: 1px solid #f0f0f0;
	}

	#adozioni .nav-tabs > li.active > a {
		border-top: 1px solid #f0f0f0;
		border-bottom: 0;
	}
	#adozioni .nav-tabs > li.active.last > a {
		border-bottom: 1px solid #f0f0f0;
	}


	#adozioni .searchInput {
		margin-bottom: 10px;
	}

	#adozioni .lr-elements .lr-element {
		padding: 0 0 10px;
	}
}