/*	################################################################

	CUSTOM STYLES
	
	1) BOOTSTRAP OVERRIDES
	2) STYLE.CSS OVERRIDES
	3) FHMM.CSS OVERRIDES
	4) COLORS/CUSTOM.CSS OVERRIDES AND ADDONS
	5) ZOOMBOX.CSS OVERRIDES
	6) CUSTOM RULES
	7) MEDIA QUERIES

################################################################# */  

/* 1. BOOTSTRAP OVERRIDES
================================================== */
.form-control:focus {
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(153,73,85, .4);
          box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(153,73,85, .4);
}
.icon-fixed-width[class^="icon-"], .icon-fixed-width[class*=" icon-"] {
    display: inline-block;
    width: 1.14286em;
    text-align: right;
    padding-right: 0.285714em;
}
.accordion-group {
    margin-bottom: 10px;
    border: none;
    border-radius: 2px;
}
.accordion-inner {
    padding: 9px 15px;
    border-top: none;
}
.accordion-group .icon-plus:before {
	font-family:'FontAwesome';
	content: "\f067";
	font-style: normal;
}
.accordion-group .icon-minus:before {
	font-family:'FontAwesome';
	content: "\f068";
	font-style: normal;
}


/* 2. STYLE.CSS OVERRIDES
================================================== */
.colon2, .colon3 {
    padding: 40px 0px;
}
.dm-social {
	float: left;
}
.tagline {
	float: right;
}
.header-wrapper {
	padding-bottom:10px;
}
.dropdown-menu > li > a {
	font-size:13px;
}
.fhmm #search-form i {
	color:#777;
}
.image-container-fixed {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.image-container-fixeda, 
.image-container-fixed img {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
    border: medium none;
    outline: medium none;
    display: block;
    position: relative;
    width: 100%;
}
.image-container .play {
	background:url(/_mini_rica/assets/images/_icon_play.png) no-repeat center;
	background-size: 70px;
	position:absolute;
	top:20px;
	left:20px;
	bottom:20px;
	right:20px;
}
.zoombox-maincon .holder-con > .holder-text {
	font-size:11px;
}
.login-form h3, .register-form h3 {
    padding-bottom: 0;
	margin-bottom:15px;
	padding-left:0;
}
.buddy-group-blocks > figure > figcaption {
	width:auto;
}
.accordion-heading .accordion-toggle {
    font-size:14px;
}
#sidebar input[type="checkbox"],
#sidebar input[type="radio"] {
    float: none;
    margin-bottom: 0px;
    height: auto;
    padding-left: 0x !important;
    width: auto;
}
.buddy-members {
    z-index: 999;
}
.singleheader {
    background-image: url("/_mini_rica/assets/images/_02_slider.png");
}
.colon11 {
    background-image: url("/_mini_rica/assets/images/_03_slider.png");
}
.partner {
    text-align: center;
    border:1px solid #c6c6c4;
    padding:15px;
}
.partner h3 {
    margin: 5px 0 0 0;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 600;
    text-decoration: none;
}

/* 3. FHMM.CSS OVERRIDES
================================================== */
.fhmm #search-form .form-control {
	margin-top:0;
}
.fhmm #search-form .btn {
	margin:0;
}

/* 4. COLORS/CUSTOM.CSS OVERRIDES AND ADDONS
================================================== */

.topbar {
    border-top-color: #800000;
}
.small_thin_bordeaux {
    background-color: #800000 !important;
}
a {
    color: #800000;
}
.single-title h3 {
    background-color: #800000 !important;
}
.btn-primary {
    background-color: #800000 !important;
}
a.list-group-item.active, .nav.open > a, .nav.open > a:hover, .nav.open > a:focus, a.list-group-item.active, .panel-primary .panel-heading, 
.og-details a, a.thumbnail:hover, a.thumbnail:focus, .typeahead:focus, .dm-product .dm-product:hover, 
.dm-sidebar-nav li.active_item > a, .dm-sidebar-nav li a:hover, .timeline .event::after, .team-box img, .form-control:focus {
  border-color: #800000;
}
#videoslide .tabs ul li.active,
#videoslide .tabs ul li:hover,
.topbar2,
.topbar3,
.timeline .event .month,
.btn-primary,
mark,
.carousel.thumbnail .carousel-control,
.single-title h3,
.onsale,
.image-container .more a,
.big-message h2 span,
.icn-container,
.tagcloud a,
.portfolio-filter li .btn.active:hover, .portfolio-filter li .btn.active,
a.list-group-item.active,
.nav-tabs.nav-stacked > li > a:hover,
.nav-tabs.nav-stacked > li > a:focus,
.nav-tabs.nav-stacked > .active > a,
.nav-tabs.nav-stacked > .active > a:hover,
.nav-tabs.nav-stacked > .active > a:focus,
.nav.open > a,
.nav.open > a:hover,
.nav.open > a:focus,
a.list-group-item.active,
.panel-primary .panel-heading,
.nav-list > .active > a,
.nav-list > .active > a:hover,
.nav-list > .active > a:focus,
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus,
.pager li > a:hover,
.pager li > a:focus,
.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a,
.pagination > .active > span,
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active,
.sb-icon-search,
.mightyslider_carouselSimple_skin ul.pages li.active,
.mightyslider_carouselSimple_skin .mSClose:hover,
.mightyslider_carouselSimple_skin ul.pages li.active,
.mightyslider_carouselSimple_skin .mSButtons:hover,
.mightyslider_carouselSimple_skin .mSButtons:active,
.tp-leftarrow.default, .tp-rightarrow.default,
.tp-caption.lightgrey_divider,
.tp-caption.small_thin_grey,
.message h2 span,
.colon6,
.dmtop,
.image-container .zoom,
.tp-caption.medium_bg_red,
.accordion-toggle em,
.progress-bar-primary,
.service-box i {
    background-color:#800000 !important;
}
.nav .caret, .nav a:hover .caret {
  border-top-color: #800000;
  border-bottom-color: #800000;
}
.navbar-inverse .dropdown-menu > li > a:hover,
.navbar-inverse .dropdown-menu > li > a:focus,
.nav > li > a:hover,
.nav > li > a:focus,
a,
.dm-product .dm-product .dm-overlay a,
.team-box span,
a.readmore,
#countdown span,
.tt-suggestion.tt-is-under-cursor
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus,
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
a.list-group-item.active > .badge,
.nav-pills > .active > a > .badge,
.text-primary,
.product-content .price-new,
.btn-link,
.btn-link:hover,
.btn-link:focus,
.check li:before,
.required,
.sitemap li:before,
.jetmenu > li:hover a .indicator,
a.textLogo > span,
.box i,
.stat-count,
.dm-pricing-table .dm-pricing-header h5,
.flex-caption h2,
.jetmenu li > .megamenu h5,
.tp-caption.large_bold_grey span,
.jetmenu li > .megamenu a:hover {
    color:#800000;
}

#wrapper {
	background:#fff;
}
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus{
	border-color: #800000;
}
.navbar-nav > li > a:hover,
.navbar-nav > li > a:active,
.navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .dropdown > a:hover .caret,
.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:hover, 
.navbar-default .navbar-nav > .active > a:focus{
	border-top-color: #800000;
}
.colon8 {
	background:#800000 !important;
}
.dm-sidebar-nav li.active_item > a {
	color:#800000 !important;
}
.dm-sidebar-nav li.active_path > a {
	color:#800000 !important;
}
.widget.list_button .btn-default:hover, 
.widget.list_button .btn-default:focus, 
.widget.list_button .btn-default:active, 
.widget.list_button .btn-default.active, 
.widget.list_button .open .dropdown-toggle.btn-default {
    color: #FFF;
    background-color: #800000;
}
.product-content .price-new {
    font-size: 18px;
}
.pagination > .active > a, 
.pagination > .active > a:focus, 
.pagination > .active > a:hover, 
.pagination > .active > span, 
.pagination > .active > span:focus, 
.pagination > .active > span:hover {
	border-color: #2a2a2a;   
}
.pagination > li > a, 
.pagination > li > span {
	color:#800000;
}
.pagination > li > a:hover,
.pagination > li > a:focus {
	color: white;
}
table.searchresults a {
	color:#444;
}
table.searchresults a:hover,
table.searchresults a:focus  {
	color:#800000;
}
.webdirectory-nav i.disabled {
	color:#cecece;
}
.webdirectory-nav a i {
	color:#444;
}
.webdirectory-nav a:hover i {
	color:#800000;
}
.modal .form-group, 
.webdirectory_modal .form-group {
    margin-bottom: 5px;
}
.popup .general {
	padding: 10px;
}
.popup .header-wrapper .container {
	width:100%;
	padding:0;
}
.accordion-heading a.accordion-toggle {
	color:#800000;
}
.team-box h3, .custom-box h3 {
    line-height: 1.2;
}
.tp-caption .btn-default,
.tp-caption .btn-default:hover {
	color: #FFF;
    background-color: #800000;
}

/* 5. ZOOMBOX.CSS OVERRIDES
================================================== */
/*there seems to be no option to disable social icons, so we hide it here*/
.zoombox-maincon .social-options-con {
  display: none; 
}
/* 5. ZOOMBOX.CSS OVERRIDES
================================================== */
/*there seems to be no option to disable social icons, so we hide it here*/
.zoombox-maincon .social-options-con {
  display: none; 
}
/*the following comes from the old zoombox.css. With the updated version, there's no thumbs styling'*/
/* ==== thumb styling */
.thumb-gamma {
  border: 10px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  display: inline-block;
  margin: 3px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  /* Firefox */
  -webkit-box-sizing: border-box;
  /* Safari */ }

.cimage-fullwidth img:first-child {
  width: 100%; }

.thumb-title {
  text-align: center; }

.thumb-subtitle {
  text-align: center;
  margin-top: 2px;
  opacity: 0.5;
  margin-bottom: 7px; }

.no-animation {
  transition-duration: 0s !important;
  -moz-transition-duration: 0s !important;
  -webkit-transition-duration: 0s !important;
  -o-transition-duration: 0s !important;
  -ms-transition-duration: 0s !important; }

.effect-justopacity > img:first-child {
  transition-property: opacity;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  -moz-transition-property: opacity;
  -moz-transition-duration: 0.3s;
  -moz-transition-timing-function: ease-out;
  -webkit-transition-property: opacity;
  -webkit-transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  -o-transition-property: opacity;
  -o-transition-duration: 0.3s;
  -o-transition-timing-function: ease-out;
  -ms-transition-property: opacity;
  -ms-transition-duration: 0.3s;
  -ms-transition-timing-function: ease-out; }

.effect-justopacity:hover > img:first-child {
  opacity: 0.7; }

.effect-icona {
  position: relative;
  display: block; }

.effect-icona > img {
  transition-property: opacity, transform;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  -moz-transition-property: opacity, transform;
  -moz-transition-duration: 0.3s;
  -moz-transition-timing-function: ease-out;
  -webkit-transition-property: opacity, transform;
  -webkit-transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  -o-transition-property: opacity, transform;
  -o-transition-duration: 0.3s;
  -o-transition-timing-function: ease-out;
  -ms-transition-property: opacity, transform;
  -ms-transition-duration: 0.3s;
  -ms-transition-timing-function: ease-out; }

.effect-icona:hover > img {
  opacity: 0.8; }

.effect-icona .zoomcon-enlarge {
  background-color: rgba(181, 67, 33, 0.7);
  width: 55px;
  height: 55px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -27.5px;
  margin-top: -27.5px;
  border-radius: 50%;
  background-size: cover;
  display: block;
  background-position: center center;
  background-image: url(img/icon-enlarge.png);
  transform: rotate(30deg) scale(0.5);
  -ms-transform: rotate(30deg) scale(0.5);
  /* IE 9 */
  -webkit-transform: rotate(30deg) scale(0.5);
  /* Safari and Chrome */
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  -moz-transition-property: opacity, transform;
  -moz-transition-duration: 0.3s;
  -moz-transition-timing-function: ease-out;
  -webkit-transition-property: opacity, transform;
  -webkit-transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  -o-transition-property: opacity, transform;
  -o-transition-duration: 0.3s;
  -o-transition-timing-function: ease-out;
  -ms-transition-property: opacity, transform;
  -ms-transition-duration: 0.3s;
  -ms-transition-timing-function: ease-out; }

.effect-icona:hover > div.zoomcon-enlarge {
  transform: rotate(0) scale(1);
  -ms-transform: rotate(0deg) scale(1);
  /* IE 9 */
  -webkit-transform: rotate(0deg) scale(1);
  /* Safari and Chrome */
  opacity: 0.8; }

.effect-icona.for-playbtn .zoomcon-enlarge {
  transform: rotate(0deg) scale(0.5);
  -ms-transform: rotate(0deg) scale(0.5);
  /* IE 9 */
  -webkit-transform: rotate(0deg) scale(0.5);
  /* Safari and Chrome */
  background-image: url(img/icon-playbtn.png); }

/* 6. CUSTOM RULES
================================================== */
body {
	background:#1a1a1a;
}
a {
	cursor:default;
	text-decoartion:none;
}
a:link {
	cursor:pointer;
}

.margin_left {
    margin-left: 2em;
}
.data_float_left {
    float:left;
}

#frmSchemaSearch h4 {
  color: #800000 !important;
}

ul.headertop-menu {
	float:right; 
	list-style:none; 
	margin-top:1px; 
	margin-bottom:0; 
	padding-left:0;
	font-size:12px;
}
ul.headertop-menu li {
	float:left; 
	list-style:none; 
	padding:0 10px; 
	border-right:1px solid #ddd;
}
ul.headertop-menu li:last-child {
	border-right:0 solid #000
}
ul.headertop-menu li a {
	color: #777;
}
ul.headertop-menu li a:hover {
	color:#800000;
}
ul.headertop-menu li .btn-fake-li {
	margin:0;
	padding:0;
	border:0;
	background:none;
	color: #777;
}
ul.headertop-menu li .btn-fake-li:hover {
	color:#800000;
	text-decoration:underline;
}
/* for dropdown purpose*/
.topbar ul.headertop-menu>li.dropdown>a {
	cursor: pointer;
}
.topbar ul.headertop-menu>li.dropdown>a:hover {
	text-decoration:none;
}
.topbar ul.headertop-menu>li.dropdown>a:after {
	content:"\f107";
	margin-left:6px;
	font-family:"FontAwesome";
	position:relative;
	float:right
}
.topbar ul.headertop-menu>li>a>i {
	margin-right:6px
}
.topbar ul.headertop-menu>li ul.sub-menu {
	display:none;
	min-width:160px;
	position:absolute;
	right:-1px;
	z-index:1500;
	margin:0;
	padding:0;
	list-style:none;
	background:#fff;
	border:1px solid #eee;
	opacity:0;
	-moz-opacity:0;
	filter:alpha(opacity=0);
	-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);
	-moz-box-shadow:0 6px 12px rgba(0,0,0,0.175);
	box-shadow:0 6px 12px rgba(0,0,0,0.175);
	-webkit-transition:all .2s ease-in-out;
	-moz-transition:all .2s ease-in-out;
	-o-transition:all .2s ease-in-out;
	transition:all .2s ease-in-out
}
.topbar ul.headertop-menu>li:hover ul.sub-menu {
	opacity:1;
	display:block
}
.topbar ul.headertop-menu>li ul.sub-menu>li {
	border-bottom:1px solid #eee;
	width:100%;
}
.topbar ul.headertop-menu>li ul.sub-menu>li:last-child {
	border:0
}
.topbar ul.headertop-menu>li ul.sub-menu>li>a {
	display:block;
	padding:0 0 0 5px;
	text-decoration:none;
	width:100%;
}
.topbar ul.headertop-menu>li ul.sub-menu>li>.language-active {
	display:block;
	padding:0 0 0 5px;
	background:#f8f8f8;
	cursor:default
}
.topbar ul.headertop-menu>li.dropdown:hover .sub-menu {
	display:block
}
/**/
.social-ul {
	overflow: hidden;
	height: 100%;
	line-height: 37px;
}
.social-ul ul {
	padding:0;
	margin:0;
}
.social-ul li,
.social-ul li a {
	float: left;
	list-style: none;
}

.social-ul li a {
	color:#777;
	height: 38px;
	width: 35px;
	font-size: 15px;
	text-align: center;
	border-right: 1px solid #eae9e9;
	-webkit-transition: background 0.1s ease-in-out;
	-moz-transition: background 0.1s ease-in-out;
	transition: background 0.1s ease-in-out;
}
.social-ul li a:hover {
	color: #fff !important;
}
.social-ul li:first-child a {
	border-left: 1px solid #eae9e9;
}
.social-ul li.social-facebook a:hover,.social-ul-2 li.social-facebook a {
	background-color: #5d82d1;
}

.social-ul li.social-twitter a:hover,.social-ul-2 li.social-twitter a {
	background-color: #40bff5;
}

.social-ul li.social-google a:hover,.social-ul-2 li.social-google a {
	background-color: #eb5e4c;
}

.social-ul li.social-pinterest a:hover,.social-ul-2 li.social-pinterest a {
	background-color: #e13138;
}

.social-ul li.social-vimeo a:hover,.social-ul-2 li.social-vimeo a {
	background-color: #35c6ea;
}

.social-ul li.social-linkedin a:hover,.social-ul-2 li.social-linkedin a {
	background-color: #238cc8;
}

.social-ul li.social-dribbble a:hover,.social-ul-2 li.social-dribbble a {
	background-color: #f7659c;
}

.social-ul li.social-youtube a:hover,.social-ul-2 li.social-youtube a {
	background-color: #ef4e41;
}

.social-ul li.social-rss a:hover,.social-ul-2 li.social-rss a {
	background-color: #faa33d;
}

.social-ul.social-ul-2 li a:hover {
	background-color: #171717;
}
ul.recent-posts li {
	margin-bottom:10px;
} 
ul.recent-posts li .recent-posts-img {
	height:auto;
}
ul.recent-posts .post-info {
	font-size:11px;
}
.colon8 .general-title span {color:#ffffff;padding-left: 0;}
.colon8 .widget {padding:15px 10px}
.colon8 .general-title span,
.colon8 .general-title {background-color:#800000;}

.breadcrumb {
	padding-top: 0;
}
.breadcrumb > .active,
.breadcrumb a,
.breadcrumb > li + li:before {
	font-size: 12px;
}
.breadcrumb a {
	font-style: normal;
}
.breadcrumb > li + li:before {
	color:#777;
}
.dm-sidebar-nav li a {
	display:inline-block;
	width:100%; 
}
.dm-sidebar-nav li.thirdLev a {
	padding-left:30px !important;
}
.dm-sidebar-nav li.fourthLev a {
	padding-left:60px !important;
}
.dm-sidebar-nav li.otherLev a {
	padding-left:90px !important;
}
.widget.list ul {
	font-size:13px;
}
.widget.list ul li {
	margin:0;
	padding: 0 0 5px 15px;
	list-style:none;
	background: transparent url(/_mini__utils_2.0/assets/images/li.png) 0 10px no-repeat;
}
.widget.list ul li.secondLev {
	margin-left: 15px;
	background: transparent url(/_mini__utils_2.0/assets/images/li.png) 0 10px no-repeat;
}
.widget.list ul li a:hover {
	text-decoration:underline;
}
.widget.list ul li span .fa {
	padding-right:5px;
}
.widget.list_button ul {
	font-size:13px;
}
.widget.list_button ul li {
	list-style:none;
	margin-top:10px;
}
.widget.list_button ul li:first-child {
	margin-top:0;
}
.widget.list_button ul li a.btn {
	text-align:left;
	transition: all 0.3s linear 0s;
	white-space: pre-wrap; 
}
.widget .heading {
	background: url(/_mini__utils_2.0/assets/images/title.gif) repeat-x scroll 0 7px #FFFFFF;
	font-size: 16px;
	font-weight: 600;
	margin-bottom:20px;
	line-height:19px;
	letter-spacing:0.5px;
	color: #121214;
}
.widget .heading span {
	background:#FFFFFF;
	padding-right: 10px;
}
.table caption {
	display:none;
}
.login-form p, .register-form p {
    padding-left: 15px;
}
.sidebar-left .widget.list {
	padding: 0px 0px 30px 0px;
    margin-bottom: 10px;
    overflow: hidden;
    display: block;
    position: relative;
}
.sidebar-left .widget.list ul {
	padding-left:10px;
}
.sidebar-left .widget.list ul li a img {
	padding-right:10px;
}

dl dt {
	margin-top:10px;
	padding-top:10px;
	border-top:1px solid #EDEDED;
	font-weight:normal;
}
dl dt:first-child {
	margin-top:0; 
}
dl dt .list-img {
	float:left;
	max-width:100px;
}
dl dt .list-content {
	width:auto;
    bottom: 0px;
    box-sizing: border-box;
    display: block;
    padding: 0px 0px 10px;
    position: relative;
    font-size: 15px;
    overflow: hidden;
	left: 10px;
	width:auto;
}
table.searchresults img {
    border: 5px solid #FFF;
    display: block;
    margin: 5px;
    opacity: 1;
	box-shadow: 2px 2px 7px 0px #EFEFEF;
	position: relative;
    top: 0px;
    transition: all 0.6s ease-in-out 0s;
}
table.searchresults img:hover {
    top: -10px;
    cursor: pointer;
}
table.searchresults img:hover {
    opacity: 0.6;
}
.search_info {
	margin-bottom:10px;
}
.footer-wrapper .social-ul li a {
	border:none;
}
.iframe-wrapper {
	width:100%;
	background:url(/_mini_rica/assets/images/_01_slider.png) 0 0 no-repeat;
}
.iframe-container {
	width: 100%; 
	height: 480px;
}
.iframe {
	border: none;
	width: 100%; 
	height: 100%;
}
.extsearch_home h2,
#registration h2 {
    font-size:28px;
	margin: 20px 0px;
}
.extsearch_home .form-inline .form-control {
    width: 100px;
}
.extsearch_home .custom-box form {
    text-align: left;
}
.form-horizontal .realperson-challenge {
    float: left;
	margin: 14px 0px;
    width: 50%;
}
.form-horizontal input#captcha {
    float: left;
    width: 50%;
    margin-top: 10px;
}
.custom-bg {
	background: white url("/_mini_rica/assets/images/_logo_bg_leaves.png") center top no-repeat;
	background-size: 100%;
	padding-top:20px;
}



/* 7. MEDIA QUERIES
================================================== */
/* ========= Extra small devices (phones, less than 768px) ========= */
ul.headertop-menu li img {
	max-height:16px;
}
.header-wrapper .header-left img {
	width:220px;
	padding-top:10px;
}
.header-wrapper .header-right .header-right-top {
	position:absolute;
	top:0;
	right:20px;
}
.header-wrapper .header-right .header-right-top img {
	width:100px;
}
.header-wrapper .header-right .header-right-bottom {
	
	text-transform:uppercase;
	text-align:right;
	line-height:16px;
}
.iframe-wrapper .container {
	display:none;
}
.gallery-box-show .custom-gallery-item {
	height:auto;
	overflow:hidden;
	border: 10px solid rgba(255, 255, 255, 0.25);
	box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
	margin-bottom:10px;
	overflow:hidden;
}
.gallery-box-show .custom-gallery-item .thumb-gamma {
	border: 0;
	box-shadow: 0;
	width:100%;
}
.cimage-fullwidth .custom-gallery-item .thumb-gamma {
	margin:0;
	margin-bottom:10px;
}
.buddy-members img.avatar {
    float: none;
}
.shop .shop-news .buddy-members img.avatar {
	width:auto;
}
/* ========== Small devices (tablets, 768px and up) ========= */
@media(min-width:768px){
	.header-wrapper .header-left img {
		width:300px;
		padding-top:0px;
	}
	.header-wrapper .header-right .header-right-top {
		right:30px;
	}
	.header-wrapper .header-right .header-right-top img {
		width:auto;
	}
	.header-wrapper .header-right .header-right-bottom {
		position:absolute;
		bottom:0;
		right:30px;
		font-size:18px;
		line-height:22px;
	}
	.iframe-wrapper .container {
		display:block;
	}
	.gallery-box-show li {
		margin-bottom:0;
	}
	.gallery-box-show .custom-gallery-item {
		height:140px;
		margin-bottom:0;
		border:0px;
	}
	.gallery-box-show .custom-gallery-item .thumb-gamma {
		width:auto; 
	}
	.cimage-fullwidth .custom-gallery-item .thumb-gamma {
		margin:0;
	}
	.custom-gallery-container .custom-gallery-item {
		height:120px;
		overflow:hidden;
		border: 10px solid rgba(255, 255, 255, 0.25);
		box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
		margin-bottom:10px;
		overflow:hidden;
	}
	.custom-gallery-container .custom-gallery-item .thumb-gamma {
		border: 0;
		box-shadow: 0;
/*		max-height:120px;*/
	}
	.image-container-fixed {
		position:relative;
		text-align: center;
		background: black;
		height:200px;
	}
	.image-container-fixed img {
		width:auto;
		max-width:none;
		height:auto;
		min-height:200px;
	}
	.image-container-fixed a,
	.image-container-fixed img {
		display: inline-block;
	}
	.custom-bg {
		padding-top:30px;
	}
	ul.headertop-menu {
		clear:both;
		line-height: 37px;
	}
        .newsBoxHeight {min-height: 380px;}
}
/* ========= Medium devices (desktops, 992px and up) ========= */
@media(min-width:992px){ 
	ul.headertop-menu li img {
		max-height:25px;
	}
	.header-wrapper .header-right .header-right-bottom {
		font-size:24px;
	}
	.gallery-box-show .custom-gallery-item {
		height:70px;
	}
	.buddy-members img.avatar {
		max-width:150px;
		float: left;
	}
	.shop .shop-news .buddy-members img.avatar {
		width:auto;
		max-width:386px;
		float: left;
	}
	.custom-bg {
		padding-top:70px;
	}
        .newsBoxHeight {min-height: 380px;}
}
/* ========= Large devices (large desktops, 1200px and up) ========= */
@media(min-width:1200px){ 
	.custom-gallery-container .custom-gallery-item {
		height:144px;
	}
/*	.custom-gallery-item .thumb-gamma {
		max-height:144px;
	}*/
    .newsBoxHeight {min-height: 380px;}
}

/* CSS CUSTOM DBOH */

div.endSmall {clear:both;font-size:0.1em;line-height:0.2em;}
div.end {clear:both;font-size:0.1em;line-height:0.2em;}

/* EXTENDEDSEARCH FOTOTECA
--------------------------------*/
.fototeca .tab_content {padding:0;margin:0;}
.fototeca .tab_content span.item {position:relative;display:block;width:32%;float:left;margin:0 1% 1em 0;padding:0.5em;background:#f9f9f9;text-decoration: none;} 
.fototeca .tab_content a:hover span.item {background:#FCF1E7;}
.fototeca .tab_content span.item span.image {display:block;text-align: center;}
.fototeca .tab_content span.item span.info {display:block;font-size:80%;}
.fototeca .tab_content span.item span.info span.row {display:block;padding:0.3em 0 0 0;}
.fototeca .rel_size {height:8em;padding:2px;border:1px solid #e4e3ce;}
.fototeca .enlarge {text-align:right;}

/* EXTENDEDSEARCH BIBLIOGRAFIA
--------------------------------*/
.bibliografia .tab_content {padding:0;margin:0;}
.bibliografia .tab_content span.row {margin: 0 !important;}
.bibliografia .tab_content span.item {position:relative;display:block;width:97%;float:left;margin:0 0 1em 0;padding:0.5em 0;background:transparent;text-decoration: none;} 
.bibliografia .tab_content a {color: #444 !important;}
.bibliografia .tab_content a:hover {color: #800000 !important;}
.bibliografia .tab_content a:hover span.item {background:#f9f9f9;}
.bibliografia .tab_content span.item span.image {display:block;text-align: center;}
.bibliografia .tab_content span.item span.info {display:block;font-size:80%;}
.bibliografia .tab_content span.item span.info span.row {display:block;padding:0.3em 0 0 0;}