/*
Theme Name: Transparency
Theme URI:
Author: LatteCreative
Author URI: https://www.lattecreative.com
Description:
Version: 1.0
Text Domain: ts
*/


.img-caption-over {
	position: absolute;
    bottom: 10px;
    right: 10px;
	font-size: 11px;
	background: rgba(255,255,255,0.5);
    padding: 5px 8px;
	font-family: "Open Sans";
}

/* Menu dropdowns */

.navbar .menu ul li {
	padding: 10px 0;
}
.navbar li .sub-menu {
	display: none;
	position: absolute;
	//display: block;
	min-width: 220px;
	top: 48px;
	box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
}
.navbar li:hover .sub-menu {
	display: block;
}
.navbar li .sub-menu li {
	margin: 0px 0;
	border-bottom: 1px solid #999;
    width: 100%;
    //background: #f5f6f7;
	background: #fff;
}
.navbar li .sub-menu li:first-child {
	margin-top: 1px;
}
.navbar li .sub-menu li a {
	color: #000;
	display: block;
    padding: 10px;
}
.navbar .menu ul li .sub-menu li:after {
	display: none !important;
}
.navbar li .sub-menu li:hover {
    background: #3695D8;
}
.navbar li .sub-menu li:hover a {
    color: #fff;
	transition: color 0s;
}

/* Mobile menu sub-elements */

.modal-menu .menu ul li .sub-menu li {
	margin: 0;
	margin-top: 5px;
}
.modal-menu .menu ul li .sub-menu li a {
	font-size: 16px;
    font-weight: 400;
}

/* Change to menu mobile switch */

@media (max-width: 1200px) {
    .navbar .menu {
        display: none;
    }
}
@media (max-width: 1200px) {
    .navbar .btn-open-menu {
        display: block;
    }
}
@media (max-width: 1200px) {
    .modal-menu {
        padding-top: 10rem;
    }
}
@media (min-width: 1200px) {
    .modal-menu {
        display: none;
    }
}
@media (max-width: 1200px) {
    .modal-menu {
        display: block;
    }
}
@media (min-width: 1201px) {
	.navbar .btn-open-menu {
		display: none !important;
	}
}

/* Menu max with adjustment */
@media (min-width: 1200px) {
    .navbar .container {
        max-width: 1200px;
    }
}

/* Overlay for homepage posts slider */
.hero-posts .overlay {
	z-index: 2;
    position: absolute;
    top: 0;
    right: initial;
    bottom: initial;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(180deg, 
		rgba(0, 0, 0, 0.7) 0%, 
		rgba(0, 0, 0, 0.3) 77.5%, 
		rgba(0, 0, 0, 0.1) 100%);
}

/* Hide excerpt from post pages and from sliders */
.content-post .excerpt {
	display: none;
}
.hero-posts .excerpt {
	display: none;
}

/* Fix for lists display in posts content */
.content-post .content .text ul,  .content .text ol{
	/* todo - add margin */
	margin-bottom: 2rem;
}
.content-post .content .text ul li {
	border: none;
	margin-bottom: 0.2rem;
	padding-bottom: 0;
	margin-left: 1rem;
}

.content-post .content .text ol li {
	/* todo - change list-style from none to correct one and fix margins too */
	//border-bottom: 1px solid #D7D7DB;
	list-style-type: decimal;
	margin-left: 1rem;
	margin-bottom: 0.2rem;
}

.content-post .content .text ol li:last-child, .content .excerpt ol li:last-child {
	border: none;
}