/* Space out content a bit */
body {
  padding-bottom: 20px;
}

/* Everything but the jumbotron gets side spacing for mobile first views */
.header,
.marketing,
.footer {
  padding-right: 15px;
  padding-left: 15px;
}

/* Custom page header */
.header {
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;
}
/* Make the masthead heading the same height as the navigation */
.header h3 {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 40px;
}

/* Custom page footer */
.footer {
  padding-top: 19px;
  color: #777;
  border-top: 1px solid #e5e5e5;
}


/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .header,
  .marketing,
  .footer {
    padding-right: 0;
    padding-left: 0;
  }
  /* Space out the masthead */
  .header {
    margin-bottom: 30px;
  }
  /* Remove the bottom border on the jumbotron for visual effect */
  .jumbotron {
    border-bottom: 0;
  }
}


/** END narrow, BEGIN tomo */


span.wordE {
    background-color: antiquewhite;
}

.uncontainer { /* just a wrapper */ }

.header h3, .header h4 {
  padding-top: 4px;
  font-family: 'Quicksand', sans-serif;
  font-weight: bold;
  color: #00ccff;
  font-weight: bold;
    letter-spacing: -1px;
    font-size: 3em;
}

.header h4 {
    padding-top: 0px;
    font-size: 1.4em;
    line-height: 1em;
    margin: 0;
    text-transform: capitalize;
}

ul.nav.nav-pills {
    padding-top: 10px;
}

div#main-wrapper {
    font-size: 1.5em;
}

.english {
    width: 58%;
    clear: both;
    float: left;
    padding-bottom: 17px;
    border-top: 1px dashed #bed8f3;
}

body {
}

.viet {
  font-family: 'Open Sans', sans-serif;
    width: 42%;
    padding-left: 10px;
    padding-right: 10px;
    float: right;
    color: #a9a9a9;
    background-color: #fbfbfb;
    font-size: .9em;
    border-top: 1px dashed #f9d3d3;
}
.viet span {
  color: #555;
}

.inter-img {
    width: 100%;
    clear: both;
    background-color: #848484;
    text-align: center;
}

.inter-img img {
    width: 450px;
    box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
    margin: 2px 10% 2px 0;
}

span.level-hard {
    background-color: #ffe0e0;
/*    background-color: #F76F8E;*/
}
span.level-medium {
    background-color: antiquewhite;
/*    background-color: #FFEAD0;*/
}

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
    background-color: #EF2D56;
}
button.btn.btn-primary {
  width: 250px;
    background-color: #EF2D56;
    border-color: #EF2D56;
    font-size: 1.3em;
    line-height: 1.1em;
}

#mediumwords li a, #hardwords li a  {
    background-color: antiquewhite;
    color: black;
    display: inline-block;
    float: left;
    padding: 2px 8px;
    margin: 5px;
}
#hardwords li a {
    background-color: #ffe0e0;
}

#mediumwords li a.hover, #hardwords li a.hover,
.wordE.hover, .wordV.hover {
    background-color: #EF2D56;
    color: white;
}

/* replace with fontawesome icons */
#XXX #left-sidebar button:before {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';  /* essential for enabling glyphicon */
    content: "\e258";
    position: relative;
    left: -5px;
    float: left;
    color: white;
}
#XXX #left-sidebar button.collapsed:before {
    /* symbol for "collapsed" panels */
    content: "\e259";    /* adjust as needed, taken from bootstrap.css */
}

#left-sidebar button i.fa-chevron-circle-right {
  display: inline;
}
#left-sidebar button.collapsed i.fa-chevron-circle-right {
  display: none;
}
#left-sidebar button i.fa-chevron-circle-down {
  display: none;
}
#left-sidebar button.collapsed i.fa-chevron-circle-down {
  display: inline;
}

#main-article {
  padding-bottom: 220px;
  padding-right: 0px;
  background-color: whitesmoke;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #dee2d6;
    padding: 0;
    height: 240px;
    overflow: scroll;
}

footer .card {
  width: 300px;
  float: left;
  background-color: #fffbf4;
  margin: 10px;
  color: #00a7e1;
  border-radius: 2px;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
  cursor: pointer;
}

footer .card img {
  box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19)
}

footer .card .card-block {
    padding: 5px 10px;
}
span.card-block {
    display: block;
}

.card-title {
    line-height: .9em;
    margin-top: 0;
    display: block;
    clear: both;
}

.over-image {
    position: absolute;
    padding: 10px 10px 10px 20px;
    width: 300px;
    opacity: .8;
    height: 40px;
    background-color: white;
}

footer.collapsed .over-image  {
  display: none;
}

.card .viet-title {
  clear: both;
  display: inline-block;
  font-size: .9em;
  color: #7dc5e0;
}

span.hashtag {
  float: right;
  color: #ff3a3a;
}

/*
#footer-articles.collapse.in .card-group {
    display: block;
}
#footer-articles.collapse .card-group {
    display: none;
}
*/
footer {
    -webkit-transition: width 0.35s ease;
    -moz-transition: width 0.35s ease;
    -o-transition: width 0.35s ease;
    transition: width 0.35s ease;
}
footer.collapsed {
    border-radius: 5px;
    width: 90px;
    right: 0;
}
footer #footer-articles {
    -webkit-transition: width 0.35s ease;
    -moz-transition: width 0.35s ease;
    -o-transition: width 0.35s ease;
    transition: width 0.35s ease;
}
footer.collapsed #footer-articles {
  width: 0px;
  overflow: hidden;
}

/*
.collapse.width {
    -webkit-transition: width 0.95s ease;
    -moz-transition: width 0.95s ease;
    -o-transition: width 0.95s ease;
    transition: width 0.95s ease;
}
*/
footer .btn-show { display: none; }
footer .btn-hide { display: block; }
footer.collapsed .btn-show { display: block; }
footer.collapsed .btn-hide { display: none; }

@media screen and (max-width: 800px) {
  #main-article {
    padding-bottom: 0;
  }
  .footer {
    position: relative;
  }

  .english, .viet { width: initial; }
}

