.carousel-item {
  padding-bottom: calc( 100% * 519 / 1110 );
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.navbar-dark .navbar-toggler {
    color: rgba(12, 24, 81, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}
.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
footer .badge-secondary {
  background-color: rgba(12, 24, 81, 1);
}
.list-group-mine .list-group-item {
  background-color: rgba(255, 255, 255 , 0);
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}
.list-group-mine .list-group-item  a {
  color: #fff;
}
.list-group-mine .list-group-item  a:hover{
	text-decoration: none;
}
.mycounter img {
	margin-bottom: 6.5px;
}
#inquiry article.row {
	align-items: center;
}
#inquiry input, #inquiry textarea {
    padding: 5px;
    /*border: solid 1px #ff8484;*/
	border: 1px solid #7cb2e9;		
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    font-size: 1em;
    font-weight: 300;
}
article > div > input,  #inquiry textarea {
	background: #fff9d1;
	width:100%;
}
#inquiry label {
	margin-bottom: 0 !important;
	line-height: 34px;
}
.form-submit {
   	text-align: center;
	margin: 10px 0px;
}
.form-submit input {
    margin: 0px 20px;
    padding: 5px 20px !important;
}
.g-recaptcha > div {
		margin: 0 auto;
}
.breadcrumb {
	background: #1dc8e6;
}

.breadcrumb a, .breadcrumb-item + .breadcrumb-item::before, .breadcrumb .breadcrumb-item {
	color: #0000ff;
}
.breadcrumb-item.active {
	color: #000;
}
/*---- HOME -----*/
div.home-abouts-main {
	background:#F7F7F7;
	padding: 20px 0px;
	box-shadow: 4px 8px 7px #616161;
}
div.home-abouts-main img {
	width:150px;
	padding: 0px 0px 20px 20px;
}
div.home-abouts {
	background:#e6e6e6ff;
	margin: 10px 20px;
	border: 1px solid;
	border-radius: 5px;
	padding: 1rem 20px 0px;
}
div.home-abouts p {
	font-size: 20px;
}

div.card-body.p-0 {
	background: #F5F5F5;
}
div.card-body.p-0:hover {
	background: linear-gradient(to right, #01a29f 10%, #265cea 99%);
	zoom: 1;
	transition: 0.3s linear;
}
.home-about p {
	font-size: 22px;
}

@media (max-width: 576px) {
	.home-about p {
		font-size: 20px;
	}
}

/*---- News -----*/
a.news-wrap {
	display: block;
    background: #F5F5F5;
    position: relative;
    padding: 20px;
    zoom: 1;
	text-decoration: none;
    transition: 0.3s linear;					
}
				
a.news-wrap:hover {
    background: linear-gradient(to right, #01a29f 10%, #265cea 99%);
    zoom: 1;
    transition: 0.3s linear;
}

a.news-wrap .news-date {
    color: #000;
    display: block;
    padding-bottom: 10px;
}
a.news-wrap:hover .news-date {
    color: #d8d8d8;
    zoom: 1;
    transition: 0.3s linear;
}

a.news-wrap .news-title {
    font-size: 20px;
    color: #0000ff;
    display: block;
    /*padding-bottom: 80px;*/
    zoom: 1;
    transition: 0.3s linear;
}
a.news-wrap:hover .news-title {
    color: #fff;
    zoom: 1;
    transition: 0.3s linear;
}
				
a.news-wrap .more {
    color: #A89887;
    display: block;
    position: relative;
    text-align: right;
    zoom: 1;
    transition: 0.3s linear;
}

/*---- car -----*/
a.car-wrap {
	display: block;
    /*background: #F5F5F5;*/
    position: relative;
    /*padding: 20px;*/
	height: 100%;
    zoom: 1;
	text-decoration: none;
    /*transition: 0.3s linear;*/
}
				
a.car-wrap:hover {
    /*background: linear-gradient(to right, #01a29f 10%, #265cea 99%);
    zoom: 1;
    transition: 0.3s linear;*/
}

a.car-wrap img {
	border-radius: 3%;
}

a.car-wrap .car-brand {
    color: #000;
    display: inline-block;
    padding: 5px;
	margin-bottom: 10px;
	font-weight: 700;
	border-radius: 10px;
	border: 1px #000 solid;
	transition: 0.3s linear;
}
a.car-wrap:hover .car-brand {
    /*color: #d8d8d8;*/
    zoom: 1;
	border-radius: 0;
	border: 1px #f00 solid;
    transition: 0.3s linear;
}

a.car-wrap .car-title {
    font-size: 20px;
    color: #0000ff;
    display: block;
    /*padding-bottom: 80px;*/
    zoom: 1;
    transition: 0.3s linear;
}
a.car-wrap:hover .car-title {
    color: #000000;
    zoom: 1;
    transition: 0.3s linear;
}

a.car-wrap .car-info .car-price {
	color: #f00;
}
a.car-wrap .car-info .car-price:before {
	content:"NT$";
	font-size: 16px;
}
a.car-wrap .car-info .car-price:after {
	content:"萬元";
	font-size: 16px;
}

/*-----about -----*/
.about {
	margin: 0 -5px 3% -5px;
	padding: 1%;
    background: rgba( 230, 230 ,230 , 1);
    border-radius: 5px;
    box-shadow: 1px 1px 5px #666;
}
/*---- business -----*/
.business-about p {
	font-size: 30px;
}
.business-about p.slogin {
	font-size: 36px;
	letter-spacing: 0.2em;
}

@media (max-width: 576px) {
	.business-about p {
		font-size: 26px;
	}
	.business-about p.slogin {
		font-size: 30px;
		letter-spacing: normal;
	}
}

/*----- service ------*/
.service-title {
	text-align: center;
	color: #f00;
}

/*----- car-buy -----*/
.carinfo-list {
	font-size: 24px;
}
.carinfo-list > div[class^='carinfo']:before {
	/*content: "";
	border-left: 5px solid #0d194d;
	padding-right: 7px;*/
	
}
.carinfo-list > div[class^='carinfo'], .carinfo-title {
	/*margin-bottom: 15px;*/
}
.carinfo-name {
	display: inline-block;
	width: 50%;
	color: #fff;
	padding-left: 12px;
	background: #17a2b8;
	/*border-bottom: 4px solid #bc262f;*/
}
.carinfo-content {
	padding-left: 12px;
	font-weight:700;
}
.swiper {
	width: 100%;
	height: 100%;
}

.swiper-slide {
	text-align: center;
	font-size: 18px;
	background: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
}

.swiper-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}


.swiper {
	width: 100%;
	height: 300px;
	margin-left: auto;
	margin-right: auto;
}

.swiper-slide {
	background-size: cover;
	background-position: center;
	position: relative;
}
.swiper-slide a{
	display: block;
	position: absolute;
	min-width: calc( 100% - (var(--swiper-navigation-size))*2);
	height:100%;
}

.mySwiper2 {
	height: 80%;
	width: 100%;
}

.mySwiper {
	height: 20%;
	box-sizing: border-box;
	padding: 10px 0;
}

.mySwiper .swiper-slide {
	width: 25%;
	height: 100%;
	opacity: 0.4;
}

.mySwiper .swiper-slide-thumb-active {
	opacity: 1;
}

.swiper-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}	


/*----- car-sale -----*/
.carsale-title {
	text-align: center;
	color: #f00;
	padding-bottom: 10px;
}
.slogin {
	color: #f00;
	text-shadow: 1px 1px 3px #333, -1px -1px 3px #333, -1px 1px 3px #333, 1px -1px 3px #333;
	text-align: center;
	font-size: 1.5rem;
}
.car-sale p {
	font-size: 18px;
}
.car-sale h5 {
	padding-bottom: 5px;
}
.car-sale .row > div.col-lg-6:nth-child(2) {
	border-left: 3px dashed  #f00;
}
@media (max-width: 576px) {
	.car-sale .row > div.col-lg-6:nth-child(2) {
		border-left: none;
	}
}

/*----- gototop -----*/
.back-to-top {
	position: fixed;
	bottom: 25px;
	right: 25px;
	display: none;
	z-index:9999;
}		
#back-to-top {
	-webkit-transition: background-color 0.2s ease-in-out;
	-moz-transition: background-color 0.2s ease-in-out;
	-ms-transition: background-color 0.2s ease-in-out;
	-o-transition: background-color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out;
	background: rgba(63, 138, 122, 0.8);
	color: #ffffff;
}
#back-to-top:hover {
	background: #025172;
}

@media (min-width: 576px) {
	.w-sm-100 {
		width: 100% !important;
	}
	.mycounter img {
		margin-bottom: 6.5px;
	}
	
}

@media (min-width: 992px) {
	.w-lg-75 {
		width: 75% !important;
	}
	.mycounter img {
		margin-bottom: 3px;
	}
}

@media (min-width: 768px) {
	.g-recaptcha > div {
		margin: 0;
	}
}

/*------ Footer --------*/
.ss-footer, .ss-footer hr {
	background: #f42e4e;
}
.ss-footer hr.m-0 {
	padding: 1rem 0;
}
.ss-footer a {
	color:#fff;
}
.ss-footer a:hover {
	color:#aaa;
}
