html {height: 100%;}
* html body {height: 100%;}
* html #mainstakan {height:100%;}

a img {border:0px;}
a {color:#56a1d5;}

body {
  margin:0px;
  padding:0px;
  height:100%;
  font-family:arial,verdana,tahoma,sans-serif;
}

table, td {border-spacing:0px;border-collapse: collapse;
}

#layout {
  position:relative;
  padding-top:10px;
}
/* ERASERS */
*{margin: 0;padding: 0;}


img,button {border: 0;padding:0px;}
a {text-decoration: underline;}
a:hover {text-decoration: none;}
fieldset {border:0;}
.floatbreaker {display:block;font-size:1px;height:1px;clear:both;}

ul {list-style:none;}

ul.inline, ol.inline {display:block;}
ul.inline li, ol.inline li {display:block;float:left;padding:2px 5px;}

/* CUSTOMS  */

body {background:#110c12 url('../img/bg_1.jpg') no-repeat top center;
#layout {width:1260px;height:859px;margin: 0 auto;}}

#layout, #footer {
max-width: 1300px;
width:expression(document.body.clientWidth > 1300? "1300px" : "auto");
margin:0 auto;
}

#content, #footer .inner {
min-width: 1180px;
/* width:expression(document.body.clientWidth < 960? "1079px" : "auto"); */
padding:0 20px;
}

#footer-spacer {height:100px;}
#footer {
  position:relative;
  margin-top:-40px;
}



table {width:100%;}

.tiny {font-size:0.6em;text-transform:uppercase;}
.tiny li {padding:2px;letter-spacing:-1px;}

.leftcolumn {float:left;width:25%;clear:left;}




#lastnews {margin-left:30%;padding-left:38px;}

#headline {padding:0.5em 0 1em 0;}
#headline .usermenu li {padding:0px;}
#headline .usermenu .enter a {display:block;background:url('../img/auth_enter.gif') center;width:57px;height:14px;}
#headline .usermenu .enter span{display:none;}
#headline .usermenu .exit a {display:block;background:url('../img/auth_exit.gif') center;width:57px;height:14px;}
#headline .usermenu .exit span{display:none;}
#headline .usermenu li {margin:0 0.5em;}
#headline .usermenu .singup {font-size:0.7em;font-style:italic;padding:0px;}
#headline .usermenu .singup a {color:#4fa944;}
#headline .usermenu .profile {font-size:0.7em;font-style:italic;padding:0px;}
#headline .usermenu .profile a {color:#e1e73a;}
#headline .usermenu {height:20px;background:url('../img/ico_user.gif') 5px 4px no-repeat;float:left;padding-left:15px;}

#headline .address {font-size:0.55em;float:right;text-transform:uppercase;}
#headline .street-address a {color:#c7c8c9;text-decoration:none;}
#headline .address ul {float:right;padding-right:83px;}
#headline .address h2 {font-weight:normal;font-size:1em;color:#5e8584;float:left;margin:2px 10px 0px 2px;}
#headline .map {padding:0 0 0 20px;background:url('../img/ico_map.gif') 8px 4px no-repeat;}
#headline .map a {font-style:italic;color:#799998;text-transform:lowercase;font-size:1.2em;}


#teaserbox {padding-top:25px;}
#teaserbox .contacts {float:right;}
#teaserbox .contacts .tel i {display:none;}
#teaserbox .contacts .tel span {display:block;}

#teaserbox .logo {float:left;display:block;width:126px;height:101px;margin-left:80px;}
#teaserbox  .slogan p {margin-left:220px;#margin-left:80px;width:300px;}
#teaserbox .line {border-bottom:5px solid #fff;height:63px;margin-left:100px;}
#teaserbox .slogan {height:63px;background: url(../img/tango_about.png) 140px 20px no-repeat;}
#teaserbox .slogan p {display:none;}

#teaserbox .contacts {float:right;font-size:0.7em;color:#e2e2e2;background: url(../img/contacts.png) left top no-repeat;padding-right:50px;}
#teaserbox .contacts a {color:#e2e2e2;}
#teaserbox .contacts .tel {display:none;}
#teaserbox .contacts .email {margin:37px 0 0 15px;}


#lastnews {height:51px;font-size:0.7em;}
#lastnews dl {display:block;height:51px;}
#lastnews dl dt {float:left;background: url('../img/_last_news.gif') top left no-repeat;width:210px;height:51px; }
#lastnews dl dd {display:block;background:white;margin-left:210px;height:51px;}
#lastnews dl dd  p {display:block;margin-right:195px;padding:12px 5px 0 15px;text-transform:uppercase;font-size:0.9em;}
#lastnews dl dd  p .more {display:inline-block;background:url('../img/ico_arrow.gif');width:3px;height:6px;}
#lastnews dl dd  p .more span {display:none;}

#lastnews .meta {display:block;padding-top:15px;width:171px;float:right;color:#168708;}
#lastnews .meta .archive {display:inline-block;background:url('../img/ico_archive.gif') 0 4px no-repeat;padding:0 0 0 15px;text-style:italic;}

#lastnews h2 {display:none;}

.leftcolumn {background:url('../img/prologue.png');width:280px;height:326px;margin:40px 0 0 100px;}
.leftcolumn p,
.leftcolumn h1
 {display:none;}

.databox {padding-left:30%;margin:50px 0 0 53px;}
.databox thead ul {}
.databox h4 {padding-top:20px;}

.databox h2 {display:none;}
.databox .header {height:32px;padding-left:60px;}
.databox .header ul {display:block;height:26px;padding:2px 0 0 40px;border-bottom:4px solid #fff;}
.databox .header a {text-decoration:none;color:#b2b2b2;}
.databox .header a:hover {text-decoration:underline;}
.databox .school {background:url('../img/header_school.png') top left no-repeat;}
.databox .tangolife {background:url('../img/header_tango.png') top left no-repeat;padding-left:110px;}

.databox .tangolab a {color:#0b79eb;cursor:pointer;}
.databox .white_arrow {display:inline-block;background:url('../img/ico_arrow-white.gif') 0 3px no-repeat;padding-left:10px;}

.subhead.white {color:#000; background:#fff;}
.subhead {padding:5px 0 5px 7px;color:#fff;letter-spacing:-1px;cursor:pointer;}
.subhead.selected {color:#000;background:#fff url('../img/arrow-down-revert.gif') bottom right no-repeat;}
.databox .lvl-two {width:217px;}
.databox .subhead {width:210px;}
.lvl-two li {padding:0;}
.lvl-two a {display:block;padding:2px 7px;color:#fff;text-decoration:none;}
.lvl-two a:hover {background:#16599f url('../img/arrow-up.png') center right no-repeat;}

#partner {}
#partner .subhead {color:#429139;}
#partner a {color:#429139;}
#partner a:hover  {color:#000;background:#429139 url('../img/arrow-up.png') center right no-repeat;}

  #feedback {float:left;margin:0 15px;}
  #feedback a {display:block;background:url('../img/feedback.png');width:110px;height:17px;margin-top:16px;}
  #feedback a span {display:none;}
  
  #subscribe {float:left;}
  #subscribe legend {display:none;}
  #subscribe .email {background:url('../img/subscribe_1.png');width:164px;height:16px;border:0px;font-size:0.7em;padding:18px 0 0 50px;outline:none;font-weight:bold;}
  #subscribe .submit {background:url('../img/subscribe_2.png');width:26px;height:34px;border:0px;font-size:1px;vertical-align:top;cursor:pointer;}
  
#footer .copyright {float:right;font-size:0.7em;margin-top:16px;color:#e2e2e2;text-transform:uppercase;margin-right:50px;}
#footer .copyright .casa-del-tango {color:#1270cd;font-weight:bold;}
#footer .copyright .rights {color:#4fa944}
#footer .copyright .vkontakte {display:inline-block;background:url('../img/ico_vk.gif');width:13px;height:12px;margin:0 7px;}
#footer .copyright .lj-community {display:inline-block;background:url('../img/ico_lj.gif');width:13px;height:12px;}
#footer .copyright .vkontakte span,
#footer .copyright .lj-community span {display:none;}

#type2 {background:#110c12 url('../img/bg_2.jpg') no-repeat top center}
#type2 .databox .teachers a,
#type2 .databox .shedules a,
#type2 .databox .teachers h4,
#type2 .databox .shedules h4,
#type2 .databox .schoolbox .header a
{color:#000 !important;}
#type2 .lvl-two a:hover {color:#fff !important;}
#type2 .databox .school {background:url('../img/header_school_revert.png') top left no-repeat;}
#type2 .leftcolumn {background:url('../img/prologue_2.png');}

#type3 {background:#110c12 url('../img/bg_3.jpg') no-repeat top center}
#type3 .leftcolumn {background:url('../img/prologue_2.png');}
#type3 .tangolab {color:#000;}
#type3 .slogan {}

#type4 {background:#110c12 url('../img/bg_4.jpg') no-repeat top center}
#type4 .tangolab {color:#000;}
#type4 #partner a {color:#fff !important;}
#type4 .slogan {margin-left:200px;}

#type5 {background:#110c12 url('../img/bg_5.jpg') no-repeat top center}
#type5 #headline .address h2 {color:#005010;}
#type5 #headline .map a {color:#005010;}
#type5 .tangolab {color:#000;}

#type6 {background:#110c12 url('../img/bg_6.jpg') no-repeat top center}
#type6 #headline .address h2 {color:#005010;}
#type6 #headline .map a {color:#005010;}
#type6 .tangolab {color:#000;}

#page {margin:20px 40px 20px 70px;}


#menu {float:left;width:220px;}

#menu h2.school {margin:20px 0 5px 0;display:block;background: url(../img/header_school.png) no-repeat scroll left top;height:32px;}
#menu h2.tangolive {margin:20px 0 10px 0;display:block;background: url(../img/header_tango.png) no-repeat scroll left top;height:32px;}
#menu h2 span  {display:none;}
#menu h2 i {display:block;height:28px;border-bottom:4px solid #fff;margin-left:40px;}

#menu h4 {margin:0px 5px;}
#menu .sub {margin:0px 0px 0px 17px;border-bottom:1px dotted #fff;}
#menu .sub.closed ul {display:none;}
#menu  ul li {padding:0 5px 0 15px;}

#menu .opened .subhead {padding:5px 0 5px 7px;letter-spacing:-1px;}
#menu .opened .subhead.selected {padding:5px 0 5px 7px;color:#000; background:#fff url('../img/arrow-down-revert.gif') bottom right no-repeat;;letter-spacing:-1px;}
#menu .opened .subhead.white.selected {padding:5px 0 5px 7px;color:#000; background:#fff url('../img/arrow-up-revert.gif') bottom right no-repeat;;letter-spacing:-1px;}

#pagecontent {width:890px;height:540px;}
#pagecontent .bg, 
#pagecontent .bg0, 
#pagecontent .bg1, 
#pagecontent .bg2, 
#pagecontent .bg3, 
#pagecontent .inner {position:absolute;margin-left:320px;margin-top:05px;}
#pagecontent .bg, 
#pagecontent .bg0, 
#pagecontent .bg1, 
#pagecontent .bg2, 
#pagecontent .bg3 {width:890px;height:540px;opacity:0.85;filter: alpha(opacity=85);}
#pagecontent .inner {width:850px;height:500px;padding:20px 20px 0px 20px;}
#pagecontent .bg  {background:#1c1f32;}
#pagecontent .bg0 {background:#1c1f32;}
#pagecontent .bg1 {background:#996600;}
#pagecontent .bg2 {background:#cc9900;}
#pagecontent .bg3 {background:#cc9933;}

#pagecontent .head {padding:5px 0px 10px 0px;margin:0 0 10px 0;border-bottom:1px dotted #fff;}

#pagecontent .meta {display:block;float:right;}
#pagecontent .meta .back,
#pagecontent .meta .backb
{display:inline-block;padding-left:15px;font-size:0.7em;font-style:italic;margin:7px 0 0 0;}
#pagecontent .meta .back
{background: url('../img/ico_back.gif') left center no-repeat;}
#pagecontent .meta .backb
{background: url('../img/ico_backb.gif') left center no-repeat;}
#pagecontent .meta a.back {color:#4FA944;}
#pagecontent .meta a.backb {color:#005010;}

#pagecontent h1 {color:#FFF;font-size:1.3em;text-transform:uppercase;font-weight:normal;}

#pagecontent #scrollbox {height:440px;color:#fff;font-size:0.8em;padding:5px 20px 5px 10px;outline:none;}


.paginator {font-size:0.8em;float:left;padding-left:10px;}
.paginator li {display:block;float:left;}
.paginator li a {display:blo ck;float:left;padding:4px 6px;text-decoration:underline;color:#4c89cd;}
.paginator li.active a {background:#b1b2b8;color:#000;text-decoration:none;font-style:italic;}
.paginator li.last a {float:right;}

.news {padding:10px;}
.news .title {padding-bottom:5px;}
.news .title a {font-weight:normal;font-size:1.1em;}
.news .title a:hover {color:#429139;}
.news .date {font-size:0.9em;font-style:italic;color:#9599b0;padding-bottom:7px;}

#gallerylist {padding:20px 10px;}
#gallerylist li {padding:3px 10px;font-size:1.1em;font-weight:normal;text-transform:uppercase;font-family:"Trebuchet MS";}
#gallerylist li span {color:#9599b0;display:inline-block;padding-left:10px;font-style:italic;}
#gallerylist li.new {padding-left:30px;background:url('/themes/final/img/ico_photo_new.gif') left center no-repeat;}



#gallery_slider 
{height:108px;background:url(/themes/final/img/photo_slider.gif) -11px 0px repeat-x;margin:0 0 10px 0;}
#gallery_thumbnails
{margin:0px 50px;padding-top:15px;overflow:hidden;height:75px;}
#gallery_thumbnails .thumbnails {margin-left:-5px;}
#gallery_thumbnails a {cursor:pointer;}

#gallery_slider_left,
#gallery_slider_right 
{display:block;width:30px;height:80px;background-position:center;margin:10px;
 background-repeat:no-repeat;opacity:0.7;filter:alpha(opacity=70);
 cursor:pointer;}

#gallery_slider_left.selected,
#gallery_slider_right.selected
{opacity:1;filter:alpha(opacity=100);} 
 
 
#gallery_slider_left {float:left;background-image:url(/themes/final/img/arrow_left_1.png);}
#gallery_slider_right {float:right;background-image:url(/themes/final/img/arrow_right_1.png);}

#gallery_thumbnails_inner {width:900px;padding:0px 5px;}
#gallery_thumbnails_inner td {padding:0px 2px;}
#gallery_img_holder {text-align:center;}

#gallery_thumbnails_inner .thumbnails img {display:inline-block;margin:5px;border:0px;}
#gallery_thumbnails_inner .thumbnails img.selected {margin:0px;border:5px solid #3f3F54;}
#gallery_thumbnails_inner .thumbnails img.active {margin:0px;border:5px solid #fff;}


.popup_transparent_bg
{background: #000;position:fixed;left:0px;right:0px;top:0px;bottom:0px;z-index:1000;height:100%;
 opacity: 0.5; /* fx, safari, opera */
 -moz-opacity: 0.5; /* mozilla, netscape */ 
 -khtml-opacity: 0.5; /* khtml, old safari */
 filter:alpha(opacity=50); /* IE */
}


/**  POPUP CSS **/
.popup
{position:fixed; top:0px; left:0px; background:#fff; z-index:1001; width:400px;
 color:#383838; font-family: "Trebuchet MS", tahoma, verdana, sans-serif; padding:25px 0px;}
	.popup.loading
	{background:#000;color:#999;}
	.popup .loading .textarea
	{backgtound:url('/images/loading.gif') center center no-repeat;}
	.popup h2,
	.popup div.inner,
	.popup div.popup_buttons
	{padding:10px 30px 0px 30px;}
	.popup h2
	{display:block;background:#fff;color:#383838;font-size:1.4em;}
	
	.popup .hint {
		font-size:0.75em; width:344px; margin: 0 auto; font-style: italic;
	}
	.popup .hint .top{
		background: url('/themes/final/img/hint_top.gif') center; height:17px;
	}
	.popup .hint .inner {
		padding:0px !important; 
		border-left : 1px solid #d6d6d6;
		border-right : 1px solid #d6d6d6;
		border-bottom : 1px solid #d6d6d6;
	}
	
	.popup .hint p {
		padding: 10px 5px 10px 15px;
	}
	
	.popup div.inner
	{ padding-top:15px;padding-bottom:15px; }
	.popup div.popup_buttons
	{ text-align:right;padding-bottom:10px; }
	.popup div.popup_buttons .link
	{ display:block; height: 23px;cursor: pointer; float: right; text-align: center; 
	  background: url('/themes/final/img/popup_btn_bg.gif') -10px 0px ; margin-left:15px; padding:0px 0px 0px 20px; }
	.popup div.popup_buttons .link b
	{ display:block;float:right; height:23px; width:10px;
	  background: url('/themes/final/img/popup_btn_bg.gif');}
	.popup div.popup_buttons .link .btnname
	{font-size: 0.7em;font-weight:bold;padding:4px 10px 0 0;text-align:center;}
	.popup div.field {
	 margin: 18px 0 0px 0; text-align: right; }
	.popup div.field label {
	  display:block; float:left; }
	.popup div.field input {
	  border: 1px solid #bababa; width: 247px; height: 20px; }
	.popup div.field select {
	  border: 1px solid #bababa; width: 247px; height: 20px; }
	.popup div.field textarea {
	  border: 1px solid #bababa; width: 243px; height: 150px; }
    
	.popup label {font-size:0.8em;}
	.popup input,
	.popup textarea {font-size:0.8em;margin: 0 !important;padding: 1px 3px;}

	.popup input {}
	.popup textarea
	{font-family:arial;font-size:0.9em;height:55px;padding:2px 5px;width:405px;margin-top:5px;}
	.popup input.text
	{font-size:1.4em;font-weight:bold;color:#00828c;padding:2px 5px;width:407px;}
	.popup input.file
	{margin-left: 23px;border:1px solid #00595B;padding:2px;width:390px;}
	
	.popupForm {}
	.popupForm table {font-size:0.8em;}
	.popupForm table .name {font-weight: bold; width: 70px;}
	
#manforms { width:47%; float:right; }
#womenforms { width:47%; float:left; }
#manforms .title {height:40px; background: url('/themes/final/img/partners_men.png') left no-repeat; }
#womenforms .title {height:40px; background: url('/themes/final/img/partners_women.png') left no-repeat; }
#womenforms thead td { background:#a42b47;}
#manforms thead td { background:#16599f;}

.forms table { width:100%;font-size:.9em; }
.forms .name { width:210px; }
.forms .odd td { background:#1e2134; }

.forms thead { text-transform:uppercase;font-size:.7em; }
.forms thead td { padding:10px; }
.forms tbody td { padding:8px;color:#85889f; }
.forms tbody .age,
.forms tbody .level,
.forms tbody .growth
 { text-align:center; }