.startingBids
{    
    border: 1px solid;
    text-align: center;
    width: 93%;
    margin: auto;
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
    background-color: #e4c9f3;
    box-shadow: 2px 2px 7px black;
}

.displayMoreDetails
{
    text-align: center;
    margin-top: 15px;
    margin-bottom: 20px;
}

.moreDetailsButtons
{
    border: 1px solid;
    width: 93%;
    text-align: center;
    margin: auto;
    border-radius: 17px;
    padding: 15px;
    color: white;
    background-color: #7e92c8;
    transition: background-color 0.6s ease-in;
    font-family: sans-serif;
    font-size: 1em;
    box-shadow: 2px 2px 7px black;
}

.moreDetailsButtons:hover
{
    background-color: #904A92;
}

.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-top: 15px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 5px 5px 5px black;
}

/*
.image-heading:hover
{
    background-color: #904A92;
}*/

/* not sure - quite like the page heading sitting on top of the gallery
will need to test it on different devices.
#galleryGrid
{
    margin-top: 50px;
}
*/
.row
{
    display: table;   
    border: 1px solid black; 
    border-radius: 17px; 
    background-image: linear-gradient(to right, rgba(128,148,201,0.5), rgba(255,204,255,1));
    width: 75%; 
    margin-bottom: 50px; 
    margin-left: auto; 
    margin-right: auto;
    box-shadow: 5px 0px 20px black;
    clear: both;
}

.imglink
{
    border: 2px solid #7E92C8;
    border: 4px solid #7E92C8;
    border-radius: 17px;
    box-shadow: 5px 5px 10px black;
    margin-top: 25px;
    margin-bottom: 15px;
}

.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
{
    display: table-cell;
    vertical-align: middle;
    width: 25%;
    float: left;
}


.content
{
  background-color: rgba(128,148,201,0.3);
  padding: 5px;
  border: 1px solid #260909;
  border-radius: 10px;
  text-align: center;
  margin: 10px;
}


.modal
{
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 3; /* Sit on top */
  padding-top: 20px; *//* 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: 1000px;
}

/* 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)
{*/

#toTheTop:hover
{
    color: yellow;
    background-color: #904A92;
}

.imglink:hover
{        
    border: 2px solid red;
    transform: scale(1.05);
}

.close:hover, .close:focus
{
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}   

#previousLink:hover
{
    background-color: #904A92;
}

#nextLink:hover
{
    background-color: #904A92;
}

/*}*/
@media only screen and (max-width: 1195px)
{
     .row
     {
        width: 90%;
     }
}

@media only screen and (max-width: 1024px)
{
    .row
     {
        width: 95%;
     }
     
     .content
     {
        padding: 0;
     }
}


@media only screen and (max-width: 820px)
{
    .column
     {
        width: 50%;
     }
     
    .row
     {
        width: 90%;
        margin-top: 0px;
     }
}

@media only screen and (max-width: 700px)
{
    .modal-content 
    {
        width: 100%;
    }
    
    .row
     {
        width: 90%;
        margin-top: 0px;
     } 
  
    .column
    {
        width: 100%;
    }    
}