/* Colors */

:root {
  --primary: #002c5f;
  --primary-hover: #37809b;
  --secondary: #002c5f;
  --secondary-hover: #006f8a;
  --third: #e4dcd3;
  --third-hover: #b8afa5;
  --input-fields: #f6f3f2;
  --primaryBtn: #002c5f;
  --primaryBtn-hover: #002c5f;
  --secondaryBtn: #00aad2;
  --secondaryBtn-hover: #006f8a;
  --tableHighlight: #f6f3f2;
  --headings-font-family: "HyundaiSansHead", Arial, sans-serif;
  --text-font-family: "HyundaiSansText", Tahoma, sans-serif;
}


/* Fonts */

@font-face {
  font-family: 'HyundaiSansHead';
  src: url('../font/HyundaiSansHead-Regular.woff2') format('woff2'),
      url('../font/HyundaiSansHead-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'HyundaiSansHead';
  src: url('../font/HyundaiSansHead-Medium.woff2') format('woff2'),
      url('../font/HyundaiSansHead-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;

}

@font-face {
  font-family: 'HyundaiSansHead';
  src: url('../font/HyundaiSansHead-Light.woff2') format('woff2'),
      url('../font/HyundaiSansHead-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;

}

@font-face {
  font-family: 'HyundaiSansHead';
  src: url('../font/HyundaiSansHead-Bold.woff2') format('woff2'),
      url('../font/HyundaiSansHead-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;

}

@font-face {
  font-family: 'HyundaiSansText';
  src: url('../font/HyundaiSansText-Regular.woff2') format('woff2'),
      url('../font/HyundaiSansText-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'HyundaiSansText';
  src: url('../font/HyundaiSansText-Medium.woff2') format('woff2'),
      url('../font/HyundaiSansText-Medium.woff.woff') format('woff');
  font-weight: 500;
  font-style: normal;

}

@font-face {
  font-family: 'HyundaiSansText';
  src: url('../font/HyundaiSansText-MediumItalic.woff2') format('woff2'),
      url('../font/HyundaiSansText-MediumItalic.woff') format('woff');
  font-weight: 500;
  font-style: italic;

}


@font-face {
  font-family: 'HyundaiSansText';
  src: url('../font/HyundaiSansText-Italic.woff2') format('woff2'),
      url('../font/HyundaiSansText-Italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;

}

@font-face {
  font-family: 'HyundaiSansText';
  src: url('../font/HyundaiSansText-BoldItalic.woff2') format('woff2'),
      url('../font/HyundaiSansText-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;

}

@font-face {
  font-family: 'HyundaiSansText';
  src: url('../font/HyundaiSansText-Bold.woff2') format('woff2'),
      url('../font/HyundaiSansText-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'hyundai-icons';
  src: url('../font/icons-hyundai.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'hyundai-iconfont';
  src: url('../font/hyundai-iconfont.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;

}


/* Style */

.table-cell button {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.table-cell button:before {
    content: "";
    display: block;
    position: absolute;
    background: #003c78;
    top: 0;
    bottom: 0;
    left: 0;
    right: 100%;
    z-index: 1;
    transition: right .5s cubic-bezier(.7,-.02,0,1);
}

.table-cell button:hover:before {
    right: 0;
}

.table-cell button .cta__arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    display: block;
    z-index: 5;
    opacity: 0;
    -webkit-transform: translate(-100%,-50%) scale(.7);
    transform: translate(-100%,-50%) scale(.7);
    -webkit-transition: opacity .1s ease-out .1s,-webkit-transform .3s ease-in .1s;
    transition: opacity .1s ease-out .1s,-webkit-transform .3s ease-in .1s;
    transition: transform .3s ease-in .1s,opacity .1s ease-out .1s;
    transition: transform .3s ease-in .1s,opacity .1s ease-out .1s,-webkit-transform .3s ease-in .1s
}

.table-cell button:hover .cta__arrow {
    opacity: 1;
    -webkit-transform: translate(-50%,-50%) scale(.7);
    transform: translate(-50%,-50%) scale(.7);
    -webkit-transition: opacity .2s ease-out .2s,-webkit-transform .2s ease-in .2s;
    transition: opacity .2s ease-out .2s,-webkit-transform .2s ease-in .2s;
    transition: transform .2s ease-in .2s,opacity .2s ease-out .2s;
    transition: transform .2s ease-in .2s,opacity .2s ease-out .2s,-webkit-transform .2s ease-in .2s
}

.table-cell button .cta__arrow:before {
    font-family: "hyundai-iconfont"!important;
    font-style: normal;
    font-weight: 400!important;
    vertical-align: middle;
    content: "\f108";
}

.right p, .thirdwidest p {
  font-size: 1.1rem;
}

.headercontent {
  background: #f6f3f2;
}

.secondheader:has(b) a::after{
  content:'\f101';
  font-family: 'hyundai-icons';
  padding:0 4px 0 8px;
  font-size:12px;
}

.secondheader #header-arrow{
  display:none
}

#rightmenu li a:hover{
  background: #004489
}

#rightmenu li a{
  padding-left:7px;
}

#rightmenu li a span {
  vertical-align: super;
}

#rightmenu li a::before{
  font-size:32px;
  font-family: "hyundai-icons";
  text-align: center;
  width: auto;
  min-width: 46px;
  padding-right: 8px;
}
#rightmenu .rightbuild::before{
  content: "\f119";
}
#rightmenu .rightoffer::before{
  content: "\f117";
}
#rightmenu .rightdrive::before{
  content: "\f123";
}
#rightmenu .rightservice::before{
  content: "\f11b";
}
#rightmenu .rightcontact::before{
  content: "\f11a";
}

#menu .topmenu div button::after {
  font-size: 32px;
  font-family: "hyundai-icons";
  }

#menu .topmenu .testdrivebutton #testdrive::after {
  content: "\f123";
}

#menu .topmenu #askoffer, #menu .topmenu #askoffer2{
  width: 32px;
}

#menu .topmenu .testdrivebutton #askoffer::after, #menu .topmenu .testdrivebutton #askoffer2::after {
  content: "\f117";
}

#menu .topmenu .servicebtn #service::after {
  content: "\f11b";
}

#menu ul li a, #menu ul li button {
    background-color: transparent;
    letter-spacing: .2px;
    letter-spacing: .02rem;
    color: #676767;
    font-weight: 400;
}

#menu ul li a:hover, #menu ul li button:hover, #menu ul .sel a  {
  border-bottom: 4px solid transparent;
  font-weight:500;
  letter-spacing: -.022px;
    letter-spacing: -.0022rem;
    color: #002c5f;

}

#menu ul li a:hover, #menu ul li button:hover {
   text-decoration: underline;
   text-underline-offset: 2px; 
}

.teenindusmenu .box ul li a,
.teenindusmenup .box ul li a {
  font-family: var(--headings-font-family);
  letter-spacing: .02rem;
}

.allmodels a, .allmodels p{
      color: #1c1b1b !important
}

.red:hover {
  opacity: .8;
}

.onemodel .newmodel{
  background: var(--primary);
}

#return-to-top{
transform: rotate(180deg);
border-radius: 50%;
}

#return-to-top::before{
font-family: "hyundai-icons";
content: "\f102";
transform:rotate(180deg);
font-size:1.2rem;
color:#fff;
}

img.standard{
  filter: invert(15%) sepia(33%) saturate(3713%) hue-rotate(194deg) brightness(90%) contrast(106%);
}

#footer {
  background: #323232;
}

#footer #social img {
  display: none !important;
}

#footer #social a{
color:#fff;
}

#footer #social a:hover{
  color: #b7b7b7;
}

#social a::before{
  font-family: "hyundai-icons";
  font-size: 36px;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  position: relative;
  text-transform: none;
}

#social a.facebook::before {
  content: "\f12d";
}

#social a.youtube::before {
  content: "\f135";
}

#social a.instagram::before {
  content: "\f12f";
}

#social a.linkedin::before {
  content: "\f130";
}

#social a.twitter::before{
  content: "\f134";
}

#social a.google::before{
  content: "\f12e";
}

@media (max-width:1020px){
  .brand{
    height:20px
  }
  #menu .topmenu div button::after{
    font-size:24px;
  }
}
