/* Language versions of the site (/en/..., templates/pokrov_1.php with lib/i18n.php i18n_frame(), plugin/i18n_*.php). The Russian styles
   (pokrov.css) give the header, the cover and the text blocks; here only what the language pages add. */
/* the page has the geometry of the Russian pages: side column (i18n_side()) and #content of pokrov.css; the blocks
   below line up with .bodyinn (margin-left 20px there) and have its inner padding */
body.i18n .i18n-cards, body.i18n .iq-box { margin-left: 20px; }
.i18n-page.i18n-plan, .i18n-page.i18n-incl, .i18n-page.i18n-small, .i18n-page.art { padding: 20px 30px; }
.i18n-page.art { max-width: none; }   /* as wide as the other blocks (.art of pokrov.css is 860px) */
.i18n-page > h2:first-child, .i18n-page.art > h2:first-child { margin-top: 0; }
.i18n-page { margin-bottom: 24px; }
.i18n-page .title { margin-right: 49px; }   /* the right margin of .bodyinn .text */
.i18n-page .i18n-facts-big { margin: 18px 49px 20px 30px; }
.i18n-page > .text:last-child, .i18n-page > .i18n-facts-big:last-child { margin-bottom: 30px; }
.i18n-page h2 { font-size: 22px; color: #3B4255; margin: 24px 0 12px; font-weight: 700; }
.i18n-page .title h1 { font-size: 30px; color: #3B4255; line-height: 1.25; }
.i18n-page .bread { font-size: 13px; margin-bottom: 8px; }
.i18n-page .bread a { color: #1D72C9; font-weight: 600; }
.i18n-lead { font-size: 16px; color: #5b6b80; margin: 6px 0 0; line-height: 1.5; }
.i18n-small { font-size: 13px; color: #5b6b80; }
.i18n-note { color: #5b6b80; font-style: italic; }
#header .sup_menu li.lang-sw a::before { content: "\f0ac"; font-family: "Font Awesome 5 Free"; font-weight: 900; margin-right: 5px; }
body.i18n #header .main_menu li.on a { color: #1D72C9; }
#header .main_menu li.lang-m { display: none; }   /* the language switch in the mobile menu (the top menu is hidden there) */

/* facts: duration, dates, route */
.i18n-facts { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.i18n-facts li { font-size: 14px; color: #3B4255; }
.i18n-facts li span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #8a93a6; }
.i18n-facts li.wide { flex-basis: 100%; }
.i18n-facts-big { margin: 18px 0 20px; padding: 16px 20px; background: #fff; border: 1px solid #E6ECF2; border-radius: 4px; }
.i18n-facts-big li { font-size: 16px; font-weight: 600; }

/* tour cards of a section */
.i18n-cards { margin: 10px 0 24px; }
.i18n-cards > h2 { font-size: 28px; color: #3B4255; margin: 0 0 14px; }
.i18n-card { display: flex; background: #fff; border: 1px solid #E6ECF2; border-radius: 4px; margin-bottom: 16px; overflow: hidden; }
.i18n-card-pic { flex: 0 0 320px; min-height: 220px; background: #eef1f5 center/cover no-repeat; }
.i18n-card-body { flex: 1; padding: 20px 24px; display: flex; flex-direction: column; }
.i18n-card-body h3 { font-size: 20px; line-height: 1.3; margin: 0 0 6px; font-weight: 700; }
.i18n-card-body h3 a { color: #3B4255; }
.i18n-card-sl { color: #5b6b80; font-size: 14px; margin: 0; }
.i18n-card-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.i18n-price { font-size: 16px; font-weight: 700; color: #3B4255; }

/* programme */
.i18n-day { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid #E6ECF2; }
.i18n-day:first-of-type { border-top: 0; }
.i18n-day-n { flex: 0 0 70px; font-weight: 700; color: #1D72C9; font-size: 15px; }
.i18n-day .text { flex: 1; font-size: 14px; line-height: 1.7; }
.i18n-day .text i { font-style: normal; font-weight: 700; font-size: 16px; color: #3B4255; display: inline-block; margin-bottom: 4px; }
.i18n-incl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.i18n-incl ul { padding-left: 18px; font-size: 14px; line-height: 1.7; }

/* inquiry form */
.iq-box { background: #fff; border: 1px solid #E6ECF2; border-radius: 4px; padding: 26px 30px; margin: 0 0 30px; }
.iq-box h2 { font-size: 24px; color: #3B4255; margin: 0 0 8px; font-weight: 700; }
.iq-box > p { font-size: 15px; color: #5b6b80; margin: 0 0 18px; max-width: 760px; }
.iq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
.iq-f { margin-bottom: 14px; }
.iq-f label { display: block; font-size: 13px; font-weight: 600; color: #3B4255; margin-bottom: 5px; }
.iq-f input, .iq-f textarea { width: 100%; padding: 9px 11px; border: 1px solid #d8dde4; border-radius: 3px; font-size: 14px; background: #fff; }
.iq-f input:focus, .iq-f textarea:focus { outline: none; border-color: #268FFB; box-shadow: 0 0 0 3px rgba(38, 143, 251, .15); }
.iq-req { color: #c0392b; }
.iq-consent { display: block; font-weight: 400; font-size: 13px; color: #5b6b80; margin: 4px 0 16px; }
.iq-consent input { margin-right: 6px; }
.iq-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.iq-btn { display: inline-block; font-size: 16px; color: #fff !important; background: #268FFB; border: 0; border-radius: 6px; font-weight: 700; padding: 10px 24px; text-decoration: none !important; }
.iq-btn:hover { background: #1D72C9; }
.iq-btn:disabled { background: rgba(106, 112, 139, .41); }
.iq-note { font-size: 14px; color: #5b6b80; }
.iq-msg { margin-top: 14px; font-size: 14px; }
.iq-msg.ok { color: #1a7f45; font-weight: 600; }
.iq-msg.bad { color: #c0392b; }

/* footer */
.i18n-foot { width: 1180px; max-width: 100%; margin: 0 auto; padding: 0 20px; }
.i18n-foot-menu { list-style: none; margin: 0 0 22px; padding: 0 0 22px; border-bottom: 1px solid rgba(6, 66, 126, .1); display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: center; }
.i18n-foot-menu a { color: #2F7ECE; font-size: 15px; font-weight: 700; }
.i18n-foot-contacts { display: flex; flex-wrap: wrap; gap: 10px 60px; justify-content: center; text-align: center; font-size: 14px; }
.i18n-foot-contacts a { color: #333; }
.i18n-foot-small { text-align: center; font-size: 12px; color: #8a93a6; margin-top: 14px; }

/* right-to-left languages (Arabic): the text of the page reads from the right; the header of the site keeps its layout */
body.rtl #content, body.rtl #side, body.rtl .i18n-foot { direction: rtl; text-align: right; }
body.rtl .art ul, body.rtl .art ol, body.rtl .i18n-incl ul { padding-left: 0; padding-right: 22px; }
body.rtl .i18n-facts li span { letter-spacing: 0; text-transform: none; }
body.rtl .iq-consent input { margin-right: 0; margin-left: 6px; }
body.rtl .i18n-page .title { margin-left: 49px; margin-right: 30px; }

@media only screen and (max-width: 767px) {
	/* pokrov.css takes the margins of .bodyinn and its .title/.text away on a phone; the blocks added here follow it */
	.i18n-page .title { margin-right: 0; }
	body.rtl .i18n-page .title { margin: 0; }
	.i18n-page .i18n-facts-big { margin: 14px 0; }
	.i18n-page > .text:last-child, .i18n-page > .i18n-facts-big:last-child { margin-bottom: 14px; }
	body.i18n .i18n-cards, body.i18n .iq-box { margin-left: 0; }
	#header .main_menu li.lang-m { display: block; }
	.i18n-card { display: block; }
	.i18n-card-pic { display: block; min-height: 190px; }
	.iq-grid, .i18n-incl { grid-template-columns: 1fr; }
	.iq-box { padding: 20px 18px; }
	.i18n-page.i18n-plan, .i18n-page.i18n-incl, .i18n-page.i18n-small, .i18n-page.art { padding: 16px 18px; }
	.i18n-day { display: block; }
	.i18n-page .title h1 { font-size: 24px; }
}
