body {
    background: #E8E8E8;
}

img[usemap] {
    border: none;
}

area {
    outline: none
}

.alertIndex {
    text-align: center;
}

#header {
    padding-top: 20px;
    margin-bottom: 20px;
}

#header .col-md-12 {
    padding: 0;
}

.container {
    max-width: 960px;
}

nav .navbar-header a.navbar-brand {
    color: #0F3F94;
}

#container nav.navbar ul li.active {
    position: relative;
    text-align: center;
}

#container nav.navbar ul.nav li.active .arrow {
    width: 30px;
    height: 0px;
    margin-left: -15px;
    -webkit-transform: rotate(360deg);
    border-style: solid;
    border-width: 10px 15px 0 15px;
    border-color: #000000 transparent transparent transparent;
    position: absolute;
    left: 50%;
}

div.dt-buttons {
    float: left;
    line-height: 30px;
    padding-left: 15px;
    font-size: 18px;
}

#content {
    background: #fff;
    padding: 30px 15px 30px 15px;
}


/* Form */
.required:after {
    content: " *";
    color: red;
}

div.radio .required:after {
    content: "";
}

.place.row {
    margin: 0;
}

@media (min-width: 993px) {
    div.place .form-group:last-child .required:after {
        content: "";
    }

    .place.row {
        margin-left: -15px;
        margin-right: -15px;
    }

    .place .place-group {
        margin-left: 0;
        margin-right: -8px;
    }

    .place .place-group .form-group {
        float: left;
        margin-left: 0;
        margin-right: 0;
        width: 50%;
    }
    .place .place-group .form-group:first-child {
        margin-right: 8px;
        width: calc(50% - 8px);
    }

    .place .place-group .form-group .col-sm-8 {
        float: none;
        padding: 0;
        width: 100%;
    }

    .street .form-group label {
        opacity: 0;
    }

    .place .form-group label, .number .form-group label {
        display: none;
    }
}

.clear {
    clear: both;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
    background-color: transparent;
    border-bottom: 3px solid #337AB7;
    font-weight: bold;
}

.navbar-default .navbar-nav > .active a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active a:hover {
    border-bottom: 3px solid #337AB7;
    padding-bottom: 5px;
}

table thead {
    background-color: #337AB7;
    color: #fff;
}

table thead th {
    font-weight: 100;
}

.form-group.countLetters {
    margin-top: -15px;
}

.container-fluid {
    padding-left: 0;
}

#loggedInAs {
    text-align: right;
}

.row.site {
    margin: 0;
}

#site {
    padding: 5px 0 0 0;
    border-top: 2px solid #000;
    margin-bottom: 10px;
}

input, select, textarea {
    font-size: 15px !important;
}

.nav li.disabled {
    cursor: not-allowed !important;
    opacity: 0.5;
}

.nav a.disabled {
    pointer-events: none;
}

.row.siteTop .panel {
    min-height: 210px;
}

.row.siteTop .col-md-4.search .row {
    margin-bottom: 10px;
}

#loggedInAs {
    margin-bottom: 5px;
}

.row.siteTop div h3 {
    padding-top: 0;
}

.searchSuggestions ul,
.searchSuggestionsCompany ul {
    list-style: none;
    padding-left: 0;
}

.searchSuggestionsCompany ul li {
    padding: 3px 0;
}

.searchSuggestions,
.searchSuggestionsCompany {
    border: 1px solid #ccc;
    background: #fff;
    padding: 10px;
    position: absolute;
    z-index: 9999;
    width: 100%;
    margin-right: 15px;
    right: 0;
}

.searchSuggestions div.wrap,
.searchSuggestionsCompany div.wrap {
    white-space: pre-line;
    overflow: hidden;
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;

}

.searchSuggestions h3,
.searchSuggestionsCompany h3 {
    font-size: 18px !important;
}

.searchSuggestions .subName {
    color: #ccc;
    font-size: 75%;
}

.carousel-control {
    background: none !important;
}

.item {
    height: 150px;
}

.item img {
    max-height: 100%;
    max-width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.row.siteTop {
    margin-bottom: 20px;
}

a#headerLink {
    text-decoration: none;
}

a h1#header {
    color: #000;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 445px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 405px;
    background: #e8e8e8;
    background: -moz-linear-gradient(top, #e8e8e8 0%, #e8e8e8 11%, #000000 11%, #000000 11%, #000000 100%);
    background: -webkit-linear-gradient(top, #e8e8e8 0%, #e8e8e8 11%, #000000 11%, #000000 100%, #000000 100%);
    background: linear-gradient(to bottom, #e8e8e8 0%, #e8e8e8 11%, #000000 11%, #000000 100%, #000000 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e8e8e8', endColorstr='#000000', GradientType=0);
    overflow: hidden;
}


footer.footer div.container {
    max-width: 940px;
    margin-top: 50px;
}

footer.footer .footer-navbar {
    margin-top: -55px;
    margin-bottom: 30px;
}

footer.footer .footer-navbar ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 910px;
}

footer.footer .footer-navbar ul li {
    float: left;
    margin-right: 15px;
}

footer.footer .footer-navbar ul li a {
    color: #000;
}

ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

ol li {
    float: left;
    padding-right: 5px;
}

.container.frontend .mainCategory .panel-heading {

    border-style: none;
    text-align: center;
    border-top: none !important;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
}

.container.frontend .mainCategory {
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
}

.container.frontend .mainCategory .panel-body {
    padding: 20px;
    border-style: none;
    text-align: center;
}

.container.frontend .mainCategory .panel-body-content {
    padding: 10px;
    font-size: 20px;
    font-family: "Myriad W01 Bd Cnd";
    background: rgba(255, 255, 255, 0.7);
}

.container.frontend .mainCategory .panel-heading .panel-title {
    display: inline-block;
    padding: 2px 7px;
    color: #fff;
}

textarea {
    resize: vertical;
}

.status.green {
    background-color: #5eb532;
}

.status.red {
    background-color: #b53232;
}

.status.blue {
    background-color: #317fb2;
}

.search-container {
    background-repeat: no-repeat;
    padding-top: 30px;
    background-size: cover;
    background-position: center;
}

.main-search-form {
    background-color: #eaeaea99;
    padding: 2em;
    margin-top: 2em;
    margin-bottom: 1em;
}

.main-search-form .pull-right button[type='submit'] {
    height: auto;
}

.margin-top-0 {
    margin-top: 0em;
}

.margin-top-1 {
    margin-top: 1em;
}

.margin-bottom-0 {
    margin-bottom: 0em;
}

.margin-bottom-1 {
    margin-bottom: 1em;
}

.top-company,
.add-company {
    box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
}

.top-company:hover,
.add-company:hover {
    transform: scale(1.05);
}

.top-company-name,
.add-company-text {
    text-align: center;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
    min-height: 4em;
}

.top-company-name > span,
.add-company-text > span {
    vertical-align: sub;
}

.add-company-text {
    color: #1aaa1a;
    font-weight: bold;
}

.add-company-image {
    font-weight: bold;
    color: #696969;
    height: 110px;
    position: relative;
}

.add-company-image > p {
    position: absolute;
    top: 21%;
    right: 45%;
    font-size: 3em;
}

.top-company {
    color: #000;
}

.top-company-image {
    height: 110px;
    position: relative;
    overflow: hidden;
}

.top-company-image > img.profile-image {
    position: absolute;
    top: 25%;
    left: 10%;
    max-width: 45%;
    max-height: 45%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    -webkit-background-clip: padding-box; /* for Safari */
    background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome */
    background-color: #fff;
}

.top-company-image > img.banner-image {
    width: 100%;
    height: auto;
}

.triangle-topleft {
    width: 0;
    height: 0;
    border-top: 100px solid #1aaa1abb;
    border-left: 100px solid transparent;
    position: absolute;
}

.top-company-image-triangle {
    position: relative;
}

.top-company-image-triangle .triangle-topleft,
.overlay {
    position: absolute;
    color: white;
    right: 15px;
}

.overlay {
    transform: rotate(45deg);
    position: absolute;
    top: 25px;
    right: 20px;
}

.overlay-plus {
    top: 25px;
    right: 40px;
}

.text-bold {
    font-weight: bold;
}

.delete-item-container {
    text-align: right;
    padding-top: 1em;
}

.delete-item {
    padding: 1em;
}

#colorbox {
    background-color: unset !important;
}

#colorbox button {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-color: #fff;
}

#colorbox #cboxNext {
    float: right;
}

#colorbox #cboxPrevious {
    float: left;
}

#colorbox #cboxClose {
    top: -22px;
    right: -1px;
    position: absolute;
}

#colorbox #cboxCurrent {
    float: none !important;
    background-color: #000;
    color: #fff;
    padding: 0.3em;
}

#cboxTitle {
    padding: 0.3em;
}

.company-image-gallery {
    padding-bottom: 0.2em;
    padding-top: 0.2em;
}

.company-image-gallery > img{
    width: 100%;
}

.header-line {
    display: flex;
    background: #e5e5e5;
}

.header-line .header-line-item {
    flex: 0 0 auto;
    border-right: 1px solid #a7a7a7;
    padding: 6px 10px;
    color: black;
}

.header-line .header-line-item:hover {
    text-decoration: none;
}
