* {
    box-sizing: border-box;
}

#shopbox {
    background-image: url('/images/white10fw50.png');
    padding: 20px 10px 10px;
    width: 800px;
    margin: 10px auto;
    top: 20px;
    max-width: 88%;
}
#shopbox .colhead {
    font-weight: bold;
    background-color: #97B269;
}
#shopbox a,
input[type=submit],
#payment-form button#submit {
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    color: #FFF;
    background-color: #586047;
    padding: 2px  5px;
    border: 1px solid #97B269;
}
#shopbox a {
    font-size: 12px;
}
#shopbox tr td.plain > a {
    font-size: 1rem;
    padding: 0.15rem 0.55rem;
}

#shopbox table#galls {
    border-collapse: collapse;
    margin:auto;
    max-width: 600px;
    width:90%;
}

#shopbox table#galls tr td:first-of-type {
    width: 40%;
    padding:0.15rem;
}

.dark {
    background-image: url('/images/white10fw50.png');
}
#container #shopbox #paypal {
    padding: 4px;
    width: 50%;
    border: 2px solid #97B269;
    margin: 2px auto;
    text-align: center;
}
#container #shopbox #google {
    margin: 2px;
    float:left;
    padding: 5px;
    width: 380px;
    height: 72px;
    border: 2px solid #97B269;
    text-align: center;
}
#msg, .msg,
#msgError {
    background: #FFF;
    text-align: center;
    margin: 10px auto;
    padding: 0.35rem;
    max-width: 600px;
    width: 80%;
    border: 2px solid #030;
}
#msgError {
    font-size: 1.2rem;
    line-height: 1.75rem;
    font-family: "Habibi", serif;
    padding:0.5rem;
    background-color: #F0CC99;
    border: 2px solid #F30;
}
div.strongNotice {
    font-weight: bold;
    /*font-size: 1.15rem;*/
    line-height: 1.75;
    /*background-color: #fdd;*/
}
#forgotten {
    background:none !important;
    padding:0 !important;
    border:none !important;
    color:#33f !important;
    font-weight: normal !important;
}
#forgotten:hover, #forgotten:focus {
    font-style:italic;
    text-decoration: underline;
}
input[type='submit']:hover {
    cursor: pointer;
}
#hiden {
    display:none;
}
.basketTable tr td, .plain tr td{
    line-height: 1.5;
}



#submitDets {
    font-size: 0.9rem;
    padding: 0.25rem 2.5rem;
    box-sizing: border-box;
    border: 2px solid #333;
    margin: 0.5rem auto;
}
input#submitDets.contactbtn {
    border: 1px solid #333;
}

#shopbox a:hover,
#shopbox a:focus,
input[type=submit]:hover,
input[type=submit]:focus,
input#submitDets.contactbtn:hover,
input#submitDets.contactbtn:focus,
#payment-form button#submit:hover,
#payment-form button#submit:focus {
    color: #FF9;
    border: 1px solid #FF9;
}

table#orderTable,
table#basketTable {
    box-sizing: border-box;
    border-collapse: collapse;
    width:100%;
}
table#orderTable {
    line-height: 1.6;
}
table#basketTable td {
    padding: 0.2rem;
    line-height: 1.75;
    vertical-align: middle;
}

table#basketTable thead tr td {
    text-align: center;
}

table#basketTable thead tr td:nth-of-type(2) {
    text-align: left;
}
table#basketTable tbody tr td:nth-of-type(3),
table#basketTable tbody tr td:nth-of-type(4),
table#basketTable thead tr td:nth-of-type(3),
table#basketTable thead tr td:nth-of-type(4) {
    text-align: right;
}

table#basketTable tbody tr:nth-of-type(odd) {
    background-image: url('/images/white10fw50.png');
}

table#basketTable tbody tr:not(.postage) td:first-of-type {
    text-align: center;
    font-size: 1.2rem;
}
table#basketTable tbody tr.postage td {
    text-align: right;
}
table#basketTable tbody tr.total td:nth-of-type(2) {
    text-align: right;
    font-weight: bold;
}

table#basketTable thead tr td:nth-of-type(1),
table#basketTable thead tr td:nth-of-type(5) {
    width: 10%;
}
table#basketTable thead tr td:nth-of-type(2) {
    width: 40%;
}
table#basketTable thead tr td:nth-of-type(3) {
    width: 20%;
}
table#basketTable thead tr td:nth-of-type(4) {
    width: 15%;
}
table#basketTable thead tr.colhead td:nth-of-type(4) {
    padding-right:0.5rem;
}
select#postChoice {
    font-family: Arial, "Roboto", sans-serif;
    padding: 0.2rem 0.5rem;
    background-color: #97B269;
    border: 1px solid #586047;
    color: #333;
    font-size: 0.95rem;
    max-width: 230px;
    overflow: hidden;
    box-sizing: border-box;
}
label:hover,
label:focus {
    cursor: pointer;
}
input#discount {
    font-family: Arial, "Roboto", sans-serif;
    padding: 0.2rem 0.5rem;
    background-color: #97B269;
    border: 1px solid #586047;
    color: #fff;
    font-size: 0.95rem;
    max-width: 230px;
    overflow: hidden;
    box-sizing: border-box;
    letter-spacing: 2px;
}
table#plainTable {
    width:90%;
    margin:auto;
    border-collapse: collapse;
    box-sizing: border-box;
}
table#plainTable tr td:not(:first-of-type)
{
    padding-left:1rem;
}
.centreText {
    text-align: center;
}
table {
    max-width: 100%;
}
#shopbox table#basketTable td > a {
    display: inline-block;
}

table#birdTable {
    width: 100%;
    max-width: 600px;
    margin:auto;
}
span.prodtitle {
    font-size: 1.2rem;
    line-height: 2;
}

p#note {
    font-weight: bold;
    margin: 0.1rem;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 0.9rem;
    display: none;
}
input[type=email],
input[type=text] {
    max-width: 70vw;
}

@media screen and (max-width: 890px ) {
    #shopbox table#galls tbody tr td:first-of-type {
        width: 60%;
    }
    #shopbox table#galls tbody tr td:nth-of-type(2) {
        width: 40%;
    }
    #shopbox table#galls tbody tr td {
        border-bottom: #97b269 1px solid;
    }
}
@media screen and (max-width: 500px) {
    #shopbox {
        max-width: 100%;
        padding: 20px 5px 10px;
    }

    #shopbox table tr.plain form input[type="submit"]
    {
        white-space: normal;
    }

    table#birdTable tr td img.birdTableImg {
        max-width: 90vw;
        width:400px;
        height:auto;
    }
    input[type=email],
    input[type=text] {
        max-width: 65vw;
    }


}
