<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ProgressIndicator?>
<?import javafx.scene.control.Tooltip?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>

<StackPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="540.0" minWidth="960.0" prefHeight="540.0" prefWidth="960.0" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1">
   <children>
      <StackPane fx:id="rootPane" prefHeight="200.0" prefWidth="200.0" />
      <VBox fx:id="loadingOverlay" alignment="CENTER" minWidth="200.0" style="-fx-background-color: rgba(0, 0, 0, 0.2);" visible="false" StackPane.alignment="CENTER">
         <children>
            <VBox alignment="CENTER" minWidth="200.0">
               <children>
                  <ProgressIndicator maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="200.0" minWidth="200.0" VBox.vgrow="ALWAYS">
                     <tooltip>
                        <Tooltip fx:id="progressTooltip" />
                     </tooltip>
                  </ProgressIndicator>
                  <Label fx:id="progressLabel" alignment="CENTER" VBox.vgrow="SOMETIMES" />
               </children>
            </VBox>
         </children>
      </VBox>
      <VBox fx:id="exitOverlay" alignment="CENTER" prefHeight="200.0" prefWidth="100.0" style="-fx-background-color: rgba(0, 0, 0, 0.5);" visible="false">
         <children>
            <VBox alignment="CENTER" style="-fx-background-color: #B8242B; -fx-border-color: #8D1C21; -fx-border-width: 4px;">
               <children>
                  <Text strokeType="OUTSIDE" strokeWidth="0.0" text="%main.text.overlay_question" textAlignment="CENTER">
                     <font>
                        <Font name="1942 report" size="37.0" />
                     </font>
                  </Text>
                  <HBox alignment="CENTER" prefHeight="45.0" prefWidth="952.0">
                     <children>
                        <Button mnemonicParsing="false" onAction="#hideExitConfirm" style="-fx-border-color: #8D1C21;" styleClass="exitButton" text="%main.button.cancel_leave">
                           <HBox.margin>
                              <Insets left="5.0" right="5.0" />
                           </HBox.margin>
                        </Button>
                        <Button mnemonicParsing="false" onAction="#exit" style="-fx-border-color: #8D1C21;" styleClass="exitButton" text="%main.button.confirm_leave">
                           <HBox.margin>
                              <Insets left="5.0" right="5.0" />
                           </HBox.margin>
                        </Button>
                     </children>
                  </HBox>
               </children>
            </VBox>
         </children>
      </VBox>
   </children>
</StackPane>
