/*
Theme Name: Loistoauto
Theme URI: https://www.loistoauto.fi
Description: Child theme built for Loistoauto
Author: Servoteko Oy
Author URI: http://www.servoteko.fi/
Template: toolset-starter
Version: 1.2
*/

/* Sininen: #0d66ad */

/* Fonts */


/* General Styles */

body {
	padding-top: 62px;
	font-family: 'Cabin', sans-serif;
	font-size: 16px;
	line-height: 1.42857;
	color: #000;
	letter-spacing: 0.04em;
	background-color: #fff;
	font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Cabin', sans-serif;
	color: #000;
	margin-top: 20px;
	margin-bottom: 10px;
	letter-spacing: 0em;
	font-weight: 700;
}

a {
	color: #0d66ad;
}

a:hover, a:focus {
	color: #0d66ad;
	text-decoration: underline;
}

.content-960 {
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
	background: #FFF;
	border: solid 1px #CCC;
	border-radius: 6px;
	padding: 15px;
}

.content-960-bg {
	background: #f8f9f9;
	padding: 40px 5px 40px 5px;
}

.content-element {
	background: #FFF;
	border: solid 1px #0d66ad;
	border-radius: 6px;
	padding: 15px;
}

.content-element-nopad {
	background: #FFF;
	border: solid 1px #0d66ad;
	border-radius: 6px;
}

.content-element ul {
	padding-left: 1.5em;
	font-size: 14px;
}

.content-bg {
	background: #f8f9f9;
}

/* Helper Classes */

.clear {
	clear: both;
}

.no-margin {
	margin-left: 0;
	margin-right: 0;
}

.double-gutter {
	padding-left: 30px;
	padding-right: 30px;
}

.no-gutter {
	padding-left: 0;
	padding-right: 0;
}

.small-gutter {
	padding-left: 5px;
	padding-right: 5px;
}

.tm5 {margin-top: 5px;}
.tm10 {margin-top: 10px;}
.tm15 {margin-top: 15px;}
.tm20 {margin-top: 20px;}
.tm30 {margin-top: 30px;}
.tm40 {margin-top: 40px;}
.tm50 {margin-top: 50px;}
.tm60 {margin-top: 60px;}
.tm70 {margin-top: 70px;}
.tm80 {margin-top: 80px;}
.tm90 {margin-top: 90px;}
.tm100 {margin-top: 100px;}

.bm5 {margin-bottom: 5px;}
.bm10 {margin-bottom: 10px;}
.bm15 {margin-bottom: 15px;}
.bm20 {margin-bottom: 20px;}
.bm30 {margin-bottom: 30px;}
.bm40 {margin-bottom: 40px;}
.bm50 {margin-bottom: 50px;}
.bm60 {margin-bottom: 60px;}
.bm70 {margin-bottom: 70px;}
.bm80 {margin-bottom: 80px;}
.bm90 {margin-bottom: 90px;}
.bm100 {margin-bottom: 100px;}

.tp5 {padding-top: 5px;}
.tp10 {padding-top: 10px;}
.tp15 {padding-top: 15px;}
.tp20 {padding-top: 20px;}
.tp30 {padding-top: 30px;}
.tp40 {padding-top: 40px;}
.tp50 {padding-top: 50px;}
.tp60 {padding-top: 60px;}
.tp70 {padding-top: 70px;}
.tp80 {padding-top: 80px;}
.tp90 {padding-top: 90px;}
.tp100 {padding-top: 100px;}

.bp5 {padding-bottom: 5px;}
.bp10 {padding-bottom: 10px;}
.bp15 {padding-bottom: 15px;}
.bp20 {padding-bottom: 20px;}
.bp30 {padding-bottom: 30px;}
.bp40 {padding-bottom: 40px;}
.bp50 {padding-bottom: 50px;}
.bp60 {padding-bottom: 60px;}
.bp70 {padding-bottom: 70px;}
.bp80 {padding-bottom: 80px;}
.bp90 {padding-bottom: 90px;}
.bp100 {padding-bottom: 100px;}

.text-blue {
	color: #0d66ad;
}

.text-blue a {
	color: #0d66ad;
}

.text-grey {
	color: #666;
}

.text-bold {
	font-weight: 700;
}

.text-italic {
	font-style: italic;
}

.text-large {
	font-size: 24px;
}

.text-large p {
	line-height: 1.6;
	margin: 0 0 20px;
}

.text-small {
	font-weight: 300;
	font-size: 13px;
}

a.link-white {
	color: #FFF;
}

.hide {
	display: none;
}

.single-line {
	white-space: nowrap;
}

.bg-position {
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-repeat: no-repeat;
	background-position-x: 50% !important;
	background-position-y: 50% !important;
}

.img-rounded {
	border-radius: 4px;
}

/* Header & Navbar */

#header-container {
}

.navbar {
	margin-bottom: 0px;
	background: #fff;
	height: 62px;
	border-bottom: solid 1px #f1f1f1;
}

.navbar-brand {
	float: left;
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
	color: #FFF;
	height: auto;
	margin-top: 1px;
	padding: 0;
}

.navbar-brand:hover {
	color: #FFF;
}

.navbar-brand-logo {
	padding: 0;;
}

.navbar-logo {
	margin: 18px 10px 10px 10px;
	max-width: 386px;
}

.navbar-tagline {
	position: absolute;
	top: 41px;
	font-style: italic;
	font-size: 11px;
	font-weight: 400;
}

.navbar-right {
	margin-top: 9px;
	text-align: center;
	text-transform: uppercase;
}

.navbar-toggle {
	margin-top: 4px;
	margin-right: 10px;
	color: #0d66ad;
}

.nav>li>a {
    position: relative;
    display: block;
    padding: 5px 13px 5px 13px !important;
    color: #0d66ad;
	margin: 5px 4px;
	border-radius: 0;
    border: none;
    font-size: 13px !important;
    font-weight: 700;
    background: #fff;
	border: solid 1px #fff;
	border-radius: 25px;
    /* box-sizing: border-box; */
}

.nav>li>a:hover, .nav>li>a:focus {
	color: #fff;
	background: #0d66ad;
}

/* Buttons */

.btn-primary {
	color: #fff;
	background-color: #0d66ad;
	border-color: #0d66ad;
	border-radius: 4px;
}

.btn-primary:hover, .btn-primary:focus {
	color: #0d66ad;
	background-color: #f1f1f1;
	border-color: #0d66ad;;
}

/* Front Page Slider */

.fp-slider-container {
	position: relative;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

.fp-slider-layer {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.2);
}

.fp-slider-content {
	max-width: 960px;
	position: relative;
	top: 30%;
	margin: 0 auto;
	padding: 15px;
	/*background: rgba(255, 255, 255, 0.9);*/
}

h1.fp-slider-title {
	display: inline-block;
	padding: 0;
	font-size: 55px;
	color: #FFF;
	margin-bottom: 15px;
	text-transform: uppercase;
	text-shadow: 2px 1px 4px rgba(0,0,0,0.6);
}

p.fp-slider-caption {
	display: inline-block;
	padding: 0;
	font-size: 22px;
	color: #FFF;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
	font-weight: 700;
}

.btn-fp-slider {
	background-color: #fff;
	color: #0d66ad;
	border-radius: 25px;
	display: inline-block;
	margin-top: 10px;
	margin-right: 10px;
}

.btn-fp-slider-2nd {
	background-color: #fff;
	color: #0d66ad;
	border-radius: 25px;
	display: inline-block;
	margin-top: 10px;
}

.btn-fp-slider:hover, .btn-fp-slider:focus, .btn-fp-slider-2nd:hover, .btn-fp-slider-2nd:focus {
	background-color: #f1f1f1;
	color: #fff;
}

.slider-pagination {
	color: #FFF;
	position: absolute;
	top: 0;
	right: 20px;
	background: none;
	border: none;
	font-weight: 700;
}

.pagination>li>a, .pagination>li>span {
    color: #FFF;
    background-color: #fff;
    border: none;
	margin-right: 1px;
	margin-left: 1px;
}

/* Front Page Sections */

.fp-section {
	padding-top: 60px;
	padding-bottom: 60px;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

.section-title {
	margin-top: 0px;
	margin-bottom: 40px;
}

.panel-default > .panel-heading {
	height: 75px;
	background-color: #0d66ad !important;
	color: #FFF !important;
	font-weight: 700;
	text-align: center;
	overflow: hidden;
	text-overflow: ellipsis;
	border-top-right-radius: 6px;
    border-top-left-radius: 6px;
}

.panel-default > .panel-footer {
    padding: 15px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
}

.panel {
	margin-bottom: 30px;
	border-radius: 6px;
}

.panel-default > .panel-body {
	font-weight: 300;
	min-height: 250px;
}

.service-icon {
	position: absolute;
	top: -19px;
	left: -5px;
}

.reference-navigation {
	position: relative;
	height: 75px;
}

.reference-taxonomy {
	position: absolute;
	max-width: 250px;
	top: 20px;
	right: 0;
}

.reference-item {
	-webkit-box-shadow: 0 0 0.625em rgba(0,0,0,0.45);
	box-shadow: 0 0 0.625em rgba(0,0,0,0.45);
	text-align: center;
	background: #f1f1f1;
	padding-bottom: 0;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	margin-bottom: 30px;
}

.reference-item img {
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	padding: 0;
}

.reference-title {
	height: 64px;
	padding: 10px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: 400;
}

#products .label-danger {
	background-color: #0d66ad;
	position: absolute;
	top: 5px;
	right: 21px;
	color: #FFF;
}



/* Page Title */

.page-title-container {
	position: relative;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-repeat: no-repeat;
	background-position-x: 50% !important;
	background-position-y: 50% !important;
	background: #0d66ad;
}

.page-title-content {
	position: relative;
	margin: 0 auto;
	padding: 40px 0 20px;
}

h1.page-title {
	display: inline-block;
	padding: 10px 15px;
	font-size: 30px;
	background: none;
	color: #FFF;
	margin-bottom: 8px;
	text-transform: uppercase;
}

p.page-title-description {
	display: inline-block;
	padding: 5px 15px;
	font-size: 18px;
	background: none;
	color: #FFF;
}

/* Footer */

#footer-container {
	background: rgb(0, 0, 0);
    background-image: url(/wp-content/uploads/4234879-lois.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
	padding: 50px 0px 60px;
	text-align: center;
	border-top: solid 1px #c1c1c1;
}

.footer-title {
	color: #fff;
}

.footer-text {
	color: #fff;
	font-size: 14px;
}

.footer-text a, .footer-text a:hover, .footer-text a:focus {
	color: #fff;
}

.wpv-addon-maps-render {
	border-radius: 5px;
}

.call-to-action {
	background: #0d66ad;
}

.cta-link {
	display: inline-block;
	color: #FFF;
	font-weight: 700;
	padding: 20px 12px;
	text-transform: uppercase;
	font-size: 14px;
}

.cta-link:hover, .cta-link:focus {
	color: #fff;
	text-decoration: none;
}

.cta-link .fa {
	margin-right: 7px;
}

.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
	background-color: #fff;
	border-color: #fff;
}

.list-group-item h4 {
	font-size: 1.1em;
	color: #fff;
}

.border-dashed-right {
	border-right: 2px dashed rgba(1, 66, 68, 0.6);
}

.employee-img {
	padding: 15px;
}

#team img {
	border: 2px solid #fff;
}

#team h4 {
	font-size: 16px;
	margin-top: 10px;
	margin-bottom: 5px;
	height: 30px;
}

#team p {
	font-size: 14px;
	margin: 0 0 3px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.employee-container {
	margin-bottom: 40px;
	margin-top: 0;
	padding: 10px;
}

/* Forms */

.form-general {
	font-size: 14px;
}

.form-general .glyphicon-asterisk {
	margin-left: 5px;
	font-size: 11px;
}

.form-control {
	border-radius: 4px;
}

/* Media Queries */

@media screen and (max-width: 1170px) {
}

@media screen and (max-width: 960px) {
	.call-to-action {height: auto; padding: 10px;}
}

@media screen and (max-width: 800px) {
	#header-container {padding-top: 5px; padding-bottom: 5px;}
}

@media (min-width: 768px) {
body .nav>li>a:after, body .ddl-nav>li>a:after {
    content: "";
    height: 18px;
    width: 0px;
    background: #fff;
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -9px;
}
	.hide-dt {display: none;}

}

@media screen and (max-width: 767px) {
	.navbar {height: 43px;}
	.navbar-brand {padding: 7px 11px;}
	.navbar-logo {max-width: 250px; margin: 7px 4px 4px 4px;}
	body {padding-top: 36px;}
	.navbar-brand-logo {padding: 0;}
	.navbar-tagline {display: none;}
	.navbar-collapse {background: #fff;}
	.navbar-right {margin-top: 0;}
	.hide-mb {display: none;}
	.cta-link {
		padding: 13px 4px;
		display: block;
		background: #0d66ad;
		margin-top: 8px;
	}
	#company-intro {padding-top: 30px; padding-bottom: 30px;}
	.double-gutter {padding-left: 15px; padding-right: 15px;}
	.section-title {margin-bottom: 20px;}
	.content-960-bg {background: #f1f1f1; padding: 5px 5px 5px 5px;}
	.pagination {display: block;}
	.panel-default > .panel-body {min-height: inherit;}
	.call-to-action {padding: 0; background: rgba(0, 0, 0, 0);}
	.bm20-mb {margin-bottom: 20px;}
}

@media screen and (max-width: 650px) {
	
}

@media screen and (max-width: 580px) {
	body {font-size: 14px;}
	h2 {font-size: 1.4em;}
	h1.fp-slider-title, h1.page-title {font-size: 26px;}
	.fp-slider-content {top: 20px;}
	p.fp-slider-caption {font-size: 18px;}
	.tm5 {margin-top: 2.5px;}
	.tm10 {margin-top: 5px;}
	.tm15 {margin-top: 7.5px;}
	.tm20 {margin-top: 10px;}
	.tm30 {margin-top: 15px;}
	.tm40 {margin-top: 20px;}
	.tm50 {margin-top: 25px;}
	.tm60 {margin-top: 15px;}
	.tm70 {margin-top: 35px;}
	.tm80 {margin-top: 40px;}
	.tm90 {margin-top: 45px;}
	.tm100 {margin-top: 50px;}
	.bm5 {margin-bottom: 2.5px;}
	.bm10 {margin-bottom: 5px;}
	.bm15 {margin-bottom: 7.5px;}
	.bm20 {margin-bottom: 10px;}
	.bm30 {margin-bottom: 15px;}
	.bm40 {margin-bottom: 20px;}
	.bm50 {margin-bottom: 25px;}
	.bm60 {margin-bottom: 30px;}
	.bm70 {margin-bottom: 35px;}
	.bm80 {margin-bottom: 40px;}
	.bm90 {margin-bottom: 45px;}
	.bm100 {margin-bottom: 50px;}
	.tp5 {padding-top: 2.5px;}
	.tp10 {padding-top: 5px;}
	.tp15 {padding-top: 7.5px;}
	.tp20 {padding-top: 10px;}
	.tp30 {padding-top: 15px;}
	.tp40 {padding-top: 20px;}
	.tp50 {padding-top: 25px;}
	.tp60 {padding-top: 15px;}
	.tp70 {padding-top: 35px;}
	.tp80 {padding-top: 40px;}
	.tp90 {padding-top: 45px;}
	.tp100 {padding-top: 50px;}
	.bp5 {padding-bottom: 2.5px;}
	.bp10 {padding-bottom: 5px;}
	.bp15 {padding-bottom: 7.5px;}
	.bp20 {padding-bottom: 10px;}
	.bp30 {padding-bottom: 15px;}
	.bp40 {padding-bottom: 20px;}
	.bp50 {padding-bottom: 25px;}
	.bp60 {padding-bottom: 30px;}
	.bp70 {padding-bottom: 35px;}
	.bp80 {padding-bottom: 40px;}
	.bp90 {padding-bottom: 45px;}
	.bp100 {padding-bottom: 50px;}
	.navbar-brand {font-size: 17px;}
	.fp-slider-content {top: 15%;}
	.btn-fp-slider, .btn-fp-slider-2nd {padding: 6px 10px; font-size: 15px;}
	.text-large {font-size: 18px;}
	.reference-taxonomy {position: relative; max-width: 100%; top: 0; right: 0; margin-bottom: 10px;}
	.reference-title {font-size: 11px; height: 50px;}
	.reference-mobilepos {margin-top: 40px;}
}

@media screen and (max-width: 460px) {
	.navbar-brand {font-size: 16px;}
	.employee-container {margin-bottom: 20px; margin-top: 0; padding: 0;}
}

@media screen and (max-width: 380px) {
	.navbar-brand {font-size: 15px;}
	.text-large {font-size: 16px;}
	.reference-mobilepos {margin-top: 70px;}
}

@media screen and (max-width: 320px) {
	.navbar-brand {font-size: 14px;}
}