﻿/*
    There are three breaks in screen size as follows:
         0px - 449px : typically mobile devices
       450px - 649px : typically tablet devices
       650px - plus  : typically pc's, laptops, etc...
    Note, there is also another break 0px - 500px where the menu bar reformats
*/

/* ####################################################################### */
/* ############################### GENERAL ############################### */

body {
    color: #718790; /* Set the normal text color */
}

/* Ensure images that appear as links do not have borders */
a img {
    border-style: none;
}

/* Ensure text within links is not underlined */
a {
	text-decoration: none;
	outline: none;
	color: #319ebc;
}

a:hover {
    background: none;
}

/* =============================== DEVICES =============================== */

.visible-only-on-pc {
    
}

.visible-except-on-pc {
    
}

.visible-only-on-mobile {
    
}

.visible-except-on-mobile {
    
}

/* ------------------------------- Media queries that determine when the classes are visible ------------------------------- */

@media screen and (max-width: 450px) {
    /*
        SCREEN SIZE:
        ------------
        450px - 649px : typically tablet devices
    */

    .visible-only-on-mobile {
        
    }

    .visible-except-on-mobile {
        display: none;
    }
}

@media only screen and (min-width: 449px) {
    /*
        SCREEN SIZE:
        ------------
        0px - 449px : typically mobile devices
    */

    .visible-only-on-mobile {
        display: none;
    }

    .visible-except-on-mobile {
        
    }
}

@media screen and (max-width: 650px) {
    /*
        SCREEN SIZE:
        ------------
        650px - plus  : typically pc's, laptops, etc...
    */

    .visible-only-on-pc {
        display: none;
    }

    .visible-except-on-pc {
    }
}

@media only screen and (min-width: 649px) {
    /*
        SCREEN SIZE:
        ------------
        450px - 649px : typically tablet devices
    */

    .visible-only-on-pc {
    }

    .visible-except-on-pc {
        display: none;
    }
}

/* =============================== SOCIAL NETWORK =============================== */

.social-network-spacing {
    
}

.social-network-figures-outer {
    /*color:#168EB3;*/
    /*font-weight:bolder;*/
    /*text-align:center;*/
    width:32%;

    background-color: #AFD9E5;

    -moz-border-top-left-radius: 10px;
    -webkit-border-top-left-radius: 10px;
    -khtml-border-top-left-radius: 10px;
    border-top-left-radius: 10px;

    -moz-border-top-right-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -khtml-border-top-right-radius: 10px;
    border-top-right-radius: 10px;

    /*padding-top: 4px;*/
    /*padding-bottom: 2px;*/
}

.social-network-figures-inner {
    color:#168EB3;
    font-weight:bolder;
    text-align:center;

    background-color: #E2F1F5;

    -moz-border-top-left-radius: 8px;
    -webkit-border-top-left-radius: 8px;
    -khtml-border-top-left-radius: 8px;
    border-top-left-radius: 8px;

    -moz-border-top-right-radius: 8px;
    -webkit-border-top-right-radius: 8px;
    -khtml-border-top-right-radius: 8px;
    border-top-right-radius: 8px;

    padding-top: 3px;
    padding-bottom: 2px;

    margin: 1px 1px -1px 1px;
}

.social-network-headings-outer {
    /*font-size:x-small;*/
    /*text-align:center;*/

    background-color: #AFD9E5;

    -moz-border-bottom-left-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -khtml-border-bottom-left-radius: 10px;
    border-bottom-left-radius: 10px;

    -moz-border-bottom-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -khtml-border-bottom-right-radius: 10px;
    border-bottom-right-radius: 10px;

    /*padding-top: 2px;*/
    /*padding-bottom: 6px;*/
}

.social-network-headings-inner {
    font-size:x-small;
    text-align:center;

    background-color: #E2F1F5;

    -moz-border-bottom-left-radius: 8px;
    -webkit-border-bottom-left-radius: 8px;
    -khtml-border-bottom-left-radius: 8px;
    border-bottom-left-radius: 8px;

    -moz-border-bottom-right-radius: 8px;
    -webkit-border-bottom-right-radius: 8px;
    -khtml-border-bottom-right-radius: 8px;
    border-bottom-right-radius: 8px;

    padding-top: 2px;
    padding-bottom: 5px;

    margin: -1px 1px 1px 1px;
}

/* =============================== STAR RATINGS =============================== */

.star-ratings-unrated {
    color: #168EB3;
}

/* =============================== ITEM NAMES =============================== */

.title {
    /*
        This style defines the visual cues that identify text as a writer name
        See 'primary-name' and 'secondary-name' for the visual cues as to its importance
    */
    color: #3597B9;
}

.writer-name {
    /*
        This style defines the visual cues that identify text as a writer name
        See 'primary-name' and 'secondary-name' for the visual cues as to its importance
    */
    color: #3597B9;
}

.story-name {
    /*
        This style defines the visual cues that identify text as a story name
        See 'primary-name' and 'secondary-name' for the visual cues as to its importance
    */
    color: #3597B9;
}

.primary-name {
    /*
        This style defines the visual cues that determine how prominent and hence how important the text is
        See 'writer-name' and 'story-name' for the visual cues as to what the text relates to
    */
    font-size:larger;
    font-weight:bolder;
}

.secondary-name {
    /*
        This style defines the visual cues that determine how prominent and hence how important the text is
        See 'writer-name' and 'story-name' for the visual cues as to what the text relates to
    */
    font-size: smaller;
}

/* =============================== NATIONALITY FLAG =============================== */

.nationality-flag-image {
    float:right;
}

/* =============================== AUTHOR MINI BIO =============================== */

.mini-bio-text:before {
    content: '\'';
}
.mini-bio-text:after {
    content: '\'';
}

.mini-bio-text {
    font-style: italic;
}

/* ######################################################################### */
/* ############################### HOME PAGE ############################### */

/* =============================== APP BAR =============================== */

.app-bar {
    position:absolute;
    float:left;
    height:75px;
    width:100%;
    background-image:url('/Content/themes/etherbooks/images/action-bar-top-gradient.png');
    background-repeat:repeat-x;
}

.app-bar-watermark {
    float:right;
    top:0px;
    right:0px;
}

/* ------------------------------- App bar logo ------------------------------- */

.app-bar-ether-logo-link {
    position:absolute;
    float:left;
    margin:10px 10px;
}

/* ------------------------------- App bar title ------------------------------- */

.app-bar-ether-title-link {
    position:absolute;
    float:left;
    margin:8px 70px;
}

.app-bar-ether-title-text {
    color:white;
    font-size:x-large;
}

.app-bar-search-link {
    position:absolute;
    float:right;
    top:12px;

    right:10px;
}

/* =============================== APP MENU =============================== */

.menu-bar {
    margin: 0px 0px 0px 0px;
    padding: 0;
    /*text-align: right;*/
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
}

.menu-bar li {
    display: inline;
    list-style: none;
    padding-left: 7px;
    padding-right: 7px;
}

.menu-bar li a {
    background: none;
    color: #999;
}

.menu-bar li a:hover {
    color: #333;
}

@media only screen and (max-width: 500px) {
    /*
        SCREEN SIZE:
        ------------
        0px - 500px
    */

    .menu-bar {
        margin: 0;
        padding: 0;
        padding-top: 5px;
        /*text-align: center;*/
    }

    .menu-bar li {
        margin: 0;
        padding-left: 3px;
        padding-right: 3px;
    }
}

.menu-item-highlight {
    padding-top: 5px;
    padding-bottom: 1px;
    border-bottom: #168EB3 6px solid; /* Thick blue bar separating the menu from the body of the page content */
}

.footer-list {
    margin: 0px 0px 0px 0px;
    padding: 0;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;    
}

.footer-list li {
    display: inline;
    list-style: none;   
    padding-left: 7px;
    padding-right: 7px;
    white-space: nowrap;
}

/* =============================== APP ACCOUNT =============================== */

.account-area {
    color: white;
    background-color: #106987;
}

.account-area-link {
    color: white;
}

.account-area-link:hover {
    color: #168EB3;    
}

/* =============================== APP TABS =============================== */

.tab-bar {
    list-style: none;
    background-color: #718790;
    border-top: 1px #168EB3 solid;
    border-bottom: 1px #168EB3 solid;
    margin-top: 0px;
    margin-bottom: 0px;
}

.tab-bar li {

    -moz-border-top-left-radius: 4px;
    -webkit-border-top-left-radius: 4px;
    -khtml-border-top-left-radius: 4px;
    border-top-left-radius: 4px;

    -moz-border-top-right-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -khtml-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    
    display: inline-block;
    margin-top: 2px;
    padding: 5px 18px;
    border: 1px #168EB3 solid;
    background-color: rgb(232, 241, 245);
    margin-bottom: -1px;
    white-space: nowrap;
}

.tab-bar li:hover,
.tab-bar li.tab-item-selected {
    border-bottom: 1px rgb(203, 213, 218) solid;
    background-color: rgb(203, 213, 218);
}

.tab-bar li.tab-item-first {
    margin-left:-30px;
}

@media only screen and (max-width: 500px) {
    .tab-bar li {
        padding: 5px 5px;
    }
}

/* =============================== APP BUTTONS =============================== */

.radio-bar {
    list-style: none;
}

.radio-bar li {

    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    border-radius: 4px;

    display: inline-block;
    padding: 5px 0px 3px 0px;
    border: 1px #168EB3 solid;
    background-color: rgb(232, 241, 245);
    white-space: nowrap;
}

.radio-bar li:hover,
.radio-bar li.radio-item-selected {
    background-color: #1382A9;
}

.radio-bar li a {

    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -khtml-border-radius: 4px;
    border-radius: 4px;

    border-left: 2px #E2E2E2 solid;
    border-top: 2px #E2E2E2 solid;
    border-right: 2px #718790 solid;
    border-bottom: 2px #718790 solid;

    padding: 2px 10px;
}

.radio-bar li:hover a,
.radio-bar li.radio-item-selected a {
    border-left: 2px #718790 solid;
    border-top: 2px #718790 solid;
    border-right: 2px #E2E2E2 solid;
    border-bottom: 2px #E2E2E2 solid;

    color: white;
}

.radio-bar li.radio-item-first {
    margin-left:-20px;
}

/* =============================== APP CONTENT =============================== */

.app-page {
    position: absolute;
    margin-top: 73px;
    width: 100%;
    background-color: #E8F1F5; /* Menu bar background color */
}

.app-page-content {
    clear: both;
    background-color: #CBD5DA;
    border-top: #168EB3 3px solid; /* Blue bar separating the menu from the body of the page content */
}

/* =============================== APP FOOTER =============================== */



/* ########################################################################## */
/* ############################### DATA PAGES ############################### */

/* =============================== LIST PAGES =============================== */

.list-filter {
    display:inline-block;
    width:100%;
}

.list-filter-content {
    padding: 10px;
}

.list-heading {
    padding: 10px 10px 0px 10px;
    font-weight: bold;
    font-size: larger;
    color: #000000;
}

.list-holder {
    display: inline-block;
    width: 100%;
}

.list-area {
    border-top:#CBD5DA 7px solid;
    border-left:#CBD5DA 7px solid;
}
    
.list-message {
    background-color:#566368;
    color: #ffffff;
    text-align:center;
}

.list-end {
    background-color:#566368;
    color: #ffffff;
    text-align:center;
}

.list-message,
.list-end {
    width:100%;
}

.row-holder {
    padding-right:7px; /* The width of the gray border round the row item box */
}

.row-item {
    background-color:#ffffff;
    width:100%;
}

.cell-holder {
    border-bottom: #CBD5DA 7px solid; /* The width of the gray border round the row item box */
}

.cell-item {
    background-color: #ffffff;
    padding:10px;
}

.list-message,
.list-end,
.row-item {
    margin-bottom:7px; /* The width of the gray border round the row item box */
    display:inline-block;
}

.list-message,
.list-end,
.row-item,
.cell-item {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    border-radius: 10px;
}

.image-column-cell {
    float:left;
}

.image-column-cell img {
    margin-left: 10px;
    margin-top: 10px;
}

.general-cell {
    float:left;
    padding-left:10px;
    padding-right:15px;
    margin-top:10px;
    margin-bottom:10px;
}

.details-column-cell {
    /*float:left;*/
    padding-left:10px;
    padding-right:15px;
    margin-top:5px; /* White space between the gray border and the start of the cell content */
    margin-bottom:6px; /* White space between the cell content and the social cell below */
}

.bonus-column-cell {
    margin-left:400px;
    margin-bottom:6px; /* White space between the cell content and the social cell below */
    padding-top:5px; /* White space between the gray border and the start of the cell content */
    padding-right: 20px;
}

.social-cell {
    clear:both;
    margin-left:10px;
}

/* ------------------------------- Media queries that determine if the bonus column appears ------------------------------- */

@media screen and (max-width: 450px) {
    /*
        SCREEN SIZE:
        ------------
        450px - 649px : typically tablet devices
    */

    .details-column-cell {
        clear: left;
    }
}

@media only screen and (min-width: 449px) {
    /*
        SCREEN SIZE:
        ------------
        0px - 449px : typically mobile devices
    */

    .details-column-cell {
        clear: none;
    }
}

@media screen and (max-width: 650px) {
    /*
        SCREEN SIZE:
        ------------
        650px - plus  : typically pc's, laptops, etc...
    */

    .cell-holder {
        float: none;

        border-right: none;

        display: inline-block;
        width: 100%;
    }

    .cell-item {
        /*width: 100%;*/
        width: auto;

        margin-right: 7px; /* The width of the gray border round the row item box */
    }

    .image-column-cell img {
        margin-right: 10px;
    }

    .details-column-cell {
        /*max-width:none;*/ /* Maximum width which will force the content to wrap if too big rather than expand and break the column layout */
        /*width:300px;*/ /* Make the details column a fixed width so the layout can use all the space up to the bonus column */
    }

    .bonus-column-cell {
        display: none;
        visibility: hidden;
    }
}

@media only screen and (min-width: 649px) {
    /*
        SCREEN SIZE:
        ------------
        450px - 649px : typically tablet devices
    */

    .cell-holder {
        float: left;

        border-right: #CBD5DA 7px solid; /* The width of the gray border round the row item box */
    }

    .cell-item {
        width: 285px; /* This width has been chosen so we go from two columns to one at exactly the same time that we go from download buttons in the banner to having a download page */
    }

    .image-column-cell img {
        
    }

    .details-column-cell {
        float:left;
        /*max-width:320px;*/ /* Maximum width which will force the content to wrap if too big rather than expand and break the column layout */
        width:300px; /* Fixed width which will force the content to wrap if too big rather than expand and break the column layout */
        /*width:auto;*/ /* Make the details column a variable width so the layout will be fluid */
    }

    .bonus-column-cell {
        display: block;
        visibility: visible;
    }
}

/* =============================== DETAILS PAGES =============================== */

.detail-area {
    /* This may be redundant as we have now migrated to the 'column' layout style */
    /* This class is superseeded by 'column-area' */
    background-color:#CBD5DA;
    display:inline-block;
    width:100%;
}

.detail-area-content {
    /* This may be redundant as we have now migrated to the 'column' layout style */
    /* This class is superseeded by either 'column-left-cell' or 'column-right-cell' but the divs need to be paired up and put inside another div of class 'column-row' */
    margin:7px;
    padding: 10px;
    background-color:#ffffff;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    border-radius: 10px;
}

.column-area {
    background-color:#CBD5DA;
    display:inline-block;
    width:100%;
    padding-bottom: 7px;      
}

.column-row {
    display:inline-block;
    width:100%;                
}

.column-left-cell,
.column-right-cell,
.column-span-cell {
    margin: 7px 7px 0px 7px; /* NOTE - if the top and/or bottom margine is changed you need to update the offset used in the '/Content/themes/etherbooks/scripts/etherbooksColumnLayoutSupport.js' javascript support file */
    padding: 10px; /* NOTE - if the top and/or bottom padding is changed you need to update the offset used in the '/Content/themes/etherbooks/scripts/etherbooksColumnLayoutSupport.js' javascript support file */
    background-color: #ffffff;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    border-radius: 10px;
}

.column-left-cell {
    float: left; /* NOTE - if the left column 'float' is not 'none' for two column mode then you need to update the mode detection used in the '/Content/themes/etherbooks/scripts/etherbooksColumnLayoutSupport.js' javascript support file */
}

.column-right-cell {
    /* NOTE - if the right column 'clear' is not 'none' for two column mode then you need to update the mode detection used in the '/Content/themes/etherbooks/scripts/etherbooksColumnLayoutSupport.js' javascript support file */
}

.column-span-cell {
    min-width: 285px; /* NOTE - the 'min-width' of all 'column-*-cell' classes in single column mode should match the fixed width of the 'column-left-cell' in two column mode */
}

/* ------------------------------- Media queries that determine which column mode is displayed ------------------------------- */

@media screen and (max-width: 650px) {
    /*
        SCREEN SIZE:
        ------------
        650px - plus  : typically pc's, laptops, etc...
    */

    .column-left-cell {
        min-width: 285px; /* NOTE - the 'min-width' of all 'column-*-cell' classes in single column mode should match the fixed width of the 'column-left-cell' in two column mode */
        float: none; /* NOTE - if the left column 'float' is not 'none' for two column mode then you need to update the mode detection used in the '/Content/themes/etherbooks/scripts/etherbooksColumnLayoutSupport.js' javascript support file */
    }

    .column-right-cell {
        min-width: 285px; /* NOTE - the 'min-width' of all 'column-*-cell' classes in single column mode should match the fixed width of the 'column-left-cell' in two column mode */
        clear: left; /* NOTE - if the right column 'clear' is not 'none' for two column mode then you need to update the mode detection used in the '/Content/themes/etherbooks/scripts/etherbooksColumnLayoutSupport.js' javascript support file */
    }
}

@media only screen and (min-width: 649px) {
    /*
        SCREEN SIZE:
        ------------
        450px - 649px : typically tablet devices
    */

    .column-left-cell {
        width: 285px; /* NOTE - the 'min-width' of all 'column-*-cell' classes in single column mode should match the fixed width of the 'column-left-cell' in two column mode */
    }

    .column-right-cell {
        margin-left: 318px; /* NOTE - the 'min-width' of all 'column-*-cell' classes in single column mode should match the fixed width of the 'column-left-cell' in two column mode */
    }
}

/* =============================== TILES PAGES =============================== */

.tile-column-holder {
    float:left;
    width:50%;
}

.tile-item-thumb {
    margin-right:5px;
}

.tile-item-card {
    width:250px;
}

.tile-item-strip {
    width:250px;
    clear:left;
}

.tile-item-thumb,
.tile-item-card,
.tile-item-strip {
    float:left;
}

.tile-item-image-holder {
    margin-left:14px;
    margin-right:6px;
}

.tile-item-text-holder {
}

.tile-item-image-holder,
.tile-item-text-holder {
    float:left;
}

/* ------------------------------- Media queries that determine which column mode is displayed ------------------------------- */

@media screen and (max-width: 650px) {
    /*
        SCREEN SIZE:
        ------------
        650px - plus  : typically pc's, laptops, etc...
    */

    .tile-column-holder {
        clear: left;
    }
}

@media only screen and (min-width: 649px) {
    /*
        SCREEN SIZE:
        ------------
        450px - 649px : typically tablet devices
    */

}

/* ############################################################################# */
/* ############################### DOWNLOAD PAGE ############################### */

/* =============================== APP DOWNLOAD BUTTONS =============================== */

/* ------------------------------- Apple ------------------------------- */

.download-apple-download-link {
}

/* ------------------------------- Android ------------------------------- */

.download-google-download-link {
}

/* ########################################################################## */
/* ############################### POPUP CARD ############################### */

.popup-card-holder {
    -webkit-box-shadow: 5px 5px rgba(0,0,0,0.4);
    -moz-box-shadow: 5px 5px rgba(0,0,0,0.4);
    box-shadow: 5px 5px rgba(0,0,0,0.4);

    position: fixed;
    left: 100px;
    top: 200px;
}

.popup-card-container {
    background-color:#187BA4;
    color:white;
    border:black 1px solid;
}

.popup-card-top-bar {
    background-color:#898989;
}

.popup-card-top-left {
    float: left;
    padding: 5px;
}

.popup-card-top-right {
    float:right;
}

.popup-card-top-close-button {
    background-color: black;
    color: white;
    height: 30px;
}

.popup-card-column-left {
    float: left;
    width: 60px;
    margin: 10px;
}

.popup-card-column-right {
    float: left;
    width: 200px;
    margin: 10px;
}

.popup-card-column-span {
    clear: both;
    width: 280px;
    margin: 10px;
    text-align: justify;
}

.popup-card-link {
    
}

/* ############################################################################# */