/**** GENERIC, SITE-WIDE STYLES ****/
body {
    overflow-y: scroll;
}
body#login {
    background: black !important;
    color: #FFFFFF;
}

body#login img {
    max-width: 100%;
}

body#login h1,
body#login h2 {
    font-weight: 400;
    margin-bottom: 30px;
}
h1 {
    margin-bottom: 10px;
}
a,
a:hover,
a.invert:hover,
a:focus,
a.invert:focus {
    color: #B80911;
    text-decoration: none;
}
a.invert {
    color: #555;
}
[x-apple-data-detectors] { /* iOS specific targeting */
    color: inherit !important;
    text-decoration: none !important;
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}
label {
    font-weight: 400;
    margin: 0;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
blockquote {
    quotes: "\201C""\201D""\2018""\2019";
    position: relative;
}
blockquote:before,
blockquote:after {
    font-size: 48px;
    line-height: 34px;
    font-weight: 300;
    color: #AAA;
    position: absolute;
    top: 10px;
}
blockquote:before {
    content: open-quote;
    left: 20px;
}
blockquote:after {
    content: close-quote;
    right: 20px;
}
blockquote p {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 22px;
    color: #777;
}
main {
    padding: 72px 0 320px;
    box-sizing: border-box;
    min-height: 100%;
    color: #555555;
    position: relative;
}

main > *:not(form),
main > form > * {
    margin: 32px 10% 0;
}

main > .full-width {
    margin-left: 0;
    margin-right: 0;
}

main > .full-width > * {
    padding-left: 10%;
    padding-right: 10%;
}

main > *:not(ul):after {
    content: '';
    display: block;
    clear: both;
    height: 0;
}

iframe {
    width: 100%;
}

/* To hide Google Conversion Frame code from page */
iframe[name="google_conversion_frame"] {
    display: none;
}

.bg-danger {
    background-color: #B80911;
    color: #FFF;
    padding: 5px;
}


.fb-signup {
    color: #FFF;
    display: inline-block;
    padding: 8px 5px;
    margin-bottom: 10px;
    background-color: #3B5998;
    font-size: 14px;
    line-height: 0.9em;
    text-transform: uppercase;
    vertical-align: middle;
    border-radius: 3px;
}

.fb-signup:before {
    content: '';
    margin-right: 5px;
    margin-left: -5px;
    vertical-align: bottom;
    width: 18px;
    height: 18px;
    display: inline-block;
    background: url('../images/icon/facebook.gif');
    background-size: cover;
}

.fb-signup.medium:before {
    width: 22px;
    height: 22px;
}

.fb-signup:hover {
    color: #FFF;
}

#intro {
    position: relative;
    overflow: hidden;
}

#signup-gate {
    display: none;
    background: url("/public/images/signup-gate-bg.jpg") no-repeat center;
    background-size: cover;
}

#signup-gate .content {
    padding: 60px 20px;
    width: 700px;
    max-width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

#intro video {
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    top: 50%;
    left: 50%;
    min-height: 100%;
    width: 100%;
    height: auto;
    z-index: -100;
}

#intro aside {
    padding: 7vw 10% 5vw;
    color: #FFF;
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
}

#intro h1 {
    font-size: 4vw;
    text-transform: uppercase;
    margin-bottom: 2vw;
    font-weight: 400;
}
#signup-gate h2 {
    margin: 0 0 40px;
    color: #FFF;
}

#intro a,
#signup-gate a {
    color: #FFF;
    display: inline-block;
    vertical-align: middle;
    padding: 10px;
    margin: 0 15px 15px;
    width: 250px;
    font-weight: 300;
}
#signup-gate a {
    width: 220px;
    margin-left: 5px;
    margin-right: 5px;
}

#intro span,
#signup-gate span {
    vertical-align: bottom;
}

#intro .watch,
#signup-gate .watch {
    padding: 0;
}

#signup-gate .watch {
    margin-bottom: 40px;
}

#intro .watch span,
#signup-gate .watch span {
    border-radius: 100px;
    border: solid 3px #FFF;
}
#intro .watch span {
    font-size: 64px;
    width: 90px;
    height: 90px;
    padding: 8px 5px 10px 12px;
}
#signup-gate .watch span {
    font-size: 26px;
    width: 40px;
    height: 40px;
    padding: 4px 0 0 4px;
    margin-right: 5px;
    vertical-align: middle;
}

#intro em,
#signup-gate em {
    font-size: 18px;
    padding-top: 5px;
    display: block;
    text-transform: uppercase;
    font-style: normal;
}
#signup-gate em {
    display: inline-block;
    vertical-align: middle;
}

/**** SHARE CONTROLS ****/
#share {
    position: fixed;
    left: 0;
    top: 15%;
    margin: 0;
    z-index: 2000;
    -webkit-filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
    transform: translateZ(0);
}

#share:after {
    width: 0;
    font-size: 0;
    float: left;
    clear: none;
    border-style: solid;
    border-width: 48px 12px 0 0;
    border-color: #F00 transparent transparent transparent;
}

#share strong {
    display: block;
    float: left;
    width: 58px;
    height: 48px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    padding: 5px;
    box-sizing: border-box;
    color: #FFF;
    background-color: #F00;
    cursor: default;
    text-transform: capitalize;
}

#share ul {
    display: -webkit-flex;
    display: flex;
    float: left;
    height: 48px;
    width: 0;
    transition: 0.3s width;
}

#share:hover ul,
#share.lock ul {
    width: calc(100% - 70px);
}

#share li {
    width: 48px;
    height: 100%;
    position: relative;
    background-size: cover;
}
#share li > span {
    display: none;
    position: absolute;
    bottom: 100%;
    right: 0;
    background: #555;
    color: #FFF;
    padding: 3px 5px;
    font-size: 14px;
    margin-bottom: 10px;
}
#share li > span:after {
    content: '';
    border: solid 5px transparent;
    border-top: solid 5px #555;
    height: 0;
    width: 0;
    position: absolute;
    top: 100%;
    right: 24px;
}
#share a {
    display: block;
    height: 100%;
}

.facebook {
    background-image: url('../images/icon/facebook.png');
}

.twitter {
    background-image: url('../images/icon/twitter.png');
}

.tumblr {
    background-image: url('../images/icon/tumblr.png');
}

.imgur {
    background-image: url('../images/icon/imgur.png');
}

.google,
.google_plus {
    background-image: url('../images/icon/google.png');
}

.instagram {
    background-image: url('../images/icon/instagram.png');
}

.linkedin {
    background-image: url('../images/icon/linkedin.png');
}

.youtube {
    background-image: url('../images/icon/youtube.png');
}

.pinterest {
    background-image: url('../images/icon/pinterest.png');
}

.flickr {
    background-image: url('../images/icon/flickr.png');
}

.email {
    background-image: url('../images/icon/email.png');
}

.link {
    background-image: url('../images/icon/link.png');
}

.embed {
    background-image: url('../images/icon/embed.png');
    display: none;
}

.embed-helper {
    position: absolute;
    z-index: 1;
    right: 0;
    top: 100%;
    padding: 1em;
    text-align: left;
    width: 288px;
    font-size: 0.8em;
    background-color: #FFF;
    display: none;
}

.embed-helper header {
    text-align: right;
}

.embed-helper header span {
    display: inline-block;
    position: relative;
    margin-left: -3px;
}

.embed-helper header label {
    display: block;
    text-transform: uppercase;
    font-size: 11px;
    color: #555;
}

.embed-helper header label em {
    display: inline-block;
    vertical-align: middle;
    font-style: normal;
    height: 20px;
    padding: 0 3px;
    line-height: 20px;
    background-color: #CCC;
}

.embed-helper header input[type="radio"] {
    display: block;
    position: absolute;
    cursor: pointer;
    width: 100%;
    height: 100%;
    opacity: 0;
    margin: 0;
}

.embed-helper header label:before,
.embed-helper header label:after {
    content: '';
    width: 0;
    height: 0;
    display: inline-block;
    vertical-align: middle;
}

.embed-helper header label:before {
    border-bottom: solid 20px #CCC;
    border-left: solid 10px transparent;
}

.embed-helper header label:after {
    border-top: solid 20px #CCC;
    border-right: solid 10px transparent;
}

.embed-helper header span:first-child label:before,
.embed-helper header span:last-child label:after {
    display: none;
}

.embed-helper header input:checked + label > em {
    background-color: #F00;
    color: #FFF;
}

.embed-helper header input:checked + label:before {
    border-bottom: solid 20px #F00;
}

.embed-helper header input:checked + label:after {
    border-top: solid 20px #F00;
}

.embed-helper section {
    display: -webkit-flex;
    display: flex;
    padding: 12px 0;
}

.embed-helper section label {
    display: block;
    padding-right: 12px;
    text-align: right;
    font-weight: 400;
}

.embed-helper section article label:first-child {
    padding-bottom: 12px;
}

.embed-helper section label:after {
    content: ' px';
}

.embed-helper section input[type="number"] {
    width: 40px;
    padding: 2px;
    border: none;
    border-bottom: solid 1px #AAA;
}

.embed-helper section input[type="number"]:focus {
    border-bottom: solid 1px #F00;
}

.embed-helper section textarea {
    overflow: auto;
    width: 130px;
    resize: none;
    border: none;
    padding: 5px;
    flex-grow: 1;
}

/*** BRAND PROFILE BANNER ****/
header[role="banner"] {
    height: 320px;
    background-size: cover;
    background-position: center center;
    position: relative;
}
header[role="banner"] .g-overlay {
    padding: 0 10%;
    position: relative;
}
header[role="banner"] .g-overlay:after {
    content: '';
    height:100%;
    display: inline-block;
}
header[role="banner"] .g-overlay > * {
    vertical-align: bottom;
}
header[role="banner"] .profile-pic,
#user-profile #avatar,
#user-profile #photo-edit {
    padding: 5px;
    background-color: #FFF;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.7);
}
header[role="banner"] .profile-pic {
    width: 200px;
    margin-bottom: -52px;
    display: inline-block;
    margin-right: 30px;
    position: absolute;
    bottom: 0;
    z-index: 1;
}
header[role="banner"] .profile-pic img {
    width: 100%;
}
header[role="banner"] .title {
    display: inline-block;
    width: calc(80% - 230px);
    padding-bottom: 10px;
    position: absolute;
    bottom: 0;
    right: 10%;
}
header[role="banner"] h1 {
    display: inline-block;
    font-size: 26px;
    line-height: 32px;
    color: #FFF;
    font-weight: 400;
    max-width: calc(100% - 130px); /* Leave room for Edit/Follow button */
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
header[role="banner"] .rating {
    color: #FFFFFF;
    height: 20px;
}
header[role="banner"] .rating .count {
    margin-left: 10px;
    padding-left: 10px;
    border-left: solid 1px #FFF;
}
header[role="banner"] .rating a {
    color: #FFF;
}

/*** SITE CONTENT ****/
section,
aside {
    padding-bottom: 40px;
}
section:after,
aside:after {
    content: "";
    width: 0;
    height: 0;
    display: block;
    clear: both;
}
section h2,
aside h2 {
    font-weight: 400;
    font-size: 22px;
    padding-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

section h2,
.info h2 {
    border-bottom: solid 1px #CCC;
}

section h2 em {
    padding-right: 5px;
}

section h3,
aside h3 {
    font-weight: 400;
    font-size: 18px;
}

h3.group-name {
    padding: 10px 0;
}

section ul,
aside ul {
    padding-top: 5px;
}

img.social {
    width: 24px;
    height: 24px;
}
#tabs-container {
    margin: 0;
    padding: 0 10%;
}
ul.tabs {
    list-style: none;
    display: block;
    text-transform: uppercase;
    font-weight: 400;
    box-sizing: border-box;
    width: 100%;
    padding: 0 0 0 230px;
    overflow: auto;
}
ul.tabs li {
    display: block;
    float: left;
    border-right: solid 1px #BBB;
}
ul.tabs li:first-child {
    border-left: solid 1px #BBB;
}
ul.tabs li.dashboard {
    float: right;
    border-left: solid 1px #BBB;
}
ul.tabs a {
    display: block;
    color: #555;
    padding: 10px 20px;
    font-size: 14px;
    border-bottom: solid 2px transparent;
}
ul.tabs li:hover a,
ul.tabs li.active a {
    color: #F00;
    border-bottom-color: #F00;
}

/**** REVIEWS ****/
#user-reviews {
    -webkit-column-gap: 0;
    -webkit-columns: 2;
    -moz-column-gap: 0;
    -moz-columns: 2;
    column-gap: 0;
    columns: 2;
}

#user-reviews > div {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    padding: 10px;
}

#user-reviews h3 {
    padding-right: 100px;
}

#review-dialog {
    display: none;
    width: 800px;
}

#review-dialog h3,
#dispute-dialog h3,
#add-edit-team-member h3 {
    padding: 10px;
    margin-bottom: 20px;
    background-color: #555;
    color: #FFF;
    font-weight: 400;
}

#review-dialog textarea {
    width: 100%;
    height: 220px;
    padding: 5px;
}

#review-dialog .advice {
    padding-bottom: 50px;
}

#review-dialog ul {
    list-style: square;
    line-height: 20px;
    padding: 20px 0 20px 20px;
}

#review-dialog .controls {
    bottom: 0;
    right: 0;
}

.reviews h2 {
    width: calc(100% - 160px);
}

.reviews div.errorMessage {
    margin-bottom: 20px;
}

#review-dialog .stars {
    font-size: 20px;
    color: #B80911;
    margin-bottom: 5px;
}

#review-dialog .bg-danger,
#dispute-dialog .bg-danger {
    padding: 5px;
    display: none;
    margin-bottom: 5px;
}

.dispute-btn,
.disputed {
    position: absolute;
    top: 10px;
    right: 10px;
}
.dispute-btn {
    color: #999;
}

.disputed {
    text-transform: uppercase;
    color: #999
}

#dispute-dialog {
    display: none;
    width: 600px;
}

#dispute-dialog p {
    padding-bottom: 15px;
}

#dispute-dialog .bg-warning input {
    margin-right: 10px;
    -webkit-flex-shrink:  0;
    flex-shrink: 0;
}

#dispute-dialog input[type="text"],
#dispute-dialog textarea {
    width: 100%;
    padding: 5px;
}

#dispute-dialog .input-group {
    padding-bottom: 10px;
}

#dispute-dialog .bg-warning {
    display: -webkit-flex;
    display: flex;
    margin-bottom: 20px;
    padding: 10px;
}

.next-prev {
    padding: 20px 0;
}

#user-profile {
    padding-bottom: 30px;
}

#user-profile #info {
    float: left;
    width: 200px;
    margin-right: 30px;
}

#user-profile #avatar {
    margin-bottom: 20px;
    display: block;
    position: relative;
}

#avatar #btnChangePhoto {
    position: absolute;
    bottom: 10px;
    width: calc(100% - 20px);
    text-align: center;
    left: 10px;
}

#user-profile #photo-edit {
    margin-bottom: 20px;
    position: relative;
    height: 200px;
}

#photo-edit .upload {
    padding-top: 20px;
}

#photo-edit .buttons {
    position: absolute;
    bottom: 10px;
    z-index: 600;
}

#photo-edit .jcrop-holder {
    display: inline-block;
}

#user-profile .options {
    padding-bottom: 20px;
}

#user-profile .galery-content,
#user-profile #garage {
    float: left;
    width: calc(100% - 230px);
}

.galery-content .collection.empty .messaging {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
}

.galery-content .collection.empty .messaging:after {
    content: '';
    vertical-align: middle;
    height: 100%;
    display: inline-block;
}

.galery-content .collection.empty .helper {
    display: inline-block;
    position: static;
    width: auto;
    vertical-align: middle;
}

.galery-content .collection.empty .helper span {
    display: block;
    position: static;
    padding: 0 0 15px;
}

.galery-content .collection.public .messaging,
.tinted {
    background-color: rgba(0, 0, 0, 0.5);
}

#garage .title {
    font-size: 24px;
}
#garage .description {
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.5em;
    padding-bottom: 20px;
}
#user-profile .ui-sortable-disabled .collection:first-child {
    width: 74.666666667%;
    margin-right: 1.333333333%;
    margin-bottom: 1%;
}

#user-profile .collection {
    width: 24%;
    margin-right: 1.33333333%;
}

#user-profile .collection a {
    color: #FFF;
}

#user-profile .collection .glyphicon {
    font-size: 36px;
}

#user-profile .ui-sortable-disabled .collection {
    margin: 0 0 0.75% 0;
}

#user-profile .ui-sortable-disabled .collection:nth-child(n+5) {
    margin-right: 1.33333333%;
    margin-bottom: 1%;
}

#user-profile .ui-sortable-disabled .collection:nth-child(4n),
#user-profile .collection:nth-child(4n) {
    margin-right: 0;
}

#brand-profile {
    margin-top: 0;
    padding-top: 32px;
}

#brand-profile iframe {
    border: solid 1px #DDD;
}

#brand-profile .info {
    width: 200px;
    margin-right: 30px;
    box-sizing: initial;
    float: left;
}
#brand-profile .info h2 {
    font-weight: 400;
    margin-bottom: 15px;
}
#brand-profile .content,
#brand-profile .reviews {
    width: calc(100% - 230px);
    float: right;
    line-height: 24px;
}
#brand-profile .form-group {
    padding-top: 10px;
    margin-bottom: 40px;
}
#brand-profile .gallery-menu {
    padding-bottom: 20px;
}
#brand-profile .options {
    padding-bottom: 20px;
}

#brand-profile .reviews {
    padding: 0 0 0 15px;
}
#brand-profile .review .profile-pic {
    display: inline-block;
    padding-right: 10px;
    width: 50px;
    float: left;
    background-color: #FFF;
}
#brand-profile .review img {
    width: 100%;
    height: auto;
}
#brand-profile .review h3 {
    padding: 0;
}

#brand-profile .review .text {
    padding-top: 10px;
    margin-top: 10px;
    border-top: solid 1px #CCC;
}

#brand-profile .review .review-count {
    margin-left: 5px;
    border-left: solid 1px #999;
    padding-left: 5px;
}

#brand-profile #btnSaveAll {
    position: absolute;
    right: 0;
    top: -70px;
}

#brand-profile #acct-signup > .tab-pane {
    display: none;
}

#brand-profile #acct-signup > .active {
    display: block;
}

main article.item:hover {
    opacity: 0.7;
}

#results section,
#results aside {
    padding-bottom: 0;
}

#results article {
    margin-bottom: 15px;
}

#results .bg-card {
    position: relative;
}

#results article a {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}
#results .pic {
    position: relative;
    margin: -15px -15px 10px;
    overflow: hidden;
}
#results .pic > img {
    width: 100%;
    height: auto;
}
#results .pic .info {
    position: absolute;
    bottom: 0;
    padding: 7px;
    width: 100%;
    text-align: right;
    float: none;
    margin: 0;
    box-sizing: border-box;
    font-size: 18px;
    color: #FFF;
    border: none;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.5) 100%);
}

#results section h3 {
    background-color: transparent;
    color: #555;
    display: block;
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-size: 16px;
}

#results section h3:after {
    display: none;
}

#results section .vehicle {
    margin-top: -3px;
    display: block;
    font-size: 12px;
    color: #999;
}

#results section h3,
#results section .vehicle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.marker-preview {
    margin-bottom: 20px;
}

.marker-preview .product,
.marker-preview iframe {
    margin-top: 7px;
    font-weight: 400;
    font-size: 10px;
}

.marker-preview strong {
    font-weight: 400;
    font-size: 14px;
}

.marker-preview strong,
.marker-preview em {
    display: block;
    margin-bottom: 5px;
}

.marker-preview a {
    text-align: center;
    display: block;
}
.marker-preview img {
    width: 100%;
    height: auto;
    max-height: 100px;
    margin-bottom: 10px;
    min-width: 45px;
}

.marker-preview a.primary-button,
.marker-preview a.secondary-button {
    display: inline-block;
}

.collection-fields .form-group {
    margin-bottom: 0;
}

#team-members .team-member {
    margin-top: 20px;
}

#team-members .profile-pic {
    width: 70px;
    height: auto;
    margin-right: 10px;
    float: left;
}
#team-members h3 {
    margin: 0;
    display: block;
    background-color: transparent;
    color: #555;
    font-weight: 700;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#team-members h3:after {
    display: none;
}
#team-members .details {
    font-size: 12px;
    line-height: 14px;
    color: #999;
}
#team-members .certifications {
    padding-top: 5px;
}
#team-members .certifications img {
    display: inline-block;
    width: 32px;
}
#team-members .text {
    padding-top: 10px;
}

#leads-payment .bg-card {
    margin-bottom: 20px;
}

#manufacturers .selected span {
    display: inline-block;
    padding: 3px 5px;
    margin-left: 5px;
    margin-bottom: 5px;
    background-color: #DDD;
    color: #555;
    border-radius: 3px;
    border: solid 1px #BBB;
}

#rates span {
    padding-right: 5px;
}

#rates span input {
    display: none;
}

#rates span label {
    background-color: #EEE;
    border: solid 1px #CCC;
    padding: 5px;
}
#rates span input:checked + label {
    color: #FFF;
    background-color: #B80911;
}

#social-profiles {
    overflow: auto;
    padding-top: 10px;
}
#social-profiles .subtitle {
    font-weight: 400;
    font-size: 16px;
}
#social-profiles li {
    display: block;
    float: left;
    margin: 0 0.8% 0.8% 0;
    width: 16%;
}
#social-profiles li:nth-child(6n) {
    margin-right: 0;
}
#social-profiles a {
    display: block;
    padding-bottom: 100%;
    opacity: 0.2;
    transition: 0.3s all;
    background-size: cover;
}
#social-profiles a:hover {
    opacity: 1;
}

.content ul h3 {
    margin: 0;
    padding: 0;
    color: #555;
    font-weight: 700;
    background-color: transparent;
}

.content ul h3:after {
    display: none;
}

#contact-menu {
    padding: 0;
}
#contact-menu li {
    margin-top: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#contact-menu li.emphasize {
    white-space: normal;
}
#contact-menu li.emphasize > * {
    display: block;
    line-height: 1;
}
#contact-menu li.emphasize strong {
    font-size: 18px;
    font-weight: 400;
}
#contact-menu li.emphasize span {
    font-size: 28px;
    letter-spacing: 1px;
    padding: 7px 5px;
    font-weight: 400;
    margin-top: 3px;
    background: linear-gradient(to bottom, #F00 0%, #B80911 100%);
    text-align: center;
    cursor: default;
    color: #FFF;
}
#contact-menu a {
    color: #777777;
}
#contact-menu a:hover {
    color: #B80911;
}
#gear .product {
    background: top left no-repeat;
    min-height: 550px;
}

.xsmall {
    font-size: 11px;
    line-height: 15px;
}
.small {
    font-size: 14px;
    line-height: 18px;
}
.medium {
    font-size: 17px;
    line-height: 22px;
}
.large {
    font-size: 22px;
    line-height: 28px;
}

[class*="columns-"] > * {
    display: inline-block;
    float: left;
    padding: 0 5px 5px 0;
}

.columns-2 > * {
    width: 50%;
}

.columns-3 > * {
    width: calc(100% / 3);
}

.columns-4 > * {
    width: 25%;
}

.primary-button,
.secondary-button,
.ternary-button {
    color: #FFF;
    text-transform: uppercase;
    font-weight: 400;
    padding: 7px 10px;
    border: none;
    cursor: pointer;
    display: inline-block;
    border-radius: 3px;
}
.primary-button:hover,
.primary-button:focus,
.secondary-button:hover,
.secondary-button:focus,
.ternary-button:hover,
.ternary-button:focus {
    color: #FFF;
    text-decoration: none;
}
.primary-button {
    background-color: #F00;
}
.secondary-button {
    background-color: #777;
}
.full-width {
    width: 100%;
}
.no-padding {
    padding: 0;
}
.no-margin {
    margin: 0;
}
.bg-card {
    padding: 15px;
    background-color: #FFF;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    position: relative;
}
.g-overlay {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.7) 100%);
 }
.clear:after {
    content: '';
    height: 0;
    width: 0;
    display: block;
    clear: both;
}

/* Columns */
[class*="col-"] {   /* Applies to all 'col-' classes */
    min-height: 10px;
}
.col-one-half {
    width: 50%;
}
.col-one-third {
    width: calc(100% / 3);
}
.col-two-third {
    width: calc(200% / 3);
}
.col-one-fourth {
    width: 25%;
}
.col-three-fourth {
    width: 75%;
}
.col-left {
    padding-right: 1em;
}
.col-right {
    padding-left: 1em;
}
.col-mid {
    padding: 0 1em;
}

/**** FIND A PRO ****/
#simple-fap {
    height: 200px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    background-color: #FFF;
}

#simple-fap div {
    height: 100%;
    position: relative;
}

#simple-fap .sub-menu {
    width: 0;
    height: 100%;
    display: inline-block;
    float: left;
    opacity: 0;
    transition: 0.3s all;
    padding-left: 0;
}

#simple-fap ul {
    height: 100%;
    overflow-x: hidden;
}

#simple-fap .sub-menu.active {
    width: 25%;
    opacity: 1;
    padding-left: 10px;
}

#simple-fap li {
    display: block;
    height: 25%;
    width: 100%;
    margin: 0;
    position: relative;
}

#simple-fap .small li {
    height: auto;
}

#simple-fap .helper {
    position: absolute;
    bottom: calc(100% + 10px);
    background-color: #B80911;
    color: #FFF;
    font-size: 14px;
    height: auto;
    padding: 5px 10px;
    max-width: 90%;
}

#simple-fap .helper:after {
    content: '';
    border-style: solid;
    border-width: 0 0 16px 16px;
    border-color: transparent transparent #B80911 transparent;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: calc(100% - 10px);
    left: 20%;
}

#simple-fap input[type="radio"],
#simple-fap input[type="checkbox"] {
    display: none;
}

#simple-fap label {
    width: 100%;
    height: 100%;
    display: block;
    padding: 10px 24px 10px 10px;
    cursor: pointer;
    font-size: 16px;
    line-height: 32px;
    color: #999;
    text-transform: uppercase;
}

#simple-fap .small label {
    font-size: 14px;
    line-height: normal;
}

#simple-fap div:last-child label {
    padding-right: 10px;
}

#simple-fap input[type="radio"]:checked ~ label,
#simple-fap input[type="checkbox"]:checked ~ label {
    color: #555;
    border-left: solid 5px #F00;
}
/*
#simple-fap input[type="radio"]:checked ~ label:after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 16px 16px 0;
    border-color: transparent #F00 transparent transparent;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    right: 10px;
    top: calc(50% - 8px);
}

#simple-fap .sub-menu:last-child input[type="radio"]:checked ~ label:after {
    display: none;
}
*/

#results {
    z-index: 1;
}

#results .shop {
    background-color: #FFF;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    display: flex;
    margin-bottom: 24px;
    width: 49%;
    margin-right: 2%;
    float: left;
}

#results .shop:nth-child(even) {
    margin-right: 0;
}

#results .shop > * {
    padding: 20px;
}

#results header {
    flex-shrink: 0;
}

#results h2 {
    font-size: 18px;
    font-weight: 400;
}

#results .details p {
    padding-top: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#results .profile-pic,
#results .description {
    display: inline-block;
    vertical-align: top;
}

#results .profile-pic {
    width: 160px;
}

#results .description {
    width: calc(100% - 164px);
    padding-left: 10px;
}

.image-container .glyphicon-motoroso {
    font-size: 32px;
    color: #FFF;
}

#editGarage {
    overflow: auto;
}
#editGarage li {
    width: 19%;
    height: 150px;
    float: left;
    margin: 0 1.25% 1.25% 0;
}

#photo-edit li.upload {
    padding: 15px;
}
#editGarage li.upload {
    padding: 1% 10px 0;
    box-sizing: border-box;
}

#photo-edit li.upload img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}
#editGarage li.upload img {
    margin: 0 auto;
}

#photo-edit li.upload p {
    padding: 15px 0;
}
#editGarage li:nth-child(5n) {
    margin-right: 0;
}

#editGarage .submit-group {
    padding: 0;

    margin-bottom: 10px;
}

#editGarage .submit-group span {
    font-size: 12px;
}

#explore_spinner img,
.park-it img {
    display: inline-block;
    vertical-align: middle;
}

/* Change Password/Notifications */
#alert #header {
    display: block;
    width: 100%;
    color: #FFF;
    font-weight: 400;
    background-color: #B80911;
    text-transform: uppercase;
    padding: 20px;
}

#alert h1 {
    font-size: 18px;
    font-weight: inherit;
    white-space: nowrap;
}

#alert #password-change,
#alert #manage-notification-form {
    text-align: right;
    padding: 20px;
}

#alert #buttons {
    text-align: right;
}

#alert .text {
    padding: 0 0 20px 0;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}

#password-change label {
    font-weight: 400;
    padding-right: 10px;
}

#password-change input[type="password"] {
    width: 50%;
}

#manage-notification-form strong {
    white-space: nowrap;
    font-weight: 400;
}

#manage-notification-form span {
    flex-grow: 1;
    border-bottom: dotted 1px #777;
    min-width: 10px;
}

#signup {
    margin-bottom: 20px;
}

#signup input {
    margin-bottom: 10px;
}

span.list-item {
}
/* Add comma and space after every item, except last item */
span.list-item:not(:last-child):after {
    content: ' / ';
    font-size: 24px;
    vertical-align: middle;
    font-weight: 400;
}

footer {
    position: relative;
}

footer img {
    display: inline-block;
    vertical-align: baseline;
}

.form-group .input-group {
    width: 100%;
}

.form-group .input-group-addon {
    width: 15%;
    text-align: right;
}

.form-group div:not(:last-child),
.form-group .input-group:not(:last-child) {
    margin-bottom: 7px;
}

textarea.form-control {
    height: 80px;
}

.sprite {
    background-image: url("/images/sprites.png");
    display: block;
}

div.marker.draggable {
    text-align: left;
}
.marker,
.marker-white {
    background-position-y: 0;
}
.marker-black {
    background-position-y: -32px;
}
.marker-red {
    background-position-y: -64px;
}

.marker-md {
    width: 32px;
    height: 32px;
}
.marker-md.marker-play {
    background-position-x: 0;
}
.marker-md.marker-info {
    background-position-x: -32px;
}
.marker-md.marker-product {
    background-position-x: -64px;
}
.marker-md.marker-howto {
    background-position-x: -96px;
}
.marker-md.marker-article {
    width: 64px;
    background-position-x: -128px;
}

.red {
    color: #F00;
}

.profile-star-rating {
    width: 85px;
    height: 20px;
    position: relative;
    float: left;
    cursor: default;
    -webkit-user-select: none;
}

.profile-star-rating .star-rate-layer {
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    display: block;
    white-space: nowrap;
}

.profile-star-rating .base {
    width: 100%;
}

.profile-star-rating.star-color-red .star-rate-layer span {
    color: #CC0000;
}

.profile-star-rating.star-color-white .star-rate-layer span {
    color: #FFFFFF;
}
.help-tip{
    text-align: center;
    background-color: #999;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 22px;
    cursor: default;
    position: relative;
    display: inline-block;
}

.help-tip:before{
    content:'?';
    font-weight: 400;
    color: #FFF;
}
.help-tip.notification:before {
    content: '+';
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 0;
}
.help-tip:hover {
    background-color: #F00;
}
.help-tip.notification:hover {
    background-color: #FF8;
}
.help-tip:hover:before {
    color: #FFF;
}
.help-tip.notification:hover:before {
    color: #000;
}

.help-tip > * {
    display: none;
    opacity: 0;
    transition: 0.3s opacity;
    position: absolute;
    bottom: 110%;
    right: 0;
    text-align: left;
    background-color: #FFF;
    color: #777;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    max-width: 50vw;
    z-index: 1;
    font-weight: 400;
    line-height: 1.3;
}

.help-tip.invert > * {
    bottom: inherit;
    top: 110%;
}

.help-tip.side-tip > * {
    bottom: auto;
    top: 0;
    right: 110%;
}

.help-tip.side-tip.invert > * {
    right: inherit;
    left: 110%;
}

.help-tip > *:before {
    position: absolute;
    top: 100%;
    right: 4px;
    content: '';
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-top-color: #FFF;
}

.help-tip.invert > *:before {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: #FFF;
}

.help-tip.side-tip > *:before {
    top: 4px;
    bottom: auto;
    right: auto;
    left: 100%;
    border: 6px transparent solid;
    border-left-color: #FFF;
}

.help-tip.side-tip.invert > *:before {
    top: 4px;
    right: 100%;
    left: auto;
    border: 6px transparent solid;
    border-right-color: #FFF;
}

.help-tip:hover > * {
    display: block;
    opacity: 1;
}

/* styles for '...'
* based on this CSS hack:
* http://hackingui.com/front-end/a-pure-css-solution-for-multiline-text-truncation/
*/
.overflow-text {
     overflow: hidden;
     position: relative;
     line-height: 18px;
     max-height: 36px;
     margin-right: -1em;
     padding-right: 1em;
     padding-top: 0;
 }
/* create the ... */
.overflow-text:before {
     content: '...';
     position: absolute;
     color: #999;
     right: 15px;
     background: linear-gradient(to right, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 40%);
     bottom: 0;
     letter-spacing: 1px;
     padding-left: 10px;
 }
/* hide ... if we have text, which is less than or equal to max lines */
.overflow-text:after {
     content: '';
     position: absolute;
     right: 15px;
     width: 1em;
     height: 1em;
     margin-top: 0.2em;
     background: white;
 }

[class*="col-"].wide {
    padding-left: 7px;
    padding-right: 7px;
}

.bg-card.wide {
    padding: 7px;
}

.row.wide {
    margin-left: -7px;
    margin-right: -7px;
}

.styled-header {
    display: inline-block;
    background-color: #555;
    position: relative;
    color: #FFF;
    padding: 6px;
    line-height: 18px;
    font-size: 16px;
    margin-top: 20px;
}

.styled-header:after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-width: 30px 10px 0 0;
    border-style: solid;
    border-color: #555 transparent transparent #555;
    position: absolute;
    left: 100%;
    top: 0;
}

.edit {
    display: block;
}

.editing {
    display: none;
}

div.table {
    margin-top: 5px;
}

div.table > div {
    padding: 3px;
}
div.table div[class*='col-xs']:nth-child(2n) {
    border-left: solid 1px #CCC;
}
div.table > div:not(:last-child) {
    border-bottom: solid 1px #CCC;
}

.fit-16-by-9 {
    position: relative;
    width: 100%;
    padding: 0 0 calc(9 / 16 * 100%);
    margin-bottom: 20px;
    display: block;
}
.fit-16-by-9 > * {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
}

.checkboxlist-scroll {
    height: 200px;
    overflow: scroll;
}

.or-divider {
    background: url("../images/divider-line-white-shadow.png") repeat-x scroll left center rgba(0, 0, 0, 0);
    padding: 3% 0;
    margin-bottom: 10px;
    text-align: center;
}

.or-divider span {
    padding: 0 10px;
}

.bg-white {
    background-color: #FFF;
}

.bg-black {
    background-color: #000;
}

.bg-light-gray {
    background-color: #EEE;
}

.bg-medium-gray {
    background-color: #999;
}

.bg-dark-gray {
    background-color: #555;
}

#professional-subscribe form,
#professional-subscribe #plan-details {
    float: left;
    width: 49%;
}

#professional-subscribe form {
    margin-right: 15px;
}

#professional-subscribe #plan-details .description,
#professional-subscribe #plan-details .discount,
#professional-subscribe #plan-details .discount-price {
    margin-top: 15px;
}

#professional-subscribe #plan-details .discount-price h4 {
    color: green;
    margin-bottom: 5px;
}

#coupon_code,
#coupon_code_verify_btn,
#coupon_code_verify_spinner,
#ProfilePage_plan_id,
#select_plan_btn {
    float:left;
}

#coupon_code,
#ProfilePage_plan_id {
    width: 78%;
}

#coupon_code_verify_btn,
#select_plan_btn {
    width: 20%;
    margin-left: 5px;
}

#coupon_code_verify_spinner {
    height: 34px;
    margin-left: 45px;
}

#professional-sign-up-pay .stripe-button-el {
    margin-top: 15px;
}

#professional-subscribe #select_plan {
    margin-bottom: 15px;
    overflow: hidden;
}

#add-edit-team-member-btn {
    color: #FFF;
}
#add-edit-team-member {
    min-width: 400px;
    max-width: 700px;
    overflow-x: hidden;
}

#add-edit-team-member .form-group {
    margin-bottom: 10px;
}

#add-edit-team-member .dialog-cancel {
    margin-left: 4px;
}

#listCars {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

#dropCars.empty #listCars {
    justify-content: center;
}

#dropCars.empty .add-more {
    display: none;
}

#dropCars .empty-title {
    display: none;
}

#dropCars.empty .empty-title {
    display: block;
}

#dropCars.empty .tip-container {
    display: none;
}

#dropCars .tip-container {
    margin-top: 5px;
    font-weight: bold;
}

#dropCars .preview-block {
    height: 60px;
    position: relative;
    margin: 5px 10px 5px 0;
}
#dropCars .preview-block img {
    height: 60px;
}
#dropCars .preview-block .remove-image {
    color: #fff;
    display: inline-block;
    position: absolute;
    top: 0;
    right: 15px;
    cursor: pointer;
}

#progressBars {
    margin-top: 10px;
}

#progressBars .ui-progressbar-value {
    background: #F00;
    border: 1px solid #ccc;
    margin: 0;
}

#progressBars .ui-progressbar {
    margin-top: 10px;
}

#progressBars .progress-label {
    color: #000;
}

#listCars .add-more-img {
    maring-left: auto;
    margin-right: auto;
}

#listCars .add-more {
    font-size: 10px;
    font-weight: bold;
}

.image-upload-continer {
    margin-bottom: 10px;
}

a.edit-photo {
    color: #fff;
    font-size: 1em;
}