html {
    height: 100%;
    font-size: 12px;
}
body {
    padding-top: 144px;
    padding-bottom: 50px;
    font-family: 'Droid Sans',sans-serif;
    font-size: 100%;
    text-shadow: 0 1px 1px #fff;
    position: relative;
}
a,
form.search button {
    color: #00446B;
}
h1 {
    margin: 0;
}
h2 {
    color: #686868;
    font-family: 'Noto Sans',sans-serif;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 42px 0 5px;
    text-transform: uppercase;
}
h3 {
    color: #1b1b1b;
    font-family: 'Noto Sans',sans-serif;
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0;
}
.nav > li > a { padding: 10px 8px; }
form label {
    /*text-transform: uppercase;*/
    color: #0f4c6d;
    font-family: 'Noto Sans',sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 1);
    white-space: nowrap;
    padding: 3px;
}
    form .options label {
        white-space: normal;
    }
    form table label {
        color: black;
        font-size: 12px;
        font-weight: normal;
        text-shadow: none;
        /*white-space: nowrap;*/
        white-space: normal;
        padding: 0;
    }
    form table select.form-control,
    form table select.input-sm {
        height: auto;
        padding: 0;
        font-weight: normal;
        width: 50px;
    }
.btn {
    text-transform: uppercase;
    font-family: 'Noto Sans',sans-serif;
    margin-bottom: 2px;
}
    .btn-default, .btn-primary, .btn-success, .btn-info, .btn-warning, .btn-danger {
        box-shadow: none;
    }
    .btn-primary {
        font-weight: bold;
        text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
        background-image: none;
        background-color: #003556;
        background: -moz-linear-gradient(center top , #005d8c, #01486b) repeat scroll 0 0 rgba(0, 0, 0, 0);
    }
        .btn-primary:hover, .btn-primary:focus {
            background: none repeat scroll 0 0 #003556 !important;
        }
    .btn .icon { height: 18px; float: right; margin-left: 6px; }
.form-control {
    border: 1px solid #b8dbed;
    border-radius: 0;
}
.modal-dialog {
    width: 800px;
    width: 80vw;
    max-width: 1000px;
}
.modal-body {
    text-align: center;
}
    .modal-body img {
        max-width: 100%;
    }
.thumbnail {
    margin-bottom: 4px;
}

.navbar {
    /*min-height: 144px;*/
    min-height: none;
    font-size: 16px;
    margin-bottom: 0;
}
    .navbar .navigation {
        background: transparent;
        border: none;
    }
    .logolinks {
        background-color: #01476B;
        background-image: linear-gradient(to bottom, #01476B 0px, #013F60 100%);
    }
    .navbar-brand {
/*        padding-top: 10px;
        padding-bottom: 10px;
        height: 36px;*/
        padding: 0;
        height: auto;
        float: none;
    }
        .navbar-brand img {
            max-height: 86px;
            margin-right: 16px;
            max-width: 50%;
        }
            .navbar-brand img:last-of-type {
                margin-right: 8px;
            }
        .brandicons {
            padding: 12px 0 12px;
            text-shadow: none;
        }
            .brandicons h1 {
                color: #d9531e;
                display: inline;
                font-size: 16px;
                font-weight: bold;
            }
    .navbar-header { margin-bottom: 10px; }
        .navbar-nav > li > a {
            padding-top: 13px;
            padding-bottom: 13px;
        }
        .navbar .navigation li > a,
        .subnav a {
            color: white;
            font-size: 16px;
            letter-spacing: normal;
            text-shadow: 0 -1px 0 #000;
            font-family: 'Noto Sans',sans-serif;
        }
            .navbar .navigation li ul a {
                color: #00446B;
                text-shadow: none;
            }
            .navbar .navigation .active > a,
            .navbar .navigation .active > a:hover,
            .navbar .navigation .active > a:focus {
                background-color: white;
                background-image: none;
                color: #02486c;
                text-shadow: none;
            }
            .navbar .navigation li > a:hover, 
            .navbar .navigation li > a:focus {
                background-color: white;
                color: #02486c;
                text-shadow: none;
            }
            .navbar .navigation .navbar-right li > a,
            .subnav a {
                color: #D9531E;
                font-size: 16px;
            }
            .subnav a {
                margin: 0 15px 0 0;
            }
                .navbar .navigation .navbar-right li > a:hover,
                .navbar .navigation .navbar-right li > a:focus,
                .subnav a:hover,
                .subnav a:focus {
                    background-color: transparent;
                    text-decoration: underline;
                }
    .navbar-toggle { margin-right: 0; }
    .functions {
        /*min-height: 100px;*/
        background-color: #b4b2b2;
        text-transform: uppercase;
        border: none;
        /*padding: 16px 0;*/
    }
        .functions form.search {
            margin: 8px 0 4px;
        }
            .functions form.search input { max-width: 50%; }
        .functions .actions {
            text-align: right;
            margin: 12px 0 4px;
        }
            .functions .actions a {
                padding: 8px 0;
            }

#masthead {
    text-align: right;
    padding: 32px 0;
}
    #masthead img {
        max-height: 50px;
        max-width: 90%;
    }


#loginform {
    border: 1px solid gray;
    border-radius: 16px;
    padding: 16px;
    width: 800px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
    #loginform form {
        margin: 0 30% 16px;
    }
    #loginform .links {
        margin: 0;
        padding: 0;
    }
        #loginform .links li {
            display: inline;
            text-transform: uppercase;
            font-size: 14px;
            font-weight: bold;
            margin: 0;
        }
            #loginform .links li a {
                color: #ec1f24;
                border-left: 1px solid #ec1f24;
                padding: 0 12px;
            }
                #loginform .links li:first-of-type a {
                    border-left: none;
                    padding-left: 0;
                }


#content {
    padding-bottom: 64px;
}
    #content p {
        color: #000;
        font-size: 14px;
        font-weight: 400;
        line-height: 24px;
        margin: 0 0 10px;
        padding: 0 10px 0 0;
    }
    #content section > h1 {
        color: #2e88b9;
        font-family: 'Noto Sans',sans-serif;
        font-size: 26px;
        font-weight: bold;
        letter-spacing: 4px;
        margin-bottom: 32px;
        padding-bottom: 6px;
        text-transform: uppercase;
    }
        section.detail > h1 {
            border-bottom: 1px solid gray;
        }
        #content section.listing > h1 {
            text-align: center;
        }

aside.photos h2 {
    margin-top: 0;
}
aside.photos section {
    margin-bottom: 64px;
}
#mainImage {
    max-width: 100%;
    border: 1px solid gray;
    padding: 8px;
    margin-bottom: 12px;
}

ul.visuallisting {
    padding: 0;
    margin: 0 auto;
    max-width: 896px;
    text-align: center;
}
    ul.visuallisting li {
        padding: 0;
        margin: 0 12px 24px;
        display: table;
        float: left;
        background-color: white;
        border: darkgray;
        border-radius: 12px;
        position:relative;

    }
    ul.visuallisting li .info-button {
        position:absolute;
        right:10px;
        top:10px;
        font-size:18px;

    }
        ul.visuallisting li a {
            display: table-cell;
            text-align: center;
            vertical-align: middle;
            padding: 8px;
            width: 184px;
            height: 184px;
            /*color: #2e88b9;*/
            color: #084C6F;
            font-family: 'Noto Sans',sans-serif;
            font-size: 22px;
            font-weight: bold;
            text-transform: uppercase;
            line-height: 1.15;
            border: 1px solid darkgray;
            border-radius: 12px;
            background-size: contain;
            background-position: center; 
            background-repeat: no-repeat;
        }
            #products ul.visuallisting li a {
                font-size: 18px;
            }
            ul.visuallisting li a:hover,
            ul.visuallisting li a:active {
                text-decoration: none;
                /*color: #084C6F;*/
                /*color: #003455;*/
                color: #2e88b9;
            }

#content p.noresults {
    text-align: center;
    margin: -24px 0 24px;
}

/*.cart form {
    border-bottom: 2px solid lightgray;
}*/
    .cart form .taxtotal,
    .cart form .options {
        text-align: right;
    }
    .partid table th,
    .taxtotal table th {
        text-align: right;
        padding-right: 4px;
    }

    #orders table tr * {
        cursor: pointer;
    }

.adtl-info {
    white-space: normal;
    max-width: 350px;
    font-size: 85%;
    color: #666666;
    line-height: 1.15;
    text-align: left;
}


#pagefooter {
    position: fixed;
    bottom: 0;
    height: 50px;
    background-color: white;
    text-align: center;
    padding: 16px 8px;
    width: 100%;
    /*font-weight: bold;*/
    color: gray;
    font-family: 'Myriad Pro','Myriad Web',Myriad,Arial,Helvetica,Tahoma,sans-serif;
    font-size: 13px;
}
    #pagefooter a {
        color: gray;
    }
        #pagefooter a:hover {
            color: black;
        }
    #pagefooter ul {
        padding: 0;
        margin: 0 auto;
    }
        #pagefooter ul li {
            display: inline;
            border-left: 1px solid gray;
            padding: 0 12px;
        }
            #pagefooter ul li:first-of-type {
                border-left: 0;
                padding-left: 0;
            }
    #pagefooter .isilogo {
        margin-top: -47px;
        width: 284px;
        margin-left: 20px;
    }
    #pagefooter .glyphicon { margin-right: 4px; }


.col-tiny-4 { width: 33.333333%; float: left; }
.col-tiny-8 { width: 66.666667%; float: left; }

@media (max-width: 560px) {
    #content section > h1 {
        font-size: 18px;
    }
}

@media (max-width: 400px) {
    .subnav a {
        font-size: 10px;
        margin: 0 8px 0 0;
    }
    .col-tiny-4 { width: 100%; float: none; }
    .col-tiny-8 { width: 100%; float: none; }
    .functions .actions {
        text-align: left;
    }
    #masthead { text-align: center; }
    #content section > h1 { text-align: center; }
}


@media print {
    body {
        margin-top: -150px;
    }
    a[href]:after {
        content: none;
    }
    #pagefooter {
        bottom: -20px;
    }
}

@media (max-width: 997px){ 
  .brandicons h1 {
    display: block;
    margin-top:10px;
  }
}

@media (max-width: 484px){ 

.brandicons h1 {
  text-align: center;
  }


  .pull-right.subnav{
    float:none !important; 
  }
  .navbar-brand{
    display:block;
    text-align:center; 
  }
  .navbar-brand img:first-of-type {
    max-height: 86px;
    margin-right: 16px;
    max-width: 50%;
    display: block;
    margin: auto;
    margin-bottom: 10px;
  }
  
  #masthead {
    text-align: center;
    padding-top: 42px;
  }
  
  
}
@media (max-width: 400px){
  .subnav a {
    font-size: 14px;
    margin: 0 8px 0 0;
  }
}
@media (max-width: 829px){ 
  #pagefooter{
    height:auto; 
    position: relative;
  }
  #pagefooter .isilogo {
      margin-left: 0;
      display: block;
      margin: auto;
  }
}

.popover {
    width: 100%;
}

.formGroup-sml{
    max-width: 600px;
    margin-left: auto;
}
.file-input-alt{
    display:inline-block !important;
    text-align: right !important;
    width: 178px;
    margin-top: 10px;
}

.right-align{
    text-align: right !important;
}

.display-inline{
    display:inline-block !important;
}
