.navcolor{background-image: url("https://sgredlionambulance.com.sg/img/menubgr.png")!important;color: #FFF!important;   background-repeat: no-repeat;  background-position:right;  background-size: 60%;}

footer a{color:#0c1f4f;}
b{font-weight: 600!important;}
.redbtn{background-color:#bf1d38!important;color:#FFF!important;}
.whitetext{color:#FFF!important;}
.grey{background-color:#e3e3e3;}
.redb{background-color:#bf1d38;}
.nav-item a{font-family: 'Montserrat', sans-serif; font-size: 0.8rem; color:#FFF!important; font-weight: 600;}
.dropdown-item{font-family: 'Montserrat', sans-serif; font-size: 0.8rem; color:#FFF!important; font-weight: 600;background-color:#0c1f4f;}
.dropdown-menu{background-color:#0c1f4f;}
.dropdown-toggle{font-family: 'Montserrat', sans-serif; font-size: 0.8rem; color:#FFF!important; font-weight: 600;}
.dropdown-item:hover  {background-color:#bf1d38!important;}

body{	font-family: 'Montserrat', sans-serif!important; font-size: 1rem; color: #0c1f4f;}

/* .bgg{background-image:url("https://sgredlionambulance.com.sg/img/slider1.png");background-size:100%;background-position:right;  } */
.deployform {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  z-index:1;
  border-radius: 50%;
  background-color: #bf1d38;
  cursor: pointer;
  -webkit-transform-origin: right bottom;
  -moz-transform-origin: right bottom;
  -o-transform-origin: right bottom;
  transform-origin: right bottom;
  transition: all 0.35s cubic-bezier(0.91, -0.28, 0.06, 1.3), background-color 0.25s ease;
  -webkit-box-shadow: 0px 13px 40px 0px rgba(0, 0, 0, 0.21);
  -moz-box-shadow: 0px 13px 40px 0px rgba(0, 0, 0, 0.21);
  box-shadow: 0px 13px 40px 0px rgba(0, 0, 0, 0.21);
}
.deployform:hover {
  background-color: #da3737;
}
.deployform.open {
  width: 300px;
  height: 350px;
  border-radius: 3px;
  background-color: #fff;
  cursor: default;
}
.deployform.open .icon {
  opacity: 0;
  transition-delay: 0.01s;
}
.deployform.open .cancel {
  opacity: 1;
  transition-delay: 0.25s;
}
.deployform.open form {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.2s;
}
.deployform .icon {
  width: 18px;
  height: 18px;
  position: absolute;
  left: 38%;
  top: 38%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  transition: opacity 0.1s ease;
  transition-delay: 0.2s;
  color: #fff;
  font-size:1.5rem;
  padding: 4px;
}

.deployform .cancel {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 18px;
  opacity: 0;
  transition-delay: 0.01s;
  cursor: pointer;
  padding: 6px 10px;
  color: #3c4351;
}
.deployform form {
  margin-top: 40px;
  opacity: 0;
  visibility: hidden;
  transition-delay: 0.01s;
}
.deployform form input {
  width: 236px;
  height: 45px;
  margin-left: 20px;
  margin-top: 10px;
  padding: 0 10px;
  border: 2px solid #e3e3e3;
  background-color: #f1f1f1;
  border-radius: 2px;
  transition: all 0.2s ease;
}
.deployform form input:hover, .deployform form input:focus {
  border: 2px solid #d7d7d7;
  outline: 0;
}
.deployform form textarea {
  width: 236px;
  min-height: 80px;
  margin-left: 20px;
  margin-top: 10px;
  border: 2px solid #e3e3e3;
  background-color: #f1f1f1;
  border-radius: 2px;
  resize: none;
  padding: 10px 10px;
  font-family: inherit;
  transition: all 0.2s ease;
}
.deployform form textarea:hover, .deployform form textarea:focus {
  border: 2px solid #d7d7d7;
  outline: 0;
}
.deployform form button {
  width: 260px;
  height: 45px;
  margin-left: 20px;
  margin-top: 10px;
  border: none;
  background-color: #df5151;
  border-radius: 2px;
  color: #fff;
  text-transform: uppercase;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.deployform form button:hover {
  background-color: #da3737;
}

/* end of the form */

.abs{
position: absolute;
bottom: 0;
left:0px;
width: calc(100% + 50px);
height: calc(100% + 25px);
transform: skew(15deg);
transform-origin: right;
background-color:#bf1d38;
z-index: -1;
}

.topinfo{z-index: -2; background-image: url("https://sgredlionambulance.com.sg/img/ss.png");background-size: cover;height: 400px;background-position:center;}

.bg-red{background-color:#bf1d38;}
/* .mainv{background-image: url("https://sgredlionambulance.com.sg/img/mainv1.jpg")!important;color: #FFF!important;height: 650px;  background-repeat: no-repeat;background-position:center;background-size: cover;  background-attachment: fixed;
} */

.hnow{height: 500px;}

/* .mainv{position: absolute; z-index: 1;} */

.stext{font-family: 'Montserrat', sans-serif; font-weight:600; font-size: 4rem;letter-spacing: 3px;}
.redbg{background-color:#bf1d38;}
.bigTitle{font-family: 'Montserrat', sans-serif; font-weight:700;letter-spacing: 3px; font-size: 4rem;}

.imgbb{ position: absolute; right:0px; top:0px; z-index: 0;}
/* .list {
display: flex;
-webkit-animation: loop 20s infinite linear;
animation: loop 20s infinite linear;
} */

h1,h2,h3,h4,h5,h6{
font-family: 'Montserrat', sans-serif; font-weight:600;
letter-spacing: 3px;
}



.item {color: #0c1f4f;font-size: 1.2rem;  font-family: 'Montserrat', sans-serif;font-weight:700;letter-spacing: 3px;}

.redambu{background-image: url("https://sgredlionambulance.com.sg/img/redbg.png")!important;color: #FFF!important;   background-size: cover;}

.prof1{background-image: url("https://sgredlionambulance.com.sg/img/p1.png")!important; background-repeat: no-repeat;  background-position:right; background-size: 100%;}

.prof2{background-image: url("https://sgredlionambulance.com.sg/img/p2.png")!important; background-repeat: no-repeat;  background-position:right;background-size: 100%;}

.prof3{background-image: url("https://sgredlionambulance.com.sg/img/p3.png")!important; background-repeat: no-repeat;  background-position:right;background-size: 100%;}

.prof4{background-image: url("https://sgredlionambulance.com.sg/img/p5.png")!important; background-repeat: no-repeat;  background-position:right;background-size: 100%;}

.ambulance{background-image: url("https://sgredlionambulance.com.sg/img/ambulance.png")!important;background-size: cover; background-repeat: no-repeat;}

@keyframes loop {
100% {
-webkit-transform: translateX(0%);
transform: translateX(-100%);
}
}

*, *:before, *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

.activeRed{
  color: red;
}
/* .slider__navi { */
/* top: 50%; */
/* right: 20px; */
/* transform: translateY(-50%);
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
z-index: 999;
}

.slider__navi i {
display: block;
height: 6px;
width: 20px; */
/* margin: 20px 0; */
/* text-indent: -9999px;
box-shadow: none;
border: none;
background: rgba(0,0,0,0.2);
} */

/* .slider__navi i.active {
background: rgba(255,255,255,1);
} */
.boxs {
position: relative;
font-size: 100%;
font-family: 'Montserrat', sans-serif;
font-weight: 400;
min-height: 500px;
padding-bottom: 10px;
/* width: 100vw; */
}

.flex__container {
position: absolute;
top: 0;
left: 0;
display: flex;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
-webkit-flex-flow: row wrap;
-moz-flex-flow: row wrap;
-ms-flex-flow: row wrap;
-o-flex-flow: row wrap;
flex-flow: row wrap;
-webkit-justify-content: flex-start;
-moz-justify-content: flex-start;
-ms-justify-content: flex-start;
-o-justify-content: flex-start;
justify-content: flex-start;
height: 500px;
width: 100%;
z-index: 1;
}

.flex__container.flex--active {
z-index: 2;
}

.text--sub {
font-size: 12px;
letter-spacing: 0.5rem;
text-transform: uppercase;
color:#0c1f4f;
/* margin-bottom: 40px; */
}

.text--big {
font-family: 'Montserrat', sans-serif;
text-transform: uppercase;
font-size: 2.5em;
font-weight: 600;
line-height: 50px;
color:#0c1f4f;

/* margin-left: -8px; */
}

.text--normal {
font-size: 13px;
color: rgba(255, 255, 255, 0.8);
line-height: 22px;
width:50%;
color:#0c1f4f;
/* margin-top: 25px; */
}

.text__background {
font-family: 'Montserrat', sans-serif;
/* left: 72px;
bottom: -60px; */
color: rgba(0,0,0,0.05);
/* font-size: 170px; */
font-weight: 700;
color:#0c1f4f;

}

.flex__item {
height: 500px;
color: #fff;
transition: transform 0.1s linear;
}

.flex__item--left {
display: flex;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
align-items: center;
-webkit-align-items: center;
-moz-align-items: center;
-ms-align-items: center;
width: 100%;
transform-origin: left bottom;
transition: transform 0.1s linear 0.4s;
opacity: 0;
position: relative;
overflow: hidden;
}

/* .flex__item--right {
width: 35%;
transform-origin: right center;
transition: transform 0.1s linear 0s;
opacity: 0;
} */

.flex--preStart .flex__item--left,
.flex--preStart .flex__item--right,
.flex--active .flex__item--left,
.flex--active .flex__item--right {
opacity: 1;
}

/* Piplup */

.flex--piplup .flex__item--left {
background: #3e9fe6;
}

.flex--piplup .flex__item--right {
background: #d3eaef;
}

/* Pikachu */

.flex--pikachu .flex__item--left {
background: #f8d41f;
}

.flex--pikachu .flex__item--right {
background: #f4ecc5;
}

/* Blaziken */

.flex--blaziken .flex__item--left {
background: #f64f37;
}

.flex--blaziken .flex__item--right {
background: #ffebcd;
}

/* Dialga */

.flex--dialga .flex__item--left {
background: #476089;
}

.flex--dialga .flex__item--right {
background: #ade8f7;
}

/* Zekrom */

.flex--zekrom .flex__item--left {
background: #424242;
}

.flex--zekrom .flex__item--right {
background: #a7bcbb;
}

.flex__content {
width: 100%;
opacity: 1;
transform: translate3d(0,0,0);
transition: transform 0.2s linear 0.2s, opacity 0.1s linear 0.2s;
}

.pokemon__img {
position: absolute;
bottom: 20px;
right: 15%;
max-height: 40vw;
opacity: 1;
transform: translate3d(0,0,0);
transition: opacity 0.43s 0.6s, transform 0.4s 0.65s cubic-bezier(0, 0.88, 0.4, 0.93);
}

/* Animate-START point */

.flex__container.animate--start .flex__content {
transform: translate3d(0,-200%,0);
opacity: 0;
}

.flex__container.animate--start .pokemon__img {
transform: translate3d(-200px,0,0);
opacity: 0;
}

/* Animate-END point */

.flex__container.animate--end .flex__item--left {
transform: scaleY(0);
}

.flex__container.animate--end .flex__item--right {
transform: scaleX(0);
}

.flex__container.animate--end .flex__content {
transform: translate3d(0,200%,0);
opacity: 0;
}

.flex__container.animate--end .pokemon__img {
transform: translate3d(200px,0,0);
opacity: 0;
}

/* .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(14, 29, 51, 0.8)), to(rgba(14, 29, 51, 0.2)));
  background: linear-gradient(to bottom, rgba(14, 29, 51, 0.8), rgba(14, 29, 51, 0.2));
} */


@media (max-width: 767px)
{
.nav-item a{font-family: 'Montserrat', sans-serif; font-size: 0.8rem; color:#bf1d38!important; font-weight: 700;}
.navcolor{background-image: url("https://sgredlionambulance.com.sg/img/menubgm.png")!important;color: #FFF!important;   background-repeat: no-repeat;  background-position:top right;  background-size: 70%;}
.window{display: none;}
.ambuw{width:450px!important;}

.text--big {
font-size: 2em;
font-weight: 700;
line-height: 50px;
color:#0c1f4f;

/* margin-left: -8px; */
}

.text--normal {
font-size: 13px;
color: rgba(255, 255, 255, 0.8);
/* line-height: 22px; */
width:100%;
color:#0c1f4f;
/* margin-top: 25px; */
}

.abs{
bottom: 0;
left:0px;
width: calc(50% + 25px);
height: calc(50% + 10px);
transform: skew(15deg);
transform-origin: right;
background-color:#bf1d38;
z-index: -1;
}

.paddingM{
padding-right:60px;
}

.lineC{width:70px}
.mainllo{width:100px;}

.footerlogo{width:200px;}
.bigTitle{font-size: 2.7rem;}
.typewrite{font-size: 17px}

.dropdown-item{font-family: 'Montserrat', sans-serif; font-size: 0.8rem; color:#fff!important; font-weight: 600;background-color:#0c1f4f;}
.dropdown-menu{background-color:#0c1f4f;}
.dropdown-toggle{font-family: 'Montserrat', sans-serif; font-size: 0.8rem; color:#bf1d38!important; font-weight: 700;}
.dropdown-item:hover  {background-color:#bf1d38!important; color:#fff!important;}
}

@media (min-width:768px)
{
.mainllo{width:150px;}
.lineC{width:90px;}
.navcolor{background-image: url("https://sgredlionambulance.com.sg/img/menubgr.png")!important;color: #FFF!important;   background-repeat: no-repeat;  background-position:right;  background-size: 70%;}
.ambuw{width:2000px!important;}
.mobile{display: none;}
}
