﻿html {
    background-color: #e2e2e2;
    margin: 0;
    padding: 0;
}

body {
    background-color: #F9F9F9;
    border-top: solid 10px #000;
    color: #333;
    font-size: 13px;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
}

canvas {
    display: block;
    float: left;
    border-width: 5px;
    border-style: ridge;
}

a {
    color: #333;
    outline: none;
    padding-left: 3px;
    padding-right: 3px;
    text-decoration: underline;
}

    a:link, a:visited,
    a:active, a:hover {
        color: #333;
    }

    a:hover {
        background-color: #c7d1d6;
    }

header, footer, hgroup,
nav, section {
    display: block;
}

mark {
    background-color: #a6dbed;
    padding-left: 5px;
    padding-right: 5px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clear-fix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

h1, h2, h3,
h4, h5, h6 {
    color: #000;
    margin-bottom: 0;
    padding-bottom: 0;
}

h1 {
    font-size: 2em;
}

    h1.SteelConstructionInfo {
        border: medium none;
        font-size: 34px;
        font-weight: bold;
        padding-top: 21px;
        margin: 0;
        padding-bottom: 0.17em;
        font-family: Arial,​Helvetica,​Sans-Serif;
        font-weight: 700;
        font-style: normal;
        font-size-adjust: none;
        color: #000000;
        line-height: 34px;
        vertical-align: baseline;
    }

h2 {
    font-size: 1.75em;
}

h3 {
    font-size: 1.2em;
    font-weight: bold;
}

h4 {
    font-size: 1.1em;
}

h5, h6, aside h3 {
    color: #333;
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 20px;
}

    h5 a:link, h5 a:visited, h5 a:active {
        padding: 0;
        text-decoration: none;
    }

p.SteelConstructionInfo {
    margin: 0;
    padding: 0;
    font-family: Arial,​Helvetica,​Sans-Serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    font-size-adjust: none;
    color: #000000;
    line-height: 21px;
    vertical-align: baseline;
    line-height: 1.5em;
}

a.banner-link-bcsa {
    display: inline;
    height: 100%;
    min-width: 62px;
    overflow: hidden;
    text-indent: -10000px;
    text-decoration: none;
}

a.banner-link-tata {
    display: inline;
    height: 100%;
    min-width: 124px;
    overflow: hidden;
    text-indent: -10000px;
    text-decoration: none;
}

a.banner-link-sci {
    display: inline;
    height: 100%;
    min-width: 62px;
    overflow: hidden;
    text-indent: -10000px;
    text-decoration: none;
}

    a.banner-link-tata:hover,
    a.banner-link-tata:active,
    a.banner-link-tata:visited,
    a.banner-link-bcsa:hover,
    a.banner-link-bcsa:active,
    a.banner-link-bcsa:visited,
    a.banner-link-sci:hover,
    a.banner-link-sci:active,
    a.banner-link-sci:visited {
        color: transparent;
        background-color: transparent;
    }

div.headerWhitespace {
    clear: both;
}

div#sp-logo {
    height: 81px;
    margin-top: 25px;
}

/* main layout
----------------------------------------------------------*/
.content-wrapper {
    margin: 0 auto;
    max-width: 960px;
}

#body {
    background-color: #efeeef;
    clear: both;
}

    #body > section {
        padding: 30px 0 35px;
    }

.main-content {
    /*background: url("../Images/accent.png") no-repeat;*/
    padding-left: 10px;
}

.featured + .main-content {
    /*background: url("../Images/heroAccent.png") no-repeat;*/
}

header .content-wrapper {
    padding-top: 20px;
}

footer {
    clear: both;
    background-color: #e2e2e2;
    font-size: 1em;
    height: 100px;
}

#frameForm {
    max-width: 95%;
    margin: 0 auto;
    background-color: #ffffff;
    min-width: 1300px;
}

/* site title
----------------------------------------------------------*/
.site-title {
    color: #c8c8c8;
    font-family: Rockwell, Consolas, "Courier New", Courier, monospace;
    float: left;
    width: 100%;
}

/* ordered list */
ol.round {
    list-style-type: none;
    padding-left: 0;
}

    ol.round li {
        margin: 25px 0;
        padding-left: 45px;
    }

        ol.round li.zero {
            background: url("../Images/orderedList0.png") no-repeat;
        }

        ol.round li.one {
            background: url("../Images/orderedList1.png") no-repeat;
        }

        ol.round li.two {
            background: url("../Images/orderedList2.png") no-repeat;
        }

        ol.round li.three {
            background: url("../Images/orderedList3.png") no-repeat;
        }

        ol.round li.four {
            background: url("../Images/orderedList4.png") no-repeat;
        }

        ol.round li.five {
            background: url("../Images/orderedList5.png") no-repeat;
        }

        ol.round li.six {
            background: url("../Images/orderedList6.png") no-repeat;
        }

        ol.round li.seven {
            background: url("../Images/orderedList7.png") no-repeat;
        }

        ol.round li.eight {
            background: url("../Images/orderedList8.png") no-repeat;
        }

        ol.round li.nine {
            background: url("../Images/orderedList9.png") no-repeat;
        }


/* OUTPUT */
#frameStabilityOutput {
    padding: 30px 5px 35px !important;
}

    #frameStabilityOutput h1 {
        font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
        font-weight: bold;
        margin: 0;
    }

    #frameStabilityOutput hr {
        border-top: 1px solid #000000;
        margin: 1em 0 2em;
    }

    #frameStabilityOutput .cellLabel {
        font-weight: bold;
    }

    #frameStabilityOutput tr.reportHeader {
        background: #4d4d4d;
        color: #ffffff;
    }

    #frameStabilityOutput .noPad {
        padding: 0 !important;
    }

    #frameStabilityOutput .table > tbody > tr:first-child > td {
        border: 0px none transparent;
    }

@media screen {

    body {
        min-width: 1400px;
    }

    .long-site-title {
        max-width: 70%;
        width: 70%;
    }


    /* menu
----------------------------------------------------------*/
    ul.block-menu {
        font-size: 1.3em;
        font-weight: 600;
        margin: 0 0 5px;
        padding: 0;
        text-align: right;
    }

    ul#menu li {
        display: inline;
        list-style: none;
        padding-left: 0;
    }

        ul#menu li a {
            background: none;
            color: #999;
            text-decoration: none;
        }

            ul#menu li a:hover {
                color: #333;
                text-decoration: none;
            }

    /* site title
----------------------------------------------------------*/
    .site-title {
        font-size: 2.3em;
        margin: 0 0 0 6px;
    }

        .site-title a, .site-title a:hover, .site-title a:active {
            background: none;
            color: #c8c8c8;
            outline: none;
            text-decoration: none;
        }

    /* page elements
----------------------------------------------------------*/
    /* featured */
    .featured {
        background-color: #fff;
    }

        .featured .content-wrapper {
            background-color: #7ac0da;
            background-image: -ms-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
            background-image: -o-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
            background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #7ac0da), color-stop(1, #a4d4e6));
            background-image: -webkit-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
            background-image: linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
            color: #3e5667;
            padding: 20px 40px 30px 40px;
        }

        .featured hgroup.title h1, .featured hgroup.title h2 {
            color: #fff;
        }

        .featured p {
            font-size: 1.1em;
        }

    /* page titles */
    hgroup.title {
        margin-bottom: 10px;
    }

        hgroup.title h1, hgroup.title h2 {
            display: inline;
        }

        hgroup.title h2 {
            font-weight: normal;
            margin-left: 3px;
        }

    /* features */
    section.feature {
        width: 300px;
        float: left;
        padding: 10px;
    }



    /* content */
    article {
        float: left;
        width: 65%;
    }

    .clear {
        clear: left;
    }

    aside {
        float: left;
        width: 35%;
        padding-left: 20px;
    }

        aside ul {
            list-style: none;
            padding: 0;
        }

            aside ul li {
                background: url("../Images/bullet.png") no-repeat 0 50%;
                padding: 2px 0 2px 20px;
            }

        aside a {
            padding-left: 0;
        }

    .label {
        font-weight: 700;
        white-space: nowrap;
    }

    /* Input page */

    form {
        padding: 10px;
    }

    .error {
        border: 1px solid #b94a48 !important;
        background-color: #fee !important;
    }

    button.append, button.removeLast, button.insert, button.remove, button.moveUp, button.moveDown {
        width: auto !important;
        height: auto !important;
    }

    #tblAppendGrid_footer_td {
        background-color: #ccc;
    }

    .ui-widget-header {
        background: #ccc;
        color: #000;
    }

    table {
        width: 100%;
    }

    .popover-title {
        color: black;
        width: auto;
        height: auto;
        font-weight: bold;
    }

    .popover-content {
        color: black;
        width: auto;
        height: auto;
    }

    .popover {
        max-width: 550px;
    }

    .dragButton {
        height: 20px;
        width: 20px;
        cursor: move;
    }

    .wbb {
        max-width: 185px;
    }

    .ui-widget-header {
        vertical-align: top;
        font-weight: normal;
    }

    #tblAppendGrid_caption_td {
        padding: 10px;
        background: #777 !important;
        border: 1px solid #000 !important;
    }

    #tblAppendGrid_footer_td button.footer-right {
        float: right;
        margin: 5px 10px;
    }

    .appendGrid tbody tr.empty td {
        padding: 5px 10px;
    }

    div.radioWrap {
        border: 1px solid #cccccc;
        padding: 6px 12px;
        width: 180px;
    }

    /* OUTPUT */
    #frameStabilityOutput input[type="submit"],
    #frameStabilityOutput input[type="button"],
    #frameStabilityOutput button {
        background-color: #d3dce0;
        border: 1px solid #787878;
        cursor: pointer;
        font-size: 1.2em;
        font-weight: 600;
        padding: 7px;
        margin-right: 8px;
        width: auto;
    }
}

@media print {

    body {
        font-size: 1em;
        line-height: 1.4em;
    }

    h1.SteelConstructionInfo {
        font-size: 1.2em;
    }

    p.SteelConstructionInfo {
        font-family: Arial,​Helvetica,​Sans-Serif;
        font-size: 0.8em;
        line-height: 1.5em;
    }

    a.banner-link-sci img, a.banner-link-bcsa img, a.banner-link-tata img {
        max-height: 70%;
        max-width: 46px;
    }

    a.banner-link-tata img {
        max-width: 93px;
    }

    .content-wrapper {
        width: 80%;
    }

    .site-title {
        font-size: 1.8em;
        margin: 0 0 0 6px;
        padding: 0 0 1em;
    }

    #menu-area {
        display: none;
    }

    aside a[href]:after {
        content: " (" attr(href) ")";
    }

    /* OUTPUT */
    #frameStabilityOutput h1 {
        font-size:1.2em;
    }

    #frameStabilityOutput hr {
        margin:1em 0;
    }

    #frameStabilityOutput td {
        padding: 5px;
        margin:0;
        border:0px none transparent;
    }

    #frameStabilityOutput .table > tbody > tr > td, 
    #frameStabilityOutput .table > tbody > tr > th, 
    #frameStabilityOutput .table > tfoot > tr > td, 
    #frameStabilityOutput .table > tfoot > tr > th, 
    #frameStabilityOutput .table > thead > tr > td, 
    #frameStabilityOutput .table > thead > tr > th {
        border-top: 1px solid #ddd;
    }

    #frameStabilityOutput .table, #frameStabilityOutput tr.reportHeader {
        margin:0;
        font-size:0.8em;
        
    }

    #frameStabilityOutput .table .table {
        background-color:#ffffff;
        width:100%;
        max-width:100%;
    }

    #frameStabilityOutput input[type="submit"],
    #frameStabilityOutput input[type="button"],
    #frameStabilityOutput button {
        display: none;
    }

    footer {
        font-size: 0.8em;
    }
}
