<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ecd="http://xbrl.sec.gov/ecd/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2026"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="tayd-20260531.xsd" xlink:type="simple"/>
    <context id="D250601_260531">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
        </entity>
        <period>
            <startDate>2025-06-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="I260531">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
        </entity>
        <period>
            <instant>2026-05-31</instant>
        </period>
    </context>
    <context id="D260101_260531">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
        </entity>
        <period>
            <startDate>2026-01-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D250101_250531">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="D240101_240531">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="D260101_260531_AdjToComp-EqtyAwrdsInSummryCompstnTblForAplblYr">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:EqtyAwrdsInSummryCompstnTblForAplblYrMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D250101_250531_AdjToComp-EqtyAwrdsInSummryCompstnTblForAplblYr">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:EqtyAwrdsInSummryCompstnTblForAplblYrMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="D240101_240531_AdjToComp-EqtyAwrdsInSummryCompstnTblForAplblYr">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:EqtyAwrdsInSummryCompstnTblForAplblYrMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="D260101_260531_AdjToComp-YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstd">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstdMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D250101_250531_AdjToComp-YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstd">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstdMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="D240101_240531_AdjToComp-YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstd">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstdMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="D260101_260531_AdjToComp-ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrs">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D250101_250531_AdjToComp-ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrs">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="D240101_240531_AdjToComp-ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrs">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="D260101_260531_AdjToComp-VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYr">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYrMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D250101_250531_AdjToComp-VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYr">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYrMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="D240101_240531_AdjToComp-VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYr">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYrMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="D260101_260531_AdjToComp-ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYr">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D250101_250531_AdjToComp-ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYr">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="D240101_240531_AdjToComp-ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYr">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="D260101_260531_AdjToComp-FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYr">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYrMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D250101_250531_AdjToComp-FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYr">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYrMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="D240101_240531_AdjToComp-FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYr">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYrMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="D260101_260531_AdjToComp-DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYr">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYrMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-01</startDate>
            <endDate>2026-05-31</endDate>
        </period>
    </context>
    <context id="D250101_250531_AdjToComp-DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYr">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYrMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-05-31</endDate>
        </period>
    </context>
    <context id="D240101_240531_AdjToComp-DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYr">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000096536</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ecd:AdjToCompAxis">ecd:DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYrMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="UsdPerShare">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <unit id="Pure">
        <measure>pure</measure>
    </unit>
    <dei:EntityCentralIndexKey contextRef="D250601_260531" id="fact1">0000096536</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="D250601_260531" id="fact2">DEF 14A</dei:DocumentType>
    <dei:AmendmentFlag contextRef="D250601_260531" id="fact3">false</dei:AmendmentFlag>
    <dei:EntityRegistrantName contextRef="D250601_260531" id="ixv-2067">TAYLOR DEVICES, INC.</dei:EntityRegistrantName>
    <ecd:TrdArrAdoptionDate contextRef="D250601_260531" id="ixv-2068">On July 26, 2024</ecd:TrdArrAdoptionDate>
    <ecd:MtrlTermsOfTrdArrTextBlock contextRef="D250601_260531" id="ixv-2069">Company adopted a Policy against Insider Trading (the "Insider Trading Policy"), which contains certain insider trading policies and procedures that govern the purchase, sale and other dispositions of our securities by our directors, officers, employees and agents. We believe these policies and procedures in the Insider Trading Policy are reasonably designed to promote compliance with insider trading laws, rules and regulations and the Nasdaq Listing Rules.</ecd:MtrlTermsOfTrdArrTextBlock>
    <ecd:AwardUndrlygSecuritiesAmt
      contextRef="I260531"
      decimals="INF"
      id="ixv-2070"
      unitRef="Pure">7000</ecd:AwardUndrlygSecuritiesAmt>
    <ecd:AwardExrcPrice
      contextRef="I260531"
      decimals="INF"
      id="ixv-2071"
      unitRef="UsdPerShare">56.43</ecd:AwardExrcPrice>
    <ecd:AwardTmgMethodTextBlock contextRef="D250601_260531" id="ixv-2072">These options were granted pursuant to a predetermined schedule, and neither the Board of Directors nor the Compensation Committee took material nonpublic information into account when determining the timing and terms of our option awards, and the Company does not purposely accelerate or delay the public release of material information for the purpose of affecting the value of its option awards.</ecd:AwardTmgMethodTextBlock>
    <ecd:PeoTotalCompAmt
      contextRef="D260101_260531"
      decimals="INF"
      id="fact4"
      unitRef="USD">519026</ecd:PeoTotalCompAmt>
    <ecd:PeoActuallyPaidCompAmt
      contextRef="D260101_260531"
      decimals="INF"
      id="ixv-2074"
      unitRef="USD">519026</ecd:PeoActuallyPaidCompAmt>
    <ecd:NonPeoNeoAvgTotalCompAmt
      contextRef="D260101_260531"
      decimals="INF"
      id="fact5"
      unitRef="USD">422394</ecd:NonPeoNeoAvgTotalCompAmt>
    <ecd:NonPeoNeoAvgCompActuallyPaidAmt
      contextRef="D260101_260531"
      decimals="INF"
      id="ixv-2076"
      unitRef="USD">422394</ecd:NonPeoNeoAvgCompActuallyPaidAmt>
    <ecd:TotalShareholderRtnAmt
      contextRef="D260101_260531"
      decimals="INF"
      id="ixv-2077"
      unitRef="USD">277</ecd:TotalShareholderRtnAmt>
    <us-gaap:NetIncomeLoss
      contextRef="D260101_260531"
      decimals="INF"
      id="ixv-2078"
      unitRef="USD">8563675</us-gaap:NetIncomeLoss>
    <ecd:PeoTotalCompAmt
      contextRef="D250101_250531"
      decimals="INF"
      id="fact6"
      unitRef="USD">631696</ecd:PeoTotalCompAmt>
    <ecd:PeoActuallyPaidCompAmt
      contextRef="D250101_250531"
      decimals="INF"
      id="ixv-2080"
      unitRef="USD">631696</ecd:PeoActuallyPaidCompAmt>
    <ecd:NonPeoNeoAvgTotalCompAmt
      contextRef="D250101_250531"
      decimals="INF"
      id="fact7"
      unitRef="USD">488334</ecd:NonPeoNeoAvgTotalCompAmt>
    <ecd:NonPeoNeoAvgCompActuallyPaidAmt
      contextRef="D250101_250531"
      decimals="INF"
      id="ixv-2082"
      unitRef="USD">488334</ecd:NonPeoNeoAvgCompActuallyPaidAmt>
    <ecd:TotalShareholderRtnAmt
      contextRef="D250101_250531"
      decimals="INF"
      id="ixv-2083"
      unitRef="USD">199</ecd:TotalShareholderRtnAmt>
    <us-gaap:NetIncomeLoss
      contextRef="D250101_250531"
      decimals="INF"
      id="ixv-2084"
      unitRef="USD">9413136</us-gaap:NetIncomeLoss>
    <ecd:PeoTotalCompAmt
      contextRef="D240101_240531"
      decimals="INF"
      id="fact8"
      unitRef="USD">755904</ecd:PeoTotalCompAmt>
    <ecd:PeoActuallyPaidCompAmt
      contextRef="D240101_240531"
      decimals="INF"
      id="ixv-2086"
      unitRef="USD">755904</ecd:PeoActuallyPaidCompAmt>
    <ecd:NonPeoNeoAvgTotalCompAmt
      contextRef="D240101_240531"
      decimals="INF"
      id="fact9"
      unitRef="USD">614489</ecd:NonPeoNeoAvgTotalCompAmt>
    <ecd:NonPeoNeoAvgCompActuallyPaidAmt
      contextRef="D240101_240531"
      decimals="INF"
      id="ixv-2088"
      unitRef="USD">614489</ecd:NonPeoNeoAvgCompActuallyPaidAmt>
    <ecd:TotalShareholderRtnAmt
      contextRef="D240101_240531"
      decimals="INF"
      id="ixv-2089"
      unitRef="USD">266</ecd:TotalShareholderRtnAmt>
    <us-gaap:NetIncomeLoss
      contextRef="D240101_240531"
      decimals="INF"
      id="ixv-2090"
      unitRef="USD">8998762</us-gaap:NetIncomeLoss>
    <ecd:NamedExecutiveOfficersFnTextBlock contextRef="D250601_260531" id="ixv-919">&lt;p style="font:10pt Times New Roman;margin:0;text-align:justify"&gt;(1) Mr. Sopko was our principal executive officer ("PEO") for the fiscal years ended May 31, 2026, 2025 and 2024.&lt;/p&gt;
&lt;p style="font:10pt Times New Roman;margin:0;text-align:justify"&gt;(2) The non-PEO named executive officers for whom the average compensation is presented in these tables are Alan R. Klembczyk and Paul M. Heary.&lt;/p&gt;
</ecd:NamedExecutiveOfficersFnTextBlock>
    <ecd:PeoTotalCompAmt
      contextRef="D260101_260531"
      decimals="INF"
      id="ixv-2093"
      unitRef="USD">519026</ecd:PeoTotalCompAmt>
    <ecd:PeoTotalCompAmt
      contextRef="D250101_250531"
      decimals="INF"
      id="ixv-2094"
      unitRef="USD">631696</ecd:PeoTotalCompAmt>
    <ecd:PeoTotalCompAmt
      contextRef="D240101_240531"
      decimals="INF"
      id="ixv-2095"
      unitRef="USD">755904</ecd:PeoTotalCompAmt>
    <ecd:NonPeoNeoAvgTotalCompAmt
      contextRef="D260101_260531"
      decimals="INF"
      id="ixv-2096"
      unitRef="USD">422394</ecd:NonPeoNeoAvgTotalCompAmt>
    <ecd:NonPeoNeoAvgTotalCompAmt
      contextRef="D250101_250531"
      decimals="INF"
      id="ixv-2097"
      unitRef="USD">488334</ecd:NonPeoNeoAvgTotalCompAmt>
    <ecd:NonPeoNeoAvgTotalCompAmt
      contextRef="D240101_240531"
      decimals="INF"
      id="ixv-2098"
      unitRef="USD">614489</ecd:NonPeoNeoAvgTotalCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D260101_260531_AdjToComp-EqtyAwrdsInSummryCompstnTblForAplblYr"
      decimals="INF"
      id="ixv-2099"
      unitRef="USD">-162832</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D250101_250531_AdjToComp-EqtyAwrdsInSummryCompstnTblForAplblYr"
      decimals="INF"
      id="ixv-2100"
      unitRef="USD">-79980</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D240101_240531_AdjToComp-EqtyAwrdsInSummryCompstnTblForAplblYr"
      decimals="INF"
      id="ixv-2101"
      unitRef="USD">-121433</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D260101_260531_AdjToComp-EqtyAwrdsInSummryCompstnTblForAplblYr"
      decimals="INF"
      id="ixv-2102"
      unitRef="USD">-162832</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D250101_250531_AdjToComp-EqtyAwrdsInSummryCompstnTblForAplblYr"
      decimals="INF"
      id="ixv-2103"
      unitRef="USD">-79980</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D240101_240531_AdjToComp-EqtyAwrdsInSummryCompstnTblForAplblYr"
      decimals="INF"
      id="ixv-2104"
      unitRef="USD">-121433</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D260101_260531_AdjToComp-YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstd"
      decimals="128"
      id="ixv-2105"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D250101_250531_AdjToComp-YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstd"
      decimals="128"
      id="ixv-2106"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D240101_240531_AdjToComp-YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstd"
      decimals="128"
      id="ixv-2107"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D260101_260531_AdjToComp-YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstd"
      decimals="128"
      id="ixv-2108"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D250101_250531_AdjToComp-YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstd"
      decimals="128"
      id="ixv-2109"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D240101_240531_AdjToComp-YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstd"
      decimals="128"
      id="ixv-2110"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D260101_260531_AdjToComp-ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrs"
      decimals="128"
      id="ixv-2111"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D250101_250531_AdjToComp-ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrs"
      decimals="128"
      id="ixv-2112"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D240101_240531_AdjToComp-ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrs"
      decimals="128"
      id="ixv-2113"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D260101_260531_AdjToComp-ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrs"
      decimals="128"
      id="ixv-2114"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D250101_250531_AdjToComp-ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrs"
      decimals="128"
      id="ixv-2115"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D240101_240531_AdjToComp-ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrs"
      decimals="128"
      id="ixv-2116"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D260101_260531_AdjToComp-VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYr"
      decimals="INF"
      id="ixv-2117"
      unitRef="USD">162832</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D250101_250531_AdjToComp-VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYr"
      decimals="INF"
      id="ixv-2118"
      unitRef="USD">79980</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D240101_240531_AdjToComp-VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYr"
      decimals="INF"
      id="ixv-2119"
      unitRef="USD">121433</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D260101_260531_AdjToComp-VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYr"
      decimals="INF"
      id="ixv-2120"
      unitRef="USD">162832</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D250101_250531_AdjToComp-VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYr"
      decimals="INF"
      id="ixv-2121"
      unitRef="USD">79980</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D240101_240531_AdjToComp-VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYr"
      decimals="INF"
      id="ixv-2122"
      unitRef="USD">121433</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D260101_260531_AdjToComp-ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYr"
      decimals="128"
      id="ixv-2123"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D250101_250531_AdjToComp-ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYr"
      decimals="128"
      id="ixv-2124"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D240101_240531_AdjToComp-ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYr"
      decimals="128"
      id="ixv-2125"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D260101_260531_AdjToComp-ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYr"
      decimals="128"
      id="ixv-2126"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D250101_250531_AdjToComp-ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYr"
      decimals="128"
      id="ixv-2127"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D240101_240531_AdjToComp-ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYr"
      decimals="128"
      id="ixv-2128"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D260101_260531_AdjToComp-FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYr"
      decimals="128"
      id="ixv-2129"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D250101_250531_AdjToComp-FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYr"
      decimals="128"
      id="ixv-2130"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D240101_240531_AdjToComp-FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYr"
      decimals="128"
      id="ixv-2131"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D260101_260531_AdjToComp-FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYr"
      decimals="128"
      id="ixv-2132"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D250101_250531_AdjToComp-FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYr"
      decimals="128"
      id="ixv-2133"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D240101_240531_AdjToComp-FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYr"
      decimals="128"
      id="ixv-2134"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D260101_260531_AdjToComp-DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYr"
      decimals="128"
      id="ixv-2135"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D250101_250531_AdjToComp-DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYr"
      decimals="128"
      id="ixv-2136"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D240101_240531_AdjToComp-DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYr"
      decimals="128"
      id="ixv-2137"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D260101_260531_AdjToComp-DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYr"
      decimals="128"
      id="ixv-2138"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D250101_250531_AdjToComp-DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYr"
      decimals="128"
      id="ixv-2139"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:AdjToCompAmt
      contextRef="D240101_240531_AdjToComp-DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYr"
      decimals="128"
      id="ixv-2140"
      unitRef="USD">0</ecd:AdjToCompAmt>
    <ecd:PeoActuallyPaidCompAmt
      contextRef="D260101_260531"
      decimals="INF"
      id="ixv-2141"
      unitRef="USD">519026</ecd:PeoActuallyPaidCompAmt>
    <ecd:PeoActuallyPaidCompAmt
      contextRef="D250101_250531"
      decimals="INF"
      id="ixv-2142"
      unitRef="USD">631696</ecd:PeoActuallyPaidCompAmt>
    <ecd:PeoActuallyPaidCompAmt
      contextRef="D240101_240531"
      decimals="INF"
      id="ixv-2143"
      unitRef="USD">755904</ecd:PeoActuallyPaidCompAmt>
    <ecd:NonPeoNeoAvgCompActuallyPaidAmt
      contextRef="D260101_260531"
      decimals="INF"
      id="ixv-2144"
      unitRef="USD">422394</ecd:NonPeoNeoAvgCompActuallyPaidAmt>
    <ecd:NonPeoNeoAvgCompActuallyPaidAmt
      contextRef="D250101_250531"
      decimals="INF"
      id="ixv-2145"
      unitRef="USD">488334</ecd:NonPeoNeoAvgCompActuallyPaidAmt>
    <ecd:NonPeoNeoAvgCompActuallyPaidAmt
      contextRef="D240101_240531"
      decimals="INF"
      id="ixv-2146"
      unitRef="USD">614489</ecd:NonPeoNeoAvgCompActuallyPaidAmt>
    <ecd:CompActuallyPaidVsTotalShareholderRtnTextBlock contextRef="D250601_260531" id="ixv-1101">&lt;p style="font:10pt Times New Roman;margin:0;text-align:justify"&gt;The chart below illustrates the relationship between the PEO and average non-PEO NEO CAP amounts and the Company's total shareholder return ("TSR") during fiscal years 2024, 2025 and 2026.&lt;/p&gt;
&lt;p style="font:10pt Times New Roman;margin:0;text-align:justify"&gt;&#160;&lt;/p&gt;
&lt;p style="font:10pt Times New Roman;margin:0;text-align:center"&gt;&lt;img alt="Picture" src="tddef14a_2.jpg" style="width:496.45pt;height:238.05pt;visibility:visible;mso-wrap-style:square"/&gt;&#160;&lt;/p&gt;
&lt;p style="font:10pt Times New Roman;margin:0;text-align:justify"&gt;&#160;&lt;/p&gt;
</ecd:CompActuallyPaidVsTotalShareholderRtnTextBlock>
    <ecd:CompActuallyPaidVsNetIncomeTextBlock contextRef="D250601_260531" id="ixv-1107">&lt;p style="font:10pt Times New Roman;margin:0;color:#000000;text-align:justify"&gt;&lt;span style="background-color:#FFFFFF"&gt;The chart below illustrates the relationship between the PEO and Non-PEO NEO CAP amounts and the Company's net income du&lt;/span&gt;ring fiscal years 2024, 2025 and 2026.&lt;/p&gt;
&lt;p style="font:10pt Times New Roman;margin:0;color:#000000;text-align:justify"&gt;&#160;&lt;/p&gt;
&lt;p style="font:10pt Times New Roman;margin:0;color:#000000;text-align:center"&gt;&lt;img alt="Picture" src="tddef14a_3.jpg" style="width:497.1pt;height:237.35pt;visibility:visible;mso-wrap-style:square"/&gt;&#160;&lt;/p&gt;
&lt;p style="font:10pt Times New Roman;margin:0;color:#000000;text-align:justify"&gt;&#160;&lt;/p&gt;
</ecd:CompActuallyPaidVsNetIncomeTextBlock>
    <link:footnoteLink
      xlink:role="http://www.xbrl.org/2003/role/link"
      xlink:type="extended">
        <link:loc
          xlink:href="#fact4"
          xlink:label="fact4"
          xlink:type="locator"/>
        <link:footnote id="F1" xlink:label="F1" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">Mr. Sopko was our principal executive officer ("PEO") for the fiscal years ended May 31, 2026, 2025 and 2024.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="fact4"
          xlink:to="F1"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#fact5"
          xlink:label="fact5"
          xlink:type="locator"/>
        <link:footnote id="F2" xlink:label="F2" xlink:role="http://www.xbrl.org/2003/role/footnote" xlink:type="resource" xml:lang="en-US">The non-PEO named executive officers for whom the average compensation is presented in these tables are Alan R. Klembczyk and Paul M. Heary.</link:footnote>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="fact5"
          xlink:to="F2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#fact6"
          xlink:label="fact6"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="fact6"
          xlink:to="F1"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#fact7"
          xlink:label="fact7"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="fact7"
          xlink:to="F2"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#fact8"
          xlink:label="fact8"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="fact8"
          xlink:to="F1"
          xlink:type="arc"/>
        <link:loc
          xlink:href="#fact9"
          xlink:label="fact9"
          xlink:type="locator"/>
        <link:footnoteArc
          xlink:arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote"
          xlink:from="fact9"
          xlink:to="F2"
          xlink:type="arc"/>
    </link:footnoteLink>
</xbrl>
