@import url(http://fonts.googleapis.com/css?family=Raleway:100,400,300,700);
@font-face {
    font-family: FontAwesome;
    src: url(/static/img/fontawesome.woff);
}

body {
  
  font-family: 'Raleway', Helvetica; 
  font-weight: 400;
  background-image:url('/static/img/background_texture.png');
  background-repeat:repeat;
  color: #D8D8D8;
}

#about-images {
   width: 100%;
}

#about-images img {
    min-width: 250px;
    max-width: 80%;
}


a{
  color: #D8D8D8;
}

.accent{
  color: #70B126;
  pointer-events: none;
}

a:hover{
  color: #70B126;
}


a:hover {
  text-decoration: none; 
}

.navbar{
  border-radius: 0px;
}
nav.navbar {
  height: 50px;
  background-color: #FFF; 
  border-bottom: 1px solid #979797;
  margin-bottom: 0px;
}
nav.navbar a#logo {
  margin-top: -8px;
  margin-left: 0px;
  margin-right: 35px;
}
nav.navbar li a {
  color: #2D2C2C;
  margin-top: 11px;
  padding-left: 30px;
  padding-right: 30px;
  border-right: 1px solid #2D2C2C;
  font-size: 19px;
  line-height: 0px;
  text-transform: uppercase; 
}

nav.navbar li .no-right-border {
  border-right: 0px;
}
nav.navbar li a:hover{
  color: #70B126 !important;
}

nav.navbar button {
  margin-top: 20px; 
}


.voting-pane{
  height: 550px;
  padding-top: 40px;
}

.voting-pane .vote-count{
  /*height: 50px;*/
  clear: both;
  text-align: center;
  position: relative;
  top:25px;
}

.vote-count h3{
  font-size: 30px;
}
.vote-count h3 span{
  color: #70B126;
}


div.max1024{
  max-width: 1024px;
  margin: 0 auto;
  clear: both;
}

div.half-split{
  width: 50%;
  float:left;
}

div.third-split{
  width: 33%;
  float:left;
}

div.metric{
  text-align: center;
  margin-top: 0px;
  margin-bottom: 40px;
  position: relative;
  -webkit-touch-callout: none;
  -webkit-user-select: none; /* Webkit */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none; 
}

div.metric div.change-metric{
  position: absolute;
  right:100px;
  top:13px;
  font-size: 15px; 
  cursor: pointer;


}

div.metric div.change-metric:hover{
  color: #70B126;
}

div.voting-options{
  width:800px;
  margin: 0 auto;
}

div.voting-options div.contestant{
  float:left;
  width: 350px;
  height: 350px;
  text-align: center;
  position: relative;
}

div.voting-options div.contestant h2{
  font-size: 20px;
  margin-top: 5px;
  margin-bottom: 10px;
}

div.voting-options div.contestant img{
  height: 300px;
  width:300px;

}

div.voting-options div.equal{
  width: 100px;
}

div.voting-options div.equal div.contestant-button{
  height: 200px;
  background-color: #2D2C2C;
  line-height: 200px;
  margin-top:50px;
}

span.info-button:before{
  font-family: FontAwesome;
  content: "\f05a";

}

span.info-button{
  font-size: 25px;
  color: #979797;
}

span.info-button:hover{
  cursor: pointer;
  color: #70B126;
}

span.info-left{
  position:absolute;
  top: 0px;
  left: -15px;
}

span.info-right{
  position:absolute;
  top: 0px;
  right: -15px;
}


div.info-pane{
  width: 830px;
  margin: 0 auto;
}





div.info-content{
  width: 830px;
  position:absolute;
  top:80px;
  background: rgba(255,255,255,0.95);
  height: 457px;
  color: #2D2C2C;
  padding:10px;
  z-index: 101;
  border: 2px solid #70B126;
}

div.results-info-content{
  top:200px;
}

.animate-in.ng-enter{
  -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
  transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
}

.animate-if.ng-enter, .animate-if.ng-leave {
  -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.25s;
  transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.25s;
}

.animate-in.ng-enter,
.animate-in.ng-leave.ng-leave-active,
.animate-if.ng-enter,
.animate-if.ng-leave.ng-leave-active {
  opacity:0;
}

.animate-in.ng-leave,
.animate-in.ng-enter.ng-enter-active,
.animate-if.ng-leave,
.animate-if.ng-enter.ng-enter-active {
  opacity:1;
}

div.info-content a{
  color: #2D2C2C;
  text-decoration: underline;
}

div.info-content a:hover{
  color: #70B126;
}

div.info-text{
  float:left;
  width: 500px;
}

div.info-images{
  float:right;
  width:200px;
  margin-top: 27px;
}
div.info-content h1{
  margin:0;
  margin-bottom: 10px;
  font-size: 25px;
}

div.info-content h1 span{
  font-size: 12px;
}

div.info-content h3{
  margin:0;
  margin-bottom: 10px;
  font-size: 15px;
}

div.info-content h4{
  margin:0;
  margin-bottom: 10px;
  font-size: 22px;
}

div.info-content img{
  width: 200px;
  height: 200px;
  margin-bottom: 5px;
}

div.close-info-pane{
  width:100%;
  height:550px;
  position: absolute;
  top:50px ;
  left: 0;
  z-index: 100;
}

div.results-close-info-pane{
  height: 760px;

}

span.close-info{
  position: absolute;
  right: 10;
}

span.close-info:hover{
  cursor: pointer;
  color: #70B126;
}


.contestant-button{
  border: 6px solid #979797;
}

.contestant-button:hover{
  cursor:pointer;
  border: 6px solid #70B126;
  color: #70B126;
}

.contestant-button:hover + h2{
  color: #70B126;
}

.global-votes{
  text-align: center;
  font-size: 20px;
  line-height: 5px;
}

/*---------*/
/*Front-About*/
/*---------*/
div.front-about{
  background: url(/static/img/about-bg.png) ; 
  height: 500px;
  border-top: 5px solid #979797;
}

div.front-about div.about-content{
  font-size: 30px;
  width:800px;
  padding:50px;
  text-align: center;

}
/*---------*/



/*---------*/
/*Results Page*/
/*---------*/
div.metric-dropdown{
  width:600px;
  margin: 0 auto;
  text-align: center;
  /*border: 1px solid white;*/
  font-size: 25px;
  height: 50px;
  margin-top: 20px;
  margin-bottom: 20px;
  position: relative;
  z-index: 200;
}

div.metric-dropdown p{
  float:left;
}
div.metric-dropdown ul{
  list-style-type: none;
  float:left;
  text-align: left;
  padding-left: 10px;
  position: absolute;
  left: 180px;

  
}

div.metric-dropdown ul li.unselected-metric{
  cursor: pointer;
  background-color: #2D2C2C;
  border: 1px solid #3D3D3C;

}

div.metric-dropdown ul li.unselected-metric .accent{
  color: #D8D8D8;
}

div.metric-dropdown ul li.unselected-metric:hover .accent{
  color: #70B126;
}

div.metric-dropdown ul li.selected-metric{
  text-decoration: underline;
}

div.result-grid{
  width: 800px;
  clear: both;

  margin: 0 auto;
  height: 600px;
}

div.result{
  width: 190px;
  height:190px;
  margin: 5px;
  float: left;
  position: relative;
  border: 1px solid #666;
}

div.result:hover{
  cursor:pointer;
  border: 1px solid #70B126;
  -webkit-transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
  transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
}

div.result img{
  float:left;
  width: 188px;
  height: 188px;

}


div.result h3{
  margin: 0px;
  position: absolute;
  top:0;
  width: 188px;
  text-align: center;
  background-color: rgba(0,0,0,0.5);
  font-size: 13px;
  padding: 5px;
  pointer-events: none;
}

div.result h4{
  margin:0px;
  position: absolute;
  bottom:0;
  width: 188px;
  text-align: center;
  background-color: rgba(0,0,0,0.8);
  font-size: 13px;
  padding: 5px;
  pointer-events: none;
}

div.more-results{
  height:50px;
  width:800px;
  margin: 0 auto;
}

div.more-results h3{
  font-size: 20px; 
  cursor: pointer;
  text-align: right;
  float:right;
}

div.more-results h3:hover{
  color:#70B126;
}
/*---------*/



/*---------*/
/*Profile Page*/
/*---------*/
div.profile-pane{
  position: relative;
  width:800px;
  margin: 0 auto;
}

div.profile-pane div.profile-header{
  border-bottom: 1px solid #666;
}
div.profile-pane h1{
  font-size: 30px;
  width: 695px;

}

div.profile-pane h3.profile-wiki-link{
  position: absolute;
  top:-5px;
  right: 10px;
  width: 100px;
  font-size:20px;
  text-align: right
}

div.profile-pane:after {
  content:"";
  display:table;
  clear:both;
}


div.profile-text{
  width: 500px;
  float:left;
}

div.profile-text p{
  padding-right: 50px;
}



div.profile-images{
  height:700px;
  width: 300px;
  float:left;

}

div.profile-images img{
  height:300px;
  width:300px;
  margin-top: 25px;
  margin-bottom: 25px;
}

div.full-map{
  height:300px; 
  width:300px;
}

div.full-map div.angular-google-map-container{
  height:300px; 
  width:300px;
}

div.mini-map{
  height:200px; 
  width:200px;
}

div.mini-map div.angular-google-map-container{
  height:200px; 
  width:200px;
}

table.table{
  text-align: center;
  width: 450px;
  margin-top: 30px;
}

table.table .metric{
  text-align: left;
  padding-left: 0px;
}

table.table tr th{
  border-top: 0;
  border-bottom: 1px solid #d8d8d8;
}
table.table tr td{
  border-top: 0;
}

table.api-table{
  text-align: left;
}
/*---------*/



/*---------*/
/*API Page*/
/*---------*/
div.api-page div{
  width:800px;
  margin: 0 auto;
}

div.api-endpoints h3{
  padding-left: 10px;
}

div.api-endpoints h4{
  padding-left: 40px;
}

div.api-endpoints p{
  padding-left: 60px;
}

table.api-table{
  margin-left: 60px;
  margin-top: 10px;
  margin-bottom: 10px;
  width: 800px;
}

.code{
  font-family: "Courier New", Courier, monospace;
}
/*---------*/




/*---------*/
/*About Page*/
/*---------*/

div.about-page{
  width:800px;
}

#about-images img{
  width: 400px;
  margin: 0 auto;
  display: block;
  padding: 10px;
}

form h3{
  margin: 0;
  margin-left: 20px;
  margin-bottom: 5px;
  font-size: 20px;
}

form input{
  margin-left: 20px;
  margin-bottom: 20px;
  width: 200px;
  border-radius: 3px;
  background-color: rgba(0,0,0,0.2);
  color: #70B126;
}

div.suggestion{
  position: relative;
}

div.suggestion h4{
  position: absolute;
  font-size: 20px;
  top: 240px;
  left: 235px;
  color: #70B126;
}


form .submit{
  border: 1px solid white;
  width: 200px;
  text-align: center;
  padding: 10px;
  margin-left: 20px;
  border-radius: 3px;
  position: relative;
}

form .submit:hover{
  background-color: rgba(255,255,255,0.2);
  cursor: pointer;
  color: #70B126;
}

form .submit:active{
  top: 1px;
}
/*---------*/




footer{
  border-top: 1px #979797 solid;
  padding-top: 20px;
}


.footer{
  clear:both;
  height: 50px;
  margin-top: 50px;

}

footer a, footer p{
  /*color: #777;*/
}

footer .footer-lists{
  width: 660px;
  height: 150px;
  margin: 0 auto;
}

footer .footer-list{
  width: 120px;
  margin-left: 50px;
  margin-right: 50px;

  float:left;
}

footer h4{
  color: #70B126;
  text-decoration: underline;

}

footer ul{
  list-style: none;
  padding: 0px;
}

footer ul li{
  padding-bottom: 10px;
  font-size: 15px;
}

footer .footer-nav{
  height: 30px;
  margin-top: 0px;
}
footer .bottom-line{
  width: 100%;
  height: 20px;
  clear: both;
}

footer .bottom-line .footer-nav li{
  float:left;
  height:30px;
}

footer .bottom-line .footer-nav li a{
  /*margin-top: 11px;*/
  padding-left: 15px;
  padding-right: 15px;
  border-right: 1px solid #979797;
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase; 
}


footer .bottom-line .footer-nav li .no-right-border {
  border-right: 0px;
}
footer .bottom-line .footer-nav li a:hover{
  color: #70B126 !important;
}

footer .bottom-line .email{
  text-align: right;
}

footer .bottom-line .email p{
  text-align: right;
  width: 150px;
  float: right;
}



hr{
  margin-top: 0px;
  margin-bottom: 5px;

}


