#displayBookPagesDiv
{
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
}


#bookPagesImage
{
    border-radius: 17px;
    box-shadow: 5px 0px 20px black;
    width: 100%;
}


#bookTitle
{
    position: relative;
    top: 50%;
    color: white;
    font-size: 6.25vw;
    text-shadow: #000000 5px 5px 5px;
}

.characterParagraph
{
    margin-bottom: 20px;
}



#displayStormImageDiv
{
  width: 96%;
  margin: auto;
}

#colinStormPic
{
    border-radius: 17px;
    box-shadow: 5px 0px 20px black;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
    
}


#picdiv
{
    margin-top: 10px;
    border: 1px solid black;
    width: 100%;
    height: 100vh;
    background-color: transparent;
    background-image: url("../images/main_picture.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center -85px;
    text-align: center;
}

#messageContainer
{
    background-color: transparent;
    background-image: url("../images/storm2.jpg");
    /*background-image: linear-gradient(to right, rgba(126, 146, 200,1), rgba(255,204,255,0.5));*/
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding-top: 30px;
    padding-bottom: 30px;
    background-position: center;
}

#synopsisContainer
{
    width: 100%;
    background-color: transparent;
    background-image: url("../images/main_picture.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding-top: 30px;
    padding-bottom: 30px;
    background-position: center;
}



.emphasize
{
    font-weight: bold;
    color: red;
}

.characterNames
{
    font-weight: bold;
    color: orangered;
}

#characterHeading
{
    margin-top: 30px;
    margin-bottom: 30px;
}


#synopsisHeading
{
    margin-top: 40px;
}

.synopsisParagraphs
{
    text-align: justify;
    text-justify: inter-word;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 15px;
    margin: 15px;
}

#displaySynposisDiv
{
    border: 1px solid;
    width: 80%;
    margin: auto;
    border-radius: 17px;
    box-shadow: 5px 0px 20px black;
    text-align: center;
    margin-bottom: 35px;
    background-color: whitesmoke; 
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;   
}

.row {
    display: flex;
    margin: auto;
    border: 1px dotted rgb(217,237,249); 
    border-radius: 17px;
    background-color: rgba(217,237,249, .4); 
    width: 96%; 
    margin-bottom: 50px; 
    margin-left: auto; 
    margin-right: auto;
    clear: both;
    box-shadow: 5px 0px 20px black;
}

.col1 {
    width: 20%;
    padding: 1em;
}

.col2 {
    width: 80%;
    text-align: justify;
    text-justify: inter-word;
    margin-right: 10px;
}

/*
#characterDetails
{
  border: 1px solid;
  width: 80%;
  margin: auto;
  border-radius: 17px;
  box-shadow: 5px 0px 20px black;
  height: 200px;
}
*/
.characterImages
{
    border-radius: 17px;
    border: 2px solid black;
    box-shadow: 5px 0 20px black;
    width: 90%;
    
}

/*
#characterPicDiv
{
    border: 1px solid red;
    width: 20%;
    float: left;
    text-align: center;
}

.characterDescriptionDiv
{
    width: 100%;
    text-align: justify;
    text-justify: inter-word;
}

*/
#messageModal
{
  display: none;
  position: fixed; /* Stay in place */
  z-index: 3; /* Sit on top */
  padding-top: 100px; /* 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.9); /* Black w/ opacity */
  animation-name: message-pop-up;
  animation-duration: 0.6s;
}

#messageFromServerBox
{
    position: relative;
    top: 25%;
    color: white;
    text-shadow: 1px 0px black;
    text-align: center;
    font-weight: bold;
    border: 1px solid white;
    width: 50%;
    margin: auto;
    border-radius: 17px;
    background-color: #904A92;
    background-image: linear-gradient(to right, rgba(128,148,201,1), rgba(255,204,255,1));
    box-shadow: 5px 5px 30px blueviolet;
}

@keyframes message-pop-up
{
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

@keyframes message-pop-close
{
  from {transform:scale(1)} 
  to {transform:scale(0)}
}

#button
{
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px 60px;
    background-color: #7E92C8;
    color: white;
    transition: background-color 1s ease-in-out;  
    border-radius: 17px;  
    box-shadow: 5px 10px 12px black;
}   

#button:hover
{
    background-color: #904A92;
}

#tick
{
    display: none;
    position: absolute;
    top: 40px;
    font-size: 4em;
    color: green;
    left: 500px;
    text-shadow: 2px 0px 2px white;
} 

#cross
{
    display: none;
    position: absolute;
    top: 40px;
    font-size: 4em;
    color: red;
    left: 500px;
    text-shadow: 2px 0px 2px white;
} 


#messageGoesHere
{
    font-size: 1.2em;
}
    
    #smiley {
  text-shadow: 2px 2px 12px black;
  font-size: 2em;
}


*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

 html
{
  scroll-behavior: smooth;
}
    
body
{
    background-color: #F5F5F5;
    font-family: sans-serif;
}

#container
{
    width: 100%;
}

.anchor
{
    color: white;
}

.collagePixDiv    
{
    width: 80%;
    margin: 55px auto;
    background-color: rgb(126, 146, 200);
    border-radius: 17px;
    box-shadow: black 5px 0px 20px;
    color: white;
    font-size: 1.2em;
    text-align: center;
}

.collagePix
{
	border: 1px solid white;
    border-radius: 17px;
	width: 90%;
	box-shadow: black 5px 0px 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.collagePixDiv
{
    text-align: center;
}

/*

#picdiv
{
    margin-top: 10px;
    border: 1px solid black;
    width: 100%;
    height: 100vh;
    background-color: transparent;
    background-image: url("../images/main_picture.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center -85px;
    text-align: center;
}
*/
#welcome
{
    position: relative;
    top: 50%;
    color: white;
    font-size: 5.25vw;
    letter-spacing: 10px;
    text-shadow: 5px 0px 20px blue;
}


.displayCenter
{
    text-align: center;
}

#message
{
    width: 80%;
    margin-top: 55px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 55px;
    background-color: whitesmoke;
    border-radius: 17px;
    padding-bottom: 15px;
    box-shadow: 5px 0px 20px black;
    color: black;
    font-size: 1em;
    text-align: justify;
    padding-left: 5px;
    padding-right: 5px;
}


#message a:link, #message a:visited
{
    color: orangered;
    text-decoration: none; 
    background-color: transparent;
    transition: background-color 0.75s ease-in-out;  
}


p
{
    margin-top: 15px;
    padding-top: 15px;
    padding-left: 5px;
    padding-right: 5px;      
}

#buttonDiv
{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid black;
    text-align: center;
    background-image: url("../images/trio_pic.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

#buttonDiv a:link, #buttonDiv a:visited
{
    background-color: #7E92C8;
    text-decoration: none;
    transition: background-color 0.75s ease-in-out;
}


.image-heading
{
    text-align: center;
    border: 1px solid;
    border-radius: 10px;
    padding: 10px 0px;
    background-color: #7E92C8;
    color: white;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 1s ease-in-out;      
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 5px 0px 5px black;
}

.image-heading:hover
{
    background-color: #904A92;
}



#galleryButton
{
    display: block;
    width: 30%;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
    background-color: #7E92C8;
    padding: 20px;
    border: 1px solid white;
    border-radius: 17px;
    color: white;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 5px 0px 20px black;
}

#lotsButton
{
    display: block;
    width: 30%;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
    background-color: #7E92C8;
    padding: 20px;
    border: 1px solid white;
    border-radius: 17px;
    color: white;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 5px 0px 20px black;
}


#ukMessageDiv
{
    width: 100%;
    height: 250px;
    margin-left: auto;
    margin-right: auto;
    background-image: url("../images/flower1a.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
}

#ukMessagePara
{
    position: relative;
    top: 40%;
    color: white;
    font-size: 2em;
    font-weight: bold;
    text-shadow: 5px 0px 20px red;
}

#bookOrderDiv
{
    width: 100%;
    border: 1px solid black;
    margin-left: auto;
    margin-right: auto;
    background-color: transparent;
    background-image: url("../images/blur1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
}


#bookOrderDiv a:link, #bookOrderDiv a:visited
{
    background-color: #7E92C8;
    transition: background-color 0.75s ease-in-out;
}

#bookOrderHeader
{
    color: white;
    margin-top: 20px;
    margin-bottom: 20px;
}


@media (hover: none)
{
   #picdiv, #messageContainer, #synopsisContainer, #bookOrderDiv
   {
       background-attachment: scroll;
   }
   
   #synopsisContainer
   {
        background-image: url("../images/orange_swirl.jpg");
   }
}


h3
{
    color: white;
}

.bookOrderFormClass
{
    display: block;
    width: 35.5%;
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.1em;
    border: 2px solid #590a0a;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 5px 0px 10px  #590a0a;    
}

/*

#bookOrderEmail
{
    display: block;
    width: 35.5%;
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.1em;
    border: 2px solid #590a0a;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 5px 0px 10px  #590a0a;
}
*/
#password
{
    display: none;
}

#bookOrderButton
{
    display: block;
    width: 35%;              
    border-radius: 10px;
    background-color: #000000;
    color: white;
    font-weight: bold;
    font-size: 1.5em;
    box-shadow: 5px 0px 10px  #590a0a;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    margin-bottom: 15px; 
    padding: 15px;    
    text-decoration: none;  
    transition: background-color 0.75s ease-in-out;    
}

#footer
{
    margin-top: 0px;        
    width: 100%;
    text-align: center;
    background-color: transparent;
    padding-bottom: 15px;
}

#footerPara
{
    margin-top: 0px;            
}

/*
.row
{
    display: table; 
    border: 1px dotted rgb(217,237,249); 
    border-radius: 17px;
    background-color: rgba(217,237,249, .4); 
    width: 80%; 
    margin-top: 100px; 
    margin-bottom: 50px; 
    margin-left: auto; 
    margin-right: auto;
    clear: both;
    box-shadow: 5px 0px 20px black;
}
*/
#toTheTop
{
    width: 50px;
    height: 50px;
    background-color: #7E92C8;
    position: fixed;
    bottom: 0px;
    right: 0px;
    color: white;
    transition: background-color 1s ease-in-out;
}

#chevron
{
	font-size: 30px;
	position: relative;
	top: 15%;
	left: 35%;
}

.imglink
{
    border: 2px solid #7E92C8;
    border-radius: 17px;
    box-shadow: 5px 0px 10px black;
    margin-top: 15px;
    max-width: 500px;
}

.imglink
{
    width: 90%;
    max-width: 500px;
    transition: 1s;
}

.imglink:link, .imglink:visited
{        
    border: 2px solid #7E92C8;
    border-radius: 17px;
    box-shadow: 5px 0px 10px black;
    transition: transform 1s;  
}
  
    
.column
{
    float: left;
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
    display: table-cell;
    vertical-align: top;
    text-align: left;
    width: 25%;
    padding: 10px;
}
    
    
.content
{
  background-color: white;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 15px;
}
   
     
.modal
{
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 3; /* Sit on top */
  padding-top: 100px; /* 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.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content
{
  margin: auto;
  display: block;
  width: 80%;
  max-width: 550px;
}

/* Caption of Modal Image */
#caption
{
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}


/* Add Animation */
#img01, #caption {  
  -webkit-animation-name: image-pop-out;
  -webkit-animation-duration: 0.8s;
  animation-name: image-pop-out;
  animation-duration: 0.8s;
}

@-webkit-keyframes image-pop-out {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes image-pop-out {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}


@-webkit-keyframes image-pop-close {
  from {-webkit-transform:scale(1)} 
  to {-webkit-transform:scale(0)}
}

@keyframes image-pop-close {
  from {transform:scale(1)} 
  to {transform:scale(0)}
}


/* The Close Button */
.close
{
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

/*not sure what to do about this - does not work with IE, but could stop buggy behaviour on touch screens
when a hover element is pressed... 
@media (hover: hover)
{*/
    #message a:hover
    {
        background-color: yellow;
    }
    
    #buttonDiv a:hover
    {
        background-color: #904A92;
    }
    
    #newsletterDiv a:hover
    {
        background-color: green;
    }
    
    #toTheTop:hover
    {
        color: yellow;
        background-color: #FE4600;
    }
    
    .imglink:hover
    {        
        border: 2px solid red;
        transform: scale(1.05);
    }
    
    .close:hover, .close:focus
    {
      color: #bbb;
      text-decoration: none;
      cursor: pointer;
    }   
    
    .anchor:hover
    {
        color: yellow
    }
    
    #subscribeButton:hover
    {
         background-color: #904A92;
    }
    
/*}*/

@media only screen and (max-width: 820px)
{
    /*
    .column
     {
        width: 50%;
     }
     
    .row
     {
        width: 90%;
        margin-top: 0px;
     }
     */
     
     .col1, .col2
     {
        width: 50%;
     }
     
     .characterImages
     {
        margin-top: 10px;
     }
     
     #message, #displaySynposisDiv
     {
        width: 90%;
     }
     
     .collagePixDiv    
     {
        width: 90%;
     }
     
     
     #galleryButton, #subscriberEmail, #subscribeButton
     {
        width: 75%;
     }
     
     #welcome
     {
        font-size: 10vw;
     }
}
     
  /* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 1195px)/*originally was 700px*/
{ 
    #picdiv
      {
        background-position: center -20px;
      }
}

@media only screen and (max-width: 1024px)/*originally was 700px*/
{    
  .modal-content 
  {
    width: 100%;
  }
  /*
  #welcome
  {
    font-size: 12vw;
  }
  */
  #message, #displaySynposisDiv
  {
    width: 90%;
  }
  
  .collagePixDiv    
  {
     width: 90%;
  }
  
  .row
  {
    display: block;
  }
  
  .col1, .col2
 {
    width: 100%;
 }
 
 .bookOrderFormClass, #bookOrderButton
  {
    width: 90%;
  }
  
  #bookOrderDiv
  {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  
  #colinStormPic
  {
    width: 90%;
  }
  
  
  
  /*
  .row
  {
    width: 90%;
    margin-top: 0px;
  }
  
  .column
  {
    width: 100%;
  }
  */
  
  #galleryButton
  {
    width: 90%;
  }
  
  #subscriberEmail
  {
    width: 90%;
  }
  
  #subscribeButton
  {
    width: 90%;
  }
  
  #ukMessagePara
  {
    top: 30%;
  }
}   


@media only screen and (max-width: 429px)
{
    #galleryButton
    {
        width: 90%;
    }
    
    #bookOrderHeader
    {
        font-size: 1.7em;
    }
    
    #subscriberEmail
    {
        width: 90%;
    }
    
    #subscribeButton
    {
        width: 90%;
    }
    
    #newsletterDiv
    {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .column
     {
        width: 100%;
     }
     
     #ukMessagePara
    {
        top: 30%;
    }
}

@media only screen and (max-width: 320px)
{
    #ukMessagePara
    {
        top: 10%;
    }
    
    #bookOrderHeader
    {
        font-size: 1.45em;
    }
}


@media only screen and (max-width: 600px)
{
    #galleryButton, #lotsButton, #subscriberEmail, #subscribeButton 
    {
        width: 90%;
    }
}
