.body {
	background: #F0F0F0;
}

nav {
 	border: 8px solid rgb(15,36,57); 
 	padding: 10px;
 	background: #330000;
 	background: linear-gradient(rgb(1,22,45), rgb(8,75,145));
}

h1 { 
 	text-align: center;
}
h2 {
  text-align: center;
}

.pcenter { 
  text-align: center;
}

ul {
  font: bold 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding: 0;
  display:  inline-block;
  vertical-align: top;
  float: right;
  margin:  0 8px;
  margin-right: 0;
  text-transform: uppercase;
}

li {
  display: inline-block;
 }

nav a {
  background: #395870;
  background: linear-gradient(#49708f, #293f40);
  border-right: #999; 
  border-right: 1px solid rgba(0,0,0, .3);
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
}

nav a:link {
  background: #314b60;
  box-shadow:  inset 0 0 10px 1px rgba(0, 0, 0, .3);
}

nav li:first-child a {
  border-left: 10px;
  border-radius: 4px 4px 4px 4px;
}

nav li:last-child {
  margin-right: 0;
}

nav li:last-child a {
  border-right: 0;
  border-radius: 0 4px 4px 0;
}


#mfj-navhome {
  background: none;
  border-right: none;
  color: #000;
  padding: 0 0;
  box-shadow: none;
}

.mfj_hr1 {
    border: 3px solid rgb(0,102,255);
    border: 3px solid rgba(0,102,255, 0.9);
    border-radius: 4px;
    margin-left: 0;
    margin-top: 2px;
    overflow: hidden;
    text-align: left;
    width: 15% !important;
}

.mfj_hr2 {
    border: 4px solid rgb(0,102,255);
    border: 4px solid rgba(0,102,255, 0.9);
    border-radius: 4px;
    margin-top: 4px;
    margin-left: 0;
    overflow: hidden;
    text-align: left;
    width: 20% !important;
}

.mfj_toprow {
	background-color: rgb(16,36,56);
	display: grid;
	margin: auto;
	width: 90%;
	padding: 3px 16px;
}

.mfj_gridpart {
/*	background-color: rgb(8,75,145); */
/*	display: grid; */
  background-color: white;
	margin: auto;
	width: 95%; padding: 3px 4px;
   margin-top: 40px;
}

.mfj_content {
   border: none;
}

.mfj_video {
  background-color: white;
  border: none;
  margin: auto;
  object-fit: fill;
  width: 92%; height: auto;
}

.mfj_video video {
    max-width: 100% !important;
}

.mfj_form {
   background-color: rgb(120,70,60);
   background-color: rgba(120,70,60, .5);
   border: 2px solid #ccc;
   border-radius: .5rem;
   margin-bottom: 1rem;
}

.mfj-parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: 50% 60%; height: 100vh;
}

.mfj-synopsis {
     display: grid;      
     margin: auto;
     max-width: 800px;
     text-align: center;
     font-size: 17px;
     color: #f3f3f3;
     margin-top: 10px;
     padding: 5px;
     margin-bottom: 20px;
     border-color: #6a9d93;
     border-top-width: 3px;
     background-size: cover;
     background-color: #102438;
}

.mfj-about1 {
     display: grid;
     margin: auto;
     max-width: 800px;
     text-align: center;
     font-size: 17px;
     color: #f3f3f3;
     margin-top: 10px;
     padding: 5px;
     margin-bottom: 20px;
     border-color: #6a9d93;
     border-top-width: 3px;
     background-size: cover;
     background-color: #102438;
}
.mfj-about1 p {
	text-align: center;
}

.mfj_persons {
   font-family: monospace;
   font-size: 18px;
   overflow: hidden;
   text-align: center;
}
.mfj-scenery {
     background-size: cover;
     background-color: #102438;
     border-color: #6a9d93;
     border-top-width: 3px;
     color: #f3f3f3;
     display: grid;
     font-size: 17px;
     margin: auto;
     margin-top: 10px;
     max-width: 800px;
     padding: 5px;
     margin-bottom: 20px;
     text-align: center;
}

.mfj-costumes {
    text-align: center;
    font-family: monospace;
    font-size: 17px;
    overflow: hidden;
}
.mfj_libretto {
    text-align: center;
    font-family: monospace;
    font-size: 17px;
    overflow: hidden;
}
.mfj_supertitles {
    font-family: monospace;
    font-size: 18px;
    overflow: hidden;
    text-align: center;
}

.mfj_mobile {
     display: none;
}

@media only screen and (max-width: 768px) {
   .mfj-scenery { width: 100%; }
   .mfj-synopsis { width: 100%; }
}

h2 #anchor-5 {
    text-align: center;
}


.mfj_content_divL {
     -webkit-box-sizing: content-box; 
     -moz-box-sizing: content-box;
     box-sizing: content-box;
     margin: 8px 2px;
     padding: 6px 2px;
     border: 2px solid gray;
     display: inline-block;
     vertical-align: top;
     grid-row-start: 1; grid-row-end: 3;
     width: 32%; overflow: hidden;
     background: white;
}

.mfj_content_divR {
     -webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
     box-sizing: content-box;
     margin: 0;
     padding: 4px; border: 2px solid gray;
     display: inline-block;
     vertical-align: top;
     grid-row-start: 1; grid-row-end: 3;
     width: 32%; overflow: hidden;
     background: white;
}
.mfj_content_divC {
     -webkit-box-sizing: content-box; 
     -moz-box-sizing: content-box;
     box-sizing: content-box; 
     margin:  0;
     padding: 4px;
     border: 2px solid gray;
     display: inline-block;
     vertical-align: top;
     grid-row-start: 1; grid-row-end: 3;
     width: 32%; overflow: hidden;
     background: white;
}

.mfj_audio {
	border: 2px solid blue; width: 95%
}

.mfj_gridrow {
	background-size: cover;
	background-color: rgb(12,30,90);
	display: grid;
	margin: auto;
	text-align: center;
    vertical-align: top;	
	width: 92%; 
}

.mfj_topcolL3 {
    -moz-box-sizing: content-box; 
    box-sizing: content-box;
    background-color: rgb(16, 36, 56);
    background-repeat: no-repeat;
    background-size: cover;
    border: none;
    display: inline-block;
    grid-row-start: 1; 
    grid-row-end: 3; 
    margin-right: auto;
    margin-left: auto;
    padding: 0px;
    vertical-align: top;	
}


div.mfj_topcolL3 img { 
    width: 100%; height: auto;
    object-fit: cover;
    padding: 20px 0px;
}

.mfj_topcolCR3 {
    -moz-box-sizing: content-box;

    background-repeat: no-repeat;
    background-color: rgb(16,36,56);
    box-sizing: content-box;
    border: none;
    display: inline-block;
    font-size: 20px;
    color: rgb(209,212,215);
    color: rgba(209,212,215,0.85);

    grid-row-start: 1; 
    grid-row-end: 3; 
    margin: 0px; padding: 10px 8px;
    vertical-align: top;
}

.mfj_topcolCR3 a { 
    background: white;
    font-size: 24px;
}

/* WORK */
.mfj_topcolCR3 a:link { 
    color: rgb(209,212,215);
} 
.mfj_topcolCR3 a:visited {
    color: red;
} 
.mfj_topcolCR3 a:hover {
    color: green;
} 

.mfj_partbuttondiv { 
    background-color: white;
    height: 80px;
    border: none;
    margin-top: 10px;
    vertical-align: middle;
    text-align: center;
}

.mfj_partbuttondiv a { 
  vertical-align: middle; text-align: center; height: 30px; padding: 10px 4px;
}

.mfj_partbuttondiv a:link { 
    color: rgb(200,208,210);
} 

.mfj_partbuttondiv a:visited {
    color: rgb(220,222,230);
}   

.mfj_partbuttondiv a:hover {
    color: rgb(15,36,57);
}

.mfj_buttondiv { 
    background-color: white;
    height: 60px;
    border: none;
    margin-top: 5px;
    vertical-align: center;
    text-align: center;
}

.mfj_buttondiv a { 
  vertical-align: middle; text-align: center; height: 20px; padding: 6px 4px; margin: 2px;
}

.mfj_buttondiv a:link { 
    color: rgb(200,208,210);
} 

.mfj_buttondiv a:visited { 
    color: rgb(220,222,230);
}    

.mfj_buttondiv a:hover {
    color: rgb(15,36,57);
}    

.mfjbutton {
   width: 100px;
   height: 40px;
   background: #447722;
   border: none;
   margin-top: 12px;
   margin-bottom: 2px;
   vertical-align: bottom;
}

.mfj_content_colL {
     -webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
     box-sizing: content-box;
     border: 2px solid gray;
     display: inline-block;
     grid-row-start: 1; grid-row-end: 3;
     margin: 0;
     padding: 4px;
     vertical-align: top;
     overflow: hidden;
     background: white;
}

.mfj_content_colR {
     -webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
     box-sizing: content-box;
     margin: 0;
     padding: 4px;
     border: 2px solid gray;
     display: inline-block;
     vertical-align: top;
     grid-row-start: 1; grid-row-end: 3;
     overflow: hidden;
     background: white;
}
.mfj_content_colC {
     -webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
     box-sizing: content-box;
     margin: 0; padding: 4px;
     border: 2px solid gray;
     display: inline-block;
     vertical-align: top;
     grid-row-start: 1; grid-row-end: 3;
     overflow: hidden;
     background: white;
}


.mfj_content_colE {
    border: none;
    background-color: white;
}

.mfj_gridtop .mfj_gridrow { 
	text-align: left;
	background-color: white;
	margin-bottom: 8px;
	margin-top: 28px;
}

.mfj_gridtop .mfj_gridrow h2 { 
    text-align: left;
    font-size: 24px;
    color: #395c5d;
}		
.mfj_gridtop .mfj_gridrow h3 { 
    text-align: left;
    font-size: 30px;
    color: #102438;
    line-height: 1.16;
}		

footer {
  border: 8px solid rgb(15,36,57);
  padding: 10px;
  background: #330000;
  background: linear-gradient(rgb(1,22,45), rgb(8,75,145));
}

.mfj_foot { }
.mfj_footL {
 background-color: #003377;
}

.mfj_footR {
 background-color: #330077;
}

.visually-hidden {
  visibility: hidden;
}

/* ===== Footer ===== */
.mfj_footer { color: #e6e8ea; font-size: 14px; line-height: 1.4; }
.mfj_footer h3 { margin: 6px 0 12px; color: #d1d4d7; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }

.mfj_footer a {
  background: #314b60;
    box-shadow: inset 0 0 10px 1px rgba(0, 0, 0, .3);
    border-right: 1px solid rgba(0, 0, 0, .3);
    color: #fff;
    padding: 12px 22px;
    text-decoration: none;
    font: bold 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
}

.mfj_footer a:hover { text-decoration: none; }

.mfj_footer_contact,
.mfj_footer_mid,
.mfj_footer_social {
  background: rgba(16,36,56,.85); border: 1px solid rgba(255,255,255,.15);
  padding: 14px 16px; margin: 12px auto; width: 92%;
  max-width: 1100px;
}

.mfj_footer_form { display: grid; grid-template-columns: 1fr; gap: 10px; }
.mfj_footer_form .mfj_form_row { display: flex; flex-direction: column; gap: 4px; }
.mfj_footer_form label { font-size: 12px; color: #c7d5e0; margin-bottom: 2px; }
.mfj_footer_form input,
.mfj_footer_form textarea,
.mfj_subscribe_form input {
  background: #102438;
  color: #e6e8ea;
  border: 1px solid #395870;
  padding: 9px 10px; border-radius: 3px; width: auto;
}
.mfj_footer_form textarea { min-height: 110px; resize: vertical; }


.mfj_msg { margin-left: 8px; font-size: 12px; color: #cde7cd; display: inline-block; }

.mfj_btn,
.mfj_btn_link {
  background: #314b60;
    border-right: 1px solid rgba(0, 0, 0, .3);
    color: #fff;
    padding: 8px 20px;
    text-decoration: none;
    font: bold 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
}
.mfj_btn:hover,
.mfj_btn_link:hover { filter: brightness(1.05); text-decoration: none; }
.mfj_btn:disabled { opacity: .7; cursor: default; }

.mfj_footer_mid {
  display: grid; grid-template-columns: 1fr;
  gap: 16px; 
}

.mfj_purchase_btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.mfj_purchase_card { display: flex; gap: 12px; align-items: center; background: rgba(1,22,45,.4); border: 1px solid rgba(255,255,255,.1); padding: 12px; border-radius: 4px; }
.mfj_purchase_card img { width: 96px; height: auto; border: 1px solid rgba(255,255,255,.15); }
.mfj_book_title { font-weight: bold; }
.mfj_book_author { font-style: italic; font-size: 13px; color: #c9d2da; margin-top: 2px; }
.mfj_subscribe_form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mfj_social_links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.mfj_social_links a { background: rgba(1,22,45,.4); border: 1px solid rgba(255,255,255,.18); padding: 8px 14px; border-radius: 999px; }
.mfj_footer_social h3 { text-align: center; margin-bottom: 6px; }

/* Make contact three-up on medium screens and up */
@media (min-width: 680px) {
   .mfj_footer_contact { width: 92%; }
   .mfj_footer_form { grid-template-columns: 1fr 1fr 1fr; column-gap: 16px; row-gap: 12px; }
   /* Place first-row fields into three columns */
   .mfj_row_name { grid-column: 1 / 2; }
   .mfj_row_email { grid-column: 2 / 3; }
   .mfj_row_phone { grid-column: 3 / 4; }
   /* Message row spans full width */
   .mfj_row_message { grid-column: 1 / -1; }
   /* Button and notice layout */
   #contactForm .mfj_btn { grid-column: 1 / 2; justify-self: start; }
   #contactSuccess { margin-left: 0; align-self: center; text-align: center }
   /* Mid section: two columns — left book card, right stacked purchase + subscribe */
   .mfj_footer_mid { grid-template-columns: 1fr 1fr; align-items: start; column-gap: 18px; }
   .mfj_footer_social { width: 92%; }
}

/* Keep subscribe input + button on one line on small/medium screens */
@media (min-width: 480px) {
  .mfj_subscribe_form { flex-wrap: nowrap; }
  .mfj_subscribe_form input { flex: 1 1 auto; min-width: 0; }
  .mfj_subscribe_form .mfj_btn { flex: 0 0 auto; }
}
