/**
 * Body CSS
 */

html,
body {
  height: 100%;
}

html,
body,
input,
textarea,
button {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
}

body {
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial;
}

body {
  display: flex;
  flex-direction: column;
}

/**
 * Header CSS
 */

header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  transition: left 0.2s;
}

header ul.mui-list--inline {
  margin-bottom: 0;
}

header a {
  color: #fff;
}

header table {
  width: 100%;
  border-spacing:0;
}

header table td {
  padding:0;
}

#sidedrawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 250px;
  left: -250px;
  overflow: auto;
  z-index: 2;
  background-color: #fff;
  transition: transform 0.2s;
  border-right:1px solid #e0e0e0;
}


/**
 * Content CSS
 */

#content-wrapper {
  flex: 1 0 auto;

  overflow-x: hidden;
  margin-left: 0px;
  transition: margin-left 0.2s;
}

/**
 * Footer CSS
 */

footer {
  flex-shrink: 0;
  padding-bottom: 30px;
  background-color: #444;
  margin-left: 0px;
  transition: margin-left 0.2s;
}      

footer ul{
  margin-bottom:0;
}

@media (min-width: 768px) {
  header {
    left: 250px;
  }

  #sidedrawer {
    transform: translate(250px);
  }

  #content-wrapper {
    margin-left: 250px;
  }

  footer {
    margin-left: 250px;
  }

  body.hide-sidedrawer header {
    left: 0;
  }

  body.hide-sidedrawer #sidedrawer {
    transform: translate(0px);
  }

  body.hide-sidedrawer #content-wrapper {
    margin-left: 0;
  }

  body.hide-sidedrawer footer {
    margin-left: 0;
  }
}


/**
 * Toggle Side drawer
 */
#sidedrawer.active {
  transform: translate(250px);
}


/**
 * Header CSS
 */
.sidedrawer-toggle {
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 20px;
  margin-right: 10px;
}

.sidedrawer-toggle:hover {
  color: #fff;
  text-decoration: none;
}

/**
 * Side drawer CSS
 */
#sidedrawer-brand {
  padding-left: 20px;
}

#sidedrawer ul {
  list-style: none;
}

#sidedrawer > ul {
  padding-left: 0px;
}

#sidedrawer > ul > li:first-child {
  padding-top: 15px;
}

#sidedrawer strong {
  display: block;
  padding: 15px 22px;
  cursor: pointer;
}

#sidedrawer strong:hover {
  background-color: #E0E0E0;
}

#sidedrawer strong + ul > li {
  padding: 6px 0px;
}


/* Helpers */
.checked {
  color: orange;
}

.hidden{
  display:none;
}

/* Get listed page */
#faq h4{
  cursor:pointer;
}

/* Overall */
h1{
  margin-top:0;
  margin-bottom:0;
}

/* Product guides */
.img_helper {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.video-wrapper{
    max-width: 560px;
}

.aspect-ratio-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.aspect-ratio-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Company pages */
.list_with_icons {
  line-height:1.8rem;
}

.list_with_icons > li > i {
  vertical-align:middle; 
  font-size:1.3rem; 
  margin-right:10px;
}

/* Product pages */
.company_item_img img{
  max-height:70px;
  vertical-align:middle; 
}

.company_item{
  border-bottom:1px solid #eee; 
}

@media (min-width: 768px) {
  .company_item{
    display:block; 
    height:70px; 
    padding:2px;
  }
  .company_item > div{
    line-height: 70px;
  }
}

.overflow-ellipsis{
  text-overflow: ellipsis; 
  white-space: nowrap; 
  overflow: hidden;  
}

