/*
Updated Policy Pages CSS
Modified 160708
Author: Brandon Logan
*/
body{
  font-size:12px;
}
.print{
  display:none;
}
#policy-wrapper{
  display:block;
  margin:0 auto;
  max-width:672px;
}
#policy-wrapper h1{
  font-size:2.2em;
  font-weight:bold;
  margin:6% 0 4%;
}
#policy-wrapper h2{
  font-size:1.65em;
  font-weight:bold;
  margin:8% 0 3%;
}
#policy-wrapper h3{
  font-size:1.3em;
  font-weight:bold;
  margin:8% 0 3%;
}
#policy-wrapper .buttons{
  display:table;
  width:100%;
}
#policy-wrapper .buttons:first-of-type{
  margin-top:30px;
}
#policy-wrapper .buttons > a{
  display:table-cell;
}
.green-button{
  text-align: center;
  color: #fff;
  background-color: #3d6e55;
  padding: 3px;
  text-transform: lowercase;
  text-shadow: 1px 2px #000;
  text-decoration: none;
  font-weight: bold;
  box-shadow: inset 3px 3px 4px #79a493;
  border-radius: 1px;
  border-top: 1px #79a493 solid;
  border-left: 1px #79a493 solid;
  border-right: 3px #1b3227 solid;
  border-bottom: 3px #1b3227 solid;
}
#policy-wrapper .center{
  text-align:center;
}
/* TOP-LEVEL LIST */
#procedure{
  counter-reset: topLevel;
}
/* Setting padding to default user-agent value for all lists to get "nesting" look */
#procedure ol{
  padding-left:40px;
}
#procedure > li{
  list-style:none;
  position:relative;
}
#procedure > li:before{
  content:counter(topLevel, upper-alpha)'.';
  counter-increment:topLevel;
  position:absolute;
  top:0px;
  left:-2em;
  font-size:1.65em;
  font-weight:bold;
}
/* SECOND-LEVEL LIST */
#procedure > li > ol{
  counter-reset: secondLevel;
}
#procedure > li > ol > li{
  list-style:none;
  position:relative;
  margin:3% 0;
}
/* second-level lists may be unbolded if "header-list" is not declared */
#procedure > li > ol > li:before{
  content: counter(secondLevel, decimal)'.';
  counter-increment: secondLevel;
  position: absolute;
  top: 0px;
  left: -2.5em;
  display: block;
  min-width: 20px;
  text-align: right;
}
/* If "header-list" class is applied to second-level list, bold the item increment */
#procedure > li > ol.header-list > li:before{
  font-weight:bold;
  font-size:1.3em;
}
/* Note: third-level lists will never have a bolded increment, only level 1 and 2 lists */

/* THIRD-LEVEL LIST */
#procedure > li > ol > li > ol{
  counter-reset: thirdLevel;
}
#procedure > li > ol > li > ol > li{
  list-style:none;
  position:relative;
  margin:1em 0;
}
#procedure > li > ol > li > ol > li:before{
  content:counter(thirdLevel, lower-alpha)'.';
  counter-increment: thirdLevel;
  position:absolute;
  top:0px;
  left:-2em;
}
/* FOURTH-LEVEL LIST */
#procedure > li > ol > li > ol > li > ol{
  counter-reset: fourthLevel;
}
#procedure > li > ol > li > ol > li > ol > li{
  list-style:none;
  position:relative;
  margin:1em 0;
}
#procedure > li > ol > li > ol > li > ol > li:before{
  content:counter(fourthLevel, lower-roman)'.';
  counter-increment: fourthLevel;
  position:absolute;
  top:0px;
  left:-2em;
}
#policy-footer{
  margin-top:50px;
  border-top:1px solid #888;
}
#policy-footer #reviewers > p{
  margin-left:6%;
}
#policy-footer #reviewers ol{
  margin-left:6%;
}
#policy-footer #reviewers ol li{
  margin-bottom:10px;
}
#policy-footer #reviewers ol li p {
    display: inline;
    margin-top: 0px;
}
#policy-footer ol.header-list{
  margin-left:6%;
}
#policy-footer > ol{
  counter-reset:footerCounter;
}
#policy-footer > ol li{
  list-style:none;
  position:relative;
  margin-bottom:10px;
}
#policy-footer ol > li:before{
  content:counter(footerCounter, decimal)'.';
  counter-increment: footerCounter;
  position:absolute;
  top:2px;
  left:-2em;
}
#policy-footer ol > li > ol{
  counter-reset:footerCounter2;
}
#policy-footer ol > li > ol > li:before{
  content:counter(footerCounter2, lower-alpha)'.';
  counter-increment: footerCounter2;
  position:absolute;
  top:0px;
  left:-2em;
}
#policy-footer ol > li > ol > li > ol{
  counter-reset:footerCounter3;
  margin-top:10px;
}
#policy-footer ol > li > ol > li > ol > li:before{
  content: counter(footerCounter3, lower-roman)'.';
  counter-increment:footerCounter3;
  position:absolute;
  top:0px;
  left:-2em;
}
#policy-footer ol.header-list > li:before{
  font-weight:bold;
  font-size:1.3em;
  top:-1px;
}
#policy-footer div.buttons{
  margin-top:50px;
}
#policy-footer div.buttons:last-child{
  margin:0;
}

/* MOBILE STYLING */
@media screen and (max-width: 430px){
  html, body{
    width:100%;
    height:auto;
    overflow-x:hidden;
  }
  #policy-wrapper{
    padding-right:4%;
  }
  #policy-wrapper img.header{
    max-width:100%;
    height:auto;
  }
  #procedure ol{
    padding-left:20px;
    -webkit-padding-start:20px;
  }
  /*#procedure > li{
    font-size:1.5em;
  }
  #procedure > li:before{
    font-size:1.65em;
    top:5px;
  }*/
  #policy-wrapper .buttons:first-of-type{
    display:block;
  }
  #policy-wrapper .buttons:first-of-type a{
    display:block;
    width:100%;
  }
  #policy-wrapper .buttons:first-of-type a:first-child{
    margin-bottom:15px;
  }
  #policy-wrapper .buttons:first-of-type a:last-child{
    margin-top:15px;
  }
  .green-button{
    border-bottom:1px;
  }
}


/* PRINT STYLES */
@media print{
  .print{
    display:block !important;
  }
  hr.print{
    margin-top:50px;
  }
  div.buttons{
    display:none !important;
  }
}
