/* CSS Document */
html{height: 100%;}
body{padding:0px; margin:0px; font:14px/20px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;height:100%;}
div, p, ul, h1, h2, h3, h4, h5, h6, form, label{margin:0px; padding:0px;}
ul{list-style-type:none; margin:0px; padding:0px;}
a{color:#000090; text-decoration: none;}
a:hover{color: #FF7A00; text-decoration: underline;}

/*--- Tibetan ---*/
.tib{font-family: "Jomolhari-ID", Jomolhari, "Tibetan Machine Uni", "Microsoft Himalaya", Kailasa, Kokonor, "XenoType Tibetan New", "TCRC Youtso Unicode"; font-size:24px; line-height:30px;}
.tibl{font-family: "Jomolhari-ID", Jomolhari, "Tibetan Machine Uni", "Microsoft Himalaya", Kailasa, Kokonor, "XenoType Tibetan New", "TCRC Youtso Unicode"; font-size:28px; line-height:34px; margin-bottom:15px;}
.tibs{font-family: "Jomolhari-ID", Jomolhari, "Tibetan Machine Uni", "Microsoft Himalaya", Kailasa, Kokonor, "XenoType Tibetan New", "TCRC Youtso Unicode"; font-size:20px; line-height:24px;}

/*--- Content Box ---*/
.box{background:url('/assets/images/mainbg.gif') repeat-x left bottom; margin:15px 10px 5px 0px; border:1px solid #DFDFDF;}
.box p{padding:2px 5px;}
.box h1{background:#FAFAFA; padding:0px 5px; font-weight:bold; font-size:14px; border-bottom:1px solid #DFDFDF;}

.clear{clear:both;}
.center{text-align:center;}
.right{text-align:right;}

/*---Top Panel---*/
#topPan{width:820px; height:184px; position:relative; margin:0 auto; background:url('/assets/images/top_logo.png') no-repeat left top;}

/*---Sub Panel---*/
#subPan{width:820px; position:relative; margin:0 auto; background:#FAFAFA;}

#path ul{margin-left:5px; display:inline; list-style-image: url('/assets/images/arrow.png');}
#path li{padding-left:12px; display:inline;}
#path a{color:#4F4F4F; text-decoration: none;}
#path a:hover{color:#FF7A00; text-decoration: underline;}

#date{margin-right:10px; float:right;}

/*---Middle Panel---*/
#midPan{width:820px; position:relative; margin:0 auto; background:url('/assets/images/mainbg.gif') repeat-x left bottom;min-height: 50%;}

/*---Menu Panel---*/
#leftPan{width:220px; float:left;}

#menu{margin-right:30px;}
#menu li{background-image:url('/assets/images/arrow.png'); background-repeat: no-repeat; background-position: 2px 5px; padding-left:16px; font-weight: bold; color:#4F4F4F}
#menu li.active{background-image:url('/assets/images/arrow1.png');}
#menu li li{background-image:url('/assets/images/indent1.png'); font-weight:normal;}
#menu a{color:#4F4F4F; text-decoration: none;}
#menu a:hover{color: #FF7A00; text-decoration: underline;}
#menu h1 {
    background-image:url('/assets/images/burger.png');
    background-repeat: no-repeat; 
    background-position-x: 5px;
    background-position-y: center;
}

/*---Main Context Panel---*/
#mainPan{width:600px; float:left;}
#mainPan p{margin-bottom:10px;}
#mainPan h1{margin-top:15px; margin-bottom:20px; font-size:21px; font-weight:bold; font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;}
#mainPan h2{margin-bottom:15px; font-size:16px; font-weight:bold; font-variant:small-caps; font-family:Tahoma, Verdana, Arial, Helvetica, sans-serif;}
#mainPan h3{margin-bottom:15px; font-size:15px; font-weight:bold;}
#mainPan h4{margin-bottom:15px; font-size:15px; font-weight:normal;}
#mainPan h5{margin-bottom:2px; font-size:15px; font-weight:normal;}
#mainPan a{color:#000090; text-decoration: none;}
#mainPan a:hover{color: #FF7A00; text-decoration: underline;}
#mainPan a img{border-style:none;}
#mainPan img{margin:5px 15px 15px 0px; float:left;}
#mainPan ul{list-style-image:url('/assets/images/arrow.png'); list-style-position:inside; margin-bottom:10px; margin-left:20px;}
#mainPan ul.pdf{list-style-image:url('/assets/images/pdfs.png'); margin-left:0px;}
#mainPan li{margin-bottom:2px;}
#mainPan ul ul{list-style-image:url('/assets/images/indent1.png');}
#mainPan .newred {font-weight:bold; font-size:16px; color:#cc0000; text-align:center;}
#mainPan div.img{margin:5px; height:auto; width:110px; float:left; text-align:center;}
#mainPan div.img img {margin:5px auto; float:none;}
#mainPan div.imgw{margin:5px; height:auto; width:150px; float:left; text-align:center;}
#mainPan div.imgw img {margin:5px auto; float:none;}
#mainPan div.imgww{margin:5px; height:auto; width:190px; float:left; text-align:center;}
#mainPan div.imgww img {margin:5px auto; float:none;}
#mainPan p.pdf{height:18px; background-image:url('/assets/images/pdfs.png'); background-repeat: no-repeat; padding-left:22px;}
#mainPan p.web{height:18px; background-image:url('/assets/images/weblink.png'); background-repeat: no-repeat; padding-left:22px;}
#mainPan .small{font-size:12px; font-weight:lighter;}

/*---Footer Panel---*/
#botPan{width:820px; background:#FAFAFA; position:relative; margin:0 auto;}
#botPan ul{margin:0 auto; text-align:center;}
#botPan li{display:inline; padding-right: 25px;}
#botPan a{color:#4F4F4F; text-decoration: none;}
#botPan a:hover{color:#FF7A00; text-decoration: underline;}

/*---Gallery Popup Panel---*/
#mainPan .gal h1{margin-bottom:20px; font-size:20px; font-variant:small-caps;}
#mainPan .gal p{margin:5px 10px; font-size:15px;}
#mainPan .gal p.small{margin:5px 10px; font-size:14px;}
#mainPan .gal td{align-items: center; text-align: center;}
#mainPan .gal table{border: none;}
#mainPan .gal img{margin: 0; float: none;}

/* Image with caption */
#mainPan .wrap{display: table;}
#mainPan .capt{display: table-caption; caption-side: bottom;}

/* Modal popup */
#mainPan .modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.25);
    z-index: 2;
    /* opacity: 0; */
    transition: opacity 500ms ease-in;
    pointer-events: none;
    display: none;
}
#mainPan .modal:target {
    /* opacity: 1; */
    display: block;
    pointer-events: auto;
}
#mainPan .modal > div {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 90vh;
    max-width: 90vw;
    background: #FAFAFA;
    padding: 10px;
}
#mainPan .modal img {
    border: none;
    max-height: 80vh;
    max-width: 80vw;
    margin: 0;
}
#mainPan .modal .over {
    overflow: auto;
}
#mainPan .modal .close {
    background: #FAFAFAFA;
	color: #0F0F0F;
	line-height: 25px;
	position: absolute;
	right: -12px;
	text-align: center;
	top: -10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	border-radius: 12px;
}
#mainPan .modal .close:hover {
    color: #FF7A00;
}

/* email handling */
span#mpre::before {content:".com";}
span#mpos::after {content:"\40";}
#mainPan .mbot {display: none;}