/* 
    logo green; #458b00
    alternative blue: #1458a9
    text: #333
    
*/


* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: Arial,Helvetica, sans-serif;
    color: #333;
    list-style: none;
}

html {
    font-size: 100%;
}

body {
    background-color: white;
}

mark {
    font-weight: bold;
    color:#458b00;
    border-radius: 8px;
    display: inline-block;
    background-color: white;
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    /*
        -webkit-box-shadow: 3px 3px 15px 0px rgba(69,139,0,1);
        -moz-box-shadow: 3px 3px 15px 0px rgba(69,139,0,1);
        box-shadow: 3px 3px 15px 0px rgba(69,139,0,1);
        
    */
}

.stdList {
    padding-left: 30px;
    
}

.stdList li {
    margin-bottom: 14px;
    list-style-image: url("list_dot.png");
    padding-left: 20px;
}

.flexImg {
    width: 100%;
    height:auto;
}

#imgMain, #iFrameMain {
    -webkit-box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.75);
    box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.75);
    border-radius: 8px;
    width: 100%;
    height: auto;
}

#iFrameMain {
    border-style: none;
}

.shadow {
    -webkit-box-shadow: 0px 2px 5px #999;
    -moz-box-shadow: 0px 2px 5px #999;
    box-shadow: 0px 2px 5px #999;
}

.button {
    background: rgba(0,0,0,1);
    background: -moz-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(34,34,34,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,1)), color-stop(100%, rgba(34,34,34,1)));
    background: -webkit-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(34,34,34,1) 100%);
    background: -o-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(34,34,34,1) 100%);
    background: -ms-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(34,34,34,1) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(34,34,34,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#222222', GradientType=0 );
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    color: #FFFFFF;
    font-weight: normal;
    font-size: 0.8rem;
}

.button:hover {
    background: #458B00;
}

#logoImg {display:none;}
#logoText {display:inline-block;}

#headerContent, #midContent, #footerContent, #topNavWrapper,#lowerMidContent {
    width:  100%;
    max-width: 2400px;
    margin: 0 auto;
    padding: 20px;
    font-size: 0.9rem;
}

#lowerMidContent {
    padding: 20px 40px;
}

#topNavWrapper {
    padding-top: 5px;
}

#midBackground {
    background-color: #DADADA;
}

#headerContent {
    display:  -webkit-flex;
    display:flex;
    padding: 0 24px;
}

#headerContent div {
    font-size: 1.4rem;
    font-weight: bold;
    padding: 18px 0;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    flex-align:  1 1 auto;
    
}

#headerContent div:last-child {
    text-align: right;
}

#headerContent div:last-child input {
    display: none;
}

#headerContent div:last-child label {
    display: inline-block;
    text-align: center;
    margin-left:3px;
    width: 70px;
    cursor: pointer;
    padding: 6px 0;
}

#headerContent div:last-child input[type="radio"]:checked + label.button {
    background: #458B00;
}

#headerContent a {
    text-decoration: none;
    font-family: Verdana;
    letter-spacing: 3px;
}

#logoDiv img {
    width: 48px;
    height: auto;
}

#logoDiv sup {
    color: #458B00;
    font-size: 1rem;
}

#innerNavWrapper {
    background: #333;
    padding:20px;
    border-radius: 8px;
}

#topNavWrapper ul li {
    display: inline-block;
    margin-right: 20px;
}

#topNavWrapper ul li a {
    color: white;
    text-decoration: none;
    display: block;
}

#topNavWrapper ul li.dd-li ul {
    display:none;
    position: absolute;
    background-color: #333;
    border-radius: 8px;
    padding-top: 4px;
    background-color: #333;
}

#topNavWrapper ul li.dd-li:hover ul {
    display: block;    
}

#topNavWrapper ul li.dd-li ul li {
    display: block;
    padding: 8px;
    border-radius: 8px;
}

#footerBar {
    background-color: #333;
    color: white;
    padding: 20px;
    border-radius:8px;
    display:-webkit-flex;
    display:flex;
}

#footerContent {
    padding: 0 20px;
    margin-top:20px;
}

#footerBar a {
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto; 
}

#footerBar a:last-child {
    text-align: right;
}

#footerBar a, #footerBar a strong,#footerBar a span {
    color: white;
    text-decoration: none;
}

#menuButton {
    display:none;
}

#menuButton span {
    color: #fff;
    display: inline-block;
    margin-left: 10%;
    margin-top:-8px;
    background-color: #333;
    letter-spacing: 1px;
}

#menuButton img {
    height: 32px;
    width:auto;
    cursor:  pointer;
}

#landing {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

#landing article {
    -webkit-flex: 1 1 30%;
    flex: 1 1 30%;
    margin-right: 10px;
}

#landing article:last-child {
    margin-right: 0;
}

#landing article h3 {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    
    
    border-width: 0;
    border-color: #458b00;
    border-style: solid;
    border-bottom-width: 8px;
}

#landing article div ol {
    padding-left: 30px;
}

#landing article div ol li {
    list-style-image: url('list_leaf.png');
    margin-bottom: 4px;
    padding-left: 10px;
}

#landing article div ol li span {
    position: relative;
    top: -2px;
}

#landing article div.intro {
    height: 300px;
    padding: 16px;
}

#landing article p.knowMore {
    background-color: #333;
    color:white;
    border-radius: 8px;
    text-align: center;
    margin-top:5px;
    margin-bottom: 10px;
}

#landing article p.knowMore a {
    color: white;
    display: block;
    text-decoration: none;
    padding: 16px;
}

#landing article p.knowMore a:hover {
    font-weight: bold;
}

#introRS {
    display: -webkit-flex;display: flex;
}

#introRS div:first-child {
    flex: 1 1 40%;
}

#introRS div:last-child {
    flex: 1 1 60%;
}

#introRS div img {
    width:100%;
    max-width: 180px;
}

#contact ul li {
    display: -webkit-flex;
    display: flex;
    margin-bottom: 10px;
}



#contact ul li p {
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    max-width: 350px;
}

#contact ul li p:first-child {
    max-width: 130px;
    min-width: 130px;
    width: 130px;
    font-size: 1rem;
}

#contact ul li p:last-child {
    font-weight: bold;
}

.pageBox {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.pageBox article {
    -webkit-flex: 1 1 30%;
    flex: 1 1 30%;
    margin-right: 20px;
}

.pageBox article:last-child {
    margin-right: 0;
}

.pageBox:nth-child(n+2) {
    margin-top:  20px;
}

.pageBox article h3 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    margin-bottom: 10px;
    font-family: 'IBM Plex Sans Condensed', sans-serif;
    letter-spacing: 1px;
    
}

#mr_video {
    display:none;
}

/* MEDIA QUERIES */

@media screen and (max-width: 800px), screen and (orientation: portrait) {
  
  @keyframes linkMove {
    from {padding-left: 0px;}
    to {padding-left: 20px;}
  }
  
  
  #landing article {
    -webkit-flex: 1 1 90%;
    flex: 1 1 90%;
    margin-right: 0;
}



#landing article div.intro {
    height: auto;
}

#landing article p.knowMore {
    margin-bottom: 20px;
}

#introRS {
    display: block;
    padding-left: 25%;
}


  
  #topNavWrapper ul li.dd-li ul {
    position: static;
  }
  
  #topNavWrapper ul li.dd-li ul li {
    border: none;
    text-indent: 5px;
  }
  
  #headerContent div {padding: 8px 0;}
  
  #headerContent div:last-child label {margin-top:10px;}
  
  #logoImg {display:inline-block;}
  #logoText {display:none;}
  #topNavWrapper {
    padding-left:0;
    padding-right:0;
  }
  #topNavWrapper ul li {
    display:block;
    padding: 8px 0;
    border: 3px solid white;
    border-left-color: #333;
    border-right-color: #333;
    border-top-color: #333;
    margin-right: 0;
    margin-top: 5px;}
  #topNavWrapper ul li:hover {
    animation-name: linkMove;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    font-weight: bold;
  }
  footer {position:fixed;bottom: 0;background-color: #333;width: 100vw;font-size: 0.8rem;}
  #footerBar {padding: 20px 0;}
  #footerBar a span {display:none;}
  #footerContent {margin-top:0;}
  #menuButton {display:block;}
  #innerNavWrapper {padding: 14px 20px;border-radius:0;}
  #innerNavWrapper nav {display:none;}
  
  .pageBox article {
    -webkit-flex: 1 1 80%;
    flex: 1 1 80%;
    margin-right: 0px;
    }
    
    .pageBox article:nth-child(n+2) {
        margin-top: 20px;
    }
    
    #mr_video {
    display:block;
    }
}

