@charset "UTF-8";
/*
Theme Name: Nissan Digital
Theme URI: www.capecom.co.uk
Author: the WordPress team
Author URI: https://wordpress.org/
Version: 1.0
Text Domain: nissan-digital
*/
div.banner img {
    width: 100%;
    object-fit: cover;
    height: 100%;
}
div.banner {
    height: 450px;
}
.right-thumbnail img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}


@media screen and (max-width:767px){
	.master-slider div {
		max-height: 30vh;
	}
	.ms-slide-bgcont{
    max-height: 200px;
}
.ms-slide .ms-slide-bgcont img, .ms-container, .ms-inner-controls-cont {
    max-width: 100%;
    width: 100% !important;
    height: 200px !important;
    object-fit: cover;
    object-position: center;
    margin: 0 !important;
}

}
.ms-slide .ms-slide-bgcont img, .ms-container, .ms-inner-controls-cont {
    max-width: 100%;
    width: 100% !important;
    max-height: -webkit-fill-available;
    object-position: center;
        height: auto !important;
    margin: 0 !important;
}
.ms-view.ms-fade-view {
    left: 0 !important;
    height: 550px !important;

}

img.ms-thumb {
    margin: 0 !important;
}
li.gallery_type a:hover {
    color: #619100;
    background: #fff;
    border: 1px solid #619100;
}
.fa::before{
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
#gallery_box ul.nav{
    text-align: center;
    display: flex;
	flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
}
li.gallery_type a {
    color: #fff;
    background: #5f8c00;
    margin: 5px;
    border: 1px solid #619100;
}
input.wpcf7-form-control.wpcf7-submit {
    float: left;
    width: 100%;
    height: auto;
    color: #FFF;
    text-decoration: none;
    padding: 10px 15px;
    background: url(images/bg-glow-green.png) center;
    font-weight: 600;
    margin: 0px 15px 0px 0px;
    border: none;
    border-radius: 7px;
    text-align: center;
}
header p a {
    color: inherit;
}
.video-frame .wp-block-embed__wrapper.animated {
    text-align: center;
}
.translate-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;

}
.translate-container a{ 
        font-weight: bold;
    color: #5e8b00 !important;
}
.translate-container a:first-child {
    display: none;
}
iframe {
    width: 100%;
}

.fa-facebook-square:before{
    color:#3b5998;
}
.fa-twitter-square:before{
    color:#55acee;
}
.fa-youtube-play:before{
    color:#b31217;
}
.fa-vimeo-square:before{
    color:#1ab7ae;
}
.services p {
    max-height: 220px;
    overflow: hidden;
}
.master-slider-parent div {
    max-width: 100vw !important;
}
.master-slider-parent {
    max-width: 100% !important;
}
div#myCarousel a.control {
    position: absolute;
    top: 40%;
    z-index: 9;
    color: #fff;
    width: 30px;
    height: 30px;
    display: inline-block;
}
.carousel-control-prev{
    left: 10px;
}
.carousel-control-next{
    right: 10px;
}
div#myCarousel a.control .fa {
    font-size: 2.5em;
}
#gallery_box div.banner-gallery img {
    width: 100%;
    object-fit: cover;
    height: auto;
}
.banne-gallery {
    text-align: center;
}
.banne-gallery img {
    max-width: 100%;
    object-fit: contain;
    object-position: top;
	height:auto !important;
}
@media (max-width:767px){
div.banner {
  height: auto;
}
div.carousel-inner h2{
    font-size: 24px;
}
li.gallery_type a {
    padding: 8px 5px;
    font-size: 12px;
}
	.tamil-wrapper p{
		font-size: 12px;
		line-height: 1.7;
	}
	.master-slider div {
    max-width: 100%;
}
div#myCarousel a.control {
    position: absolute;
    top: auto;
    /* transform: translate(-50%, -50%); */
    z-index: 9;
    color: #fff;
    width: 30px;
    height: 30px;
    display: inline-block;
    bottom: -40px;
}
	.carousel-control-prev{
		left:35%;
	}
	.carousel-control-next{
		right:35%;
	}
}

iframe {
    width: 100%;
    height: -webkit-fill-available; 
}
#gallery_box .item.active >div {
    background-image: url(images/loading.gif);
	background-size: 75px;
    background-repeat: no-repeat;
    background-position: center;

}
.wpcf7 form .wpcf7-response-output{
	clear:both !important;
}
@media (min-width:1300px){
	.nd-video-wrapper {
    max-width: 267px;
    margin: 0 auto;
}
}
.nd-video-wrapper {
    
    margin-top: 30px;
}