﻿.carousel, .carousel-inner, .item-img {
    height: 440px;
    text-align: end;
}

.item-img img {
    max-height: 100%;
    width: auto;
    text-align: center;
}

.carousel-inner {
    position: relative;
}

.carousel-wrapper .glyphicon-chevron-left::before {
    content: none !important;
}

.carousel-wrapper .glyphicon-chevron-right:before {
    content: none !important;
}

.carousel-item-wrapper .row {
    display: flex;
}

.carousel-wrapper .item-info {
	padding-left: 81px;
    display: flex;
    flex-direction: column;
    text-align: left;
    height: 100%;
    justify-content: center;
}

.carousel-control.left, a.right.carousel-control {
    background: none !important;
}


.carousel-control {
    width: 6%;
}

.carousel-item-wrapper h1 {
    color: #FFFFFF;
    font-weight: 600;
}

.carousel-item-wrapper p {
    color: #ffffff;
    font-size: 18px;
    line-height: 28px;
    max-height: 173px;
}

.carousel-item-wrapper p.max-lines {
    -webkit-line-clamp: 6;
}

.carousel-item-wrapper a, .carousel-item-wrapper a:visited{
    color: #0072C6;
    font-size: 18px;
    line-height: 23px;
    padding: 10px 21px;
    background-color: #ffffff;
    text-decoration: none;
    font-weight: 600;
	align-self: end;
    margin-top: 20px;
    margin-bottom: 27px;	
}

.carousel-item-wrapper .col-md-6 {
    position: unset;
}

a.right.carousel-control:focus, a.left.carousel-control:focus {
    outline: none !important;
}


@media screen and (max-width: 990px) {

	.carousel-item-wrapper .row {
	    flex-direction: column-reverse;
}

	.carousel, .carousel-inner, .item-img {
	    height: auto;
	    text-align: center;
	}

	.carousel-item-wrapper {
	    height: 652px;
	}	
	
	.carousel-item-wrapper a {
	    position: inherit;
	    bottom: auto;
	}
	.item-img img {
    	max-height: 384px;
    }
}

@media (max-width: 768px) {
    .col-sm-12.col-md-6.pull-right {
        float: inherit !important;
    }
}

@media screen and (max-width: 724px) {
	.item-img img {
    	max-height: 100%;
	}
}

@media screen and (max-width: 723px) {
    .stay-up-wrapper {
        padding: 57px 0;
        padding-left: 225px;
    }
    .carousel, .carousel-inner {
        height: 590px
    }
    .item-img {
        text-align: center;
    }
    .item-img {
        height: 261px;
    }
    .carousel-wrapper .item-info {
    	padding: 42px 33px 13px 53px;
    }
    .carousel-item-wrapper p {
        font-size: 16px;
    }
    .carousel-item-wrapper h1 {
        font-size: 26px;
    }
    a.left.carousel-control, a.right.carousel-control {
        display: none;
    }
    .carousel-item-wrapper a {
        width: 89%;
        text-align: center;
    }
}

@media screen and (max-width: 550px) { 

	.carousel-indicators {
		bottom: 0px;
	}

	.carousel-item-wrapper a, .carousel-item-wrapper a:visited {
		margin-top: 5px;
		margin-bottom: 0;
	}

	.carousel-wrapper .item-info {
		padding: 0 33px 0 53px;
	}

	.carousel-item-wrapper p.max-lines {
		-webkit-line-clamp: 4;
		max-height: 111px;
	}
}

</style>