/* ---------------HH CSS for Tables --------------------------------------*/

/*Colours in use on site */
/*Pale Blue - #47ABC2
Dark Blue - #0A3B59
Purple - #BFA3B5
Beige - #E9CEBD
Pink - #DF767E
*/

/* Desktop */
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}


.divbold {
    font-weight: 500;
}

#divtable {
   display: table;
   width: 100%; 
}

#divcaption {
display: table-caption;    
}

.divrow {
    display: table-row;
}

.divcell {
    display: table-cell;
    text-align: center;
}


#invisibled {
    display:none;
}

/*-----------------------------REGISTER ME --------------------------*/

#subform {
    width: 100%;
    text-align: center;
}

.mywidth {
    width: 100%;
    text-align: center;
    font-family:"Lato";
    font-weight: 300;
}

.insubs {
   background-color: #0A3B59;
    width: 100%;
    border: none;
    color: #ffffff;
    font-family:"Lato";
    font-weight: 300;
}

/*-------------------------------HOME PAGE --------------------------*/

#home-authors {
    display: flex;
    flex-wrap: wrap;
}

#home-books {
    display: flex;
    flex-wrap: wrap;
}

.eachbook {
    text-align: center;
    float: left;
}
img.homefrontcover {
   box-shadow: 0 0 10px #333;
   margin: 10px;
   width: 78%;
}

.aueach {
    width: 33%;
    text-align: center;
    float: left;
    padding-left: 10px;
    padding-right: 10px;
}
img.homeavatar {
    width: 60%;
    vertical-align: middle;
    border-style: none;
}

/*----------------------------------------book list ------------------------------*/

#bookinfo {
    width: 100%;
    text-align: center;
}

img.myfrontcover {
   box-shadow: 0 0 10px #333;
   margin: 10px;
   width: 78%;
}


#sortit {
    margin-left: 10px;
    font-family:"Lato";
    font-weight: 400;
    margin-bottom: 10px;
}

#sortit a { 
      color: rgba(0,0,0,.5); /* #6c757d*/
}

#sortit a:hover {
    color: #47ABC2;
}
 
.bold {
    font-weight: bold;
}

/*_---------------------------------------Topics ----------------------------------*/
ul.category-menu {
    list-style-type: none;
    padding-inline-start: 0;
}

#topictitle {
    font-family:"Lato";
    font-weight: 400;
    margin-left: 10px;
    margin-bottom: 20px;
}
li.cat-item {
    xborder-bottom: grey solid 1px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
}

li.cat-item a {
       font-family:"Lato";
       font-weight: 300;
    color: #0A3B59;
}

li.cat-item a:hover {
    color: #DF767E;
}
.catslinks a {
       font-family:"Lato";
       font-weight: 300;
    color: #0A3B59;
    font-size: medium;
    text-align: center;
}

#topics h3 {
font-family:"Lato";
        font-weight: 400;
    text-align: center;
    color: #0A3B59;
    border: 1px solid red;
}

#filtersection {
    text-align: center;
}



/*------------------------------------------------------ book details --------------------------------------*/
.infoleft {
    float: left;
    width: 100%;
    text-align: center;
}
.inforight, .infocentre {
        font-family:"Lato";
        font-weight: 400;
        font-size: 16px;
}

.infocentre {
    text-align: center;
    
    margin-top: 10px;
    margin-bottom: 10px;
}

.fifty {
    width: 50%;
}
.mytitle {
    font-weight: 500;
    font-size: 24px;
    padding-bottom: 16px;
}

.leftalign {
    text-align: left;
}

.justifyalign {
    text-align: justify;
}

img.bookcover {
   box-shadow: 0 0 10px #333;
   margin: 20px;
}

img.fullcover {
     width: 100%;
      box-shadow: 0 0 10px #333;
 }

#samplepreview  {
      font-family:"Lato";
       font-weight: 400;
    font-style: italic;
    text-align: justify;
    font-size: 16px;
}

#biogdiv {
    text-align: center;
}

.abiog {
    font-family:"Lato";
    font-weight: 400;
    font-size: 16px;
    margin-top: -60px;
}

img.bookauthavatar {
    width: 50%;
     margin-top: -60px;
}

h3.rechead{
    font-size: 18px;
    text-align: center;
}


/*------------------------------------------author list ---------------------------------*/
#authorlist {
    width: 100%;
    text-align: center;
}

img.author-avatar {
     width: 100%; 
}

.authordiv {
    float: left;
    width: 33%;
}
/*------------------------------------------author detail ------------------------------*/

.biog {
    text-align: justify;
      font-family: "Lato";
    font-weight: 300;
    font-size: 16px;
    margin-top: -50px;
}
img.avatarimage {
     width: 50%;
 }
 
 #infavatar {
   text-align: center;
 }
 
 #booklist {
    margin: auto 0;
    text-align: center;
 }

.eachauth {
    text-align: center;
    float: left;
}

#catalog {
    text-align: center;
     float: left;
    margin: auto 0;
}
/*---------------------------------------------search ---------------------------------*/

#searchdiv {
    float: right;
    margin: 0 auto;
}

input.searchme {
    width: 200px;
    border-radius: 0;
    border-style: none;
    font-family: "Lato";
    font-weight: 300;
}

.searchme:focus, .searchme:active {
    outline: none;
    border-color: transparent;
}


.searcher {
    background-color: #0a3b59;
    color: #ffffff!important;
    float: none!important;
    display: inline-block;
    font-weight: 400;
    text-align:center;
    vertical-align: middle;
    padding: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
    width: 50px;
    border: none;
}

#schdbooks {
    text-align: center;
    margin: auto 0;
    padding: 0;
    
}


/*-----------------------------------------------------------Screen Size Responsive ---------------------------------------------*/

@media only screen and (max-width: 768px)
{
    /*mobile phones */
    [class*="col-"]
    {
        width: 100%;
    }
    
    #divtable {
        display: block;
    }
    .divrow {
    display: block;
    }

    .divcell {
    display: block;
    }
    
    .biog {
        margin-top: 0;
    }
    
    .abiog {
        margin-top: 0;
    }
    
    img.bookauthavatar {
    margin-top: 0;
    }
    
    .divcell.bkeach, .divcell.aueach {
        width: 100%;
    }
    .fifty {
        width: 100%;
    }
    
    .p-footer-bottom-style, .a-block 
    {
        text-align: center;
    }
    
    .bloc-lg {
        padding: 20px 20px;
    }
    
    .eachbook {
    width: 75%;
    }
    
    .authordiv {
         float: left;
        width: 100%;
    }
    
    img.author-avatar {
        width: 75%;
    }
}

@media only screen and (min-width: 768px)
{
    /*Tablets */
    [class*="col-"]
    {
        width: 50%;
    }
     .bloc-lg {
        padding: 20px 20px;
    }
     .p-footer-bottom-style, .a-block 
    {
        text-align: center;
    }
    
      .biog {
        margin-top: 0;
    }
    
    .abiog {
        margin-top: 0;
    }
    
    img.bookauthavatar {
    margin-top: 0;
    }
    
    .eachbook 
    {
    width: 33%;
    }
    
    img.author-avatar
    {
        width: 75%;
    }
    .authordiv {
            float: left;
        width: 33%;
    }
}

@media only screen and (min-width: 992px)
{
    .eachbook {
    width: 20%;
    }
    
    .authordiv {
         float: left;
        width: 33%;
    }
}

/*--------------------------------------------
.sorta a {
    font-family:"Lato";
      font-weight: 400;
      color: ##0A3B59;
}

.sorta a:hover {
      color: #DF767E;
}
*/




/*.mybook {
      border: 1px solid red;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
}*/