/*
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;
}

.grecaptcha-badge {
	visibility: hidden;
}

a {
	text-decoration: none;
}

a:hover {
	color: #404040;
}

#content .wpb_text_column p b,
#content .wpb_text_column p strong,
#footer .textwidget b,
#footer .textwidget strong {
	font-weight: 600 !important;
}

#main {
	min-height: calc(100vh - 481px);
}

body.error404 #main,
body.search #main {
	padding-top: 30px;
	padding-bottom: 50px;
	min-height: calc(100vh - 473px);
}

body.error404 #main #content {
	min-height: 0 !important;
}

body.wpml-et:not(.home) li.act > a .menu-text,
body.wpml-et:not(.home) li:not(.act):hover > a .menu-text {
	color: #8c774c !important;
}

.pak-web .masthead .header-bar .branding img {
	width: auto;
	max-height: 60px;
}

.masthead .mobile-header-bar .mobile-branding img {
	width: auto;
	max-height: 40px;
}

.masthead .mini-wpml .wpml-ls-legacy-dropdown {
	width: auto;
}

.masthead .mini-wpml .wpml-ls-legacy-dropdown a,
.masthead .mini-wpml .wpml-ls-sub-menu {
	border: 0;
	background-color: transparent;
}

.masthead .mini-wpml .wpml-ls-sub-menu {
	background-color: #f6f6f6;
}

.masthead .mini-wpml .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after {
	top: 50%;
	transform: translate(0, -50%);
	content: "\f078";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 10px;
	border: 0;
}

/**
 * Content
 */

.pt-logo-slider .slick-track {
	display: flex;
	align-items: center;
}

.tootukassa-svg img {
	width: 189px;
	height: 60px;
}

.kaasrahastus-svg img {
	width: 138px;
	height: 80px;
}

.tan-svg img {
	width: 165px;
	height: 48px;
}

.ivek-svg img {
	width: 300px;
	height: 43px;
}

.tartu-svg img {
	width: 156px;
	height: 60px;
}

.pt-front-grid > .vc_column-inner > .wpb_wrapper,
.pt-front-grid .dt-owl-item > .vc_row > .vc_column_container > .vc_column-inner > .wpb_wrapper {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.pt-front-grid .owl-carousel,
.pt-front-grid .owl-stage-outer,
.pt-front-grid .owl-stage,
.pt-front-grid .dt-owl-item,
.pt-front-grid .dt-owl-item > .vc_row,
.pt-front-grid .dt-owl-item > .vc_row > .vc_column_container,
.pt-front-grid .dt-owl-item > .vc_row > .vc_column_container > .vc_column-inner {
	height: 100%;
}

.pt-text-on-image,
.pt-text-on-image > a {
	position: relative;
	display: block;
}

.pt-bubble {
	position: absolute;
	top: 10px;
	left: 10px;
	width: 20%;
}

.pt-text-on-image:not(.no-cover) > a:before {
	content: "";
	position: absolute;
	display: block;
	top: 0;
	bottom: 0;
	width: 100%;
	background-color: rgba(0,0,0,.3);
	z-index: 1;
}

.pt-text-on-image.alternative-filter > a:before {
	background-color: rgba(85, 128, 0, .7);
}

.pt-text-on-image.alternative-filter-2 > a:before {
	background-color: rgba(179, 36, 0, .6);
}

.pt-text-on-image .uvc-heading.pt-top-text .uvc-main-heading {
	position: absolute;
	top: 10px;
	width: 100%;
	padding: 0 10px;
	text-shadow: 2px 2px 2px rgba(0,0,0,0.6);
	z-index: 3;
}

.pt-text-on-image .uvc-heading.pt-top-text .uvc-main-heading strong {
	display: inline-block;
	width: 100%;
}

.pt-text-on-image .uvc-heading.pt-top-text .uvc-sub-heading {
	position: absolute;
	top: 50%;
	transform: translate(0, -50%);
	width: 100%;
	padding: 0 10px;
	text-shadow: 2px 2px 2px rgba(0,0,0,0.6);
	z-index: 3;
}

.pt-text-on-image .uvc-heading.pt-top-text .uvc-sub-heading strong {
	color: #FF4200;
}

.pt-text-on-image .uvc-heading.pt-bottom-text .uvc-main-heading {
	position: absolute;
	bottom: 10px;
	width: 100%;
	padding: 0 10px;
	text-shadow: 2px 2px 2px rgba(0,0,0,0.6);
	z-index: 3;
}

.pt-text-on-image .uvc-heading.pt-bottom-text.pt-no-shadow .uvc-main-heading {
	text-shadow: none;
}

.pt-text-on-image .uvc-heading.pt-bottom-text .uvc-main-heading strong {
	display: inline-block;
	width: 100%;
}

.pt-block-after-image {
	height: 100%;
}

.pt-block-after-image > .ult-content-box {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	row-gap: 20px;
	height: 100%;
}

.pt-front-grid .owl-stage .pt-block-after-image > .ult-content-box {
	justify-content: flex-start;
	align-items: flex-start;
	align-content: flex-start;
	height: auto;
}

.pt-block-after-image > .ult-content-box:after {
	display: none;
}

.pt-block-after-image > .ult-content-box > .uvc-heading:first-child {
	flex: 0 0 100%;
	margin-bottom: auto;
}

.pt-block-after-image > .ult-content-box > .btn-align-left {
	align-self: flex-end;
}

.pt-front-grid .owl-stage .dt-btn,
.pt-front-grid .owl-stage .pt-block-after-image > .ult-content-box > .pt-project-reg-navi,
.pt-front-grid .owl-stage .pt-block-after-image > .ult-content-box > .pt-project-modal-navi,
.pt-front-grid .owl-stage .pt-block-after-image > .ult-content-box > .carousel-item-wrap:not(:first-child) {
	/* align-self: flex-start; */
}

.pt-block-after-image > .ult-content-box > .wpb_single_image,
.pt-block-after-image > .ult-content-box > .uvc-heading {
	margin-left: auto;
	align-self: flex-end;
}

.pt-front-grid .owl-stage .pt-block-after-image > .ult-content-box > .wpb_single_image {
	flex: 1 1 100%;
	text-align: right;
	margin-top: auto;
}

.pt-text-after-image strong {
	font-size: inherit;
	color: #FF4200;
}

.pt-text-after-image.pt-blue-text strong {
	color: #1A459C;
}

.pt-text-after-image.pt-blue-text h4 {
	font-family: "Open Sans", Helvetica, Arial, Verdana, sans-serif;
	font-size: inherit;
	color: #FF4200;
}

.pt-flag-icon {
	display: inline-block;
	width: 18px;
	height: 12px;
	background-color: #0f0;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}

.pt-front-grid .owl-dots .owl-dot span,
.pt-front-grid .owl-dots .owl-dot:hover span {
	width: 30px !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	background-position: center center !important;
	border: 0;
}

.pt-front-grid .owl-dots .owl-dot.active span {
	opacity: 0.2;
}

.pt-front-grid .owl-dots .owl-dot:nth-child(1) span,
.pt-flag-icon.pt-flag-en {
	background-image: url("/wp-content/plugins/sitepress-multilingual-cms/res/flags/en.svg") !important;
}

.pt-front-grid .owl-dots .owl-dot:nth-child(2) span,
.pt-flag-icon.pt-flag-ru {
	background-image: url("/wp-content/plugins/sitepress-multilingual-cms/res/flags/ru.svg") !important;
}

.pt-front-grid .owl-dots .owl-dot:nth-child(3) span,
.pt-flag-icon.pt-flag-ua {
	background-image: url("/wp-content/plugins/sitepress-multilingual-cms/res/flags/uk.svg") !important;
}

.pt-front-grid .owl-dots .owl-dot:nth-child(4) span,
.pt-flag-icon.pt-flag-et {
	background-image: url("/wp-content/plugins/sitepress-multilingual-cms/res/flags/et.svg") !important;
}

#pt-training-navi .wpb_wrapper {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#pt-estukr-project #about {
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#fdd900+15,fdd900+15,ffffff+50&1+0,0+100 */
	background: linear-gradient(160deg,  rgba(253,217,0,1) 0%,rgba(253,217,0,0.85) 20%,rgba(255,255,255,0.5) 50%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

#pt-estukr-project #pt-project-bubble h1 {
	margin-top: -70px;
	transform: rotate(-7.5deg);
}

#pt-estukr-project #pt-project-bubble .wpb_single_image.kaasrahastus-svg .vc_single_image-wrapper {
	background-color: #fff;
}

.dt-btn.pt-project-navi {
	color: #1A459C !important;
	border-color: #1A459C !important;
}

.dt-btn.pt-project-navi:hover {
	background-color: #FFCD02 !important;
}

.dt-btn.pt-project-navi-blue {
	color: #1A459C !important;
	border-color: #1A459C !important;
}

.dt-btn.pt-project-navi-blue:hover {
	color: #FFF !important;
	background-color: #1A459C !important;
}

.dt-btn.pt-project-navi-yellow {
	color: #FFCD02 !important;
	border-color: #FFCD02 !important;
}

.dt-btn.pt-project-navi-yellow:hover {
	color: #FFF !important;
	background-color: #FFCD02 !important;
}

#pt-training-navi .dt-btn.dt-btn-m:not(.pt-project-navi) {
	color: #333333 !important;
	background-image: url("images/menyy-taust.png") !important;
	background-repeat: repeat-x;
	background-size: auto 100%;
	border-color: #734925 !important;
}
.ult_modal-content .ult_modal-body.ult-html {
	max-height: 80vh;
	overflow: auto;
}
.btn-modal.btn-modal-lg,
.btn-modal.btn-modal-block,
.dt-btn.pt-reg-navi {
	padding: 12px 24px;
	border: 1px solid #734925 !important;
	border-radius: 50px;
	color: #fff !important;
	font-family: "Open Sans", Helvetica, Arial, Verdana, sans-serif;
	font-size: 15px;
	line-height: 17px;
	background-color: #734925 !important;
}

.dt-btn.pt-project-navi.pt-reg-navi,
.pt-project-modal-navi .btn-modal {
	background-image: url("images/projekti-menyy-taust.png") !important;
	background-repeat: no-repeat !important;
	background-position: 40% center !important;
	background-size: cover !important;
	border-color: #1A459C !important;
}

#pt-training-navi .dt-btn.dt-btn-m:not(.pt-project-navi):hover,
.dt-btn.pt-reg-navi:hover,
.btn-modal.btn-modal-lg:hover,
.btn-modal.btn-modal-block:hover {
	color: #8c774c !important;
}

.dt-btn.pt-project-navi.pt-reg-navi:hover,
.pt-project-modal-navi button.btn-modal:hover {
	color: #FFCD02 !important;
}

.wpcf7 .wpcf7-form br {
	display: none;
}

.wpcf7 .wpcf7-form p > label {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 5px;
	margin-bottom: 10px;
}

.wpcf7 .wpcf7-form p > label input:not([type="radio"]):not([type="checkbox"]),
.wpcf7 .wpcf7-form p > label select {
	margin-bottom: 0;
}

.wpcf7 .wpcf7-form label > span.wpcf7-form-control-wrap {
	max-width: 50%;
}

.wpcf7 .wpcf7-form label > span.wpcf7-form-control-wrap:first-of-type {
	margin-left: auto;
}

.wpcf7 .wpcf7-form label > span.wpcf7-form-control-wrap .wpcf7-radio label {
	white-space: nowrap;
}

.wpcf7 .wpcf7-form .wpcf7-radio.wpcf7-not-valid .wpcf7-list-item-label,
.wpcf7 .wpcf7-form .wpcf7-checkbox.wpcf7-not-valid .wpcf7-list-item-label {
	color: #dc3232;
}

.wpcf7 .wpcf7-form .wpcf7-file.wpcf7-not-valid {
	border: 2px solid #f55b5f !important;
}

.wpcf7 .wpcf7-form p > label input[disabled],
.wpcf7 .wpcf7-form p > label select[disabled] {
	background-color: #f2f2f2 !important;
}

.wpcf7 .wpcf7-form p > label select[name="osaleja-lived-m"] option[value="0"] {
	display: none;
}

.wpcf7 .wpcf7-submit:hover {
	background-color: #8c774c;
}

.wpcf7 .wpcf7-submit[disabled] {
	opacity: 0.3;
}

.standard-arrow.bullet-top li:before {
	display: none;
}

.standard-arrow.bullet-top li:after {
	content: "";
	width: 18px;
	height: 18px;
	background-image: url("images/check-icon.svg");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

.uvc-heading.pt-koolitus-title .uvc-main-heading > * {
	color: #8c774c;
}

#pt-estukr-project #about .standard-arrow.bullet-top h4,
.uvc-heading.pt-blue-title .uvc-main-heading > * {
	color: #1A459C;
}

#pt-estukr-project #about .standard-arrow.bullet-top h4 strong {
	color: #FF4200;
}

.uvc-heading.pt-blue-title .uvc-main-heading h2 strong {
	display: inline-block;
	padding: 0 5px;
	background-color: #FFCD02;
}

.uvc-heading.pt-blue-title .uvc-main-heading h2 em {
	color: #FF4200;
	font-style: normal;
}

.uvc-heading.pt-blue-title.pt-center-marker ul {
	list-style-position: inside;
}

.uvc-heading.pt-blue-title ul {
	list-style: square;
}

.uvc-heading.pt-blue-title ul li::marker {
    color: #FF4200;
	font-weight: bold;
	font-size: 20px;
}

.uvc-heading.pt-blue-title.pt-center-marker ul li::marker {
	color: #FFCD02;
}

.uvc-heading.pt-blue-title ol li::marker {
    color: #FFCD02;
	font-weight: bold;
}

.dt-team-shortcode.pt-blue-team .team-container a.dt-btn {
	color: #1A459C;
	border-color: #1A459C;
}

.dt-team-shortcode.pt-blue-team .team-container a.dt-btn:hover {
	color: #fff;
	background-color: #1A459C !important;
	border-color: #1A459C !important;
}

#pt-mentors > .vc_column_container > .vc_column-inner,
#pt-mentors > .vc_column_container > .vc_column-inner > .wpb_wrapper,
#pt-mentors .dt-team-masonry-shortcode,
#pt-mentors .dt-css-grid,
#pt-mentors .team-desc {
	height: 100%;
}

#pt-mentors .team-desc {
	/*justify-content: space-between;*/
}

#pt-mentors .team-desc .dt-btn {
	margin-top: auto;
}

.sidebar-content .widget.widget_text .textwidget {
	text-align: center;
}

#content > .wpb-content-wrapper > .vc_row:not(#pt-estukr-project) .sidebar-content .widget_presscore-testimonials-slider .widget-title {
	color: #FF4200;
}

.sidebar-content .widget_presscore-testimonials-slider .testimonial-content * {
	color: #000 !important;
}

.sidebar-content .widget_presscore-testimonials-slider .testimonial-vcard * {
	color: #8c774c !important;
}

.sidebar-content .widget_presscore-testimonials-slider .testimonial-vcard .text-primary {
	font-weight: bold;
}

.testimonials-carousel-shortcode .owl-dots {
	width: 100%;
	text-align: center;
}

.content .ultimate-map-wrapper {
	margin-bottom: 0 !important;
}

@media only screen and (max-width: 1180px) {

	#pt-estukr-project #pt-project-bubble h1 {
		margin-top: -20px;
		font-size: 36px;
		line-height: 42px;
	}
	
}

@media only screen and (min-width: 779px) and (max-width: 1040px) {

	.pt-block-after-image > .ult-content-box {
		flex-direction: column;
	}

	.pt-block-after-image > .ult-content-box > .wpb_single_image,
	.pt-block-after-image > .ult-content-box > .uvc-heading	{
		margin-left: 0;
		align-self: center;
		text-align: center;
	}

	.pt-front-grid .owl-stage .carousel-item-wrap:first-child {
		margin-bottom: auto;
	}

	.pt-block-after-image > .ult-content-box > .uvc-heading:first-child {
		flex: 0 1 auto;
	}

	.pt-front-grid .owl-stage .dt-btn,
	.pt-block-after-image > .ult-content-box > .btn-align-left,
	.pt-block-after-image > .ult-content-box > .pt-project-reg-navi,
	.pt-block-after-image > .ult-content-box > .pt-project-modal-navi,
	.pt-block-after-image > .ult-content-box > .carousel-item-wrap:not(:first-child) {
		align-self: flex-start;
	}

}

@media only screen and (min-width: 779px) and (max-width: 991px) {

	.vert-tablet-reverse-col {
		flex-direction: column-reverse;
	}

	.pt-text-on-image .uvc-heading.pt-top-text .uvc-main-heading,
	.pt-text-on-image .uvc-heading.pt-bottom-text .uvc-main-heading {
		display: none;
	}

}

@media only screen and (max-width: 991px) {

	#pt-training-navi .wpb_wrapper {
		flex-direction: row;
		flex-wrap: wrap;
	}

	#pt-training-navi .btn-align-center,
	#pt-training-navi .ult-modal-input-wrapper	{
		flex: 1 1 calc(50% - 12px);
		width: 50%;
	}

}

@media only screen and (max-width: 778px) {

	.pt-front-grid .owl-carousel,
	.pt-front-grid .owl-stage-outer,
	.pt-front-grid .owl-stage,
	.pt-front-grid .dt-owl-item > .vc_row > .vc_column_container > .vc_column-inner > .wpb_wrapper,
	.owl-carousel .pt-block-after-image > .ult-content-box {
		height: auto;
	}

	.pt-front-grid .owl-stage .dt-btn,
	.pt-block-after-image > .ult-content-box > .btn-align-left,
	.pt-block-after-image > .ult-content-box > .pt-project-reg-navi,
	.pt-block-after-image > .ult-content-box > .pt-project-modal-navi,
	.pt-block-after-image > .ult-content-box > .carousel-item-wrap:not(:first-child) {
		align-self: flex-end;
	}

	.owl-carousel .pt-block-after-image > .ult-content-box,
	.pt-block-after-image > .ult-content-box {
		flex-direction: row;
		align-items: center;
	}

	.pt-block-after-image > .ult-content-box > .wpb_single_image,
	.pt-block-after-image > .ult-content-box > .uvc-heading	{
		margin-left: auto;
		align-self: flex-end;
	}

	#pt-estukr-project #pt-project-bubble h1 {
		margin-top: 0;
		width: 80vw;
		max-width: 500px;
		font-size: 32px;
		line-height: 38px;
	}

	#pt-estukr-project #pt-project-bubble .wpb_single_image:not(.kaasrahastus-svg) img {
		margin-top: -70px;
		width: 20vw;
	}

	#pt-mentors .team-desc .dt-btn {
		margin-top: 0;
	}

}

@media only screen and (max-width: 620px) {

	.pt-block-after-image > .ult-content-box > .wpb_single_image,
	.pt-block-after-image > .ult-content-box > .uvc-heading {
		flex: 0 0 100%;
		margin-left: 0;
		align-self: center;
		text-align: center;
	}

	#pt-training-navi .dt-btn.dt-btn-m {
		padding: 15px 5px;
	}

	.wpcf7 .wpcf7-form p > label {
		flex-direction: column;
		align-items: flex-start;
	}

	.wpcf7 .wpcf7-form p > label input:not([type="radio"]):not([type="checkbox"]),
	.wpcf7 .wpcf7-form p > label select {
		flex: 1 1 100%;
		width: 100%;
	}

	.wpcf7 .wpcf7-form label > span.wpcf7-form-control-wrap,
	.wpcf7 .wpcf7-form label > span.wpcf7-form-control-wrap:first-of-type {
		margin-left: 0;
		flex: 1 1 100%;
		width: 100%;
		max-width: 100%;
	}

}

@media only screen and (max-width: 480px) {

	#pt-estukr-project #pt-project-bubble h1 {
		width: calc(100vw - 50px);
		max-width: none;
		font-size: 28px;
		line-height: 34px;
	}

	#pt-estukr-project #pt-project-bubble .wpb_single_image:not(.kaasrahastus-svg) img {
		margin-top: -50px;
		width: 30vw;
	}

}
