*{
	margin:0;
	padding:0;
	border:0;
}




@font-face {
    font-family: 'bmw_thailand';
    src: url('../font/bmw_thailand_regular-webfont.eot');
    src: url('../font/bmw_thailand_regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/bmw_thailand_regular-webfont.woff2') format('woff2'),
         url('../font/bmw_thailand_regular-webfont.woff') format('woff'),
         url('../font/bmw_thailand_regular-webfont.ttf') format('truetype'),
         url('../font/bmw_thailand_regular-webfont.svg#bmw_thailandregular') format('svg');
    font-weight: normal;
    font-style: normal;
    text-rendering: optimizeLegibility;
}




@font-face {
    font-family: 'bmw_thailand';
    src: url('../font/bmw_thailand_light-webfont.eot');
    src: url('../font/bmw_thailand_light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/bmw_thailand_light-webfont.woff2') format('woff2'),
         url('../font/bmw_thailand_light-webfont.woff') format('woff'),
         url('../font/bmw_thailand_light-webfont.ttf') format('truetype'),
         url('../font/bmw_thailand_light-webfont.svg#bmw_thailandlight') format('svg');
    font-weight: 100;
    font-style: normal;
    text-rendering: optimizeLegibility;
}




@font-face {
    font-family: 'bmw_thailand';
    src: url('../font/bmw_thailand_bold-webfont.eot');
    src: url('../font/bmw_thailand_bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/bmw_thailand_bold-webfont.woff2') format('woff2'),
         url('../font/bmw_thailand_bold-webfont.woff') format('woff'),
         url('../font/bmw_thailand_bold-webfont.ttf') format('truetype'),
         url('../font/bmw_thailand_bold-webfont.svg#bmw_thailandbold') format('svg');
    font-weight: bold;
    font-style: normal;
    text-rendering: optimizeLegibility;
}

.headline{
    font-family: 'bmw_thailand';
}
a,h1,h2,h3,h4,p,label,ul,li{
    font-family: 'Kanit', sans-serif;
	padding:0;
	margin:0;
	-webkit-font-smoothing: antialiased;
}

ul{
    padding-left:2em;
}

p,ul{
    margin-bottom:1.5em;
    font-size:1.1em;
}

img{
	width:100%;
	vertical-align:top;
}

body{
	background:#fff;
}

.header{
    width:100%;
    height:0px; 
}

.header .menu a{
    padding:20px;
    line-height:150px;
    color:#fff;
    font-weight:bold;
}

#bmw-logo {
    position: absolute;
    width: 74px;
    float: right;
    right: 18px;
    top: 10px;
    z-index: 560;
}

@media only screen and (min-width: 521px){
#bmw-logo {
    width: 103px;
    right: 43px;
}
}

@media only screen and (min-width: 1025px){
#bmw-logo {
    width: 103px;
    right: -15px;
}
}

.slider{
    max-width:1200px;
    width:100%;
/*
    height:760px;
    background: url(../img/bg.jpg) no-repeat center 20%;
    background-size:cover;
*/
    position:relative;
    margin:0 auto;
}

.slider .text{
    position:absolute;
    top:-80px;
    left:50px;
    color:#4c4d4f;
}
.slider .text h1{
    font-size:40px;
    font-weight:bold;
    letter-spacing: -2px;
}
.slider .text h3{
    font-size:26px;
    font-weight:bold;
}

.content {
    min-height:45vh;
}
.content>.row>div{
    padding:0 20px;
}

.content .row div{
    font-size:14px;
}

.content h2{
    color:#4c4d4f;
    font-weight:bold;
    font-size:42px;
    letter-spacing: -0.06em;
}
.content h3{
    color:#4c4d4f;
    font-weight:bold;
    font-size:26px;
    letter-spacing: -0.06em;
}
.content .attachment{
    width:95%;
    max-width:460px;
    margin:0 auto;
}
.content .attachment img{
    border:8px solid #fff;
    box-shadow: 0 0px 7px 0px rgba(0,0,0,0.2);
}

.footer{
    width:100%;
    background:#000;   
    height:120px;
}

.footer img{
   width: 80px;
    margin: 20px 20px;
    position:absolute;
    right:0;
    
}

#bmw-bt{
    border-style: solid;
    border-width: 0;
    cursor: pointer;
    font-family: "Arial","Helvetica","Roboto",sans-serif;
    font-weight: bold;
    line-height: normal;
    position: relative;
    text-decoration: none;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    padding-top: 1rem;
    padding-right: 2rem;
    padding-bottom: 1.0625rem;
    padding-left: 2rem;
    font-size: 1rem;
    background-color: #1c69d4;
    border-color: #0653b6;
    color: #fff;
    transition: background-color 300ms ease-out;
    display: block;
    width: 250px;
    margin: 90px auto;
}




/* Absolute Center Spinner */
.loading {
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Transparent Overlay */
.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.7);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  -moz-animation: spinner 1500ms infinite linear;
  -ms-animation: spinner 1500ms infinite linear;
  -o-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}




@media screen and (max-width:768px){
    .header {
        width: 100%;
        height: 0px;

    }
    .slider{
/*            height: 280px;*/
            background-position: center;
    }
    .content h2{
        font-size:26px;
        line-height:1.4em;
        letter-spacing: -0.06em;
    }
    .content h3{
        font-size:17px;
        line-height:1.4em;
        letter-spacing: -0.06em;
    }
}