/* apply a natural box layout model to all elements */
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

html {
   min-height: 100%;
   width: 100%;
}

body
{
   padding: 0;
   margin: 0;
   border: none;
   height: 100%;

   position: relative;

   background-repeat: no-repeat;
   background-attachment: fixed;
   background-color: #fafafa;

   font-family: sans-serif;
   font-size: 14px;
}

a
{
   color: #555;
}
a:hover
{
   color: #f60;
   color: #D0B800;
}

a > img
{
   border-style: none;
}

header {
   position: relative;
   width: 100%;
   height: 103px;
   background-color: #1b1b1b;
}

#header_inner
{
   position: relative;
   /* min-width: 960px; */
   max-width: 960px;
   width: 90%;
   height: 100%;
   margin:auto;
   padding: 0;
   color: #666;
   text-align: right;
}

#demo_title
{
   font-size: 27px;
   font-weight: bold;
   color: rgb(95, 95, 95);
   display: inline-block;
   text-align: right;
   line-height: 11px;
   padding-top: 32px;
}
#demo_title > span
{
   display: block;
}
#demo_title > span:first-child
{
   font-size: 45px;
   line-height: 38px;
}

.navbar-brand {
    position: absolute;

    top: 21px;
    left: 0px;
    text-decoration: none;
}

.navbar-brand > span {
   font-size: 52px;
   position: relative;
   top: -13px;
   text-decoration: none;
   border: none;
}

.navbar-brand > span > span:first-of-type {
  font-family: 'Play', sans-serif;
  font-weight: bold;
  color: rgb(162, 162, 162);
  padding: 0 0 0 6px;
}
.navbar-brand > span > span:last-of-type {
  font-family: 'Play', sans-serif;
  color: rgb(240, 240, 240);
}

.demo_links
{
   text-align: center;
}
.demo_links > div > a
{
   padding: 0 2em 0 0;
   font-size: 19px;
   text-decoration: none;
   color: #f60;
   color: #d0b800;
}


#demo_body,
.demo_links
{
   /* width: 850px; */
   /* height: 100%; */
   margin: 4em auto;
   position: relative;
}

.notextselect {
   -webkit-touch-callout: none;
   -webkit-user-select: none;
   -khtml-user-select: none;
   -moz-user-select: none;
   -ms-user-select: none;
   user-select: none;

   cursor: default;
}



#voteContainer
{

   text-align: center;
}
#voteContainer > div
{
   display: inline-block;
   /* width: 16em; */
   margin: 0 0.5rem 4rem 0.5rem;
}
#voteContainer > div > img
{
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.3);
}

#voteContainer > div > span
{
    display: block;
    margin: 1rem 0 0;
    font-size: 28px;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

#voteContainer button {}

#voteContainer > div > div
{
    display: inline-block;
    margin-bottom: 1rem;
    margin-top: 0.6rem;
}
#voteContainer > div > div > span
{width: 3em;text-align: center;border: none;background-color: #fafafa;font-size: 4em;padding: 20px 0 30px;transition: all 0.3s ease;text-shadow: 0 0 7px rgba(0, 0, 0, 0.2);color: #797979;}


#voteContainer > div > button:focus
{background-color: #A5A5A5;}

button
{
    background-color: #D4D0C8;
    border: 1px solid rgb(196, 191, 181);
    padding: 0.8rem 1.7rem;
    font-size: 28px;
    font-weight: normal;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.3), -1px 0 1px rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.3);
}
button:hover
{
    background-color: rgb(196, 188, 173);

    box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.4);
}

#resetVotesContainer
{
    text-align: center;
    margin: 1em 0 1em 0;
}

#demo_body
{
   /* width: 823px; */
   text-align: center;
}


.button
{

   background-color: #D9D9D9;
   background: linear-gradient(to bottom, #fff, #e1e1e1);

   color: #111;

   font-weight: 600;
   text-align: center;
   padding:0 13px;
   margin-left: 1px;


   border-radius: 4px;

   border: 1px solid rgb(121, 121, 121);

   box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px 0px;

   padding: 3px 6px;
   margin: 2px;
}


.button:hover
{
   background-color: #777;
   background: linear-gradient(to bottom, #e8e8e8, #8d8d8d);

   color: #fff;

   box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px 0px;
}


.button:disabled
{
   background-color: #ddd;

   color: #aaa;
}

.status_line {
  position: absolute;
  bottom: -5em;
  left: 0;
  margin: 1em;
}


#codeFrame
{
  width: 1210px;
  width: 1040px;
  height: 1200px;
  margin: 0 auto;
}
#codeFrame > iframe
{
  border: none;
}

#codeContainer
{
   width: 1200px;
   margin: 0 auto;
   background-color: #fff;
   position: relative;
}
.codehalf
{
   width: 50%;
   height: 100%;
   float: left;
   background-color: #fff;
}

.codehalf .syntaxhighlighter, .ie.syntaxhighlighter  {
   overflow: hidden !important;
   /*padding: 0.7em !important;
   border: solid 1px white !important;
   box-shadow: 0 0 1em white !important;*/
}

#JSCode
{
    width: 58%;

}
#PLSQLCode
{
   border-left: 1px solid rgb(163, 163, 163);
   width: 42%;
}


.arrowBox
{
   position: absolute;
   z-index: 10;
   border-left: 3px solid black;
}

.dot
{
   height: 2px;
   width: 2px;
   background-color: red;
   position: absolute;
   z-index: 10;
}

.arrowHead
{
   position: absolute;
}

.codehalf .syntaxhighlighter.nogutter td.code .line
{
   padding-left: 0.5em !important;
}


/* votes demo mobile - new styles */

nav {height: 74px;background-color: #333;}

.nav-wrapper .brand-logo {
   /* position: absolute; */
   top: 7px;
   left: 19px;
   -webkit-transfrom: initial;
   transform: translateX(0%); /* IE 11 does not do 'initial'*/
}

.nav-wrapper span {
   font-size: 38px;
   color: #A2A2A2;
   position: absolute;
   right: 0;
   top: 8px;
   font-weight: bold;
}

@media (max-width: 500px) {
   .brand-logo img.notOnNarrowScreens {
      display: none;
   }
}

#demo_body h1 {
   font-size: 2.5rem;
}

@media (max-width: 900px) {
   #demo_body {
      width: 95%;
   }

}


@media (max-width: 700px) {
   #voteContainer > div > img {
      display: none;
   }
}

@media (max-width: 500px) {
   #voteContainer > div {font-size: 9px;}

   #voteContainer span {
       font-size: 23px;
   }

   #voteContainer button {
       font-size: 24px;
   }
}
