@import url('https://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700,900');

.owl-carousel.a1on-slider * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Roboto;
}
.owl-carousel.a1on-slider {
    width: 100%;
    height: 500px;
}

.item.a1on-slide-block {
    width: 100%;
    /* height: 100%; */
    height: 500px;
    display: flex;
}

.a1on-slide-left-wrap {
    width: 50%;
    margin-right: 15px !important;
}

.a1on-block-position-one {
    width: 100%;
    height: 100%;

    background-color: orange;
}

.a1on-slide-right-wrap {
    display: flex;
    flex-direction: column;
    /* height: 100%; */
    height: 500px;
    width: 50%;
}

.a1on-block-position-two {
    width: 100%;
    height: 60%;

    background-color: green;
    margin-bottom: 15px !important;
}

.a1on-block-position-three-four-wrap {
    display: flex;
    width: 100%;
    height: 40%;
}

.a1on-block-position-three {
    width: 50%;
    height: 100%;

    background-color: indianred;
    margin-right: 15px !important;
}

.a1on-block-position-four {
    width: 50%;
    height: 100%;

    background-color: cadetblue;
}

.a1on-single-block {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.img-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;

    padding: 25px !important;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.img-overlay > * {
    z-index: 11;
    text-decoration: none;
}

.a1on-single-block .img-overlay::after {
    content: '';
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0) 100%);
}

.img-overlay:hover::after {
    
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%) !important;
}

/* .a1on-position-one-postmeta-holder {
    position: absolute;
    width: 100%;
    padding: 10px !important;
    bottom: 0;
    z-index: 11;
    color: white;
    font-size: 13px;
} */
.a1on-position-one-postmeta-holder,
.a1on-position-two-postmeta-holder,
.a1on-position-three-postmeta-holder,
.a1on-position-four-postmeta-holder {
    color: white !important;
}

.entry-content h1.a1on-position-one-title,
h1.a1on-position-one-title,
.entry-content h1.a1on-position-two-title,
h1.a1on-position-two-title,
.entry-content h1.a1on-position-three-title,
h1.a1on-position-three-title,
.entry-content h1.a1on-position-four-title,
h1.a1on-position-four-title {
    cursor: pointer;
    color: white;
    line-height: 30px;
    font-size: 30px;
    /* margin-bottom: 10px !important; */
}

h1.a1on-position-one-title.title-small,
h1.a1on-position-two-title.title-small,
h1.a1on-position-three-title.title-small,
h1.a1on-position-four-title.title-small {
    font-size: 20px;
    line-height: 20px;
}

h1.a1on-position-one-title, h1.a1on-position-two-title {
    max-height: 60px;
    overflow: hidden;
    /* height: 60px; */
}

h1.a1on-position-three-title, h1.a1on-position-four-title {
    max-height: 40px;
    overflow: hidden;
}

span.a1on-primary-category {
    background-color: #416DAE;
    padding: 2px 4px !important;
	margin-right: 5px !important;
}

span.a1on-posted-date {
    font-size: 13px;
}

.a1on-slider-warning-notification {
    background-color: orangered;
    color: white;
    padding: 20px;
}

/* custom navigation styles */
.owl-nav {
	display: none;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
}

.owl-nav i.fa {
    font-family: fontAwesome !important;
}

.owl-prev {
	padding: 10px 15px !important;
    position: absolute;
    left: -35px !important;
}

.owl-next {
	padding: 10px 15px !important;
    position: absolute;
    right: -35px !important;
}

.owl-theme .owl-nav [class*=owl-] {
    color: #FFF;
    background: #416DAE;
}

.owl-theme .owl-nav [class*=owl-]:hover {
	background: #416DAE73;
}

.a1on-slider:hover > .owl-nav.disabled {
	display: none;
}

.a1on-slider:hover > .owl-nav {
	display: block;
}