/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.0
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

/**
 * General design
 */
.otgs-development-site-front-end {
	display: none;
}
a {
	text-decoration: none;
}
a:hover {
	color: #2e2b36;
}
.masthead header.header-bar .branding img {
	width: auto;
	max-height: 80px;
}
.masthead .mobile-header-bar .mobile-branding img {
	width: auto;
	max-height: 80px;
}
#phantom.masthead .logo-box img {
	width: auto;
	max-height: 70px;
}
.side-header .header-bar .main-nav {
	margin-top: 20px;
}
.mobile-header-bar .mobile-branding {
	max-width: 50%;
}
#main {
	min-height: calc(100vh - 352px);
}
body.error404 #main,
body.search #main {
	padding-top: 70px;
	padding-bottom: 70px;
	min-height: calc(100vh - 271px);
}
@media only screen and (max-width:991px) {
	.ing-reorder > div:first-of-type {
		order: 3;
	}
}

/**
 * Content design
 */
#front-logo img {
	width: 100%;
	max-width: 350px;
}
.ing-horizontal-list > div > ul {
	list-style: none;
	display: flex;
	justify-content: center;
		flex-direction: column;
		align-items: center;
	margin: 0;
	padding: 0;
}
.ing-horizontal-list > div > ul > li {
	position: relative;
	/*margin-left: 9px;*/
		margin-left: 0;
		margin-top: 9px;
	padding: 4px 8px;
		width: 30%;
		min-width: 220px;
	border: 1px solid #b3b3b3;
	text-align: center;
	text-transform: uppercase;
	font-family: "Roboto Slab", Helvetica, Arial, Verdana, sans-serif;
	font-size: 14px;
}
.ing-horizontal-list > div > ul > li:first-of-type {
		margin-top: 0;
	margin-left: 0;
}
.ing-horizontal-list > div > ul > li:before {
	position: absolute;
/*
	top: 50%;
	left: -10px;
	transform: translate(0, -50%);
*/
		top: -10px;
		left: 50%;
		transform: translate(-50%, 0);
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
/*
	border-width: 5px 0 5px 10px;
	border-color: transparent transparent transparent #b3b3b3;
*/
		border-width: 10px 5px 0 5px;
		border-color: #b3b3b3 transparent transparent transparent;
}
.ing-horizontal-list > div > ul > li:first-of-type:before {
	content: normal;
}
.ing-modal-btn button {
	border: 0 !important;
	border-radius: 0 !important;
	font-family: "Roboto Slab", Helvetica, Arial, Verdana, sans-serif !important;
	font-weight: bold !important;
}
.left-icon .aio-icon-left {
	vertical-align: middle !important;
}
#voimalused .wpbs-calendar {
	float: none;
	margin: 0 auto;
	background-color: transparent;
}
#voimalused .wpbs-calendar-wrapper {
	padding: 0 7px;
}
#voimalused .wpbs-calendar thead th {
	padding-bottom: 0 !important;
}
#voimalused .wpbs-calendar .wpbs-legend-item-1 .wpbs-legend-item-icon-1 div:first-of-type {
	background-color: rgba(87,140,124,.2);
}
#voimalused .wpbs-calendar .wpbs-legend-item-1.wpbs-date-today .wpbs-legend-item-icon-1 div:first-of-type {
	background-color: rgba(87,140,124,.7);
	/*background-color: rgba(211,33,40,.2);*/
}
#voimalused .wpbs-calendar .wpbs-legend-item-1.wpbs-date-today .wpbs-date-number {
	color: #fff !important;
}
#voimalused .wpbs-calendar .wpbs-legend-item-2 .wpbs-legend-item-icon-2 div:first-of-type {
	background-color: rgba(179,179,179,.2);
}
/* Color combination - https://www.canva.com/learn/100-color-combinations/ #32 [Roheline #A1BE95 | Kollane #E2DFA2 | Sinine #92AAC7 | Punane #ED5752] */
/* 1/4 available days */
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="3"] .wpbs-legend-item-icon-2 div:first-of-type,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="4"] .wpbs-legend-item-icon-2 div:first-of-type,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="5"] .wpbs-legend-item-icon-2 div:first-of-type,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="6"] .wpbs-legend-item-icon-2 div:first-of-type,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="7"] .wpbs-legend-item-icon-2 div:first-of-type,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="8"] .wpbs-legend-item-icon-2 div:first-of-type,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="9"] .wpbs-legend-item-icon-2 div:first-of-type,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="10"] .wpbs-legend-item-icon-2 div:first-of-type {
	/*background: linear-gradient(to right, #A1BE95 0%, #A1BE95 50%, #E2DFA2 50%, #E2DFA2 100%), linear-gradient(to right, #92AAC7 0%, #92AAC7 50%, #ED5752 50%, #ED5752 100%);*/
	background: linear-gradient(to right, #A1BE95 0%, #A1BE95 50%, #E2DFA2 50%, #E2DFA2 100%), linear-gradient(to right, #92AAC7 0%, #92AAC7 50%, rgba(179,179,179,.2) 50%, rgba(179,179,179,.2) 100%);
	background-size: 100% 50%;
	background-position: center top, center bottom;
	background-repeat: no-repeat;
}
/* 2/4 available days */
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="13"] .wpbs-legend-item-icon-2 div:first-of-type,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="14"] .wpbs-legend-item-icon-2 div:first-of-type,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="15"] .wpbs-legend-item-icon-2 div:first-of-type,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="16"] .wpbs-legend-item-icon-2 div:first-of-type,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="17"] .wpbs-legend-item-icon-2 div:first-of-type,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="18"] .wpbs-legend-item-icon-2 div:first-of-type,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="19"] .wpbs-legend-item-icon-2 div:first-of-type,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="20"] .wpbs-legend-item-icon-2 div:first-of-type {
	/*background: linear-gradient(to right, #A1BE95 0%, #A1BE95 50%, #E2DFA2 50%, #E2DFA2 100%), linear-gradient(to right, #92AAC7 0%, #92AAC7 50%, #ED5752 50%, #ED5752 100%);*/
	background: linear-gradient(to right, #A1BE95 0%, #A1BE95 50%, rgba(179,179,179,.2) 50%, rgba(179,179,179,.2) 100%), linear-gradient(to right, rgba(179,179,179,.2) 0%, rgba(179,179,179,.2) 50%, #ED5752 50%, #ED5752 100%);
	background-size: 100% 50%;
	background-position: center top, center bottom;
	background-repeat: no-repeat;
}
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="3"] .wpbs-date-number,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="4"] .wpbs-date-number,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="5"] .wpbs-date-number,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="6"] .wpbs-date-number,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="7"] .wpbs-date-number,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="8"] .wpbs-date-number,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="9"] .wpbs-date-number,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="10"] .wpbs-date-number,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="13"] .wpbs-date-number,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="14"] .wpbs-date-number,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="15"] .wpbs-date-number,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="16"] .wpbs-date-number,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="17"] .wpbs-date-number,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="18"] .wpbs-date-number,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="19"] .wpbs-date-number,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2024"][data-month="10"][data-day="20"] .wpbs-date-number {
	color: #fff !important;
}
/* Striped half available days */
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2023"][data-month="5"][data-day="17"] .wpbs-legend-item-icon-2 div:first-of-type,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2023"][data-month="5"][data-day="18"] .wpbs-legend-item-icon-2 div:first-of-type,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2023"][data-month="5"][data-day="19"] .wpbs-legend-item-icon-2 div:first-of-type,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2023"][data-month="5"][data-day="20"] .wpbs-legend-item-icon-2 div:first-of-type,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2023"][data-month="5"][data-day="21"] .wpbs-legend-item-icon-2 div:first-of-type,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2023"][data-month="5"][data-day="22"] .wpbs-legend-item-icon-2 div:first-of-type,
#voimalused .wpbs-calendar .wpbs-legend-item-2[data-year="2023"][data-month="5"][data-day="23"] .wpbs-legend-item-icon-2 div:first-of-type {
	background: repeating-linear-gradient(
	  45deg,
	  rgba(87,140,124,.2),
	  rgba(87,140,124,.2) 10px,
	  rgba(179,179,179,.2) 10px,
	  rgba(179,179,179,.2) 20px
	);
}
#voimalused .wpbs-calendar .wpbs-prev,
#voimalused .wpbs-calendar .wpbs-next {
	background-color: #2e2b36;
}
#voimalused .wpbs-calendar .wpbs-prev:hover,
#voimalused .wpbs-calendar .wpbs-next:hover {
	background-color: #d32128;
}
@media only screen and (max-width:768px) {
	.ing-horizontal-list > div > ul {
		flex-direction: column;
		align-items: center;
	}
	.ing-horizontal-list > div > ul > li {
		margin-left: 0;
		margin-top: 9px;
		width: 30%;
		min-width: 150px;
	}
	.ing-horizontal-list > div > ul > li:first-of-type {
		margin-top: 0;
	}
	.ing-horizontal-list > div > ul > li:before {
		top: -10px;
		left: 50%;
		transform: translate(-50%, 0);
		border-width: 10px 5px 0 5px;
		border-color: #b3b3b3 transparent transparent transparent;
	}
}
