<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="580" viewBox="0 0 500 580">
  <title>Coat of Arms of Bojnice</title>
  <g id="coa_bojnice">
    <path id="field" d="M500,330V0H0V330C0,468.071,111.929,580,250,580S500,468.071,500,330Z" fill="#cc3026"/>
    <g id="coa">
      <g fill="#fafafa" stroke="#111" stroke-width="3">
        <rect x="326" y="254.701" width="138" height="130"/>
        <polygon points="464 254.701 326 254.701 318 242.701 472 242.701 464 254.701"/>
      </g>
      <polygon points="477.927 240.938 431.927 177.624 429.5 174.284 427.073 177.624 406.5 205.94 374.427 161.796 372 158.455 369.573 161.796 312.073 240.938 308.612 245.701 314.5 245.701 377.612 245.701 383.5 245.701 429.5 245.701 435.388 245.701 475.5 245.701 481.388 245.701 477.927 240.938" fill="#111"/>
      <polygon points="429.5 179.388 406.5 211.044 372 163.559 314.5 242.701 383.5 242.701 429.5 242.701 475.5 242.701 429.5 179.388" fill="#a22921"/>
      <path d="M464,226.873,452.5,242.7,418,195.216m23,0L406.5,242.7l-46-63.313m92,31.656-23,31.657-23-31.657-23,31.657L349,195.216m46,0L360.5,242.7l-23-31.657m46-31.656-46,63.313L326,226.873" fill="none" stroke="#111" stroke-linecap="square" stroke-width="2"/>
      <g fill="#fafafa" stroke="#111" stroke-width="3">
        <rect x="82" y="287" width="20.5" height="70"/>
        <rect x="36" y="259" width="46" height="130"/>
        <polygon points="82 259 36 259 28 247 90 247 82 259"/>
        <rect x="372" y="286" width="69" height="130"/>
        <polygon points="441 286 372 286 364 274 449 274 441 286"/>
        <rect x="102.5" y="228" width="249" height="216"/>
        <polygon points="351.5 228 102.5 228 92.5 216 361.5 216 351.5 228"/>
      </g>
      <g fill="none" stroke="#111" stroke-width="3">
        <polyline points="102.5 385 135.5 385 135.5 357 174.5 357 174.5 385 207.5 385 207.5 357 246.5 357 246.5 385 279.5 385 279.5 357 318.5 357 318.5 385 351.5 385"/>
        <line x1="102.5" y1="322" x2="351.5" y2="322"/>
        <polyline points="102.5 287 135.5 287 135.5 259 174.5 259 174.5 287 207.5 287 207.5 259 246.5 259 246.5 287 279.5 287 279.5 259 318.5 259 318.5 287 351.5 287"/>
      </g>
      <g fill="#111">
        <path d="M59,194.411l-2.427,3.341-34.5,47.485L18.612,250H99.388l-3.461-4.763-34.5-47.485L59,194.411Z"/>
        <path d="M406.5,205.583l-2.427,3.34-46,63.314L354.612,277H458.388l-3.461-4.763-46-63.314-2.427-3.34Z"/>
        <path d="M227,84.269l-2.427,3.341L181,147.583l-20.573-28.317L158,115.926l-2.427,3.34-69,94.971L83.112,219H370.888l-3.461-4.763-69-94.971L296,115.926l-2.427,3.34L273,147.583,229.427,87.61,227,84.269Z"/>
      </g>
      <g fill="#a22921">
        <polygon points="24.5 247 59 199.515 93.5 247 24.5 247"/>
        <polygon points="452.5 274 360.5 274 406.5 210.687 452.5 274"/>
        <polygon points="89 216 158 121.03 181 152.686 227 89.373 273 152.686 296 121.03 365 216 89 216"/>
      </g>
      <g fill="none" stroke="#111" stroke-linecap="square" stroke-width="2">
        <path d="M47.5,247.485,36,231.657m34.5,15.828-23-31.657M82,231.657,70.5,247.485m0-31.657-23,31.657"/>
        <path d="M383.5,274,372,258.172m11.5-15.829L406.5,274m23,0L395,226.515m46,31.657L429.5,274m0-31.657L406.5,274M418,226.515,383.5,274"/>
        <path d="M100.5,200.172,112,216m0-31.657L135,216m-11.5-47.485L158,216m-23-63.314L181,216m-34.5-79.142L204,216m-23-63.314L227,216m-34.5-79.142L250,216m-46-94.97L273,216M215.5,105.2,296,216m-23-63.314L319,216m-34.5-79.142L342,216m11.5-15.828L342,216m-23,0,23-31.657m-11.5-15.828L296,216m23-63.314L273,216m-23,0,57.5-79.142M273,152.686,227,216m34.5-79.142L204,216m-23,0,69-94.97M238.5,105.2,158,216m23-63.314L135,216m34.5-79.142L112,216"/>
      </g>
      <g fill="#fdda2a" stroke="#111" stroke-width="3">
        <circle cx="372" cy="158.559" r="10.5"/>
        <circle cx="59" cy="194.515" r="10.5"/>
        <circle cx="406.5" cy="205.686" r="10.5"/>
        <circle cx="158" cy="116.03" r="10.5"/>
        <circle cx="227" cy="84.373" r="10.5"/>
        <circle cx="296" cy="116.03" r="10.5"/>
        <circle cx="429.5" cy="174.388" r="10.5"/>
      </g>
    </g>
    <path id="border" d="M497,330V3H3V330C3,466.414,113.586,577,250,577S497,466.414,497,330Z" fill="none" stroke="#111" stroke-width="6"/>
  </g>
</svg>
