.foto-container div {
font-family:Verdana, Helvetica;
font-size:10pt;
}

.foto {
outline:none;
text-decoration:none;
}

.foto img {
border:0 solid silver;
}

.foto:hover img {
border-color:gray;
}

.foto-active-anchor img {
visibility:hidden;
}

.foto-gallery .foto-active-anchor img {
visibility:visible;
cursor:default;
border-color:#000;
}

.foto-image {
border-color:#FFF;
border-style:solid;
border-width:2px;
}

.foto-number {
font-weight:700;
color:gray;
font-size:.9em;
}

.foto-caption {
display:none;
font-size:1em;
padding:5px;
}

.foto-heading {
display:none;
font-weight:700;
margin:0.4em;
}

.foto-dimming {
background:#000;
}

a.foto-full-expand {
background:url(https://www.dont.ru/foto/fullexpand.gif) no-repeat;
display:block;
width:34px;
height:34px;
margin:0 10px 10px 0;
}

.foto-loading {
display:block;
color:#000;
font-size:9px;
font-weight:700;
text-transform:uppercase;
text-decoration:none;
border:1px solid #FFF;
background-color:#FFF;
background-image:url(https://www.dont.ru/foto/loading.gif);
background-repeat:no-repeat;
background-position:3px 1px;
padding:3px 3px 3px 22px;
}

a.foto-credits,a.foto-credits i {
color:silver;
text-decoration:none;
font-size:10px;
padding:2px;
}

a.foto-credits:hover,a.foto-credits:hover i {
color:#FFF;
background-color:gray;
}

.foto-viewport {
display:none;
position:fixed;
width:100%;
height:100%;
z-index:1;
background:none;
left:0;
top:0;
}

.closebutton {
position:relative;
top:-15px;
left:15px;
width:30px;
height:30px;
cursor:pointer;
background:url(https://www.dont.ru/foto/1close.png);
}

.foto-gallery ul {
list-style-type:none;
margin:0;
padding:0;
}

.foto-gallery ul li {
display:block;
position:relative;
float:left;
width:106px;
height:106px;
border:1px solid silver;
background:#ededed;
line-height:0;
overflow:hidden;
margin:2px;
}

.foto-gallery ul a {
position:absolute;
top:50%;
left:50%;
}

.foto-gallery ul img {
position:relative;
top:-50%;
left:-50%;
}

html>/**/body .foto-gallery ul li {
display:table;
text-align:center;
}

html>/**/body .foto-gallery ul a {
position:static;
display:table-cell;
vertical-align:middle;
}

html>/**/body .foto-gallery ul img {
position:static;
}

.foto-controls {
width:195px;
height:40px;
background:url(https://www.dont.ru/foto/control.gif) 0 -90px no-repeat;
margin:20px 15px 10px 0;
}

.foto-controls ul {
position:relative;
left:15px;
height:40px;
list-style:none;
background:url(https://www.dont.ru/foto/control.gif) right -90px no-repeat;
margin:0;
padding:0;
}

.foto-controls li {
display: inline-block;
position:relative;
float:left;
list-style:none;
margin:0;
padding:5px 0;
width:30px;
}

.foto-controls a {
background-image:url(https://www.dont.ru/foto/control.gif);
display:inline-block;
float:left;
height:30px;
width:30px;
outline:none;
}

.foto-controls a span {
display:none;
cursor:pointer;
}

.foto-controls .foto-previous a:hover {
background-position:0 -30px;
}

.foto-controls .foto-previous a.disabled {
background-position:0 -60px !important;
}

.foto-controls .foto-play a {
background-position:-30px 0;
}

.foto-controls .foto-play a:hover {
background-position:-30px -30px;
}

.foto-controls .foto-play a.disabled {
background-position:-30px -60px !important;
}

.foto-controls .foto-pause a:hover {
background-position:-60px -30px;
}

.foto-controls .foto-next a {
background-position:-90px 0;
}

.foto-controls .foto-next a:hover {
background-position:-90px -30px;
}

.foto-controls .foto-next a.disabled {
background-position:-90px -60px !important;
}

.foto-controls .foto-move a:hover {
background-position:-120px -30px;
}

.foto-controls .foto-full-expand a {
background-position:-150px 0;
}

.foto-controls .foto-full-expand a:hover {
background-position:-150px -30px;
}

.foto-controls .foto-full-expand a.disabled {
background-position:-150px -60px !important;
}

.foto-controls .foto-close a {
background-position:-180px 0;
}

.foto-controls .foto-close a:hover {
background-position:-180px -30px;
}

.foto-html {
background-color:#FFF;
}

.foto-html-content {
display:none;
width:400px;
padding:0 5px 5px;
}

.foto-header {
padding-bottom:5px;
}

.foto-header ul {
text-align:right;
margin:0;
padding:0;
}

.foto-header ul li {
display:inline;
padding-left:1em;
}

.foto-header a {
font-weight:700;
color:gray;
text-transform:uppercase;
text-decoration:none;
}

.foto-footer {
height:16px;
}

.foto-footer .foto-resize {
display:block;
float:right;
margin-top:5px;
height:11px;
width:11px;
background:url(https://www.dont.ru/foto/size.gif) no-repeat;
}

.foto-resize {
cursor:nw-resize;
}

.draggable-header .foto-heading {
position:absolute;
margin:2px 0.4em;
}

.draggable-header .foto-header .foto-close {
position:absolute;
right:2px;
top:2px;
z-index:5;
padding:0;
}

.draggable-header .foto-header .foto-close a {
display:block;
height:16px;
width:16px;
background-image:url(https://www.dont.ru/foto/2close.png);
}

.draggable-header .foto-header .foto-close a:hover {
background-position:0 16px;
}

.titlebar .foto-heading {
position:absolute;
width:90%;
color:#666;
margin:1px 0 1px 5px;
}

.titlebar .foto-header li {
position:relative;
top:3px;
z-index:2;
padding:0 0 0 1em;
}

.wide-border .foto-image {
border-width:10px;
}

.wide-border .foto-caption {
padding:0 10px 10px;
}

.borderless .foto-image {
border:none;
}

.borderless .foto-caption {
border-bottom:1px solid #FFF;
border-top:1px solid #FFF;
background:silver;
}

.outer-glow {
background:#444;
}

.outer-glow .foto-image {
border:5px solid #444;
}

.outer-glow .foto-caption {
border:5px solid #444;
border-top:none;
background-color:gray;
padding:5px;
}

.colored-border .foto-image {
border:2px solid green;
}

.colored-border .foto-caption {
border:2px solid green;
border-top:none;
}

.dark .foto-image {
background:gray;
border-color:#000 #000 #202020;
}

.dark .foto-caption {
color:#FFF;
background:#111;
}

.dark .foto-controls,.dark .foto-controls ul,.dark .foto-controls a {
background-image:url(https://www.dont.ru/foto/controlbb.gif);
}

.floating-caption .foto-caption {
position:absolute;
background:none;
color:#FFF;
border:none;
font-weight:700;
padding:1em 0 0;
}

.controls-in-heading .foto-heading {
color:gray;
font-weight:700;
height:20px;
overflow:hidden;
cursor:default;
background:url(https://www.dont.ru/foto/icon.gif) no-repeat 0 1px;
margin:0;
padding:0 0 0 22px;
}

.controls-in-heading .foto-controls {
width:105px;
height:20px;
position:relative;
top:-23px;
left:7px;
background:none;
margin:0;
}

.controls-in-heading .foto-controls ul {
position:static;
height:20px;
background:none;
}

.controls-in-heading .foto-controls li {
padding:0;
}

.controls-in-heading .foto-controls a {
background-image:url(https://www.dont.ru/foto/controls.gif);
height:20px;
width:20px;
}

.controls-in-heading .foto-controls .foto-previous a:hover {
background-position:0 -20px;
}

.controls-in-heading .foto-controls .foto-previous a.disabled {
background-position:0 -40px !important;
}

.controls-in-heading .foto-controls .foto-play a {
background-position:-20px 0;
}

.controls-in-heading .foto-controls .foto-play a:hover {
background-position:-20px -20px;
}

.controls-in-heading .foto-controls .foto-play a.disabled {
background-position:-20px -40px !important;
}

.controls-in-heading .foto-controls .foto-pause a {
background-position:-40px 0;
}

.controls-in-heading .foto-controls .foto-pause a:hover {
background-position:-40px -20px;
}

.controls-in-heading .foto-controls .foto-next a:hover {
background-position:-60px -20px;
}

.controls-in-heading .foto-controls .foto-next a.disabled {
background-position:-60px -40px !important;
}

.controls-in-heading .foto-controls .foto-full-expand a {
background-position:-100px 0;
}

.controls-in-heading .foto-controls .foto-full-expand a:hover {
background-position:-100px -20px;
}

.controls-in-heading .foto-controls .foto-full-expand a.disabled {
background-position:-100px -40px !important;
}

.controls-in-heading .foto-controls .foto-close a:hover {
background-position:-120px -20px;
}

.text-controls .foto-controls {
width:auto;
height:auto;
text-align:center;
background:none;
margin:0;
}

.text-controls ul {
position:static;
background:none;
height:auto;
left:0;
}

.text-controls li {
background-image:url(https://www.dont.ru/foto/controlb.png);
background-position:right top !important;
margin-left:15px;
display:inline-block;
width:100px;
padding:0;
}

.text-controls a {
background:url(https://www.dont.ru/foto/controlb.png) no-repeat;
background-position:left top !important;
position:relative;
left:-10px;
display:block;
width:auto;
height:auto;
text-decoration:none !important;
}

.text-controls a span {
background:url(https://www.dont.ru/foto/controlb.png) no-repeat;
display:block;
min-width:4em;
height:18px;
line-height:18px;
color:#333;
font-family:"Trebuchet MS", Arial, sans-serif;
font-size:12px;
font-weight:700;
white-space:nowrap;
margin:1px 2px 1px 10px;
padding:1px 0 1px 18px;
}

.text-controls .foto-next {
margin-right:1em;
}

.text-controls .foto-full-expand a span {
min-width:0;
margin:1px 0;
padding:1px 0 1px 10px;
}

.text-controls .foto-close a span {
min-width:0;
}

.text-controls a.disabled span {
color:#999;
}

.text-controls .foto-previous span {
background-position:0 -40px;
}

.text-controls .foto-previous a.disabled span {
background-position:0 -140px;
}

.text-controls .foto-play span {
background-position:0 -60px;
}

.text-controls .foto-play a.disabled span {
background-position:0 -160px;
}

.text-controls .foto-pause span {
background-position:0 -80px;
}

.text-controls .foto-next span {
background-position:0 -100px;
}

.text-controls .foto-next a.disabled span {
background-position:0 -200px;
}

.text-controls .foto-close span {
background-position:0 -120px;
}

.foto-thumbstrip {
position:relative;
height:100%;
direction:ltr;
}

.foto-thumbstrip div {
overflow:hidden;
}

.foto-thumbstrip table {
position:relative;
border-collapse:collapse;
padding:0;
}

.foto-thumbstrip td {
padding:1px;
}

.foto-thumbstrip a {
outline:none;
}

.foto-thumbstrip img {
display:block;
border:1px solid gray;
margin:0 auto;
}

.foto-thumbstrip .foto-active-anchor img {
visibility:visible;
}

.foto-thumbstrip .foto-marker {
position:absolute;
width:0;
height:0;
border-color:transparent;
border-style:solid;
border-width:0;
}

.foto-thumbstrip-horizontal div {
width:auto;
}

.foto-thumbstrip-horizontal .foto-scroll-up {
display:none;
position:absolute;
top:3px;
left:3px;
width:25px;
height:42px;
}

.foto-thumbstrip-horizontal .foto-scroll-up div {
margin-bottom:10px;
cursor:pointer;
background:url(https://www.dont.ru/foto/scroll.png) left center no-repeat;
height:42px;
}

.foto-thumbstrip-horizontal .foto-scroll-down {
display:none;
position:absolute;
top:3px;
right:3px;
width:25px;
height:42px;
}

.foto-thumbstrip-horizontal .foto-scroll-down div {
margin-bottom:10px;
cursor:pointer;
background:url(https://www.dont.ru/foto/scroll.png) center right no-repeat;
height:42px;
}

.foto-thumbstrip-horizontal table {
margin:2px 0 10px;
}

.foto-thumbstrip-horizontal img {
width:auto;
height:40px;
}

.foto-thumbstrip-horizontal .foto-marker {
top:47px;
border-left-width:6px;
border-right-width:6px;
border-bottom:6px solid gray;
}

.dark .foto-thumbstrip-horizontal .foto-marker,.foto-viewport .foto-thumbstrip-horizontal .foto-marker {
border-bottom-color:#FFF !important;
}

.foto-thumbstrip-vertical-overlay {
overflow:hidden !important;
}

.foto-thumbstrip-vertical div {
height:100%;
}

.foto-thumbstrip-vertical a {
display:block;
}

.foto-thumbstrip-vertical .foto-scroll-up {
display:none;
position:absolute;
top:0;
left:0;
width:100%;
height:25px;
}

.foto-thumbstrip-vertical .foto-scroll-up div {
margin-left:10px;
cursor:pointer;
background:url(https://www.dont.ru/foto/scroll.png) top center no-repeat;
height:25px;
}

.foto-thumbstrip-vertical .foto-scroll-down {
display:none;
position:absolute;
bottom:0;
left:0;
width:100%;
height:25px;
}

.foto-thumbstrip-vertical .foto-scroll-down div {
margin-left:10px;
cursor:pointer;
background:url(https://www.dont.ru/foto/scroll.png) bottom center no-repeat;
height:25px;
}

.foto-thumbstrip-vertical table {
margin:10px 0 0 10px;
}

.foto-thumbstrip-vertical img {
width:60px;
}

.foto-thumbstrip-vertical .foto-marker {
left:0;
margin-top:8px;
border-top-width:6px;
border-bottom-width:6px;
border-left:6px solid gray;
}

.dark .foto-thumbstrip-vertical .foto-marker,.foto-viewport .foto-thumbstrip-vertical .foto-marker {
border-left-color:#FFF;
}

.foto-viewport .foto-thumbstrip-float {
overflow:auto;
}

.foto-thumbstrip-float ul {
margin:2px 0;
padding:0;
}

.foto-thumbstrip-float li {
display:block;
height:60px;
list-style:none;
float:left;
margin:0 2px;
}

.foto-thumbstrip-float img {
display:inline;
max-height:56px;
border-color:silver;
}

.foto-thumbstrip-float .foto-active-anchor img {
border-color:#000;
}

.foto-container table,.text-controls .foto-full-expand span {
background:none;
}

.foto-wrapper,.foto-outline,.wide-border,.colored-border {
background:#FFF;
}

.glossy-dark,.dark {
background:#111;
}

.foto-move,.foto-move *,.foto-header .foto-move a {
cursor:move;
}

.foto-overlay,.hidden-container,.foto-maincontent,.foto-header ul li.foto-previous,.foto-header ul li.foto-next,.foto-footer .foto-resize span,.draggable-header .foto-header .foto-move *,.draggable-header .foto-header .foto-close span,.titlebar .foto-header .foto-move *,.no-footer .foto-footer,.controls-in-heading .foto-controls .foto-move,.text-controls .foto-move,.foto-thumbstrip-float .foto-scroll-up div,.foto-thumbstrip-float .foto-scroll-down div,.foto-thumbstrip-float .foto-marker {
display:none;
}

.foto-controls a.disabled,.foto-controls a.disabled span {
cursor:default;
}

.foto-controls .foto-previous a,.controls-in-heading .foto-controls .foto-previous a {
background-position:0 0;
}

.foto-controls .foto-pause a,.controls-in-heading .foto-controls .foto-next a {
background-position:-60px 0;
}

.foto-controls .foto-move a,.controls-in-heading .foto-controls .foto-close a {
background-position:-120px 0;
}

.foto-header a:hover,.text-controls a:hover span {
color:#000;
}

.draggable-header .foto-header,.titlebar .foto-header {
height:18px;
border-bottom:1px solid #ddd;
}

.draggable-header .foto-header .foto-move,.titlebar .foto-header .foto-move {
cursor:move;
display:block;
height:16px;
position:absolute;
right:24px;
top:0;
width:100%;
z-index:1;
}

.draggable-header .foto-maincontent,.titlebar .foto-maincontent {
padding-top:1em;
}

.text-controls .foto-previous a.disabled,.text-controls .foto-play a.disabled,.text-controls .foto-next a.disabled,.text-controls .foto-full-expand a.disabled {
background-position:left top !important;
}

.foto-viewport .foto-thumbstrip-horizontal table,.foto-viewport .foto-thumbstrip-horizontal .foto-marker {
margin-left:10px;
}

.foto-thumbstrip {
 _width: 0px;
}