/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Define the Regular (400) version of Roboto font */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../../asset/font/roboto/Roboto-Regular.woff2') format('woff2'),
        url('../../asset/font/roboto/Roboto-Regular.woff') format('woff'),
        url('../../asset/font/roboto/Roboto-Regular.ttf') format('truetype');
}

/* Define the Bold (700) version of Roboto font */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../../asset/font/roboto/Roboto-Bold.woff2') format('woff2'),
        url('../../asset/font/roboto/Roboto-Bold.woff') format('woff'),
        url('../../asset/font/roboto/Roboto-Bold.ttf') format('truetype');
}

.google-badge {
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 4px;
    box-shadow: 1px 1px 7px 0 rgba(0, 0, 0, 0.13), 0 0 2px 0 rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.google-badge:hover {
    background-color: #ede9e8;
    border-color: #ede9e8;
}

.google-badge.style-1 {
    flex-direction: column;
}

.google-badge.style-2 {
    flex-direction: row;
}

.google-badge .google-logo {
    min-width: 50px;
}

.google-badge .google-logo,
.google-badge .google-average-rating,
.google-badge .google-total-reviews {
    margin: auto;
}

.google-badge .google-average-rating .badge {
    font-size: 25px;
}

.google-badge .google-total-reviews span {
    white-space: nowrap;
    font-weight: bold;
    line-height: 1.4em;
    font-size: 17px;
    color: #000000;
}

.google-badge .left-panel,
.google-badge .right-panel {
    display: inline-block;
    vertical-align: middle;
    margin: auto 5px;
}

.google-carousel-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;

    .google-carousel-wrapper-btn-next,
    .google-carousel-wrapper-btn-prev {
        cursor: pointer;
    }
}

.google-carousel {
    font-family: 'Roboto', sans-serif;
    padding: 10px !important;
}

.google-carousel .swiper-slide {
    font-size: 15px;
    display: block;
    align-items: center;
}

.google-carousel .top-panel,
.google-carousel .bottom-panel {
    display: block;
}

.google-carousel .top-panel {
    border-color: #ffffff;
    border-radius: 4px;
    margin: 0;
    display: block;
    border-top-width: 0;
    border-bottom-width: 0;
    border-left-width: 0;
    border-right-width: 0;
    background-color: white;
    backdrop-filter: blur(0px);
    padding: 20px;
    box-shadow: 1px 1px 7px 0 rgba(0, 0, 0, 0.13), 0 0 2px 0 rgba(0, 0, 0, 0.05);
}

.google-carousel .top-panel .top-panel-head {
    display: flex;
    justify-content: center;
}

.google-carousel .top-panel .top-panel-head .google-logo {
    display: inline-block;
    text-align: right;
    margin-left: auto;
}

.google-carousel .top-panel .top-panel-head .google-rating {
    display: inline-block;
    text-align: left;
    margin-right: auto;
}

.google-carousel .top-panel .top-panel-head .google-rating .badge {
    font-size: 20px;
}

.google-carousel .top-panel .top-panel-tail {
    display: block;
}

.google-carousel .top-panel .comment-wrapper.content-height {
    display: table-cell;
    vertical-align: middle;
    height: 120px;
}

.google-carousel .top-panel .comment-wrapper p {
    margin-bottom: 10px;
}

.google-carousel .top-panel .top-panel-tail .full-text {
    display: none;
    transition:max-height 0.15s ease-out;
}

.google-carousel .top-panel .top-panel-tail .full-text.expand {
    display: block;
    transition: max-height 0.35s ease-in-out;
}

.google-carousel .top-panel .top-panel-tail .short-text {
    display: none;
    transition:max-height 0.15s ease-out;
}

.google-carousel .top-panel .top-panel-tail .short-text.expand {
    display: block;
    transition: max-height 0.35s ease-in-out;
}

.google-carousel .top-panel .top-panel-tail .read-more {
    display: flex;
    justify-content: right;
    cursor: pointer;
    color: #000000;
    opacity: 0.5;
    font-size: 13px;
    white-space: nowrap;
    font-weight: 400;
    transition: color 300ms ease-out;
}

.google-carousel .top-panel .top-panel-tail .read-more:after {
    content: 'Read more';
}
.google-carousel .top-panel .top-panel-tail  .read-more.expand:after{
    content: 'Read less';
}

.google-carousel .top-panel .top-panel-head {
    margin-bottom: 20px;
}

.google-carousel .bottom-panel {
    display: flex;
    flex-wrap: nowrap;
    position: relative;
    padding: 20px 10px;
}

.google-carousel .bottom-panel:before {
    position: absolute;
    content: "";
    top: 0;
    left: 20px;
    border: 10px solid transparent;
    border-bottom-width: 0;
    border-top-color: #ffffff;
}

.google-carousel .bottom-panel .reviewer-avatar {
    display: inline-block;
    text-align: right;
    margin-right: 5px;
    margin-top: auto;
    margin-bottom: auto;
}

.google-carousel .bottom-panel .reviewer-info {
    display: inline-block;
    text-align: left;
    margin-left: 5px;
    margin-top: auto;
    margin-bottom: auto;
}

.google-carousel .bottom-panel .reviewer-info .reviewer-name {
    margin-bottom: 0;
    color: #ffffff;
    text-shadow: 0 0 5px #6d6e70;
}

.google-carousel .bottom-panel .reviewer-info .reviewer-date {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .8);
    text-shadow: 0 0 5px #6d6e70;
    opacity: .8;
}

.google-carousel .bottom-panel .reviewer-info .reviewer-date {
    color: #000000;
    opacity: 0.5;
    font-size: 13px;
    white-space: nowrap;
    font-weight: 400;
}

.google-rating-summary {
    display: flex;
    justify-content: center;
    margin: auto;
    font-size: 14px;
}

.google-rating-summary .p {
    margin: 0;
}

.google-rating-summary a {
    font-weight: bold;
    color: #000000;
}

.google-rating-summary a:hover {
    text-decoration: underline;
}

.google-list {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
}

.google-list .filter {
    margin-bottom: 10px;
}

.google-list .card {
    display: flex;
    flex-direction: row;
    padding: 15px 30px;
    border-radius: 4px;
    box-shadow: 1px 1px 7px 0 rgba(0, 0, 0, 0.13), 0 0 2px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.google-list .card .left-panel {
    display: inline-block;
    margin-left: auto;
    margin-right: 5px;
    width: 10%;
}

.google-list .card .left-panel .reviewer-avatar .avatar {
    float: right;
}

.google-list .card .right-panel {
    display: inline-block;
    flex-direction: column;
    margin-right: auto;
    width: 90%;
}

.google-list .card .right-panel .reviewer-info .reviewer-name {
    margin-bottom: 0;
}

.google-list .card .right-panel .reviewer-info .reviewer-date {
    color: #000;
    opacity: .5;
    font-size: 13px;
    white-space: nowrap;
    font-weight: 400;
    margin-bottom: 10px;
}

.google-list .card .right-panel .reviewer-comment {
    display: table-cell;
    vertical-align: middle;
}

.google-list .card .right-panel .reviewer-comment p {
    margin-top: 10px;
    margin-bottom: 10px;
}

.google-list .card .right-panel .reviewer-comment .full-text {
    display: none;
    transition:max-height 0.15s ease-out;
}

.google-list .card .right-panel .reviewer-comment .full-text.expand {
    display: block;
    transition: max-height 0.35s ease-in-out;
}

.google-list .card .right-panel .reviewer-comment .short-text {
    display: none;
    transition:max-height 0.15s ease-out;
}

.google-list .card .right-panel .reviewer-comment .short-text.expand {
    display: block;
    transition: max-height 0.35s ease-in-out;
}

.google-list .card .right-panel .reviewer-comment .read-more {
    display: flex;
    justify-content: right;
    cursor: pointer;
    color: #000000;
    opacity: 0.5;
    font-size: 13px;
    white-space: nowrap;
    font-weight: 400;
    transition: color 300ms ease-out;
}

.google-list .card .right-panel .reviewer-comment .read-more:after {
    content: 'Read more';
}

.google-list .card .right-panel .reviewer-comment .read-more.expand:after{
    content: 'Read less';
}

.google-list .page {
    text-align: center;
}

.google-list .page .btn-previous-page,
.google-list .page .btn-next-page {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    color: #ffffff;
    background-color: #17a2b8;
    margin-left: 2px;
    margin-right: 2px;
}

.google-list .page .btn-previous-page:hover,
.google-list .page .btn-next-page:hover {
    color: #ffffff;
    background-color: #117a8b;
    border-color: #10707f;
}

.google-list .page .btn-previous-page,
.google-list .page .btn-next-page {
    display: inline-block;
    transition: max-height 0.35s ease-in-out;
}

.google-list .page .btn-previous-page.hidden,
.google-list .page .btn-next-page.hidden {
    display: none;
    transition:max-height 0.15s ease-out;
}

.google-list .items,
.google-list .items-loading {
    display: block;
    transition: max-height 0.35s ease-in-out;
}

.google-list .items.hidden,
.google-list .items-loading.hidden {
    display: none;
    transition:max-height 0.15s ease-out;
}

.google-list .card-loading {
    padding: 15px 30px;
    border-radius: 4px;
    box-shadow: 1px 1px 7px 0 rgba(0, 0, 0, 0.13), 0 0 2px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;

    @keyframes placeHolderShimmer{
        0%{
            background-position: -468px 0
        }
        100%{
            background-position: 468px 0
        }
    }

    .animated-background {
        animation-duration: 1s;
        animation-fill-mode: forwards;
        animation-iteration-count: infinite;
        animation-name: placeHolderShimmer;
        animation-timing-function: linear;
        background: #f6f7f8;
        background: linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);
        background-size: 800px 104px;
        height: 96px;
        position: relative;
    }

    .background-masker {
        background: #fff;
        position: absolute;
    }

    /* Every thing below this is just positioning */

    .background-masker.header-top,
    .background-masker.header-bottom,
    .background-masker.subheader-bottom {
        top: 0;
        left: 40px;
        right: 0;
        height: 10px;
    }

    .background-masker.header-left,
    .background-masker.subheader-left,
    .background-masker.header-right,
    .background-masker.subheader-right {
        top: 10px;
        left: 40px;
        height: 8px;
        width: 10px;
    }

    .background-masker.header-bottom {
        top: 18px;
        height: 6px;
    }

    .background-masker.subheader-left,
    .background-masker.subheader-right {
        top: 24px;
        height: 6px;
    }

    .background-masker.header-right,
    .background-masker.subheader-right {
        width: auto;
        left: auto;
        right: 0;
    }

    .background-masker.subheader-right {
        left: auto;
    }

    .background-masker.subheader-bottom {
        top: 30px;
        height: 10px;
    }

    .background-masker.content-first-start {
        top: 60px;
        left: 0;
        height: 8px;
        width: 50px;
    }

    .background-masker.content-second-start {
        top: 74px;
        left: 0;
        height: 8px;
        width: 50px;
    }

    .background-masker.content-third-start {
        top: 88px;
        left: 0;
        height: 8px;
        width: 50px;
    }

    .background-masker.content-top,
    .background-masker.content-second-line,
    .background-masker.content-third-line,
    .background-masker.content-second-end,
    .background-masker.content-third-end,
    .background-masker.content-first-end {
        top: 40px;
        left: 0;
        right: 0;
        height: 6px;
    }

    .background-masker.content-top {
        height:20px;
    }

    .background-masker.content-first-end,
    .background-masker.content-second-end,
    .background-masker.content-third-end{
        width: auto;
        left: auto;
        right: 0;
        top: 60px;
        height: 8px;
    }

    .background-masker.content-second-line  {
        top: 68px;
    }

    .background-masker.content-second-end {
        left: auto;
        top: 74px;
    }

    .background-masker.content-third-line {
        top: 82px;
    }

    .background-masker.content-third-end {
        left: auto;
        top: 88px;
    }
}
