/*=================================*/
/* Nivo Slider Demo
/* November 2010
/* By: Gilbert Pellegrom
/* http://dev7studios.com
/*=================================*/

/*====================*/
/*=== Reset Styles ===*/
/*====================*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin:0;
	padding:0;
	border:0;
	outline:0;
	font-weight:inherit;
	font-style:inherit;
	font-size:100%;
	font-family:inherit;
	vertical-align:baseline;
}
body {
	line-height:0;
	color:black;
	background:white;
}
table {
	border-collapse:separate;
	border-spacing:0;
}
caption, th, td {
	text-align:left;
	font-weight:normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content:"";
}
blockquote, q {
	quotes:"" "";
}
/* HTML5 tags */
header, section, footer,
aside, nav, article, figure {
	display: block;
}

/*===================*/
/*=== Main Styles ===*/
/*===================*/
body {
	font:14px/1.6 Georgia, Palatino, Palatino Linotype, Times, Times New Roman, serif;
	color:#333;
	background:#eee;
}

a, a:visited {
	color:blue;
	text-decoration:none;
}
a:hover, a:active {
	color:#000;
	text-decoration:none;
}
#addthis {
  position:absolute;
  top:0px;
  margin: 0 0 0 -4952px;
}
#dev7link {
    position:absolute;
    top:0;
    left:50px;
    background:url(images/dev7logo.png) no-repeat;
    width:60px;
    height:67px;
    border:0;
    display:block;
    text-indent:-9999px;
}

.theme-default #slider {
    margin:199px auto 0 auto;
    width:679px; /* Make sure your images are the same size */
    height:209px; /* Make sure your images are the same size */
    border:0px double #999999;
	z-index:1;
}
.theme-pascal.slider-wrapper,
.theme-orman.slider-wrapper {
    margin-top:150px;
}

/*====================*/
/*=== Other Styles ===*/
/*====================*/
.clear {
	clear:both;
}
/*====================*/
/*=== Мои доработки стилей ===*/
/*====================*/

.theme-default #slider {
    margin:199px auto 0 auto;
    width:339px!Important; /* изменил */
    height:209px;
    border:0px double #999999;
	z-index:1;
}
/*Эмблема Полонного*/
.emblema-polonne {
    display:block;
    position:absolute;
    top:0;
    left:50px;
    background:url('/templates/dd_kidsschool_23/images/fromstyle/polonne-gerb.jpg') no-repeat;
    background-size:100px auto;
    width:100px;
    height:133px;    
}
/*Логотип в верху*/
.logo-top {
    display: block;
}
span.logo-top a {
    font-size: 22px;
    font-family: 'Comic Sans MS', Tahoma, Arial, Sans-Serif;
    color: #FFF;
    text-shadow: black 1px 0px, black 1px 1px, black 0px 1px, #A80077 -1px 1px, #A80077 -1px 0px, #A80076 -1px -1px, #AD027A 0px -1px, #A8087C 1px -1px, #A90078 0 0 3px, #A90C7F 0 0 3px, #A9007A 0 0 3px, #A70178 0 0 3px, #AB1082 0 0 3px, #A70178 0 0 3px, #A8087C 0 0 3px, #A80076 0 0 3px;
}
/*Ссылки на группы в Фэйсбук*/
.fb-url-top {
    display: block;
    width: 210px;
    position: absolute;
    height: auto;
   /* left: 1100.5px!Important;*/
    top: 42px!Important;
    margin-left: 750.5px;
    margin-right: auto;
    z-index:15;
    /*background: rgba(140, 187, 22, 0.19);*/
    padding: 5px 5px 0px 5px;
    border-radius: 5px;
    line-height: 90%;
}
.fb-url-top a {
    font-size: 12px;
    color: white;
    /*text-shadow: #929292 1px 0px, #9A9A9A 1px 1px, #969696 0px 1px, #868686 -1px 1px, #848484 -1px 0px, #888888 -1px -1px, #969696 0px -1px, #969696 1px -1px, darkgrey 0 0 3px, #8A8A8A 0 0 3px, #929292 0 0 3px, #989898 0 0 3px, #929292 0 0 3px, #848484 0 0 3px, #9A9A9A 0 0 3px, #949494 0 0 3px;*/
}
.fb-url-top a:hover {
    /*color: #575acf;*/
    color: white;
    text-shadow: #929292 1px 0px, #9A9A9A 1px 1px, #969696 0px 1px, #868686 -1px 1px, #848484 -1px 0px, #888888 -1px -1px, #969696 0px -1px, #969696 1px -1px, darkgrey 0 0 3px, #8A8A8A 0 0 3px, #929292 0 0 3px, #989898 0 0 3px, #929292 0 0 3px, #848484 0 0 3px, #9A9A9A 0 0 3px, #949494 0 0 3px;
}
#fb-logo :before {
    display: inline-block; 
    position: relative;
    content: url('/templates/dd_kidsschool_23/images/fromstyle/facebook-logo-20-20.png');
    vertical-align: middle; 
    margin-right: 6px;
    /*margin-top: 4px;*/
    opacity: 0.8;
}
/*---Кнопки слева и справа слайдера---*/
.button-kolektiv {
    display: block;
    position: absolute;
    width: 265px;
    height: auto;
    top: 193px;
    margin-left: -940px;
    margin-right: auto;
    z-index: 14;
}
.button-otzivi {
    display: block;
    position: absolute;
    width: 265px;
    height: auto;
    top: 194px;
    margin-left: -268px;
    margin-right: auto;
    z-index: 15;
}
.button-span {
    font-size: 20px;
    font-family: 'Comic Sans MS', Tahoma, Arial, Sans-Serif;
    color: #FFF;
    width: 100%;
    height: auto;
    background: rgba(0, 0, 0, 0.3);
    display: block;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
   /* border-radius: 8px;*/
    border: 2px solid #A7A7A7;
}
.button-span:hover {
    background: rgba(172, 0, 122, 0.7);
    border: 2px solid #CE70C2;
}
/*Коллектив*/
.team-ul {
      display: block;
      position: relative;
      width: 100%;
      height: auto;
  
}
.team-ul li {
    float: left;
    margin: 0 1% 1% 0;
    padding: 0;
    position: relative;
    padding: 0!Important;
  }
.employee-span {
    display: block;
    position: relative;
    width: 100px;
    height: auto;
    padding-left: 1px;
    padding-bottom: 5px;
  
}
.employee-img {
    display: block;
    position: relative;
    width: 100px;
    height: 100px;
    background: rgba(172, 0, 122, 0.9);
    border: 1px solid #CE70C2;
    border-radius: 50px;
  
}
.employee-txt {
      display: block;
      position: relative;
      width: 100px;
      height: auto;
      background: rgba(172, 0, 122, 0.9);
      border: 1px solid #CE70C2;
      padding-top: 1%;
    color: #C81E5F;
    font-weight: bold;
    font-style: normal;
    font-family: Arial, 'Arial Unicode MS', Helvetica, Sans-Serif;
    text-decoration: none;
  
}
/*Блок Яндекс метрики*/
#dd-footnote-links {
    vertical-align: top;
    margin-left: 10px;
    margin-top: 8px;
    display: inline-block;
}
.yandex-informer {
    display: inline-block;
    position: relative;
}
/*-------------------------------
Адаптация под мобильные
--------------------------------*/

/*-------------------------------
Только для браузера FireFox
--------------------------------*/
@-moz-document url-prefix() 
{ 
.dd-header {left: -0.5px;} /*смещение верхнего фона*/
  .logo-top a {font-size: 21px;} /*Размер шрифта логотипа*/
  .button-kolektiv {margin-left: -939px;} /*смещение кнопки слева слайдера*/
  .button-otzivi{margin-left: -267.5px;} /*смещение кнопки справа слайдера*/
}
