/****************************************************************************************

    Tides Calculator / resources/TCALCiface.css
    © Asity 2014
    Asitech 2026

    version: ß1.00.06

*****************************************************************************************/

*, *::before, *::after {
    box-sizing: border-box;
}

img {
    border-style: none;
    max-width: 100%;
}

#ts_wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 742px;
    width: 100%;
    padding: 0 15px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 100%;
}

#ts_wrapper a {
    text-decoration: none;
    color: black;
}

#ts_header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
}
    #ts_header_title {
        font-size: 24px;
        font-weight: 400;
        line-height: 100%;
    }
    #ts_header_langage {
        display: flex;
        align-items: center;
        padding-top: 10px;
    }
        #ts_header_langage a {
            display: flex;
            align-items: center;
        }
        #ts_header_langage_logo {
        }
        #ts_header_langage_link {
            padding-left: 10px;
            font-size: 12px;
        }

#ts_body {
}
    #ts_body_date {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 22px;
        font-size: 25px;
    }
        #boxDate {
            display: flex;
            border: 2px solid grey;
            width: 225px;
            max-width: 100%;
            height: 55px;
        }
        #boxTfDate {
            flex: 1;
            min-width: 0;
        }
            #tfDate {
                border: 0;
                font-size: 20px;
                font-weight: 600;
                text-align: center;
                width: 100%;
                height: 32px;
                background: none; /**/
            }
            #tfDateFormat {
            	font-size: 14px;
            	color: gray;
            	text-align: center;
            }
        #boxCbLT {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
            #cbLT {
                height: 0px;
            }
            #cbLTText {
                font-size: 12px;
                font-weight: 400;
                padding-right: 10px;
            }
        #btnCalc {
            border: 0;
            background: none;
            padding: 15px 0 0 0;
            margin: 5px 0 0 0;
            font-size: 13px;
            color: red;
        }
        #btnCalc[disabled=disabled], #btnCalc:disabled {
            color: #818383;
        }
        #boxDateMsg {
            width: 227px;
            max-width: 100%;
            font-size: 12px;
            color: grey;
            text-align: center;
        }

    #ts_body_tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 20px;
    }
        #ts_body_col1, #ts_body_col2 {
            flex: 0 1 auto;
        }
        #ts_body_block.block2 {
            margin-top: 45px;
        }
        #ts_body_col2 {
            margin-left: 70px;
        }

    #ts_body_footer {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        margin-top: 35px;
        font-weight: 400;
    }
        #ts_body_footer_legends {
            flex: 1 1 300px;
        }
        #ts_body_footer_print {
            display: flex;
            align-items: center;
        }
            #ts_body_footer_print a {
                display: flex;
                align-items: center;
            }
            #ts_body_footer_print_logo {
            }
            #ts_body_footer_print_link {
                padding-left: 10px;
                padding-top: 5px;
                font-weight: 400;
                font-size: 12px;
            }
    
    #ts_body_block_title {
        font-size: 20px;
        font-weight: 300;
    }
    #ts_body_block_tab {
        margin-top: 8px;
        text-align: center;
    }
    #ts_body_block_tab table {
        border-bottom: 1px solid black;
        border-right: 1px solid black;
    }
    #ts_body_block_tab tr.title {
        background: #f0f2f2;
    }
    #ts_body_block_tab td.col1 {
        width: 60px;
        font-weight: 600;
    }    
    #ts_body_block_tab td.col2, #ts_body_block_tab td.col3 {
        width: 121px;
    }    
    #ts_body_block.block1 td.col3, #ts_body_block.block2 td.col2 {
        font-weight: 600;
    }
    #ts_body_block_tab td {
        border-left: 1px solid black;
        border-top: 1px solid black;
        padding: 5px;
    }

@media (max-width: 640px) {
    #ts_header {
        flex-direction: column;
        align-items: flex-start;
    }
        #ts_header_langage {
            padding-top: 15px;
        }

    #ts_body_tabs {
        flex-direction: column;
        align-items: center;
    }
        #ts_body_col2 {
            margin-left: 0;
            margin-top: 30px;
        }

    #ts_body_footer {
        flex-direction: column;
        align-items: center;
    }
        #ts_body_footer_legends {
            flex: 0 1 auto;
            align-self: flex-start;
            text-align: left;
        }
        #ts_body_footer_print {
            margin-top: 20px;
            align-self: flex-start;
        }

    #ts_body_block_tab td.col1 {
        width: 40px;
    }
    #ts_body_block_tab td.col2, #ts_body_block_tab td.col3 {
        width: auto;
    }
}

#ts_signup {
    clear: both;
    padding-top: 20px;
    text-align: center;
    font-size: 10px;
}

#ts_footer {
    /* height: 150px; */
    clear: both;
    float: left;
    margin-top: 28px;
    font-weight: 300;
    line-height: 100%;
}
    #ts_footer_mentions {
        clear: both;
        float: left;
        padding-top: 5px;
    }
        #ts_footer_mentions_cyname {
            font-weight: 600;
        }
    #ts_footer_isomention {
        float: left;
        padding-left: 220px;
    }
        #ts_footer_isomention_logo {
            clear: both;
            float: left;
        }
        #ts_footer_isomention_text {
            float: left;
            padding:4px 0 0 15px;
        }

