/*!
 * Roline theme – pages group (info / company / contact / K2 item / default page).
 * Loads after theme.css. Only what live.css does not carry: the handful of RSForm front.css rules the contact
 * form uses (RSForm Pro sheet not ported – rewritten from design/raw/measure-page-contact-el-*.json), the
 * Contact Form 7 glue that makes the CF7 markup render like the RSForm markup, and the placeholders of the
 * third-party widgets of the K2 item (Twitter / Facebook / Google+ buttons) and of the reCAPTCHA v2 widget.
 */

/* ------------------------------------------------------------------ */
/* 1. Contact form – RSForm front.css rules actually used (rewritten)   */
/* ------------------------------------------------------------------ */
.formNoError { display: none; }
.formError { color: #cf4d4d; font-weight: bold; font-size: 10px; }
.formRed { color: red; font-weight: bold; }
.formField { display: block; overflow: auto; }   /* measured: every .formField.rsform-block has overflow:auto */
.formClr { clear: both; display: block; }

/* reCAPTCHA v2 widget box as rendered on live (iframe 304×78 inside #g-recaptcha-75); the real widget is
   drawn by Google once the site keys are configured – until then an empty box of the same size. */
#g-recaptcha-75 .roline-recaptcha-placeholder { width: 304px; height: 78px; box-sizing: border-box; border: 1px solid #d3d3d3; border-radius: 3px; background: #f9f9f9; }

/* ------------------------------------------------------------------ */
/* 2. Contact Form 7 glue (the CF7 form holds the live 2-column markup) */
/* ------------------------------------------------------------------ */
.infocontact + .wpcf7 { display: block; }
.wpcf7 form.form2LinesLayout-form { margin: 0; }
.form2LinesLayout .wpcf7-form-control-wrap { display: block; }
.form2LinesLayout .wpcf7-form-control-wrap .rsform-input-box,
.form2LinesLayout .wpcf7-form-control-wrap .rsform-text-box { display: block; }
.form2LinesLayout .wpcf7-not-valid-tip { display: block; color: #cf4d4d; font-weight: bold; font-size: 10px; line-height: 21px; }
.form2LinesLayout .wpcf7-spinner { display: none; }
.wpcf7 form.submitting .form2LinesLayout .wpcf7-spinner { display: inline-block; }
.wpcf7 form .form2LinesLayout + .wpcf7-response-output { clear: both; margin: 0 15px 1em; }
.wpcf7 form.init .wpcf7-response-output { display: none; }

/* ------------------------------------------------------------------ */
/* 3. K2 item – social sharing row placeholders (design/components.md §22) */
/* ------------------------------------------------------------------ */
/* measured: .itemTwitterButton 94×26 (margin 2px 24px 0 0) holding the 94×20 Tweet iframe; the Like container 200×21 */
#k2Container .itemSocialSharing { padding: 8px 0; }
#k2Container .itemTwitterButton { float: left; margin: 2px 24px 0 0; height: 26px; }
#k2Container .itemTwitterButton a.twitter-share-button {
	display: inline-block; width: 94px; height: 20px; vertical-align: top; box-sizing: border-box;
	border: 1px solid #c8c8c8; border-radius: 3px; background: #f8f8f8; text-decoration: none;
}
#k2Container .itemFacebookButton { float: left; width: 200px; height: 21px; margin: 0 24px 0 0; }
#k2Container .itemGooglePlusOneButton { height: 0; overflow: visible; }
#k2Container .itemGooglePlusOneButton g\:plusone { display: inline; }

/* ------------------------------------------------------------------ */
/* 4. «Πληροφορίες» sidebar (live mod_menu 220/279 in sidebar-1)       */
/* ------------------------------------------------------------------ */
.t3-sidebar .module-ct ul.nav.menu { padding-left: 0; list-style: none; }
.t3-sidebar .module-ct ul.nav.menu > li { position: relative; }
.t3-sidebar .module-ct ul.nav.menu > li > a { display: inline-block; }

/* ------------------------------------------------------------------ */
/* 5. Live cascade differences of the non-home pages                   */
/* ------------------------------------------------------------------ */
/* Slider Revolution's dynamic-captions.css (`.custom { 80px/46px 900 #fff }`, kept in theme.css as a home-page
   quirk, Q20) is loaded by Joomla ONLY on the pages with the slider (home). On every other live page the
   mod_custom wrappers (`div.custom`: copyright strip, map module, footer logo/socials) keep the inherited font –
   the copyright strip is 42px shorter there. Scoped to the templates of this group. */
body.single-post .custom, body.page-template-default .custom,
body.page-template-tpl-info .custom, body.page-template-tpl-company .custom, body.page-template-tpl-contact .custom {
	font-size: inherit; line-height: inherit; font-weight: inherit; color: inherit;
}

/* Bootstrap 3 grid widths of the sidebar layout (col-md-9 content + col-md-3 sidebar, T3 default sidebar-1 width).
   Not in live.css because no measured guest page had a sidebar (MIT, T3 build of bootstrap.css). */
@media (min-width: 992px) {
	.t3-mainbody > .row > .t3-content.col-md-9 { width: 75%; }
	.t3-mainbody > .row > .t3-sidebar.col-md-3 { width: 25%; }
}
