/* Start Solutions Styles Starts Here */

.stories {
    padding: 100px 0;
    position: relative;
}

.home-redesign .stories {
    padding: 60px 0;
}

.lastcomma {
    font-size: 0 !important;
}

.lastcomma:after {
    content: '|';
    color: var(--color-blue);
    font-size: 12px !important;
    padding-left: 2px;
    position: relative;
    top: -1px;
}

@media (max-width: 1024px) {
    .stories {
        padding: 70px 0;
    }
}


@media (max-width: 767px) {
    .stories {
        padding: 60px 0;
    }
}

.stories .slick-track {
    display: flex !important;
    padding-bottom: 20px;
}

.stories .slick-track .slick-slide {
    height: inherit;
}

.stories .slick-track .slick-slide > div {
    display: flex;
    height: 100%;
}

.stories__illustration {
    width: 600px;
    height: 594px;
    position: absolute;
    left: -130px;
    top: 50px;
    display: none;
}

.home .stories__illustration {
    display: block;
}

@media (max-width: 1024px) {
    .stories__illustration {
        display: none;
    }
}

.stories__illustration svg {
    width: 100%;
    height: 100%;
    position: relative;
    transform: scale(-1, 1);
}

.stories .container {
    position: relative;
    z-index: 2;
}

.stories__tag li span.comma {
    padding: 0 1px;
    background-color: transparent;
}

.stories__tag li span.comma:last-of-type {
    display: none;
}

@media (max-width: 1024px) {
    .stories .container {
        padding: 0 22px
    }
}

.stories__heading {
    display: flex;
    align-items: flex-end;
}

@media (max-width: 1024px) {
    .stories__heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .stories__heading .btn {
        display: none;
    }
}

@media (max-width: 767px) {
    .stories__heading .btn {
        display: inline-flex;
        margin-top: 20px;
    }
}

.stories__heading__content {
    flex: 1;
    padding-right: 100px;
    position: relative;
}

.stories__heading__content p {
    padding-bottom: 0;
}

@media (max-width: 1024px) {
    .stories__heading__content {
        padding-right: 0;
    }
}

.stories__heading__content .sitelog-rays {
    position: absolute;
    left: -90px;
    top: 5px;
}

@media (max-width: 1024px) {
    .stories__heading__content .sitelog-rays {
        display: none;
    }
}

.stories__heading p {
    margin: 0;
}

.project-stories .stories__heading__content p {
    padding: 0;
}

.stories__row {
    margin-top: 40px;
}

@media (min-width: 1025px) {
    .stories__row .slick-prev {
        left: -50px;
    }

    .stories__row .slick-next {
        right: -50px;
    }
}

.stories__row .slick-prev,
.stories__row .slick-next {
    position: absolute;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #B5C4CE;
    display: inline-flex;
    align-self: center;
    justify-content: center;
}

.stories__row .slick-prev:before,
.stories__row .slick-next:before {
    content: "";
    display: block;
    position: absolute;
    width: 9px;
    height: 9px;
    border: 3px solid var(--color-white);
    top: 50%;
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: rotate(45deg);
}

.stories__row .slick-prev:before {
    border-top: 0;
    border-right: 0;
    top: 12px;
    left: 4px;
}

.stories__row .slick-next:before {
    border-bottom: 0;
    border-left: 0;
    left: -7px;
    top: 14px;
}

.stories__row .slick-next {
    right: 0;
    left: initial;
    top: initial;
    bottom: -43px;
    margin-right: 5px;
}

.stories__row .slick-prev {
    right: 50px;
    left: initial;
    top: initial;
    bottom: -43px;
    margin-left: 5px;
}

@media (max-width: 767px) {
    .stories__row .slick-next {
        left: 50%;
        right: initial;
        top: initial;
        bottom: -43px;
        margin-right: 5px;
    }

    .stories__row .slick-prev {
        right: 50%;
        left: initial;
        top: initial;
        bottom: -43px;
        margin-left: 5px;
    }
}

@media (min-width:768px and max-width: 1024px) {
    .stories__row {
        justify-content: flex-end;
    }

    .stories__row .slick-list {
        margin-bottom: 20px;
    }

    .stories__row .slick-track {
        display: flex;
    }

    .stories__row:before,
    .stories__row:after {
        display: none;
    }

    .stories__item {
        padding-top: 15px;
        padding-bottom: 15px;
        height: inherit;
    }
}

@media (max-width: 767px) {
    .stories__row {
        justify-content: center;
    }

    .stories__row .slick-list {
        margin-bottom: 10px;
    }
}

@media (min-width: 1025px) {
    .stories__item {
        position: relative;
        top: 50px;
        opacity: 0;
    }
}

.stories__image {
    font-size: 0;
    line-height: 0;
    overflow: hidden;
    height: 150px;
}

.stories__image .bialty-container {
	height: 100%;
}

.stories__image img {
	height: 100%;
}

.project-stories .stories__image {
    height: 190px;
}

.project-stories .stories__image img {
    height: 100%;
}

.stories__image img {
    width: 100%;
    position: relative;
    transform: scale(1);
    transition: transform 0.3s ease-in-out;
}

.stories-slider {
	justify-content: center;
}

@media (min-width: 767px) {
	.stories__image {
	    font-size: 0;
	    line-height: 0;
	    overflow: hidden;
	    height: 230px;
	}

    .stories__image img {
        object-fit: cover;
        object-position: center;
    }

    .case-studies-section .stories__image img {
        height: 190px;
    }
}

.stories__link {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (min-width: 1025px) {
	.stories__image {
		height: 200px;
	}

    .stories__link:hover .stories__more {
        margin-bottom: -15px;
    }

    .stories__link:hover .stories__image img {
        transform: scale(1.15);
    }
}

.stories__card {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

.stories__content {
    padding: 25px 32px 32px 35px;
    position: relative;
    flex: 1;
    background-color: var(--color-white);
}

@media (max-width: 1024px) {
    .stories__content {
        display: flex;
        flex-direction: column;
    }
}

.stories__content .h5 {
    color: var(--color-blue);
    margin-bottom: 6px;
    text-transform: initial;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4em;
}

.stories__content p {
    color: var(--color-gray);
    margin: 0 0;
    font-size: 14px;
    font-weight: normal;
}

.stories__tag,
.stories__tag li {
    margin: 0;
    padding: 0;
}

.stories__tag,
.case-studies-section .gallery .stories__tag {
    margin-top: 0;
    margin-bottom:  15px;
}

.stories__tag.has-img,
.case-studies-section .gallery .stories__tag.has-img {
    margin-top: -38px;
    margin-bottom:  15px;
}

.stories__tag li,
.case-studies-section .gallery .stories__tag li {
    display: inline-block;
    vertical-align: top;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 0;
    width: auto;
}

.stories__tag li:before {
    display: none;
}

.stories__tag li span {
    font-size: 12px;
    display: inline-block;
    padding: 5px 12px;
    line-height: 1;
    text-transform: uppercase;
    background-color: #CFE0EB;
    color: var(--color-blue);
    font-weight: bold;
    border-radius: 50px;
}

.stories__more {
    padding: 5px;
    background-color: var(--color-orange);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: -44px;
    transition: margin 0.3s ease-in-out;
}

.stories__more {
    padding: 10px;
    margin-bottom: -54px;
}

.policy-text {
    font-size: 13px;
}

.policy-text a {
    font-weight: 700;
}

.markets__heading p {
    margin: 0;
}


@media (max-width: 1024px) {
    .stories__more {
        display: none;
    }
}


@media (min-width: 1025px) {
    .policy-text a:hover {
        color: #F8B57C !important;
        background: transparent !important;
        text-decoration: underline;
    }

    .stories__content p {
        font-size: 16px;
    }
}


.stories__more i {
    width: 16px;
    height: 16px;
    margin-left: 5px;
    line-height: 1;
}

.stories__more i svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .stories__button {
        display: none;
    }
}

.stories__learn-more {
    font-size: 15px;
    color: var(--color-orange);
    display: inline-flex;
    align-items: center;
    font-weight: bold;
    margin-top: auto;
}

@media (min-width: 1025px) {
    .stories__learn-more {
        display: none;
    }

   .case-studies-section .stories__content .h5 {
        font-size: 20px;
    }
}

@media (min-width: 1200px) {
    .stories__link {
        position: relative;
        padding-bottom: 15px;
    }

    .stories--blog .stories__learn-more {
        position: absolute;
        bottom: 10px;
    }
}

.stories__learn-more i {
    display: inline-block;
    margin-left: 10px;
    position: relative;
    top: 3px;
}

.stories__learn-more i svg path {
    fill: var(--color-orange);
}

/* End Stories Styles Starts Here */
