#main-content hr {
    border-bottom: 1px solid #dfdfdf;
}

#main-content h5 {
    margin-top:0;
    margin-bottom:20px;
    display: flex;
    align-items: center;
}

#added-on {
    display: inline-block;
    margin-bottom: 10px;
    padding: 3px 6px;
    border: 1px solid #48486c47;
    border-radius: 4px;
    font-size: 0.9em;
    color: #48486c;
}

#back-container {
    text-align:left;
    margin-top:30px;
}

.product-img-col {
    padding: 0;
}

.col-lg-3 {
    padding:0 30px 0 0;
}

.product-img {
    width: 100%;
    max-height: 600px;
    padding: 10px;
    border-radius: 8px;
    background: #48486c24;
}

.product-details {
    text-align: left;
    padding: 10px 20px 10px 30px;
}

.product-details h3 {
    font-weight:bold;
    margin-top: 0;
}

.product-details p {
    font-size: 16;
    color: #555;
}

.import-btn {
    margin-bottom: 15px;
    cursor: pointer;
}

.import-btn .glyphicon {
    margin-right: 10px;
}

#csv-import-trigger {
    background-color: #6320df;
    border-color: #5b1dce;
    color: 'white';
}

#description {
    height: 200px;
    overflow-y:hidden;
}

#show-more {
    display:none;
}

.horizontal-data {
    display: inline-block;
}

.horizontal-data.gray-bg {
    background: #f3f3f3;
    padding: 5px;
    border-radius: 4px;
    box-shadow: 1px 1px 2px #0000002b;
    border-radius: 4px;
}

.horizontal-data li {
    text-align: center;
    margin: 0 6px;
    padding:10px;
}

.horizontal-data li.gray-bg {
    background: #f3f3f3;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    box-shadow: 1px 1px 2px #0000002b;
}

.horizontal-data li span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color:#555;
}

.horizontal-data li b {
    display: block;
    font-size: 29px;
}

.profit-margin {
    color: green;
}

.product-cost {
    color: red;
}

.available-info {
    color:#333;
    font-weight:700;
    font-size:15px;
    margin-top: 20px;
    margin-bottom:9px;
}

.sub-section {
    text-align:left;
    padding: 6px 0;
}

.sub-section .row {
    margin-left:0;
}

.sub-section img {
    width:100%;
    max-width:275px;
    max-height: 300px;
    height:auto;
}

.sub-section li img {
    vertical-align: middle;
}

.sub-section h5 {
    font-size: 16px;
}

.sub-section h5 .glyphicon-ring {
    margin-right:10px;
}

#orders-section .engagement-col ol.horizontal-data {
    margin-left: 0px;
}

#fb-ad-btn {
    width: 275px;
    display:block;
    margin-top:10px;
}

#targeting-row {
    display: flex;
    align-items: flex-start;
    margin-bottom:10px;
}

#targeting-section ol {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom:0px;
    flex-grow: 1;
}

#interests-list {
    display: block;
    text-align: left;
    padding-left: 1.4em;
    /*border-left: 2px solid #000;*/
}

#interests-list p {
    font-size: 12px;
    font-weight:bold;
    margin-top:5px;
}

.sub-note {
    color:gray;
    font-size:12px;
}

#ad-targeting-tutorial {
    margin-left: 20px;
}

#ad-targeting-tutorial img {
    max-width:180px;
}

.vertical-list {
    list-style: none;
    background: white;
    padding: 0px 15px 15px 15px;
    border-radius: 4px;
    font-size: 16px;
    max-width:250px;
}

.vertical-list li:not(:first-of-type) {
    margin-top:8px;
}

#ali-reviews-section {
    background-color:white;
    padding-top:20px;
}

#ali-reviews-section #ali-reviews-header {
    margin-left: 10px;
    margin-bottom: 25px;
}

#ali-reviews {
    border:0;
    width: 100%;
    height: 300px;
}

#showbird-section img {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

#showbird-section h5 a {
    color: #555;
    text-decoration: underline;
}

#showbird-section .showbird-content-container {
    display:inline-block;
    padding: 0 15px 15px;
    border: 1px solid #F0F0F0;
    border-radius: 5px;
    background-color: #f3f3f3;
    box-shadow: 1px 1px 2px #0000002b;
    border-radius: 4px;
}

#showbird-section .showbird-iframe {
    margin: 0 auto;
    display: block;
    padding: 5px;
    width: 400px;
    height: 400px;
    border-radius: 5px;
}

#showbird-section .embed-code {
    padding: 12px;
    background-color: white;
    box-shadow: 1px 1px 2px #0000002b;
    border-radius: 4px;
    border: none;
    max-height: 200px;
    width: 400px;
    height: 150px;
}

#showbird-section .embed-container {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
}

#showbird-section .embed-header {
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

#showbird-section .embed-footer {
    margin-top: 8px;
    text-decoration: underline;
    font-size: 0.9em;
}

.image-zoom {
    width:650px;
    height:auto;
    position:absolute;
    top:0;
    left:0;
}

#blurred-data-signup {
    position: relative;
    margin-top: .8em;
    margin-bottom: 0;
    text-align: center;
    background: url('https://ns02.rankytools.com/images/blurred-analytics.png') no-repeat;
    background-size: cover;
    padding-bottom: 57.7851%;
    height:800px;
}

#blurred-data-signup .inner-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 30, 30, 0.7);
    color: #fff;
    font-size: 1.85em;
    font-weight: 400;
    line-height: 1.3;
    padding: 10vw .25em .25em;
}

#ad-copy-box {
    padding: 12px;
    margin-right: 15px;
    background-color: #f3f3f3;
    box-shadow: 1px 1px 2px #0000002b;
    border-radius: 4px;
}

#card-grid {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

#card-grid.single-row {
    flex-wrap: nowrap;
    overflow: hidden;
}

.gray-well {
    background: #48486c24;
    padding: 15px 10px 10px 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

#card-grid .card-grid-item {
    width: 20%;
    padding: 0 5px 10px;
    display: flex;
    flex-direction: column;
}

#card-grid a.product-card {
    background: white;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 8%), 0 0 0 1px rgb(0 0 0 / 4%);
    display: block;
    color: #48486c;
    text-decoration: none;
    transition: 0.2s transform;
    flex: 1;
}

#card-grid a.product-card:hover {
    transform: scale(1.01);
}

#card-grid .product-card-image {
    width: 100%;
    padding-top: 100%;
    position: relative;
}

#card-grid .product-card-image .glyphicon {
    background: white;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 8%), 0 0 0 1px rgb(0 0 0 / 4%);
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
}

#card-grid .product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

#card-grid .product-card-info {
    padding: 5px;
}

#card-grid .product-card-name {
    font-weight:bold;
    text-overflow: ellipsis; 
    overflow: hidden; 
    white-space: nowrap;
    margin: 5px 0;
    text-align:left;
}

#card-grid .product-card-host {
    text-overflow: ellipsis; 
    overflow: hidden; 
    max-height: 90px;
    overflow-y: auto;
}

#card-grid .subtle-text {
    opacity: 0.7;
    font-size: 0.95em;
}

#card-grid .glyphicon {
    margin: 0 4px;
}

#card-grid .glyphicon-star {
    color: #fd6d6d;
}

.competing-stores-count {
    opacity: 0.7;
    margin-left: 10px;
    font-size: 0.9em;
}

.show-more-row {
    display: flex;
}

.show-more-btn {
    padding: 4px 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    margin: 10px auto;
    border: 1px solid #48486c38;
    border-radius: 5px;
    background: #48486c;
    margin: 0px 0 10px auto;
    cursor: pointer;
    transition: 0.2s background;
}

.show-more-btn:hover {
    background: #6161a0;
}

.scrollable {
    max-height: 900px;
    overflow-y: auto;
}

.switch-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
    justify-content: flex-end;
}

.switch-row .switch {
    margin: 0 0 0 7px;
}

.switch-row .switch-label {
    color: #48486c;
    opacity: 0.8;
}

.switch-row input.primary:checked + .slider {
    background-color: #8080e3;
}

/* Effects */

.zoom {
    transition: transform .2s; /* Animation */
    transform-origin: 0% 100%;
}

.zoom:hover {
    transform: scale(3);
    z-index: 9999999;
}

/* Mobile */

@media screen and (max-width: 600px) {
    #product-row {
        margin-left:0;
        margin-right:0;
    }
    .product-details {
        padding: 20px 10px 0px 10px;
    }
    #orders-section .engagement-col {
        margin-bottom: 20px;
    }
    .sub-section .col-lg-6 {
        padding-left: 0;
    }
    .fb-section .fb-ad-images-section {
        margin-bottom: 20px;
    }
    .horizontal-data li.gray-bg {
        width: 100%;
    }
    #ad-targeting-tutorial {
        margin-left: 0;
    }
    #ad-targeting-tutorial img {
        max-width:100%;
        margin:auto;
    }
    .sub-section h5 {
        font-size: 22px;
    }
    #targeting-row {
        flex-wrap: wrap;
    }
    #card-grid .card-grid-item {
        width: 100%;
    }
}