/*
    COFAS ('Composition of Foods Analysis Software') (v1.0 Alpha Test)
    Copyright (C) 2019 Temporality Ltd.

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as
    published by the Free Software Foundation, either version 3 of the
    License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.
*/

/* Resets */

* {
    margin:  0px;
    padding: 0px;
    border-radius: 20px;
}

html {
    height: 100%;
}

body {
    height:     100%;    
    /* background-color: #ccebf5; emily */
    background-color: #c0e0f0; 
    color: #000000;   
}

/*
@media only screen and ( max-width: 480px )
@media only screen and ( min-width: 481px  and ( max-width: 960px )) 
@media only screen and ( min-width: 961px and ( max-width: 1920px ))
@media only screen and ( min-width: 1921px )
*/



header {
    width: 1279px;
    /* background-color: #a5d0de; emily */
    background-color: #6fb6ce;    
    border: 1px solid #a5d0de;
    margin: auto;
    margin-top: 5px;    
}

main {
    width: 1280px;
    margin: auto;
    padding-top: 5px;
    padding-bottom: 5px;
}

footer {
    clear: both;
    width: 1279px;
    /* background-color: #a5d0de; emily*/
    background-color: #6fb6ce;    
    border: 1px solid #a5d0de;    
    margin: 5px auto 10px auto;
}

/* Header */

.apptitleheader {
    text-align: center;
    font: normal 32px/1.25 "Arial", sans-serif;
    color: white;
    margin: 8px;
}

.mainnav {
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 5px;
    text-align: center;
}

.mainnav a {
    padding: 10px;
    color: white;
    font:  normal 26px/1.5 "Arial", sans-serif;
}

.mainnav a:link, a:visited, a:active {
    text-decoration: none;
}    

.mainnav a:hover {
    text-decoration: underline;
}

/* Footer */

.apptitlefooter {
    text-align: center;
    font: normal 20px/1.25 "Arial", sans-serif;
    color: white;
    margin-top: 4px;
}

.attributionfooter {
    color: white;
    font: normal 12px/1.25 "Arial", sans-serif;
    text-align: center;
    
}

.logging {
    color: white;
    font: normal 12px/1.25 "Arial", sans-serif;
}

/* Form controls */

input[type=text], input[type=password] {
    font: normal 24px/1.25 "Arial", sans-serif;
    padding: 4px;
}

button {
    font: normal 28px/1.25 "Arial", sans-serif;
    padding: 6px;
    background-color: inherit; 
}

.itemslistbutton {
    width: 100px;
    font: normal 20px/1.25 "Arial", sans-serif;
    padding: 0px;
}

select {
    background-color: #f1fdf3;
    font: normal 26px/1.25 "Arial", sans-serif;
    padding: 6px;     
}

option {
    border-radius: 15px;
    padding-left: 15px;
}

/* Main */

main .pagetitle {
    text-align: center;
    font: normal 36px/1.25 "Arial", sans-serif;
    margin: 10px 10px 10px 10px;
}

main .pageintrotext {
    font: normal 20px/1.25 "Arial", sans-serif;
    padding-bottom:10px;
}

main .pagetext {
    font: normal 18px/1.25 "Arial", sans-serif;
    padding-bottom:10px;
}


.tablenutrienttotals {
    background-color: #f1fdf3;
    width: 400px;
    border: 1px solid black;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.tablenutrienttotals th {
    text-align: left;
    font: bold 24px/1.25 "Arial", sans-serif;
    padding-left:10px;
}
.tablenutrienttotals td {
    font: normal 22px/1.25 "Arial", sans-serif;
    padding-left:10px;
    border-bottom: 1px solid black;    
}

.tablerequirementtotals {
    background-color: #f1fdf3;
    width: 500px;
    border: 1px solid black;
    margin-left:0px;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.tablerequirementtotals th {
    text-align: left;
    font: bold 24px/1.25 "Arial", sans-serif;
    padding-left:10px;
}
.tablerequirementtotals td {
    font: normal 22px/1.25 "Arial", sans-serif;
    padding-left:10px;
    border-bottom: 1px solid black;    
}

.tablenutrienttotalsbox {
    background-color: #f1fdf3;    
    width: 480px;
    border: 1px solid black;
    padding: 10px 10px 10px 10px;
    margin-bottom: 10px;
}

.tablerequirementtotalsbox {
    background-color: #f1fdf3;    
    width: 746px;
    border: 1px solid black;
    padding: 10px 10px 10px 10px;
    margin-bottom: 10px;
    margin-left: 10px;
}

.tablestandard {
    text-align: left;    
    background-color: #f1fdf3;
    width: 100%;
    padding-bottom: 5px;
    margin-bottom: 10px;
    border-radius: 0px;
}

.tablestandard th {
    font: bold 22px/1.25 "Arial", sans-serif;
    padding: 5px 2px 5px 10px;
}

.tablestandard td {
    font: normal 22px/1.25 "Arial", sans-serif;
    border-bottom: 1px solid black;
    padding: 5px 2px 6px 10px;
}

.widetableoutercontainer {
    background-color: #f1fdf3;    
    width: 1276px;
    border: 1px solid black;
    margin-bottom: 10px;    
}

.widetableinnercontainer {
   margin: 10px 10px 10px 10px; 
   width: 1254px;
   overflow-x:auto;
}    

.tablewide {
    text-align: left;    
    background-color: #f1fdf3;
    margin-bottom: 10px;    
    padding-bottom: 5px;
    border-radius: 0px;    
}

.tablewide th {
    font: bold 20px/1.25 "Arial", sans-serif;
    font-color: black;
    padding: 5px 7px 5px 7px;
}

.tablewide td {
    text-align:right;
    font: normal 20px/1.25 "Arial", sans-serif;
    padding: 5px 7px 5px 7px;
    border-bottom: 1px solid black;    
}

.tablewidefirstcol {
    text-align:left !important;
    font: normal 20px/1.25 "Arial", sans-serif;
    padding-left:5px;
}

.standardlayout {
    background-color: #f1fdf3;    
}

.standardlayout td {
    font: normal 26px/1.25 "Arial", sans-serif;
    padding-top: 4px;
    padding-left: 4px;
    padding: 10px 10px 10px 10px;
}

.loginlayout {
    background-color: #f1fdf3;
    margin: 100px auto 100px auto;
}

.loginlayout td {
    font: normal 26px/1.25 "Arial", sans-serif;
    padding: 10px 10px 10px 10px;
}

.tablelayout tr {
    width: 100%;
    vertical-align: top;
}    

.normalbox {
    background-color: #f1fdf3;    
    width: 1276px;
    border: 1px solid black;
    padding-left: 2px;    
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.aboutbox {
    background-color: #f1fdf3;    
    width: 1258px;
    border: 1px solid black;
    padding: 10px 10px 10px 10px;
    margin-bottom: 10px;
}

.tabletitle {
    font: normal 20px/1.25 "Arial", sans-serif;
}

.itemstablecaption {
    font: normal 22px/1.25 "Arial", sans-serif !important;
    padding:; 10px !important;
}

.listselector {
    width:1280px;
    margin-bottom: 10px;
    border: 1px solid black;
}

.foodpageselector {
    width:1280px;
    margin-bottom: 10px;
}

.analysisradiobutton {
    margin: 10px 10px 10px 10px;
}

.analysisradiobuttonlabel {
    font: normal 26px/1.25 "Arial", sans-serif;
    margin: 10px 10px 10px 10px;
}

.infobox {
    width:1258px;
    padding: 10px 10px 10px 10px;
    border: 1px solid black;    
    font: normal 26px/1.25 "Arial", sans-serif;
    background-color: #f1fdf3;     
}

/* ============== */

.popupbox {
    display: none;
    position: fixed;
    top: 100px;
    left: auto;
    right:auto;
    border: 6px solid black;
    background-color: #f1fdf3;    
    width: 1258px;
    padding: 5px;
    border-radius: 40px;
}

.popupbutton {
   margin: 15px 7px 10px 7px;
   width: 200px;
}

.popupopenbutton {
   margin: 15px 7px 10px 7px;
   width: 300px;
}

.listnameinputbox {
    width: 700px;
}

table {
    border-collapse: collapse;
}

.tablebox {
    background-color: #f1fdf3;    
    width: 1258px;
    border: 1px solid black;
    padding: 10px 10px 10px 10px;
    margin-bottom: 10px;
}


/* General Text Formatting */

.headingtext {
    color: #000000;
    font:  bold 28px/1.5 "Arial", sans-serif;
    padding-bottom: 5px;
}

.subheadingtext {
    color: #000000;
    font:  bold 24px/1.5 "Arial", sans-serif;
    padding-top: 20px;
    padding-bottom: 4px;
}

.text {
    color: #000000;
    font:  normal 20px/1.5 "Arial", sans-serif;
    padding-bottom: 8px;
}

.linktext {
    color: #2222ee;
    font:  normal 20px/1.5 "Arial", sans-serif;
    padding-bottom: 10px;
}

a {
    color: #2222ee;
    font:  normal 26px/1.5 "Arial", sans-serif;
}

a:link, a:visited, a:active {
    text-decoration: none;
}    

linktext a:hover {
    text-decoration: underline;
}

.listpage_reqtbl_prc {
    width: 100px;
}    