﻿* {
    box-sizing: border-box;
}

::-moz-selection {
    background: #F34A4E;
    color: #FFF;
}

::selection {
    background: #F34A4E;
    color: #FFF;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Kanit', sans-serif;
    font-size: 12pt;
    line-height: 1;
    color: black;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    min-height: 100vh;
    background: white;
}

h1 {
    text-align: center;
    margin-top: .5em;
}

.col {
    padding-bottom: 10px;
    color: #424346;
    background: white;
    border: 3px ridge #999999;
}

    .col h2,
    .col p {
        margin: 0;
        padding: 0 00px;
    }

    .col h2 {
        margin: .75em 0 .5em;
    }

    .col p {
        margin-bottom: 0px;
        text-align: left;
        font-size: 1.2em;
    }

    .col .btn {
        margin-left: 0px;
    }


.flex .col img {
    width: auto;
    height: auto;
}

.flex {
    display: flex;
    flex-direction: row;
    justify-content: center;
    max-width: 98%;
    margin: auto;
}

    .flex .col {
        display: flex;
        flex-direction: column;
        flex: 1 1 300px;
        /* '
				If you need to keep good feeling
				about images growings, you'd
				better do:
				flex: 0 1 300px;
				 */
        margin: 1em 0.5em;
    }

        .flex .col .btn {
            align-self: flex-start;
            margin-top: auto;
        }

@media (max-width: 1200px) {
    .flex {
        flex-wrap: wrap;
    }
}

.topMar {
    margin-top: 15px;
}

.tbl {
    padding: 10px;
    background-color: white;
    object-fit: cover;
}




.mymargin {
    /*   margin-top:20px;*/
    width: 70%;
}

.mymargin2 {
    /*  margin-top: 20px;*/
}

.mymargin1 {
    background-color: #F2F2F2;
    margin-top: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    width: 90%;
    margin-right: auto;
    margin-left: auto;
    height: 100%;
}

.mymargin4 {
    background-color: #F2F2F2;
    margin-top: 4px;
    padding-bottom: 4px;
    padding-top: 4px;
    width: 98%;
    margin-right: auto;
    margin-left: auto;
    height: 100%;
}

.just {
    text-align: justify;
}

.button1 {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}



.half {
    line-height: .5;
}


/* If the screen size is 601px wide or more, set the font-size of <div> to 80px */
@media screen and (min-width: 601px) {

    body {
        margin-right: auto;
        margin-left: auto;
    }

    .buttons {
        box-shadow: 0 8px 10px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
        background-color: #777777;
        color: white;
        border: 2px solid #4CAF50;
        border-radius: 12px;
        padding: 12px 60px;
        font-size: 1.8rem;
        cursor: pointer;
        display: block;
        width: 80%;
        text-align: center;
        margin-right: auto;
        margin-left: auto;
    }

    .header {
        font-size: 1.4
        +em;
        font-family: 'Roboto', sans-serif;
        margin: 5px;
        color: #777777;
        font-weight: 800;
        text-shadow: 2px 2px #D0D0D0;


    }

    .mymargin1 {
        background-color: #F2F2F2;
        margin-top: 20px;
        padding-bottom: 20px;
        padding-top: 20px;
        width: 90%;
        margin-right: auto;
        margin-left: auto;
        height: 100%;
    }

    .label1 {
        font-size: 1.2em;
        font-family: 'Roboto', sans-serif;
        margin-top: 10px;
        color: ##777777;
        font-weight: 600;
        
    }

    .label2 {
        font-size: 1.2em;
        font-family: 'Roboto', sans-serif;
        margin-top: 30px;
        background-color: yellow;
        font-weight: 600;
        padding: 6px;
        line-height: 3;
        border: 2px solid #CEBB67;
    }
    .backButton {
        cursor: pointer;
        display: block;
        width: 50%;
        text-align: center;
        margin-right: auto;
        margin-left: auto;
        font-size: 1.4em;
        background-color: #EFEFEF;
        border: 1px;
        border-color: lightgray;
        text-decoration:underline;
    }

    .thanks {
        font-size: 1.4em; 
        font-family: 'Roboto', sans-serif; 
        margin-top: 10px; 
        color: #777777; 
        font-weight: 600;
    }
    .satNav {
        font-size: 1em;
    }
    .mymargin5 {
        margin-top: 0px;
        font-size: 1em;
    }

}


/* If the screen size is 600px wide or less, set the font-size of <div> to 30px */
@media screen and (max-width: 600px) {
    .buttons {
        box-shadow: 0 8px 10px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
        background-color: #777777;
        color: white;
        border: 2px solid #4CAF50;
        border-radius: 12px;
        padding: 12px 10px;
        font-size: 1.3em;
        cursor: pointer;
        display: block;
        width: 80%;
        text-align: center;
        margin-right: auto;
        margin-left: auto;
    }

    .header {
        font-size: 1.6rem;
        font-family: 'Roboto', sans-serif;
        margin: 15px;
        color: #777777;
        font-weight: 800;
        text-shadow: 2px 2px #D0D0D0;
    }

    .mymargin1 {
        background-color: #F2F2F2;
        margin-top: 20px;
        padding-bottom: 0px;
        padding-top: 2px;
        margin-right: auto;
        margin-left: auto;
        /* height: 100%;*/
        max-width: 100%;
        width: 98%;
    }

    .label1 {
        font-size: 1.2em;
        font-family: 'Roboto', sans-serif;
        margin-top: 10px;
      
        font-weight: 600;
       
    }

    .label2 {
        font-size: .9em;
        font-family: 'Roboto', sans-serif;
        margin-top: 30px;
        background-color: yellow;
        font-weight: 600;
        padding: 6px;
        line-height: 3;
        border: 2px solid #CEBB67;
    }

    .backButton {
        cursor: pointer;
        display: block;
        width: 40%;
        text-align: center;
        margin-right: auto;
        margin-left: auto;
        font-size: 1.2em;
        border: 1px;
        border-color: lightgray;
        text-decoration: underline;
        background-color: #EFEFEF;
    }
    .thanks {
        font-size: 1.0em;
        font-family: 'Roboto', sans-serif;
        margin-top: 10px;
        color: #777777;
        font-weight: 600;
    }

    .mymargin5 {
        margin-top: 0px;
        font-size:1em;
    }

    .satNav {
    
    font-size: 1em;
    }

}
