.box-top{
    text-align: center;
}
/*.box-top button {*/
    /*border-top-style: none;*/
    /*border-left: none;*/
    /*border-right: none;*/
    /*background-color: white;*/
    /*font-weight: bold;*/
/*}*/

/*.box-top:hover button {*/
    /*font-size: 16px;*/
    /*background-color: white;*/
    /*line-height: 20px;*/
/*}*/

/*btn-default*/
.box-top .btn-default, .box-top .btn-primary {
    padding: 8px 6px 4px;
}
.box-top .btn-default {
    background: #F5E048 none repeat scroll 0 0;
    border-bottom-color: #f6cc44;
    border-width: 0 0 4px;
    color: #333333;
}

.box-top .btn-default:hover,.box-top .btn-default:focus,.box-top .btn-default:active,.box-top .btn-default.active{
    background: #DBC900;
}

.box-top .btn-default:active,.box-top .btn-default.active {
    background: #DBC900;
    box-shadow: none;
}

/*btn-primary*/
.box-top .btn-primary {
    background:#3379B5 none repeat scroll 0 0;
    border-bottom-color: #519dd6;
    border-width: 0 0 4px;
    color: white;
}

.box-top .btn-primary:hover,.box-top .btn-primary:focus,.box-top .btn-primary:active,.box-top .btn-primary.active{
    background: #0D3B92;
    border-bottom-color: #3c68ba;
}

.box-top .btn-primary:active,.box-top .btn-primary.active {
    background: #0D3B92;
    border-bottom-color: #3c68ba;
    box-shadow: none;
}

.letterpagination li {
    font-size: 1.1em;
    font-weight: bold;
    padding: 0;
}
.letterpagination li a {padding:2px 5px; color:#333333}
.letterpagination li a:hover {background-color: #333333; color: #ffffff}

/*from event template*/
.ribbon {
    position: relative;
    margin: 0 0 0 10px;
    display: inline-block;
    text-align: center;
    width: 35px;
}
div.ribbon {
    color: #EEE;
    cursor: pointer;
    text-decoration: none;
}
div.ribbon:focus {
    color: rgba(0, 158, 184, 1);
    outline: none;
    text-decoration: none;
    -moz-transition: color .3s;
    -ms-transition: color .3s;
    -o-transition: color .3s;
    -webkit-transition: color .3s;
    transition: color .3s;
}
.ribbon .ribbon-piece {
    background-color: gray;
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    -ms-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    -moz-transition: background-color 0.5s ease-in;
    -ms-transition: background-color 0.5s ease-in;
    -o-transition: background-color 0.5s ease-in;
    -webkit-transition: background-color 0.5s ease-in;
    transition: background-color 0.5s ease-in;
}
.ribbon .top {
    border-bottom: solid 1px #EEE;
    -moz-border-radius: 1px 1px 0px 0px;
    -ms-border-radius: 1px 1px 0px 0px;
    -o-border-radius: 1px 1px 0px 0px;
    -webkit-border-radius: 1px 1px 0px 0px;
    border-radius: 1px 1px 0px 0px;
    font-size: 1.2em;
    padding: 1px 0;
    position: relative;
    text-transform: uppercase;
}
.ribbon .bottom {
    font-size: 1.2em;
    padding: 1px 0 0 0;
}
.ribbon .tail {
    height: 10px;
    overflow: hidden;
    position: relative;
    border:0px none;
}
.ribbon .tail .left, .ribbon .tail .right {
    height: 10px;
    position: absolute;
    top: -10px;
    width: 50px;
}
div.ribbon:hover .ribbon-piece {
    background-color: #AD3A2B;
    color: #EEEEEE;
}
.ribbon .tail .left {
    left: -9px;
    -moz-transform: rotate(-25deg);
    /*-ms-transform: rotate(-25deg);*/
    -o-transform: rotate(-25deg);
    -webkit-transform: rotate(-25deg);
    transform: rotate(-25deg);
    /* IE6 and 7 */
    filter: progid:DXImageTransform.Microsoft.Matrix(
            M11=0.9063077870366499,
            M12=0.42261826174069955,
            M21=-0.42261826174069955,
            M22=0.9063077870366499,
            SizingMethod='auto expand');
    /* IE8+ - must be on one line, unfortunately */
    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.9063077870366499, M12=0.42261826174069955, M21=-0.42261826174069955, M22=0.9063077870366499, SizingMethod='auto expand')";
}
.ribbon .tail .right {
    right: -9px;
    -moz-transform: rotate(25deg);
    /*-ms-transform: rotate(25deg);*/
    -o-transform: rotate(25deg);
    -webkit-transform: rotate(25deg);
    transform: rotate(25deg);
    /* IE6 and 7 */
    filter: progid:DXImageTransform.Microsoft.Matrix(
            M11=0.9063077870366497,
            M12=-0.4226182617407,
            M21=0.4226182617407,
            M22=0.9063077870366497,
            SizingMethod='auto expand');
    /* IE8+ - must be on one line, unfortunately */
    -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.9063077870366497, M12=-0.4226182617407, M21=0.4226182617407, M22=0.9063077870366497, SizingMethod='auto expand')";
}

.light_box {
    background-color: #f8f8f8;
    cursor: pointer;
}
.title_box {
    color: #cc0000;
    font-size: 16px;
}
.info_box {
    min-height: 2.8em;
    color: gray;
}
.info_content {
    min-height: 2.8em;
    max-height: 2.8em;
    overflow: hidden;
    padding-left: 5px;
}
.calendar_box {
    padding-left: 22px;
}
.calendar_top {
    height: 18px;
}
.calendar_bottom {
    height: 17px;
}
.description_box {
    color: #333;
    width: 95%;
}
.btn_box {
    padding-left: 19px;
}
.box-item{
    background: #F7F7F7;
    padding: 5px;
    border: 1px solid #ddd;
}

.search_event {
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #ddd;
}

.search_event:hover::-webkit-input-placeholder {
    color: #3c3c3c;
}
.search_event:hover::-moz-placeholder {
    color: #3c3c3c;
}
.search_event_btn {
    border: 0;
    border-bottom: 1px solid #ddd;
}
.search_event_btn:hover {
    background: white;
}
.search_event_btn:hover i {
    color: #3c3c3c;
}