@charset "utf-8";
*
{
    margin: 0px;
    padding: 0px;
}
body {
    overflow-x: hidden;
}
label
{
    user-select: none;
}
select {
    font-size: 15px !important;
}
input[type="text"]
{
    text-align: center;
}
.setTxt
{
    width: 58px;
}
.setColor
{
    color: blue;
}
.flood-row{
    display: flex;
    align-items: center;
    gap:5px;
}
.flood-row label{
    min-width: 100px;
}
.flood-RowStillwater{
    display: flex;
    align-items: center;
    gap:5px;
}
.flood-RowStillwater label{
    min-width: 130px;
}
.flood-RowWaveSurcharge1{
    display: flex;
    align-items: center;
    gap:5px;
}
.flood-RowWaveSurcharge1 label{
    min-width: 140px;
}
.flood-RowWaveSurcharge2{
    display: flex;
    align-items: center;
    gap:5px;
}
.flood-RowWaveSurcharge2 label{
    min-width: 200px;
}
.flood-RowWaveSurcharge2qmean{
    display: flex;
    align-items: center;
    gap:5px;
}
.flood-RowWaveSurcharge2qmean label{
    min-width: 130px;
}
.flood-roww{
    display: flex;
    align-items: center;
    gap:5px;
}
.flood-roww label{
    min-width: 170px;
}
.flood-RowWave{
    display: flex;
    align-items: center;
    gap:5px;
}
.flood-RowWave label{
    min-width: 160px;
}
.flood-RowCachmentResult{
    display: flex;
    align-items: center;
    gap:5px;
}
.flood-RowCachmentResult label{
    min-width: 190px;
}
.flood-RowWaveSurcharge2{
    display: flex;
    align-items: center;
    gap:5px;
}
.flood-RowWaveSurcharge2 label{
    min-width: 190px;
}
.flood-rowCoreLevel
{
    display: flex;
    align-items: center;
/*    gap:5px; */
}
.flood-rowCoreLevel label{
    min-width: 170px;
}
header{
	height: 150px;
	background-color: #4F82B1;
}
footer{
	height: 50px;
	background-color: #4F82B1;
}
main{
    height: auto;
    padding: 0px !important;
}
section{
    background-color: gray;
}
article{
    background-color: #c2bfbf;
    margin: 0px !important;  
    border: 1px solid black;
}
i
{
    font-size: 19px;
    color: blue;
}
i.fa-check 
{
  display: none;
}
.divData
{
    height: 160px;
    border: 1px solid #8f8f8f;
}
.setItemDivLeft
{
    margin-left: 110px;
}
.setItemDivCenter
{
    margin-left: 140px;
}
.setItemDivRight
{
    margin-left: 85px;
}
/*section Dam Category and Flood Assessment*/
#divDamCategory label
{
    margin-bottom: 0;
}
#divDurationFlood
{
    border-right: none;
}
#txtSafetyCheckDurationFlood
{
    width: 110px;
    margin-top: -6px;
    font-size: 13px;
}
#txtDesignFloodDurationFlood
{
  width: 110px;
 font-size: 13px;
  margin-top: -6px;
}



/*section Dam Geometry*/
#articleTopDamGeometry
{
    border-bottom: none; 
}
#articleBottomDamGeometry
{
    border-top-color: #8f8f8f; 
}
#divSlopes
{
    height: auto;
}
#divWaveWall
{
    height: auto;
}
#divCoreLevel
{
   border-right: none; 
}
.divDamGeometry
{
    height: auto;
}

#lblAverage-ManualTopDamLevel
{
    display: none;
}
#lblAverage-ManualCoreLevel
{
    display: none;
}
.setItemDivSlopes
{
    margin-left: 52px;
}
.setItemDivWaveWall
{
    margin-left: 141px;
}

#txtDsSlopes
{
    width: 54px;
}
#txtUsSlopes
{
    width: 54px;
}
#lblAverage-ManualWaveWall
{
    display: none;
}

/*section U/S & D/S Protection*/
.divProtection
{
    height:auto;
}
.setItemDamCrestprotection
{
    margin-left: 165px;
}
.setItemDownstreamDamProtection
{
    margin-left: 220px;
}
#divDamCrestProtection
{
    border-bottom: none;
    border-right: none;
}
#divUpstream
{
    height: auto;
}
#divDownstreamDamProtection
{
    border-bottom: none;
    border-left: none;
}
#divProtectionLevelProvided
{
    border-top: none;
}
#divProtectionLevelProvided select
{
    font-size: 14px !important;
    margin-top: 7px;
    margin-bottom: 7px;
}
#divUpstream i
{
    font-size: 19px;
    margin-left: 6px;
    color: blue;
}
#divUpstream i:hover
{
    cursor: help;
}
#txtAllowableMeanProtection
{
   width: 58px; 
}
.setItemUpstream
{
    margin-left: 80px;
}
.setItemMarginUpstream
{
    margin-left: 35px;
}
#divUpstream div
{
    text-align: right;
}

/*section Spillway Structure*/

#lblTopWaterLevel{
    display: none;
}
.setTxtSpillwayStructure
{
    width: 32px;
}
.divSpillwayStructure
{
    height: auto;
}
#divSpillwayStructureLeft{
    margin: 0;
    padding-right: 2px;
}
#divspillwayStructureWeir
{
    margin-top: 20px;
}
.setItemMarginSpillwayStructure
{
    margin-left: 35px;
}
.setItemMarginSpillwayStructureSection
{
    margin-left: 55px;
}
#lblSpillwayStructureDia{
    margin-left: 20px;
}
#lblSpillwayStructureZ{
    margin-left: 90px;
}
#divspillwayStructureCrest
{
    border-bottom: 1px solid #8f8f8f;
    padding-bottom: 20px;
}
#cmbValueCalculationSpillwayCrest
{
    width: 76px;
}
#lblAverage-ManualSpillwayCrest
{
    display: none;
}
#txtSpillwayTopWater
{
    margin-left: 4px;
}
#lblAverage-ManualSpillwayPipe
{
    display: none;
}


/*section Catchment Data*/
.divCatchmentData
{
     height: auto;
}
#divCatchmentDataLeft i
{
    margin-left: 25px;
}
#divCatchmentDataLeft i:first-of-type
{
    margin-left: 16px;
}
#divCatchmentDataLeft i:last-of-type
{
    margin-left: 12px;
}
.setItemMarginNatureCatchment
{
    margin-left: 165px;
}

/*section Wave Surcharge*/
.divWaveSurcharge
{
     height: auto;
}
#divWaveSurchargeLeft i
{
    margin-left: 6px;
}



/*section Rezult*/
/* Overlay و مات کردن پس‌زمینه */
#modalOverlay {
  display: none; /* مخفی به صورت پیشفرض */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* نیمه مات */
  backdrop-filter: blur(4px); /* مات کردن صفحه زیر */
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

/* محتوای تب‌ها */
.modal-tab {
  display: none;
}
.modal-tab.active {
  display: block;
}

/* محتوای پنجره */
#modalContent {
  background: white;
  width: 100%;
  max-width: 900px;
  max-height: 100%;
  overflow-y: auto;
  padding: 20px;
  border-radius: 10px;
  position: relative;
}
#sectionRezult
{
    text-align: center;
}
.btnSectionRezult 
{
    margin: 20px 0px;
   padding: 5px 20px;
   margin-left: 20px; 
}
.modal-tab-content
{
    text-align: left;
}


/* دکمه بستن */
#closeModal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
    display: none;
}
#btnClose {
  cursor: pointer;
}
#sectionRezult p
{
    display: none;
    color: blue;
    text-align: left;
    padding-left: 10px;
/*    background-color: aliceblue;*/
}
/* تب‌ها */
.modal-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}
.modal-navigation
{
    padding: 10px 0px;
    display: flex;
    flex-wrap: wrap;        
    justify-content: center; 
    gap: 10px
}
.BtnNavigation {
  padding: 5px 35px;
  cursor: pointer;
  border-radius: 5px;
  flex: 1 1 auto;
  min-width: 0;
  word-spacing: normal;
  box-sizing: border-box;
}
#saveTab
{
   display:none; 
}
#printTab
{
    display:none;
}

/*Catchment result*/
#sectionCatchmentResult
{
    background-color: #c2bfbf;
    display: flex;
    flex-direction: column;      
    align-items: center;         
    justify-content: center;     
}
.setMarginCatchmentResultI
{
    margin-left: 2px;
    margin-top: -3px;
}
.setWithLblUnitofMeasurement
{
    min-width: 43px !important;
}
#divCatchmentTop
{
    padding-right: 0;
}
#divCatchmentMidl 
{
   border: 1px dotted gray;
}
#lblSFC
{
   margin-left: 213px; 
}
#lblDF
{
   margin-left: 40px; 
}
#divCatchmentBottom
{
   padding-top: 5px;
}
#divCatchmentBottom div
{
    margin:0px auto;
}
#divCatchmentBottom div img
{
    width: 100%;
    height: auto;
}

/*Stillwater Flood Rise*/
.setMarginStillwater
{
    min-width: 20px !important;
}
#divStillwaterLeft{
    border: none;
}
.divStillwater
{
    border: 1PX dotted gray;
    padding-left: 5px;
    margin-bottom: 20px;
}
.lblSFCStillwater
{
    margin-left: 155px;
}
.lblDFStillwater
{
    margin-left: 33px;
}
#divStillwaterRight
{
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
}
#lblSFCTpStillwater
{
   margin-left: 160px; 
}
#lblDFTpStillwater
{
  margin-left: 57px;  
}
#divStillwaterButton button
{
    padding: 5px 20px;
}


/*Wave Surcharge 1*/
.setMarginWaveSurcharge1
{
    min-width: 38px !important;
}
#divWaveSurcharge1Right
{
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
}

/*Wave Surcharge 2*/
.setMarginLblWaveSurcharge2
{
    min-width: 60px !important;
}
.setMarginLblWaveSurcharge2A
{
    min-width: 23px !important;
}
.txtLmWaveSurcharge2
{
    margin-top: 5px;
}

.setTxtWaveSurcharge2
{
    width: 243px;
}
.divWaveSurcharge2
{
    background-color: #ffe5e5;
    margin-bottom: 5px;
    padding-top: 5px;
}



/*Conclusion*/
.flood-RowConclusion{
    display: flex;
    align-items: center;
    gap:5px;
}
.flood-RowConclusion label{
    min-width: 270px;
    max-width: 270px;
}
.setMarginConclusion
{
    min-width: 35px !important;
}
.setMarginTopConclusion
{
    margin-top: -10px;
}
#modal-tab-5 label
{
    font-size: 15px;
}
#txtfreeboardConclusionTopLeft
{
    margin-bottom: 10px;
}
.setPaddingConclusion
{
    padding-left: 1px !important;
}
.txtConclusionTop
{
  width: 100%;
  background-color: #ffffef;
  border: none;
  padding: 5px 0px;
  margin-bottom: 3px;
}
h6
{
    text-align: center;
}
.txtCommentConclusion
{
    background-color: white;
    width: 100%;
    padding: 15px 0px;
    border: none;
    margin-bottom: 10px;
}
#articleConclusionTop h6
{
    font-weight: 600;
}
#articleConclusionBottom h6
{
    margin: 0px auto;
    font-weight: 600;
}
.setBorderResultConclusion
{
    border: 1px solid rgba(160,160,160,1.00);
    padding-left: 1px;
}




/***************responsive*********************/

@media  (max-width:992px)
{
    #articleStillwaterRise
    {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #articleWaveSurcharge1
    {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #divWaveSurcharge1Left
    {
        border: none;
    }
   #divStillwaterRight
    {
        display: none;
    }
    #articleConclusionBottom>div
    {
        margin-top: 10px;
    }
    #articleConclusionBottom>div:nth-child(2)
    {
        margin-top: 20px;
    }
}

@media  (min-width:991px) and (max-width:1200px)
{
    .setItemDivRight
        {
          margin-left: 25px;
        }
    .setItemDivCenter 
        {
          margin-left: 80px;
        }
    .setItemDivWaveWall 
        {
          margin-left: 78px;
        }
}
@media  (min-width:768px) and (max-width:991px)
{
   .setItemDivRight
    {
      margin-left: 40px;
    }
}
@media (min-width:767px) and (max-width:1200px)
{
            #divDurationFlood{
                padding-right: 2px;
			}
            #divCoreLevel{
                padding-right: 3px;
			}
            #divSlopes
            {
                padding-right: 3px;
            }
            #divDamCrestProtection
            {
                padding-right: 3px;
            }
            #divUpstream input:not(#txtCoefficient)
            {
              margin-left: 40px;
            }
            #divspillwayStructureSection
            {
                padding-right: 2px;
                
            }
            #divspillwayStructureCrest
            {
              padding-right: 2px;
            }
            #divspillwayStructurePipe
            {
              padding-right: 2px;
            }
	}
@media(max-width:767px)
{
    #divWaveSurcharge1Right img
    {
        width: 100%;
        height: 100%;
    }
}
@media (min-width:505px) and (max-width:767px)
{
            #divUpstream input:not(#txtCoefficient)
            {
              margin-left: 70px;
            }
            .setItemDownstreamDamProtection {
              margin-left: 168px;
            }
            .flood-rowCoreLevel
            {
              gap:5px;
            }
}
@media  (max-width:470px)
{
    .flood-RowConclusion label 
        {
          min-width: 200px;
          max-width: 200px;
        }
}
@media  (min-width:443px) and (max-width:504px)
{
             #lblSmall{
                display: block; 
             }
             #lblblocks{
                display: block; 
             }
          .setItemDivCenter {
              margin-left: 28px;
           }
          .setItemDivRight {
              margin-left: 28px;
            }
          .setItemDivWaveWall {
              margin-left: 28px;
            }
          .setItemDivSlopes {
              margin-left: 28px;
           }
          .setItemDamCrestprotection {
              margin-left: 28px;
            }
          .setItemDownstreamDamProtection {
              margin-left: 28px;
            }
          .setItemDivLeft {
              margin-left: 28px;
            }
          .setItemUpstream {
              margin-left: 1px;
            }
          .setItemMarginUpstream {
              margin-left: 1px;
            }
          .setItemMarginNatureCatchment {
              margin-left: 28px;
            }
          .flood-rowCoreLevel
            {
              gap:5px;
            }
}

@media   (min-width:381px) and (max-width:442px)
{         
            #divUpstream > label
            {
              font-size: 14px;
            }
            #lblSmall{
                display: block; 
             }
            #lblblocks{
                display: block; 
             }
             #divProtectionLevelProvided select {
                width:350px ;
             }
            #txtAllowableMeanProtection
            {
                width: 40px;
            }
            #lblAllowableMeanProtection
            {
                font-size: 14px;
            }
          .setItemDivCenter {
              margin-left: 28px;
           }
          .setItemDivRight {
              margin-left: 28px;
            }
          .setItemDivWaveWall {
              margin-left: 28px;
            }
          .setItemDivSlopes {
              margin-left: 28px;
           }
          .setItemDamCrestprotection {
              margin-left: 28px;
            }
          .setItemDownstreamDamProtection {
              margin-left: 28px;
            }
          .setItemDivLeft {
              margin-left: 28px;
            }
          .setItemUpstream {
              margin-left: 1px;
            }
          .setItemMarginUpstream {
              margin-left: 1px;
            }
          .setItemMarginNatureCatchment {
              margin-left: 28px;
            }
         .flood-rowCoreLevel
            {
              gap:5px;
            }
       
}
@media  (min-width:300px) and (max-width:467px)
{
    
    #sectionCatchmentResult
        {
            align-items: flex-start;     
            padding-right: 4px;
            padding-left: 2px;
        }
    .flood-RowCachmentResult
        {
            gap:2px;
        }
    #divCatchmentBottom div
        {
          width: 385px !important;
        }
    #lblDF 
        {
          margin-left: 33px;
        }
    #lblSFC 
        {
          margin-left: 210px;
        }
    .flood-RowCachmentResult label
        {
           min-width: 175px;
            font-size: 15px
        }
    
}
@media  (min-width:300px) and (max-width:432px)
{
    #divCatchmentBottom div 
        {
          width: 370px !important;
        }
    .flood-RowCachmentResult label 
        {
          min-width: 175px;
            font-size: 15px;
        }
}
@media  (min-width:300px) and (max-width:380px)
{
            #divUpstream > label
            {
              font-size: 13px;
            }
             #divProtectionLevelProvided select {
                width:324px ;
             }
            #txtAllowableMeanProtection
            {
                width: 40px;
            }
            #lblAllowableMeanProtection
            {
                font-size: 13px;
            }
          .setItemDivCenter {
              margin-left: 28px;
           }
          .setItemDivRight {
              margin-left: 28px;
            }
          .setItemDivWaveWall {
              margin-left: 28px;
            }
          .setItemDivSlopes {
              margin-left: 28px;
           }
          .setItemDamCrestprotection {
              margin-left: 28px;
            }
          .setItemDownstreamDamProtection {
              margin-left: 28px;
            }
          .setItemDivLeft {
              margin-left: 28px;
            }
         .setItemUpstream {
              margin-left: 1px;
            }
          .setItemMarginUpstream {
              margin-left: 1px;
            }
          .setItemMarginNatureCatchment {
              margin-left: 28px;
            }
          .flood-rowCoreLevel
            {
              gap:5px;
            }
}






