﻿body {
    font-family: Arial;
    font-size: 17px;
    padding-top: 90px;
    height: 100%;
    margin: 0;
}

* {
    box-sizing: border-box;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    margin-bottom: 0;
    padding-left: 15px;
    /*padding-right: 0px;*/
    overflow-x: hidden;
    overflow-y: auto;
}

/*解決畫面高度問題*/
@media (max-height: 768px) {

}

@media (min-height: 768px) and (max-height: 800px) {

}

@media (min-height: 800px) and (max-height: 1024px) {

}

@media (min-height: 1024px) and (max-height: 1080px) {

}

@media (min-height: 1080px) {

}

.row {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    margin: 0 -16px;
}

.col-25 {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
}

.col-50 {
    -ms-flex: 50%; /* IE10 */
    flex: 50%;
}

.col-75 {
    -ms-flex: 75%; /* IE10 */
    flex: 75%;
}

.col-25,
.col-50,
.col-75 {
    padding: 0 16px;
}

.container {
    background-color: #f2f2f2;
    /*padding: 5px 20px 15px 20px;*/
    padding-bottom: 5px;
    border: 1px solid lightgrey;
    border-radius: 3px;
}

.container-fluid {
    width: 100%;
}

input[type=text] {
    width: 100%;
/*    margin-bottom: 20px;
*/    
    margin:0px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

label {
    margin-bottom: 10px;
    display: block;
}

.icon-container {
    margin-bottom: 20px;
    padding: 7px 0;
    font-size: 24px;
}

.btn {
    background-color: #04AA6D;
    color: white;
    padding: 12px;
    margin: 10px 0;
    border: none;
    width: 100%;
    border-radius: 3px;
    cursor: pointer;
    font-size: 17px;
}

    .btn:hover {
        background-color: #45a049;
    }

a {
    color: #2196F3;
}

hr {
    border: 1px solid lightgrey;
}

span.price {
    float: right;
    color: grey;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other (also change the direction - make the "cart" column go on top) */

@media (max-width: 800px) {
    .row {
        flex-direction: column-reverse;
    }

    .col-25 {
        margin-bottom: 20px;
    }
}


/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/
}

textarea {
    resize: none;
}

@media (max-width: 768px) {
    body {
        padding-top: 50px;
    }

    .container {
        width: 100%;
    }

    .navbar-right {
        text-align: right;
    }

    .headtitle {
        font-size: 6vw;
    }

}

@media (min-width: 768px) and (max-width: 992px) {
    body {
        padding-top: 90px;
    }

    .container {
        width: 100%;
    }

    .navbar-right {
        text-align: right;
    }

    .navbar-right {
        margin-top: 10px;
    }
}

@media (min-width: 992px) {
    body {
        padding-top: 90px;
    }

    .container {
        width: 100%;
    }

    .navbar-right {
        margin-top: 10px;
    }
}

@media (min-width: 1200px) {
    body {
        padding-top: 90px;
    }

    .container {
        width: 100%;
    }

    .navbar-right {
        margin-top: 10px;
    }
}

.container {
    background-color: white;
    border: 0;
}

.container-header {
    border-radius: 0px;
}

.submenutitle {
    font-size: x-large;
}

.body-content h2 {
    /* margin-top: 50px; */
}

.navbar-brand {
    padding: 20px 0px 0px 0px;
}

.navbar-fixed-bottom {
    padding-top: 5px;
    padding-left: 10px;
}

.footer {
    height: 30px; /*設定footer本身高度*/
}

