/* PHONE SETTINGS */

  @viewport {
  width: device-width ;
  zoom: 1.0 ;
}

@-ms-viewport {
  width: device-width ;
}


/* PHONE SCREEN SETTINGS */

@media screen and (min-width:320px) and (max-width:812px){
  
  body { 
    background-image: none;
  }
        
  .rightcontent, .rightbox1, .video, .YouTube, .videocaption, .comments, .imagecontainer, .sidebar1, .sidebar2, .caption1, .caption2, .quote {
   display:none;
  }
  

   .left {
    width:100%;
   }
   
   .center {
    width:100%;
    float:none;
   }
   
   .center {
    width:100%; 
   }
   
   .review, .reviewinfo {
    width:100%;
    float:none;
   }
}


    
    /* TAGS */

body{
	margin: 0;
	padding: 0 0px;
	font-family: Ariel, sans-serif;
  background-image: url("/Pictures/SitePictures/BookBackgroundSeamless.jpg");
  background-attachment: fixed;
  background-repeat:repeat;
  background-position:center;
  min-width:640px;
  font-size:10px;
}

h1 {
  color:grey;
  margin-bottom:-2px;
  margin-top:-2px;
  font-size:2em;
}

h2 {
  font-family:Arial;    /* like h3 except left justified */
  color:#2b78c3;
  margin-bottom:5px;
  font-size:2em;
  float:none;
  clear:both;
  text-align:left;
}


h3 {
  font-family:Arial;
  color:#2b78c3;
  text-align:center;
  padding:4px;
  margin-bottom:5px;
  font-size:2em;
  float:none;
  clear:both;
}

h4 {
  font-size:1.6em;
  margin-top:10px;
  text-align:left;
}


h6 {
 font-size:1.4em; 
 font-weight:bold;
}

p {
  font-size:1.7em;
  color:black;
}

ul li {
 font-size:1.7em;
 /*list-style:none;*/
}

blockquote {
  font-style:italic;
  font-size:1.7em;
}


blockquote p {
  font-style:italic;
  font-size:1em;
}

a:hover {
  opacity:0.7; 
}

figcaption {
 font-size:1.5em; 
 color:grey;
 margin-top:0.8em;

}

hr {
 margin:2em;
 width:75%;
 margin-left:auto;
 margin-right:auto;
}

u {      /* underline text when using img title as a note eg <u img title="Weird">surreal</u> */
  text-decoration-style: dotted;
  text-decoration-color: blue;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  -webkit-transition: all 4s ease-out;
   -moz-transition: all 4s ease-out;
   -o-transition: all 4s ease-out;
   -ms-transition: all 4s ease-out;
   transition: all 4s ease-out;
 
}

u:hover {
 color:red;
 text-decoration-color: red;
 transition:2s;
}

.centerwrapper {
 text-align:center; 
  
}

/* HEADER AND MENU */

.menu {
 width:100%;
 height;auto;
 margin-bottom:-30px;
}

.Project {
  color:#2b78c2;
  font-size:30px;
  font-weight:bold;
  margin-top:15px;
  display:none;
}

.Icon {
  margin-left:20px;
  display:none;
  float:left;
  width:45px;
  padding-right:5px;
  margin-top:-10px;
}



/* LEFT HAND COLUMN AND COVER IMAGE */

/*.left {
 	float:left;
	width:17%;
  margin-top:-0.3em;
  display:block;
  margin-right:1%;
}*/

.left {
  float:left;
  width:17%;
text-align:center;
}



/*.bookcover {
 border: 5px solid #fff;
  box-shadow: 0 0 0 1px #bbb;
  width:98%;
  margin:1.3em 0 1.3em 8%;
  display:block;
  
 }*/
 
 .bookcover {
  border: 5px solid #fff;
  box-shadow: 0 0 0 1px #bbb;
  width:98%;
  display:block;
margin-left:auto;
margin-right:auto;
   
   
 }
 
 .leftcaption {
  width:100%;
  display:block;
  margin-right:1%;
  margin-left:8%;
  margin-bottom:15px;
  color:red;
  text-align:center;
  font-family:arial;
  font-size:1.4em;
  color:#6c6c6c;
 }
 
 .award {
   width:98%;
   display:block;
   margin-left:auto;
   margin-right:auto;
   margin-left:10%;
   text-align:center;
 }
 
 .award p {
   color:black;
   font-weight:bold;
 }
 
 .pubinfo {
  width:90%;
   display:block;
   margin-left:auto;
   margin-right:auto;
   margin-left:15%;
   text-align:left;
   overflow-wrap:anywhere;
   margin-right:10px;
   
 }
 
 .pubinfo p {
   color:black;
   font-size:1.4em;
 }
 
 .pubinfo p span {
   color:#2b78c3;
   font-weight:bold;
   font-size:1em;
   margin-right:0.3em;
 }
 
 .pubiconwrapper {
  margin-left:-20px;
   
 }
 
 .pubicon {                                   /* publisher icon  */
 width:50%; 
 display:block;
 margin-left:auto;
 margin-right:auto;

 }
 
 
 .pubinfo .pubdetails p a:hover {              /* changes opacity on ISBN when hovered */
  opacity:0.7; 
 }
 
 .pubiconwrapper a {                           /* removes underline from publisher name */
  text-decoration:none; 
 }

 .pubname {                                    /* style publishers name */
  font-weight:bold;
  width:100%;
  text-align:center;
  margin-top:-2px;
  text-decoration:none; 
 }
 
 .pubdetails {
   width:96%;
    }
    


/* PAGE CENTRE WITH REVIEW */


.center {
  float:left;
	width:57%;
	padding: 0% 0% 0 2%;
  margin-top:10px;
  border-left:0px;
  text-align:justify;
}

.reviewinfo {
 font-family:arial;
 font-size:1.6em;
 padding-bottom:0.6em;
 color:black;
 padding: 1em 1.3em 0.5em 1.3em;
 border: 1px solid #fff;
 box-shadow: 0 0 0 1px #bbb;
 background: rgba(255, 255, 255, 0.6);
 position:relative;
}

.bookerwinner  {
  width:10%; 
  float:right;
  padding:0.4em;  
}

.dynamicimg {     /* for placing images precisely, even overlapping the title box, for effect eg the hat in Deacon King Kong*/
  position:absolute;     /* style width, top, bottom, right, left on the page */
}

.reviewinfo ul {
font-size:0.8em;
margin-top:5em;

}

.reviewinfo ul li {
 list-style-type: none;
 padding-bottom:0.4em;
 font-weight:bold;
 color:black;
 padding-right:2em;
 text-align:left;
}

.reviewinfo li span {
  font-weight:bold;
  color:#2b78c3;
  padding-right:0.5em;
}

.reviewer {
 font-size:2em;
 color:orange;
 bottom:10px;
 float: right;
 margin-top:-1.5em;
 text-decoration:none;
}

.reviewer:hover {
 pointer:hand;
 text-decoration:none;
 opacity:0.7;
 color:purple;
 transition:0.75s;
}



.titleOfBook {
 color: dimgrey;
 display:inline-block;
 font-size:3em;
 font-weight:bold;
 padding-right:0.4em;
 text-align:left;
 
}

.authorOfBook {
  color:green;
  display:inline-block;
  font-size:3em;
  text-align:left;
  
}

.rating {
  height:18px;
  width:90px;
}

.review {

}

.review ol li {
 font-size:1.6em; 
}

.review ul li {
 font-size:1.6em; 
}

.illust {       /* illustrator */
 margin:0.8em 0 0 1.3em;
 font-size:2em;
 color:green;
}

.illust span {
  color:black;
  margin-right:0.3em;
}

.trans {       /* translator */
 margin-left:1.3em;
 font-size:2em;
 color:green;
}

.trans span {
  color:black;
  margin-right:0.3em;
}


.bulleted li {              /* ul or ol class for lists with bullet points */
 list-style-type: circle; 
        }

.dropcap {
  color: #2b87c3;
  float: left;
  font-family: Georgia;
  font-size: 75px;
  line-height: 60px;
  padding-top: 3px;
  padding-right: 8px;
  padding-left: 3px;
}
}

/* MAJOR QUOTE IN REVIEW WITH RED BAR ON LEFT SIDE */

.majorQuote {

 font-family: 'Arial', sans-serif;
  width:80%;
  margin:0 auto;
  padding-left:10px;
  text-align:left;
  font-size:2.3em;
  font-weight:bold;
  color:black;
  border-left: thick solid darkred;
  border-left-width:1.3em;

}


.frombook {
 font-family: 'Arial', sans-serif;
  width:80%;
  margin:0 auto;
  padding-left:10px;
  text-align:left;
  font-size:2.3em;
  font-weight:bold;
  color:black; 
 border-left: thick solid darkred;
  border-left-width:1.3em; 
}



.majorQuoteAttribution {
   width:80%;
  text-align:right;
  font-weight:bold;
  font-size:1.6em;
  margin-top:1em;
}

.blockquotecaption {
  font-weight:bold;
  color:black;
  font-size:1em;
  margin:-0.9em 0 0 3em;
}

/* IMAGES SIDE BY SIDE IN THE MIDDLE OF THE REVIEW */

.middlereviewimages {
  width:45%;
  display: inline-block;
  margin-left:auto;
  margin-right:auto;
 
}

figure {
 text-align:center; 
}



/* OTHER RELATED BOOKS ON THIS WEBSITE */

.relatedbookswrapper {
text-align:center;
 font-size:1em;
 margin-bottom:1.5em;
}

.relatedbook {
 width:20em;
 height:31em;
}

/* PLACE LARGE IMAGE BENEATH THE REVIEW */

.reviewimage {
 width:80%;
 display:block;
 margin-left:auto;
 margin-right:auto;
}



/* EMBED A YOUTUBE VIDEO WITH A CAPTION */

.video {
  display: flex;
  justify-content: center;
}

.videocaption {
 text-align:center;
 font-size:1.6em;
 color:grey;
 margin-top:0.5em;
 margin-bottom:2em;
 width:80%;
 margin-left:auto;
 margin-right:auto;
}

.videocaption p {
 color:grey;
 font-size:1.4em;  
}


/* RIGHT COLUMN */

.rightcontent {
 	float:left;
	width:20%;
  margin-top:0.9em;
  padding-left:1.1%;
  text-align:center;
}

/*.rightbox1 {
    width:100%;

}

.rightbox1 a {
 text-decoration:none;
 text-align:center;
 color:black;
}

.rightbox1 a:hover {
 color:dimgrey; 
}*/

/* DISPLAY AN IMAGE THE ENTIRE WIDTH OF THE COLUMN */

.sidebar1 {                      /* display an image the entire width of the right column */
  display: inline-block;
  width:98%;
  border: 1px solid #fff;
  box-shadow: 0 0 0 1px #bbb;

}

.sidebar1-nb {           /* main sidebar image without borders */
  display: inline-block;
  width:98%;

  }
  
  .sidebar1 a:hover {
 opacity:0.7;
 transition:0.75s;
}

/* DISPLAY TWO IMAGES SIDE BY SIDE USING LEFT AND RIGHT CLASSES - ENSURE IMAGES ARE EDITED TO EQUAL HEIGHT */


.sidebar2 {                
  display: inline-block;
  width:40%;
 
}

.sidebar2 a:hover {
    opacity:0.7; 
    transition:0.75s;
}


a:hover {
 opacity:0.7; 
}

.imagecredit {
  font-size:0.7em; 
  text-align:center;
}

/* PLAY A LARGE CAPTION UNDER AN IMAGE */

.caption1 {                       
  font-family:arial;
  font-weight:bold;
  font-size:1.6em;
  color:green;
  text-align:center;
  margin: 0.8em 0 0.8em 0;
  width:94%;
  display:block;
  margin-left:auto;
  margin-right:auto;
  
}

/* PLACE A SMALLER CAPTION FOR MORE DETAILED INFORMATION */

.caption2 {                       
 font-family:arial;
 font-size:1.4em;
 color:#6c6c6c;
 text-align:center;
 width:94%;
 display:block;
 margin-left:auto;
 margin-right:auto;
 margin-top: 0.8em;
 margin-bottom:0.8em;
}

/* GIVE TEXT IN RIGHT BAR A WHITE BACKGROUND WITH BORDER */


.captionbackground {                        
    color:black;
    width:99%;
    display:block;
    margin-left:auto;
    margin-right:auto;
    margin-top:10px;
    margin-bottom:10px;
    background-color:white;
    padding-top:0.5em;
    padding-bottom:0.5em;
    border: 1px solid #fff;
    box-shadow: 0 0 0 1px #bbb;
    
}



/* BOOK QUOTE LEFT JUSTFIFIED */

.bookquote p {                     /* quote from a book with left justification */
  font-family:arial;
 font-size:1.7em;
 color:black;
 text-align:left;
 width:94%;
 display:block;
 margin-left:auto;
 margin-right:auto;
 margin-top: 0.8em;
 margin-bottom:0.8em;
}

.bookquotecaption {               /* add a caption to a book quote */
  font-family:arial;
 font-size:1.6em;
 font-weight:bold;
 color:black;
 text-align:left;
 width:94%;
 display:block;
 margin-left:auto;
 margin-right:auto;
 margin-top: 0.8em;
 margin-bottom:0.8em;
}

/* BOOK QUOTE CENTERED */

.bookquotecenter p {                     /* quote from a book with left justification */
  font-family:arial;
 font-size:1.6em;
 color:black;
 text-align:center;
 width:94%;
 display:block;
 margin-left:auto;
 margin-right:auto;
 margin-top: 0.8em;
 margin-bottom:0.8em;
}

.bookquotecaptioncenter {               /* add a caption to a book quote */
  font-family:arial;
 font-size:1.6em;
 font-weight:bold;
 color:black;
 text-align:center;
 width:94%;
 display:block;
 margin-left:auto;
 margin-right:auto;
 margin-top: 0.8em;
 margin-bottom:0.8em;
}

.bookquotepoetry {
 font-style:italic;
 list-style-type:none;
}

.bookquotepoetry ul {
 list-style-type:none; 
}

.bookquotepoetry ul li {
  list-style-type:none;
}

/* QUOTE BOX - STYLED WITH TAGS ON PAGE */
.quotebox {                        
  text-align:center;
  border: 3px solid #002c5c;
  box-shadow: 0 0 0 1px #bbb;
  background-color:#b3f7ff;
  padding:1em;
  font-size:1.5em;
  }
  
  .quotebox h3 {
   font-size: 2em;
   margin-top:-0.4em;
  }
  
  .quotebox .caption2 {
   font-size:1em;
   font-weight:bold;
   color:black;
  }

.quoteboxtextleft .quoteboxtextleft p {
 color:black;
 margin-bottom:0;
 text-align:left;
 padding:1em;
 font-size:1.6em;
}

.quoteboxtextleft p {
  color:black;
 margin-bottom:0;
 text-align:left;
 padding:1em;
 font-size:1.1em;
 margin-top:-1em;
}

.quoteboxtextcenter .quoteboxtextcenter p {
color:black;
 margin-bottom:0;
 text-align:center;
 padding:1em;
 font-size:1.6em;
}

.quoteboxtextcenter p {
  color:black;
 margin-bottom:0;
 text-align:center;
 padding:1em;
 font-size:1.1em;
 margin-top:-1em;
}

.quoteboxpoetry {
 font-size:0.8em;
 color:black;
 text-align:left;
 margin-top:-0.2em;
 text-indent: -20px;
 padding-left: 20px;
 list-style-type:none;
}

.quoteboxcaption {                   /* add a caption in the quotebox */
  font-weight:bold;
  padding-bottom:1em;
  color:black;
  padding-top:0.8em;
 font-size:1.2em;
 }
 
 .quoteboxcaptionleft {                   /* add a caption in the quotebox */
  font-weight:bold;
  padding-bottom:1.2em;
  color:black;
  text-align:left;
  margin-left:1.5em;
  padding-top:0.8em;
  font-size:1.2em;
 }

.quotebox ul {
 text-align:left;

}

.quotebox ul li {
 padding-bottom:0.5em;
 font-size:1.2em;
}

.quotebox ol {
text-align:left;
                  }
        
.quotebox ol li {
 padding-bottom: 1.5em;
 font-size:1.2em;
        }
        



/* ACCORDION */   /* SEE 'THE FIVE' FOR EXAMPLE */

.accordiononwrapper {
  width:100%;
  overflow:hidden;
  clear:both;
}

.accordion {
   background-color: #dcd9c9;
    color: black;
    cursor: pointer;
    padding: 10px;
    /*width: 98%;*/
    /*border: none;
    outline: none;*/
    font-size: 15px;
    transition: 0.4s;
    /*margin-left:2%*/
    font-weight:bold; 
    font-size:1em;
    text-align:center;
   width: 100%;
   text-align: left;
   transition: 0.4s;
   
   border: 1px solid #fff;
   box-shadow: 0 0 0 1px #bbb;
}

.accordion img {
  float:left;
  padding:5px 5px 5px 0;
  height: 100px;
}

.accordion p {
 text-align:left; 
}

.accordion:hover {
    background-color: #333;
    color:white;
    font-weight:bold; 
}

.accordion:after {
   /* content: '\002B';*/
    color: black;
    font-weight: bold;
    float: right;
    margin-left: 5px;
    background-color:#d4bd3f;
    background-color:white;
    font-weight: bold;
   }

.active:after {
   
}

.panel {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin-bottom:10px;
    background-color: white;
    color:black;
    max-height: 0;
    width:91%;
    /*margin-left:2.8%;
    margin-right:3.2%;*/
    font-size:0.8em;
    text-align:left
}

.panel p {
 font-size:1.4em
}

.panel p span {
 text-decoration:underline; 
}

.panel ul li {
 font-size:1.4em; 
 list-style-type: circle;
}

/* BOTTOM OF PAGE */



.footer {
	float:left;
	width:100%;
	clear:both;
	text-align:center;
}




/* MODAL POP-UP */

            /*  MODAL 1  */
 
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 50px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  margin-bottom:50px;
  padding-top:35px;
   }
   

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 45%;   /* ADJUST CONTENT WIDTH HERE */
  overflow:scroll-y
}

.modal-content p {
 font-size:0.8vw;

}

/* The Close Button */
.close {
  color: black;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  /*color: #000;*/
  color:grey;
  text-decoration: none;
  cursor: pointer;
}

 
 #myBtn {
  border:none;
  background-color: rgba(207,12,8,0.1);
  padding:2px;
  font-size:1em;
  font-family: Arial, Helvetica, sans-serif;
   -webkit-transition: all 3s ease-out;
   -moz-transition: all 3s ease-out;
   -o-transition: all 3s ease-out;
   -ms-transition: all 3s ease-out;
   transition: all 3s ease-out;
 }
 
 #myBtn:hover {
  cursor: pointer;
  background-color: rgba(207,12,8,0.3);
  transition:0.75s;
 } 

 
 .image-container p {
   display:inline-block;
   font-weight:bold;
   padding-bottom:-175px;
   padding-right:3px;
 }
 
 
            /*  MODAL 2  */
 
.modal2 {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 50px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  margin-bottom:50px;
  padding-top:35px;
   }
   

/* Modal Content */
.modal-content2 {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 45%;   /* ADJUST CONTENT WIDTH HERE */
  overflow:scroll-y
}

.modal-content2 p {
 font-size:0.8vw;

}

/* The Close Button */
.close2 {
  color: black;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close2:hover,
.close2:focus {
  /*color: #000;*/
  color:grey;
  text-decoration: none;
  cursor: pointer;
}

 
 #myBtn2 {
  border:none;
  background-color: rgba(207,12,8,0.1);
  padding:2px;
  font-size:1em;
  font-family: Arial, Helvetica, sans-serif;
   -webkit-transition: all 3s ease-out;
   -moz-transition: all 3s ease-out;
   -o-transition: all 3s ease-out;
   -ms-transition: all 3s ease-out;
   transition: all 3s ease-out;
 }
 
 #myBtn2:hover {
  cursor: pointer;
  background-color: rgba(207,12,8,0.3);
  transition:0.75s;
 } 

 
 .image-container p {
   display:inline-block;
   font-weight:bold;
   padding-bottom:-175px;
   padding-right:3px;
 }