html
{
    height: 100%;
}

body
{
    min-height: 100%;
    text-rendering: optimizelegibility;
    -webkit-font-smoothing: antialiased;
    background-color: #fff;
    font-family: nimbus-sans, Helvetica, Arial, sans-serif;
    font-weight: normal;
    font-size: 16px;
    line-height: 1.3;
}

a
{
    color: #DE2516;
}

h1, h2, h3, .lead
{
    font-weight: 700;
}

h1, .lead
{
    font-size: 30px;
    color: #DE2516;
    line-height: 1;
    letter-spacing: -0.03em;
}

h1:first-of-type
{
    margin-top: 0;
}

h2
{
    font-size: 1em;
}

.lead
{
    margin-top: -5px;
}

.glossary
{
    border-bottom: 1px solid #ccc;
    font-style: normal;
    cursor: pointer;
}

aside h1
{
    font-size: 1em;
    color: black;
    margin-top: 0;
}

.matrix
{
    font-size: 0.75em;
}

.matrix .header
{
    background-color: #fff;
    z-index: 1;
}

.matrix .header.fixed
{
    position: fixed;
    top: 0;
    width: 100%;
    padding-right: 15px;
}

.matrix .header.fixed .clearfix
{
    border-bottom: 1px solid #DE2516;
}

.matrix .header h2
{
    font-size: 15px;
}

.matrix .header .clearfix
{
    border-top: 1px solid #DE2516;
}

.matrix .header .selector,
.matrix .header .country
{
    border-top: 0 none;
}

.matrix .header .country
{
    height: 25px;
}

.matrix .body .question
{
    font-weight: bold;
}

.matrix .header .selector,
.matrix .header .country
{
    font-weight: 700;
    color: #DE2516;
}

.matrix .selector ul
{
    margin: 0;
}

.matrix .selector li
{
    cursor: pointer;
}

.matrix .selector li:hidden
{
    display: none;
}

.matrix .selector li:after
{
    font-family: 'Glyphicons Halflings';
    font-size: 9px;
    font-weight: normal;
    content: '\e250';
}

.matrix .selector li.active:after
{
    content: '\e252';
}

.matrix .country .inner
{
    padding-left: 15px;
    cursor: not-allowed;
}

.matrix .category
{
    font-size: 1.25em;
    font-weight: 700;
    color: #DE2516;
    padding: 10px 15px 10px 0;
    border-top: 1px solid #DE2516;
    cursor: pointer;
}

.matrix .category:before
{
    font-family: 'Glyphicons Halflings';
    font-size: 9px;
    font-weight: normal;
    content: '\e250';
    display: inline-block;
    margin-right: 5px;
}

.matrix .category.active:before
{
    content: '\e252';
}

.matrix .category + .questions
{
    height: 0;
    overflow: hidden;
}

.matrix .inner
{
    padding: 5px 15px;
}

.navbar-default
{
    background-color: transparent;
    border-color: transparent;
    letter-spacing: -0.03em;
    margin: 0;
    padding-bottom: 15px;
}

.navbar>.container .navbar-brand,
.navbar>.container-fluid .navbar-brand {
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 15px;
    text-indent: -999em;
    width: 60px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: 0 2px;
    background-image: url(/img/common/aaca-logo.png);
    background-image: -webkit-linear-gradient(transparent, transparent), url(/img/common/aaca-logo.svg);
    background-image: -moz-linear-gradient(transparent, transparent), url(/img/common/aaca-logo.svg);
    background-image: linear-gradient(transparent, transparent), url(/img/common/aaca-logo.svg);
    overflow: hidden;
}

.container article ul
{
    list-style-type: none;
    padding-left: 0;
}

.container article ul > li
{
    margin-left: 0;
    padding-left: 1em;
    position: relative;
}

.container article ul > li:before
{
    position: absolute;
    left: 0;
    top: 0;
    content: "\2014";
}

.floating-tip
{
    z-index: 11111;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.85);
    min-width: 136px;
    min-height: 1px;
    max-width: 320px;
    padding: 8px;
    color: #fff;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
}

@media (max-width: 767px)
{
    .matrix .header .resizable { float: left }

    .matrix-1 .header .resizable { width: 100% }
    .matrix-2 .header .resizable { width: 50% }
    .matrix-3 .header .resizable { width: 33.3333333% }
    .matrix-4 .header .resizable { width: 25% }
    .matrix-5 .header .resizable { width: 20% }
    .matrix-6 .header .resizable { width: 16.6666666% }
    .matrix-7 .header .resizable { width: 14.2857142% }

    .matrix .header.fixed .container
    {
        margin-right: 15px;
    }

    .matrix .header > .container
    {
        padding-left: 0;
        padding-right: 0;
    }

    .matrix .header .country
    {
        color: black;
    }

    .matrix .header .country.active
    {
        color: #DE2516;
    }

    .matrix .body
    {
        font-size: 14px;
        line-height: 1.2;
    }

    .matrix .question .inner
    {
        padding-bottom: 0;
    }

    .matrix .category-country .inner
    {
        padding-top: 0;
        border-bottom: 1px solid #000;
    }

    .matrix .clearfix:last-child .category-country .inner
    {
        border-bottom: 0 none;
    }

    .navbar-default
    {
        border: 0 none;
    }

    .navbar-default .container
    {
        padding-left: 0;
        padding-right: 0;
    }

    .navbar-default .container > .inner
    {
        background-color: #777;
        background-image: url(/img/common/aaca-header.jpg);
        background-repeat: no-repeat;
        background-position: 0% 0%;
        background-size: 200%;
        padding: 15px 15px 0 15px;
    }
    
    .navbar-header
    {
        border-top: 2px solid #DE2516;
    }

    .navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand
    {
        margin-left: 0;
    }

    .navbar-collapse
    {
        margin-left: -15px;
        margin-right: -15px;
        background-color: #fff;
        padding-bottom: 15px;
    }

    .navbar .subbrand
    {
        color: #fff;
        font-weight: 700;
        font-size: 30px;
        line-height: 28px;
        padding: 5px 0 15px 0;
        float: none;
        clear: both;
        display: block;
    }

    .navbar-default .navbar-toggle
    {
        border: 0 none;
        background-color: transparent;
        margin-right: -9px;
    }

    .navbar-default .navbar-toggle .icon-bar
    {
        background-color: #DE2516
    }
}

@media (min-width: 768px)
{
    body
    {
        padding-bottom: 60px;
    }

    .btn-download
    {
        font-size: 12px;
        margin: 0;
        display: inline-block;
        color: #bbb;
    }

    .btn-download:hover,
    .btn-download:active,
    .btn-download:focus
    {
        color: black;
        text-decoration: none;
    }

    .btn-download:before
    {
        content: ' ';
        display: inline-block;
        vertical-align: top;
        width: 14px;
        height: 14px;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        background-image: url(/img/common/icon-document.png);
        background-image: -webkit-linear-gradient(transparent, transparent), url(/img/common/icon-document.svg);
        background-image: -moz-linear-gradient(transparent, transparent), url(/img/common/icon-document.svg);
        background-image: linear-gradient(transparent, transparent), url(/img/common/icon-document.svg);
        overflow: hidden;
    }

    .dropdown > .btn-download
    {
        margin-top: 20px;
    }

    .matrix .header .container
    {
        margin-left: -15px;
    }

    .matrix .header .clearfix
    {
        height: 26px;
        overflow: hidden;
    }

    .matrix .header .selector,
    .matrix .header .country,
    .matrix .body .question,
    .matrix .body .category-country
    {
        float: left;
    }

    .matrix .body .question,
    .matrix .body .category-country
    {
        border-top: 1px solid #ccc;
    }

    .matrix .selector li
    {
        color: #ccc;
    }

    .matrix .selector li:hover
    {
        color: #DE2516;
    }

    .matrix .category:hover,
    .matrix .country:hover
    {
        color: #fff;
        background-color: #DE2516;
    }

    .matrix .resizable
    {
        overflow: hidden;
    }

    .matrix-0 .resizable { width: 100% }
    .matrix-1 .resizable { width: 50% }
    .matrix-2 .resizable { width: 33.3333333% }
    .matrix-3 .resizable { width: 25% }
    .matrix-4 .resizable { width: 20% }
    .matrix-5 .resizable { width: 16.6666666% }
    .matrix-6 .resizable { width: 14.2857142% }

    .matrix .country .inner:after
    {
        font-family: 'Glyphicons Halflings';
        font-size: 9px;
        font-weight: normal;
        content: '\e250';
        display: inline-block;
        margin-left: 3px;
    }

    .matrix .country.active .inner:after
    {
        content: '\e252';
    }

    .matrix .category > th:before
    {
        font-family: 'Glyphicons Halflings';
        font-size: 9px;
        font-weight: normal;
        content: '\e250';
    }
    
    .matrix .category.active > th:before
    {
        content: '\e252';
    }
    
    .matrix .category > th:hover
    {
        background-color: #DE2516;
        color: white;
    }

    .navbar-default
    {
        border: 0 none;
    }

    .navbar-default .container > .inner
    {
        background-color: #777;
        background-image: url(/img/common/aaca-header.jpg);
        background-repeat: no-repeat;
        background-position: 50% 50%;
        background-size: cover;
        padding: 30px 0;
    }

    .navbar-default .container > .inner > .collapse
    {
        border-top: 2px solid #DE2516;
    }

    .navbar .subbrand
    {
        color: #fff;
        font-weight: 700;
        font-size: 30px;
        line-height: 28px;
        padding: 10px 0;
    }

    .navbar-default .navbar-text {
        color: #999
    }

    .navbar-default .navbar-nav>li>a {
        color: #999
    }

    .navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus
    {
        color: #ccc;
        background-color: transparent
    }

    .navbar-default .navbar-nav>.active>a, 
    .navbar-default .navbar-nav>.active>a:hover, 
    .navbar-default .navbar-nav>.active>a:focus
    {
        background-color: transparent;
        color: #fff;
    }

    .navbar-default .navbar-nav>.active>a::first-letter, 
    .navbar-default .navbar-nav>.active>a:hover::first-letter, 
    .navbar-default .navbar-nav>.active>a:focus::first-letter
    {
        border-bottom: 1px solid #ccc;
    }

    .navbar-default .navbar-nav>.disabled>a, 
    .navbar-default .navbar-nav>.disabled>a:hover, 
    .navbar-default .navbar-nav>.disabled>a:focus
    {
        color: #ccc;
        background-color: transparent;
    }

    footer
    {
        color: #ccc;
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        font-size: 0.75em;
    }

    footer .container > .inner
    {
        border-top: 1px solid #DE2516;
        background-color: #777;
        padding: 15px;
    }

    footer .container > .inner ul
    {
        margin: 0;
    }

    footer a
    {
        color: #ccc;
    }

    footer a:hover
    {
        color: #fff;
    }

    #download-form .inner
    {
        white-space: nowrap;
    }

    #download-form .inner input[type=checkbox] {
        visibility: hidden;
    }

    #download-form .inner label
    {
        display: inline-block;
        width: 60px;
        height: 30px;
        position: relative;
        overflow: hidden;
        border-left: 1px solid #fff;
    }

    #download-form .inner label:first-child
    {
        border-left: 0 none;
    }

    #download-form .inner span
    {
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        width: 60px;
        height: 30px;
        background-color: #ccc;
        color: #fff;
        line-height: 30px;
        padding: 0 5px;
        cursor: pointer;
        text-align: center;
    }

    #download-form .inner span:before
    {
        display: inline-block;
        font-size: 10px;
        margin-right: 3px;
        font-family: 'Glyphicons Halflings';
        font-style: normal;
        font-weight: 400;
        content:"\2b";
    }

    #download-form .inner span:hover
    {
        background-color: #aaa;
    }

    #download-form .inner input[type=checkbox]:checked + span
    {
        background-color: #DE2516;
        color: #fff;
    }

    #download-form .inner input[type=checkbox]:checked + span:before
    {
        content:"\e013";
    }

    #download-form .btn
    {
        width: 100%;
        display: block;
        margin-top: 10px;
    }
}

@media (min-width: 992px)
{
}
