/*  SECTIONS  */
.section {
    clear: both;
    padding: 0px;
    margin: 0px;
}

/*  COLUMN SETUP  */
.col {
    display: inline-block;
    float: left;
    margin: 1% 0 1% 1.6%;
}

    .col:first-child {
        margin-left: 0;
    }

/*  GROUPING  */
.group:before,
.group:after {
    content: "";
    display: table;
}

.group:after {
    clear: both;
}

.group {
    zoom: 1; /* For IE 6/7  }*/
}

/*  GRID OF THREE  */
.span_3_of_3 {
    width: 100%;
}

.span_2_of_3 {
    width: 66.13%;
}

.span_1_of_3 {
    width: 32.26%;
}


body {
    position: relative;
    margin: 0 auto;
    padding: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    background: #fff;
}

.topbar {
    margin: 0 auto;
    width: 100%;
    max-height: 90%;
    background: rgba(12,13,14,0.86);
}

.header {
    position: relative;
    display: block;
    margin: 0 auto;
    max-width: 900px;
    max-height: 50%;
    width: 900px;
    height: 163px;
    padding-bottom: 10px;
    padding-top: 10px;
    vertical-align: middle;
}

.client_logo_container {
    display: block;
    vertical-align: middle !important;
    justify-content: center;
    align-items: center;
    max-width: 99%;
}

.client_logo {
    display: block;
    background-size: contain;
    position: relative;
}

.wrapper {
    margin: 0 auto;
    max-width: 900px;
    padding: 20px;
}

a:link, a:visited {
    color: #c41230;
    text-decoration: none;
}

a:hover, a:active {
    color: #f72a2a;
    text-decoration: underline;
}

a {
    color: #c41230;
    text-decoration: none;
}

.header_link {
    display: inline-block;
    line-height: 20px;
}

.header a:link, a:visited {
    color: #979797;
}

.header a:hover, a:active {
    color: #dbdbdb;
    text-decoration: underline;
}

h1 {
    /*position: relative;
    display: block;
    margin-bottom: 50px;
    font-size: 36px;
    font-weight: 300;
    color: #fff;
    line-height: 30px;
    letter-spacing: 1px;*/
}

#headerTable {
    width: 100%;
    vertical-align: middle;
}

    #headerTable td, th {
        vertical-align: middle;
    }

        #headerTable td:first-child {
            max-width: 143px !important;
        }


#logo {
    position: relative;
    display: inline-block;
    background: url('images/certified.png') no-repeat bottom;
    background-size: contain;
    height: 143px;
    width: 140px;
    float: right;
    border:none;
}

#client_name {
    position: relative;
    display: inline-block;
    height: 143px;
    width: 440px;
    float: left;
}

#clientNameLabel {
    text-align: center;
    vertical-align: middle;
    font-size: 36px;
    font-weight: 300;
    color: #fff;
    line-height: 30px;
    letter-spacing: 1px;
}

#certified {
    height: 143px;
    width: 140px;
}

.table_results {
    display: table;
    margin: 50px auto 20px;
    border-collapse: collapse;
    width: 100%;
}

#ComponentsGridView {
        width: 100%;
        border: 1px solid #ccc;
    }

#ComponentsGridView th
{
    min-height: 50px;
    font-size: 22px;
    font-weight: 300;
    text-align: left;
    line-height: 25px;
    letter-spacing: 1px;
    background: #c41230;
    color: #fff;
    border: solid 1px #fff;
    padding-left: 15px;
    padding-right: 15px;
}

#ComponentsGridView td
{
    padding:10px;
    vertical-align: middle;
    border: solid 1px #fff;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 15px;
    padding-right: 15px;
}

#ComponentsGridView tr
{
   background: rgb(250,250,250);
   height: 40px;
}

    #ComponentsGridView tr:nth-of-type(odd) {
        background: #e5e5e5;
    }

.cell {
    display: table-cell;
    vertical-align: middle;
    border: solid 1px #fff;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 15px;
    padding-right: 15px;
}

#product {
    width: 70%;
}

#eval {
    width: 15%;
    text-align: center;
}

#result {
    width: 15%;
    text-align: center;
}

.issue_date {
    padding: 1px 15px 1px 15px;
    margin: 40px auto;
    color: #fff;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    letter-spacing: 1px;
    line-height: 20px;
    background: rgba(12,13,14,0.86);
}

.text {
    line-height: 140%;
    color: #6b6b6b;
}

@media only screen and (max-width: 480px) {

    #headerTable .cf:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
    }

    #headerTable * html .cf {
        zoom: 1;
    }

    #headerTable *:first-child + html .cf {
        zoom: 1;
    }

    #headerTable table {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
    }

    #headerTable th,
    #headerTable td {
        margin-bottom: 10px;
        vertical-align: middle;
        text-align: center;
    }

    #headerTable th {
        text-align: left;
    }

    #headerTable table {
        display: block;
        position: relative;
        width: 100%;
    }

    #headerTable thead {
        display: block;
        float: left;
    }

    #headerTable tbody {
        display: block;
        width: auto;
        position: relative;
        overflow-x: auto;
        white-space: nowrap;
    }

    #headerTable thead tr {
        display: block;
    }

    #headerTable th {
        display: block;
        text-align: right;
    }

    #headerTable tbody tr {
        display: inline-block;
        vertical-align: top;
        width: 100%;
    }

    #headerTable td {
        display: block;
        min-height: 1.25em;
        text-align: left;
    }

        #headerTable td:first-child {
            max-width: 99% !important;
            width: 99% !important;
        }

    /* sort out borders */

    #headerTable th {
        border-bottom: 0;
        border-left: 0;
    }

    #headerTable td {
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
    }
    /*#headerTable tbody tr { border-left: 1px solid #babcbf; }*/
    #headerTable th:last-child,
    /*#headerTable td:last-child { border-bottom: 1px solid #babcbf; }*/
    #clientNameLabel {
        text-align: center;
        vertical-align: middle;
        font-size: 26px;
        font-weight: 300;
        color: #fff;
        line-height: 30px;
        letter-spacing: 1px;
    }

    .client_logo_container {
        display: block;
        vertical-align: middle !important;
        justify-content: center;
        align-items: center;
        max-width: 99%;
        text-align: center;
    }

    .client_logo {
        display: inline;
        background-size: contain;
        position: relative;
        text-align: center;
    }

    #logo {
        position: relative;
        display: inline;
        /*background: url('images/certified.png') no-repeat bottom;*/
        background-size: contain;
        height: 24%;
        width: 24%;
        justify-content: center !important;
        margin-bottom: 0px;
        float:none;
    }

    .certifiedLogo{
       
        height:100%;
        width:100%;
        text-align:center !important;
        justify-content:center;
    }

    .header {
        position: relative;
        display: block;
        margin: 0 auto;
        max-width: 900px;
        max-height: 50%;
        width: 100%;
        height: 210px;
        padding-bottom: 10px;
        padding-top: 10px;
        vertical-align: middle;
    }

    .table_heading {
        /*min-height: 10px;
        font-size: 12px;
        font-weight: 300;
        text-align: left;
        line-height: 25px;
        letter-spacing: 1px;
        background: #c41230;
        color: #fff;
        border: none;
        padding-left: 5px;
        padding-right: 5px;*/
    }

    .row {
        display: table-row;
        background-color: white;
        line-height: 25px;
        font-size: 12px;
    }

   .cell {
        /*display: table-cell;
        vertical-align: middle;
        border: solid 1px #fff;
        padding-top: 0px;
        padding-bottom: 0px;
        padding-left: 5px;
        padding-right: 5px;
        font-size: 12px;*/
    }

    #ComponentsGridView {
        width: 100%;
        border: 1px solid #ccc;
    }

        /* Force table to not be like tables anymore */
        #ComponentsGridView table, thead, tbody, th, td, tr {
            display: block;
        }

        #ComponentsGridView tr:first-child {
            display: none;
        }

        /* Hide table headers (but not display: none;, for accessibility) */
        #ComponentsGridView thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
            background-color: red;
        }

        #ComponentsGridView tr {
            border: 1px solid #ccc;
            height:100%;
        }

        #ComponentsGridView tr:nth-of-type(odd) {
            background: #e5e5e5;
        }
        
        #ComponentsGridView td {
            /* Behave  like a "row" */
            border: none;
            border-bottom: 1px solid  #ccc;
            position: relative;
            padding-left: 50%;
            padding-bottom:5px;
            vertical-align:middle;
            font-size:13px;
        }

        #ComponentsGridView td:last-child
        {
            border:none;
        }


        #ComponentsGridView td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            /*top: 6px;*/
            left: 0px;
            width: 45%;
            padding-right: 5px;
            white-space: nowrap;
            height:100%;
            padding-left:5px;
            font-size: 14px;
            font-weight: 300;
            text-align: left;
            letter-spacing: 1px;
            background: #c41230;
            color: #fff;
            vertical-align:middle;
        }

            /*
	Label the data
	*/
            #ComponentsGridView td:nth-of-type(1):before {
                content: "product name";
            }

            #ComponentsGridView td:nth-of-type(2):before {
                content: "eval date";
            }

            #ComponentsGridView td:nth-of-type(3):before {
                content: "result";
            }
}
