/* Company Category pages */
.categoryIntro {
    text-align: center;
    margin-bottom: 2rem;
}
.categoryIntro > h1 {
    text-transform: inherit;
}
.categoryBody {
    display: none;
}
a.categoryReadMore {
    color: #666666;
    cursor: pointer;
}

/* Company Listings Search Results Page */
.companyProfileListing {
    background-color: #ededed;
    /*overflow:hidden;*/
    margin-bottom: 20px;
    padding: 1.25em;
}

.companyProfileListing.packageL4 {
    background-color: #ffffff;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: 1px solid #a9bfae;
}

.companyProfileListingInner {
    background-color: #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*overflow:hidden;*/
    padding: 1.0em;
    position: relative;
    min-height: 7em;
}

.companyProfileListing.packageL4 .companyProfileListingInner {
    padding-top: 0;
}

.packageL1,
.packageL2,
.packageL3 {
    background-repeat: no-repeat;
    background-position: 100% 0;
}

.packageL1 {
    background-image: url(/images/interface/corner-gold.png);
}

.packageL2 {
    background-image: url(/images/interface/corner-blue.png);
}

.packageL3 {
    background-image: url(/images/interface/corner-mauve.png);
}


.companyProfileListingLeft,
.companyProfileListingRight {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    float: left;
    /*overflow:hidden;*/
}

.companyProfileListingLeft {
    width: 100%;
}

.companyProfileListingRight {
    width: 100%;
}

.companyProfileListingEmail {
    background-color: #808080;
    color: #fff;
    display: inline-block;
    font-size: 0.9em;
    margin-left: 15px;
    padding: 0 12px;
    text-transform: uppercase;
}

.companyProfileListingEmail:hover {
    color: #ccc;
}

.companyProfileListingIcons {
    overflow: hidden;
}

.companyProfileListingIcons a {
    background-image: url(/images/interface/sprite-profile-key.png);
    background-repeat: no-repeat;
    display: block;
    float: left;
    height: 40px;
    margin-right: 4px;
    width: 36px;
}

.companyProfileListingIcons a:hover {
    opacity: 0.7;
}

.companyListingsIconProfile {
    background-position: 0 0
}

.companyListingsIconContact {
    background-position: 0 -40px
}

.companyListingsIconAccreditations {
    background-position: 0 -80px
}

.companyListingsIconTestimonials {
    background-position: 0 -120px
}

.companyListingsIconReviews {
    background-position: 0 -160px
}

.companyListingsIconGallery {
    background-position: 0 -200px
}

.companyListingsIconSpotlight {
    background-position: 0 -240px
}

.companyListingsIconOffers {
    background-position: 0 -280px
}


.companyProfileListingLogo {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    height: 142px;
    line-height: 142px;
    margin: 0 0 20px 0;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

.companyProfileListingLogo img {
    max-width: 142px;
}

.companyProfileListingButtonBlock {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    width: 100%;
    text-align: right;
}

#reviewDetailsHeader,
#reviewDetailsFooter,
.reviewDetailsBlock,
#testimonialDetailsHeader,
#testimonialDetailsFooter,
.testimonialDetailsBlock {
    background-color: white;
}

#reviewDetailsHeader,
#testimonialDetailsHeader {
    padding: 20px 0 0 0;
}

#reviewDetailsHeader .companyProfileIconBlock,
#testimonialDetailsHeader .companyProfileIconBlock {
    margin-top: 0;
}

.reviewDetailsBlock,
.testimonialDetailsBlock {
    padding: 0 1em;
}

#reviewDetailsHeader .companyProfileCompanyName,
#testimonialDetailsHeader .companyProfileCompanyName {
    line-height: 1.875em;
    margin-bottom: 20px;
}

#reviewDetailsHeader .companyProfileRatingBlock {
    margin-bottom: 20px;
}

#reviewDetailsHeader #companyProfileLogoBlock {
    text-align: center;
}

/*
.companyProfileReview,
.reviewDetailsReview {
	margin: 0 1em;
	}
*/

.reviewDetailsTable {
    text-transform: uppercase;
}

.reviewDetailsRating {
    margin: 0 1em;
}

.companyProfileRatingBlock,
.companyProfileListingRatingBlock,
.companyProfileListingReviewsCompare {
    line-height: 2.5em;
    margin-bottom: 15px;
    text-align: center;
}


.companyReviewsTotal {
    margin-left: 0.25em;
    margin-right: 6px;
}

.rateit-range {
    vertical-align: text-bottom;
}

.companyNotRated {
    border: 1px solid #eaeaea;
    box-sizing: border-box;
    display: inline-block;
    font-size: 0.9em;
    margin: 10px 0 10px 0;
    padding: 0 8px;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

.packageL4 .companyNotRated {
    display: none;
}

.companyProfileListingReviewsCompare,
.companyProfileCompareBlock {
    text-transform: uppercase;
}

.companyProfileListingReviewsCompare > input {
    vertical-align: text-bottom;
    margin-left: 0.25em;
}

.companyProfileListingButton {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0 5%;
    width: 90%;
}

.companyProfileListingButtonBlock > .companyProfileListingButton {
    width: 100%;
    margin: 0 0 0 0;
}

.companyProfileListingButton .btn-red {
    margin-bottom: 0;
}


/* Edit Company Page */
#errorPanel {
    background-color: #f3f5cb;
    background-image: url(/images/icons/icon-warning.png);
    background-repeat: no-repeat;
    background-position: 15px 15px;
    border: 1px dotted #e20413;
    color: #444;
    font-size: 1.2em;
    min-height: 60px;
    margin: 0 0 20px 0;
    padding: 0 20px 20px 80px;
}

#errorPanel h4 {
    font-weight: normal;
}

#errorPanel .formError {
    color: #e20413;
    font-size: 0.9em;
    font-weight: bold;
}

.formError {
    color: #e20413;
    font-weight: bold;
}

#companyProfileIntroMessage {
    background-color: #fff;
    margin-bottom: 10px;
    padding: 10px 1.25em 15px 1.25em;
}

.companyProfileFieldset {
    background-color: #fff;
    margin-bottom: 15px;
    margin-top: 6px;
    padding-top: 15px;
    padding-bottom: 15px;
    overflow: hidden;
}

.companyProfileFieldset h2 {
    font-size: 1.3em;
    font-weight: bold;
    color: #e20413;
}

.companyProfileFieldset input[type="text"],
.companyProfileFieldset input[type="password"],
.companyProfileFieldset input[type="date"],
.companyProfileFieldset input[type="datetime"],
.companyProfileFieldset input[type="email"],
.companyProfileFieldset input[type="number"],
.companyProfileFieldset input[type="search"],
.companyProfileFieldset input[type="tel"],
.companyProfileFieldset input[type="time"],
.companyProfileFieldset input[type="url"],
.companyProfileFieldset textarea {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.companyProfileFieldset textarea {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.companyProfileFieldset input[type="checkbox"] {
    margin: 1px 6px 1px 0px;
}

#company_testimonials .matrix-textarea {
    height: 150px
}

fieldset#companyProfileCategories label,
fieldset#companyProfileRegions label {
    padding-left: 6px;
}

/* Company Profile Nav */
#companyProfileNavWidget {
    display: none;
}


/* Company Profile */

.companyProfileFull {
    margin: 0;
    padding: 0;
    width: 96%;
}

#companyProfileLogo {
    max-width: 142px;
    width: auto;
}

.companyProfileSection {
    background-color: #fff;
    margin-bottom: 24px;
    padding: 0 0 24px 0;
    border-bottom: 2px solid #ededed;
}

#companyProfileReviews,
#companyProfileTestimonials {
    padding-bottom: 5px;
}

.companyProfileIconBlock {
    box-sizing: border-box;
    float: left;
    margin-top: 30px;
    overflow: hidden;
    padding: 0 1.0em;
    text-align: center;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.companyProfileIconBlock p {
    text-align: center;
}

#companyProfileIconContact,
#companyProfileIconAccreditations,
#companyProfileIconTestimonials,
#companyProfileIconReviews,
#companyProfileIconGallery,
#companyProfileIconSpotlight,
#companyProfileIconOffers {
    border: 0;
    background-image: url(/images/interface/sprite-profile.png);
    display: inline-block;
    height: 114px;
    width: 136px;
}

.accreditationCheckbox {
    margin-right: 6px;
}

#companyProfileIconContact {
    background-position: -10px -9px;
}

#companyProfileIconAccreditations {
    background-position: -10px -135px;
}

#companyProfileIconTestimonials {
    background-position: -10px -260px;
}

#companyProfileIconReviews {
    background-position: -10px -384px;
}

#companyProfileIconGallery {
    background-position: -10px -505px;
}

#companyProfileIconSpotlight {
    background-position: -10px -450px;
}

#companyProfileIconOffers {
    background-position: -10px -540px;
}

.companyProfileDetailBlock {
    float: left;
    width: 100%;
    padding: 0 1.0em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.companyProfileCompanyName {
    margin-bottom: 0;
    margin-top: 0;
}

.companyProfileMemberSince {
    margin-top: 5px;
    text-transform: uppercase;
}

.companyProfileMemberSince .btnSmallGrey {
    font-size: 0.8em;
    margin: 4px 0 5px 0;
    padding: 0 6px;
}

.companyProfileDetailBlock dd {
    color: #e20413;
    font-weight: bold;
}

#companyProfileContact dl {
    margin: 0 0 15px 0;
    padding: 0;
    overflow: hidden;
    width: 100%;
}

#companyProfileContact dt,
#companyProfileContact dd {
    float: left;
    min-height: 30px;
    margin: 0;
    overflow: hidden;
    padding: 2px 0;
}

#companyProfileContact dd {
    margin-bottom: 5px;
}

#companyProfileContact dt {
    width: 100%;
}

#companyProfileContact dd {
    width: 100%;
}

.companyProfileSocial {
    display: inline-block;
    height: 16px;
    width: 16px;
    margin-right: 3px;
    background-image: url(/images/interface/sprite-company-profile-social.png);
}

#companyProfileFacebook {
    background-position: 0px 0px;
}

#companyProfileTwitter {
    background-position: -16px 0;
}

#companyProfileGoogle {
    background-position: -32px 0;
}

#companyProfileLinkedin {
    background-position: -48px 0;
}

#companyProfileYoutube {
    background-position: -64px 0;
}

#companyProfilePintrest {
    background-position: -80px 0;
}


#companyProfileAccreditations h3 {
    margin: 0;
}

#companyProfileAccreditations p {
    margin-top: 0;
}

.companyProfileAwardImage {
    margin: 0 0.5rem 0.5rem 0;
    height: 70px;
}

.companyProfileTestimonialQuote,
.companyProfileReviewBody {
    font-weight: bold;
    font-style: italic;
    margin: 6px 0;
}

.companyProfileTestimonialAuthor,
.companyProfileReviewAuthor {
    margin-top: 0;
    text-transform: uppercase;
}

.companyProfileGalleryThumb {
    width: 100%;
    height: 100%;
}


/***** Lightbox *****/

#WITBox {
    overflow: hidden;
    /* 	margin: auto; */
    width: 106px;
}

#WITBox > ul {
    padding: 0;
    margin: 0;
}

.galleryItem {
    width: 100px;
    height: 66px;
    margin: 3px;
    overflow: hidden;
    display: block;
    float: left;
}

.slidewrap {
    position: fixed;
    width: 100%;
    overflow: hidden;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background: rgba(0, 0, 0, 0.75);
    display: none;
}

.slide {
    width: 100%;
    position: absolute;
    text-align: center;
    top: 40px;
    left: 0px;
    /*	-webkit-transition: -webkit-transform 1s ease-in-out;*/
}

.slide div {
    display: inline-block;
    height: 100px;
    width: 100px;
    background-size: 100%;
    background-repeat: no-repeat;
}

#galleryControls {
    text-align: center;
    margin: 5px 0 0 0;
    font-size: 1.5em;
}

#galleryControls > a {
    color: #fff;
}


/* @media screen and (min-width: 300px) */
@media screen and (min-width: 18.75em) {
    #WITBox {
        width: 212px;
    }
}

/* @media screen and (min-width: 410px) */
@media screen and (min-width: 25.625em) {
    #WITBox {
        width: 318px;
    }
}

/* @media screen and (min-width: 520px) */
@media screen and (min-width: 32.5em) {
    #WITBox {
        width: 424px;
    }
}

/* @media screen and (min-width: 640px	) */
@media screen and (min-width: 40em) {

    .companyProfileListingLeft {
        padding-right: 20px;
        width: 76%;
    }

    .companyProfileListingRight {
        width: 24%;
    }

    /*	 .companyProfileListingButtonBlock {
            position:absolute;
            bottom: 0;
            margin:0;
            padding-right:0.5em;
            width:24%;
            }
    */
    .companyProfileListingButton {
        position: absolute;
        bottom: 0;
        margin: 0;
        padding-right: 0.5em;
        width: 24%;
    }

    .companyProfileListingButtonBlock > .companyProfileListingButton {
        position: static;
        width: 100%;
        padding: 0;
    }

    .companyNotRated {
        margin: 0;
        width: 40%;
    }

    .packageL3 .companyNotRated {
        margin-bottom: 15px;
    }

    .companyProfileCompareBlock,
    .companyProfileListingRatingBlock,
    .companyProfileListingReviewsCompare {
        margin-bottom: 0;
        text-align: right;
    }

    .companyProfileRatingBlock {
        text-align: left;
    }

    .companyProfileListingRatingBlock .companyNotRated {
        width: 100%;
    }

}

.companyProfileCompareBlock {
    font-size: 14px;
}

/* @media screen and (min-width: 700px) */
@media screen and (min-width: 43.75em) {
    .companiesView #sideBar {
        width: 100%;
        padding-right: 1.25em; /* to match left */
    }

    .companiesView #main {
        width: 100%;
        max-width: none;
    }
}

/* @media screen and (min-width: 888px) */
@media screen and (min-width: 55.5em) {

    .companiesView #sideBar {
        width: 25%;
        padding-right: 0;
    }

    .companiesView #main {
        width: 74%;
    }

    #reviewDetailsHeader #companyProfileLogoBlock,
    #testimonialDetailsHeader #companyProfileLogoBlock {
        text-align: right;
    }


    /* Company Profile Nav */
    #companyProfileNavWidget {
        background-image: url(/images/interface/bg-side-panel.png);
        background-repeat: repeat;
        display: block;
        margin-bottom: 20px;
        margin-top: 0px;
        padding-bottom: 20px;
        padding-top: 10px;
        /*position:fixed;*/
    }

    #companyProfileNavWidget ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

    #companyProfileNavWidget li {
        border-bottom: 1px solid #fff;
    }

    #companyProfileNavWidget a {
        background-image: url(/images/interface/sprite-profile-key.png);
        background-repeat: no-repeat;
        color: #908d8d;
        display: block;
        font-size: 1.0em;
        height: 40px;
        line-height: 40px;
        padding-left: 40px;
        text-transform: uppercase;
    }

    #companyProfileLogoNav {
        background-position: 0px 0px;
    }

    #companyProfileContactNav {
        background-position: 0px -40px;
    }

    #companyProfileAccreditationsNav {
        background-position: 0px -80px;
    }

    #companyProfileTestimonialsNav {
        background-position: 0px -160px;
    }

    #companyProfileReviewsNav {
        background-position: 0px -120px;
    }

    #companyProfileGalleryNav {
        background-position: 0px -200px;
    }

    #companyProfileSpotlightNav {
        background-position: 0px -240px;
    }

    #companyProfileOffersNav {
        background-position: 0px -280px;
    }

    #companyProfileNavWidget a:hover {
        background-color: rgba(206, 199, 182, 0.5);
        color: #fff;
    }

    .companyProfileIconBlock {
        width: 30%;
    }

    .companyProfileDetailBlock {
        width: 70%;
    }

    #companyProfileContact dt {
        width: 20%;
    }

    #companyProfileContact dd {
        margin-bottom: 0;
        width: 80%;
    }
}