/* Training /obuchenie/ (#pl-21). Load after v11 and v12. */
@media (min-width:781px) {
  #pl-21 #pg-21-16,
  #pl-21 #pg-21-19 {
    position:relative; left:50%; transform:translateX(-50%);
    width:100vw !important; max-width:none !important;
    margin-left:0 !important; margin-right:0 !important;
  }
}
#pl-21 #pg-21-16 {
  background:#008fa3 !important; color:#fff !important;
  padding:22px max(22px,calc((100vw - 1140px)/2)) 28px !important;
  text-align:center;
}
#pl-21 #pg-21-16 > .panel-row-style,
#pl-21 #pg-21-16 > .panel-row-style > .panel-grid-cell {width:100% !important;max-width:1140px !important;margin-left:auto !important;margin-right:auto !important;padding:0 !important;}
#pl-21 #pg-21-16 h2,
#pl-21 #pg-21-16 .sow-headline {color:#fff !important; text-align:center !important;}
#pl-21 #pg-21-16 #panel-21-16-0-0 h2 {font-size:26px !important;font-weight:700 !important;margin:0 auto 38px !important;}
#pl-21 #pg-21-16 #panel-21-16-0-1 h2 {max-width:1100px !important;width:100% !important;font-size:28px !important;line-height:1.4 !important;font-weight:400 !important;margin:0 auto !important;}
#pl-21 #pg-21-16 .decoration {display:none !important;}
#pl-21 #pg-21-19 {
  background:#ecf3f9 !important;
  padding:30px max(20px, calc((100vw - 1140px)/2)) 35px !important;
  box-sizing:border-box;
}
#pl-21 #pg-21-19 > .panel-row-style {max-width:1140px;margin:0 auto !important;padding:0 !important;}
#pl-21 #pg-21-19 img[align="right"],
#pl-21 #pg-21-19 .textwidget img[align="right"] {
  float:right !important; display:block !important; margin:0 0 18px 28px !important;
  max-width:150px !important; height:auto !important;
}
#pl-21 #pg-21-19 .textwidget p {line-height:1.55;margin:0 0 20px;}
#pl-21 #pg-21-19 .textwidget p:after {content:"";display:table;clear:both;}
#pl-21 #pg-21-20 {background:#fff !important;padding:44px 20px !important;}
#pl-21 #pg-21-20 > .panel-row-style {max-width:1140px;margin:0 auto !important;}
#pl-21 #pg-21-20 .aspo-training-v13-form {max-width:1140px;margin:20px auto 0;}
#pl-21 #pg-21-20 .stage4-contact-form {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:12px 24px;align-items:start;}
#pl-21 #pg-21-20 .stage4-contact-form input:not([type="hidden"]):not([type="checkbox"]),
#pl-21 #pg-21-20 .stage4-contact-form textarea,
#pl-21 #pg-21-20 .stage4-contact-form select {box-sizing:border-box;width:100%;max-width:100%;padding:12px;border:1px solid #ccc;background:#fff;}
#pl-21 #pg-21-20 .stage4-contact-form textarea {min-height:170px;}
#pl-21 #pg-21-20 .stage4-contact-form button[type="submit"] {background:#f79341;color:white;border:0;border-radius:25px;padding:12px 25px;cursor:pointer;}
#pl-21 #pg-21-20 .stage4-contact-form .stage4-hp {position:absolute;left:-99999px;width:1px;height:1px;overflow:hidden;}
@media (max-width:780px) {
 #pl-21 #pg-21-16 {padding:28px 16px !important;}
 #pl-21 #pg-21-16 #panel-21-16-0-1 h2 {font-size:20px !important;}
 #pl-21 #pg-21-19 {padding:24px 16px !important;}
 #pl-21 #pg-21-19 img[align="right"] {max-width:110px !important;margin-left:12px !important;}
 #pl-21 #pg-21-20 .stage4-contact-form {display:block;}
}
