/*
	Help:
	@media (max-width: 425px) - mobile
	@media (min-width: 425px) and (max-width: 768px) - tablet
	@media (min-width: 768px) and (max-width: 1024px) - laptop
	@media (min-width: 1024px) - desctop
*/

#primary .widget-title a {
    background-color: #289dcc;
    color: #fff;
    padding: 6px 12px;
    display: inline-block;
    text-decoration: none;
}

#primary .widget-title a:hover {
	text-decoration: underline;
}

/* remove after test: */
.widget-column.footer-widget-1 {
    width: 100%!important;
}
/* ------------------ */

.invictory-post-loop-widget .widget-title {
	cursor: default;
}

.invictory-post-loop-widget .posts-list {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
}

.invictory-upw-widget .posts-list .post-item {
	padding: 10px;
	box-sizing: border-box;
	width: 100%;
	display: block;
}

.invictory-upw-widget .post-item.post-item-left-img {
	display: flex;
}

.invictory-upw-widget .post-item.post-item-bg-img {
	padding: 2px;
}


.invictory-upw-widget .post-item.post-item-bg-img .post-wrapper {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	height: 25vw;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    color: white;
}

.invictory-upw-widget .post-item.post-item-bg-img .post-wrapper::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(0,0,0,0.3);
}
.invictory-upw-widget .post-item.post-item-bg-img .post-wrapper .post-content {
	position: relative;
	margin: 15px;
	display: flex;
    flex-flow: column;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.invictory-upw-widget .post-item.post-item-bg-img .post-wrapper .post-content .title {
	/*order: 2;*/
}
.invictory-upw-widget .post-item.post-item-bg-img .post-wrapper .post-content .title a {
	color: white;
	font-weight: bold;
}
.invictory-upw-widget .post-item.post-item-bg-img .post-wrapper .post-content .meta {
	/*order: 3;*/
	color: #eaeaea;
    font-size: 9px;
}
.invictory-upw-widget .post-item.post-item-bg-img .post-wrapper .post-content .categories {
	text-shadow: none;
}

.invictory-upw-widget .post-item.post-item-bg-img .post-wrapper .post-content .excerpt {
	color: white;
}
.invictory-upw-widget .post-item.post-item-bg-img .post-wrapper .post-content .link a {
	color: white;
}

.invictory-upw-widget.backgrounds-with-wide-first .post-item.first_post {
	width: 100%!important;
}


.invictory-upw-widget .post-item.post-item-left-img .image {
	height: 110px;
	width: 30%;
	min-width: 30%;
	text-decoration: none;
	border: none;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

@media (max-width: 425px) {
	.invictory-upw-widget .post-item.post-item-left-img .image {
		height: 100px;
		width: 50%;
		min-width: 50%;
	}
}
@media (min-width: 768px) and (max-width: 1024px) {
	.invictory-upw-widget .post-item.post-item-left-img .image {
		height: 80px;
		width: 30%;
		min-width: 30%;
	}
}

.invictory-upw-widget .post-item.post-item-simple .image {
	display: block;
	height: 25vw;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	text-decoration: none;
}

.invictory-upw-widget .post-item .title {
	font-size: 14px;
	width: 100%;
	cursor: default;
}
.invictory-upw-widget .post-item .title a:hover {
	text-decoration: underline;
}

.invictory-upw-widget .post-item .meta {
	display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    color: #ababab;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 300;
    width: 100%;
    cursor: default;
}

.invictory-upw-widget .post-item .categories {
	width: 100%;
}

.invictory-upw-widget .post-item .categories a {
	display: inline-block;
    padding: 0px 5px;
    font-size: 12px;
    color: white;
    background: #299dcc;
    border-radius: 3px;
    text-decoration: none;
    position: relative;
	transition: all 0.2s ease 0s;
	top: 0;
}
.invictory-upw-widget .post-item .categories a:hover {
	top: -2px;
}

.invictory-upw-widget .post-item .categories a .count {
	background: none;
	color: #d4d4d4;
    font-size: 10px;
    padding: 0;
    float: none;
}

.invictory-upw-widget .post-item .excerpt {
	font-size: 12px;
	width: 100%;
	color: #777;
	cursor: default;
}

.invictory-upw-widget .post-item .link {
	font-size: 14px;
	width: 100%;
	text-align: right;
}
.invictory-upw-widget .post-item .link a:hover {
	text-decoration: underline;
}


.invictory-upw-widget .post-item.post-item-left-img .post-content {
	display: flex;
	flex-wrap: wrap;
	padding-left: 15px;
}

/* COLUMNS */
	.invictory-upw-widget.clmn-1 .posts-list .post-item {
		width: 100%;
	}
	.invictory-upw-widget.clmn-2 .posts-list .post-item {
		width: 50%;
	}
	@media (max-width: 425px) {
		.invictory-upw-widget.clmn_ad-2 .posts-list .post-item {
			width: 100%;
		}
	}
	@media (min-width: 425px) and (max-width: 768px) {
		.invictory-upw-widget.clmn_ad-2 .posts-list .post-item {
			width: 100%;
		}
	}
	@media (min-width: 768px) and (max-width: 1024px) {
		.invictory-upw-widget.clmn_ad-2 .posts-list .post-item {
			width: 50%;
		}
	}
	@media (min-width: 1024px) {
		.invictory-upw-widget.clmn_ad-2 .posts-list .post-item {
			width: 50%;
		}
	}
	.invictory-upw-widget.clmn-3 .posts-list .post-item {
		width: 33.3%;
	}
	@media (max-width: 425px) {
		.invictory-upw-widget.clmn_ad-3 .posts-list .post-item {
			width: 100%;
		}
	}
	@media (min-width: 425px) and (max-width: 768px) {
		.invictory-upw-widget.clmn_ad-3 .posts-list .post-item {
			width: 100%;
		}
	}
	@media (min-width: 768px) and (max-width: 1024px) {
		.invictory-upw-widget.clmn_ad-3 .posts-list .post-item {
			width: 33.3%;
		}
	}
	@media (min-width: 1024px) {
		.invictory-upw-widget.clmn_ad-3 .posts-list .post-item {
			width: 33.3%;
		}
	}
	.invictory-upw-widget.clmn-4 .posts-list .post-item {
		width: 25%;
	}
	@media (max-width: 425px) {
		.invictory-upw-widget.clmn_ad-4 .posts-list .post-item {
			width: 100%;
		}
	}
	@media (min-width: 425px) and (max-width: 768px) {
		.invictory-upw-widget.clmn_ad-4 .posts-list .post-item {
			width: 50%;
		}
	}
	@media (min-width: 768px) and (max-width: 1024px) {
		.invictory-upw-widget.clmn_ad-4 .posts-list .post-item {
			width: 25%;
		}
		.invictory-upw-widget .post-item.post-item-simple .image {
			height: 15vw;
		}
	}
	@media (min-width: 1024px) {
		.invictory-upw-widget.clmn_ad-4 .posts-list .post-item {
			width: 25%;
		}
		.invictory-upw-widget .post-item.post-item-simple .image {
			height: 170px;
		}
	}
/* /COLUMNS */


/* LEFT_BIG_GRID */
	.invictory-post-grid-widget .left-big-grid {
		display: flex;
	}

	.invictory-post-grid-widget .left-big-grid .post-item {
		padding: 5px;
	}

	.invictory-post-grid-widget .left-big-grid .big-side-post {
		width: 60%;
	}

	.invictory-post-grid-widget .left-big-grid .small-other-posts {
		width: 40%;
	}
	@media (max-width: 768px) {
		.invictory-post-grid-widget .left-big-grid {
			flex-wrap: wrap;
		}

		.invictory-post-grid-widget .left-big-grid .big-side-post {
			width: 100%;
		}

		.invictory-post-grid-widget .left-big-grid .small-other-posts {
			width: 100%;
		}
		.invictory-post-grid-widget .left-big-grid .big-side-post .post-item-bg-img .post-wrapper .excerpt {
			display: none;
		}
		.invictory-post-grid-widget .left-big-grid .big-side-post .post-item-bg-img .post-wrapper {
			height: 35vw;
		}
	}
	@media (max-width: 425px) {
		.invictory-post-grid-widget .left-big-grid .big-side-post .post-item-bg-img .post-wrapper {
			height: 45vw;
		}
	}
	@media (min-width: 768px) {
		.invictory-post-grid-widget .left-big-grid .big-side-post .post-item-bg-img {
			height: 98%;
		}
		.invictory-post-grid-widget .left-big-grid .big-side-post .post-item-bg-img .post-wrapper {
			height: 100%;
		}
	}
/* /LEFT_BIG_GRID */

/* LEFT_BIG_RIGHT_2_COL_GRID */
	.invictory-post-grid-widget .left-big-right-2-col-grid {
		display: flex;
	}

	.invictory-post-grid-widget .left-big-right-2-col-grid .post-item {
		padding: 5px;
	}

	.invictory-post-grid-widget .left-big-right-2-col-grid .big-side-post {
		width: 50%;
	}

	.invictory-post-grid-widget .left-big-right-2-col-grid .small-other-posts {
		width: 50%;
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		align-items: flex-start;
	}

	.invictory-post-grid-widget .left-big-right-2-col-grid .small-other-posts .post-item {
		width: calc(50% - 10px);
	}

	.invictory-post-grid-widget .left-big-right-2-col-grid .small-other-posts .post-item.post-item-bg-img .post-wrapper {
		height: 20vw;
	}

	@media (max-width: 768px) {
		.invictory-post-grid-widget .left-big-right-2-col-grid {
			flex-wrap: wrap;
		}

		.invictory-post-grid-widget .left-big-right-2-col-grid .big-side-post {
			width: 100%;
		}

		.invictory-post-grid-widget .left-big-right-2-col-grid .small-other-posts {
			width: 100%;
		}
		.invictory-post-grid-widget .left-big-right-2-col-grid .big-side-post .post-item-bg-img .post-wrapper .excerpt {
			display: none;
		}
		.invictory-post-grid-widget .left-big-right-2-col-grid .big-side-post .post-item-bg-img .post-wrapper {
			height: 35vw;
		}
	}
	@media (max-width: 425px) {
		.invictory-post-grid-widget .left-big-right-2-col-grid .big-side-post .post-item-bg-img .post-wrapper {
			height: 45vw;
		}
	}
	@media (min-width: 768px) {
		.invictory-post-grid-widget .left-big-right-2-col-grid .big-side-post .post-item-bg-img {
			height: 98.35%;
		}
		.invictory-post-grid-widget .left-big-right-2-col-grid .big-side-post .post-item-bg-img .post-wrapper {
			height: 100%;
		}
	}
/* /LEFT_BIG_RIGHT_2_COL_GRID */




