/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2019/4/8, 下午 11:54:17
    Author     : yong
*/

body
{
    font-family: '微軟正黑體',sans-serif;
    background: #eee;
    font-weight: 400;
}

img
{
    max-width: 100%;
}

/*#username a, #mainmenu a
{
    color: #884ffe;
}*/

.navbar-brand h1
{
    text-decoration: none;
    /*color: #884ffe !important;*/
    color: #337ab7 !important;
    font-size: 24px;
}

#mainmenu
{
    float: right;
}

#username
{
    padding: 5px 0 0 0;
    font-size: 16px;
    float: left;
    max-height: 30px;
}

#mainmenu li
{
    font-size: 16px;
    padding: 5px 0 0 10px;
    display: inline-block;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.event-div
{
    margin: 10px 0;
}

.event-inner-div
{
    background: #FaFaFa;
    padding: 10px;
    box-shadow: 3px 3px 3px -2px rgba(20%,20%,20%,0.2);
    font-size: 14px;
    line-height: 2em;
    font-size: 14px;
    font-weight: 400;
    color: #333;
}

.event-div a:hover
{
    text-decoration: none;
}

.event-inner-div .cover-div
{
    width: 100%;
    padding: 33% 0px;
    position: relative;
    overflow: hidden;
}

#hot-events .item
{
    width: 170px;
    float: left;
    display: none;
}

#hot-events .owl-item .item
{
    width: 100%;
    display: block;
    float: inherit;
}


.event-inner-div .cover-div img
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.event-inner-div .evnet-title
{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.event-inner-div button
{
    width: 100%;
}

.form-control 
{
    font-weight: 400;
    color: #333;
}

#footer
{
    padding: 10px;
    background: #e4e4e4;
    margin-top: 20px;
    text-align: center;
}

@media only screen and (max-width: 720px) {
    #username {
        font-size: 14px;
        max-width: 200px;
        /* overflow: hidden; */
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }

    #mainmenu ul
    {
        margin-bottom: 0;
    }

    #mainmenu li
    {
        font-size: 14px;
    }
    
    .navbar-brand h1 {
        font-size: 16px;
    }
}


.taiwankol009-google, .taiwankol006-tiktok, .taiwankol007-together, .taiwankol008-forum, .taiwankol002-youtube, 
.taiwankol001-sgsb, .taiwankol003-instagram, .taiwankol004-facebook, .taiwankol005-blogger
{ max-width: 100%; background-size: 100%; background-image: url('css-sprite-combined2.png'); }
 
.taiwankol009-google { background-position: 0 0%; background-size: 100%; }
.taiwankol006-tiktok { background-position: 0 42.116402%; background-size: 176.888889%; }
.taiwankol007-together { background-position: 0 62.362362%; background-size: 231.395349%; }
.taiwankol008-forum { background-position: 0 79.479479%; background-size: 231.395349%; }
.taiwankol002-youtube { background-position: 0 85.777778%; background-size: 621.875%; }
.taiwankol001-sgsb { background-position: 0 89.380531%; background-size: 995%; }
.taiwankol003-instagram { background-position: 0 92.920354%; background-size: 995%; }
.taiwankol004-facebook { background-position: 0 96.460177%; background-size: 995%; }
.taiwankol005-blogger { background-position: 0 100%; background-size: 995%; }

/*.taiwankol-001-SGSB
{
background:url('css-sprite-combined.png') 0px -358px;
width:40px;height:40px;
display:inline-block;
}

.taiwankol-002-youtube
{
background:url('css-sprite-combined.png') -40px -353px;
width:64px;height:45px;
display:inline-block;
}

.taiwankol-003-instagram
{
background:url('css-sprite-combined.png') -104px -358px;
width:40px;height:40px;
display:inline-block;
}

.taiwankol-004-facebook
{
background:url('css-sprite-combined.png') -144px -358px;
width:40px;height:40px;
display:inline-block;
}

.taiwankol-005-blogger
{
background:url('css-sprite-combined.png') -184px -358px;
width:40px;height:40px;
display:inline-block;
}

.taiwankol-006-tiktok
{
background:url('css-sprite-combined.png') -224px -173px;
width:225px;height:225px;
display:inline-block;
}

.taiwankol-007-together
{
background:url('css-sprite-combined.png') -449px -227px;
width:172px;height:171px;
display:inline-block;
}

.taiwankol-008-forum
{
background:url('css-sprite-combined.png') -621px -227px;
width:172px;height:171px;
display:inline-block;
}

.taiwankol-009-google
{
background:url('css-sprite-combined.png') -793px -0px;
width:398px;height:398px;
display:inline-block;
}*/

