/*
    AUTHOR AND PROGRAMMER: Eldar Feldbeine, Raul Garay
    SPRINT: 1, 2, 3, 4, 5, 6, 7
*/
html, body {
  margin: 0;
  padding: 0;
  height: 100%; 
  overflow-x: hidden;
  position: relative;
  font-family: 'Lato', sans-serif;
  background: #3184a1; 
}
#page {
  position: relative; 
  z-index: 20; 
  padding: 15px;
  min-height: 100vh;
  background: #f1f1f1;
  overflow-y: hidden;
  overflow-x: hidden;
  padding-top: 20px;
}
#toggle-menu2 {
  color: white;
  position: fixed;
  background-color: #3184a1;
  height: 35px;
  width: 100%;
  z-index: 30;
}
#toggle-menu {
  margin-left: 6px;
}
#middle-header {
  float: right;
  font-size: 24px;
  margin-top: 5px;
  margin-right: 10px;
}
#login-btns {
  background-color: #f1f1f1;
  border-radius: 0px;
  margin-left: 10px;
  margin-top: 6px;
  padding: 2px;
  border-radius: 4px;
}
#login-dropdown-list {
  margin-right: 150px;
}
#menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;

  width: 190px;
  padding: 30px 25px;
  margin: 0;

  list-style: none;
  background: #3184a1;
  z-index: 10; 
}
#menu #menua {
  border-bottom: 1px solid rgba( 0, 0, 0, 0.2 );
  padding: 15px 0;
}
#menu a{
  display: block;
  color: #E5E9EA;
}
#menu .menun{
  padding: 7px 0;
}
#menu #menuan{
  border-bottom: 1px solid rgba( 0, 0, 0, 0.2 );
}
/* Show the menu when animating or visible */
.animating #menu, .menu-visible #menu {
  display: block;
}

.animating #page {
  transition: transform .25s ease-in-out;
  -webkit-transition: -webkit-transform .25s ease-in-out;
}

.animating.left #page {
  transform: translate3d( -240px, 0, 0 );
  -webkit-transform: translate3d( -240px, 0, 0 );
}

.animating.right #page {
  transform: translate3d( 240px, 0, 0 );
  -webkit-transform: translate3d( 240px, 0, 0 );
}

.menu-visible #page {
  left: 240px;
  overflow: hidden;
}
#page, #menu {
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
}
#pagemask {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 240;
  overflow: hidden; 
  width: 0;
  height: 0;
  background-color: #fff;
  opacity: 0;
}

.animating #pagemask, .menu-visible #pagemask{
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.0;
}

#search-container {
  margin-top: 30px;
  
}
#divSearch {
  position: relative;
  height: 87%;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden; 
}
#divSearchh {
  height: 23%;
  width: 100%;
  overflow-y: hidden;
  overflow-x: hidden; 
}
#ulSearch {
  list-style-type: none;
  padding-left: 0;
}

.official-name-container {
  top: -25px;
  position: relative;
  background-color: rgba(0,0,0,0.6);
  height: 25px;
  width: 86px;
  border-radius: 0 0 10px 10px;
  text-align: center;
}

.official-name {
  font: 12px 'Lato', Verdana, sans-serif;
  word-wrap: break-word;
  color: white;
  line-height: 90%;
  vertical-align: middle;
  display: inline-block;
}
.officeName {
  font: bold italic 12px/1.5 Helvetica, Verdana, sans-serif;
}
#rep-img-container {
  float: left;
  margin: 0 0 20px 10px;
  padding: 2px;
  background-color: #3184a1;
  height: 100px;
  width: 90px;
  border-radius: 10px;
}

#imgSearch {
  height: 96px;
  width: 86px;
  border-radius: 10px;
}
#imgSearchh {
  float: left;
  margin: 0 15px 0 0;
  height: 100px;
  width: 100px;
  border-radius: 50px;
}
#officialName {
  margin-bottom: 0;
}
#pSearch {
  font: 200 12px/1.5 Georgia, Times New Roman, serif;
  margin-top: 0;
}
#liSearch {
  padding: 10px;
  overflow: hidden;
}
#liSearch:hover {
  background: #eee;
  cursor: pointer;
}
#liSearchh{
  padding: 10px;
  overflow: hidden;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0;
}
td, tr {
  border: 0;
  padding: 0;
}
.question-group, #question-group   {
  margin-bottom:20px;
  background:#EEE;
  padding:20px;
}
.question-group label, #question-group label {
  font-size:18px;
}
.message {
  position: relative;
  margin-top: .5rem;
  padding: .25rem 2rem .1rem 3rem;
  padding-top: 0.25rem;
  padding-right: 2rem;
  padding-bottom: 0.1rem;
  padding-left: 4rem;
  min-height: 36px;
}
.message-history {
  position: relative;
  overflow-x: hidden;
  height: 75%;
  width: 100%;
  padding: 0 18px 0 1.5rem;
}
.message-historyy {
  position: relative;
  overflow-x: hidden;
  height: 65%;
  width: 100%;
  padding: 0 18px 0 1.5rem;
}
.message_profile-pic {
  position: absolute;
  left: 0;
  display: block;
  -moz-border-radius: 0.2rem;
  -webkit-border-radius: 0.2rem;
  border-radius: 0.2rem;
  width: 36px;
  height: 36px;
  background-image: url("http://i.imgur.com/LikUNLc.png");
  background-size: cover;
}
.message_username {
  font-weight: 900;
  padding-right: .25rem;
  color: #3d3c40 !important;
  margin-left: 0;
  font-style: normal;
  text-decoration: none;
}
.message_timestamp {
  text-align: left;
  display: inline;
  position: relative;
  top: 0;
  left: 0;
  color: #babbbf;
  font-size: 12px;
  line-height: 1.2rem;
  width: 36px;
  margin-right: 0;
  margin-left: 0;
}
.message_content {
  color: #333;
  font-style: italic;
  display: block;
  min-height: 1rem;
}
.input-box {
  height: 100%;
  /* margin-left: 220px; */
  margin-bottom: 200px;
  overflow-y: hidden;
}
.input-box_text {
  width: 90%;
  margin-left: 2%;
  margin-bottom: auto;
  line-height: 1.2rem;
  border: 2px solid #e0e0e0;
  -moz-border-radius: 0.2rem;
  -webkit-border-radius: 0.2rem;
  border-radius: 0.2rem;
  -moz-background-clip: padding-box;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  color: #3d3c40;
  -webkit-appearance: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  outline: 0;
  bottom: 0;
  min-height: 41px !important;
  padding: 9px 5px 9px 8px;
  overflow-y: hidden;
}
.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  height: 10%;
  width: 100%;
  overflow-y: hidden;
}
#wellid {
  min-height: 20px;
  padding: 5px;
  margin-bottom: 200px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}
#election-container {
  width: 100vw;
  margin-left: -15px;
  padding: 20px 15px 0 15px;
  border-bottom: 1px solid silver;
  font-family: 'Lato', sans-serif;
}
#election-header {
  margin-bottom: 20px;
}
#voting {
  font-size: 18px;
  font-weight: bold;
}
#electionDay {
  margin-bottom: 20px;
  color: #3184a1;
}
#elections-arrow {
  float: right;
  width: 30px;
}
.election-info {
  width: 100vw;
  margin-left: -15px;
  background-color: white;
}
#resource-header {
  text-align: center;
  margin-bottom: 5px;
  padding-top: 10px;
  font-size: 18px;
  text-decoration: underline;
  width: 100vw;
}
#resources {
  text-align: center;
  font-size: 15px;
  padding-bottom: 10px;
}
#selectChat{
  right:0;
  bottom: 0;
}
#check{
  position: absolute;
  height: 100%;
  width: 99%;
}
#petiTable{
  padding-left: 5px;
}
/* For text inside horizontal line in Representatives section */
#hr-text-container {
  margin-left: auto;
  margin-right: auto;
  width: 90%; 
  text-align: center; 
  border-bottom: 1px solid orange; 
  line-height: 0.1em;
  /*margin: 10px 0 20px; */
} 

#hr-text { 
    color: orange;
    background: #f1f1f1;
    padding:0 10px;
}
#petiTablee{
  border-left: thick solid #CCCCCC;
}
.repchan{
  position: fixed;
}
#rephr {
    border: 0;
    border-top: 1px solid #eee;
    border-color:#3184a1; 
    width:90%; 
    margin-left:12px;
    margin-top: 5px;
    margin-bottom: 0px;
}
.login-card {
  padding: 40px;
  width: 274px;
  background-color: #F7F7F7;
  margin: 0 auto 10px;
  border-radius: 2px;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  font-family: 'Roboto', sans-serif;
}
.login-card h1 {
  font-weight: 100;
  text-align: center;
  font-size: 2.3em;
}
.login-card input[type=text], input[type=password] {
  height: 44px;
  font-size: 16px;
  width: 100%;
  margin-bottom: 10px;
  -webkit-appearance: none;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-top: 1px solid #c0c0c0;
  border-radius: 2px;
  padding: 0 8px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}
.login-card input[type=submit] {
  width: 100%;
  display: block;
  margin-bottom: 10px;
  position: relative;
}
.login-submit {
  border: 1px solid #3079ed;
  border: 0px;
  color: #fff;
  text-shadow: 0 1px rgba(0,0,0,0.1);
  background-color: #4d90fe;
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4d90fe), to(#4787ed));
}
.login {
  text-align: center;
  font-size: 14px;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  height: 36px;
  padding: 0 8px;
  border-radius: 3px;
}
.login-help {
  width: 100%;
  text-align: center;
  font-size: 12px;
}
.login-card a {
  text-decoration: none;
  color: #666;
  font-weight: 400;
  text-align: center;
  display: inline-block;
  opacity: 0.6;
  transition: opacity ease 0.5s;
}