html, body {margin: 0pt 0pt 0pt 0pt!important; padding: 0pt 0pt 0pt 0pt!important; background:none!important;}

.CyMenTableBorder  {margin-left: 0pt!important; margin-right: 0pt!important; padding:1pt!important; margin-top:8pt!important;}


#fname {
	font-size: 11pt;
	font-weight: bold;
}

input.CheckBox[type="checkbox"], input.Radio[type="radio"] {
	display: inline;
    vertical-align: middle;
}

label {
    -ms-hyphens: auto;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}

body > table {
	max-width: 100%;
    width: auto;
    margin: 0;
}

:root {
--Title-time-Text-Size: 1em!important;
--Palace-Name-Text-Size: 0.7em!important;
--Palace-Hieroglyph-Size: 0.9em!important;
--Palace-Booster-Hieroglyph-Size:0.9em!important;
--Palace-Booster-Character-Size: 0.7em!important;

}

.ZWDS,
.Controls {
    padding-right: 0!important;
    padding-left: 0!important;
	max-width: 100%!important;
}

.ZWDS_Chart > .Chart .Castle .Palace_Auxiliary {
    font-size: 0.8em!important;
}

.ZWDS_Chart > .Chart .CastleC .Details {
    font-size: 0.9em!important;
}

.Bazi_Chart_Group.Micro {
    --Col_Size: 2.8em;
}

/*
.ChartAddInfo,
.Relatives_Tree,
#TableChildYears,
.YearsOfLife,
.GreateLifeCycle {
    page-break-inside: avoid;
    break-inside: avoid;
}
*/

.RightList,
/*.GreateLifeCycle,*/
.TabBar, .BaziChartBlock,
.ChartAddInfo, .YearsOfLife, .childYears, .Relatives_Tree {
    page-break-inside: avoid;
    break-inside: avoid;
}

.RightList,
.TabBar, .ExtendedInfo,
.ChartAddInfo, .YearsOfLife, .childYears {
    font-size: 0.9em;
}

 .ExtendedInfo {
     font-size: 1.2em;
 }

.ML_Table_Chart tbody th {
    line-height: 1.1em;
    color: #000!important;
}

.ChartAddInfo {
    font-size: 0.9em;
}


#bmQmdjView table.ML_Table_Chart,
#bmQmdjView #QMDJMap {
    font-size: 0.88em;
}

#bmQmdjView table.ML_Table_Chart,
#bmQmdjView .QMDJCalc {
    margin-top: 0.4em;
}

.Settings_Main {
    padding: 0;
}

#YearsLive.ML_Table_Chart tbody th {
    font-size: 1em;
}

#setLocalTime + label, .LocalSolarTime + label {
    width: unset;
}


.BaziChartBlock #TCLineTypeSelector input.CheckBox[type="checkbox"],
.PopUpHelp,
input[name="sex"]:not(:checked) + label,
.Server_Info,
.SuportMenu,
.FormItemConnect .flagBG,
#ML_Advertising_Top,
.noPr, .Attent,
input.Radio[type="radio"] + label:before, input.Radio[type="radio"] + label:after, .PayInfo,
input.CheckBox[type="checkbox"] + label:after, input.CheckBox[type="checkbox"] + label:before, #ML_MenuGen,
.AllBottonLight, .ML_Arr_R_B, .ML_Arr_L_B,
.NotesDay_Edit, .NotesDay, .NotesDayMin, .NotesHourMin,
input[type="checkbox"]:not(:checked), input[type="checkbox"]:not(:checked) + label,
#powerTip,
.GenForm input[type="radio"]:not(:checked),
.GenForm input[type="radio"]:not(:checked)+label,
.ML_Table_Chart .Separator,
.TabBar input.Tab + label,
#sexm, #sexf,
.PopUp,
.PopUpHelp,
.Header,
#CurrentCity #ApplyCurrentCity ~ * {
	display: none!important;
}

input[name="sex"] + label svg {
    color: (--color-Black);
}

.ML_Table_Chart tbody td,
.ML_Table_Chart tbody th {
    padding: 0.15em;
}

.HidenSkyStem tr.TenGods,
.HidenSkyStem tr td,
.ML_Table_Chart tbody td,
.ML_Table_Chart tbody th {
    border-width: 0.5pt;
}

.ML_Table_Chart tr.ElementName,
.HidenSkyStem tr.TenGods,
.HidenSkyStem tr td {
    border-color: #706050;
}

.ML_Table_Chart .SymbolStarsDiv {
    padding: 0.1em 0.2em 0.2em 0.2em;
}

.BZ_Gen_H {
    line-height: 1em;
}

.BZ_HiddenSky_big_H {
    line-height: 1em;
    font-size: 1.9em;
}

svg.CalendHex {
    font-size: 1.7em;
}

#bmClasikView {
    font-size: 0.9em;
}

.ActiveCELL,
.GreateLifeCycle:not(table),
.YearsOfLife,
.childYears:not(td):not(th) {
    font-size: 0.8em;
}

.Relatives_Tree {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#tmin, #thur {
    text-align: center;
    width: 21pt !important;
}

#year + #thur {
    border-left: 0.5pt solid;
}

.Relatives_Tree #Relatives_Lines {
/*
    transform: scale(0.9);
    transform-origin: top left;
    position: absolute;
    top: -2.4em;
    left: -2.4em;
*/

    transform: scale(0.9);
    /*transform-origin: center -35em;*/
    transform-origin: center -54%;
    margin: -54% 0;

    /*
    margin: -2.4em;
    */
}

.Relatives_Tree .Relatives_Tree_Chart {
    font-size: 0.9em;
    padding: 1em 0;
}


.TabBar_Content_Wrap,
.TabBar.Border .TabBar_Content_Wrap {
	border-top: 1px solid var(--color-Beige-Light);
	border-top-left-radius: 0;
	border-top-right-radius: 0;

	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;}

.ChartAddInfo .ExtendedInfo {
    border-radius: 0;
}

.wrapper_main_zwds {
    min-width: initial!important;
    width: 100%!important;
}

.wrapper_main_school,
.wrapper_main_pages,
.wrapper_main_blog,
.wrapper_main_system, .ContentShop, .wrapper_main_gdirection, .wrapper_main_24mountain, .wrapper_main_map, .wrapper_main_shop, .wrapper_main_qmdjsearch, .wrapper_main_calc {
    min-width: initial!important;
    width: 20cm;
}

#StolpyUdachi #SUSkyColumn,
#StolpyUdachi #SUEarthBranch,
.wrapper_main_calc:not(.wrapper_section_compatibility) #childYears #SUSkyColumn,
.wrapper_main_calc:not(.wrapper_section_compatibility) #childYears #SUEarthBranch,
.wrapper_main_calc:not(.wrapper_section_compatibility) #childYears #SymbolStarsDay {
    height: inherit!important;
}

h3 {font-size: 1.2em!important;
line-height: 1em!important;}

.Usin {
	margin: 2pt 0pt 2pt 0pt!important;
	overflow: visible!important;
}
.HDPI {
    display: inline-block!important;
    max-width: 27em;
    width: 100%;}
.lDPI {display: none!important;}
 @media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) {
	.HDPI { display: none !important; position: relative !important; width: 6cm!important;}
	.lDPI {display: inline !important;}
 }

.ChartAddInfo .TabBar .TabBar_Content_Wrap {
    height: unset;
}

.CastleC .Micro .Bazi_Chart .Head svg,
#menu, #TopMenu, .KartaBadZi hr, .Footer, footer, .ULSubMenu, .ULMenu2, .HeadLogo, #ControlBatton, .Beta, .ArrowW, .Attent, .add_dp, .ULMenu, .TopMenu, .TopMenu2, .AllBotton, .WindowBlue, .Win, .ULMenu, hr, #bmControl, .SHTitle, #bmSelector {display: none!important;}

/*#StolpyUdachi {page-break-after: always!important;}*/

#YearsLive, #ProfMap {width: 100%!important;}

.Header {
    margin-top:0;
    margin-bottom:0.2cm!important;
	padding: 0!important;
	min-height: 1px!important;
    background:none!important;}

.GenTable, .wA4H {
	border-collapse: collapse!important;
    /*width: auto!important;*/
    width: 100%;
	margin: -5pt 0px 0px 0px!important;
	padding: 0cm!important;

    }
	
.wA4H {
	width: 500px!important;
}

#HoursTableDescript td, #HoursTableDescript th {
    border-right:1px solid #ffffff;
    border-left:1px solid #ffffff;}

#HoursTableDescript h3 {margin-top:7pt!important;}


table.RightList{margin-top: 0.1pt!important;}

.RightList,
.RightList th, .RightList th strong
.RightList tbody th,
.RightList tbody td {
	font-size: 1em;
    line-height: 1em;}

.RightList th, .RightList td {
    border-bottom: none;
    }
	
.GTheadTd, #bmClasikView {
	background-color: #ffffff!important;
	padding:0cm!important;
margin:0pt!important;}

.NoFixedBlock { padding: 0!important; }
.FormItemConnect { margin: 0!important; }
.FormItemConnect .flagBG + input {

}


.KartaBadZi, .BadziKvadrat, .CyMenMapMicro, .CyMenMapMicroSub, .StolpyMin, .ML_Table_Chart {border-collapse: collapse;}

.KartaBadZi, .KartaBadZi td { border: 1px solid #dddddd; }
#HoursTableDescript.KartaBadZi tbody td.HourDescr {
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
}

.KartaBadZi {
	font-size: 9pt;
}

.KartaBadZi tbody th, .KartaBadZi thead th, .BadziKvadrat tbody td,
.CyMenMapMicro td, .CyMenMapMicro th {
    border-top:1px solid #555555;
    border-right:1px solid #555555;
    border-left:1px solid #555555;
    border-bottom:1px solid #555555;}

#HoursTableDescript.KartaBadZi tbody th {
    border-top: unset;
    border-bottom: unset;
}

.CyMenMapMicroSub td, .CyMenMapMicroSub th {border:1px solid #ffffff!important;}
td.CyMenMapMainStar, th.CyMenMapMainStar {border:1px solid #000000!important;}

.TField, label,
input[type="text"], input[type="password"],
input[type="email"], input[type="number"],
input[type="range"], input[type="search"],
input[type="tel"], input[type="url"] {margin: 1pt!important; padding: 1pt!important;}

.KartaBadZi, .KartaBadZi h3, .Day, .MonthHour, .KartaBadZi td,
.KartaBadZi th, .Header, .Sha, .Collision, .TField, label,
.ML_Table_Chart th, .ML_Table_Chart td,
.ML_Table_Chart thead th, .ML_Table_Chart thead td,
.GTheadTd, .GenTable, .GTfootTd, .TDTHDay2 td h3,
.BadziKvadrat, .BadziKvadrat th, .BadziKvadrat tbody td, 
.SMAHover, .WinTable, .WinTable thead td, .NoteIco a, #tooltip,
.ui-autocomplete-input, .KartaBadZi thead th, .KartaBadZi thead th a, .TDTHCalendar, .CyMenTableBorder,
input[type="text"], input[type="password"],
input[type="email"], input[type="number"],
input[type="range"], input[type="search"],
input[type="tel"], input[type="url"] {
    border-radius: 0!important;
	box-shadow: none!important;
	text-shadow: none!important;
    }

.ML_Table_Chart #EarthBranch + tr.ElementName,
.HidenSkyStem tr.ElementName,
.ML_Table_Chart tr.ElementName th,
.HidenSkyStem tr.TenGods th {
    border-bottom: none;
}

.ML_Table_Chart tr.TenGods, .ML_Table_Chart tr.TenGodsEarthName, .ML_Table_Chart tr.ElementName {
    height: auto;
}

.Content {margin: 0cm!important; padding: 0cm!important;}

.TDTHCalendar { width: 21cm !important; }

.moon img {width: 20px!important;
	height: 20px!important;}
.moon {font-size: 10px !important;
	width: 20px!important;
	height: 20px!important;}
.moon b {
    height: 15px!important;
    top: 5px!important;
    width: 20px!important;}

.Day {font-size: 10px !important;
    line-height: 1em!important;
    top: 6px!important;
    width: 18px!important;
}

.MonthHour {font-size: 7px !important;
    line-height: 1em!important;
    top: 9px!important;
    width: 18px!important;
}

.GenForm #lat, .GenForm #lng {
    width: 6em;
}


#fname {
    font-size: 11pt;
    font-weight: bold;
}


.KartaBadZi tbody th a { color: #000!important;}

.KartaBadZi thead th, .KartaBadZi tbody th a {
font-size: 7.5pt!important;
text-decoration: none!important;
/*border: 1px solid #DFD8D0!important;*/}
.KartaBadZi .Separator th, .KartaBadZi .Separator td {
    font-size: 0!important;
    padding: 0!important;
}

.KartaBadZi td, .KartaBadZi th, .KartaBadZi tbody th {
    padding: 0.1em;
    line-height: 1em;}
 .KartaBadZi p {padding: 0pt!important; line-height: 1em!important;}

.KartaBadZi tbody td {
    font-size: 9pt;
    margin: 12pt;
    padding: 0.1em;}

#HoursTableDescript.KartaBadZi tbody td.HourDescr {
    border-right: none;
}

#HoursTableDescript.KartaBadZi tbody th.QimenDunjia {
    border-left: none;
}

.KartaBadZi .PersonalPlusMinus img { height: 1.7em!important; }


.StolpyMin td, .StolpyMin th {padding: 2pt!important; border:none!important;}
.StolpyMin .IMin {font-size: 9pt !important;}

.StolpyMin .FStar01 th, .StolpyMin .FStar01 td {
	font-size:7pt!important;
	line-height: 0.9em !important;}

.StolpyMin span {
    line-height: 0.8em;
    margin: 0;
    padding: 0;
}
table.StolpyMin .FStar01 {
	height: auto !important;
	min-height: 0.2cm !important;
}

.IMicra2 {font-size: 11pt!important;}


.GenForm {padding:0cm!important;
	margin: 0cm!important;
	border-bottom: none!important;}

select, .GenForm select {
    background-image: none;
	padding:0 0.2em;
	margin: 0!important;
	border: none;
	border-bottom: 1px solid #888;
	background-color: white;
	background-image: none;
    width: auto!important;
    min-height: auto;}

.FormItemConnect, select, .GenForm select,
.CyMenMapMicro tbody > tr:first-of-type > td:last-of-type .CyMenMapMicroSub {
    border-radius:0!important;
}

.GenForm input {padding:0!important;
	margin: 0.1cm!important;
	border-top: none!important;
	border-right: none!important;
	border-left: none!important;
	border-bottom: 1px solid #888!important;
	background-color: transparent!important;}

.BgIco_Profile { font-weight: bold!important;
background-image: none!important; }
	
.IMid, .IMid00, span.IMid00 {
    font-size: 14pt !important;
    line-height: 14pt !important;}

.IMid3, font.IMid3, .KartaBadZi tbody td.IMid3 {font-size: 22pt !important;
    line-height: 1em !important;}

.IMin {
    font-size: 10pt !important;
    line-height: 1em !important;}
.IMicra {
    font-size: 7pt !important;
    line-height: 0.9em !important;}
.FMicro,
.Helper .FMicro,
#HoursTable .FMicro {
    font-size: 0.9em;
    line-height: 0.9em;
    margin: 0 0.1em;
    display: inline-block;}

.IMicraP {
    font-size: 10pt !important;
    line-height: 0.9em !important;}
    
.PlusMinus img, .SymbolStars img {
	height: 0.4cm!important;
}

.SymbolStars ins {padding: 0pt 2pt 0pt 0!important;}

.TDTHMin th, .TDTHMin td {
    width: 1.55cm !important;}
.TDTHMap th, tdthmap td {
    width: 1.7cm !important;}

.FiveSphere {width:5cm;}


#StolpyUdachi .SymbolStarsDay th span {
	padding-bottom: 2px!important;
}

.CyMenTableBorder {
    border: none!important;
}


.CyMenMapMicroSub img
.CyMenMapMicroSub .QMDJCalcRate {
	width: 0.9em;
    margin: 0 0 0 0.1em;
}

#HoursTable td {
	width: auto!important;
}

#HoursTable .StolpyMin {
	width: 0.5cm!important;
}

#utc {width:1.8cm!important;}
/*
.DaGua {font-size:8pt!important;}
*/

/* Связи */
#LineTypeSelector {
	right: -155px!important;
	font-size:8pt!important;
}
#bazimapcont {
	margin: 12px 0px 12px -125px!important;
}

.SHPropBord {
	margin-top: 0px!important;
    display: none;
}

#YearsLive, .childYears, #StolpyUdachi, .Relatives_Tree {
    margin-top: 1em;
}

.SHPropBordSel + #YearsLive, .SHPropBordSel + .childYears, .SHPropBordSel + #StolpyUdachi {
   margin-top: 0;
}

.GreateLifeCycle .YearsOfLifeGraph,
.YearsOfLife .GreateLifeCycleGraph {

    /*transform: scale(0.91);
    transform-origin: 0% 50%;*/
}

.BaziChartBlock {
    margin: 1em 0;
}

#bmTwelfView #MainChart_TwelveCastle #TCbmCastle2 {
    font-size: 0.88em;
}

#bmTwelfView #MainChart_TwelveCastle #TwelveCastle_Lines {
    transform: scale(0.88);
    transform-origin: top;
}

.BZ_Sub_H {
    font-size: 3em !important;
}

/* Настройки стилей печати для иероглифов/текста */
	/* Иероглифы для карт бацзы */
	/*
.BZ_Gen_Lite_H {
		font-style: 30pt !important;
	}
	.BZ_Gen_Lite_K {
		font-style: 28pt !important;
	}
	.BZ_Gen_H {
		font-size: 20pt !important;
		line-height: 1.1em !important;
		}
	.BZ_Gen_K {
		font-size: 20pt !important;
		line-height: 1.1em !important;}
	.BZ_Gen_T {
		font-size: 18pt !important;
		line-height: 1.1em !important;}

	.BZ_Sub_H {
    font-size: 16pt !important;
    line-height: 1.1em !important;}

	.BZ_Sub_K {
    font-size: 16pt !important;
    line-height: 1.1em !important;}

   .BZ_Sub_T {
    font-size: 14pt !important;
    line-height: 1.1em !important;}

	.BZ_HiddenSky_big_H {
    font-size: 14pt !important;
    line-height: 1.1em!important;}

	.BZ_HiddenSky_big_K {
    font-size: 14pt !important;
    line-height: 1.2em!important;}

   .BZ_HiddenSky_min_H {
   	font-size: 9pt!important;}

   .BZ_HiddenSky_min_K {
   	font-size: 9pt!important;}

   .BZ_HiddenSky_min_T {
   	font-size: 7pt!important;}

   .BZ_DesrRight_H {
   	font-size: 9pt!important;}

   .BZ_DesrRight_K {
   	font-size: 8pt!important;}
   .BZ_DesrRight_T {
   	font-size: 8pt!important;}

   .BZ_YearsOfLife_H {
   	font-size: 8pt !important;
   	}
   .BZ_YearsOfLife_K {
   	font-size: 8pt !important;
   	}
   .BZ_YearsOfLife_T {
   	font-size: 7pt !important;
   	}
*/
   	
   .BZ_Naijin_K, .BZ_Naijin_K {}
   
	.CL_NaijinMonth_H, .CL_NaijinMonth_K {
		font-size: 8pt !important;
	}


.KartaBadZi .StolpyMin { margin: 1pt 2pt 4pt;}

.StolpyMin .CL_GenMonth_H {
    font-size: 1.9em;
    padding: 0; }

	.CL_GenMonth_H,
    .Hours_Pillar .CL_GenMonth_H {
		font-size: 2.1em;
	}
	.CL_GenMonth_K {
		font-size: 0.9em;
	}
   
   /* Дагуа и наинь */
   	.T0R0, .T0L0, .B0R0, .B0L0 {
        /*
        font-size:7pt!important;
        */
   	    line-height: 1.2em;!important
        }
   /* Конец дагуа и наинь */
   
/* Конец Настройки стилей печати для иероглифов/текста */

/* Параметры для скролблоков */
.ScrollBlock {
	width: 380px!important;
	padding:0px!important;
}

.mCSB_container {
	margin: 0px!important;
}
.mCSB_scrollTools {
	display: none!important;
}

.wrapper_main_profile, .wrapper_main_calendar {
 	min-width: 0;
 	max-width: unset; }

/*
Sticky
*/

.StickyTop, .Header.StickyTop {
    position: unset;
    top: 0;
    font-size: 1.2em;
    height: unset;
    border-bottom: none;
}

.StickyTop.StickyShadow:before {
   content:none;
}

.ChartAddInfo .WuXing,
.ChartAddInfo .Info {
    margin-top: 0.8em;
}
