body{

  background-color:#004752!important;
  color: #ffffff;
  line-height:1.6;
  font-family: sans-serif;
 
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-attachment: fixed;
    overflow: auto;
}


@media screen and (min-width: 780px) {
  body{

    background-color:#004752 !important;
    color: #ffffff;
    line-height:1.6;
    font-family: sans-serif;
  
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-attachment: fixed;
    overflow: auto;
  }
}

@media screen and (min-width: 1400px) {
  body{

    background-color:#004752 !important;
    color: #ffffff;
    line-height:1.6;
    font-family: sans-serif;
   
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-attachment: fixed;
    overflow: auto;
  }
}

  .container{
  margin-left: auto;
  margin-right: auto;
  /*display: grid;*/
  grid-template-columns: repeat(5 20%);
  grid-template-rows: 1fr;
  grid-auto-rows: minmax(60px, auto);
      /**/
      grid-template-areas:
      "logo logo logo logo logo"
      "commentary commentary commentary commentary commentary"
      "controls controls controls controls controls"
      "docs docs docs docs docs"
    }


@media screen and (min-width: 780px) {
  .container{
  margin-left: auto;
  margin-right: auto;
  margin-top: 12px;
  display: grid;

  grid-template-columns: repeat(5 20%);
  grid-template-rows: 1fr;
  grid-auto-rows: minmax(60px, auto);
      /**/
      grid-template-areas:
      "logo logo logo logo docs"
      "commentary commentary commentary commentary docs"
      "controls controls controls controls docs"
  }
}

.container{
  /*background-color: white;*/
  max-width: 780px;
  padding: 0.5em;
  
}

.logo{
  background-image: url("../images/logo.png");
  background-repeat: no-repeat;
  background-position: center;
  width: auto;
  height: 120px;
  background-size:contain;
  background-color: white;
  grid-area: logo;
  border-radius: 15px 15px 0px 0px;
  border-top-style: solid;
  border-top-color: #005d67;
  border-left-style: solid;
  border-left-color: #005d67;
  border-right-style: solid;
  border-right-color: #005d67;
  
  grid-area: logo;
}

.address {
    outline-color: #ffffff;
    outline-width: medium;
    outline-style: solid;
    padding-left: 0.5em;
    background-color: white;
    grid-area: address;
    text-align: left;
}

.docs {
    padding: 0.5em;
    background-color: white;
    opacity:0.5;
    grid-area: docs;
    text-align: left;
    margin-left: 5px;
}

.commentary {
    padding: 2em;
    background-color: white;
    grid-area: commentary;
    text-align: left;
	border-left-style: solid;
    border-left-color: #005d67;
    border-right-style: solid;
    border-right-color: #005d67;
}

.controls {
    padding: 2em;
    background-color: white;
    grid-area: controls;
    text-align: left;
    border-radius: 0px 0px 15px 15px;
	border-bottom-style: solid;
    border-bottom-color: #005d67;
    border-left-style: solid;
    border-left-color: #005d67;
    border-right-style: solid;
    border-right-color: #005d67;
}

.nav{
  outline-color: #ffffff;
  outline-width: medium;
  outline-style: solid;
  padding: 0.5em;

  grid-area: nav;
  text-align: center;
}

.image > img {
  top:1%;
  position:absolute;
}


p  {
  color: #004752;
  font-weight: 500;
}

li{
  color: #004752;
  font-weight: 500;
}

.login-header {
  color: #004752;
  font-weight: bolder;
}

.btn-danger{
  background-color: #004752 !important;
  border-color: #004752 !important;
}

.youhavevoted{
  background-color: #004752 !important;
  border-color: #004752 !important;
  color: white !important;
  width: 40%;
}

.btn-danger:hover{
  background-color: #66bb6a !important;
  border-color: #66bb6a !important;
}


@media screen and (max-width: 480px) {
  .checkboxtext{
  position: relative;
  bottom: 5%;
  word-wrap: break-word;
  }
  .checkbox-dat {
    padding-left: 10px;
   font-weight: bold;
  }
  
  .tcsbutton{
  
    display: block !important;
    position: relative;
    margin: auto;
    left:30%;
    top:0%;

  }
  
  .checkbox label {
    background-color: #fff;
    border: 2px solid black;
    border-radius: 50%;
    cursor: pointer !important;
    height: 28px;
    left: 85%;
    position: absolute;
    top: 50%;
    width: 28px;
  }
  
  .checkbox label:after {
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    content: "";
    height: 5px;
    left: 30%;
    opacity: 0;
    position: absolute;
    top: 40%;
    transform: rotate(-45deg);
    width: 12px;
  }

  .checkbox input[type="checkbox"] {
    margin-left: 20px !important;
  }
  
  .checkbox input[type="checkbox"]:checked + label {
    background-color: #66bb6a;
    border-color: #66bb6a;
  }
  
  .checkbox input[type="checkbox"]:checked + label:after {
    opacity: 1;
  }
}

@media screen and (min-width: 480px) {
  .checkboxtext{
    position: relative;
    left: -15%;
  }
  .checkbox-dat {
    padding-left: 10px;
   font-weight: bold;
  }
  
  .tcsbutton{
  
    display: block !important;
    position: relative;
    margin: auto;
    left:35%;
  }
  
  .checkbox label {
    background-color: #fff;
    border: 2px solid black;
    border-radius: 50%;
    cursor: pointer !important;
    height: 28px;
    left: 50%;
    position: absolute;
    top: 0;
    width: 28px;
  }
  
  .checkbox label:after {
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    content: "";
    height: 6px;
    left: 7px;
    opacity: 0;
    position: absolute;
    top: 8px;
    transform: rotate(-45deg);
    width: 12px;
  }

  .checkbox input[type="checkbox"] {
    margin-left: 20px !important;
  }
  
  .checkbox input[type="checkbox"]:checked + label {
    background-color: #66bb6a;
    border-color: #66bb6a;
  }
  
  .checkbox input[type="checkbox"]:checked + label:after {
    opacity: 1;
  }


}


.table-responsive{
  overflow:scroll;
    position:absolute;
}


.spacer
{
  padding: 5% 5% 5% 5%;
}




