/*
 * drasi.css — activities (post type drasi, lists drasi_cat): rules of the former site that the generated component
 * CSS does not hold. Loaded only on these views (inc/parts/drasi.php), after components.css. Every rule is the live's
 * own (templates/look4website/css/custom-min.css, «custom» below, read in inventory/design/source-css), images from
 * the same folders of the former site (assets/img: same files).
 */

/* --- breadcrumb picture above the lists (#tm-top-a .breadcrumb #bg_regular) and the cloud title box -------- */
/* custom: .breadcrumb (Bootstrap 2 rules of the template; the 26px bottom margin is the gap below the picture,
   measured on /2020: #tm-top-a 626px high, picture 600px) */
.breadcrumb {
	margin: 0 0 26px;
	list-style: none;
	background-color: rgba(35, 40, 40, .02);
	border-radius: 4px;
}
/* custom: #bg_regular */
#bg_regular {
	height: 600px;
	background-position: center center !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
}
/* custom: page class of the Joomla menu item (body .blog.ekdhloseis …) chooses the picture */
.blog #bg_regular { background-image: url(../img/Anakoinoseis-Image.png); }
.blog.ekdhloseis #bg_regular,
.blog.eksormiseis #bg_regular { background-image: url(../img/drasi/Ekdiloseis.jpg) !important; }
.blog.gia-tous-goneis.ekdhloseis #bg_regular {
	background-image: url(../img/slider-desk.jpg) !important;
	background-size: contain !important;
}
@media (max-width: 450px) {
	.blog.gia-tous-goneis.ekdhloseis #bg_regular {
		background-image: url(../img/slider-mob.jpg) !important;
		background-size: contain !important;
	}
}
/* custom: the paper-plane picture at the bottom right of the breadcrumb */
.blog #bg_regular::after {
	content: '';
	background-image: url(../img/news.png);
	width: 120px;
	position: absolute;
	bottom: -90px;
	right: 18vw;
	display: block;
	z-index: 2147483647;
	height: 139px;
	background-size: contain;
	background-repeat: no-repeat;
}
#bg_regular img {
	height: 600px;
	object-fit: cover;
	border-bottom: 5px solid #9addf8;
}
/* custom: the cloud with the title («Εκδηλώσεις»), printed by the category text */
.titlediv {
	position: absolute;
	top: -241px;
	width: 460px;
	height: 230px;
	background-repeat: no-repeat;
	background-image: url(../img/cloud.svg);
	left: 8vw;
}
h1.main-title {
	position: absolute;
	top: 95px;
	font-size: 22px;
	font-weight: 700;
	left: 25%;
	display: flex;
	justify-content: center;
	min-width: 260px;
}
@media screen and (max-width: 960px) {
	#bg_regular,
	#bg_regular img { height: 350px; }
}
@media screen and (orientation: portrait) and (min-width: 450px) and (max-width: 960px) {
	.blog #bg_regular::after { bottom: -69px; right: 1vw; }
}
@media screen and (orientation: portrait) and (max-width: 600px) {
	h1.main-title {
		line-height: 26px;
		top: 29%;
		left: 50%;
		width: 250px;
		margin-left: -125px;
		text-align: center;
	}
	.titlediv {
		top: -192px;
		width: 355px;
		height: 230px;
		left: 0;
		background-size: contain;
	}
	.blog #bg_regular::after { display: none !important; }
}
@media (min-width: 1921px) {
	.tm-body-background #bg_regular {
		height: 100%;
		background-position: center center !important;
		background-size: cover !important;
		background-repeat: no-repeat !important;
	}
	.tm-body-background #bg_regular img {
		height: auto;
		object-fit: cover;
		border-bottom: 5px solid #9addf8;
		width: 100%;
	}
	.blog.gia-tous-goneis.ekdhloseis #bg_regular {
		background-image: url(../img/slider-desk.jpg) !important;
		background-size: cover !important;
		width: 100%;
		height: 600px;
	}
}

/* --- lists ---------------------------------------------------------------------------------------------------- */
/* custom: RSS link next to a year's name */
.onair-catrss { float: right; position: absolute; top: 30px; right: 30px; }
.onair-catrss svg { margin-right: 10px; }
@media screen and (max-width: 600px) {
	.onair-catrss { float: none; position: inherit; top: 59px; right: inherit; }
}
/* custom: password form of the protected cards */
#categoryPswForm { position: relative; margin: 0; }
input#categoryPsw { border-bottom: solid 1px; }
input#categoryPswSubmit {
	position: absolute;
	top: 0;
	right: 0;
	box-shadow: none;
	background: none;
	border: none;
	transition: .3s ease-out;
}
input#categoryPswSubmit:hover { right: -7px; }
/* custom: input::-webkit-input-placeholder { color: #a4a6a8 } (measured on the live: placeholder rgb(164,166,168)) */
input#categoryPsw::placeholder { color: #a4a6a8; }

/* --- activity page --------------------------------------------------------------------------------------------- */
/* custom: «no access» text of a protected activity */
.description.no-access { text-align: center; margin: 4rem; }

/* Share links under the title: the ZOO element «socialbookmarks» stylesheet (custom repeats it), sprite
   assets/img/socialbookmarks.png (the live's images/socialbookmarks.png) */
.yoo-zoo.socialbookmarks { overflow: hidden; }
.yoo-zoo.socialbookmarks a {
	display: block;
	width: 24px;
	height: 24px;
	margin: 0 7px 0 0;
	background: url(../img/socialbookmarks.png) no-repeat;
	float: left;
}
.yoo-zoo.socialbookmarks a:last-child { margin-right: 0; }
.yoo-zoo.socialbookmarks a.facebook { background-position: 0 0; }
.yoo-zoo.socialbookmarks a.twitter { background-position: 0 -25px; }
.yoo-zoo.socialbookmarks a.google { background-position: 0 -50px; }
.yoo-zoo.socialbookmarks a.live { background-position: 0 -250px; }
main#tm-content div#flax-component .socialbookmarks.yoo-zoo { padding-left: 0; padding-top: 30px; }
@media (max-width: 991px) {
	main#tm-content div#flax-component .socialbookmarks.yoo-zoo { padding-top: 0; }
}

/* --- subcategory lists (/ekdiloseis, /eksormiseis, /synedria: the years as yellow bubbles) -------------------- */
/* UIkit 2 rules of the live (custom) that the theme's pruned uikit.css does not hold: widths of the year columns,
   heading size, dividers (the live's «.uk-grid-divider:not(: empty)» rules are invalid CSS there, so not copied) */
@media (min-width: 480px) { .uk-width-small-1-2 { width: 50%; } }
@media (min-width: 768px) { .uk-width-medium-1-3 { width: 33.333%; } }
.uk-h3 { font-size: 18px; line-height: 26px; }
.uk-margin-remove { margin: 0 !important; }
.yoo-zoo.product-uikit hr { box-sizing: content-box; height: 0; margin: 10px 0; border: 0; border-top: 1px solid #ebebec; }
.yoo-zoo.product-uikit .uk-grid-divider:empty { margin-top: 25px; margin-bottom: 25px; }
@media (min-width: 1220px) { .yoo-zoo.product-uikit .uk-grid-divider:empty { margin-top: 35px; margin-bottom: 35px; } }
@media (min-width: 768px) {
	.uk-grid-divider > [class*=uk-width-medium-]:not(.uk-width-medium-1-1):nth-child(n+2) { border-left: 0 solid #ebebec; }
}
@media (max-width: 767px) {
	.uk-grid-divider > .uk-width-1-1:nth-child(n+2) { border-top: 1px solid #ebebec; }
}
/* custom: */
.yoo-zoo.product-uikit .uk-grid .uk-width-small-1-2 { margin-top: 30px; margin-bottom: 30px; }
.product-uikit-ekdiloseis h1,
.product-uikit-eksormiseis h1,
.product-uikit-synedria h1 {
	position: absolute;
	top: -242px;
	width: 460px;
	height: 230px;
	background-repeat: no-repeat;
	background-image: url(../img/cloud.svg);
	left: 8vw;
	display: flex;
	justify-content: center;
	align-items: center;
}
@media screen and (orientation: portrait) and (max-width: 600px) {
	.product-uikit-ekdiloseis h1,
	.product-uikit-synedria h1,
	.product-uikit-eksormiseis h1 {
		top: -192px;
		width: 355px;
		height: 161px;
		left: 0;
		background-size: contain;
		font-size: 22px !important;
		font-weight: 700 !important;
	}
}
.yoo-zoo.product-uikit.product-uikit-ekdiloseis > div > div,
.yoo-zoo.product-uikit.product-uikit-synedria > div > div,
.yoo-zoo.product-uikit.product-uikit-eksormiseis > div > div {
	background-image: url(../img/drasi/years-bubble.svg);
	padding: 60px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
.yoo-zoo.product-uikit.product-uikit-ekdiloseis > div > div:hover,
.yoo-zoo.product-uikit.product-uikit-eksormiseis > div > div:hover { transform: scale(1.1); transition: transform .2s; }
.yoo-zoo.product-uikit.product-uikit-ekdiloseis h2,
.yoo-zoo.product-uikit.product-uikit-synedria h2,
.yoo-zoo.product-uikit.product-uikit-eksormiseis h2 { text-align: center; }
.yoo-zoo.product-uikit.product-uikit-ekdiloseis hr,
.yoo-zoo.product-uikit.product-uikit-synedria hr,
.yoo-zoo.product-uikit.product-uikit-eksormiseis hr { display: none; }
.product-uikit-ekdiloseis .uk-text-muted, .product-uikit-ekdiloseis a,
.product-uikit-synedria .uk-text-muted, .product-uikit-synedria a,
.product-uikit-eksormiseis .uk-text-muted, .product-uikit-eksormiseis a { color: #212121 !important; }
/* The generated rules for the activity cards (#flax-component > .yoo-zoo.product-uikit > .uk-grid > div, measured
   on /ekdiloseis/2019/2) also match the year columns; the year grids are the only ones with .uk-grid-divider, so
   the live values above are restated here at that weight (measured on /ekdiloseis 1366: column 341×146, 30px
   margins, padding 60px, bubble background) */
#flax-component > .yoo-zoo.product-uikit > .uk-grid-divider > div,
#flax-component > .yoo-zoo.product-uikit > .uk-grid-divider > div.uk-grid-margin {
	margin-top: 30px;
	margin-bottom: 30px;
	padding: 60px;
	background-image: url(../img/drasi/years-bubble.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
/* custom: «@media screen and (orientation:portrait) and (max-width:600px) { .uk-grid>* { padding-left: unset !important } }»
   (measured: /ekdiloseis 375, year column padding-left 0, the year text 30px left of centre) */
@media screen and (orientation: portrait) and (max-width: 600px) {
	#flax-component > .yoo-zoo.product-uikit > .uk-grid-divider > div { padding-left: unset !important; }
}

/* --- activity text ------------------------------------------------------------------------------------------- */
/* custom: «p { margin: 0 0 10px }», «* + p { margin-top: 10px }» and UIkit's «.uk-list > li > :last-child
   { margin-bottom: 0 }». The generated rule (#flax-component … ul.uk-list p { margin: 0 }, @media min-width 351px)
   was measured on a text of one paragraph, the last child, and gives every paragraph 0 (measured:
   /eksormiseis/oi-theoi-tou-olympou 1366, text block 230px on the live, 210px without these). */
#flax-component > .yoo-zoo.product-uikit .pagecontent > ul.uk-list > li > p { margin: 0 0 10px; }
#flax-component > .yoo-zoo.product-uikit .pagecontent > ul.uk-list > li > * + p { margin-top: 10px; }
#flax-component > .yoo-zoo.product-uikit .pagecontent > ul.uk-list > li > :last-child { margin-bottom: 0; }

/* --- «no access» page of a protected activity ----------------------------------------------------------------- */
/* The generated rules for .pagecontent / .titlediv / .innercont / .sub1 were measured on other pages (ΚΔΑΠ, page
   templates) and give this block their values (title box of ΚΔΑΠ, 150–168px top margin, centred text). The live's
   own rules (custom) restated at a weight above them; measured on
   /dimiourgiki-apasxolisi-gia-mathites-goneis-tou-stathmoy/maria-gouli at 375/768/1366/1920. */
#flax-component > .yoo-zoo.product-uikit .pagecontent.no-access { margin-top: 0; padding-left: 0; padding-right: 0; }
#flax-component > .yoo-zoo.product-uikit .pagecontent.no-access > .titlediv {
	position: absolute;
	top: -241px;
	left: 8vw;
	width: 460px;
	height: 230px;
	background-image: url(../img/cloud.svg);
	background-repeat: no-repeat;
	background-size: auto;
}
#flax-component > .yoo-zoo.product-uikit .pagecontent.no-access h1.main-title {
	position: absolute;
	top: 95px;
	left: 25%;
	right: auto;
	width: auto;
	min-width: 260px;
	margin-left: 0;
	font-size: 22px;
	font-weight: 700;
	display: flex;
	justify-content: center;
}
@media screen and (orientation: portrait) and (max-width: 600px) {
	#flax-component > .yoo-zoo.product-uikit .pagecontent.no-access > .titlediv { top: -192px; width: 355px; left: 0; background-size: contain; }
	#flax-component > .yoo-zoo.product-uikit .pagecontent.no-access h1.main-title { line-height: 26px; top: 29%; left: 50%; width: 250px; margin-left: -125px; text-align: center; }
}
/* custom: .innercont { width: 75vw; margin: 0 auto } (80vw ≤1500px, 90vw ≤1024px) */
#flax-component > .yoo-zoo.product-uikit .pagecontent.no-access > .insec2 > .innercont { width: 75vw; margin: 0 auto; padding: 0; }
@media screen and (max-width: 1500px) { #flax-component > .yoo-zoo.product-uikit .pagecontent.no-access > .insec2 > .innercont { width: 80vw; } }
@media screen and (max-width: 1024px) { #flax-component > .yoo-zoo.product-uikit .pagecontent.no-access > .insec2 > .innercont { width: 90vw; } }
#flax-component > .yoo-zoo.product-uikit .pagecontent.no-access > .insec2 > .innercont > .uk-grid > div.sub1 { text-align: start; margin-left: 0; padding-left: 25px; }
@media screen and (orientation: portrait) and (max-width: 600px) {
	#flax-component > .yoo-zoo.product-uikit .pagecontent.no-access > .insec2 > .innercont > .uk-grid > div.sub1 { padding-left: unset; }
}
/* custom: .description p { font-size: 16px !important } */
#flax-component > .yoo-zoo.product-uikit .pagecontent.no-access .description.no-access p { font-size: 16px !important; }
#flax-component > .yoo-zoo.product-uikit .pagecontent.no-access > .insec2 > .innercont > .uk-grid > div.sub1 > .description.no-access { text-align: center; margin: 4rem; max-width: 80%; }
/* custom: .description { max-width: 80% } (≤767px: margin auto, then .description.no-access margin 4rem wins by order) */
#flax-component > .yoo-zoo.product-uikit .pagecontent.no-access > .insec2 > .innercont > .uk-grid > div.sub1 > .description.no-access > a.no-back-cat { font-size: 1.6rem; margin-top: 2rem !important; display: block; }

/* --- category text with paragraphs (/dimiourgiki-apasxolisi-…: «Αγαπητοί Γονείς …») ---------------------------- */
/* custom: .description { max-width: 80% } (≤767px also margin: auto), .description p { font-size: 16px !important }
   (measured: 1920 text 1152px wide, 16px; 375 300px wide, 37.5px side margins) */
#flax-component > .yoo-zoo.product-uikit > .description { max-width: 80%; }
@media screen and (max-width: 767px) { #flax-component > .yoo-zoo.product-uikit > .description { margin: auto; } }
#flax-component > .yoo-zoo.product-uikit > .description p { font-size: 16px !important; }

/* The generated rule gives the category title (#flax-component > .yoo-zoo.product-uikit > .titlediv h1.main-title)
   a fixed width of 260px (the «Εκδηλώσεις» title, whose width is its min-width). The live's title has no width: it
   fits its text up to the cloud's right edge (measured: /dimiourgiki-apasxolisi-… 768, 345px wide, 2 lines). In
   portrait up to 600px the live gives it width 250px (custom). */
#flax-component > .yoo-zoo.product-uikit > .titlediv h1.main-title { width: auto; }
@media screen and (orientation: portrait) and (max-width: 600px) {
	#flax-component > .yoo-zoo.product-uikit > .titlediv h1.main-title { width: 250px; }
}
