/*
CTC Separate Stylesheet
Updated: 2021-12-17 15:28:05
*/

/* MAIN PAGE */

h1.mainpage-banner-text {
	font-size: 4rem;
	letter-spacing: 5px;
}

h1.mainpage-banner-text strong {
	display: inline-block;
	width: 55px;
	color: var(--ast-global-color-1);
	font-weight: normal;
}

.mainpage-banner-subtext {
	color: #ddd;
	background: #46464661;
	padding: 10px 20px;
	width: 55%;
	border-radius: 2px;
}

.page .entry-header.ast-header-without-markup {
	display: none;
}

.page .spec-card {
	text-align: center;
	padding-top: 5px;
	padding-bottom: 10px;
	box-shadow: 0px 0px 0px #bdbdbd;
	transition: 0.5s;
}

.page .spec-card:hover {
	box-shadow: 1px 1px 10px #bdbdbd;
}

.page .spec-card h4 {
	color: #26262c;
}

.page .spec-card:hover h4 {
	color: #1559ac;
}

.page .spec-card:hover p {
	color: #1559ac;
}

.page .wp-block-button__link.button-white:hover {
	background-color: #d1d1d1;
}

.page .wp-block-button__link.button-blue:hover {
	background-color: #1f76e1 !important;
}

.page .chief-quote {
	height: 560px;
	padding: 2em 3em;
}

.page .chief-quote .quote-block {
	background-color: #ffffff5c;
	padding: 2em;
}

.page .chief-quote h3 {
	font-size: 270%;
	color: #000;
	text-shadow: 1px 1px 3px #ffffff;
}

.page .chief-quote h5 {
	color: #323232;
	text-shadow: 1px 1px 0px #d2d2d2;
}

.page .chief-quote .fa {
	display: block;
	font-size: 80%;
}

@media (max-width: 1200px) {
	.page .chief-quote h3 {
		font-size: 250%;
	}
}

@media (max-width: 780px) {
	h1.mainpage-banner-text {
		font-size: 3rem;
		letter-spacing: 3px;
	}

	h1.mainpage-banner-text strong {
		width: 38px;
	}

	.page .chief-quote {
		height: auto;
   		padding: 0;
	}

	.page .chief-quote .quote-block {
		padding: 1em;
	}

	.page .chief-quote h3 {
		font-size: 120%;
		line-height: 1.5em;
	}

	.page .chief-quote h5 {
		font-size: 100%;
	}

	.page .spec-card {
		padding: 5px
	}
}

@media (max-width: 540px) {
	h1.mainpage-banner-text {
		font-size: 2rem;
		letter-spacing: 2px;
	}

	h1.mainpage-banner-text strong {
		width: 26px;
	}

	.mainpage-banner-subtext {
		width: 75%;
	}
}

@media (max-width: 480px) {
	.mainpage-banner-subtext {
		width: auto;
	}
}

@media (max-width: 350px) {
	h1.mainpage-banner-text {
		font-size: 1.5rem;
		letter-spacing: 1px;
	}

	h1.mainpage-banner-text strong {
		width: 18px;
	}
}

/* HEADER */

@media (max-width: 921px) {
	header .custom-logo-link img {
		max-width: 150px;
	}
}

@media (max-width: 544px) {
	header .custom-logo-link img {
		max-width: 125px !important;
	}
}

/* MAIN MENU */

.main-header-menu .sub-menu {
	width: 320px;
}

.submenu-with-border .sub-menu .sub-menu {
	top: -2px;
}


.ast-builder-menu .main-navigation>ul {
	height: 6em;
}

.ast-builder-menu-mobile .main-navigation .menu-item > .menu-link {
	line-height: 1.7;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
	line-height: 1em;
}

button.ast-menu-toggle:focus {
	outline: none;
}

@media (max-width: 921px) {
	.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle {
		top: 11px;
	}

	.wp-block-spacer {
		display: none;
	}
}

/* INNER PAGE */

article.page {
	min-height: 800px;
	border-left: 5px solid #dfedff;
}

.page .entry-header {
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	max-width: 100vw;
	width: 100vw;
	text-align: center;
	background-color: var(--ast-global-color-0);
	padding-top: 4em;
	padding-bottom: 4em;
}

.ast-single-post .entry-title, .page-title {
	color: #fff;
	font-size: 280%;
	letter-spacing: 5px;
	margin: 0 1em 0.25em;
}

.page .entry-header {
	margin-bottom: 3em;
}

@media (max-width: 1200px) {
	article.page {
		min-height: 600px;
		border-left: 0;
	}
}

@media (max-width: 480px) {
	.page .entry-header {
		padding-top: 1em;
		padding-bottom: 1em;
	}

	.ast-single-post .entry-title, .page-title {
		font-size: 280%;
		letter-spacing: 0;
	}

	.page .entry-header {
		margin-bottom: 2em;
	}

	article.page {
		min-height: 400px;
		border-left: 0;
	}
}

@media (max-width: 360px) {
	.ast-single-post .entry-title, .page-title {
		font-size: 200%;
	}
}

.ast-separate-container .ast-article-single {
	padding-top: 0;
}

.ast-separate-container #primary {
	margin-top: 0;
}

.ast-separate-container #primary {
	padding-top: 0;
}

/* CONTENT */

strong {
	font-weight: 500;
}

table.speciality {
	border: 0;
	margin-bottom: 3em;
}

table.speciality td {
	border: 0;
	width: 50%;
	padding-bottom: 2em;
}

table.speciality td ul {
	margin-left: 1.1em;
	margin-bottom: 0;
}

table.speciality td:first-child {
	text-align: center;
	font-weight: 500;
}

table.speciality td:first-child i {
	display: block;
}

table.speciality td:last-child {
	font-size: 120%;
}

table.speciality .fas:before {
	font-size: 600%;
}

.post-attachments a {
	color: var(--ast-global-color-3);
}

@media (max-width: 921px) {
	table.speciality td:first-child {
		width: 30%;
		vertical-align: top;
		line-height: 1.3;
	}

	table.speciality td:lasts-child {
		width: 70%;
	}

	table.speciality {
		margin-bottom: 1em;
	}

	table.speciality .fas {
		padding-bottom: 7px;
	}
}

@media (max-width: 480px) {
	body {
		line-height: 1.6;
	}

	table.speciality .fas:before {
		font-size: 400%;
	}

	table.speciality td:last-child {
		font-size: 100%;
	}
}

table.base-info {
	border: 0;
}

table.base-info tr td {
	vertical-align: top;
	padding: 0.5em 2em;
	border: 0;
	border-bottom: 1px solid rgba(0,0,0,.1);
	border-right: 1px solid rgba(0,0,0,.1);
}

table.base-info tr td:last-child {
	border-right: 0;
}

table.base-info tr:last-child td {
	border-bottom: 0;
}

table.base-info tr td:first-child {
	font-weight: 500;
	width: 50%;
}

table.base-info ul {
	margin: 0 0 0 1.1em;
}

.page-specialnosti img {
	width: auto;
}

.page-specialnosti a {
	color: var(--ast-global-color-3);
}

.page-specialnosti a:hover h3 {
	font-size: 270%;
	color: #1559ac;
	transition: 0.5s;
}

.page-specialnosti .wp-block-media-text figure {
	text-align: center;
}

.page-specialnosti .wp-block-group {
	padding-top: 3em;
	padding-bottom: 3em;
}

.page-specialnosti .wp-block-group.alignfull {
	border-bottom: 5px solid #dfedff;
}

.page-specialnosti .wp-block-group.alignfull:last-child {
	border-bottom: 0;
}

.page-specialnosti .wp-block-group.alignfull:nth-child(2n) {
	margin-left: -7em !important;
	margin-right: -6.75em !important;
	padding-left: 7em !important;
	padding-right: 7em !important;
	border-left: 5px solid #f6f7fd;
	border-right: 5px solid #dfedff;
}

ul.post-attachments li.post-attachment {
	background-position-y: 6px;
	padding-bottom: 0.5em;
}

@media (max-width: 1200px) {
	.page-specialnosti .wp-block-group.alignfull:nth-child(2n) {
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		border-left: 0;
		border-right: 0;
		background-color: #fff;
	}
}

@media (max-width: 921px) {
	.site-above-footer-wrap[data-section="section-above-footer-builder"].ast-footer-row-mobile-stack .site-footer-section {
		margin-bottom: 30px;
	}

	.site-above-footer-wrap[data-section="section-above-footer-builder"].ast-footer-row-mobile-stack .site-footer-section:last-child {
		margin-bottom: 0;
	}

	.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
		padding-bottom: 0;
	}

	.page-specialnosti .wp-block-media-text .wp-block-media-text__media img {
		max-width: 80%;
	}

	.page-specialnosti > .wp-block-group:first-child {
		padding-top: 1em;
	}

	.page-specialnosti h3 {
		font-size: 21px !important;
	}
}

@media (max-width: 544px) {
	table.base-info tr td {
		padding: 0.5em;
	}

	table.base-info tr td:first-child {
		width: 40%;
	}

	.site-above-footer-inner-wrap .site-footer-section .widget .widget-title {
		font-size: 1.7rem;
	}

	ul.post-attachments li.post-attachment {
		background-position-y: 2px;
		padding-bottom: 0.8em;
	}

	.ast-no-sidebar.ast-separate-container .entry-content .alignwide {
		margin-left: 0;
		margin-right: 0; 
	}

	.page-specialnosti a:hover h3 {
		font-size: 24px;
	}

	.page-specialnosti .wp-block-group {
		padding: 4em 2em 1em;
	}

	.page-specialnosti .wp-block-group .wp-block-group {
		padding-top: 0;
	}
}


/* Shortcodes Ultimate */

#main .su-tabs {
	background: #76767f;
}

#main .su-tabs-nav {
	background: #76767f;
}

#main .su-tabs-nav span {
	font-size: 16px;
	color: #fff;
}

#main .su-tabs-nav span.su-tabs-current {
	color: var(--ast-global-color-3);
}

#main .su-tabs-nav .su-tabs-pane {
	font-size: 16px;
	color: var(--ast-global-color-3);
}

#main .su-tabs-pane {
	color: var(--ast-global-color-3);
	font-size: 16px;
}

#main .su-box {
	border-color: #76767f !important;
	border-width: 3px;
}

#main .su-box .su-box-title {
	background: #76767f !important;
	color: #fff;
	font-weight: 400;
	font-size: 16px;
}

#main .su-box .su-box-content {
	color: var(--ast-global-color-3);
}

#main .su-divider {
	border-color: #76767f !important;
}

/* FOOTER */

.site-footer .site-footer-section-1 img {
	max-width: 70% !important;
}

.site-above-footer-inner-wrap .site-footer-section .widget {
	text-align: center;
}

.site-above-footer-inner-wrap .site-footer-section .widget a {
	color: var(--ast-global-color-3) !important;
}

.site-above-footer-inner-wrap .site-footer-section .widget .widget-title {
	font-size: 1.8rem;
}

.site-footer-above-section-3 p {
	line-height: 2.5 !important;
}

.site-below-footer-wrap a {
	color: var(--ast-global-color-3);
}

@media (max-width: 921px) {
	.site-above-footer-wrap[data-section="section-above-footer-builder"].ast-footer-row-mobile-stack .site-footer-section {
		margin-bottom: 30px;
	}

	.site-above-footer-wrap[data-section="section-above-footer-builder"].ast-footer-row-mobile-stack .site-footer-section:last-child {
		margin-bottom: 0;
	}

	.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
		padding-bottom: 0;
	}
}

@media (max-width: 544px) {
	.site-above-footer-wrap[data-section="section-above-footer-builder"] {
		padding-top: 50px;
	}

	.site-below-footer-wrap {
		padding-top: 0 !important;
	}

	.site-footer .site-footer-section-1 img {
		max-width: 50% !important;
	}

	#astra-footer-menu {
		text-align: center;
	}

	#astra-footer-menu .menu-item {
		padding-bottom: 10px;
	}
}

/* WP-FORM PLAGIN */

.mainpage-contact-form .wpforms-container {
	text-align: center;
}

.mainpage-contact-form .wpforms-field-label {
	position: relative;
	left: 55px;
	font-family: Georgia,Times,serif;
	font-size: 28px;
	font-weight: 400;
	color: #fff;
}

.mainpage-contact-form .wpforms-required-label,
.mainpage-contact-form .wpforms-field-limit-text {
	display: none;
}

.mainpage-contact-form .wpforms-field-container,
.mainpage-contact-form .wpforms-submit-container {
	display: inline-block;
}

.mainpage-contact-form input {
	max-width: 98% !important;
}

.mainpage-contact-form button {
	height: 45px;
}

.mainpage-contact-form .wpforms-container label.wpforms-error {
	position: absolute;
	left: 20px;
	color: #faaeae;
}

.mainpage-contact-form .wpforms-confirmation-container {
	font-family: Georgia,Times,serif;
	font-size: 28px;
	font-weight: 400;
	color: #fff;
}

@media (max-width: 960px) {
	.mainpage-contact {
		padding-bottom: 5em;
	}

	.mainpage-contact h4 {
		font-size: 1.5rem;
		text-align: center;
	}

	.mainpage-contact .wpforms-field-label {
		font-size: 1.4rem;
		left: 0;
	}

	.mainpage-contact-form .wpforms-container label.wpforms-error {
		position: static;
	}

	.mainpage-contact-form button {
		height: 43px;
	}	
}

@media (max-width: 600px) {
	.mainpage-contact-form .wpforms-submit-container {
		display: block;
	}
}

/* SPECIAL PANEL BUTTON */

.special-panel {
	color: var(--ast-global-color-0);
	text-align: right;
	line-height: 1.5em;
	cursor: pointer;
	transition: all 0.5s ease-out;
}

.special-panel:hover {
	color: var(--ast-global-color-2);
}

.special-panel .fa {
	font-size: 120%;
	padding-right: 5px;
}

@media (max-width: 1200px) {
	.special-panel {
		position: absolute;
		top: 108px;
		right: 20px;
		color: #fff;
		font-size: 110%;
	}

	.special-panel .fa {
		padding-right: 8px;
	}
}

@media (max-width: 921px) {
	.special-panel {
		top: 16px;
		right: 85px;
		width: 125px;
		color: var(--ast-global-color-0);
		z-index: 999;
	}

	.special-panel .fa {
		padding-right: 8px;
	}
}

@media (max-width: 540px) {
	.special-panel {
		top: 12px;
	}
}

/* SPECIAL MODE */

.special-mode .wp-block-cover .wp-block-cover__inner-container {
	padding: 2em;
}

.special-mode .mainpage-contact {
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
}

.special-mode .site-above-footer-wrap {
	border-bottom: 1px solid #000;
}

.special-mode .site-above-footer-wrap {
	border-bottom: 1px solid #000;
}

.special-mode .wpforms-submit-spinner {
	display: none !important;
}

.special-mode .wpforms-confirmation-container,
.special-mode .wpforms-error {
	color: #000 !important;
}

@media (max-width: 540px) {
	.special-mode .mainpage-banner {
		display: none;
	}

	.special-mode .main-header-menu-toggle {
		border: 1px solid #000 !important;
	}
}