.root {
    font-size: 16px;
}
.p-summit {
color: #808080;
    font-size: 1.2rem;
}
p {
    font-size: 1rem;
}

.navbar-expand-lg .navbar-nav .nav-link:hover {
    background: #149a92;
    color: #fff;
    border-radius: 30px;
}

.navbar-brand {
    font-size: 1.5rem;
    width: 400px;
}

.navbar-brand:hover {
    color: #149a92;
    /* -webkit-text-stroke: 1px wheat; */
    /* font-weight: bold; */
}

body {
    background-attachment: fixed;
    background-position: top;
    background-image:linear-gradient(to top,#f7ffe8, rgba(238, 230, 212, 0) ,#e7ffe7);
    background-repeat: no-repeat;
    background-size: cover;
}


/* regulation競賽辦法 */
.regulation-h3 {
    color: azure;
    background-image: url('/images/bg/title3.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 3px;
    border-radius: 0.2em;
    /* background-blend-mode: darken; */
}

table.table-bordered {
    border: 1px solid green;
}

/* table, th, td{
    border: 1px solid #466905;
} */

table.table-bordered>thead>tr>th {
    border: 1px solid #466905;
    color: #fff;
    background: #466905;
    font-size: larger;
}

table.table-bordered>thead>tr>td {
    border: 1px solid #466905;
    background: #c7e94e63;
    font-weight: bold;
    vertical-align: middle;
}

table.table-bordered>tbody>tr>td {
    border: 1px solid #466905;
    vertical-align: middle;
}

.table {
    position: relative;
}

td>ul {
    margin-bottom: 0;
}

.hero,
.hero2,
.hero3 {
    position: relative;
}

.hero3::before {
    content: "";
    background-image: url('/images/bg/table3.jpg');
    background-size: cover;
    position: absolute;
    opacity: 0.5;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-repeat: no-repeat;
}

.hero2::before {
    content: "";
    background-image: url('/images/bg/table2.jpg');
    background-size: cover;
    position: absolute;
    opacity: 0.5;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    background-image: url('/images/bg/table1.jpg');
    background-size: cover;
    position: absolute;
    opacity: 0.5;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-repeat: no-repeat;
}

.standard {
    font-weight: bold;
    text-align: center !important;
}

.regist-h3 {
    font-size: 1.5rem;
}

.register-btn {
    width: 220px;
    position: fixed;
    right: 20px;
    bottom: 70px;
    /* margin-top: -140px; */
    z-index: 99;
    cursor: pointer;
    opacity: 1;
}

.register-btn a {
    display: block;
    width: 100%;
    padding-top: 200px;
    background: url('/images/register-btn-seminar.png') no-repeat left top;
    background-size: contain;
    -webkit-transform-origin: right bottom;
    -moz-transform-origin: right bottom;
    -sm-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transition: all .3s ease-in-out 0s;
    -sm-transition: all .3s ease-in-out 0s;
    -o-transition: all .3s ease-in-out 0s;
    -moz-transition: all .3s ease-in-out 0s;
    transition: all .3s ease-in-out 0s;
}

.card,
.jumbotron {
    background-color: rgba(255, 255, 255, .85) !important;
}


.wrap-content {
    width: 1px;
    white-space: nowrap;
}

.img-responsive {
    /* display: block; */
    max-width: 100%;
    height: auto;
}

.floating {
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.rotating {
    animation-name: rotating;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    /* animation-timing-function: ease-in-out; */
}

.bg-title img {
    width: 50%;
}

.h3-nowrap {
    display: inline
}


.bg-title {
    margin: auto;
    position: absolute;
    /* transform: translateY(-50%); */
    /* top: 8%; */
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 90;
}

.word-title {
    position: absolute;
    z-index: 2;
    left: 0%;
    top: 35%;
    /* height: 7em; */
}

.seven-title {
    position: absolute;
    z-index: 2;
    /* put .green-box above .dashed-box */
    left: 6%;
    top: 17%;
    /* height: 7em; */
}

.year-title {
    position: absolute;
    z-index: 2;
    /* put .green-box above .dashed-box */
    left: 55%;
    top: 4%;
    /* height: 7em; */
}

@media (max-width: 543px) {

    .navbar-brand {
        font-size: small;
        width: auto;
    }

    .navbar-brand:hover {
        /* font-size: 0.8em; */
        color: #149a92;
        -webkit-text-stroke: 1px wheat;
        font-weight: bold;
    }

    .regist-h3 {
        font-size: 1.17rem;
    }

    .register-btn {
        display: none;
    }
}

@keyframes floating {
    from {
        transform: translate(0, 0px);
    }

    65% {
        transform: translate(0, 20px);
    }

    to {
        transform: translate(0, -0px);
    }
}

@keyframes rotating {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}