/*!
* Developer: Urban Shed (www.urbanshed.com)
* Copyright: © 2015 Dial E For English
*/

@font-face {
  font-family: 'NeutraText-Light';
  src: url('../fonts/NeutraText-LightAlt.ttf') format('truetype');
}

/* MAIN */

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'NeutraText-Light';
  font-size: 20px;
  -webkit-tap-highlight-color: #222;
}

a {
  color: rgba(134,187,206, .8);
  -webkit-transition: all .35s;
  -moz-transition: all .35s;
  transition: all .35s;
}

a:hover,
a:focus {
  color: rgba(134,187,206, 1);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'NeutraText-Light';
}

h1 {
  padding-top: 50px;
  font-size: 1.5em;
  letter-spacing: .5px;
}

h2 {
  font-size: 35px;
  margin-bottom: 20px;
}

p {
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.2;
}

footer {
  padding: 50px 0;
  height: 100px;
}

aside {
  padding: 50px 0;
}

header {
  position: relative;
  padding-bottom: 60px;
  width: 100%;
  min-height: auto;
  text-align: center;
  color: #fff;
  background: url(../img/header-bg-mobile.jpg) left top scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}

header .header-content {
  position: relative;
  width: 100%;
  padding: 100px 15px;
  text-align: center;
}

header .header-content .header-content-inner h1 {
  margin-top: 0;
  margin-bottom: 0;
  text-transform: uppercase;
  font-weight: 700;
}

header .header-content .header-content-inner hr {
  margin: 30px auto;
}

header .header-content .header-content-inner p {
  margin-bottom: 50px;
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,.7);
}

img {
  max-width: 100%;
  height: auto;
}

li {
  padding: 5px;
  list-style-type: none;
}

section li {
  margin-bottom: 20px;
}

section ul {
  padding-left: 0;
}

/* CUSTOM CLASSES */

.bg-light-grey {
  background-image: url("../img/vintage_speckles_darker.png");
  background-color: #D8D8D8;
}

.bg-white {
  background-image: url("../img/vintage_speckles.png");
  background-color: #fff;
}

.btn-primary {
  border-color: rgba(134,187,206, .8);
  color: #fff;
  background-color: rgba(134,187,206, .8);
  -webkit-transition: all .35s;
  -moz-transition: all .35s;
  transition: all .35s;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  border-color: rgba(134,187,206, 1);
  color: #fff;
  background-color: rgba(134,187,206, 1);
}

.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
  background-image: none;
}

.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
  border-color: rgba(134,187,206, .8);
  background-color: rgba(134,187,206, .8);
}

.btn-primary .badge {
  color: #f05f40;
  background-color: #fff;
}

.btn {
  border: 0;
  border-radius: 300px;
  text-transform: uppercase;
  font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif;
  font-weight: 700;
}

.callout-companies {
  background: url("../img/group-companies-mobile.png") no-repeat center center fixed;
  height: 613px;
}

.container-fluid {
  padding-left: 30px;
}

.contact {
  position: absolute;
  top: 20px;
  right: 20px;
}

.contact li {
  margin-bottom: 15px;
  margin-right: 10px;
}

.carousel-control {
  color: #333;
  text-shadow: none;
  font-size: 48px;
}

.carousel-control:focus, .carousel-control:hover {
  color: #222;
}

.carousel-control.left, .carousel-control.right { 
  background: none !important; 
  filter: progid:none !important;
}

.img-responsive {
  display: inline-block;
}

.impressum-modal .close-modal {
  position: absolute;
  width: 75px;
  height: 75px;
  background-color: transparent;
  top: 25px;
  right: 25px;
  cursor: pointer;
}

.impressum-modal .close-modal .lr {
  height: 75px;
  width: 1px;
  margin-left: 35px;
  background-color: #222;
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  z-index: 1051;
}

.impressum-modal .close-modal .rl {
  height: 75px;
  width: 1px;
  background-color: #222;
  transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  z-index: 1051;
}

.impressum-modal .modal-content {
  border: 0;
  min-height: 100%;
  padding: 100px 0;
  border-radius: 0;
  box-shadow: none;
  background-clip: border-box;
}

.impressum-img {
  padding-top: 30px;
}

.impressum-main {
  padding-top: 30px;
}

.logo {
  top: 20px;
  left: 20px;
  height: 180px;
  width: 180px;
  background: url('../img/dial-e-for-english-logo.png') no-repeat center center;
  background-size: 100%;
}

.logo-companies {
  height: 90px;
  width: 90px;
  background: url('../img/dial-e-for-english-logo.png') no-repeat center center;
  background-size: 100%;
  position: absolute;
  margin: 10px 0 0 -50px;
  left: 50%;
}

.navigation,
.navigation-header {
  text-align: center;
}

.navigation li {
  max-width: 100px;
}

.padding {
  padding-bottom: 50px;
}

.profile {
  text-align: right;
  padding-bottom: 20px;
}

.text-small {
  font-size: 12px;
}

a .text-small {
  font-size: 15px;
}

/* IMAGES */

.callout-companies {
  background: url("../img/group-companies-callout-mobile.png") no-repeat center center scroll;
  background-size: 100% 100%;
  height: 600px;
}

.callout-london {
  background: url("../img/london-callout-mobile.jpg") no-repeat center center scroll;
  background-size: 100%;
  height: 400px;
}

.mail,
.phone {
  min-width: 31px;
  max-width: 280px;
  max-height: 30px;
}

@media(min-width:  768px) {
  .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next, .carousel-control .icon-prev {
    font-size: 48px;
  }

  .logo-companies {
    height: 95px;
    width: 95px;
    background: url('../img/dial-e-for-english-logo.png') no-repeat center center;
    background-size: 100%;
  }
}

@media(min-width:992px) {
  /* MAIN */
  header {
    min-height: 100%;
    background: url(../img/header-bg.jpg) no-repeat left top fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
  }

  header .header-contents {
    padding-top: 50px;
  }

  header .header-content .header-content-inner {
    margin-right: auto;
    margin-left: auto;
    max-width: 1000px;
  }

  header .header-content .header-content-inner p {
    margin-right: auto;
    margin-left: auto;
    max-width: 80%;
    font-size: 18px;
  }

  h1 {
    padding-top: 50px;
    font-size: 2em;
  }

  h2 {
    font-size: 48px;
    margin-bottom: 20px;
  }

  p {
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 1.2;
  }

  li {
    display: inline-block;
  }

  section li {
    margin-right: 70px;
  }
  

  /* CUSTOM CLASSES */  
  a .text-small {
    font-size: 22px;
  }
  
  .container-fluid {
    padding-left: 75px;
  }

  /* IMAGES */ 
  .logo {
    position: relative;
    top: -10px;
    left: -10px;
    height: 250px;
    width: 250px;
    background: url('../img/dial-e-for-english-logo.png') no-repeat center center;
    background-size: 100%;
  }

  .contact {
    position: absolute;
    top: 15px;
    right: 30px;
  }

  .callout-companies {
    background: url("../img/group-companies-callout.png") no-repeat center center fixed;
    background-size: 100% 100%;
    height: 613px;
  }

  .logo-companies {
    margin-top: 0;
    position: relative;
    top: 30%;
    left: 45%;
    height: 250px;
    width: 250px;
    background: url('../img/dial-e-for-english-logo.png') no-repeat center center;
    background-size: 100%;
    display: block;
  }

  .callout-london {
    background: url("../img/london-callout.jpg") no-repeat center center fixed;
    background-size: 100% 100%;
    height: 613px;
  }

  .navigation,
  .navigation-header {
    text-align: left;
    margin-left: -15px;
  } 

  .navigation li {
    max-width: 120px;
    margin-right: 10px;
  }

  .text-small {
    font-size: 18px;
  }
}

@media only screen 
  and (min-device-width: 768px)
  and (max-device-width: 1024px) 
  and (orientation: landscape) {

  .callout-companies {
    background: url("../img/group-companies-callout.png") no-repeat center center scroll;
    background-size: 100% 100%;
    height: 100%;
  }

  .callout-london {
    background: url("../img/london-callout-mobile.jpg") no-repeat center center scroll;
    background-size: 100%;
    height: 400px;
  }

  .container-fluid {
    padding-left: 75px;
  }

  .logo-companies {
    display: none;
  }

  header {
    min-height: 100%;
    background: url(../img/header-bg.jpg) no-repeat left top scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
  }

  header .header-contents {
    padding-top: 50px;
  }

  header .header-content .header-content-inner {
    margin-right: auto;
    margin-left: auto;
    max-width: 1000px;
  }

  header .header-content .header-content-inner p {
    margin-right: auto;
    margin-left: auto;
    max-width: 80%;
    font-size: 18px;
  }

  .navigation,
  .navigation-header {
    text-align: left;
    margin-left: -15px;
  } 

  .navigation li {
    max-width: 120px;
    margin-right: 10px;
  }
}