﻿.style1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    /* Override bootstrap no margin */
    margin: 8px;
}


/* Override bootstrap no underlink on links */

a, a:visited {
    text-decoration: underline;
    color: #000000;
}

.superscript {
    position: relative;
    bottom: 0.5em;
    color: red;
    font-size: 0.8em;
    text-align: left;
}

.button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 0px 0px;
    cursor: pointer;
    border-radius: 4px;
    width: 14%;
    text-align: center;
}

.tiny {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
}

#rightImage img {
    height: 135px;
    border: 1px solid;
    transition: 0.3s ease;
    
}

#rightImage:hover img {
    transform: scale(4, 4);
    z-index: 555555 !important;
}

#rightImage {
    padding-top: 5px;
    z-index: 100;
}


#newrightImage img {
    height: 135px;
    border: 1px solid;
    transition: 0.3s ease;
}

#newrightImage:active img {
    transform: scale(4, 4);
    z-index: 555555 !important;
}

#newrightImage {
    padding-top: 5px;
    z-index: 100;
}


    /* doesn't work - not setting a chart width means it gets set with a default 300px */
    #Chart1 {
    width: 70%;
}

* {
    box-sizing: border-box;
}

input[type=text], select, textarea {
    width: 25%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    /*combined from existing css*/
    margin-right: 5px;
    position: relative;
}

label {
    padding: 12px 12px 12px 0;
    display: inline-block;
}

input[type=submit] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    /*float: left;*/
    width: 14%;
    font-size: 1em;
    text-align: center;
}

    input[type=submit]:hover {
        background-color: #45a049;
    }

.container {
    border-radius: 10px;
    background-color: #f2f2f2;
    padding: 10px;
}

.col-25 {
    float: left;
    width: 9%;
    margin-top: 6px;
}

.col-75 {
    float: left;
    width: 91%;
    margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

.tableCharacter {
    
    width: 7%;
}

.tableExcerpt {
   
    width: 3%;
}

.tableTitle {
 
    width: 10%;
}

/* use !important to force the chart to auto adjust the height*/
.chart {
    max-width: 100%;
    height: auto !important;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .col-25, .col-75, input[type=submit] {
        width: 80%;
        margin-top: 2px;
        margin-left: 8px;
    }

    input[type=text] {
        width: 80%;
    }

    .button {
        width: 45%;
    }

    select {
        width: 70%;
    }

    #rightImage img {
        width: 100px;
        height: 75px;
        border: 1px solid;
        transition: 0.3s ease;
        z-index: 555555 !important;
    }

    #rightImage:hover img {
        transform: scale(1, 1);
        z-index: 555555 !important;
    }

    #rightImage {
        padding-top: 5px;
    }

    body {
        background-color: lightblue;
    }

    .smallHeader {
        font-size: 2vw;
    }

    .tableCharacter {
        font-size: 2vw;
        width: 5%;
    }

    .tableExcerpt {
       
        width: 3%;
    }

    .tableTitle {
        font-size: 2vw;
        width: 15%;
    }
}

@media screen and (max-width: 1000px) and (min-width: 601px) {


    .button {
        width: 25%;
    }

    select {
        width: 25%;
    }

    #rightImage img {
        width: 100px;
        height: 75px;
        border: 1px solid;
        transition: 0.3s ease;
    }

    #rightImage:hover img {
        transform: scale(1, 1);
        z-index: 555555 !important;
    }

    #rightImage {
        padding-top: 5px;
    }

    body {
        background-color: lightgreen;
    }
}


.dot {
    height: 5px;
    width: 5px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
    margin-right: 3px;
}

.underlogo {
    font-size: 2.0em;
    font-family: 'Lato', sans-serif;
}

.searchtext {
    font-size: 0.95em;
}

.image-caption {
    margin-top: 2px;
    margin-bottom: 2px;
}

/* override the default datepicker size so years and months dropdown doesn't look squashed */
.ui-datepicker {
    width: 20em;
    font-size: 13px;
}

hr {
    /* override bootstrap */
    border-top: 1px solid black;
    margin-top: 1px;
    margin-bottom: 1px;
}



/* Prefix tooltip with sb to distinguish from bootstrap tooltip */


.sbtooltip {
    position: relative;
    display: inline-block;
    z-index: unset;
}

    .sbtooltip .sbtooltiptext {      
        visibility: hidden;
        position: absolute;
        bottom: 150%;
        left: 50%;
        /*margin bottom and margin left amended to show tooltip to the left of the element, rather than above it*/
        /*margin-bottom: 5px;*/
        /*margin-left: -80px;*/
        margin-bottom: -40px;
        margin-left: -150px;
        padding: 7px;
        width: 140px;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
        background-color: #000;
        background-color: hsla(0, 0%, 20%, 0.95);
        color: #fff;
        text-align: center;
        font-size: 14px;
        line-height: 1.2;
        z-index: 1;
    }

    .sbtooltip:hover .sbtooltiptext {
        visibility: visible;
    }

/*
  Hide radio button (the round disc)
  we will use just the label to create pushbutton effect
*/
input[type=radio] {
    display: none;
    margin: 10px;
}

    /*
  Change the look'n'feel of labels (which are adjacent to radiobuttons).
  Add some margin, padding to label
*/
    input[type=radio] + label {
        display: inline-block;
        margin: -2px;
        padding: 4px 12px;
        margin-bottom: 0;
        font-size: 14px;
        line-height: 20px;
        color: #333;
        text-align: center;
        text-shadow: 0 1px 1px rgba(255,255,255,0.75);
        vertical-align: middle;
        cursor: pointer;
        background-color: #f5f5f5;
        background-image: -moz-linear-gradient(top,#fff,#e6e6e6);
        background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
        background-image: -webkit-linear-gradient(top,#fff,#e6e6e6);
        background-image: -o-linear-gradient(top,#fff,#e6e6e6);
        background-image: linear-gradient(to bottom,#fff,#e6e6e6);
        background-repeat: repeat-x;
        border: 1px solid #ccc;
        border-color: #e6e6e6 #e6e6e6 #bfbfbf;
        border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
        border-bottom-color: #b3b3b3;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);
        filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
        -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
        -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    }

    input[type=radio]:checked + label {
        background-image: none;
        outline: 0;
        -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
        -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
        background-color: #4CAF50;
        /*#e0e0e0;*/
    }


table {
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

th:first-of-type {
    border-top-left-radius: 10px;
}

th:last-of-type {
    border-top-right-radius: 10px;
}

tr:last-of-type td:first-of-type {
    border-bottom-left-radius: 10px;
}

tr:last-of-type td:last-of-type {
    border-bottom-right-radius: 10px;
}

/*override for bootstrap*/

.table {
    margin-bottom: 2px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

i {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}


.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

div.arrow-left {
    width: 0;
    height: 0;
    border-bottom: 9px solid transparent; /* left arrow slant */
    border-top: 9px solid transparent; /* right arrow slant */
    border-right: 18px solid red; /* bottom, add background color here */
    font-size: 0;
    line-height: 0;
}

img {
    padding-left: 0px;
    /* add position relative to stop the image hyperlinks being visible over the top of the screen grabs when hovered*/
    /* see https://coder-coder.com/z-index-isnt-working/ */
    position: relative;
}

