/*
Responsive 996px grid system ~ Style CSS.
Copyright 2013, Josh Cope
 */

/* =============================================================================
Site Styles
========================================================================== */

/* =============================================================================
Page Styles
========================================================================== */

/* =============================================================================
Media Queries
========================================================================== */

/* Tablet Portrait size to Base 996px */
@media only screen and (min-width: 768px) and (max-width: 995px) {}

/* All Mobile Sizes */
@media only screen and (max-width: 767px) {}

/* Mobile Landscape Size to Tablet Portrait */
@media only screen and (min-width: 480px) and (max-width: 767px) {}

/* Mobile Portrait Size to Mobile Landscape Size */
@media only screen and (max-width: 479px) {}


/* =============================================================================
Font-Face
========================================================================== */
/* This is the proper syntax for an @font-face file

/* @font-face {
font-family: 'FontName';
src: url('../fonts/FontName.eot');
src: url('../fonts/FontName.eot?iefix') format('embedded-opentype'),
url('../fonts/FontName.woff') format('woff'),
url('../fonts/FontName.ttf') format('truetype'),
url('../fonts/FontName.svg#FontName') format('svg');
font-weight: normal;
font-style: normal; }
 */

/* Generated by Font Squirrel (http://www.fontsquirrel.com) on May 9, 2014 */

@font-face {
  font-family: 'trebuchet_intello';
  src: url('../font/trebuc-webfont.eot');
  src: url('../font/trebuc-webfont.eot@') format('embedded-opentype'),
  url('../font/trebuc-webfont.woff') format('woff'),
  url('../font/trebuc-webfont.ttf') format('truetype'),
  url('../font/trebuc-webfont.svg') format('svg');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'trebuchet_intello';
  src: url('../font/trebucbd-webfont.eot');
  src: url('../font/trebucbd-webfont.eot@') format('embedded-opentype'),
  url('../font/trebucbd-webfont.woff') format('woff'),
  url('../font/trebucbd-webfont.ttf') format('truetype'),
  url('../font/trebucbd-webfont.svg') format('svg');
  font-weight: bold;
  font-style: normal;

}

@font-face {
  font-family: 'trebuchet_intello';
  src: url('../font/trebucbi-webfont.eot');
  src: url('../font/trebucbi-webfont.eot@') format('embedded-opentype'),
  url('../font/trebucbi-webfont.woff') format('woff'),
  url('../font/trebucbi-webfont.ttf') format('truetype'),
  url('../font/trebucbi-webfont.svg') format('svg');
  font-weight: bold;
  font-style: italic;

}

@font-face {
  font-family: 'trebuchet_intello';
  src: url('../font/trebucit-webfont.eot');
  src: url('../font/trebucit-webfont.eot@') format('embedded-opentype'),
  url('../font/trebucit-webfont.woff') format('woff'),
  url('../font/trebucit-webfont.ttf') format('truetype'),
  url('../font/trebucit-webfont.svg') format('svg');
  font-weight: normal;
  font-style: italic;

}

body {
  font-family: "Trebuchet MS", "trebuchet_intello", "Arimo", sans-serif;
}


/* =============================================================================
Header Style
========================================================================== */

#header-wrapper {
  border-top: 8px solid #49515c;
}

#header {
  position: relative;
  padding: 0!important;
}

#header,
#header .slide { /* width: 996px!important; */ }

/* Tablet Portrait size to Base 996px */
@media only screen and (min-width: 768px) and (max-width: 995px) {

  #header,
  #header .slide { /* width: 768px!important; */ }

}

/* Mobile Landscape Size to Tablet Portrait */
@media only screen and (min-width: 480px) and (max-width: 767px) {

  #header,
  #header .slide { /*width: 456px!important;*/ }

}

/* Mobile Portrait Size to Mobile Landscape Size */
@media only screen and (max-width: 479px) {

  #header,
  #header .slide { /* width: 300px!important;*/ }

}

.header_text {
  position: relative;
  float: left;
  margin-top: 30px;
  margin-bottom: 30px;
  /* min-width: 325px;*/
}
@media only screen and (min-width: 768px) and (max-width: 995px) {
  .header_text {
    margin-left: 4%!important;
  }
}
/* All Mobile Sizes */
@media only screen and (max-width: 767px) {

  .header_text {
    text-align: center;
  }

  #ihotel.slide {
    background: url('../images/header01_mobile.jpg') right top no-repeat!important;
  }

  #waas.slide {
    background: url('../images/header_waas_mobile.jpg') center top no-repeat!important;
  }

  #casting.slide {
    background: url('../images/header_casting_mobile.jpg') center top no-repeat!important;
  }

  #phonesuite.slide {
    background: url('../images/header02_mobile.jpg') center top no-repeat!important;
  }

  #phonesuite.slide h1 img {
    max-width: 203px;
    width: 100%;
    height: auto;
  }

  #verdant.slide {
    background: url('../images/header03_mobile.jpg') right top no-repeat!important;
  }

  #lease.slide {
    background: url('../images/header04_mobile.jpg') center top no-repeat!important;
    background-repeat: no-repeat;
  }

  .header_space {
    height: 250px!important;
  }
}


## Desktop
.header_space {
  position: relative;
  height: 400px;
  float: right;
}

#ihotel.slide {
  background: url('../images/header01.jpg') right top no-repeat;
}

#waas.slide {
  background: url('../images/header_waas.jpg') right top no-repeat;
  width:100%;
}

#casting.slide {
  background: url('../images/header_casting.jpg') right top no-repeat;
  width:100%;
}

#phonesuite.slide {
  background: url('../images/header02.jpg') right top no-repeat;
}

#verdant.slide {
  background: url('../images/header03.jpg') right top no-repeat;
}

#lease.slide {
  background: url('../images/header04.jpg') right top no-repeat;
}


/* =============================================================================
Menu Style
========================================================================== */

#menus-wrapper {
  height: 86px; /* to keep the menu height in the document flow while it's sticker header/footer */
}
#menu-wrapper {
  width: 100%;
  border-top: 8px solid #49515c;
  background-color: #a1a4aa;
  z-index:110;
}

/* MENU DESKTOP */

#menu {
  display:table;
}

/* Mobile Landscape Size to Tablet Portrait */
@media only screen and (min-width: 480px) and (max-width: 767px) {

  #menu { /*width: 456px!important;*/ }

}

/* Mobile Portrait Size to Mobile Landscape Size */
@media only screen and (max-width: 479px) {

  #menu { /*width: 300px!important;*/ }

}

#menu ul {
  display: table-row;
  background-color: #a1a4aa;
  font-size: 18px;
  font-weight: normal;
  padding: 0;
}

#menu li {
  margin-top:10px;
  text-align: center;
  display: table-cell;
  line-height: 24px;
  height: 66px;
  position: relative;
}

.spacer {
  width: 4%;
}

#menu .menu_item {
  width: 9%;
}


/* All Mobile Sizes */
@media only screen and (max-width: 767px) {

  #menu .menu_item {
    width: 46%;
  }

}

.menu_item:hover {
  cursor: pointer;
}

.active {
  text-shadow: 0px 0px 5px #fff, 0px 0px 10px #fff, 0px 0px 10px #fff, 0px 0px 5px #fff, 0px 0px 10px #fff, 0px 0px 20px #fff, 0px 0px 30px #fff;
  color: #49515c;
  background-color: #dbdcdf;
}

/* MENU MOBILE */

#menu_mobile {
  display: none;
  position: absolute;
  background-color: #ccc;
  font-size: 18px;
  font-weight: normal;
  z-index: 100;
}

.menu_mobile_bottom {
  border-bottom: 8px solid #49515c;
}

.menu_mobile_top {
  border-top: 8px solid #49515c;
}

@media only screen and (max-width: 767px) {
  #menu_mobile.visible { display: block!important; }
  #menu_mobile {
    margin: 0 auto!important;
    padding: 0 4%!important;
  }
}

#menu_mobile ul {
  padding: 0;
  margin: 0 20px;
}

#menu_mobile li {
  display: block;
  text-align: center;
  margin: 0 auto;
  padding: 20px 0;
  border-bottom: 1px solid white;
}

#menu_mobile li:last-child {
  border-bottom: 0;
}

#menu_mobile .active {
  display: none;
}

/* WaaS */

#menu #waas.menu_item.active::before {
  content: " ";
  height: 8px;
  margin-top: -8px;
  margin-bottom: 12px;
  display:block;
  background-color:#ca242d;
}


#menu #waas.menu_item:hover::before {
  content: " ";
  height: 8px;
  margin-top: -8px;
  margin-bottom: 12px;
  display:block;
  background-color:#ca242d;
}

/* Casting */

#menu #casting.menu_item.active::before {
  content: " ";
  height: 8px;
  margin-top: -8px;
  margin-bottom: 12px;
  display:block;
  background-color:#b93426;
}


#menu #casting.menu_item:hover::before {
  content: " ";
  height: 8px;
  margin-top: -8px;
  margin-bottom: 12px;
  display:block;
  background-color:#b93426;
}

/* IHOTEL */

#menu #ihotel.menu_item.active::before {
  content: " ";
  height: 8px;
  margin-top: -8px;
  margin-bottom: 12px;
  display:block;
  background-color:#b6a054;
}

#menu #ihotel.menu_item:hover::before {
  content: " ";
  height: 8px;
  margin-top: -8px;
  margin-bottom: 12px;
  display:block;
  background-color:#b6a054;
}

/* PHONESUITE */

#menu #phonesuite.menu_item.active::before {
  content: " ";
  height: 8px;
  margin-top: -8px;
  margin-bottom: 12px;
  display:block;
  background-color:#2E7DCC;
}

#menu #phonesuite.menu_item:hover::before {
  content: " ";
  height: 8px;
  margin-top: -8px;
  margin-bottom: 12px;
  display:block;
  background-color:#2E7DCC;
}

/* EMS */

#menu #verdant.menu_item.active::before {
  content: " ";
  height: 8px;
  margin-top: -8px;
  margin-bottom: 12px;
  display:block;
  background-color:#0b9444;
}

#menu #verdant.menu_item:hover::before {
  content: " ";
  height: 8px;
  margin-top: -8px;
  margin-bottom: 12px;
  display:block;
  background-color:#0b9444;
}

/* EPRINTIT */

#menu #eprintit.menu_item.active::before {
  content: " ";
  height: 8px;
  margin-top: -8px;
  margin-bottom: 12px;
  display:block;
  background-color:#f99315;
}

#menu #eprintit.menu_item:hover::before {
  content: " ";
  height: 8px;
  margin-top: -8px;
  margin-bottom: 12px;
  display:block;
  background-color:#f99315;
}

/* AROMAESTRO */

#menu #aromaestro.menu_item.active::before {
  content: " ";
  height: 8px;
  margin-top: -8px;
  margin-bottom: 12px;
  display:block;
  background-color:#9ab859;
}

#menu #aromaestro.menu_item:hover::before {
  content: " ";
  height: 8px;
  margin-top: -8px;
  margin-bottom: 12px;
  display:block;
  background-color:#9ab859;
}

#menu_fixed {
  display:none;
}

.menu_fixed_bottom  {
  position: fixed;
  bottom: 0;
}

.menu_fixed_top  {
  position: fixed;
  top: 0;
}

.menu_menu { display: none!important; }

@media only screen and (max-width: 767px) {

  #menu { display:table; }

  #menu,
  #menu_fixed {
    padding: 0 4%!important;
  }

  #menu .visible_mobile { display: table-cell!important; }

  #menu .menu_mobile {
    display: none!important;
  }

}
/* =============================================================================
Content Style
========================================================================== */

#content-wrapper {

  background-color: #dbdcde;
  padding-top: 30px;
  padding-bottom: 30px;
}

#content {
  height: 100%;
}

#content-wrapper .content {
  display: none;
}

.visible { display: inline!important; }


/* Mobile Landscape Size to Tablet Portrait */
@media only screen and (min-width: 480px) and (max-width: 767px) {

  .content img {
    position: relative;
    right: 70px!important;
  }

}

/* Mobile Portrait Size to Mobile Landscape Size */
@media only screen and (max-width: 479px) {

  .content img {
    position: relative!important;
    right: 55px!important;
  }

}

/* =============================================================================
Footer Style
========================================================================== */


#footer-wrapper {
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: #49515c;
  color: #fff;
  border-top: 44px solid #a1a4aa;
}

#footer {
  /*padding:0!important;*/
}

#social {
  float: left;
  display: inline-block;
  font-style: italic;
}

#social ul {
  padding: 0;
}

#social li {
  display: inline-block;
  margin-right: 10px;
}

.inline_block {
  display: inline-block;
}

#credit {
  float: right;
  text-align: right;
  display: inline-block;
  line-height: 20px;
  font-style: italic;
}

#credit div {
  display: inline-block;
}

#powered {
  line-height: 19px;
  margin-right: 15px;
  vertical-align: top;
}

#credit img {
  margin-top: 22px;
}

/* Mobile Portrait Size to Mobile Landscape Size */
@media only screen and (max-width: 479px) {
  #credit {
    width: 190px;
    height: 100px;
  }

  #powered {
    margin-right: 0;
  }

  #credit img {
    margin-top: 0;
  }
}

/* =============================================================================
Layout Classes
========================================================================== */


.button {
  display: inline-block;
  padding: 5px 20px;
  font-size: 22px;
  cursor: pointer;
}

.italic {
  font-style: italic;
}

.bold {
  font-weight: bold;
}

h1 {
  font-size: 46px;
  margin: 0;
}

h2 {
  font-size: 30px;
  font-weight: normal;
}

h3 {
  font-size: 20px;
  font-weight: bold;
}

body {
  background: #fff;
  color: #49515c;
  font-size: 20px;
  height: auto;
}

.button a,
#menus-wrapper a {
  text-decoration: none;
  color: inherit;
}

@media only screen and (min-width: 768px) and (max-width: 995px) {

  h1 {
    font-size: 34px;
    margin: 0;
  }

  h2 {
    font-size: 22px;
    font-weight: normal;
  }
}


/* Mobile Landscape Size to Tablet Portrait */
@media only screen and (min-width: 480px) and (max-width: 767px) {

  h1 {
    font-size: 30px;
    margin: 0;
  }

  h2 {
    font-size: 22px;
    font-weight: normal;
  }

  h3 {
    font-size: 18px;
    font-weight: bold;
  }

}

/* Mobile Portrait Size to Mobile Landscape Size */
@media only screen and (max-width: 479px) {

  h1 {
    font-size: 24px;
    margin: 0;
  }

  h2 {
    font-size: 14px;
    font-weight: normal;
  }

  h3 {
    font-size: 18px;
    font-weight: bold;
  }

}

@media only screen and (max-width: 767px) {
  .button {
    display:block;
    text-align: center;
    font-size: 18px;
    width: 80%;
    margin: 0 auto;
  }

  h3 {
    font-size: 22px;
  }

  body {
    background: #fff;
    color: #49515c;
    font-size: 16px;
    height: auto;
  }
}



/* =============================================================================
Color Scheme
========================================================================== */

.bg_white { background-color: #ffffff; }
.tx_white { color: #ffffff; }

.bg_darkblue { background-color: #49515c; }
.tx_darkblue { color : #49515c; }

.bg_grey { background-color: #a1a4aa; }
.tx_grey { color: #a1a4aa; }

.bg_lightgrey { background-color: #dbdcde; }
.tx_lightgrey { color: #dbdcde; }

.bg_gold { background-color: #b6a054; }
.tx_gold { color: #b6a054; }

.bg_turquoise { background-color: #00aaad; }
.tx_turquoise { color: #00aaad; }

.bg_green { background-color: #0b9444; }
.tx_green { color: #0b9444; }

.bg_blue { background-color: #2E7DCC; }
.tx_blue { color: #2E7DCC; }

.tx_black { color: black; }


.bg_yellow { background-color: #ff9e00; }
.tx_yellow { color: #ff9e00; }

.bg_red_casting { background-color: #b7352c; }
.tx_red_casting { color: #b7352c; }

.bg_red_waas { background-color: #c82733; }
.tx_red_waas { color: #c82733; }


/* =============================================================================
Slider
========================================================================== */

#header{
  /*width: 120px;  Defines the size of the visible part of the carousel
  Attention : if you only want to see plain items in the viewport,
  the width of the viewport should take into account of :
  - the items width
  - the right and left padding of items
  - the number of items you want to see in the viewport
   */
overflow:hidden; /* Hides extra elements, those outside the viewport area */
}

#carousel {
  position: relative; /* Enables positionning of elements inside viewport */
  padding: 0; /* Resets default - User Agent - style */
}

.slide{
  /* width: 100px;  Defines the size of inner element
  height: 50px;*/
vertical-align: top;
float: left; /* Places list items side by side*/
list-style: none; /* Resets default - User Agent - style */
overflow:hidden; /* Hides extra elements, those outside the viewport area */

}

/* Carousel Navigation */
#simplePrevious, #simpleNext {
  position: absolute;
  top: 188px;
  vertical-align: middle;
  font-size: 44px;
  cursor: pointer;
  margin: 0 10px;
  opacity: 0.4;
  /*display:none;*/
}

#simplePrevious:hover,
#simpleNext:hover {
  opacity: 0.8;
}

#simplePrevious {
  left: 0;
  float: left;
}

#simpleNext {
  right: 0;
  float: right;
}

#youtube_iframe {
  max-width: 100%;
}

@media screen and ( max-width: 995px ) {

  #youtube_iframe {
    width: 432px;
    height: 243px;
  }

}

@media screen and ( max-width: 480px ) {

  #youtube_iframe {
    height: 56.25%;
    height: 56.25vw;
  }

}
