@charset "utf-8";
/* Miri Immigration - Farsi pages layout (clean version, Nov 2026) */
body {
	margin: 0;
	padding: 0 0 20px 0;
	background: #000000 url(images/bg.jpg);
	font-family: Tahoma, Arial, sans-serif;
	font-size: 12px;
	line-height: 18px;
	color: #333333;
}
img { border: 0; }
a { color: #a20000; }
.page { width: 921px; margin: 0 auto; }

/* Top: logo + English button */
.topbar { display: flex; justify-content: space-between; align-items: flex-end; padding: 5px 0; }
.topbar img { display: block; }
.topbar .lang { direction: ltr; padding-bottom: 2px; }
.topbar .lang:hover img { opacity: 0.8; }

/* White outer frame */
.frame { background: #ffffff; border-radius: 9px; padding: 9px; }

/* Menu */
.menu { width: 903px; height: 62px; margin: 0; padding: 0 8px; list-style: none; display: flex; justify-content: center; background: #640000; border-top: 1px solid #8f3a3a; border-bottom: 1px solid #3f0000; box-sizing: border-box; overflow: hidden; }
.menu li { margin: 0; padding: 0; display: flex; }
.menu a { display: flex; align-items: center; padding: 0 17px; height: 60px; color: #ffffff; text-decoration: none; font-size: 16px; font-weight: bold; white-space: nowrap; border-left: 1px solid #7b1717; }
.menu li:last-child a { border-left: 0; }
.menu a:hover, .menu a.current { background: #8b1a1a; }

.banner { display: block; width: 903px; height: 285px; }

/* Dark red area with the two white boxes */
.columns { display: flex; align-items: flex-start; gap: 10px; padding: 10px; background: #640000; }
.box { background: #ffffff; border-radius: 9px; padding: 9px 13px; box-sizing: border-box; }
.box.main { width: 623px; align-self: stretch; text-align: right; }
.box.main.full { width: 100%; }
.box.main[dir="ltr"] { text-align: left; }
.box.side { flex: 1; direction: ltr; text-align: left; font-family: Arial, Helvetica, sans-serif; color: #515151; }
.box.side .title { text-align: right; }
.box p { margin: 0 0 12px 0; }
.box::after { content: ""; display: block; clear: both; }

/* Section title images */
.title { margin: 0 0 8px 0; font-size: 12px; line-height: 0; }
.title img { display: inline-block; }

/* Red highlighted text */
.highlight { color: #a20000; font-weight: bold; font-family: Tahoma, sans-serif; font-size: 16px; line-height: 24px; margin: 0 0 6px 0; }
.slogan { color: #a20000; font-weight: bold; font-size: 16px; text-align: center; margin-top: 24px !important; clear: both; }
.center { text-align: center; clear: both; }

/* Photos */
.photo { float: right; margin: 0 0 8px 12px; }
.photo-right { float: right; margin: 0 0 8px 12px; }

/* Canada links */
.links-ltr { text-align: left; font-family: Arial, Helvetica, sans-serif; }
.links-ltr ul { margin: 10px 0 12px 0; padding-left: 20px; }
.links-ltr li { margin-bottom: 4px; }

/* Contact page */
.contact-info { text-align: left; font-family: Arial, Helvetica, sans-serif; color: #515151; }

/* Services tiles */
.service-tiles { direction: ltr; display: grid; grid-template-columns: 194px 194px 194px; grid-template-rows: 54px 89px 44px; gap: 5px; justify-content: center; margin: 0 0 10px 0; }
.service-tiles img { display: block; }
.service-tiles .s1 { grid-column: 1; grid-row: 1 / 3; }
.service-tiles .s2 { grid-column: 2; grid-row: 1; }
.service-tiles .s3 { grid-column: 2; grid-row: 2; }
.service-tiles .s4 { grid-column: 3; grid-row: 1 / 3; }
.service-tiles .s5 { grid-column: 1 / 4; grid-row: 3; }
#I1 { display: block; margin: 0 auto; border: 0; }

/* Assessment tiles */
.form-tiles { display: grid; grid-template-columns: 267px 267px; gap: 15px; justify-content: center; margin: 10px 0 20px 0; }
.form-tiles img { display: block; }

.service-tiles a:hover img, .form-tiles a:hover img { opacity: 0.85; }

/* Footer */
.footer { height: 35px; line-height: 35px; text-align: center; font-family: Arial, Helvetica, sans-serif; color: #515151; direction: ltr; }
.footer a { color: #515151; }

/* Keep pages right-to-left even if the HTML Editor adds dir="ltr" to <body> */
body { direction: rtl !important; min-height: 0 !important; }
.page { direction: rtl; text-align: right; }

/* Services page sections */
.section { clear: both; margin: 22px 0 8px 0; scroll-margin-top: 10px; }
.sub { color: #a20000; font-weight: bold; }
p.sub { margin-bottom: 6px; }
.list-fa { margin: 0 0 12px 0; padding: 0 20px 0 0; }
.list-fa li { margin-bottom: 4px; }