/* ASPO / Пожарно-технический минимум, page 1063. Scoped to this page only. */
#pl-1063 {
  color:#2f4862;
  font-size:18px;
  line-height:1.45;
}
#pl-1063, #pl-1063 * { box-sizing:border-box; }
#pl-1063 .panel-grid-cell { min-width:0; }
#pl-1063 > .panel-grid { min-width:0; }
#pl-1063 > .panel-grid:not(#pg-1063-1):not(#pg-1063-5):not(#pg-1063-8):not(#pg-1063-9) {
  width:100%;
  max-width:1140px;
  margin-left:auto;
  margin-right:auto;
}

/* Breadcrumbs + headline + intro */
#pl-1063 > #pg-1063-0 { margin-top:58px !important; }
#pl-1063 #pg-1063-0 .custom-html-widget:first-child { margin-bottom:18px; }
#pl-1063 #pg-1063-0 .custom-html-widget:first-child a {
  color:#28496b;
  text-decoration:underline;
}
#pl-1063 #pg-1063-0 .sow-headline {
  text-align:center !important;
  font-size:28px !important;
  line-height:1.28 !important;
  color:#000 !important;
  font-weight:400 !important;
  margin:0 !important;
}
#pl-1063 #pg-1063-0 .decoration,
#pl-1063 #pg-1063-3 .decoration,
#pl-1063 #pg-1063-4 .decoration,
#pl-1063 #pg-1063-6 .decoration,
#pl-1063 #pg-1063-8 .decoration {
  width:100%;
  max-width:980px;
  height:1px;
  background:#dcdcdc;
  margin:22px auto 28px;
}
#pl-1063 #pg-1063-0 .decoration-inside,
#pl-1063 #pg-1063-3 .decoration-inside,
#pl-1063 #pg-1063-4 .decoration-inside,
#pl-1063 #pg-1063-6 .decoration-inside,
#pl-1063 #pg-1063-8 .decoration-inside { display:none; }
#pl-1063 #pg-1063-0 p { margin:0 0 18px; font-size:18px; line-height:1.45; }
#pl-1063 #pg-1063-0 p strong { font-weight:700; }
#pl-1063 #pg-1063-0 > .panel-row-style,
#pl-1063 #pg-1063-2 > .panel-row-style,
#pl-1063 #pg-1063-3 > .panel-row-style,
#pl-1063 #pg-1063-4 > .panel-row-style,
#pl-1063 #pg-1063-6 > .panel-row-style,
#pl-1063 #pg-1063-7 > .panel-row-style { margin:0 !important; padding:0 !important; }

/* Headings inside page */
#pl-1063 :is(#pg-1063-0,#pg-1063-3,#pg-1063-4,#pg-1063-6,#pg-1063-7,#pg-1063-8) h2.sow-headline,
#pl-1063 :is(#pg-1063-0,#pg-1063-3,#pg-1063-4,#pg-1063-6,#pg-1063-7,#pg-1063-8) h1.sow-headline {
  text-align:center !important;
  color:#28496b !important;
  font-size:28px !important;
  font-weight:400 !important;
  line-height:1.25 !important;
}

/* Icon/text rows (how training goes + delivery) */
#pl-1063 .d-table { width:100%; display:block; }
#pl-1063 .d-tr {
  display:flex;
  align-items:center;
  gap:24px;
  margin:0 0 26px;
}
#pl-1063 .d-td:first-child {
  flex:0 0 95px;
  text-align:center;
}
#pl-1063 .d-td:first-child img {
  display:block;
  max-width:90px;
  height:auto !important;
  margin:0 auto;
}
#pl-1063 .d-td:last-child {
  flex:1 1 auto;
  font-size:18px;
  line-height:1.35;
}
#pl-1063 .d-td:last-child b,
#pl-1063 .d-td:last-child strong { font-weight:700; }

/* Certificate image */
#pl-1063 #pg-1063-0 img[alt=""],
#pl-1063 #pg-1063-0 img.aligncenter {
  max-width:100%;
  height:auto;
}
#pl-1063 #pg-1063-0 .aligncenter,
#pl-1063 #pg-1063-0 p[style*="text-align: center"] img {
  display:block;
  margin:18px auto;
}
#pl-1063 #pg-1063-0 a[target="_blank"] { color:#28496b; }

/* Full-width aqua strips */
#pl-1063 > :is(#pg-1063-1,#pg-1063-5) {
  width:100vw !important;
  max-width:none !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:0 !important;
  padding:0 !important;
}
#pl-1063 > :is(#pg-1063-1,#pg-1063-5) > .panel-row-style {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:34px 20px 38px !important;
  background:#27b7c2 !important;
}
#pl-1063 > #pg-1063-1 .sow-headline,
#pl-1063 > #pg-1063-5 .sow-headline {
  color:#fff !important;
  font-size:30px !important;
  text-align:center !important;
  margin:0 !important;
  font-weight:400 !important;
}
#pl-1063 > #pg-1063-1 .decoration,
#pl-1063 > #pg-1063-5 .decoration {
  height:1px;
  max-width:915px;
  background:rgba(255,255,255,.85);
  margin:22px auto 26px;
}
#pl-1063 > #pg-1063-1 .decoration-inside,
#pl-1063 > #pg-1063-5 .decoration-inside { display:none; }
#pl-1063 > #pg-1063-1 .textwidget,
#pl-1063 > #pg-1063-5 .textwidget {
  color:#fff !important;
  text-align:center !important;
}
#pl-1063 > #pg-1063-1 .textwidget > div:first-child {
  font-size:25px !important;
  font-weight:700;
  line-height:1.25;
}
#pl-1063 > #pg-1063-1 .textwidget > div:first-child span { font-size:46px; font-weight:700; }
#pl-1063 > #pg-1063-1 .textwidget > div:first-child del {
  color:#e8f5f7 !important;
  font-size:32px !important;
  text-decoration-thickness:2px;
}
#pl-1063 > #pg-1063-1 .textwidget > div:last-child {
  font-size:18px !important;
  margin-top:6px;
  line-height:1.3;
}
#pl-1063 > #pg-1063-5 .textwidget p { margin:0; }
#pl-1063 > #pg-1063-5 .textwidget p:first-child { font-size:18px !important; }
#pl-1063 > #pg-1063-5 .textwidget a {
  color:#fff !important;
  text-decoration:none !important;
  font-size:22px !important;
}
#pl-1063 > #pg-1063-5 .textwidget p:last-child {
  font-size:16px !important;
  margin-top:10px;
}

/* Forms (top and bottom) */
#pl-1063 :is(#pg-1063-2,#pg-1063-7) .textwidget > div:first-child p,
#pl-1063 :is(#pg-1063-2,#pg-1063-7) > .panel-row-style > .panel-grid-cell > .widget_text p:first-of-type {
  margin:0 0 18px;
}
#pl-1063 :is(#pg-1063-2,#pg-1063-7) .wpcf7,
#pl-1063 :is(#pg-1063-2,#pg-1063-7) .stage4-contact-form,
#pl-1063 :is(#pg-1063-2,#pg-1063-7) form {
  width:100%;
}
#pl-1063 :is(#pg-1063-2,#pg-1063-7) .form-field-wrapper,
#pl-1063 :is(#pg-1063-2,#pg-1063-7) .aspo-form-grid {
  display:flex !important;
  gap:24px;
  align-items:flex-start;
}
#pl-1063 :is(#pg-1063-2,#pg-1063-7) .form-left-fields {
  flex:0 0 330px;
  max-width:330px;
}
#pl-1063 :is(#pg-1063-2,#pg-1063-7) .form-right-fields {
  flex:1 1 auto;
  min-width:0;
}
#pl-1063 :is(#pg-1063-2,#pg-1063-7) input[type="text"],
#pl-1063 :is(#pg-1063-2,#pg-1063-7) input[type="tel"],
#pl-1063 :is(#pg-1063-2,#pg-1063-7) input[type="email"],
#pl-1063 :is(#pg-1063-2,#pg-1063-7) textarea {
  width:100% !important;
  border:1px solid #c8c8c8 !important;
  background:#fff !important;
  color:#2f4862 !important;
  padding:16px 18px !important;
  font-size:18px !important;
  line-height:1.2 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
#pl-1063 :is(#pg-1063-2,#pg-1063-7) .form-left-fields input { margin-bottom:20px !important; }
#pl-1063 :is(#pg-1063-2,#pg-1063-7) textarea { min-height:175px; resize:vertical; }
#pl-1063 :is(#pg-1063-2,#pg-1063-7) .form-checkbox,
#pl-1063 :is(#pg-1063-2,#pg-1063-7) .aspo-course-consent,
#pl-1063 :is(#pg-1063-2,#pg-1063-7) label.wpcf7-list-item-label,
#pl-1063 :is(#pg-1063-2,#pg-1063-7) .wpcf7-checkbox,
#pl-1063 :is(#pg-1063-2,#pg-1063-7) .stage4-contact-form label {
  font-size:17px !important;
  line-height:1.45 !important;
  color:#2f4862 !important;
}
#pl-1063 :is(#pg-1063-2,#pg-1063-7) .form-checkbox p,
#pl-1063 :is(#pg-1063-2,#pg-1063-7) .aspo-course-consent {
  margin:18px 0 0 !important;
  display:flex !important;
  gap:10px;
  align-items:flex-start;
}
#pl-1063 :is(#pg-1063-2,#pg-1063-7) input[type="checkbox"] {
  width:18px !important;
  height:18px !important;
  flex:0 0 18px;
  margin:4px 0 0 !important;
}
#pl-1063 :is(#pg-1063-2,#pg-1063-7) .send_btn,
#pl-1063 :is(#pg-1063-2,#pg-1063-7) .aspo-course-submit,
#pl-1063 :is(#pg-1063-2,#pg-1063-7) button[type="submit"],
#pl-1063 :is(#pg-1063-2,#pg-1063-7) input[type="submit"] {
  display:inline-block !important;
  min-width:145px;
  padding:14px 28px !important;
  border:none !important;
  border-radius:999px !important;
  background:#f49a3e !important;
  color:#fff !important;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:16px !important;
  line-height:1 !important;
  box-shadow:none !important;
  cursor:pointer;
  margin:22px 0 0 !important;
}

/* Course info */
#pl-1063 #pg-1063-3 ol {
  margin:0 0 26px 22px;
  padding:0;
}
#pl-1063 #pg-1063-3 ol li { margin:0 0 6px; }
#pl-1063 #pg-1063-3 ol a { color:#28496b; text-decoration:underline; }
#pl-1063 #pg-1063-3 p { margin:0 0 18px; }
#pl-1063 #pg-1063-3 p[style*="font-size:18px"] {
  font-size:18px !important;
  font-weight:700 !important;
  margin-top:26px !important;
}
#pl-1063 #pg-1063-3 ul { margin:0 0 18px 0; padding-left:24px; }
#pl-1063 #pg-1063-3 ul li { margin:0 0 6px; }

/* Licenses */
#pl-1063 #pg-1063-4 .textwidget {
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}
#pl-1063 #pg-1063-4 .textwidget a,
#pl-1063 #pg-1063-4 .textwidget img {
  display:block;
}
#pl-1063 #pg-1063-4 .textwidget img {
  width:212px;
  max-width:100%;
  height:auto;
}

/* Reviews */
#pl-1063 #pg-1063-6 .textwidget { font-size:18px; color:#000; }
#pl-1063 #pg-1063-6 .textwidget p { margin:0 0 16px; }
#pl-1063 #pg-1063-6 [style*="font-weight: bold"] p,
#pl-1063 #pg-1063-6 p[style*="font-weight: bold"] {
  margin-top:34px !important;
  font-weight:700 !important;
}
#pl-1063 #pg-1063-6 img[align="left"] {
  float:left !important;
  width:150px !important;
  height:auto !important;
  margin:0 16px 8px 0 !important;
}
#pl-1063 #pg-1063-6::after,
#pl-1063 #pg-1063-6 .textwidget::after { content:""; display:block; clear:both; }

/* Bottom form title */
#pl-1063 #pg-1063-7 h2.sow-headline { text-align:left !important; color:#2f4862 !important; margin:0 0 18px !important; }
#pl-1063 #pg-1063-7 { margin-top:40px !important; }

/* Clients */
#pl-1063 > #pg-1063-8 {
  width:100vw !important;
  max-width:none !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:0 !important;
}
#pl-1063 > #pg-1063-8 > .panel-row-style,
#pl-1063 > #pg-1063-9 > .panel-row-style {
  background:#eff4f8 !important;
  margin:0 !important;
}
#pl-1063 > #pg-1063-8 > .panel-row-style { padding:28px 20px 16px !important; }
#pl-1063 > #pg-1063-9 {
  width:100vw !important;
  max-width:none !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:0 !important;
}
#pl-1063 > #pg-1063-9 > .panel-row-style {
  padding:0 20px 38px !important;
  display:grid !important;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:24px;
  align-items:start;
}
#pl-1063 > #pg-1063-9 .panel-grid-cell { width:auto !important; }
#pl-1063 > #pg-1063-9 .textwidget { text-align:center; font-size:15px; }
#pl-1063 > #pg-1063-9 img { display:block; margin:0 auto 10px; max-width:125px; height:auto; }
#pl-1063 > #pg-1063-9 p { margin:0; }

@media (max-width: 900px) {
  #pl-1063 :is(#pg-1063-2,#pg-1063-7) .form-field-wrapper,
  #pl-1063 :is(#pg-1063-2,#pg-1063-7) .aspo-form-grid,
  #pl-1063 > #pg-1063-9 > .panel-row-style {
    display:block !important;
  }
  #pl-1063 :is(#pg-1063-2,#pg-1063-7) .form-left-fields,
  #pl-1063 :is(#pg-1063-2,#pg-1063-7) .form-right-fields {
    max-width:none;
    width:100%;
  }
  #pl-1063 :is(#pg-1063-2,#pg-1063-7) .form-left-fields { margin-bottom:4px; }
  #pl-1063 > #pg-1063-9 .panel-grid-cell { margin-bottom:24px; }
}

@media (max-width: 640px) {
  #pl-1063 { font-size:16px; line-height:1.5; }
  #pl-1063 #pg-1063-0 .sow-headline,
  #pl-1063 :is(#pg-1063-3,#pg-1063-4,#pg-1063-6,#pg-1063-7,#pg-1063-8) h2.sow-headline,
  #pl-1063 > :is(#pg-1063-1,#pg-1063-5) .sow-headline { font-size:24px !important; }
  #pl-1063 .d-tr {
    display:block;
    margin-bottom:22px;
  }
  #pl-1063 .d-td:first-child {
    margin-bottom:10px;
  }
  #pl-1063 > #pg-1063-1 .textwidget > div:first-child span { font-size:34px; }
  #pl-1063 #pg-1063-6 img[align="left"] {
    float:none !important;
    display:block;
    margin:0 auto 12px !important;
  }
  #pl-1063 #pg-1063-3 p[style*="font-size:18px"] { font-size:17px !important; }
  #pl-1063 :is(#pg-1063-2,#pg-1063-7) input[type="text"],
  #pl-1063 :is(#pg-1063-2,#pg-1063-7) input[type="tel"],
  #pl-1063 :is(#pg-1063-2,#pg-1063-7) input[type="email"],
  #pl-1063 :is(#pg-1063-2,#pg-1063-7) textarea { font-size:16px !important; }
}
