@charset "utf-8";
/* CSS Document */

html, body {
    height: 100%;
}

.bg { 
    /* The image used */
    vbackground-image: url("http://www.americanyawp.com/images/liberty_div_element_5.jpg");*/
    background-image: url("/cowboy_dance.jpg");

    /* Full height */
    height: 100%; 

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;a img
}

.bgimg-1, .bgimg-2, .bgimg-3 {
  position: relative;
  opacity: 1.0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
      background-attachment: fixed;

}
.bgimg-1 {
  background-image: url("/cowboy_dance.jpg");
  /*background-image: url("http://www.americanyawp.com/images/liberty_div_element_5.jpg");*/
  height: 40%;
  /* border-bottom-color: black;
    border-bottom-width: 3px;
    border-bottom-style: solid; */

  }


.caption {
  position: absolute;
  left: 0;
  top: 75%;
  width: 100%;
  text-align: center;
  color: #000;
}

.caption span.border {
  /*background-color: #8C1515;*/
      background: rgba(40, 40, 40, 0.9);
/*    background-image: url("http://www.americanyawp.com/bluetile.gif");
    background-repeat: repeat;*/
  color: white;
  padding: 18px;
  font-size: 60px;
/*letter-spacing: 5px;*/
}


#body {
  background: white;
  width: 800px;
  margin-top: 25px;
  margin-bottom: 50px;
  margin-left:auto;
  margin-right:auto;
  font-family: 'EB Garamond', "Times New Roman", times, Georgia, serif;
  text-align: center;
  font-size: 18px;
}

#header {
  font-size: 96px;
  margin-bottom: 20px;
  padding: 0px;
  font-weight: normal;
  color: #000;
}

#byline {
  vertical-align: middle;
  height:105px;
  font-size: 24px;
  line-height: 104px;
  margin-bottom: 15px;
  background: url(/images/topbar1.jpg) top center no-repeat,
              url(/images/bottombar1.jpg) bottom center no-repeat;
}
  
#image {
  margin-bottom: 15px;
  height:234px;
  background: url(/images/flag.jpg) top center no-repeat;
}

#image2 {
  margin-bottom: 15px;
  height:234px;
  background: url(/images/docimage.jpg) top center no-repeat;
}

#divider {
  height:60px;
  background: url(http://www.americanyawp.com/images/divbar.jpg) top center no-repeat;
}

#extras {
  font-size: 20px;
}

#extras i {
  font-size: 20px;
 /* font-style: normal;*/
}

#bodytext {
  width:780px;
  font-size:24px;
/*  margin-left:auto;
  margin-right:auto; */
  padding-top:0px;
  padding-left:10px;
  padding-right:10px;
  padding-bottom:0px;
  text-align: justify;
}

#masttext {
   width:780px;
  font-size:18px;
/*margin-left:auto;
  margin-right:auto; */
  padding-left:10px;
  padding-right:10px;
  padding-bottom:20px;
  text-align: center;

}
#masttext ul{
  width:780px;
  padding-left:10px;
  padding-right:10px;
  padding-bottom:15px;
  overflow:hidden;
  border-top:0px solid #ccc;
}
#masttext li{
  line-height:1.5em;
  border-bottom:0px solid #ccc;
  float:left;
  display:inline;
}

#double li  { width:50%;}
#triple li  { width:33%;}

#contents {
  clear:both;
  width:800px;
  font-size:18px;
  line-height: 1.2;
  text-align: justify;
  padding-top: 20px;

}

#contents b {
  font-size: 15pt;
}
#contents li {
  font-size: 15pt;
}
  
#contents1 {
  float:left;
  text-align: left;
  width:380px;
  padding-left: 0px;
    padding-right: 20px;
    padding-bottom: 20px;
  margin-bottom: 0px;}

#contents2 {
  float:left;
  text-align: left;
  width:380px;
  padding-left: 20px;
    padding-right: 0px;
    padding-bottom: 20px;
  margin-bottom: 0px;}


/*TEST FOR ToC*/
ul.leaders {
    max-width: 40em;
    padding: 0;
    overflow-x: hidden;
    list-style: none}
ul.leaders li:before {
    float: left;
    width: 0;
    white-space: nowrap;
    content:
 ". . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . "
 ". . . . . . . . . . . . . . . . "}
ul.leaders span:first-child {
    padding-right: 0.33em;
    background: white}
ul.leaders span + span {
    float: right;
    padding-left: 0.33em;
    background: white}



#epigram {
  width:800px;
  /* color: #ff6600;*/
  color: #b11919;
  height:150px;
  /*line-height: 75px;*/
  font-size: 24px;
  background: url(/images/topbar2.jpg) top center no-repeat,
              url(/images/bottombar2.jpg) bottom center no-repeat;
  margin-bottom: 50px;
  display:table-cell;
    vertical-align: middle;
}

#footie { 
      background-color:#8C1515;
      color:white;
}



#memo {
  font-size: 18px;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0px;
  padding-bottom:20px;
  padding-top:50px;
  height: /*80px*/160px;
  max-width: 500px;
  text-align: center;
        color:white;
    font-family: 'EB Garamond', "Times New Roman", times, Georgia, serif;
}

#memo a {
  text-decoration: none;
  font-weight: normal;
  color: white;
}
#memo a:hover {
  text-decoration: underline;
  color: blue;
}

/* #memo img {
  max-width: 100px;
} */

#memo a img {
outline: none;
border: 0;
}

h1 a {
  text-decoration: none;
  color: #000;
  }
  
/* a img { border: solid; } */

a img{text-decoration: none;
/* border-color: black;
border-width: 2px; */
}

a:visited img{text-decoration: none;
/* border-color: black;
border-width: 2px; */
}

a:hover img{text-decoration: none;
border-color: blue;
border-width: 2px;
}
  
h1 a:hover {
  text-decoration: none;
  color: #00F;
}
  
h3 {
  /*color: #FFF;
  background-color: #000;
  margin: 0px;
  padding: 3px;*/
  font-size: 1em;
  font-weight: bold;
}

#header a:hover {
  text-decoration: none;
  color: blue;
}
  
  #main {
  width: 800px;
  margin-right: auto;
  margin-left: auto;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1em;
  border-right-width: 3px;
  border-left-width: 3px;
  border-right-style: solid;
  border-left-style: solid;
  padding-right: 25px;
  padding-left: 25px;
  margin-top: 0px;
  margin-bottom: 0px;
  border-bottom-width: 0px;
  border-bottom-style: none;
  color: #000;
  background-color: white;
  padding-top: 0px;
  border-top-style: none;
  border-right-color: #000;
  border-left-color: #000;
  height: 100%;
}

#main ul {
  list-style-type: none;
  padding: 0px;
}

#body a {
  /*text-decoration: none;*/
  font-weight: normal;
  color: blue;
}
#body a:hover {
  text-decoration: underline;
  color: blue;
}

#contact {
  font-size: 12px;
  font-style: italic;
  text-align: center;
  margin-bottom: 10px;
}


@media (max-device-width: 800px){
  
  #page {
  background-image: none;
  }
}

@media (max-device-width: 900px){
  
}

@media (max-width: 800px){
  
  #body{
  width:95%;
  }


#contents {
  clear:none;
  width:95%;
  line-height: 1.2;
}

#contents b {
  font-size: 15pt;
}
#contents li {
  font-size: 15pt;
}
  
#contents1 {
  float:none;
  text-align: left;
    margin-left:auto;
  margin-right:auto;
  width:95%;
  max-width: 480px;
  padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
  margin-bottom: 0px;}

#contents2 {
  float:none;
  text-align: left;
    margin-left:auto;
  margin-right:auto;
  width:95%;
    max-width: 480px;
  padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
  margin-bottom: 0px;}

#epigram {
  width:800px;
  /* color: #ff6600; */
  color: #b11919;
  height:100px;
  padding-top: 0px;
  padding-bottom: 0px;
  font-size: 32px;
  background: url(/images/topbar2.jpg) top center no-repeat,
              url(/images/bottombar2.jpg) bottom center no-repeat;
  margin-bottom: 20px;
  display:table-cell;
    vertical-align: middle;}

#byline {  
  width: 800px;
  background: url(/images/topbar1.jpg) top center no-repeat,
              url(/images/bottombar1.jpg) bottom center no-repeat;
  height: auto;
  line-height: 28px;
  padding-top: 38px;
    display:table-cell;
  padding-bottom: 38px;
  vertical-align: middle;
}
#image {
  margin-bottom: 15px;
  margin-top: 30px;
  height:234px;
  background: url(/images/flag.jpg) top center no-repeat;
}
  

.bgimg-1 {
  display: none;
  }
  
  #header {
  font-size: 60px;
  }
  
}


