/*   
Theme Name: Magree
Description: 
Author: SpePart
Author URI: http://spepart.ru
*/

*,* {
	margin: 0px;
	padding: 0px;
}

body {
	min-width: 1000px;
  width: 100%;
  font-family: Bandera;
  background: url('/img/main-bg.jpg');
  margin: auto;
}
body:before {
	content: " ";
}

h1 {font-size:38px;}
h2 {font-size:32px;
    color: #671156;
    text-align: center;
    background: url(/img/separator.png) no-repeat;
    background-position: 50% -75px;
    padding-top: 17px;
    background-size: 600px;
    text-shadow: #FFFFFF 0 1px;
}
h3 {font-size:25px;}
h4 {font-size:18px;}
h5 {font-size:14px;}
h6 {font-size:12px;}

ul, ol {
	padding: 0px;
	margin: 0px 0px 10px 25px;
}
li {}

p {}

table {
    border-collapse: collapse;
    border-spacing: 0px;
}
table th, table td {
    padding: 8px;
    vertical-align: top;
    border-top: 1px solid #DDD;
}

img {
    height: auto;
    max-width: 100%;
    vertical-align: middle;
    border: 0px none;
}

a {
	color: inherit;
	text-decoration: none;
}


.wrapper{
	width: 1000px;
	margin: auto;
}

#header {
	position: relative;
      z-index: 111;
}

#logo {
	position: absolute;
  top: 0;
  z-index: 11;
  margin-left: -10px;
  }
.contacts {
	width: 650px;
	float: left;
	height: 100px;
	margin: 60px 0px 20px;
	vertical-align: middle;
	line-height: 100px;
	text-align: right;
	font-size: 20px;
	font-weight: bold;
	color: #fff;
}
.contacts span{
	
	font-weight: normal;
	  font-size: 24px;
  color: #cccccc;
}
.contacts img{
	margin: 0px 5px;
}
.contacts .phone{
	width: 250px;
  float: right;
  border-left: 2px solid #7a3b5a;
  height: 30px;
  margin: 0px 0px 0px 12px;
  line-height: 30px;
  font-size: 40px;
  font-weight: normal;
  font-family: georgia;
}



#menu {
	height: 50px;
	width: 1000px;
	float: left;
	clear: both;
	background: url('/img/menu-bg.png') repeat-x;
	position: relative;
  z-index: 10;
}
#menu ul{
	margin: 0px;
}
#menu ul li{
	display: inline-block;
	text-align: center;
	border-right: 1px solid #c84b74;
	box-shadow: 1px 0px 0px 0px #842042;
	font-size: 18px;
	color: #fff;
	padding: 0px 20px;
	line-height: 50px;
	position: relative;
	float: left;
}
#menu ul li:hover{
	background-color: rgba(124, 17, 70, 0.63);
}
#menu ul li ul{
	display: none;
	position: absolute;
	z-index: 200;
	width: auto;
	white-space: nowrap;
	background: url('images/menu_bg.png') repeat;
    left: 0px;
}
#menu ul li:hover ul{
	display: block;
}
#menu ul li ul li{
	display: block;
	border: 1px solid #c84b74;
	border-top: none;
	width: calc(100% - 53px);
	text-align: left;
}


.menu {
	width: 812px;
  float: right;
}

.sub {
	background: url("images/arrow-menu.png") no-repeat scroll right center transparent;
}

#searchform {
	font-size: 14px;
	width: 186px;
	float: right;
	  margin: 11px 5px;
	height: 24px;
	border: 1px solid #B35177;
	background: none repeat scroll 0% 0% #FFF;
	padding: 2px 2px 0px;
	border-radius: 15px;
}
#searchform input {
	border: none; 
}

#s {
	width: 120px;
	margin: 3px 0px 0px 10px;
}

#searchsubmit {
	background: url('images/search.png') no-repeat;
	height: 22px;
	width: 51px;
	float: right;
}

#content {
	padding: 40px 0 0 0;
  position: relative;
  z-index: 11;

}

#slider {
	height: 580px;
	margin-top: 0px;
}

#stripe {
	width:1000px;
	height: 275px;
}
#stripe:before {
	content: " ";
  width: 1125px;
  height: 273px;
  position: absolute;
  background: url('images/stripe.png') no-repeat;
  margin: 0px 0px 0px -64px;
  background-size: 100%;
}

#stripe ul{
	position: absolute;
	font-size: 0px;
	margin: 0px;
	text-align: center;
	vertical-align: middle;
	/*line-height: 240px;*/
	margin-top: 20px;
	width: 1000px;
}
#stripe ul li{
	display: inline-block;
  background: #930D4C;
  border: 3px solid #8B4560;
  margin: 2px;
  box-shadow: 0 0 6px rgba(3, 2, 2, 0.6);
}
#stripe ul li img:hover {
  opacity: 0.5;
}

.page {
}
.title {
	font-size: 18px;
	padding: 5px 0px 20px;
}
.text {
	font-size: 14px;
  float: left;
  width: 704px;
}
.more {
	margin: 10px 0px 20px;
}
.more a{
	float: right;
}


.counters {
	position: absolute;
	margin: 8px 0px 0px 0px;
	text-align: right;
	  width: 1010px;
}
.counters ul{}
.counters ul li{
	display: inline-block;
	float: right;
	margin: 0px 5px;
}

.social {
	position: absolute;
	margin: 10px 0px 0px 950px;
}
.social ul {}
.social ul li{
	display: inline-block;
	width: 31px;
}

#footer {
	background-color: #24011D;
  margin-top: -12px;
  z-index: 1;
  position: relative;
  height: 150px;
}

.copy {
	font-size: 14px;
	color: #8C365C;
	float: left;
	width: 443px;
}

.butterfly {
	float: left;
	width: 296px;
	font-size: 12px;
	color: #c2c2c2;
	vertical-align: middle;
}

.contacts-footer {
	float: right;
	text-align: right;
	font-size: 20px;
	font-weight: bold;
	color: #FFF;
	width: 260px;
}
.contacts-footer img{
	float: left;
	margin: 0px 5px;
}


.contacts-footer span{
	color: #898484;
	font-weight: normal;
	font-size: 16px;
}
.contacts-footer .phone {

}
.contacts-footer .phone a{
	font-size: 16px;
	font-weight: normal;
	text-decoration: underline;
	display: block;
	
}

.services_container {
 padding-top: 30px;
  display: inline-block;
  padding-bottom: 0px;
}

.services_container a
{
    display: block;
    position: relative;
    float: left;
    margin-right: 8px;
    margin-bottom: 2px;
    width: 220px;
  height: 180px;
    padding: 4px;
    background: url(images/services_outer_shadow.png) no-repeat;
    text-decoration: none;
    cursor: pointer;
}

.services_container a.last_in_row
{
      box-shadow: 0 0 12px rgb(34, 34, 34);
  margin: 6px;
}

.services_container a.last_row
{
    margin-bottom: 0;
}

.services_container a:hover
{
    background: none;
    text-decoration: none;
}

.services_container a img
{
    position: absolute;
    display: block;
    z-index: 1;
   width: 220px;
  height: 180px;
}

.services_container a div
{
    position: absolute;
    z-index: 2;
    width: 220px;
  height: 180px;
    vertical-align: middle;
    text-align: center;
    display: table;
    background: rgba(0, 0, 0, 0.53);
}

.services_container a:hover div
{
    background: none;
}

.services_container a div span
{
    color: #fff;
  font-weight: normal;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.2em;
  display: table-cell;
  width: 220px;
  height: 180px;
  text-align: center;
  vertical-align: middle;
}

.services_container a:hover div span
{
    color: #6b2948;
}


.tape h2 {
    position: relative;
    text-transform: uppercase;
    color: #6b2948;
    text-shadow: #cfcece 0 1px;
    font-size: 25px;
    padding-bottom: 20px;
    clear: both;
}
.big_stripe
{
    height: 250px;
  background: url(images/big_stripe.png) no-repeat center top;
  padding: 33px 66px 0 66px;
  background-size: 100%;
  width: 980px;
  margin-left: -57px;
}

.big_stripe img
{
    display: block;
  float: left;
  width: 203px;
  height: 171px;
  margin-right: 45px;
  border: 4px solid #8B4560;
  box-shadow: 0 0 6px rgba(3, 2, 2, 0.6);
}

.big_stripe img.last
{
    margin-right: 0;
    float: right;
}

.otziv .img-split {
	  display: inline-block;
  box-shadow: 0 0 12px rgb(34, 34, 34);
  margin: 6px;
  margin-top: 17px;
  overflow: hidden;
  height: 150px;
  width: 190px;
  border: solid 4px rgba(255, 255, 255, 0);
}

.otziv .img-split img {

min-width: 100%!important;
min-height: 100%!important;
height: auto!important;
}

.otziv-text {
	display: inline-block;
  vertical-align: top;
  width: 600px;
  padding: 10px;
}

.otziv-text a {
	text-decoration: underline;
  display: block;
  padding-top: 20px;
}

.otziv {
	  padding: 20px;
  border-bottom: dashed 1px rgba(255, 255, 255, 0.34);
}

.main-frame {
	background: url(/wp-content/themes/magree/images/frame_top.png) no-repeat 0 -10px, url(/wp-content/themes/magree/images/frame_tile.png) repeat-y 0 0;
  width: 1000px;
  background-size: 100%;
  margin-left: -45px;
  padding: 45px;
    padding-bottom: 0px;
}

.input_label {
padding-top: 12px;
  font-size: 16px;
  color: #cccccc;
  width: 140px;
  display: inline-block;
}

.wpcf7-form input[type="text"], .wpcf7-form input[type="tel"]{
background: none;
  border: none;
  border-bottom: 1px silver solid;
  height: 20px;
  padding: 5px;
  color: white;
}


.wpcf7-form  input[type="submit"]{
  display: block;
  width: 192px;
  height: 48px;
  line-height: 40px;
  text-align: center;
  background: url(images/submit_button.png) no-repeat;
  cursor: pointer;
  font-style: italic;
  font-family: Georgia;
  font-size: 18px;
  color: #6b2948;
  text-shadow: #c3c2c2 0 1px;
  border: none;
  text-decoration: underline;
    margin-top: 20px;
  margin-left: 220px;
}

.social ul {
margin: 0px 0px 10px 100px;
}


.f-tape {
  width: 1195px;
  height: 84px;
  clear: both;
  background: url(images/footer.png) no-repeat center top;
  margin-left: -99px;
  background-size: 100%;
}

#star-1,
#star-2,
#star-3
{
    position: absolute;
}

#star-1
{
    background: url('images/stars/1.png') no-repeat 0 0 transparent;
    width: 28px;
    height: 26px;
    top: 60px;
    left: 593px;
}

#star-2
{
    background: url('images/stars/2.png') no-repeat;
    width: 24px;
    height: 19px;
    top: 63px;
    left: 761px;
}

#star-3
{
    background: url('images/stars/3.png') no-repeat;
    width: 44px;
    height: 43px;
    top: 87px;
    left: 805px;
}


.current-menu-item {
	  background: url(/wp-content/themes/magree/images/menu_highlight.png);
  background-position: 50% 100%;
  background-repeat: no-repeat;
}

.space {
	  display: block;
  width: 100%;
  height: 55px;
}

.text-item {
  width: 30%;
  text-align: justify;
  display: inline-block;
  vertical-align: top;
    margin-left: 25px;
  color: rgba(255, 255, 255, 0.51);
}

.text-item a {
  font-weight: bold;
  border-bottom: dashed 1px;
}

.text-item h3 {
    font-size: 18px;
  border-bottom: dashed 1px;
}

.text-item p {
  font-size: 14px;
}

.text-info {
  margin-top: 30px;
}

.all-texts {
  text-align: center;
  border: solid 2px;
  border-radius: 6px;
  width: 150px;
  text-transform: uppercase;
  color: #824059;
  padding: 5px;
  display: block;
  margin-top: 25px;
}

.all-texts:hover {
  background-color: rgba(199, 10, 101, 0.46);
  color: white;
}

.text-info h2 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  font-weight: normal;
} 

.otziv-text h3 {
  font-weight: normal;
}



.top-line {
    background-color: rgb(244, 242, 240);
}

.t-adress {
    display: inline-block;
  vertical-align: middle;
  background: url(/img/adress.png) no-repeat 0 50%;
  padding: 10px 0px 10px 40px;
}

.t-adress a {
  text-decoration: underline;
  color: #824059;
}

.top-spleet {
  display: inline-block;
  padding: 0px 25px;
}

.t-phone {
  display: inline-block;
  vertical-align: middle;
  font-size: 19px;
}

.t-phone span {
  color: #898584;
  font-size: 11px;
}

.t-phone a {
  display: block;
  font-size: 16px;
  text-decoration: underline;
  color: #824059;
}

.pole {
      margin-left: 173px;
}

#menu ul li:last-child {
  border: none;
  box-shadow: none;
}

.slideshow_title {
  color: white!important;
  text-transform: uppercase!important;
  font-size: 30px!important;
  font-weight: normal!important;
}


.slideshow_title span {
  text-transform: none!important;
  font-style: italic!important;
  font-size: 18px!important;
  opacity: 0.7!important;
  display: block!important;
  text-align: right!important;
  background: url(/img/citati.png) no-repeat;
  background-size: 22px;
  background-position: 100% 50%;
  padding-right: 28px;
}

.slideshow_description {
  color: white!important;
  border-top: 2px solid #FF9E00!important;
}


.slideshow_container_slideshow-jquery-image-gallery-custom-styles_2 .slideshow_description_box {
 margin: 0!important;
  left: 50%!important;
}

.side {
  float: right;
}

.s-item {
    width: 227px;
  height: 189px;
  text-align: center;
  background-repeat: no-repeat;
  padding: 4px;
  display: inline-block;
  margin-left: -4px;
  box-shadow: 0 0 3px darkgrey;
  vertical-align: top;
}

.s-hold {
  height: 185px;
  border: solid 1px white;
  width: 225px;
  cursor: pointer;
}

.s-item h3 {
  color: white;
  font-size: 18px;
  background-color: rgba(0, 0, 0, 0.43);
  padding: 15px 0;
  margin-top: 45%;
}

.s-hold:hover {
  background-color: rgba(199, 10, 101, 0.66);
}

.individual {
  box-shadow: 0 0 3px darkgrey;
  cursor: pointer;
}

.individual:hover {
  opacity: 0.9;
}

.f-line {
  clear: both;
  background: url(/img/footer-line.png) repeat-x;
  height: 12px;
  padding-top: 40px;
  background-position: 0 100%;
}

#footer .menu {
  width: 795px;
  float: left;
}

#footer #menu ul li {
    padding: 0px 18px;
}

#footer #menu {
  height: 50px;
  width: 1000px;
  float: left;
  clear: both;
  background: url('/img/menu-bg.png') repeat-x;
  position: relative;
  z-index: 10;
  padding-top: 5px;
  background-size: 18px auto;
  padding-bottom: 30px;
}


.presentat {
  clear: both;
  padding-top: 40px;
}

.presentat .content {
  position: relative;
}
.presentat .content .pres{float:left;margin:0 0 0 70px;height:240px;width:177px; text-align:center;}
.presentat .content .pres:first-child{margin-left:10px;}
.presentat .content .pres .izo{width:177px;height:177px;border-radius:50%;margin-bottom:25px;position:relative;overflow:hidden;}
.presentat .content .pres .izo a img{width:100%;vertical-align:middle;}
.presentat .content .pres .izo:hover .pres-open.foto{background:url(/img/pr-ic2.png) top;height:127px;width:127px;position:absolute;top:25px;left:25px;}
.presentat .content .pres .izo:hover .pres-open.video{background:url(/img/pr-ic2.png) bottom;height:127px;width:127px;position:absolute;top:25px;left:25px;}
.presentat .content .pres .pres-tip{color:#aaaaab;font-size:14px;}
.presentat .content .pres .naim{color:#595f72;font-size:16px;}
.presentat .content .pres:hover .pres-open.video{background:url(/img/pr-ic2.png) no-repeat 50px 5px;}
.presentat .content .carousel  {width:100%;margin:30px auto;}
.presentat .content .carousel-wrapper {margin: 10px 30px;overflow: hidden;position:relative;}
.presentat .content .carousel-items {width: 10000px;position: relative;}
.presentat .content .carousel-button-left,.carousel-button-right{width:30px;height:30px;position:absolute;top:150px;cursor:pointer;z-index:5;}
.presentat .content .carousel-button-left{left:0;background:url(/img/pres-ic.png) no-repeat center left;}
.presentat .content .carousel-button-right{right:0;background:url(/img/pres-ic.png) no-repeat center right;}


.n-item h3{
  color: #FF9E00;
  text-align: center;
  text-decoration: underline;
  font-weight: normal;
}

.n-item {
      display: inline-block;
    vertical-align: top;
    width: 290px;
    background-color: white;
    padding: 10px 7px;
    border-radius: 5px;
    box-shadow: 0 0 6px silver;
    margin: 12px;
}

.date {
 text-align: right;
    display: inline-block;
    color: #848484;
    font-size: 12px;
    background: url(/img/calendar-icon.png) no-repeat;
    background-size: 13px;
    padding-left: 17px;
    float: right;
    margin-bottom: 5px;
    margin-top: 4px;
}

.i-holder {
  cursor: pointer;
    height: 200px;
    clear: both;
    overflow: hidden;
}

.i-holder img:hover {
  opacity: 0.8;
} 

.t-pre {
  padding: 10px 5px;
}


.n-item .all-texts {
    text-align: center;
    border: solid 2px;
    border-radius: 6px;
    color: #824059;
    padding: 5px;
    display: block;
    margin-top: 0px;
    text-transform: none;
    width: 100px;
    margin: 0 auto;
}

.n-item .all-texts:hover,  .n-all-texts:hover {
background-color: rgba(199, 10, 101, 0.46);
    color: white;
  }

  .news-block {
    margin-top: 10px;
  }

   .n-all-texts {
    text-align: center;
    border: solid 2px;
    border-radius: 6px;
    width: 150px;
    text-transform: uppercase;
    color: #FFFFFF;
    padding: 5px;
    display: block;
    margin-top: -40px;
    margin-bottom: 20px;
    margin-left: 13px;
    background-color: #9A063E;
}

.page h1 {
  color: #671156;
    text-align: center;
    background: url(/img/separator.png) no-repeat;
    background-position: 50% -75px;
    padding-top: 50px;
    background-size: 600px;
    text-shadow: #FFFFFF 0 1px;
    margin-bottom: 20px;
}


/**
 * Raspisanie
 */
div#node-20 table {
      margin: 0 auto;
  font-size: 11px;
}
div#node-20 table thead th {
  width:73px;
  padding:0 10px;
  font-size: 15px;
  font-weight: bold;
  text-align:center;
  background:#FFF;
  border:none;
}

div#node-20 table tr, div#node-20 table tr {
  background:none;
  border:none;
}
div#node-20 table tr {
  border-bottom:2px solid #cecece!important;
}
div#node-20 table tr td {
  padding:3px 0;
}
div#node-20 table td div {
  display:block;
  width:73px;
  height:47px;
  overflow:hidden;
  padding:5px;
  margin:2px 0;
  border:1px solid #C1CEDB;
  border-radius:5px;
  -webkit-border-radius:5px;
  -moz-border-radius:5px;
  -khtml-border-radius:5px;
  box-shadow: 1px 1px 3px #CECECE;
  
}
div#node-20 table tr td:first-child, div#node-20 table th:first-child {
  overflow:hidden;
  width:30px;
  text-indent: -999em;
  padding:0;
}
div#node-20 table tr td:first-child div, div#node-20 table tr td:last-child div {
  margin:0;
  border:none;
  background:none;
  box-shadow:none;
  font-size: 12px;
  font-weight: bold;
}
div#node-20 table tr td:first-child div {
  display:none;
  width:auto;
  height:auto;
  padding:0;
}

.raspisanie tr td {
  width: 73px;
    height: 47px;
    overflow: hidden;
    padding: 5px;
    margin: 2px;    
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    box-shadow: 1px 1px 3px #CECECE;
    font-size: 11px;
}

.raspisanie tr {
  border: none;
}

.raspisanie tr:nth-child(1) td:first-child {
  background:transparent url('/img/dayofweek.png') no-repeat 0 50%;
  background-position: 10px;
  font-size: 0;
  width: 25px;
}
.raspisanie tr:nth-child(4) td:first-child {
  background:transparent url('/img/dayofweek.png') no-repeat -37px 50%;
  font-size: 0;
 width: 25px;
}
.raspisanie tr:nth-child(7) td:first-child {
  background:transparent url('/img/dayofweek.png') no-repeat -85px 50%;
  font-size: 0;
  width: 25px;
}
.raspisanie tr:nth-child(10) td:first-child {
  background:transparent url('/img/dayofweek.png') no-repeat -133px 50%;
  font-size: 0;
  width: 25px;
}
.raspisanie tr:nth-child(13) td:first-child {
  background:transparent url('/img/dayofweek.png') no-repeat -181px 50%;
  font-size: 0;
  width: 25px;
}
.raspisanie tr:nth-child(16) td:first-child {
  background:transparent url('/img/dayofweek.png') no-repeat -226px 50%;
  font-size: 0;
  width: 25px;
}
.raspisanie tr:nth-child(19) td:first-child {
  background:transparent url('/img/dayofweek.png') no-repeat -276px 50%;
  font-size: 0;
  width: 25px;
}

.raspisanie tr:nth-child(3n) {
border-bottom: solid #CACACA 3px;
}



table a {
  text-decoration: underline;
    color: #C20E60;
}

.tablefield {
width: 100%;
    background-color: rgba(255, 255, 255, 0.65);
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px #D8D8D8;
}


.tablefield tr:nth-child(2n) {
  
          background: rgba(166, 6, 81, 0.08);
}

.tablefield thead {
color: #4C4C4C;
    border-bottom: solid #A2074E;
  }
   

.tablefield tr td {
  width: 33%;
}

table {
  background-color: rgba(255, 255, 255, 0.65);
    box-shadow: 0 0 10px #D8D8D8;
}

.post .d-styles {
text-align: center;
}

.map-bg {
  background: url(/img/map_bg.png) no-repeat;
    position: absolute;
    padding-top: 50px;
    padding-bottom: 20px;
    padding-left: 15px;
    padding-right: 215px;
    margin-top: -123px;
}

.slideshow_container_slideshow-jquery-image-gallery-custom-styles_2 .slideshow_pagination {
    top: 185px!important;
    left: 210px!important;
}
.media {
  text-align: center;
}

.p-pre p {
    display: inline;
}

.p-holder {
  width: 177px;
    height: 177px;
    border-radius: 50%;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}

.p-holder:hover {
  opacity: 0.7;
}

.p-pre {
padding: 10px 10px;
    display: inline-block;
    vertical-align: inherit;
    width: 790px;
  }

  .p-link {
    text-align: center;
    border: solid 2px;
    border-radius: 6px;
    width: 120px;
    color: #824059;
    padding: 5px;
    display: block;
    float: right;
    margin-top: 30px;
  }
.p-link:hover {
  background-color: rgba(199, 10, 101, 0.46);
    color: white;
  }

  .d-pre {
    color: white;
    font-style: italic;
    font-size: 13px;
    text-align: left;
    padding: 8px;
    display: none;
  }

  .d-inner .s-hold:hover>h3{
    display: none;
  }

  .d-inner {
    text-align: center;
  }

  .d-inner .s-hold:hover>.d-pre{
    display: block;
  }