/* Nice Ride styles for legal documents*/
/* markdown to html conversion */
/* Add this to	 Pandoc HTML documents via command line */
/* command `--css nrm_terms.css` */


/***** Prevent the meta tags from 
appearing on the page ****/

#header {
	display: none;
	}

/******Base Styles*********/

body{
    margin: 16px;
    font-family: Helvetica, Arial, 'Droid Sans', sans-serif;
    font-size: 16px;
    line-height: 26px;
    font-weight: normal;
}

/* section {
    padding-bottom:8pt;
}

#address {
    margin-left: 32px;
} */

h1{
    color: #8A9E22;
        font-weight: 500;
    font-size: 20pt;
    line-height: 26pt;
    padding-bottom: 2pt;
}

h2 {
	 color: #8A9E22;
        font-weight: 500;
	 
	 }

h3{
    color:#8A9E22;	
        font-weight: 500;
}

h4 {
	color: #EE3123;
	font-weight: normal;
  font-style: normal;
  margin-bottom: .3em;
}

header {
    line-height: 22pt;
    font-size: 16pt;
    padding-bottom: 12pt;
    font-weight: 500;
}

ul.smallList li{
    padding: 0 40px 0 0;
    margin: 0 5px 0 0 ;
    flex-grow: 1;
}

blockquote p {
    margin-top: 1pt;
}

p, li {
	color:#4A4A4A;
	}

ul li, ol li {
    margin-left: -20px;
}

li:last-child {
   padding-bottom: 0;
  }

table {
    margin: 24pt 0 16pt 0;
}

a {
  color: #8A9E22;
}

a:hover {
  color: #2d3f51;
}

em {
    text-decoration: underline;
    font-style: normal;
}

code {
	font-style: italic;
	font-family: inherit;
    color: #999;
	}

/*************************
Media Queries
*************************/


@media only screen and (max-width: 414px) {
    h1{
    font-size: 13pt;
    line-height: 16pt;
    margin: .5em 0;
    padding: 0;
    }
    
    h2{
    font-size: 14pt;
    line-height: 18pt;
    }
    
    h3{
        font-size: 13pt;
        line-height: 16pt;
    }
    
     p, li {
        font-size: 12pt;
        line-height: 16pt;
    }
    
    li {
        padding-bottom: 6pt;
    }  
    
    ul.smallList{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    }
    
    body{
    margin: 16px;
    }
    
    header {
    line-height:20pt;
    font-size: 13pt;
    padding-bottom: 12pt;
    font-weight: 500;
	}
	
	blockquote {
	margin: .8em; 
	line-height: 20px;
	}
}



@media only screen and (min-width: 768px),
       only screen and (min-width: 700px) and (orientation: landscape) {
    body{
        margin: 72px 3em;
    }
           
    h1{
    font-size: 1.8em;
        line-height: 1.4em;
    }
    
    h2{
    	font-size: 1.9em;
        line-height: 1.2em;
    }
           
    h3{
       font-size: 16pt;
       line-height: 21pt;
       margin-bottom: 5pt;
    }
    
    h4 {
    	font-size: 14pt
    	}
    	
    p, li {
        font-size: 15pt;
        line-height: 21pt;
    }
   
    li {
        padding-bottom: 3pt;
    } 
           
    ul.smallList{
    display: flex;
    height: 800px;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0 16px 0 0;
    }
    
    ul.smallList li{
    padding: 0 30px 0 0;
    margin: 0 5px 0 0 ;
    flex-grow: 1;
    }
           
}


@media only screen and (min-width: 1140px) {

   h1{
    font-size: 32pt;
   line-height: 40pt;
    }
    h2{font-size: 22pt;
    }
           
    h3{
       font-size: 17pt;
       line-height: 22pt;
    }
    
    p, li {
        font-size: 15pt;
        line-height: 21pt;
    }
   
    li {
        padding-bottom: 10pt;
    } 
    
    ul.smallList{
    display: flex;
    height: 400px;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    }
    
    ul.smallList li{
    padding: 0 40px 0 0;
    margin: 0 5px 0 0 ;
    flex-grow: 1;
    }
        
}