body .modal-backdrop
{
    display: none !important;
}

.border
{
    border: 1px solid #ababab;
    padding: 20px;
}

.green
{
    color: #00cc00 !important;
}

.red
{
    color: #cc0000 !important;
}

.masq
{
    color: #ef0000;
}

form div.field,
form div.fieldgroup-field
{
    margin-bottom: 14px;
}

.select2-container.form-control
{
    border: none;
    padding: 0px;
    height: 26px;
    width: auto;
}

input.input-sm
{
    width: 50%;
}

.tab-content .widget
{
    margin-bottom: 20px;
}

.hide
{
    display: none;
}

.border-top
{
    border-top: 1px solid #dddddd;
    padding-top: 16px;
}

.border-bottom
{
    border-bottom: 1px solid #dddddd;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.sidebar-wrapper
{
    padding-top: 50px;
}

input[type=file]
{
    border: none;
    padding: 0px;
    margin-bottom: 22px;
}

.file.form-control
{
    border-top: none;
}

form .middleColumn
{
    text-align: left;
}

.glossed .widget .widget-content.with-form
{
    background-image: linear-gradient(to bottom, #f0f0f0 0%, #e0e0e0 100%);
}

.form-control.optionset
{
    height: auto;
    list-style-type: none;
}

.form-control.optionset li
{
    clear: left;
}

.form-control.optionset li input
{
    float: left;
}

.form-control.optionset li label
{
    float: left;
    padding-top: 4px;
    padding-left: 9px;
}

div.alert p
{
    margin-bottom: 14px;
}

div.field.fieldgroup
{
    border: 1px solid #ababab;
    padding: 20px 20px 12px 20px;
    margin: 0px auto 36px;
}

.clear-left
{
    clear: left;
}

.field.fieldgroup .fieldgroup label
{
    font-size: inherit !important;
    text-decoration: none !important;
}

.field.fieldgroup label:first-child
{
    font-size: 16px;
    margin: 0px 0px 14px 0px;
    text-decoration: underline;
}

div.field.fieldgroup.left
{
    border-right: none;
}

form span.message.validation
{
    display: block;
    font-weight: bold;
    color: #cc0000;
    margin: 10px 0px 14px 0px;
}

.report-dashboard-block
{
    padding-bottom: 10px;
}

.report-dashboard-block:hover
{
    /*border: 1px solid #bababa;*/
}


.report-dashboard-block i
{
    display: block;
    font-size: 80px;
    padding: 20px 20px 10px 20px;
}

.report-dashboard-block a:hover
{
    text-decoration: none;
}

.report-dashboard-block h3
{
    margin-top: 0px;
}

.report-dashboard-block span
{
}

.be-footer
{
    font-size: 12px;
    text-align: right;
    margin-bottom: 6px;
}

#dashboard table td
{
    vertical-align: top;
}

/* Frontend */

html body
{
    background-image: url(../images/page-bg.png);
    background-repeat: repeat;
}


html body #main-content
{
    background-color: #ffffff;
    margin: 30px auto 20px;
    box-shadow: 7px 7px 5px 0px rgba(20, 20, 20, 0.15);
    padding-bottom: 30px;
}

html body #main-content .row
{
    padding: 20px;
}

body footer#main-footer
{
    background-image: url(../images/footer-slice.png);
    background-repeat: repeat-x;
    height: 119px;
}

body div.header-main,
body div.header-main .container,
body div.header-main .container nav
{
    background-color: transparent;
    height: 338px;
}

body div.header-outer
{
    background-image: url(../images/nfa-header-slice.png);
    background-position: top center;
    background-repeat: repeat-x;
}
body div.header-inner
{
    background-image: url(../images/nfa-header-inner-bg.png);
    background-position: top center;
    background-repeat: no-repeat;
}


body div.header-main
{
    background-image: url(../images/nfa-header-bg.png);
    background-position: top center;
    background-repeat: no-repeat;
}

body div.header-main .container nav ul.navbar-right
{
    padding-top: 43px;
    clear: right;
}

body div.header-main .container nav ul.navbar-right li a
{
    font-weight: bold;
    color: #333333;
    padding: 15px 12px;
}

body div.header-main .container nav ul.navbar-right li:last-child a
{
    padding-right: 0px;
}


body div.header-main .container nav .navbar-btn
{
    margin-top: 0px;
    color: #e22118;
    box-shadow: none !important;
    border: none !important;
    background-color: #dddddd !important;
}

body #main-content ul.nav-tabs li.active a
{
    color: #4b6784;
}

#home-league-area .widget-content,
#home-cup-area .widget-content
{
    padding: 0px;
}

#home-league-area table,
#home-cup-area table
{
    margin-top: 0px !important;
}

#home-league-area,
#home-cup-area
{
    position: relative;
}

#home-league-area .row,
#home-cup-area .row
{
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

#home-league-area .widget,
#home-cup-area .widget
{
    margin-bottom: 10px !important;
}

#home-league-area .home-slider-btn,
#home-cup-area .home-slider-btn
{
    position: absolute;
    top: 122px;
    font-size: 32px;
}

#home-league-area .prev,
#home-cup-area .prev
{
    left: -17px;
}

#home-league-area .next,
#home-cup-area .next
{
    right: -18px;
}

.home-slide-nav
{
    margin: 0px 0px 0px 0px;
    padding-bottom: 0px !important;
}

.home-slide-nav .form-control
{
    margin: 20px 20px 0px 3px;
    float: left;
    width: 20%;
    max-with: 300px;
}

.home-slide-nav #current_league
{
    width: 100%;
    margin: 0px auto;
    float: none;
}
#scrollUp {
    bottom: 0px;
    right: 10px;
}


.home-slide-nav h2
{
    float: left;
}

#sponsors
{
    text-align: center;
}

#sponsors .col-md-3
{
    display:inline-block;
    float:none;
    /* reset the text-align */
    text-align:left;
    /* inline-block space fix */
    margin-right:-4px;
}
.news-cta{
    margin-left: -25px;
    margin-right: -25px;
    background-color: #FAC803;
    padding: 15px;
    text-align: center;
}

.news-cta .btn{
    background: #fff;
    outline: 0;
    color: #000000;
}

.news-cta .btn:hover {
    border: 1px solid #000000;
}

#handbook p
{
    line-height: 22px;
}

#handbook h3,
#handbook h4
{
    background-color: rgba(250,199,0,0.05);
    border-bottom: 1px dashed rgb(250,199,0);
    border-radius: 4px;
    padding: 10px;
}

#handbook h4
{
    background-color: rgba(75,103,132,0.05);
    border-bottom: 1px dashed rgb(75,103,132);
}

#handbook img
{
    display: block;
    width: 70%;
    margin: 20px auto;
    border: 1px solid #d0d0d0;
    border-radius: 12px;
}

#handbook h3
{
    font-size: 20px;
}

#handbook h4
{
    font-size: 16px;
}

.separator-shadow-bottom img, .separator-shadow-top img
{
    width: 100% !important;
    border: none !important;
    border-radius: 0px !important;
}

#handbook table
{
    width: 100% !important;
    border: 1px solid #ababab;
    margin: 16px auto 32px;
}

#handbook table tr td
{
    border: 1px solid #dadada;
    border-radius: 10px;
    padding: 4px;
    font-size: 13px;
}

#handbook p.btt
{
    text-align: center  ;
    margin: 12px auto 28px;
}

#handbook p.btt a
{
    font-weight: bold;
    font-size: 12px;
}

.nav-tabs
{
    border-bottom: none;
    margin-top: 22px;
}

#top-sponsors .sponsor-section,
#emergency-news,
#home-news
{
    padding: 23px 25px 19px 25px;
    background-color: #ffffff;
    margin: 20px auto 30px;
    box-shadow: 7px 7px 5px 0px rgba(20, 20, 20, 0.15);
}

#top-sponsors
{
    padding: 0px;
    margin-top: 20px;
    margin-bottom: 30px;
}

#top-sponsors .sponsor-inner
{
    padding: 8px 12px 8px 12px;
    background-color: #ffffff;
    box-shadow: 7px 7px 5px 0px rgba(20, 20, 20, 0.15);
    border-radius: 4px;
    min-height: 184px;
}

#top-sponsors-l .sponsor-inner
{
    padding-bottom: 70px !important;
}


#top-sponsors .sponsor-inner img {
    width: 100%;
}

#top-sponsors .sponsor-inner .reeves {
    padding: 0 3rem;
}

#top-sponsors .sponsor-inner .team-valley-carpets {
    padding: 0 3rem;
    clear: left !important;
    padding-top: 10px;
    padding-left: 19px;
}


@media (max-width: 995px) {

    #top-sponsors .sponsor-inner .logo-col {
        margin-bottom: 1rem;
    }

    #top-sponsors .sponsor-inner img {
        display: block;
        margin:0 auto;
        width: auto;
    }

    #top-sponsors .sponsor-inner .reeves {
        padding: 0;
    }

    #top-sponsors .sponsor-inner .team-valley-carpets {
        padding: 0;
        clear: left !important;
        padding-top: 10px;
    }

    #top-sponsors-l
    {
        padding-right: 0px !important;
    }
}


#top-sponsors h5
{
    font-size: 14px;
    border-bottom: 1px solid #cacaca;
    margin: 0px 0px 14px 0px;
    padding: 0px 0px 4px 0px;
    font-weight: bold;
}


#emergency-news
{
    padding-bottom: 14px;
    padding-top: 0px;
}

#emergency-news h2
{
    color: #cc0000;
}

#home-news
{
    padding-top: 0px;
}

#home-news a:hover
{
    text-decoration: none;
}

#home-news div.col-md-3
{
    border-collapse: collapse;
    vertical-align: bottom;
}

#home-news .col-home-news
{
    border: 1px solid #d8d8d8;
    margin: 0px 2px;
    border-radius: 3px;
}


#home-news .img
{
    background-color: #e4e4e4;
    border: 1px solid #d8d8d8;
    min-height: 120px;
    margin: 2px;
}

#home-news img
{
    width: 100%;
}

#home-news h4
{
    text-align: center;
    font-size: 16px;
    background-color: #1B557A;
    color: #ffffff;
    margin: 2px;
    padding: 5px 12px;
    font-weight: bold;
    line-height: 22px;
    font-size: 14px;
    min-height: 56px;
}

#home-news div.match-report h4
{
    background-color: #5E740B;
}

#emergency-news p
{
    font-size: 16px;
    font-weight: bold;
    color: #cc0000;
}

h1.page-title
{
    margin-bottom: 32px !important;
    font-size: 30px;
}

.widget .nopad
{
    padding: 0px;
}

.widget .nopad table
{
    margin-top: 0px !important;
}

input[type='number']
{
    width: 60px;
}

/*Blog*/
.blog-post
{
    padding: 14px 0px 0px 0px;
}

aside.blog-sidebar ul
{
    list-style-type: none;
    padding: 0px;
}

aside.blog-sidebar ul li
{
    border-bottom: 1px solid #dadada;
    padding: 8px 4px;
}

.blog-teaser
{
    background-color: #fafafa;
    padding-top: 0px;
    border-radius: 8px;
}

.blog-teaser h3
{
    border-bottom: none;
    margin-bottom: 0px;
    padding-bottom: 0px;
    margin-top: 6px;
    min-height: 60px;
}

.blog-teaser h3 a
{
    border-radius: 6px;
    display: block;
}

aside.blog-sidebar ul li:first-child
{
    border-top: 1px solid #dadada;
}

h1.blog-post-title
{
    margin-bottom: 36px;
    border-bottom: 1px dashed #4b6784;
}

div.blog-post-content
{

}

div.blog-post-content h1
{
    font-size: 26px;
    margin-bottom: 22px;
}

div.blog-post-content h2
{
    font-size: 22px;
    margin-bottom: 14px;
}

div.blog-post-content table
{
    width: 100% !important;
    border: 1px solid #cacaca;
    margin: 12px auto 28px;
}

div.blog-post-content table tr td
{
    border-collapse: collapse;
    border: 1px solid #cacaca;
    padding: 6px;
}

div.blog-post-content table tr td p
{
    margin: 0px;
    padding: 0px;
}

div.blog-post-content p,
div.blog-post-content div
{
    margin-bottom: 24px;
}


div.blog-post-content p strong
{
    font-weight: bold;
    color: #4b6784;
}

div.blog-post-content table tr td strong
{
    font-size: 16px;
    color: #4b6784;
}


aside.blog-sidebar ul li:last-child
{
    border-bottom: none;
}

.blog-post li.clearfix
{
    margin: 0px 0px 32px 0px;
}

.blog-post img,
.blog-post div
{
    float: left;
    display: inline-block;
    position: relative;
}

.blog-post div
{
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 12px 0px;
    display: block !important;
    float: none;
}

.blog-post div h4
{
    margin-top: 0px;
    font-size: 20px;
    border-bottom: 1px dashed #2980b9;
    padding: 0px 20px 6px 0px;
    display: block;
}

.blog-post div h4 a
{
}

.blog-post div h4 a:hover
{
    text-decoration: none;
    font-weight: bold;
}

#SearchResults
{
    list-style-type: none;
}

#SearchResults li
{
    display: block;
}

#SearchResults li div
{
    margin-left: 0px;
}


img.blog-featured
{
    display: block;
    width: 100%;
    margin: 10px 0px 20px 0px;
}

p.back-to-news
{
    margin: 12px 0px;
}

p.back-to-news a
{

}

p.back-to-news a:hover
{
    color: #cccccc;
}

/*Errors*/
p.error
{
    font-weight: bold;
    color: #cc0000;
}

input.error
{
    border: 1px solid #cc0000 !important;
}

/*ltab*/
tr.ltabr-active
{
    background-color: #dadada;
}

#dashboard .widget td .btn-primary
{
    margin-top: 12px;
}

#dashboard .col-md-12
{
    float: left;
    clear: left;
}

#dashboard .item
{
    float: none;
    clear: none;
}

nav.navbar
{
    position: relative;
    z-index: 50;
}

nav.navbar a.navbar-brand span
{
    display: none;
}

@media (max-width: 768px)
{
    nav.navbar a.navbar-brand
    {
        width: 190px;
        overflow: hidden;
    }

    nav.navbar a.navbar-brand span
    {
        font-weight: bold;
        font-size: 16px;
        color: #333333;
        line-height: 20px;
        display: block;
        padding: 12px 0px 0px 0px;
        text-align: center;
    }
}

div.navbar-header
{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 1;
}


nav.navbar div.navbar-collapse
{
    z-index: 300;
    position: relative;
}

nav.navbar div.navbar-collapse.collapsing,
nav.navbar div.navbar-collapse.in
{
    background-color: #DDDDDD;
    position: absolute;
    width: 100%;
    max-height: none;
    border-radius: 4px;
    box-sizing: content-box;
}

button.navbar-toggle:not(.collapsed) + a.navbar-brand
{
    display: none;
}

nav.navbar div.navbar-collapse.in ul.navbar-right
{
    padding-top: 0px;
}

.navbar-default .navbar-toggle
{
    position: relative;
    z-index: 2000;
    margin-top: 0px;
}

.no-pad-left
{
    padding-left: 0px;
}

.no-pad-right
{
    padding-right: 0px;
}

div.widget div.widget-title h3.text-left i.fa-cog
{
    display: none;
}

#main-content .table-hover > tbody > tr:hover > td, .table-hover > tbody > tr:hover > th
{
    background-color: inherit;
}

/* Extra time display */

.table .extra-time-row:last-of-type {
    border-bottom: 1px solid #ddd;
}

.text-center {
    text-align: center;
}

.holder-cup .table td {
    border-top: none;
}

.table-parent > tbody > tr > td {
    border-top: none !important;
    padding: 0;
}

.table-parent {
    border: 1px solid #ddd;
}

.table-parent table.table {
    border: none;
    margin-bottom: 0 !important;
}

.table-parent .table {
    background: #fff;
}

.table-parent .table td:first-child {
    border-left: none !important;
    width: 95px;
}

.table-parent .table td:nth-child(5) {
    width: 95px !important;
}

.table-parent .table tr td {
    border-top: none !important;
}

.table-parent .table td:last-child {
    border-right: none !important;
}

.table.extra-time {
    background-color: #f5f5f5;
}

.table .extra-time-row td {
    padding: 2px 0;
    text-align: center;
    border: none;
}

.header-lined
{
    margin-bottom: 26px !important;
}

table tr td .bad
{
    color: #aa0000;
}

table tr td .good
{
    color: #00aa00;
}

p.warning-box
{
    text-align: center;
    background-color: #FAC702;
    font-size: 16px;
    padding: 12px;
    font-weight: bold;
    border-radius: 8px;
}