* {box-sizing:border-box}

BODY,TD,TH {font-family:Verdana,Arial,Helvetica,"Microsoft Sans Serif",sans-serif}
BODY {
  background: #E3F4FC;
  margin-top: 6px;
}

/*
 * Fix z-index of menu on Android Chrome
 */
body > title + table {
    z-index: 99;
    position: relative;
}

.popm {border:solid 1px black;width:600px;background:#E6ECF8;margin:0px;margin-left:auto;margin-right:auto;box-shadow:-3px 3px silver}
TD.popmtit {padding:3 7;font-size:11px;font-weight:bold;text-decoration:none}
.shad {filter:dropshadow(color=silver,offX=-5,offY=5)}
.shad TABLE {width:140px;margin:0px 0px 6px 6px;background:#444464;border-left:solid 1px gray}
.shad TABLE TD {padding:2px 2px 2px 4px;background:#E6ECF8;margin-top:-1px;font-size:11px}

TABLE.dmenu {background:#444464;border-right:solid 1px #E3F4FC;margin:0px 7px;box-shadow:-5px 5px silver}
TD.dmenutit {background:#B8C4CC;padding:2px 7px;font-size:12px;font-weight:bold;text-decoration:none}

TD.dmenu {color:#666666;padding:3px 11px;background:#E6ECF8;margin-top:10px;font-size:11px}
TD.notvisited {background-image: url('bluedot.png'); background-position: top right; background-repeat: no-repeat}
TABLE[hid] TD.dmenu {display:none}
.objs TD.dmenu {padding:0 11px}
TD.dmenu B {color:black}
.shad A, TD.dmenu A {text-decoration:none; display: block; height: 100%; width: 100%}
.shad A { float: left }
.shad .dropdown {position: absolute; right: 0px; padding: 3 5 3 10; width: 12; height: 8; background: center no-repeat}
.shad .dropdown {background-image: url(/down.gif) }
.shad .opened   {background-image: url(/up.gif) }

A {color:#001166;text-decoration:none}
A:visited {color:#330033}
A:hover {color:#1133FF;text-decoration:underline;}
IMG {border:0px}

A.user-url { text-decoration: underline; text-decoration-style: dotted}
A.external { background: url(external.png) center right no-repeat; padding-right:13px}

.CAPTABLE {width:720px;margin-top:3px;border-spacing:0px}

.CAP0,.CAP1{color:#006099;font-style:italic;text-decoration:none;text-shadow: -3px 3px #C8C8C8}
A:visited.CAP0,A:visited.CAP1 {color:#006099}
A:hover.CAP0,A:hover.CAP1 {color:#1133FF}
TABLE.tit {filter:dropshadow(color=#D4D4D4,offX=-3,offY=3)}
.CAP0 {font-size:24px;font-weight:bold}
.CAP1 {font-size:17px}
.CAP2 {font-size:12px;color:#006099;padding-right:2px;font-style:italic}
A:visited.CAP2 {color:#006099}


.body,.forfor,.txt {background:#F0F7FA}
.body {
  padding: 16px;
  border:solid 1px black;
  width:84%;
  max-width:1000px;
  box-shadow: -5px 5px silver;
  padding-left: 20px;
}
.body.extendable {
    max-width: none;
}
.lmenu {
    padding-right: 7px;
}
A:hover span {text-decoration:none}
.intsh {padding:0;background:silver; display: none}
.intsh TABLE {width:4;height:4;border:solid 1px #E3F4FC;background:#E3F4FC}

.tline {font-size: 24px;padding:1px 6px 10px 16px;filter:shadow(color=#D0DCDD,direction=-135);text-shadow:-2px 2px rgba(0,0,0,0.1)}

TD,TH {
    vertical-align:top;
    font-size: 14px;
}
H3 {font-size: 18px;font-weight:normal}
H4 {font-weight:normal}
INPUT,BUTTON,SELECT,OPTION{
    font-size:12px;
    background:#E6ECF8;
    /*display: inline-block;*/
} /* border: 1px gray ridge */

button, input[type=button], input[type=submit], input[type=reset] {
    font-size:12px;
    background:#E6ECF8;
    cursor: pointer;
    border: 1px solid #B4B8BC;
    margin: 2px;
    border-radius: 2px;
    padding: 1px 10px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

TEXTAREA{font-family:Verdana;font-size:10pt;background:#E6ECF8;}
P {margin: 6px}

.mes {color:red;text-align:center}
.important-count {font-size: 10px; color: white; background-color: red; border-radius: 10px; padding: 0 2 0 2; font-weight: bold}
.redtext {color: red}

.send TD {vertical-align:top;padding:6px 0px;font-size:12px}
.obj TD {vertical-align:top;padding:6px 0px;}
.dt {margin:-1 -5}
.sb {margin:0 -10;font-size:9px;text-align:right}

.phtab {width:100%}
.phtab TD,.phtext TD {padding:0;text-align:center}
.tph {padding:8;vertical-align:bottom}
.tph {filter:shadow(color=gray,direction=225)}
.tph TABLE {background:white; border:solid 1px black; box-shadow:-5px 5px silver; margin-bottom: 3px}
.tph IMG {border:solid 1px black}
.tph-spec IMG {border:solid 1px black}
.tph-spec TD {padding: 0}
.tph-spec DIV {padding: 2}
.marked TD {background:#E0E2E4;}

.path {border:solid 1px black;background:#E6ECF8;width:100%;}

table.phtext {
    width:  140px;
    margin-bottom: 6;
}

a.phtext {
    position: relative;
    bottom: -2px;
    display: block;
    padding-left: 4px;
}

/* forum */
.forums {border-top:solid 1px black;border-left:solid 1px black;background:#E6ECF8;width:100%;}
.forums TD,.forums TH{border-right:solid 1px #888888;border-bottom:solid 1px #666666;padding:10px}
.fhead,.forums TH {background:#B8C4CC;}
.forfor {padding:0;width:99%}

.tread {
    table-layout: fixed;
    border:solid 1px #B4B8BC;
    border-collapse: collapse;
    background:#E4E8F0;
    width:100%;
    min-width: 200px;
}
tr.tread-sizer td {
    padding: 0px;
    border: none;
}
tr.tread-sizer td:first-child {
    width: 180px;
}
.tread TD {
    padding:10px;
    border:solid 1px #B4B8BC;
    border-top: none;
    /*border-top:solid 1px #B4B8BC*/
    word-wrap: break-word;
}

table.tread-pager {
    width: 100%;
}
.tread-pager td {
    padding: 0;
    border: none;
    font-size: small;
}

TD.mesd {text-align:right;border-top:solid 1px #B4B8BC; padding: 5px 10px 15px;}
.txt {
    border-left:solid 1px #B4B8BC;
    /*width:75%*/
}
.tread I{vertical-align:top}
.tread B{vertical-align:top}

span.forum-author {
    font-size:12px;
}

img.forum-avatar {
    border:solid 1px grey;
    border-radius: 2px;
}

.forum-msg-time {
    font-size:12px;
    color: grey;
}

P.CITE {
    margin-left:20px;
    margin-right:70px;
    border-top:solid 1px lightgray;
    border-bottom:solid 1px lightgray;
    padding:7px;
    color: #555555;
    font-size:small;
}
.SIGN {text-align:right;font-style:italic}

code {
    font-family: Consolas,"courier new";
    font-size:14px;
    color:green;
    background-color: white;
}

/* map, obj_add2 */
.fr {border:solid 1px black;font-size:12px}
DIV.fr {width:546;padding:10px}

/* text */
.pars P {text-indent:6ex;margin-left:0}
.pars P TABLE {text-indent:0ex}

.bigphoto {text-align:center; margin-top:10px; margin-bottom:20px}
.bigphoto-img {padding: 2px; border: solid 1px black; background:white; box-shadow: -3px 3px silver; max-width: 100%; height: auto; }
.bigphoto-caption {font-size:14px; font-style:italic; margin-top:5px; margin-bottom:20px}

.photo-preview-left {
    float: left;
    clear: left;
    max-width: 150px;
    margin: 5px 20px 10px 10px;
}

.photo-preview-right {
    float: right;
    clear: right;
    max-width: 150px;
    margin: 5px 10px 10px 20px;
}

.phmark {
    z-index: 2;
    position: absolute;
}

#photo-container {
    margin-top: 10px;
    position: relative;
    overflow-x: auto;
}

.photo-box {
    position: relative;
    margin: auto;
    width: max-content;
}

.phlist-control {
    position: absolute; top: 0; bottom: 0; width: 150px; cursor: pointer;
    background-repeat: no-repeat;
    opacity: 0;
    z-index:1;
   -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
    -o-transition: background-position 70ms ease, opacity 100ms linear;
    transition: background-position 70ms ease, opacity 100ms linear;
}

.phlist-prev {
    left: 0;
    background-image: url(/phs/phlist-arrow-left.svg);
    background-position: 30px;
}

.phlist-next {
    right: 0;
    background-image: url(/phs/phlist-arrow-right.svg);
    background-position: 90px;
}

.phlist-control:hover { opacity: 1 }


/* send ph */
.workt TD {font-size:10px;vertical-align:bottom}

DT {margin-top:10px}
DD {margin:4px 10px 12px 4px;font-size:96%}

/* register, find */
.find TH{font-size:75%;text-align:right}

/* ph */
.info {border-bottom:solid 1px gray}
.info TD, .author-text-label {font-size:70%;text-align:left}
#crop td {background-color:#222;opacity:0.8}
#crop #cp, #cp td {opacity:1;padding:0px;background-color:transparent}

span.naturebaikalru {
padding: 5px !important;
text-align: left !important;
font-size: 12px !important;
background-color: #EAE4DA !important;
border: 1px solid #e0e0e0e !important;
width:100%;
}
.naturebaikalru a {
color: #0000cc !important;
font-weight: normal;
font-size: 12px !important;
}
.naturebaikalru .text {
color: #000000 !important;
font-size: 12px !important;
padding: 3px 0 !important;
line-height: normal !important;
}
.naturebaikalru .host {
color: #006600;
font-weight: normal;
font-size: 12px !important;
padding: 3px 0 !important;
line-height: normal !important;
}
.naturebaikalru .adv_bl{
float:left;
width:150px;
margin-left:10px;
}

/* th rules must be the latest */
.river {list-style:url(river.gif);margin-top:6}
.pass {list-style:url(pass.gif);margin-top:6}
.peak {list-style:url(peak.gif);margin-top:6}
.village {list-style:url(village.gif);margin-top:6}
.lake {list-style:url(lake.gif);margin-top:6}
.waterfall {list-style:url(waterfall.gif);margin-top:6}
.kanion {list-style:url(kanion.gif);margin-top:6}
.spring {list-style:url(spring.gif);margin-top:6}
.skala {list-style:url(skala.gif);margin-top:6}
.hrebet {list-style:url(hrebet.gif);margin-top:6}
.zaliv {list-style:url(zaliv.gif);margin-top:6}
.mys {list-style:url(mys.gif);margin-top:6}
.island {list-style:url(island.gif);margin-top:6}
.cave {list-style:url(cave.gif);margin-top:6}
.flora {list-style:url(flora.gif);margin-top:6}
.fauna {list-style:url(fauna.gif);margin-top:6}
.building {list-style:url(building.gif);margin-top:6}
.street {list-style:url(street.gif);margin-top:6}
.another {list-style:url(another.gif);margin-top:6}
/*
.people {list-style:url(people.gif);margin-top:6}
@media (max-width: 480px){table.popm table:hover {transform:scale(3,3);transform-origin:0px 0px}}

table.dmenu {transform-origin:165px -30px}
td.lmenu table.dmenu {transform-origin:0% -30px}
*/
