/* Dots navigation at the bottom */
.owl-dots {
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.owl-dot {
    display: inline-block;
    zoom: 1;
}

.owl-dot span {
    -webkit-border-radius: 1;
    -moz-border-radius: 1;
    border-radius: 1;
    width: 30px;
    height: 5px;
    margin-left: 2px;
    margin-right: 2px;
    background: #d4eb8e;
    border: none;
    display: block;
}

.owl-dot.active span {
    background: #000b40;
}

/* Arrow navigation on the sides */
.owl-nav .owl-prev,
.owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    padding: 15px;
    font-size: 20px;
    color: #333;
    border-radius: 50%;
}

.owl-nav .owl-prev {
    left: 10px;
}

.owl-nav .owl-next {
    right: 10px;
}

/* Adapted theming */
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #000b40;
}

.news-container, .projects-container {
    display: block;
    text-decoration: none;
    color: inherit;
}

.owl-item.active .column, .owl-item.active .news-container, .owl-item.active .column, .owl-item.active .projects-container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Making sure each column has consistent styling */
.owl-carousel .column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}

/* Stylize the project container */
.owl-carousel .column .project-container {
    width: 100%;
}



/* Making sure images maintain aspect ratio  */
.owl-carousel .column .project-container a img {
	object-fit: cover;
    height: 250px;
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 0 auto;
}



/* Styling the title within the project container */
.owl-carousel .column .project-container h3 {
    margin-top: 0px;
}

/* Styling the priority links */
.owl-carousel .priorities-list a {
    text-decoration: none;
    margin-right: 10px;
	margin-top: 5px;
}

/* Consistent spacing between each project */
.owl-carousel .column .project-container {
    margin: 15px 0;
}

/* Arrow navigation on the sides */
.owl-nav .owl-prev,
.owl-nav .owl-next {
    position: absolute;
    top: 145px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 50px !important;
    transition: transform 0.3s;
}

.owl-nav .owl-prev {
    left: -30px;
}

.owl-nav .owl-next {
    right: -45px;
}

.owl-nav .owl-prev:hover {
    transform: translateY(-50%) translateX(-10px);
}

.owl-nav .owl-next:hover {
    transform: translateY(-50%) translateX(10px);
}

button.owl-prev::before {
    content: "\E87c";
    font-family: entypo-fontello;
    vertical-align: middle;
    background-color: transparent!important;
    position: relative;
}

button.owl-next::before {
    content: "\E87d";
    font-family: entypo-fontello;
    vertical-align: middle;
    background-color: transparent!important;
    position: relative;
}

button.owl-next span, button.owl-prev span {
    visibility: hidden;
}

.owl-stage-outer::after {
    width: 1px;
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: white;
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
    .owl-carousel .column {
        width: 100%;
    }
}

/* Apply padding class when there are no more than 3 entries */
.container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0px 15px;
    clear: both;
}

.padded {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0px 15px;
    clear: both;
}


/* Style for a.priorities-block-small */
a.priorities-block-small {

    width: 55px;
    height: 35px;
    display: inline-block;
    text-align: center;
    line-height: 35px;
    color: white;
    text-decoration: none;
}
/* Style for the priorities-icons */
img.priorities-icons {
    display: inline-block !important;
    max-width: 35px !important;
    max-height: 35px;
    width: auto !important;
    height: auto !important;
}

.owl-carousel h3 {
    padding-top: 5px !important;
}

div.project-container h3 {
	baorder-bottom: 3px solid #000b40;
	paadding-bottom: 10px;
}

a.createitreadmorelink {
    border-radius: 0px;
    font-family: 'gilroy', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

@media (max-width: 1390px) {
    .owl-nav .owl-prev {
        left: -2px;
    }
    .owl-nav .owl-next {
        right: -19px;
    }
}

@media (max-width: 768px) {
	.owl-carousel.whyriga {
		display: flex;
		justify-content: space-between;
		flex-direction: column;
	}
	.owl-nav .owl-prev {
        left: -19px;
    }
    .owl-nav .owl-next {
        right: -37px;
    }
	.owl-carousel h3, .owl-item h3 {
	font-size: 17px;
	}
	.owl-item p {
    font-size: 14px;
    line-height: 18px;
}
}
