html, body {
    position: relative;
    height: 100%;
}

::-moz-selection {background: rgba(0, 150, 150, 0.2);}

::selection {background:  rgba(0, 150, 150, 0.2);}

body {
/*font-family: 'Muli', sans-serif;*/
  font-family: 'Catamaran', sans-serif;
  font-size: 24px;
  line-height: 28px;
  color:#333;
  margin: 0;
  padding: 0;
  overflow-y: scroll;
  background: #222;
  overflow-x: hidden;
}

p {
	margin: 0px 0px 1em 0px;
  padding: 0;
}

a {
  color: #009595;
	outline: none;
  text-decoration: none;
}

.content10{
  width: 100%;
  margin: 0;
  padding: 0;
}

.content6{
  width: 60%;
  margin: 0 auto;
  padding: 0;
}

.content9{
  width: 90%;
  margin: 0 auto;
  padding: 150px 0 0 0;
}

.top {
  border-top: 6px solid #009595;
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  background: #222;
  z-index: 10000;
  box-shadow: 0 -5px 20px rgba(0,0,0,.2),
             0 6px 1px rgba(0,0,0,.1),
             0 0 5px rgba(0,0,0,.1),
             0 1px 3px rgba(0,0,0,.1),
             0 3px 5px rgba(0,0,0,.1),
             0 5px 10px rgba(0,0,0,.1),
             0 10px 10px rgba(0,0,0,.1),
             0 20px 20px rgba(0,0,0,.1);
}

.header {
  width: 100%;
  margin: 0;
  padding: 0;
}

.branding {
  width: 18%;
  height: 80px;
  margin: 0;
  padding: 0;background-color: #fff;
}

.branding::after {
  content: " ";
  width: 0;
  height: 0;
  border-bottom: 80px solid #fff;
  border-right: 50px solid transparent;
  position: absolute;
  left: 18%;
  top: 0;
  margin-left: -1px;
}

.branding a {
  display: block;
  height: 80px;
}

.branding h1 {
  padding: 0;
  display: block;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -2px;
  position: absolute;
  top: 0px;
  left: 5%;
}

.capitala {
  font-size: 0;
  margin: -18px 0 0 0;
  background-image: url(../img/allrail_logo.svg);
  background-repeat: no-repeat;
  background-size: cover;
  min-width: 64px;
  min-height: 46px;
  display: block;
  float: left;
}

.rail {
  color: #222;
}

.nav {
  position: fixed;
  top: 48px;
  right: 40px;
  z-index: 1;
  width: 70%;
  margin: 0 100px 0 0;
  padding: 0;
  float: right;
  list-style: none;
}

.nav a {
  color: #fff;
  float: right;
  margin: 0 20px;
  font-size: 18px;
  padding: 0 0 6px 0;
  transition: all 0.1s linear;
  -webkit-transition: all 0.1s linear;
}

.nav a:hover {
  color: #888;
  border-bottom: 4px solid #888;
}

.nav a.active {
  color: #009595 !important;
  border-bottom: 4px solid #009595;
  font-size: 20px !important;
}

#language-switch div{
  border-top: 6px solid #009595;
  font-size: 14px;
  color: #fff;
  width: 50px;
  height: 80px;
  background-color: #009595;
  position: fixed;
  z-index: 1;
  right: 0px;
  top: 0px;
  cursor: pointer;
  text-align: center;
  transition: all 0.1s linear;
  -webkit-transition: all 0.1s linear;
}

#language-switch div::before {
  content: " ";
  width: 0;
  height: 0;
  border-top: 80px solid #009696;
  border-left: 50px solid transparent;
  position: absolute;
  left: -50px;
  top: 0;
}

#language-switch span {
    color: #fff;
    padding-top: 15px;
    width: 100%;
    left: -10px;
    margin-left: 0px;
    position: absolute;
    }

#en, #fr-menu, .fr-sloganslider, .fr-copyright, .fr-privpanel, .fr-legalpanel, .fr-privlegal {
    display: none;
  }

#home-conent, #services-content, #careers-content, #contact-content {
    display: block;
  }

#home-contentfr, #services-contentfr, #careers-contentfr, #contact-contentfr {
    display: none;
  }

#services-content, #careers-content, #contact-content,
#services-contentfr, #careers-contentfr, #contact-contentfr {
    margin-top: 70px;
  }

.banner {
  width: 100%;
  height: auto;
  position: absolute;
  display: block;
  bottom: 38px;
  fill: #fff;
  background-color: rgba(0, 0, 0, 0.35);
  padding: 15px;
  left: 0;
  border-top: 1px solid #009595;
  border-bottom: 1px solid #009595;
}

.banner div {
  width: 50%;
  margin: 0 auto;
  padding: 0 0 50px 0;
}

.banner svg {
  width: 15%;
  margin: 0 12px 12px 12px;
  -webkit-filter: drop-shadow( 1px 1px 1px #000 );
        filter: drop-shadow( 1px 1px 1px #000 );
        float: left;
}

#slideshow {
    position: fixed;
    padding-top: 0px;
    top: -100px;
    z-index: -10;
    width: 100% !important;
    height: 100%;
  }

#slideshow > div {
    margin-top: 100px;
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 100%;
  }

#slideshow::after {
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    background-image: url(../img/allrail_logo.svg);
    background-repeat: no-repeat;
    background-size: 160%;
    background-position: 130% 20%;
    opacity: 0.5;
    left: 0;
    top: 0;
    }

.slogan {
  position: absolute;
  z-index: 1;
  width: 10%;
  top: 0;
  padding: 200px 0 0 10%;
  height: 100%;
}

.slogan h3 {
  margin: 0 0 46px 0;
  font-size: 60px;
  color: #fff;
  text-shadow: 0 6px 1px rgba(0,0,0,.1),
               0 0 5px rgba(0,0,0,.1),
               0 1px 3px rgba(0,0,0,.3),
               0 3px 5px rgba(0,0,0,.2),
               0 5px 10px rgba(0,0,0,.25),
               0 10px 10px rgba(0,0,0,.2),
               0 20px 20px rgba(0,0,0,.15);
}

#home, #services, #careers, #contact {
  position: relative;
  display: block;
  width: 100%;
  min-height: 100%;
  float: left;
  clear: both;
  margin: 0 0 50px 0;
  overflow: hidden;
}

#services, #careers, #contact {
  box-shadow: 0 -5px 20px rgba(0,0,0,.2),
             0 6px 1px rgba(0,0,0,.1),
             0 0 5px rgba(0,0,0,.1),
             0 1px 3px rgba(0,0,0,.1),
             0 3px 5px rgba(0,0,0,.1),
             0 5px 10px rgba(0,0,0,.1),
             0 10px 10px rgba(0,0,0,.1),
             0 20px 20px rgba(0,0,0,.1);
}
#services {
  background: #fff;
}
#careers {
  background: #999;
}
#contact {
  background: #0d4058;
}

#home img{
  width: 100%;
}

.about {
  margin-top: 160px;
  width: 100%;
  background: rgba(0, 0, 0, 0.35);

}

.about p {
  text-shadow: 1px 1px 3px #000;
  color: #fff;
  width: 100%;
  display: block;
  padding: 30px 160px 30px 30px;
  display: block;
  width: 40%;
  margin: 0 0 0 auto;
  line-height: 30px;
}

.footer {
  width: 100%;
  background: #222;
  float: left;
  clear: both;
  position: fixed;
  bottom: 0;
  z-index: 10;
}
.footer .en-copyright, .footer .fr-copyright {
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #ddd;
  padding: 5px 0;
}
#main {
  display: none;
}
h1 {
  position: absolute;
  top: 70px;
  left: 0;
  padding: 25px 0 0 5%;
  color: #009595;
  font-weight: lighter;
}
/*------------------------------------------------------------------------Services---------------------------------------------------------*/

header {
  width: 90%;
  position: absolute;
  z-index: 1;
}
.service-button {
  background: transparent;
  border: none;
  font-size: 0;
  padding: 20px;
  outline: none;
  width: 20%;
  max-width: 100%;
  display: block;
  float: left;
  cursor: pointer;
  margin: 0 0 20px 0;
  border-bottom: 6px solid #222;
}
.service-button:hover {
  color: #333;
  font-size: 18px;
}
#button2, #button3, #button4, #button5,
#button2f, #button3f, #button4f, #button5f {
  opacity: 0.15;
}
#button1:hover, #button2:hover, #button3:hover, #button4:hover, #button5:hover,
#button1f:hover, #button2f:hover, #button3f:hover, #button4f:hover, #button5f:hover {
  background: none;
}
#button1, #button2, #button3, #button4, #button5,
#button1f, #button2f, #button3f, #button4f, #button5f {
  display: block;
  height: 60px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  transition: all 0.1s linear;
  -webkit-transition: all 0.1s linear;
}
#button1, #button1f {
  background-image: url(../img/icon_car.svg);
}
#button2, #button2f {
  background-image: url(../img/icon_engin.svg);
}
#button3, #button3f {
  background-image: url(../img/icon_mech.svg);
}
#button4, #button4f {
  background-image: url(../img/icon_oper.svg);
}
#button5, #button5f {
  background-image: url(../img/icon_inter.svg);
}
section {
  overflow-x: hidden;
  overflow-y: visible;
  min-height: 750px;
  width: 100%;
  display: block;
  position: relative;
  margin-top: 0px;

}
section h2 {
  display: block;
  position: absolute;
  background: #fff;
  width: 100%;
  padding: 20px 0;
  top: 50px;
  left: 0;
}
section a:hover {
  transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  opacity: 0.5
}
section ul {
  list-style: none;
}

section ul ul, section ul ul li{
  margin: 10px 0;
}

section ul ul li::before {
  content: "\26AB";
  color: #222;
  padding-right: 15px;
  font-size: 14px;
  margin-left: -30px;
}
section ul li::before {
  content: "■";
  color: #222;
  padding-right: 15px;
  font-size: 24px;
  margin-left: -30px;
}

.service-txt {
  padding: 20px 20px 20px 40%;
  position: absolute;
  top: 150px;
  left: 0;
  z-index: 1;
  display: block;
  overflow: hidden;
  height: 500px;
  right: 0;
  border: 1px solid #eaeaea;
}
.service-txt div {
  overflow-y: auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 40%;
  padding: 25px 25px 0 0;
}
.service-txt img{
  position: absolute;
  left: 0;
  margin: 10px 0 0 30px;
  width: 35%;
}
.servic1, .servic2, .servic3, .servic4, .servic5 {
  display: block;
  width: 95%;
  position: absolute;
  top: 0px;
  padding: 0px 25px 25px 25px;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  right: 0;
}
.servic2, .servic3, .servic4, .servic5 {
  opacity: 0;
}
.servic1 {
  opacity: 1;
}
.servic1::after, .servic2::after, .servic3::after, .servic4::after, .servic5::after {
  content: " ";
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: 100% 50%;
  height: 700px;
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0;
  opacity: 0.03;
}
.servic1::after {
  background-image: url(../img/icon_car.svg);
}
.servic2::after {
  background-image: url(../img/icon_engin.svg);
}
.servic3::after {
  background-image: url(../img/icon_mech.svg);
}
.servic4::after {
  background-image: url(../img/icon_oper.svg);
}
.servic5::after {
  background-image: url(../img/icon_inter.svg);
}

#careers {
  position: relative;
  overflow: hidden;
}

#careers h1 {
  text-shadow: 1px 1px 0 #000;
}

#careers img, #contact img {
  position: absolute;
  top: 0;
  left: 0;
  min-height: 100%;
  min-width: 100%;
  z-index: 0;
}

#careers section {
  width: 70%;
}

#careers section b {
  display: block;
  width: 60%;
  font-size: 28px;
  line-height: 36px;
}

.career-list {
  width: 55%;
  background: rgba(255, 255, 255, 0.2);
  padding: 60px 20px 20px 20px;
  position: relative;
}

a.mailto {
  background: #009595;
  color: #fff;
  padding: 0 10px;
  border-radius: 20px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1), 1px 2px 4px rgba(0, 0, 0, 0.2);

}
a.resume {
  display: block;
  width: 60%;
  padding: 20px 0;
  margin: 50px auto;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid #009595;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1), 1px 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
}
a.resume:hover {
  opacity: 1;
  color: #fff;
  background-color: #009595;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.3);
  transform: scale(0.989);
  -webkit-transform: scale(0.989);
}
a.resume:active {
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2), 0px 1px 2px rgba(0, 0, 0, 0);
  transform: scale(0.985);
  -webkit-transform: scale(0.985);
}

.job-panel {
  display: none;
  position: absolute;
  z-index: 10;
  bottom: 0;
  left: 0;
  top: 0;
  right: 0;
  background: #eaeaea;
  font-size: 16px;
  line-height: 20px;
  padding: 90px 30px 15px 30px;
}

.vacancy{ display: none;
  position: absolute;
  right: 0;
  top: -50px;
  color: #fff;
  background: rgba(51, 51, 51, 0.5);
  padding: 10px;
  height: 30px;
  width: 35%;
  text-align: center;
  cursor: pointer;
}
.vacancy:hover {
  background: #009595;
  opacity: 1 !important;
}

.cntct {
  background: rgba(13, 64, 88, 0.6);
  position: absolute;
  width: 100%;
  top: 220px;
}

.contact-message {
  font-size: 22px;
  display: block;
  padding: 25px  !important;
  width: 40%;
  margin-left: 5%;
  height: 450px;
  color: #fff;

}

.contact-message h2 {
  color: #009595;
  line-height: 36px;
}

.address {
  color: #fff;
  text-shadow: 1px 1px 0 #000;
  width: 40%;
  padding: 0;
}
.address ul {
  display: block;
  width: 100%;
  list-style: none;
  position: absolute;
  padding: 25px;
  top: 0;
  height: 450px;
  margin: 0 0 0 0;
}
.address ul li {
  font-size: 26px;
  line-height: 34px;
  margin: 10px 0 !important;
}
.address ul li p {
  margin: 0 !important;
  padding: 0 0 0 55% !important;
  display: block;
}
.address ul li:first-child {
  letter-spacing: 1px;
  font-weight: bold;
  font-size: 42px;
  margin: 20px 0 20px 10px;
}
.address ul li .rail {
  color: #009595 !important;
}
.num {
  line-height: 38px !important;
}
.number {
  font-size: 38px !important;
  letter-spacing: 2px;
}
.li-bg {
  background: transparent;
}
.li-link {
  display: block;
  width: 40%;
  padding: 20px;
  text-align: center;
  margin: 30px 0;
  background-color: rgba(255, 255, 255, 0.8);
  border: 2px solid #009595;
  text-shadow: none !important;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1), 1px 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;

}
.li-link:hover {
  color: #fff;
  background-color: #009595;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.3);
  transform: scale(0.989);
  -webkit-transform: scale(0.989);
}

.li-link:active {
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2), 0px 1px 2px rgba(0, 0, 0, 0);
  transform: scale(0.985);
  -webkit-transform: scale(0.985);
}

.en-privlegal, .fr-privlegal {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  background: #009595;
  width: 300px;
  height: 100%;
}

.en-privlegal::after, .fr-privlegal::after {
  content: " ";
  width: 0;
  height: 0;
  border-bottom: 70px solid #009595;
  border-right: 40px solid transparent;
  position: absolute;
  left: 300px;
  top: 0;
  margin-left: -1px;
}

.panel-btn {
  position: absolute;
  top: 5px;
  font-size: 14px;
  color: #d9d9d9;
  cursor: pointer;
  margin: 0 10px;
}
.en-privlegal #en-privacy-btn .panel-btn {
  margin-left: 20px;
}
.en-privlegal #en-legal-btn .panel-btn {
  margin-left: 150px;
}
.fr-privlegal #fr-privacy-btn .panel-btn {
  margin-left: 20px;
}
.fr-privlegal #fr-legal-btn .panel-btn {
  margin-left: 200px;
}
.panel {
  display: none;
  position: fixed;
  z-index: 10;
  bottom: 50px;
  left: 10px;
  background: #80cbc4;
  width: 30%;
  font-size: 16px;
  line-height: 20px;
  padding: 90px 30px 15px 30px;
  box-shadow: 0 -5px 20px rgba(0,0,0,.2),
             0 6px 1px rgba(0,0,0,.1),
             0 0 5px rgba(0,0,0,.1),
             0 1px 3px rgba(0,0,0,.1),
             0 3px 5px rgba(0,0,0,.1),
             0 5px 10px rgba(0,0,0,.1),
             0 10px 10px rgba(0,0,0,.1),
             0 20px 20px rgba(0,0,0,.1);
}

.panel h1 {
  color: #333;
  position: absolute;
  top: 0;
  left: 0;
}
.panel h2 {
  font-size: 20px;
  margin-bottom: 5px;
}
.panel-close {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 0;
  background-image: url(../img/close.svg);
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
#en-privacy-panel::after, #en-legal-panel::after,
#fr-privacy-panel::after, #fr-legal-panel::after  {
  content: " ";
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid #80cbc4;
  position: absolute;
  margin-top: 15px;
}
#en-legal-panel::after,
#fr-legal-panel::after {
  margin-left: 25%;
}

.endlogo {
  width: 100%;
  position: absolute;
  top: 94%;
  border-bottom: 1px solid #fff;
  opacity: 0.6;
}

.endlogo::after {
  content: "AllRail Inc.";
  color: #fff;
  font-size: 14px;
  width: 100%;
  text-align: center;
  display: block;
  margin: 0 0 0 5px;
  position: absolute;
}
.endlogo svg {
  position: absolute;
  z-index: 100;
  width: 40px;
  left: 50%;
  bottom: 5px;
  margin: 0 0 0 -20px;
}
