/* ----- global ----- */
html {
    position: relative;
    min-height: 100%;
}
body {
    margin-bottom: 80px;
    overflow-x: hidden;
    -ms-overflow-style: scrollbar;
    background: #eee;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}
.container-fluid {
    max-width: 1200px;
}
h1, h2, h3 {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.4em;
}
a,
a:hover,
a:active,
a:focus {
    text-decoration: none;
}
.btn:hover,
.btn:active,
.btn:focus,
.btn:active:focus {
    outline: none;
}
.btn-primary,
.btn-info {
    border: none;
    text-transform: uppercase;
}
.btn-primary .glyphicon,
.btn-info .glyphicon {
    margin-left: 8px;
}
.tooltip-inner {
    border-radius: 15px;
}

/* ----- layout ----- */
#header {
    padding: 10px 0;
    background: #333;
}
    #header ul {
        margin: 10px -5px 0 15px;
    }
        #header ul li a {
            color: #fff;
        }
        #header ul li a:hover,
        #header ul li a:active,
        #header ul li a:focus {
            color: #ccc;
        }
        #header ul li .icon-flag {
            display: inline-block;
            width: 34px;
            height: 25px;
            vertical-align: middle;
            border: 2px solid #fff;
            border-radius: 20px;
            background: url('../../img/public/sprite-flags.png') no-repeat;
        }
            #header ul li .icon-flag-en {
                background-position: 0 0;
            }
            #header ul li .icon-flag-pl {
                background-position: -30px 0;
            }
#form {
    border-top: 3px solid #fff;
    border-bottom: 3px solid #fff;
    background: #5bc0de;
}
    #form-audit {
        padding: 20px 0;
    }
        #form-audit-url {
            height: 46px;
            padding: 0 15px;
            z-index: 0;
            border: none;
            border-top-left-radius: 30px;
            border-bottom-left-radius: 30px;
            font-size: 14px;
        }
        #form-audit-submit {
            height: 46px;
            padding: 0 16px;
            border-top-right-radius: 30px;
            border-bottom-right-radius: 30px;
            font-size: 14px;
        }
            #form-audit-submit span:first-of-type {
                margin-right: 8px;
            }
        #form-audit-error {
            position: absolute;
            left: 10px;
            top: 52px;
            display: none;
            padding: 5px 10px;
            z-index: 5;
            border-radius: 15px;
            background: #e24342;
            font-size: 13px;
            color: #fff;
        }
        #form-audit-error::before {
            content: '';
            position: absolute;
            top: -8px;
            left: 20px;
            width: 0; 
            height: 0; 
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-bottom: 8px solid #e24342;
        }
            #form-audit-error a {
                display: none;
                margin-left: 5px;
                color: #fff;
            }
#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 80px;
    overflow: hidden;
    background-color: #333;
}
    #footer ul {
        margin: 15px 0 0 0;
    }
        #footer ul li {
            padding: 4px 0;
            font-size: 12px;
            color: #fff;
        }
            #footer ul li a {
                color: #fff;
            }
            #footer ul li a:hover,
            #footer ul li a:active,
            #footer ul li a:focus {
                color: #ccc;
            }
    #footer .google-partner {
        display: inline-block;
        width: 158px;
        height: 54px;
        margin-top: 13px;
        background: url('../../img/public/logo-gp.png') no-repeat;
    }
.action-scroll-top {
    display: none;
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 1000;
    padding: 14px 17px;
    border: none;
    border-radius: 30px;
    background: #315f7e !important;
}
    .action-scroll-top .glyphicon {
        margin-left: 0;
    }

@media (min-width: 768px) {
    #header .brand {
        margin-left: 15px;
    }
    #header ul {
        margin-right: 15px;
    }
    #form-audit {
        padding: 40px 0;
        background: url('../../img/public/form.png') no-repeat 0 50%;
    }
        #form-audit-url {
            height: 50px;
            padding: 0 30px;
            font-size: 16px;
        }
        #form-audit-submit {
            height: 50px;
            padding: 0 16px 0 25px;
            font-size: 16px;
        }
        #form-audit-error {
            top: 56px;
        }
    #footer ul {
        margin-left: 15px;
    }
    #footer .google-partner {
        margin-right: 15px;
    }
}
  
/* ----- modal ----- */
.modal-backdrop.in {
    opacity: 0.8;
}
.modal-content {
    border: 4px solid #fff;
    border-radius: 18px;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    background: #fff;
}
    .modal-header {
        padding: 12px 15px;
        border: none;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
        background: #333;
        color: #fff;
    }
        .modal-header .close {
            font-size: 26px;
            color: #fff;
            text-shadow: none;
            line-height: 21px;
            opacity: 1;
        }
        .modal-header h2 {
            text-transform: uppercase;
        }
    .modal-body {
    }
        .modal-body .alert-success {
            margin: 10px 0;
            border: 4px solid #a3b936;
            border-radius: 15px;
            background: transparent;
            color: #333;
        }
        .modal-body form {
            margin: 15px -15px -15px -15px;
            padding: 15px;
            border-bottom-left-radius: 15px;
            border-bottom-right-radius: 15px;
            background: #5bc0de;
        }
            .modal-body .errors {
                list-style-type: none;
                margin-top: 3px;
                padding-left: 15px;
                color: #fff;
            }
                .modal-body .errors li::before {
                    content: '\e104';
                    margin-right: 5px;
                    vertical-align: middle;
                    font-family: 'Glyphicons Halflings';
                    font-size: 14px;
                }
            .modal-body .form-control {
                padding: 10px 20px;
                border: none;
                border-radius: 21px;
                box-shadow: none !important;
                -webkit-box-shadow: none !important;
                -moz-box-shadow: none !important;
            }
            .modal-body input[type="text"] {
                height: 42px;
            }
            .modal-body input[type="submit"] {
                min-width: 120px;
                padding: 9px 20px;
                border: 2px solid #fff !important;
                border-radius: 20px;
            }
            .modal-body input[type="checkbox"] {
                opacity: 0;
                z-index: 1;
            }
            .modal-body .checkbox {
                margin: 20px 0;
            }
                .modal-body .checkbox label {
                    margin-left: 36px;
                    padding: 0;
                    font-weight: normal;
                    color: #333;
                }
                .modal-body input[type="checkbox"] + label::before {
                    content: '';
                    position: absolute;
                    top: -4px;
                    left: 0;
                    width: 28px;
                    height: 28px;
                    border-radius: 50%;
                    font-family: 'Glyphicons Halflings';
                    font-size: 14px;
                    line-height: 28px;
                    text-align: center;
                    color: #555;
                    background: #fff;
                }
                .modal-body input[type="checkbox"]:disabled + label::before {
                    background: #eee;
                }
                .modal-body input[type="checkbox"]:checked + label::before {
                    content: '\e013';
                }
                .modal-body .checkbox label[for="agreement"] {
                    font-size: 12px;
                }
            .modal-body #fieldset-buttons .form-group {
                margin: 0;
            }
        .modal-body .panel-group {
            margin: 0;
        }
            .modal-body .panel {
                border: none;
                box-shadow: none;
                -webkit-box-shadow: none;
                -moz-box-shadow: none;
            }
                .modal-body .panel-heading {
                    border-radius: 25px;
                    background: #eee;
                    cursor: pointer;
                }
                    .modal-body .panel-title {
                        font-size: 15px;
                    }
                .modal-body .list-group-item {
                    margin: 0 15px;
                    padding: 10px 0;
                    border-color: #eee;
                }
  
/* ----- home ----- */
#home {
    padding: 20px 0;
}
    #home section {
        margin: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
    }
        #home section .list-group {
            border-radius: 15px;
            background: #fff;
        }
            #home section .list-group-item {
                padding: 15px;
                border: none;
                border-top: 2px solid #eee;
                background: transparent;
                line-height: 1.6em;
            }
            #home section .list-group-item:first-of-type {
                border-top: none;
            }
                #home .list-group-item h1 {
                    font-size: 16px;
                    font-weight: bold;
                }
                #home .list-group-item h2 {
                    margin-bottom: 20px;
                    font-size: 14px;
                    font-weight: bold;
                    color: #315f7e;
                }
                #home .list-group-item ul {
                    padding-left: 25px;
                }
                #home .list-group-item img {
                    display: inline-block;
                }
                #home .list-group-item *:last-child {
                    margin-bottom: 0;
                }
       
@media (min-width: 768px) {
    #home {
        padding: 30px 0;
    }
        #home section .list-group-item {
            padding: 15px 30px;
            line-height: 1.8em;
        }
            #home .list-group-item h1 {
                font-size: 18px;
            }
            #home .list-group-item h2 {
                margin-top: 10px;
                font-size: 16px;
            }
}

/* ----- audit ----- */
#audit {
    padding-bottom: 20px;
}
    #audit main {
        width: 100%;
    }
        #audit section {
            margin-bottom: 10px;
            padding-top: 20px;
            background: transparent;
            border: none;
            box-shadow: none;
            -webkit-box-shadow: none;
            -moz-box-shadow: none;
        }
            #audit section header {
                position: relative;
                z-index: 5;
                border: none;
                border-top-left-radius: 15px;
                border-top-right-radius: 15px;
                background: #595c66;
                color: #fff;
            }
                #audit section header h2 {
                    text-transform: uppercase;
                }
                    #audit section header h2 span {
                        margin-right: 10px;
                    }
            #audit section .list-group {
                margin-top: -2px;
                border-bottom-left-radius: 15px;
                border-bottom-right-radius: 15px;
                background: #fff;
            }
                #audit section .list-group-item {
                    position: relative;
                    padding: 15px;
                    border: none;
                    border-top: 2px solid #eee;
                    background: transparent;
                }
                    #audit-url {
                        margin-bottom: 10px;
                        font-size: 20px;
                        line-height: 30px;
                    }
                    #audit-date {
                        display: inline-block;
                        padding: 6px 12px;
                        border-radius: 15px;
                        font-size: 13px;
                        color: #595c66;
                        background: #ddd;
                    }
                    #audit-thumb-desktop {
                        position: relative;
                        display: inline-block;
                        width: 220px;
                        height: 158px;
                        margin: 15px 0;
                        text-align: center;
                        color: #595c66;
                    }
                    #audit-thumb-desktop::after {
                        content: '';
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        z-index: 10;
                        background: url('../../img/sprite-devices.png') no-repeat 0 0;
                    }
                        #audit-thumb-desktop img {
                            position: absolute;
                            top: 12px;
                            left: 12px;
                        }
                        #audit-thumb-desktop span {
                            line-height: 132px;
                            font-size: 36px;
                        }
                    #audit-stats {
                        max-width: 250px;
                        margin: 20px auto 30px auto;
                        padding: 0 25px 0 10px;
                        font-size: 13px;
                        font-weight: bold;  
                        text-align: left;
                        text-transform: uppercase;
                    }
                        #audit-stats li:nth-of-type(odd) {
                            margin-top: 15px;
                        }
                        #audit-stats li:nth-of-type(even) {
                            position: relative;
                            margin-top: 5px;
                            border-radius: 15px;
                            background: #eee;
                        }
                            #audit-stats .stats-bar {
                                display: block;
                                height: 16px;
                                border-radius: 10px;
                            }
                            #audit-stats .stats-bar-ok {
                                background: #a3b936;
                            }
                            #audit-stats .stats-bar-warning {
                                background: #f3a34c;
                            }
                            #audit-stats .stats-bar-error {
                                background: #e24342;
                            }
                            #audit-stats .stats-label {
                                position: absolute;
                                top: -1px;
                                right: -25px;
                            }
                    #audit-rating {
                        position: relative;
                        width: 180px;
                        height: 180px;
                        margin: 10px auto;
                    }
                        #audit-rating canvas {
                            position: absolute;
                            top: 0;
                            left: 0;
                            display: block;
                        }
                        #audit-rating span {
                            display: block;
                            width: 180px;
                            line-height: 180px;
                            text-align: center;
                            font-size: 46px;
                            color: #333;
                        }
                    #audit-summary {
                        line-height: 1.8em;
                    }
                    #audit-report {
                        margin-top: 0 !important;
                    }
                    #audit .criterion-result {
                        display: inline-block;
                        width: 32px;
                        height: 32px;
                        border-radius: 50%;
                        vertical-align: middle;
                        line-height: 34px;
                        text-align: center;
                        font-size: 16px;
                        font-weight: bold;
                        color: #fff;
                        white-space: nowrap;
                    }
                        #audit .criterion-result-default {
                            background: #5bc0de;
                        }
                        #audit .criterion-result-info {
                            background: #595c66;
                        }
                        #audit .criterion-result-ok {
                            background: #a3b936;
                        }
                        #audit .criterion-result-warning {
                            background: #f3a34c;
                        }
                        #audit .criterion-result-error {
                            background: #e24342;
                        }
                    #audit .criterion-name {
                        margin: 10px 0;
                        font-size: 13px;
                        font-weight: bold;
                        text-transform: uppercase;
                    }
                        #audit .criterion-name a {
                            color: #333;
                        }
                    #audit .criterion-features {
                        display: inline-block;
                        border-radius: 15px;
                        background: #ddd;
                    }
                        #audit .criterion-features > li {
                            padding: 0 10px;
                            border-right: 2px solid #fff;
                            color: #595c66;
                        }
                        #audit .criterion-features > li:last-of-type {
                            border-right: none;
                        }
                            #audit .criterion-features > li li {
                                padding: 0 3px;
                            }
                            #audit .criterion-features .glyphicon {
                                margin: 7px 0 9px 0;
                            }
                            #audit .criterion-features .glyphicon.text-muted {
                                color: #fff;
                            }
                    #audit .criterion-description {
                        margin: 15px 0 5px 0;
                        color: #595c66;
                    }
                        #audit .criterion-description ul {
                            margin-bottom: 10px;
                            padding-left: 25px;
                        }
                        #audit .criterion-description *:last-child {
                            margin-bottom: 0;
                        }
                    #audit .action-contact {
                        margin-top: 15px;
                        padding: 7px 20px;
                        border-radius: 20px;
                    }
                    #audit .action-add-issue {
                        position: absolute;
                        bottom: -2px;
                        right: 15px;
                        display: none;
                        padding: 5px 9px;
                    }
                    #audit .list-group-item:hover .action-add-issue {
                        display: inline-block;
                    }
        #audit-filter {
            margin: 0 0 5px 0;
            padding-top: 35px;
            border-bottom: 2px solid #595c66;
        }
            #audit-filter li a {
                position: relative;
                display: inline-block;
                width: 44px;
                padding-bottom: 10px;
                text-align: center;
            }
            #audit-filter li.active a {
                margin-bottom: -4px;
            }
            #audit-filter li.active a::before {
                content: '';
                position: absolute;
                bottom: 0;
                left: 17px;
                width: 0; 
                height: 0; 
                border-left: 5px solid transparent;
                border-right: 5px solid transparent;
            }
            #audit-filter li.active a[data-result=""] {
                border-bottom: 7px solid #5bc0de;
            }
            #audit-filter li.active a[data-result=""]::before {
                border-bottom: 5px solid #5bc0de;
            }
            #audit-filter li.active a[data-result="info"] {
                border-bottom: 7px solid #595c66;
            }
            #audit-filter li.active a[data-result="info"]::before {
                border-bottom: 5px solid #595c66;
            }
            #audit-filter li.active a[data-result="ok"] {
                border-bottom: 7px solid #a3b936;
            }
            #audit-filter li.active a[data-result="ok"]::before {
                border-bottom: 5px solid #a3b936;
            }
            #audit-filter li.active a[data-result="warning"] {
                border-bottom: 7px solid #f3a34c;
            }
            #audit-filter li.active a[data-result="warning"]::before {
                border-bottom: 5px solid #f3a34c;
            }
            #audit-filter li.active a[data-result="error"] {
                border-bottom: 7px solid #e24342;
            }
            #audit-filter li.active a[data-result="error"]::before {
                border-bottom: 5px solid #e24342;
            }
    #audit aside {
        width: 280px;
    }
        #audit-sections {
            top: 0;
            width: 280px;
            margin-top: 20px;
            padding: 15px;
            z-index: 10;
            border-radius: 15px;
            background: #fff;
        }
        #audit-sections.affix-bottom {
            position: absolute;
        }
            #audit-sections li a {
                padding: 8px 14px;
                border-radius: 20px;
                font-size: 13px;
                text-transform: uppercase;
                color: #595c66;
            }
            #audit-sections li a:focus {
                background: none;
            }
            #audit-sections li.active a {
                background: #eee;
            }
            #audit-sections li.disabled a {
                color: #bbb;
            }
                #audit-sections li a span {
                    margin-right: 10px;
                    color: #333;
                }
                #audit-sections li.disabled a span {
                    color: #bbb;
                }
 #offer {
    background: #5bc0de;
    border-top: 3px solid #fff;
    border-bottom: 3px solid #fff;
}
    #offer .wrapper {
        position: relative;
        padding: 30px 0;
        text-align: center;
    }
        #offer h1 {
            margin-bottom: 20px;
            font-size: 22px;
            font-weight: bold;
        }
        #offer p {
            line-height: 1.8em;
        }
        #offer img {
            position: absolute;
            top: -35px;
            right: -320px;
        }
        #offer .action-contact {
            margin-top: 20px;
            padding: 10px 50px;
            border: 2px solid #fff;
            border-radius: 25px;
            font-size: 18px;
        }
        
@media (min-width: 768px) {
    #audit {
        padding-top: 10px;
        padding-bottom: 30px;
    }
        #audit-url {
            margin: 0 150px 0 0;
        }
        #audit-date {
            position: absolute;
            top: 15px;
            right: 15px;
        }
        #audit .criterion-name {
            margin: 6px 280px 0 0;
        }
        #audit .criterion-features {
            position: absolute;
            top: 0;
            right: 15px;
        }
        #audit .criterion-description {
            margin-top: 10px;
        }
        #offer .wrapper {
            padding: 60px 50px;
        }
            #offer h1 {
                font-size: 26px;
            }
            #offer p {
                font-size: 16px;
            }
}
        
 @media (min-width: 992px) {
    #audit main {
        margin-right: -100%;
        padding-right: 300px;
    }
    #offer .wrapper {
        margin-right: 320px;
    }
}

/* ----- criteria ----- */
#audit-criterion-mobile-friendly #audit-thumb-tablet {
    position: relative;
    display: inline-block;
    width: 163px;
    height: 214px;
    text-align: center;
}
#audit-criterion-mobile-friendly #audit-thumb-tablet::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: url('../../img/sprite-devices.png') no-repeat -220px 0;
}
    #audit-criterion-mobile-friendly #audit-thumb-tablet img {
        position: absolute;
        top: 15px;
        left: 11px;
    }
    #audit-criterion-mobile-friendly #audit-thumb-tablet span {
        line-height: 210px;
        font-size: 36px;
    }
#audit-criterion-mobile-friendly #audit-thumb-phone {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 138px;
    margin-left: 10px;
    text-align: center;
}
#audit-criterion-mobile-friendly #audit-thumb-phone::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: url('../../img/sprite-devices.png') no-repeat -383px 0;
}
    #audit-criterion-mobile-friendly #audit-thumb-phone img {
        position: absolute;
        top: 14px;
        left: 6px;
    }
    #audit-criterion-mobile-friendly #audit-thumb-phone span {
        line-height: 132px;
        font-size: 26px;
    }