/* SolarVille WordPress theme overrides (loaded after responsive.css). */

/* Header (inline styles of the legacy _HeaderPartial) */
.header-top1 { background-color: #2c3e50; }
#textlogo {
	font-weight: bold;
	font-size: 16px;
	color: #228b22;
	margin-top: -18px;
	text-transform: uppercase;
	text-align: right;
}
.collapse { background-color: #2c3e50; }
.menu ul ul { list-style: none; }

/* Mobile off-canvas menu */
#offcanvas { background: #fff; padding: 15px 20px; box-shadow: -2px 0 10px rgba(0, 0, 0, .2); }
#offcanvas .navbar-nav { float: none; margin: 0; }
#offcanvas .navbar-nav > li { float: none; border-bottom: 1px solid #eee; }
#offcanvas .navbar-nav h3 { font-size: 15px; margin: 10px 0; text-transform: uppercase; }
#offcanvas .navbar-nav h3 a { color: #333; }
#offcanvas .navbar-nav h3 i { float: right; cursor: pointer; }
#offcanvas .navbar-nav h3 i.icon:before { font-family: FontAwesome; content: "\f106"; font-style: normal; }
#offcanvas .navbar-nav h3 i.icon.accordion-show:before { content: "\f107"; }
#offcanvas .navbar-nav ul { list-style: none; padding-left: 15px; }
#offcanvas .navbar-nav ul li a { display: block; padding: 6px 0; color: #4b4b4b; }
.btn-close-canvas { background: none; border: 0; font-size: 20px; float: right; }

/* Footer contact list (same look as .footer_widget_ul in the legacy CSS) */
.footer_widget_contact { margin: 10px 0; clear: both; padding-left: 0; list-style: none; }
.footer_widget_contact li { margin: 7px 0; color: #4b4b4b; }
.footer_widget_contact li i { color: #d00; padding-right: 5px; }
.footer_widget_contact li:first-child i:before {
	color: #fff;
	background: #d00;
	width: 13px;
	text-align: center;
	height: 13px;
	font-size: 8px;
	border-radius: 50%;
	display: inline-block;
	line-height: 15px;
}

/* Back to top button (inline style of the legacy _FooterPartial) */
.back-to-top {
	cursor: pointer;
	position: fixed;
	bottom: 20px;
	right: 20px;
	display: none;
	color: #228b24;
	background-color: #23527c;
	border-color: #fff;
	padding: 0 10px;
	font-size: 12px;
	line-height: 32px;
	border-radius: 50%;
	z-index: 99999;
	box-shadow: 0 5px 10px rgba(0, 0, 0, .25);
	width: 32px;
	height: 32px;
}

/* Home slider (Owl Carousel) */
.home_slider .sv-slide { position: relative; }
.home_slider .sv-slide > img { display: block; width: 100%; height: auto; }
.home_slider .container_content { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.home_slider .container_content .container { position: relative; height: 100%; }
.home_slider .slide_big_title { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-size: 36px; line-height: 1.3; text-transform: uppercase; }
.home_slider .slider-content { position: static; width: auto; min-width: 0; max-width: 520px; padding: 25px; }
.home_slider .sv-slide-desc { font-size: 14px; line-height: 20px; font-weight: normal; margin-top: 8px; }
.home_slider .owl-nav { margin: 0; }
.home_slider .owl-nav .owl-prev,
.home_slider .owl-nav .owl-next {
	position: absolute;
	top: 50%;
	margin-top: -25px;
	width: 40px;
	height: 50px;
	line-height: 46px;
	font-size: 32px;
	text-align: center;
	color: #fff;
	background: rgba(0, 0, 0, .4);
	border-radius: 0;
}
.home_slider .owl-nav .owl-prev { left: 0; }
.home_slider .owl-nav .owl-next { right: 0; }
.home_slider .owl-dots { position: absolute; left: 0; right: 0; bottom: -40px; }
.home_slider .owl-theme .owl-dots .owl-dot.active span,
.home_slider .owl-theme .owl-dots .owl-dot:hover span { background: #c20000; }

/* Front page sections */
.sv-section-title { text-align: center; text-decoration: underline; }
.block_title span { color: inherit; }
.block_top_item .block_title span { font-size: 17px; font-weight: 600; line-height: 36px; }
.block_top_item .fit_thumbnail img { max-height: 100%; width: auto; object-fit: contain; margin: 0 auto; }
/* Unlinked featured block: mirror the legacy ".fit_thumbnail > a" absolute box */
.fit_thumbnail > .sv-thumb-static { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden; text-align: center; }
.sv-round-thumb { border-radius: 100%; width: 70%; left: 18%; }

/* Phones: live (Slider Revolution) keeps a ~2:1 slide (185px at 375px wide) and shows the caption box
   (450px wide, anchored top-left, clipped by the section) instead of hiding it. */
@media (max-width: 767px) {
	.home_slider .sv-slide > img { height: 49.3vw; object-fit: cover; }
	.home_slider .slide_big_title { top: 0; transform: none; font-size: 18px; }
	.home_slider .slider-content { min-width: 450px; max-width: none; padding: 25px; background-color: rgba(0, 0, 0, .4); }
	.home_slider .sv-slide-desc { font-size: 14px; }
}

/* Inner pages */
.sv-list-item { padding: 15px 0; border-bottom: 1px solid #eee; }
.sv-list-thumb { float: left; width: 200px; margin-right: 20px; }
.sv-list-title { margin: 0 0 5px; font-size: 20px; }
.sv-list-title a { color: #126b37; }
.sv-list-date { display: block; margin-bottom: 5px; color: #999; font-size: 12px; }
.sv-job-meta { margin: 10px 0; }
.sv-partners .horizontal_slider .item img { width: auto; max-width: 100%; margin: 0 auto; }
.nav-links { margin: 20px 0; }
.nav-links .page-numbers { display: inline-block; padding: 4px 10px; margin-right: 4px; border: 1px solid #ddd; }
.nav-links .page-numbers.current { background: #126b37; color: #fff; border-color: #126b37; }
.screen-reader-text { position: absolute; clip: rect(1px, 1px, 1px, 1px); height: 1px; width: 1px; overflow: hidden; }
@media (max-width: 767px) {
	.sv-list-thumb { float: none; width: 100%; margin: 0 0 10px; }
}
