/*================================*/
/* Mafiahistory.us web stylesheet */
/*  Last revised on 04 Apr 2021   */
/* Thomas Hunt, Whiting, Vermont  */
/*========== BOOK NOTES ==========*/

* { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  }

body.main { 
  padding: 4px 15px 15px 15px; 
  font-family: Georgia, Times, serif;
  font-size: 16px;
  background-color: #f0e4d8; 
  }

.extraspace {
  margin: 5px 0px;
  }

.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  }

.invisible {
  display: none;
  }

.newrow {
  clear: both;
  }

.strikeout {
  text-decoration: line-through;
  }  

.boldblack {
  color: #000000;
  font-weight: bold;
}

.heavy {
  font-weight: bold;
}


/**********************************/
/* WEBSITE LOGO *******************/

.logorc { 
  display: block;
  width: 680px;
  height: 65px;
  margin: 0px auto 10px auto;
  }

.logosrc {
  width: 90px;
  height: 50px;
}  

/**********************************/
/* SECTION TYPES ******************/

#headercontainer {
  display: block;
  position: relative;
  width: 100%;
  margin-bottom: 0px;
  }

#homepagerow {
  display: block;
  clear: both;
  }

#articlerow {
  width: 100%;
  clear: both;
}

div.src {  
  clear: both;
  margin: 2px 16px 10px 16px;
  font-family: Georgia, Times, serif;
  hyphens: auto;
  font-size: 108%;
  text-align: left;
  padding-top: 8px;
  border-top: 1px solid #d0c0b0;
}

div.srcauthor {
  display: block;
  width: 25%;
  float: left;
  text-align: left;
  padding: 4px;
}

div.srctitle {
  display: block;
  width: 50%;
  float: left;
  font-style: italic;
  font-weight: bold;
  padding: 4px 8px;
}

div.srcpub {
  display: block;
  width: 25%;
  float: right;
  padding: 4px;
}

/**********************************/
/* LINKS **************************/

a:link {
  color: #602018; 
  font-weight: Bold; 
  text-decoration: none;
  }

a:visited {
  color: #908078; 
  font-weight: Bold; 
  }

a:hover {
  color: #a04020; 
  border-color: #e8e0d0; 
  font-weight: bold; 
  background-color: #fffcfc;
  }

a.bn {
  display: block;
  margin: 15px 10px 10px 20px;
  }

a.bklink {
  display: block;
  margin: 10px 15px 10px 15px;
  line-height: 1.4;
  font-size: 115%;
}

/* a.bklink .bktitle:hover {
  color: #904020;
  background-color: #fffcf0;
} */

/**********************************/
/* BOOK NOTES *********************/

div.bnote{
  margin: 10px;
  }

div.bndate{
  margin: 15px 8px 10px 8px; 
  border-top: 2px solid #B08040;
  padding: 4px 10px 4px 0px;
/*  color: rgb(120,40,10); */
  color: #f0e4d8;
  background-color: #800000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 90%; 
  font-weight: bold;
  text-indent: 0px; 
  text-align: right;
  }

div.bnhead{
  margin: 10px 15px 10px 20px; 
  text-indent: -15px; 
  text-align: left; 
  color: rgb(0,0,0); 
  padding: 10px;
  font-family: Georgia, Times, Serif; 
  font-size: 130%; 
  font-weight: bold;
  line-height: 1.4;  
  }

div.bntext {
  margin: 0px 15px 20px 10px;
  padding-bottom: 20px;
  }

div.bntext li{
  color: rgb(50,50,50);
  }

img.bnp{
  width: 65px;
  border: 1px solid black;
  float: right;
  margin: 0px 20px 10px 10px;
  }

.bktitle {
  font-variant: small-caps;
  color: #502820;
  text-shadow: .5px .5px #808080;  
}

/**********************************/
/* HEADINGS ***********************/

h1 { /* Largest headline */
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-size: 200%;
  font-weight: 800;
  color: #000000;
  line-height: 1.2;
  margin: 6px 20px 4px 10px;
  text-indent: 0px;
}

h1#articletitle { /* Main headline for article */
  color: #402010;  
  text-shadow: .8px .8px #908075;  
  text-align: center;
}

h2 { /* Second largest headline */
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-size: 180%;
  font-weight: 800;
  color: #000000;
  line-height: 1.2;
  margin: 6px 20px 4px 20px;
  text-indent: 0px;
}

h2.articletitle { /* Main headline for article */
  color: #302010;  
  text-shadow: .8px .8px #908075;  
  text-align: center;
}

h2.alphahead { /* Alphabetical listing head, centered */
  color: #402810;  
  text-shadow: .8px .8px #908075; 
  text-align: center; 
}

h2.alphaheadl { /* Alphabetical listing head, flush left */
  color: #402810;  
  text-shadow: .8px .8px #908075; 
  text-align: left; 
}

h3 {
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-size: 120%;
  font-weight: 800;
  margin: 4px 20px 8px 12px;
  color: #302000;
  line-height: 1.3;
  letter-spacing: -.2px;
  text-shadow: .3px .3px #907050;
  text-indent: 0px;
}

h3.prehead {
  margin: 1px 0px 1px 27px;
  text-indent: -15px;
  line-height: 1.2;
}

h3.prehead:hover {
  color: #b03000;
  text-decoration: underline;
}

h3.side {
  font-size: 115%;
  text-align: center;
}

h3.subtitle { /* Second headline for article */
  color: #402010;
  letter-spacing: -.4px;
  text-shadow: .3px .3px #907050; 
  text-align: center; 
  }  

h4 { /* Small-caps dark type */
  font-family: Arial, Helvetica, sans-serif;
  font-size: 150%;
  font-variant: small-caps;  
  color: #202020;
  text-shadow: .4px .4px #808080; 
  letter-spacing: 2px; 
}

h4.kicker { /* Small-caps type over main headline */
  margin: 14px 10px 10px 8px;
  }

h4.sidesub {
  margin: 20px 3px 2px 2px;
  font-size: 115%;
  text-indent: 0px;
  text-align: center;
}

h5 {
  font-family: Georgia, Times, Serif;  
  font-size: 140%;
  color: #502515;   
  margin: 10px 15px 10px 20px;
}

h6 { /* For use in article text as subhead */
  text-align: left; 
  text-indent: 20px; 
  color: #502515; 
  font-family: Georgia, Times, Serif;
  line-height: 1.3;
  margin: 10px 10px 6px 10px;  
  font-size: 125%;
  font-weight: bold;
}

h6.kicker {
  text-indent: 0px;
  text-decoration: underline;
}

h6.sideitem {
  font-size: 110%;
  text-indent: 0px;
  line-height: 1.05;
  hyphens: auto;
}

h6:hover {
  background-color: #ffffff;
  color: #b03000;
}


/**********************************/
/* PARAGRAPH TYPES ****************/

p { /* Default */
  font-size: 110%; 
  text-align: left; 
  text-indent: 20px; 
  color: #202020; 
  font-family: Georgia, Times, Serif;
  line-height: 1.3;
  hyphens: auto;
  margin: 6px 14px 6px 10px;
  }

p.byline { /* Larger centered type for article byline */
  font-size: 120%;
  text-align: center;
  margin: 20px auto 10px auto;
}

p.bysmall { /* Smaller centered type for preview byline */
  font-size: 90%;
  text-align: center;
  margin: 20px auto 10px auto;
 }

p.center {
  text-indent: 0px;
  text-align: center;
  }

p.ednote { /* Editor note in boxed smaller italics */
  width: 75%;
  font-size: 95%;
  font-style: italic;  
  text-align: center;
  margin: 4px auto 14px auto;  
  background-color: #e6d8d0;
  border: 1px solid #fff6ea;
  padding: 10px 8px 8px 8px;
  text-indent: 0px;
  hyphens: none;
}

p.finec { /* Small dark gray type centered */
  margin: 0px auto 10px auto; 
  text-align: center; 
  text-indent: 0px; 
  color: rgb(50,50,50); 
  font-family: Arial, Helvetica, sans-serif;
  font-size: 65%; 
  line-height: 1.2;
  hyphens: none;
  }

.finel { /* Small dark gray type flush left */
  margin: 0px auto 20px 20px; 
  text-align: left; 
  text-indent: 0px; 
  color: rgb(50,50,50); 
  font-family: Arial, Helvetica, sans-serif;
  font-size: 65%; 
  line-height: 1.2;
  }  

p.init { /* Article intro paragraph with no indent and larger brown type */
  color: #601000;
  font-size: 118%;
  margin: 14px 20px;
  line-height: 1.4;
  text-indent: 0px;
  }

.initletter { /* Intro first letter drop cap */
  color: #802000;
  float: left;
  font-style: italic;
  font-size: 250%;
  text-shadow: 1px 1px #501000;
  padding-right: 6px;
  padding-left: 4px;
  line-height: 0.8;
  position: relative;
  top: .05em; 
  }

p.listing {
  margin: 6px 12px 6px 40px;
  text-indent: -10px;
}

p.notify { /* Boxed notifications - full width, small type */
  font-family: Arial, Helvetica, sans-serif;
  text-align: justify;
  font-size: 80%;
  line-height: 1.3;
  margin: 10px 24px 10px 24px;
  padding: 12px 16px;
  text-indent: 0px;
  border: 2px solid #f5e8e0;
  background-image: linear-gradient(150deg, #f8eae3, #f0e0d0, #d8c5b3); 
  box-shadow: -5px 5px 5px #988070;    
  }

p.notifynb { /* Unboxed notifications - small type */
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  font-size: 80%;
  line-height: 1.3;
  padding: 8px 12px;
  text-indent: 0px;
  }

p.prv {
  margin: 6px 12px 2px 16px;
  text-indent: 0px;
  font-weight: normal;
  text-align: left;
  line-height: 1.2;
  }

p.wlink {
  margin: 14px 20px 20px 36px;
  text-indent: -16px;
}

.firstword { /* An inline heading using dark brown bold small caps */
  font-weight: bold;
  font-variant: small-caps;
  color: #502820;
  text-shadow: .5px .5px #808080;
}


/**********************************/
/* IMAGES *************************/

div.picr {
  margin: 4px 12px 8px 20px;
  float: right;
  background-color: #e6d0c0;
  border: 1px solid #fff0e0;
  padding: 1%;
}

div.picl {
  margin: 4px 20px 8px 12px;
  float: left;
  background-color: #e6d0c0;
  border: 1px solid #fff0e0;
  padding: 1%;
}

div.picc {
  clear: both;
  margin: 10px auto 20px auto;
  background-color: #e6d0c0;
  border: 1px solid #fff0e0;
  padding: 1%;
}

div.picn {
  clear: both;
  border: transparent;
  padding: 0px;
  margin: 20px auto;
}

div.picfourth { /* Quarter-width image - use with picr or picl */
  width: 25%;
  max-width: 300px;
}

div.picthird { /* Third-width image right boxed - use with picr or picl */
  width: 33%;
  max-width: 420px;
}

div.pichalf { /* Half-width image right boxed - use with picr or picl */
  width: 50%;
  max-width: 600px;
}

div.pichalfr { /* Half-width image right boxed - use with picr or picl */
  width: 50%;
  max-width: 600px;
}

div.picfull { /* Full-width - to 600 px - image boxed  - use with picc */
  width: 90%;
  max-width: 800px;
}

img.picwcap { /* Image with caption fills div with 1% margin */
  width: 98%;
  margin: 1% 1% 0% 1%;
  border: 1px solid #907060;
}

img.picalone { /* Image fills div - no caption */
  width: 98%;
  margin: 1%;
 }

img.clickmuground { /* Clickable mug shot float right rounded corners */
  float: right; 
  width: 110px; 
  height: 145px;
  border-style: solid; 
  border-width: 2px; 
  border-color: #706058 #504038 #b0a598 #b0a598; 
  border-radius: 20px; 
  margin: 4px 15px 6px 12px; 
  }

img.clickmuground:hover {
  width: 118px;
  height: 153px;
  margin: 1px 11px 1px 8px;
  border-color: #c0b5a9 #c0b0a0 #706058 #504038;
  }  

img.premuground {
  float: right; 
  width: 110px; 
  height: 145px;
  border-style: solid; 
  border-width: 2px; 
  border-color: #f0d0c8 #d0c0b8 #403028 #302018; 
  border-radius: 20px; 
  margin: 4px 0px 4px 16px;
}

img.premuground:hover{
/*  width: 118px;
  height: 153px;
  padding: 1px 11px 1px 8px; */
  border-color: #403028 #302018 #f0d0c8 #d0c0b8;
}


/**********************************/
/* LISTS **************************/

ul {
  margin: 8px 15px 15px 26px;
  }

li {
  margin: 6px 15px 6px 10px;
  font-family: Georgia, Times, Serif;
  font-size: 110%; 
  text-align: left; 
  text-indent: 0px; 
  color: #202020; 
  line-height: 1.2;
  margin: 6px 10px 6px 10px;  
  }

dl {
  margin: 12px;
  font-size: 110%; 
  text-align: left; 
  text-indent: 0px; 
  color: #202020; 
  font-family: Georgia, Times, Serif;
  line-height: 1.3;
  hyphens: auto;
}

dt {
  font-size: 115%;
  font-weight: bold;
  font-variant: small-caps;
  color: #502820;
  text-shadow: .5px .5px #808080;
  margin: 12px 10px 0px 0px;
}

dd {
  margin: 8px 10px 8px 20px;
}

/**********************************/
/* HORIZONTAL LINES ***************/

hr.shd { /* Gradiated fill line */
  clear: both;
  height: 12px; 
  width: 97%; 
  margin: 10px auto 10px auto;
  border: 0; 
  box-shadow: inset 0 12px 12px -12px rgba(255,250,240,0.9);
  }


/**********************************/
/* NAVIGATION MENU ****************/

.navbar { /* Main navigation bar for top of page */
  overflow: hidden;
  background-color: #706058; /* #806550; */
  border-top: 1px solid white;
  border-bottom: 1px solid black;
  margin: 0px 20px 6px 10px;
  box-shadow: -5px 5px 5px #988070;  
  }

.navbar a { /* Navigation links */
  float: left;
  font-size: 16px;
  color: #fcf0d8;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  }

.subnav { /* Subnavigation menu */
  float: left;
  overflow: hidden;
  }

.subnav .subnavbtn { /* Navigation buttons */
  font-size: 16px;
  border: none;
  outline: none;
  color: #fcf0d8;
  padding: 18px 10px 12px 22px;
  background-color: inherit;
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-weight: 800;
  margin: 0;
  }

.subnavtitle  { /* Navigation bar title cell */
  margin: 4px;
  }

a#navtitle { /* Style the navbar link to home page */
  width: 92px;
  height: 52px;
  border: 1px solid #b0a870;
  padding: 0px;
  margin-bottom: 4px;
  }

a#navtitle:hover {
  border: 1px solid #402000;
  }

.navbar a:hover, .subnav:hover .subnavbtn { /* White text on black bg for top-level links on hover */
  color: #ffffff;
  background-color: #000000;
  }

.subnav-content { /* Lower-level content - positioned absolute */
  display: none;
  position: absolute;
  left: 20px;
  right: 0px;
  background-color: #573525;
  padding: 2px;
  width: 90%;
  z-index: 1;
  box-shadow: -5px 5px 5px #988070; 
  }

a.subitem { /* Style the subnav links */
  float: left;
  border-right: 1px solid #605040;  
  color: #ffffff;
  text-decoration: none;
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-weight: 800;  
  }

.subnav-content a:hover { /* Beige background and black text on hover */
  background-color: #fff8e6;
  color: #000000;
  }

.subnav:hover .subnav-content { /* Open subnav menu on hover */
  display: block;
  }   


/**********************************/
/* MEDIA QUERIES ******************/

/* Large devices only */
@media (min-width: 1200px) {
  .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
    float: left;
    border: 0px;  
  }
  .col-lg-1 {
    width: 8%;
  }
  .col-lg-2 {
    width: 16%;
  }
  .col-lg-3 {
    width: 24%;
  }
  .col-lg-4 {
    width: 33%;
  }
  .col-lg-5 {
    width: 41%;
  }
  .col-lg-6 {
    width: 49%;
  }
  .col-lg-7 {
    width: 58%;
  }
  .col-lg-8 {
    width: 66%;
  }
  .col-lg-9 {
    width: 74%;
  }
  .col-lg-10 {
    width: 83%;
  }
  .col-lg-11 {
    width: 91%;
  }
  .col-lg-12 {
    width: 99%;
  }
  .navbar {
    margin: 0px 8px 16px 22px;
  }
  h1#articletitle {
    margin: 6px 20px 12px 10px;
  }
}
  
/* Medium devices only */
@media (min-width: 992px) and (max-width: 1199px) {
  .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    float: left;
    border: 0px;
  }
  .col-md-1 {
    width: 8%;
  }
  .col-md-2 {
    width: 16%;
  }
  .col-md-3 {
    width: 24%;
  }
  .col-md-4 {
    width: 33%;
  }
  .col-md-5 {
    width: 41%;
  }
  .col-md-6 {
    width: 49%;    
  }
  .col-md-7 {
    width: 58%;
  }
  .col-md-8 {
    width: 66%;
  }
  .col-md-9 {
    width: 74%;
  }
  .col-md-10 {
    width: 83%;
  }
  .col-md-11 {
    width: 91%;
  }
  .col-md-12 {
    width: 99%;
  }
  .navbar {
    margin: 0px 8px 16px 23px;
  }
  h1#articletitle {
      margin: 6px 20px 10px 10px;
  }
}

/* Small devices only */
@media (min-width: 768px) and (max-width: 991px) {
  .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
    float: left;
    border: 0px;
  }
  .col-sm-1 {
    width: 8%;
  }
  .col-sm-2 {
    width: 16%;
  }
  .col-sm-3 {
    width: 24%;
  }
  .col-sm-4 {
    width: 33%;
  }
  .col-sm-5 {
    width: 41%;
  }
  .col-sm-6 {
    width: 49%;
  }
  .col-sm-7 {
    width: 58%;
  }
  .col-sm-8 {
    width: 66%;
  }
  .col-sm-9 {
    width: 74%;
  }
  .col-sm-10 {
    width: 83%;
  }
  .col-sm-11 {
    width: 91%;
  }
  .col-sm-12 {
    width: 99%;
  }
  .logorc { 
  display: block;
  width: 80%;
  height: auto;
  margin: 0px auto 10px auto;
  }
  .navbar {
    margin: 2px 6px 14px 10px;
  }  
  h1#articletitle {
      margin: 6px 20px 8px 10px;
  }
}

/* Extra small devices only */
@media (min-width: 641px) and (max-width: 767px) {
  .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {
    float: left;
    border: 0px;
    margin: 0px 10px 10px 10px;
  }
  .col-xs-1 {
    width: 8%;
  }
  .col-xs-2 {
    width: 16%;
  }
  .col-xs-3 {
    width: 24%;
  }
  .col-xs-4 {
    width: 33%;
  }
  .col-xs-5 {
    width: 41%;
  }
  .col-xs-6 {
    width: 48%;
  }
  .col-xs-7 {
    width: 58%;
  }
  .col-xs-8 {
    width: 66%;
  }
  .col-xs-9 {
    width: 74%;
  }
  .col-xs-10 {
    width: 83%;
  }
  .col-xs-11 {
    width: 91%;
  }
  .col-xs-12 {
    width: 98%;
  }
  .logorc { 
  display: block;
  width: 80%;
  height: auto;
  margin: 0px auto 10px auto;
  }
  .navbar {
    margin: 12px 24px 8px 14px;
  }    
  .logorc {   
    width: 90%;
  }
  h1#articletitle {
      margin: 6px 20px 4px 10px;
  }
}

/* Extra-extra small devices only */
@media (max-width: 640px) {
  .col-ss-1, .col-ss-2, .col-ss-3, .col-ss-4, .col-ss-5, .col-ss-6, .col-ss-7, .col-ss-8, .col-ss-9, .col-ss-10, .col-ss-11, .col-ss-12 {
    float: left;
    border: 0px;
    margin: 0px 10px 10px 0px;
  }
  .col-ss-1 {
    width: 8%;
  }
  .col-ss-2 {
    width: 16%;
  }
  .col-ss-3 {
    width: 24%;
  }
  .col-ss-4 {
    width: 33%;
  }
  .col-ss-5 {
    width: 41%;
  }
  .col-ss-6 {
    width: 48%;
  }
  .col-ss-7 {
    width: 58%;
  }
  .col-ss-8 {
    width: 66%;
  }
  .col-ss-9 {
    width: 74%;
  }
  .col-ss-10 {
    width: 83%;
  }
  .col-ss-11 {
    width: 91%;
  }
  .col-ss-12 {
    width: 99%;
  }
  .logorc { 
  display: block;
  width: 80%;
  height: auto;
  margin: 0px auto 10px auto;
  }
  .navbar {
    margin: 12px 12px 8px 6px;
  }  
  .logorc {   
    width: 95%;
  }
  h1#articletitle {
    margin: 6px 20px 2px 10px;
  }
}
