/* 
   || Color Palette: https://colorhunt.co/palette/016a70ffffddd2de32a2c579 

   #016A70 Dark Green
   #FFFFDD Off White
   #D2DE32 Green
   #A2C579 Pale Green
   
*/

/* || Body Content */
[class*="col-"] {
  float: left;
  padding: 15px;
  width: 100%;
}

/* Western Font */
@font-face {
  font-family: 'Arbutus-Regular';
  src: url('fonts/Arbutus-Regular.ttf') format('truetype');
}

* {
  box-sizing: border-box;
  /* prevents the columns from moving too far apart on large desktop screens */
  max-width: 1300px;
  margin: auto;
}

html {
  font-family: garamond, sans-serif;
  font-size: 16pt;
}

.bg {
  background: url('images/greenwithrobot.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: fixed;
  height: 100vh;
  width: 100vw;
}

.content {
  position: absolute;
  left: 50%; 
  transform: translateX(-50%);
  width: 100%;
}


body {
  /*background-color: #016A70;*/
  /*
    
  background-image: url("images/bluerobot.jpg");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 100vh;
  */
  
}

/* || Main content */
.header {
  /* Logo/home button top of each page */
  padding: 15px 15px 0px 15px;
}

blockquote {
  background-color: #FFFFDD;
  text-align: center;
  padding: 15px;
}

#blockquote-credits{
  font-family: 'Brush Script MT', cursive;
  text-align: right;
  color: #D2DE32;
}

#how-to {
  background-color: #FFFFDD;
  padding: 1%;
}

.how-to-mobile-view {
  margin-bottom: 20px;
}

.col-6 {
  text-align: center;
}

/* Donation Section*/
.donation-desktop-view {
  background-color: #FFFFDD;
  padding: 10px;
  min-width: 100px;
}

.donation-tablet-view {
  background-color: #FFFFDD;
  padding: 15px;
}

.donation-tablet-view-top-hr {
  margin-bottom: 20px;
  margin-top: 20px;
}

.donation-tablet-view-btm-hr {
  margin-top: 25px;
}

.footer {
	text-align: center;
	font-size: 12pt;
	padding: 0px 15px 15px 15px;
  font-family: serif;
  text-align: center;
}

#bottom { 
  background-color: #FFFFDD;
  border-width: thick;
  border-style: solid;
  padding: 1%;
  border-color: #016A70;
}

#sendtotop {
  font-family: serif;
  text-decoration: underline;
}

/* || Forms */
/* Text box form */
.tell-us {
  background-color: #FFFFDD;
  padding: 25px;
  margin-top: 20px;
}

/* Radio button section */
.w3-row:after {
  /* 
    The following block is known as a clearfix.
    Keeps image and radio buttons inside a border 
  */
  content: "";    /* used with ::before or ::after to insert content */
  display: table; /* lets the element behave like a table */
  clear: both;    /* place the next element below */
}

.w3-row:before {
  content: "";
  display: table;
  clear: both;
}

/* border and padding around radio buttons */
.w3-row {
  padding:10px;
  border:4px solid #A2C579;
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

[type=checkbox], [type=radio] {
  padding: 0;
}

/* Custom labels for radio buttons */
.checkcontainer {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 14pt;
  padding-top: 0;
  word-wrap: break-word;
}

/* Hide the browser's default checkbox */
.checkcontainer input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.radiobtn {
  position: absolute;
  top: 0;
  left: 1%;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.checkcontainer:hover input ~ .radiobtn{
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.checkcontainer input:checked ~ .radiobtn{
  background-color: #2196F3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.radiobtn:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.checkcontainer input:checked ~ .radiobtn:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.checkcontainer .radiobtn:after {
  top: 9px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

input {
  overflow: visible;
  margin: 0;
}

input[type=submit]:hover {
  background-color: #A2C579;
}

/* donation form */
input[type=submit] {
  width: 100%;
  margin-top: 0;
  background-color: #016A70;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

input[type=text], textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

span input {
  max-width: 100%;
  height: auto;
}

label {
  padding: 10px 0 0 0;
  display: inline-block;
  font-size: 14pt;
}

#form-check {
  margin: 0;
}

.text-box-form {
  padding: 0px 25px 10px 25px;
}

/* || Site Navigation */
/* Navigation desktop view */
.table-nav-desktop{
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.table-nav-desktop tr {
  font-size: 16px;
  letter-spacing: 0.35px;
  opacity: 1;
  padding: 12px;
  vertical-align: top;
  border: 1px solid #FFFFFF;
}
.table-nav-desktop tbody tr td{
  font-weight: normal;
  background-color: #A2C579;
  padding: 8px;
  text-align: center;
  border: 1px solid #A2C579;
}
.table-nav-desktop tbody tr td a {
  color: #FFFFDD;
}
.table-nav-desktop tbody tr td a:hover {
  color: #016A70;
}
.table-nav-desktop .text_open{
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.35px;
}
.table-nav-desktop tbody tr td .btn{
  width: 130px;
  text-decoration: none;
  line-height: 35px;
  display: inline-block;
  font-weight: medium;
  color: #FFFFFF;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  font-size: 14px;
  opacity: 1;
} 

/* Navigation tablet/mobile views */
.nav-mobile {
  list-style-type: none;
  margin: 0;
  padding: 10px;
  background-color: #016A70;
}

.nav-mobile li {
  padding: 8px;
  margin-bottom: 7px;
  background-color: #A2C579;
  color: #FFFFDD;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  text-align: center;
  font-size: 14pt;
}

.nav-mobile li a {
  color: #EEEEEE;
  text-decoration: none;
}

.nav-mobile li:hover {
  background-color: #FFFFDD;
  color: #016A70;
}

#last-nav-mobile {
  margin-bottom: 0px;
}

.menu {
  padding-bottom: 0px;
}

/* || Links */
a {
  color: #EEEEEE;
}

a:link {
  color: black;
  text-decoration: none;
}

a:visited {
  color: black;
}

a:hover {
  color: green;

}

a:active {
  color: darkcyan;
}

.footer a {
  text-decoration: none;
  word-break: break-all;
}

address>p>a:link {
  text-decoration: underline;
}

/* || Images */
img {
  max-width: 100%;
  height: auto;
}

/* || p */
p {
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}

#status-p {
  padding-top: 20px;
  padding-bottom: 20px;
  margin-top: 0px;
  background-color: #016A70;
}

p strong {
}

/* || h2, h3, h4 */
h2 {
  font-family: 'Arbutus-Regular';
  color: #D2DE32;
  text-align: center;
  font-weight: normal;
}

#welcome-h2 {
  text-decoration: underline;
  font-size: xx-large;
  padding: 15px;
  margin: 0;
  background-color: #016A70;
}

.tell-us h2 {
  margin: 15px;
  padding-top: 10px;
}

h3, h4 {
  color: #A2C579;
  font-weight: normal;
}

.how-to-desktop-view h3, h4 {
  padding-right: 10px;
  padding-left: 10px;
}

h4 {
  font-family: serif;
}

/* || ul and ol */
ul, ol {
  background-color: #A2C579;
  margin: 10px 15px 15px 15px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 40px;
}

/* || Media Queries */
/* For mobile phones */
[class*="col-"] {
	width: 100%;
}

/* For tablets */
@media only screen and (min-width: 600px) {
	.col-s-1 {width: 8.33%;}
	.col-s-2 {width: 16.66%;}
	.col-s-3 {width: 25%;}
	.col-s-4 {width: 33.33%;}
	.col-s-5 {width: 41.66%;}
	.col-s-6 {width: 50%;}
	.col-s-7 {width: 58.33%;}
	.col-s-8 {width: 66.66%;}
	.col-s-9 {width: 75%;}
	.col-s-10 {width: 83.33%;}
	.col-s-11 {width: 91.66%;}
	.col-s-12 {width: 100%;}
  .header {text-align: center;}
}

/* For desktop */
@media only screen and (min-width: 768px) {
	.col-1 {width: 8.33%;}
	.col-2 {width: 16.66%;}
	.col-3 {width: 25%;}
	.col-4 {width: 33.33%;}
	.col-5 {width: 41.66%;}
	.col-6 {width: 50%;}
	.col-7 {width: 58.33%;}
	.col-8 {width: 66.66%;}
	.col-9 {width: 75%;}
	.col-10 {width: 83.33%;}
	.col-11 {width: 91.66%;}
	.col-12 {width: 100%;}
  .header {text-align: center;}
}

/* Mobile Views */
/* Hides for screens 767px and less */
@media only screen and (max-width: 767px) {
  .nav-desktop-view {display: none;}
  .how-to-desktop-view {display: none;}
  .col-s-12 {display: none;}/* hides donation desktop view in tab/mobile */
}

/* Tablet Views */
/* Hides for screens 600px and more */
@media (min-width: 600px) {
  .hardrule {display: none;} /* Hides the mobile-view hr element */
}

/* Desktop Views */
/* Hides for screens 768px and more */
@media only screen and (min-width: 768px) {
  .how-to-mobile-view {display: none;}
  .donation-tablet-view {display: none;}
  .donation-tablet-view-top-hr {display: none;}
  .donation-tablet-view-btm {display: none;}
  .nav-mobile {display: none;}
}

/* Keep the radio buttons from colliding with their label or becoming too distant */
@media only screen and (min-width: 500px) {
  .radiobtn {
    left: 10%;
  }
}

@media only screen and (min-width: 768px) {
  .radiobtn {
    left: 1%;
  }
}

@media only screen and (min-width: 992px) {
  .radiobtn {
    left: 15%;
  }
}

