﻿html {
    -ms-overflow-style: scrollbar;
}

/* Overrides of styles.css 
-----------------------------------------------------------*/
.no-margin {
    padding: 0px;
    margin: 0px;
}

.notify-select {
    width: auto;
    padding-right: 40px;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #f00;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #f00;
    background-color: #fee;
}

.validation-summary-errors {
    font-weight: bold;
    border-color: #EED3D7;
    color: #B94A48;
    line-height: 20px;
    margin-bottom: 12px;
    margin-top: 12px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.validation-summary-valid {
    display: none;
}

.validation-summary-errors ul {
    margin: 0 0 0 10px;
    background-color: #F2DEDE;
    color: #B94A48;
    line-height: 20px;
    font-weight: normal;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid transparent;
    border-color: rgb(238, 211, 215);
    list-style: none;
}

.validation-summary-errors ul li {
    border-top: none;
    margin-bottom: 0;
}

.search-results thead th a {
    color: #FFF;
}

.search-results tbody td {
    word-wrap: break-word;
}

.no-results {
    text-align: center;
    font-size: 18px;
    font-weight: bolder;
    margin-top: 10px;
}

.modal-body.save-search section {
    display: block;
    padding: 10px;
    margin: 0;
    border: none;
}

.modal-body .validation-summary-errors ul li {
    background-color: #F2DEDE;
}

.new-search-button,
.new-search-button:hover {
    background-image: -webkit-gradient(linear, left 0%, left 100%, from(#efefef), to(#eaeaea));
    background-image: -webkit-linear-gradient(top, #efefef, 0%, #eaeaea, 100%);
    background-image: -moz-linear-gradient(top, #efefef 0%, #eaeaea 100%);
    background-image: linear-gradient(to bottom, #efefef 0%, #eaeaea 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffefefef', endColorstr='#ffeaeaea', GradientType=0);
    border: 1px solid #d9d9d9;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    height: 35px;
    font-size: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 5px;
    -webkit-box-shadow: inset 0px 1px 0px 0px #f9f9f9, inset 1px 0px 0px 0px #ffffff;
    box-shadow: inset 0px 1px 0px 0px #f9f9f9, inset 1px 0px 0px 0px #ffffff;
    padding: 0 15px;
    float: right;
    text-decoration: none;
    color: black;
    line-height: 2.2;
}

.search-results thead th {
    cursor: default;
}

.search-results thead th.sort-column {
    cursor: pointer;
}

form.pagination-form ul li {
    clear: none;
}

.module form ul li {
    margin-bottom: auto;
    position: relative;
    clear: none;
}

.notification-form .typeahead-div {
    float: left;
}

.loading {
    background: url('Images/loading.gif'), rgba(0, 0, 0, 0.3);
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}

.tooltip {
    position: absolute;
    z-index: 1030;
    display: block;
    font-size: 12px;
    line-height: 1.4;
    visibility: visible;
    filter: alpha(opacity=0);
    opacity: 0;
}

.tooltip.in {
    filter: alpha(opacity=90);
    opacity: .9;
}

.tooltip.top {
    padding: 5px 0;
    margin-top: -3px;
}

.tooltip.right {
    padding: 0 5px;
    margin-left: 3px;
}

.tooltip.bottom {
    padding: 5px 0;
    margin-top: 3px;
}

.tooltip.left {
    padding: 0 5px;
    margin-left: -3px;
}

.tooltip-inner {
    max-width: 200px;
    padding: 3px 8px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background-color: #000;
    border-radius: 4px;
}

.tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
}

.tooltip.top .tooltip-arrow {
    bottom: 0;
    left: 50%;
    margin-left: -5px;
    border-width: 5px 5px 0;
    border-top-color: #000;
}

.tooltip.top-left .tooltip-arrow {
    bottom: 0;
    left: 5px;
    border-width: 5px 5px 0;
    border-top-color: #000;
}

.tooltip.top-right .tooltip-arrow {
    right: 5px;
    bottom: 0;
    border-width: 5px 5px 0;
    border-top-color: #000;
}

.tooltip.right .tooltip-arrow {
    top: 50%;
    left: 0;
    margin-top: -5px;
    border-width: 5px 5px 5px 0;
    border-right-color: #000;
}

.tooltip.left .tooltip-arrow {
    top: 50%;
    right: 0;
    margin-top: -5px;
    border-width: 5px 0 5px 5px;
    border-left-color: #000;
}

.tooltip.bottom .tooltip-arrow {
    top: 0;
    left: 50%;
    margin-left: -5px;
    border-width: 0 5px 5px;
    border-bottom-color: #000;
}

.tooltip.bottom-left .tooltip-arrow {
    top: 0;
    left: 5px;
    border-width: 0 5px 5px;
    border-bottom-color: #000;
}

.tooltip.bottom-right .tooltip-arrow {
    top: 0;
    right: 5px;
    border-width: 0 5px 5px;
    border-bottom-color: #000;
}

.product-favorite {
    font-size: 21px;
}

#back-to-search {
    float: left;
}

.company-details-products-controls {
    width: 50%;
}

.select.results-per-page,
.select.cancelled-results-per-page,
.select.subregistered-results-per-page {
    padding-left: 10px;
}

.has-andor .twitter-typeahead {
    width: 66%;
    float: left;
    z-index: 1000;
}

.has-andor .tt-input {
    width: 100%;
}

form ul li.has-andor .twitter-typeahead input[type='text'] {
    width: 100%;
}

.company-typeahead {
    cursor: pointer;
    font-size: 16px;
    line-height: 16px;
    padding-bottom: 10px;
}

.company-typeahead-hr {
    clear: none;
    margin: 0;
    margin-top: 5px;
    border: 0;
    height: 1px;
}

.company-typeahead:hover {
    background-color: #FFFFCC;
}

.company-typeahead .address {
    font-size: 14px;
    line-height: 14px;
}

.tt-dropdown-menu {
    max-height: 250px;
    overflow-y: auto;
}

.search-terms {
    display: none;
    background-color: #ededed;
    padding: 15px 0 15px 40px;
}

.search-terms h3 {
    margin-top: 13px;
}

.search-terms-toggle {
    float: left;
}

.app-sub-header button.search-terms-toggle {
    float: left;
}

.app-sub-header button.search-terms-toggle .fa-caret-down,
.app-sub-header button.search-terms-toggle .fa-caret-up {
    margin-right: 10px;
}

.state-column {
    width: 75px;
    text-align: center;
    padding-left: 0 !important;
}

.short-column {
    width: 135px;
    text-align: center;
    padding-left: 0 !important;
}

.medium-column {
    width: 280px;
}

.table thead > tr > th {
    text-align: center;
}

.app-sub-header .select.results-per-page,
.app-sub-header .select.cancelled-results-per-page,
.app-sub-header .select.subregistered-results-per-page {
    width: 125px;
}

.app-sub-header .pull-right button {
    margin-left: 10px;
}

.saved-search-select button {
    width: 14%;
    margin-left: 2px;
}

.saved-search-select .select {
    width: 57%;
}

/* IE clear button doesn't play well with the current setup of the typeahead */
::-ms-clear {
    display: none;
}

.results-in-section {
    color: #FFF;
    margin-left: 10px;
}

.contact-us {
    text-align: center;
    margin-top: 10px;
}

.contact-us-form {
    margin-top: 0;
}

.compare-form .selections {
    width: 80%;
}

.compare-form .compare-submit {
    width: 20%;
    text-align: left;
}

.compare-form .select {
    float: left;
    width: 28%;
    margin-right: 2%;
}


/* styles used when there are more than 6 columns selected in the results table */
.search-results table.oversize {
    width: auto;
    table-layout: auto;
}

table.oversize tbody tr td {
    min-width: 150px;
}

table.oversize tbody tr td.fav {
    min-width: 110px;
}

table.oversize tbody tr td.short-column {
    min-width: 135px;
}

table.oversize tbody tr td.medium-column {
    min-width: 280px;
}

table.oversize tbody tr td.long-column {
    min-width: 380px;
}

/* Used to hide buttons that are added to be first when there are multiple submit buttons in a form */
.hidden-default-button {
    position: absolute;
    left: -100%;
    height: 0;
    width: 0;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.epa-left {
    margin-left: 5px;
}

hr.dropdown-separator {
    margin: 0;
    height: 1px;
}

a.save-btn {
    text-decoration: none;
}

a.save-btn:hover {
    color: white;
}

.cursor-pointer {
	cursor: pointer;
}

/* Add spinner styles */
.icon-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Angular */
[ng-cloak], [data-ng-cloak], .ng-cloak {
    display: none !important;
}