/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #333;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/*
COMMON
*/
body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    background: url("../img/bg.png") repeat-x #F4F6F8;
    font-size: 13px;
}
a {
    color: #1E85BC;
}
.wrapper {
    width: 940px;
    margin: 0 auto;
    min-height: 850px;
}

/*
HEADER
*/
header {
    height: 220px;
}
    .header_top {
        height: 72px;
    }
    .header_bottom {
        padding-top: 25px;
    }
    nav {
        font-size: 16px;
        position: relative;
        width: 510px;
        float: left;
    }
    .social_header, .social_footer {
        width: 150px;
        float: left;
    }
        .social_footer {
            float: right;
        }
        .social_header ul, .social_footer ul {
            padding: 0;
            margin: 0;
            list-style-type: none;
        }
        .social_header li, .social_footer li {
            float: left;
            line-height: 70px;
            text-indent: -200px;
            overflow: hidden;
        }
        .social_footer li {
            line-height: 36px;
        }
        .social_header li {
            background: url(../img/sprite.png) 0 -115px no-repeat;
        }
        .social_footer li {
            background: url(../img/sprite.png) 0 -197px no-repeat;
        }
        .social_header li.fb {
            width: 35px;
        }
        .social_header li.twitter {
            width: 53px;
            background-position: -35px -115px;
        }
        .social_header li.sc {
            width: 60px;
            background-position: -88px -115px;
        }
        .social_footer li.fb {
            width: 35px;
        }
        .social_footer li.twitter {
            width: 53px;
            background-position: -35px -197px;
        }
        .social_footer li.sc {
            width: 60px;
            background-position: -88px -197px;
        }
        .social_header li a, .social_footer li a {
            display: block;
        }
    .searchtop {
        text-indent: 0;
        float: right;
        width: 240px;
        line-height: 70px;
        background: url(../img/sprite.png) 0 -327px no-repeat;
    }
        .searchtop label {
            display: none;
        }
        .searchtop .search {
            padding-left: 35px;
        }
        .searchtop .inputbox {
            -webkit-appearance: none;
            -moz-box-sizing:border-box;
            box-sizing:border-box;
            width: 200px;
            padding: 5px;
            background-color: #E8E8E8;
            border-radius: 4px;
            border: 0;
            height: 30px;
            font-size: 12px;
        }
    header h1 {
        float: left;
        width: 163px;
        height: 100px;
        background: url("../img/sprite.png") 0 0 no-repeat;
        text-indent: -999em;
        overflow: hidden;
        margin: 0;
    }
    header h1 a {
        display: block;
        width: 163px;
        height: 100px;
    }
    .slogan {
        width: 400px;
        margin-left: 30px;
        float: left;
        color: #999;
    }
    .slogan h2 {
        font-size: 20px;
        margin: 0;
        margin-bottom: 10px;
        font-weight: 400;
    }
    .slogan p {
        font-size: 12px;
        margin: 0;
    }
    .fb_like {
        float: right;
        width: 300px;
        margin-top: 20px;
    }

    .buttontop {
        border:0;
        border-radius: 0 4px 4px 0;
        background: #72B764;
        color: #fff;
        font-weight: bold;
        text-align: center;
        width: 30px;
        padding: 5px;
    }
    .inputboxtop {
        border:0;
        border-radius: 4px 0 0 4px;
        color:#666;
        padding: 5px;
        width: 170px;
    }
/*
FOTOS HOME
*/
.fotoshome {
    margin-bottom: 20px;
}
.foto_big {
    height: 410px;
    margin-bottom: 20px;
}
.foto_big p {
    margin: 0;
}

#djslider-loader97 {
    margin: 0 auto;
    position: relative;
}

#djslider97 {
    margin: 0 auto;
    position: relative;
    height: 410px;
    width: 620px;
    max-width: 620px;
}
#slider-container97 {
    position: absolute;
    overflow: hidden;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}
#navigation97 {
    position: relative;
    top: 87.80487804878%;
    margin: 0 5px;
    text-align: center !important;
}
#prev97 {
    cursor: pointer;
    display: block;
    position: absolute;
    left: 0;
}
#next97 {
    cursor: pointer;
    display: block;
    position: absolute;
    right: 0;
}
.prev-button {
    left: 500px!important;
}
/*
HOME
*/
.featured h3,
.featured h2 {
    font-size: 24px;
    font-weight: 400;
    color: #1E85BC;
    margin: 0;
    margin-bottom: 40px;
}
.featured h3 a,
.featured h2 a {
    color: #2E9E9A;
    text-decoration: none;
}
.featured p {
   margin: 0;
   margin-bottom: 15px;
}
.featured .category-module {
    padding: 0;
    margin: 0;
    list-style-type: none;
}
.featured li {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: solid 1px #D1D1D1;
}
.mod-articles-category-title {
    font-size: 20px;
    color: #000;
    text-decoration: none;
}
.mod-articles-category-introtext {

}
p.mod-articles-category-readmore {
    width: 120px;
    height: 30px;
    line-height: 30px;
    border-radius: 4px;
    background-color: #2D87B8;
    text-align: center;
}
a.mod-articles-category-readmore {
    color: #fff;
    display: block;
    line-height: 30px;
    text-decoration: none;
}
.pull-left {
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    float: left;
    margin-right: 10px;
    /*width: 140px;*/
}
.featured_content {
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    float: left;
    width: 460px;
}
.pull-left img {
    width: 140px;
    height: auto;
}
.thumbs {
    background-color: #fff;
    padding: 10px;
    border: solid 1px #dcdddf;
}
.weather {
    background-color: #fff;
    padding: 10px;
    border: solid 1px #DCDDDF;
    margin-bottom: 20px;
}
.weather h3 {
    color: #333;
    text-align: center;
    margin: 0;
    margin-bottom: 20px;
    font-size: 16px;
}
/*
MAIN
*/
.main {
    background: url("../img/content_sp_bar.png") center top no-repeat;
    padding-top: 20px;
}
.content {
    width: 620px;
    float: left;
}
aside {
    width: 300px;
    float: right;
}
.category_title {
    margin-bottom: 30px;
    color: #1E85BC;
    font-size: 24px;
}
.item-page h2, .search h1 {
    font-size: 30px;
    font-weight: 400;
    color: #000;
    margin: 0;
    margin-bottom: 20px;
}
.item-page h2 a {
    color: #000;
    text-decoration: none;
}
.blog h2 .subheading-category{
    color: #2E9E9A;
    text-decoration: none;
}

/*.item-page h3 {
    font-size: 1.5em;
    font-weight: 400;
    color: #000;
    margin: 0;
    margin-bottom: 20px;
}*/
.testimonial {
    margin-bottom: 10px;
}
.hseparator {
    border-bottom:solid 1px #D1D1D1;
    height: 10px;
}
.fblikebox {
    padding-top: 20px;
}
.scsocialbuttons {
    margin-top: 40px;
}


/*
SEARCH RESULTS
*/
.result-title a {
    font-size: 18px;
    color:#1E85BC;
    text-decoration: none;
    font-weight: 600;
}
.phrases, .only, .form-limit {
    display: none;
}
.result-text {
    font-size: 13px;
}

.result-category {
    display: none;
}
.search-results dd {
    margin: 0;
}
.search-results dd.result-text {
    margin-bottom: 20px;
}
fieldset.word {
    padding-bottom: 20px;
    border-bottom: solid 1px #D1D1D1;
}
fieldset.word .inputbox {
    border: solid 1px #D1D1D1;
    border-radius: 4px;
    color:#666;
    padding: 5px;
}
fieldset.word .button {
    border:0;
    border-radius: 4px;
    background: #72B764;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 5px;
}
.searchintro {
    font-size: 14px;
}
/*
ASIDE
*/
.leftbox {
    padding: 10px;
    margin-bottom: 20px;
    min-height: 90px;
}
.leftbox.online {
    background-color: #000;
}
.leftbox.podcasts {
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    background-color: #fff;
    border: solid 1px #DCDDDF;
}
.leftbox.online p, 
.leftbox.pub p, 
.leftbox.podcasts p {
    margin: 0;
}
.leftbox h3 {
    font-size: 24px;
    font-weight: 400;
    margin: 0;
    margin-bottom: 20px;
}
.leftbox.online h3 {
    color: #fff;
}
.leftbox.podcasts h3, .leftbox.agenda h3 {
    color: #1E85BC;
}
.agenda, .fb_box {
    border: solid 1px #dbddde;
    background-color: #fff;
    padding: 10px;
    margin-bottom: 20px;
}
.fb_box {
    padding: 0;
}
._4s7c {
    border:0!important;
}
/*.agenda .event {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: solid 1px #dbddde;
}
.agenda .date {
    float: left;
    width: 60px;
    margin-right: 10px;
}
.date .month {
    background-color: #E03A6D;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    padding: 3px 0;
    font-size: 13px;
    font-weight: 700;
}
.date .day {
    background-color: #E8E8E8;
    color: #666666;
    text-align: center;
    padding: 5px 0;
    font-size: 24px;
    font-weight: 700;
}
.agenda .event_details {
    float:left;
    width: 200px;
}
.agenda p, .agenda h3 {
    margin: 0;
}
.agenda h3 {
    font-size: 13px;
}
.agenda h3 a {
    color: #333;
    text-decoration: none;
}
.agenda .agenda_more {
    background-color: #F4F6F8;
    border: solid 1px #E6E6E6;
    padding: 6px;
    text-align: center;
    font-size: 14px;
}
.agenda .agenda_more a {
    color:#666;
    display: block;
    padding: 6px;
    margin: -6px;
    text-decoration: none;
}*/

/*
FOOTER
*/
.footer_wrapper {
    width: 100%;
    height: 230px;
    background-color: #000;
}
footer {
    width: 940px;
    margin: 0 auto;
    padding-top: 20px;
}
.nav_bottom {
    height: 130px;
    border-bottom: solid 1px #666;
}
.copy_zone {
    padding-top: 15px;
}
.copy {
    float: left;
    width: 700px;
}
.copy p {
    color: #fff;
    margin: 0;
}
.copy a {
    color: #fff;
}

/*
OTHER
*/
h3 {
    font-size: 20px;
    color: #000;
    margin: 0;
    font-weight: 400;
}
.grelha p {
    margin: 0;
}
.grelha span {
    color: #1E85BC;
}
.grelha td {
    padding-bottom: 20px;
}
.grelha td[colspan] {
    height: 2px;
    border-top: solid 1px #D1D1D1;
}

/*
JOOMLA OVERRIDES
*/

dl.article-info {
    display: none;
}
.items-leading h2 a,
.items-row h2 a {
    text-decoration: none;
}
.items-leading,
.items-row {
    margin-bottom: 20px;
    border-bottom: solid 1px #DCDDDF;
    padding-bottom: 20px;
}
@font-face {
    font-family: 'IcoMoon';
    src: url('../../../media/jui/fonts/IcoMoon.eot');
    src: url('../../../media/jui/fonts/IcoMoon.eot?#iefix') format('embedded-opentype'), url('../../../media/jui/fonts/IcoMoon.woff') format('woff'), url('../../../media/jui/fonts/IcoMoon.ttf') format('truetype'), url('../../../media/jui/fonts/IcoMoon.svg#IcoMoon') format('svg');
    font-weight: normal;
    font-style: normal;
}
[data-icon]:before {
    font-family: 'IcoMoon';
    content: attr(data-icon);
    speak: none;
}
[class^="icon-"],
[class*=" icon-"] {
    display: inline-block;
    width: 14px;
    height: 14px;
    *margin-right: .3em;
    line-height: 14px;
}
[class^="icon-"]:before,
[class*=" icon-"]:before {
    font-family: 'IcoMoon';
    font-style: normal;
    speak: none;
}
.icon-home:before {
    content: "\21";
}
.icon-user:before {
    content: "\22";
}
.icon-checkedout:before,
.icon-lock:before,
.icon-locked:before {
    content: "\23";
}
.icon-comment:before,
.icon-comments:before {
    content: "\24";
}
.icon-comments-2:before {
    content: "\25";
}
.icon-share-alt:before,
.icon-out:before {
    content: "\26";
}
.icon-share:before,
.icon-redo:before {
    content: "\27";
}
.icon-undo:before {
    content: "\28";
}
.icon-file-add:before {
    content: "\29";
}
.icon-new:before,
.icon-plus:before {
    content: "\2a";
}
.icon-apply:before,
.icon-edit:before,
.icon-pencil:before {
    content: "\2b";
}
.icon-pencil-2:before {
    content: "\2c";
}
.icon-folder-open:before,
.icon-folder:before {
    content: "\2d";
}
.icon-folder-close:before,
.icon-folder-2:before {
    content: "\2e";
}
.icon-picture:before {
    content: "\2f";
}
.icon-pictures:before {
    content: "\30";
}
.icon-list:before,
.icon-list-view:before {
    content: "\31";
}
.icon-power-cord:before {
    content: "\32";
}
.icon-cube:before {
    content: "\33";
}
.icon-puzzle:before {
    content: "\34";
}
.icon-flag:before {
    content: "\35";
}
.icon-tools:before {
    content: "\36";
}
.icon-cogs:before {
    content: "\37";
}
.icon-options:before,
.icon-cog:before {
    content: "\38";
}
.icon-equalizer:before {
    content: "\39";
}
.icon-wrench:before {
    content: "\3a";
}
.icon-brush:before {
    content: "\3b";
}
.icon-eye-open:before,
.icon-eye:before {
    content: "\3c";
}
.icon-checkbox-unchecked:before {
    content: "\3d";
}
.icon-checkin:before,
.icon-checkbox:before {
    content: "\3e";
}
.icon-checkbox-partial:before {
    content: "\3f";
}
.icon-asterisk:before,
.icon-star-empty:before {
    content: "\40";
}
.icon-star-2:before {
    content: "\41";
}
.icon-featured:before,
.icon-star:before {
    content: "\42";
}
.icon-calendar:before {
    content: "\43";
}
.icon-calendar-2:before {
    content: "\44";
}
.icon-question-sign:before,
.icon-help:before {
    content: "\45";
}
.icon-support:before {
    content: "\46";
}
.icon-pending:before,
.icon-warning:before {
    content: "\48";
}
.icon-publish:before,
.icon-save:before,
.icon-ok:before,
.icon-checkmark:before {
    content: "\47";
}
.icon-unpublish:before,
.icon-cancel:before {
    content: "\4a";
}
.icon-eye-close:before,
.icon-minus:before {
    content: "\4b";
}
.icon-purge:before,
.icon-trash:before {
    content: "\4c";
}
.icon-envelope:before,
.icon-mail:before {
    content: "\4d";
}
.icon-mail-2:before {
    content: "\4e";
}
.icon-unarchive:before,
.icon-drawer:before {
    content: "\4f";
}
.icon-archive:before,
.icon-drawer-2:before {
    content: "\50";
}
.icon-box-add:before {
    content: "\51";
}
.icon-box-remove:before {
    content: "\52";
}
.icon-search:before {
    content: "\53";
}
.icon-filter:before {
    content: "\54";
}
.icon-camera:before {
    content: "\55";
}
.icon-play:before {
    content: "\56";
}
.icon-music:before {
    content: "\57";
}
.icon-grid-view:before {
    content: "\58";
}
.icon-grid-view-2:before {
    content: "\59";
}
.icon-menu:before {
    content: "\5a";
}
.icon-thumbs-up:before {
    content: "\5b";
}
.icon-thumbs-down:before {
    content: "\5c";
}
.icon-delete:before,
.icon-remove:before,
.icon-cancel-2:before {
    content: "\49";
}
.icon-save-new:before,
.icon-plus-2:before {
    content: "\5d";
}
.icon-ban-circle:before,
.icon-minus-sign:before,
.icon-minus-2:before {
    content: "\5e";
}
.icon-key:before {
    content: "\5f";
}
.icon-quote:before {
    content: "\60";
}
.icon-quote-2:before {
    content: "\61";
}
.icon-database:before {
    content: "\62";
}
.icon-location:before {
    content: "\63";
}
.icon-zoom-in:before {
    content: "\64";
}
.icon-zoom-out:before {
    content: "\65";
}
.icon-expand:before {
    content: "\66";
}
.icon-contract:before {
    content: "\67";
}
.icon-expand-2:before {
    content: "\68";
}
.icon-contract-2:before {
    content: "\69";
}
.icon-health:before {
    content: "\6a";
}
.icon-wand:before {
    content: "\6b";
}
.icon-unblock:before,
.icon-refresh:before {
    content: "\6c";
}
.icon-vcard:before {
    content: "\6d";
}
.icon-clock:before {
    content: "\6e";
}
.icon-compass:before {
    content: "\6f";
}
.icon-address:before {
    content: "\70";
}
.icon-feed:before {
    content: "\71";
}
.icon-flag-2:before {
    content: "\72";
}
.icon-pin:before {
    content: "\73";
}
.icon-lamp:before {
    content: "\74";
}
.icon-chart:before {
    content: "\75";
}
.icon-bars:before {
    content: "\76";
}
.icon-pie:before {
    content: "\77";
}
.icon-dashboard:before {
    content: "\78";
}
.icon-lightning:before {
    content: "\79";
}
.icon-move:before {
    content: "\7a";
}
.icon-next:before {
    content: "\7b";
}
.icon-previous:before {
    content: "\7c";
}
.icon-first:before {
    content: "\7d";
}
.icon-last:before {
    content: "\e000";
}
.icon-loop:before {
    content: "\e001";
}
.icon-shuffle:before {
    content: "\e002";
}
.icon-arrow-first:before {
    content: "\e003";
}
.icon-arrow-last:before {
    content: "\e004";
}
.icon-chevron-up:before,
.icon-uparrow:before,
.icon-arrow-up:before {
    content: "\e005";
}
.icon-chevron-right:before,
.icon-arrow-right:before {
    content: "\e006";
}
.icon-chevron-down:before,
.icon-downarrow:before,
.icon-arrow-down:before {
    content: "\e007";
}
.icon-chevron-left:before,
.icon-arrow-left:before {
    content: "\e008";
}
.icon-arrow-up-2:before {
    content: "\e009";
}
.icon-arrow-right-2:before {
    content: "\e00a";
}
.icon-download:before,
.icon-arrow-down-2:before {
    content: "\e00b";
}
.icon-arrow-left-2:before {
    content: "\e00c";
}
.icon-play-2:before {
    content: "\e00d";
}
.icon-menu-2:before {
    content: "\e00e";
}
.icon-arrow-up-3:before {
    content: "\e00f";
}
.icon-arrow-right-3:before {
    content: "\e010";
}
.icon-arrow-down-3:before {
    content: "\e011";
}
.icon-arrow-left-3:before {
    content: "\e012";
}
.icon-print:before,
.icon-printer:before {
    content: "\e013";
}
.icon-color-palette:before {
    content: "\e014";
}
.icon-camera-2:before {
    content: "\e015";
}
.icon-file:before {
    content: "\e016";
}
.icon-file-remove:before {
    content: "\e017";
}
.icon-save-copy:before,
.icon-copy:before {
    content: "\e018";
}
.icon-cart:before {
    content: "\e019";
}
.icon-basket:before {
    content: "\e01a";
}
.icon-broadcast:before {
    content: "\e01b";
}
.icon-screen:before {
    content: "\e01c";
}
.icon-tablet:before {
    content: "\e01d";
}
.icon-mobile:before {
    content: "\e01e";
}
.icon-users:before {
    content: "\e01f";
}
.icon-briefcase:before {
    content: "\e020";
}
.icon-download:before {
    content: "\e021";
}
.icon-upload:before {
    content: "\e022";
}
.icon-bookmark:before {
    content: "\e023";
}
.icon-out-2:before {
    content: "\e024";
}
.tooltip {
    position: absolute;
    z-index: 1030;
    display: block;
    visibility: visible;
    font-size: 11px;
    line-height: 1.4;
    opacity: 0;
    filter: alpha(opacity=0);
}
.tooltip.in {
    opacity: 0.8;
    filter: alpha(opacity=80);
}
.tooltip.top {
    margin-top: -3px;
    padding: 5px 0;
}
.tooltip.right {
    margin-left: 3px;
    padding: 0 5px;
}
.tooltip.bottom {
    margin-top: 3px;
    padding: 5px 0;
}
.tooltip.left {
    margin-left: -3px;
    padding: 0 5px;
}
.tooltip-inner {
    max-width: 200px;
    padding: 8px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background-color: #000;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
}
.tooltip.top .tooltip-arrow {
    bottom: 0;
    left: 50%;
    margin-left: -5px;
    border-width: 5px 5px 0;
    border-top-color: #000;
}
.tooltip.right .tooltip-arrow {
    top: 50%;
    left: 0;
    margin-top: -5px;
    border-width: 5px 5px 5px 0;
    border-right-color: #000;
}
.tooltip.left .tooltip-arrow {
    top: 50%;
    right: 0;
    margin-top: -5px;
    border-width: 5px 0 5px 5px;
    border-left-color: #000;
}
.tooltip.bottom .tooltip-arrow {
    top: 0;
    left: 50%;
    margin-left: -5px;
    border-width: 0 5px 5px;
    border-bottom-color: #000;
}
.btn-group + .btn-group {
margin-left: 5px;
}
.pull-left {
float: left;
}
.btn-group {
position: relative;
display: inline-block;
font-size: 0;
vertical-align: middle;
white-space: nowrap;
}

.item-page .btn-group, .item-page .article-info {
    display: none;
}
.pagination {
    margin: 18px 0;
}
.pagination ul {
    display: inline-block;
    margin-left: 0;
    margin-bottom: 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 0;
}
.pagination ul > li {
    display: inline;
}
.pagination ul > li > a,
.pagination ul > li > span {
    float: left;
    padding: 4px 12px;
    line-height: 18px;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    border-left-width: 0;
}
.pagination ul > li > a:hover,
.pagination ul > li > a:focus,
.pagination ul > .active > a,
.pagination ul > .active > span {
    background-color: #f5f5f5;
}
.pagination ul > .active > a,
.pagination ul > .active > span {
    color: #999;
    cursor: default;
}
.pagination ul > .disabled > span,
.pagination ul > .disabled > a,
.pagination ul > .disabled > a:hover,
.pagination ul > .disabled > a:focus {
    color: #999;
    background-color: transparent;
    cursor: default;
}
.pagination ul > li:first-child > a,
.pagination ul > li:first-child > span {
    border-left-width: 1px;
    -webkit-border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
    border-bottom-left-radius: 4px;
}
.pagination ul > li:last-child > a,
.pagination ul > li:last-child > span {
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
    border-bottom-right-radius: 4px;
}
.btn-group .inputbox {
    background-color: #fff;
    border: 1px solid #ccc;
    display: inline-block;
    height: 18px;
    padding: 4px 12px;
    margin-bottom: 9px;
    font-size: 13px;
    line-height: 18px;
    color: #555;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    vertical-align: middle;
}
.btn {
display: inline-block;
padding: 4px 12px;
margin-bottom: 0;
font-size: 13px;
line-height: 18px;
text-align: center;
vertical-align: middle;
cursor: pointer;
color: #333;
background-color: #f5f5f5;
border: 1px solid #bbb;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
