/* 
water_d.css
For appearance and function of Drink Water App
Designed by Barry Ford- owner of future broadcast interprise

January, 2024

*/

::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    font-size: 12px;
}

::-moz-placeholder {
    /* Firefox 19+ */
    font-size: 12px;
}

:-ms-input-placeholder {
    /* IE 10+ */
    font-size: 12px;
}

:-moz-placeholder {
    /* Firefox 18- */
    font-size: 12px;
}


/* Scrollbar width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #4d4a69;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #5cb88e;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #DD7510;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    width: 390px;
    margin: 0px 0px 0px 10px;
}

h3 {
    color: #302f88;
    font-size: 22px;
    font-weight: 600;
    margin: 0px 0px 10px 3px;
}

label {
    text-align: right;
    font-size: 15px;
    margin: 0px 6px 0px 0px;
}

.p {
    width: 400px;
    margin: 25px 5px 5px 55px;
    padding: 0px 0px 0px 0px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #283253;
}

.p a {
    font-weight: 600;
}

.sp_blue {
    background-color: #524fdb;
    color: #ffffff;
}

.indent {
    margin: 3px 0px 3px 50px;
}

#water_calc {
    position: relative;
    color: rgb(8, 8, 104);
    width: 385px;
    height: auto;
    top: 10px;
    left: 55px;
    background-color: rgba(6, 27, 99, 0.26);
    padding: 6px;
    border: solid black 1px;
    border-radius: 6px;
}

#hlp {
    position: relative;
    top: 43px !important;
    left: 333px !important;
    width: 43px;
    cursor: help;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 40px;
    font-weight: bold;
    color: #8d560e;
}

#hlp:hover {
    color: #dd1710;
    cursor: crosshair;
}

#instruct {
    position: fixed;
    left: 15px;
    top: 20px;
    z-index: 2;
    font-size: 14px;
    font-style: italic;
    background: rgba(240, 239, 222, 0.85);
    width: 375px;
    height: 160px;
    margin: 0px 0px -5px 55px;
    padding: 3px;
    overflow-y: scroll;
    color: #121b4d;
    border: rgba(18, 27, 77, 0.75) 1px solid;
    border-radius: 4px;
    display: none;
}

#inst_close {
    background: #202642;
    color: #cff0ce;
    font-weight: bold;
}

#inst_close:hover {
    color: #dd1710;
    cursor: crosshair;
}

#aster {
    display: inline-block;
    cursor: crosshair;
    vertical-align: middle;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 40px;
    font-weight: bold;
    color: #245c7c;
}

#aster:hover {
    color: #dd1710;
    cursor: crosshair;
}

#safety {
    background-color: #e2e2bb;
    color: #302f88;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 15px !important;
    height: 110px;
    overflow-y: scroll;
    margin: 0px 0px 6px 0px;
    padding: 2px;
    border: solid #539b7f 1px;
    border-radius: 4px;
    display: none;
}

#safety_close {
    background: #202642;
    color: #cff0ce;
    font-weight: bold;
}

#safety_close:hover {
    color: #dd1710;
    cursor: crosshair;
}

#safety .emp1 {
    color: #4b2404;
    font-weight: 900;
}

#safety .emp2 {
    color: #033518;
    font-weight: 900;
}

.info_mid {
    color: #283253;
    font-size: 17px;
}

#progress_bg {
    width: 365px;
    height: 100px;
    background: url(https://www.futurebroadcast.biz/apps_my_apps/images/01_380x94_lakeBed.webp);
    background-size: 100% 100%;
    /* background-size: cover; */
    background-repeat: no-repeat;
    background-position: 0px 0px;
    opacity: 0.58;
    padding: 35px 6px 35px 0px;
    border: solid red 2px;
    border-radius: 6px;
}

#progressbar {
    background-color: black;
    border-radius: 13px;
    width: 100%;
    /* (height of inner div) / 2 + padding */
    padding: 3px;
}

#progressbar>div {
    background-color: rgb(88, 140, 218);
    width: 100%;
    /* Adjust with JavaScript */
    height: 20px;
    text-align: right;
    border-radius: 10px;
}

#bar {
    color: #060757;
    font-size: 16px;
    font-weight: bold;
    padding: 0px 2px 0px 4px;
}

#activity_climate_box {
    display: none;
    position: absolute;
    top: 127px;
    left: 90px;
    z-index: 2;
    font-size: 14px;
    padding: 6px;
    background-color: #bd7942d0;
    border: solid #3d3003 2px;
    border-radius: 6px;
}

#activity_climate_box label {
    font-size: 12px;
    color: #ebe835;
    width: 155px;
}

#activity_climate_box h4 {
    background-color: rgb(58, 51, 37);
    color: #ebe835;
    font-size: 14px;
    font-weight: bold;
    height: 30px;
    padding: 6px 0px 6px 0px;
    text-align: center;
}

#activ_other {
    display: none;
    position: relative;
    top: -45px !important;
    left: 80px;
    z-index: 3;
    background-color: rgba(226, 230, 214, 0.966);
    width: 70px;
    border: solid #1b043f 1px;
    border-radius: 3px;
}

#activ_climate_other {
    display: none;
    position: relative;
    top: -44px;
    left: 80px;
    z-index: 3;
    background-color: rgba(226, 230, 214, 0.966);
    width: 70px;
    border: solid #1b043f 1px;
    border-radius: 3px;
}


#climate_submit_button {
    background-color: #099420;
    color: #e4eef7;
    border: solid rgb(243, 234, 234) 1px;
    border-radius: 3px;
}

#climate_cancel_button {
    background-color: #7c837d;
    color: #e4eef7;
    border: solid rgb(243, 234, 234) 1px;
    border-radius: 3px;
    margin: 0px 0px 0px 6px;
}

#phys_exercise {
    background-color: rgba(226, 230, 214, 0.966);
    padding: 2px;
    border: solid rgb(243, 234, 234) 1px;
    border-radius: 3px;
}

#hot_climate {
    background-color: rgba(226, 230, 214, 0.966);
    padding: 2px;
    border: solid rgb(243, 234, 234) 1px;
    border-radius: 3px;
}

#drink_water_section {
    display: inline-flex;
    vertical-align: middle;
}

#drink_water {
    display: inline-flex;
    background-color: rgba(226, 230, 214, 0.966);
    width: 173px;
    font-size: 13px;
    padding: 2px;
    margin: 0px 5px 0px 0px;
    overflow-y: visible;
    border: solid rgb(243, 234, 234) 1px;
    border-radius: 3px;
}

#drink_buttons {
    position: absolute;
    left: 288px;
    top: 235px;
    display: inline-flex;
    vertical-align: middle;
}

#wc_add {
    position: static;
    left: 12px;
    width: 30px;
    height: 30px;
    background: url(https://www.futurebroadcast.biz/apps_my_apps/images/add_icon.webp);
    background-repeat: no-repeat;
    background-position: 2px 2px;
    background-size: 80% 80%;
    margin: 0px 4px 0px 12px;
    background-color: rgb(23, 102, 206);
    border: solid #cff0ce 2px;
    border-radius: 50%;
}

#activity_climate_button {
    position: static;
    left: 2px;
    height: 29px;
    width: 29px;
    background: url(https://www.futurebroadcast.biz/apps_my_apps/images/activity.webp);
    background-repeat: no-repeat;
    background-position: 2px 2px;
    background-size: 80% 80%;
    margin: 0px 5px 0px 7px;
    background-color: #f7a961;
    border: solid #cff0ce 2px;
    border-radius: 50%;
}

#calcu_info {
    background-color: rgba(88, 101, 146, 0.575);
    font-size: 14px;
    color: #f5f5dc;
    text-align: center;
    padding: 3px;
    border: solid black 1px;
    border-radius: 3px;
}

#wc_reset {
    float: left;
    background-color: #960909;
    font-size: 12px;
    padding: 1px 3px 1px 3px;
    color: #cff0ce;
    margin: -2px 5px 3px 5px;
    border: solid #cff0ce 2px;
    border-radius: 50px;
}

#mssg {
    display: inline-flex;
    vertical-align: middle;
    font-size: 12px;
    color: #f5f5dc;
    text-align: center;
}

#display_container {
    display: table;
    width: 360px;
    padding: 4px;
    margin-top: 6px;
    border: solid rgb(221, 206, 183) 2px;
}

.sm_heading {
    font-size: 14px;
    font-weight: bold;
}

#wc_name {
    background-color: rgba(226, 230, 214, 0.966);
    width: 140px;
    padding: 2px;
    border: solid rgb(243, 234, 234) 1px;
    border-radius: 3px;
}

#body_weight {
    background-color: rgba(226, 230, 214, 0.966);
    width: 70px;
    padding: 2px;
    border: solid rgb(243, 234, 234) 1px;
    border-radius: 3px;
}

.progress_label {
    font-size: 14px;
    font-weight: bold;
    color: #4a1d9e;
}

#show_target {
    position: relative;
    left: 160px;
    top: -19px;
    background-color: rgba(211, 217, 247, 0.966);
    color: #492727;
    font-size: 11px;
    font-weight: bold;
    width: 140px;
    height: 20px;
    padding: 2px;
    border: solid #94242438 2px;
    border-radius: 6px;
}

#wc_other_wrapper {
    /* Essential for positioning the close button */
    position: relative;
    top: -3px;
    display: none;
}

#wc_other {
    padding-right: 25px;
    background-color: rgba(226, 230, 214, 0.966);
    width: 150px;
    border: solid #1b043f 1px;
    border-radius: 3px;
}

.wc_other_close_button {
    position: absolute;
    right: 5px;
    top: 50%;
    /* Vertically center the button */
    transform: translateY(-50%);
    cursor: pointer;
    font-weight: bold;
    color: #aaa;
    font-size: 16px;
}

.wc_other_close_button:hover {
    color: #000;
}

#action_1 {
    width: auto;
    height: 150px;
    background-image: url(https://www.barryfordmusic.com/mailing/images/avacado_spread.webp);
    opacity: 0.69;
    background-size: 100% 90%;
    background-repeat: no-repeat;
    margin: 5px 12px 0px 0px;
}

/* phone */
@media only screen and (min-device-width: 480px) and (max-device-width: 640px) and (orientation: landscape) {

    ::-webkit-input-placeholder {
        /* Chrome/Opera/Safari */
        font-size: 14px;
    }

    ::-moz-placeholder {
        /* Firefox 19+ */
        font-size: 14px;
    }

    :-ms-input-placeholder {
        /* IE 10+ */
        font-size: 14px;
    }

    :-moz-placeholder {
        /* Firefox 18- */
        font-size: 14px;
    }

    h3 {
        font-size: 22px;
        margin: 0px 0px 10px 20px;
    }

    label {
        font-size: 12px;
        margin: 0px 4px 0px 0px;
    }

    .indent {
        margin: 3px 0px 3px 7px;
    }

    .p {
        width: 390px;
        margin: 45px 50px 5px 0px;
        padding: 0px 5px 0px 5px;
    }

    .p a {
        font-weight: 550;
    }

    #hlp {
        top: 43px !important;
        left: 320px !important;
    }

    #water_calc {
        width: 370px;
        height: auto;
        top: 2px;
        left: 0px;
    }

    #wc_other {
        top: 218px !important;
        left: 90px !important;
    }

    .wc_other_close_button {
        right: 5px;
        top: 50%;
        /* Vertically center the button */
        transform: translateY(-50%);
        font-size: 23px;
    }

    #action_1 {
        width: auto;
        height: 150px;
        background-size: 90% 100%;
        margin: 5px 20px 0px 0px;
    }

    #activ_other {
        top: 56px;
        left: 25px;
    }

    #activ_climate_other {
        top: 100px;
        left: 25px;
    }

    #progress_bg {
        width: 345px;
        height: 90px;
        background-size: 102% 95%;
        background-position: -2px 1px;
    }

    #progressbar {
        width: 100%;
        /* (height of inner div) / 2 + padding */
        padding: 3px;
        margin: 0px 0px 0px 3px;
    }

    #instruct {
        top: 2px;
        left: 8px;
        font-size: 15px;
        width: 363px;
        height: 240px;
        margin: 0px 0px 3px 6px;
        padding: 4px;
    }

    #safety {
        font-size: 15px !important;
        height: 120px;
        margin: 0px 0px 6px 0px;
        padding: 3px;
    }

    #wc_reset {
        font-size: 13px;
        padding: 1px 3px 1px 3px;
        margin: -2px 5px 3px 5px;
    }

    #wc_name {
        width: 130px;
    }

    #body_weight {
        width: 60px;
    }

    #drink_water {
        width: 160px;
        font-size: 12px;
    }

    #safety .emp1 {
        font-weight: 700;
    }

    #safety .emp2 {
        font-weight: 700;
    }

    #wc_other_wrapper {
        top: -3px;
    }

    .wc_other_close_button {
        right: 5px;
        top: 50%;
        /* Vertically center the button */
        transform: translateY(-50%);
        font-size: 16px;
    }

    #drink_water {
        width: 173px;
        font-size: 13px;
        padding: 2px;
        margin: 0px 5px 0px 0px;
    }

    #drink_buttons {
        left: 268px;
        top: 240px;
    }

    #wc_add {
        left: 2px;
        width: 30px;
        height: 30px;
        background-size: 80% 80%;
        margin: 0px 4px 0px 12px;
    }

    #activity_climate_button {
        left: 2px;
        height: 29px;
        width: 29px;
        background-position: 2px 2px;
        background-size: 80% 80%;
        margin: 0px 5px 0px 7px;
    }

}

/* iPad landscape*/
@media only screen and (min-device-width: 1080px) and (orientation: landscape) {

    body {
        margin: 0px 0px 0px 200px;
    }

    h3 {
        font-size: 22px;
        margin: 5px 0px 5px 20px;
    }

    #hlp {
        top: 45px;
        left: 580px;
    }

    #instruct {
        left: 208px;
        top: 8px;
    }

    .wc_other_close_button {
        right: 5px;
        top: 50%;
        /* Vertically center the button */
        transform: translateY(-50%);
        font-size: 23px;
    }

    #drink_buttons {
        left: 344px;
        top: 180px;
    }

}

/* Computer Screen*/
/* @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) { */
@media only screen and (min-device-width: 768px) {

    body {
        margin: 0px 0px 0px 200px;
    }

    h3 {
        font-size: 22px;
        margin: 5px 0px 5px 20px;
    }

    #hlp {
        top: 45px;
        left: 580px;
    }

    #instruct {
        left: 208px;
        top: 8px;
    }

    .wc_other_close_button {
        right: 5px;
        top: 50%;
        /* Vertically center the button */
        transform: translateY(-50%);
        font-size: 23px;
    }

    #drink_buttons {
        left: 291px;
        top: 239px;
    }

}