/* HTML5 display definitions
   ========================================================================== */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block; 
  vertical-align: baseline; 
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

a {
  background: transparent;
}

a:active,
a:hover {
  outline: 0;
}

a#btn{
	background: #fff;
	background: -webkit-gradient(linear, left top, left bottom, from(#C5C5C5), to(#A4A4A4));
	background: -webkit-linear-gradient(top, #C5C5C5, #A4A4A4);
	background: -moz-linear-gradient(top, #C5C5C5, #A4A4A4);
    background: -ms-linear-gradient(top, #C5C5C5, #A4A4A4);
    background: -o-linear-gradient(top, #C5C5C5, #A4A4A4);
    background-image: -ms-linear-gradient(top, #C5C5C5 0%, #A4A4A4 100%);
    padding: 8.5px 17px;
	-webkit-border-radius: 28px;
	-moz-border-radius: 28px;
	border-radius: 28px;
	font-weight: bold;
	color: #fff;
	font-size: 14px;
	text-decoration: none;
	vertical-align: middle;
	text-transform:uppercase;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#A4A4A4',endColorstr='#C5C5C5', GradientType=0);
}
a#btn:hover   {
	background: #C5C5C5;
	background: -webkit-gradient(linear, left top, left bottom, from(#A4A4A4), to(#C5C5C5));
	background: -webkit-linear-gradient(top, #A4A4A4, #C5C5C5);
	background: -moz-linear-gradient(top, #A4A4A4, #C5C5C5);
	background: -ms-linear-gradient(top, #A4A4A4, #C5C5C5);
    background: -o-linear-gradient(top, #A4A4A4, #C5C5C5);
	background-image: -ms-linear-gradient(top,  #A4A4A4 0%, #C5C5C5 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#A4A4A4',endColorstr='#C5C5C5', GradientType=0);
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

button,
input,
optgroup,
select,
textarea {
  color: inherit; 
  margin: 0; 
}

button {
  overflow: visible;
}
button,
select {
  text-transform: none;
}

button,
html input[type="button"], 
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; 
  cursor: pointer; 
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; 
  padding: 0; 
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  -webkit-appearance: textfield; 
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; 
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}


fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0; 
  padding: 0; 
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/* Fonts
   ========================================================================== */
  
@font-face{
	font-family: Angelica;
	src: url(/bitrix/templates/piruet/fonts/Angelica.ttf);
}
@font-face{
	font-family: Martina;
	src: url(/bitrix/templates/piruet/fonts/Martina_scriptC.ttf);
}

html {
  font-family: sans-serif; 
  -ms-text-size-adjust: 100%; 
  -webkit-text-size-adjust: 100%; 
}

/**************************************** CSS basics start ********************************************/

sup { vertical-align: baseline; position: relative; top: -0.4em; font-size:.7em;}
sub { vertical-align: baseline; position: relative; bottom: -0.4em; font-size:.7em;}

/*------------------------------------------------------------*/

a {color:#A4A4A4;}
a:link, a:active, a:visited { text-decoration: underline;}
a:hover {text-decoration: none; color:#005580;}
a.img:link, a.img:active, a.img:visited {text-decoration: none !important;}
a.img:hover {text-decoration: none;}

h1, h2, h3, h4, h5, h6 { padding: 0px;margin: 0px;line-height:1.4em; }

h1 {
	font:normal 300 42px/50px 'Open Sans', Arial, sans-serif;
	margin:0 0 30px 0; 
}

h2 {
	font:normal 300 36px/48px 'Open Sans', Arial, sans-serif;
	margin-bottom: 16px;
	margin-top: 0;
	color: #CB8819;
}

h3 {
	font:normal 300 24px/29px 'Open Sans', Arial, sans-serif;
	margin-bottom: 10px;
	font-weight:normal;
}

h4 {
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 5px;
	font:normal 300 22px/27px 'Open Sans', Arial, sans-serif;
	color:#CB8819;
}
/*------------------------------------------------------------*/


/**************************************** / CSS basics end********************************************/


/******************************* everything styles {start}*********************************/
.small {font-size:14px;}
.bold{font-weight:bold;}
.hright {text-align:right;}
.text-right {text-align:right;}
.text-center {text-align:center;}
.relative {position:relative;}
.clear {clear:both;}
.hidden {display:none;}
.nowrap {white-space:nowrap;}
/******************************* everything styles {end}*********************************/

/******************************* container styles {start}*********************************/
.warning {color:red;}

div.transparent_bg {
    color: #fff;
    /* For IE */
    background:transparent; zoom:1;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ddffffff, endColorstr=#ddffffff); /* IE 5.5 - IE 7 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#ddffffff, endColorstr=#ddffffff)"; /* IE 8 */
}

div.transparent_bg:not(.IE) {
    background: #fff; /* Fallback for browsers that don't support RGBa */
    background: rgba(256,256,256,0.9);
}
/******************************* container styles {end}*********************************/

/******************************* Main styles {start}*********************************/
body {
	font-size: 14px;
	line-height:1.4;
	font-family: 'Open Sans', Arial, sans-serif;
	padding:0;
	margin: 0;
	background-color: #AAD4FF;
}

p {margin-bottom:1em;}

/* basic container */
div.pr_container {
	width:940px; 
	margin: 0 auto; 
	background-color: #fff;
}
div.menu_container {
	width:100%; 
	margin: 0 auto; 
	background-color: #e9ebed;
	-webkit-border-radius: 0 0 30px 30px;
	border-radius: 0 0 30px 30px;
}

/* top menu */	
#top_menu {	
	height:50px; margin:0 0 0 0; padding:0;
	overflow:hidden; list-style:none;
	-webkit-border-radius: 0 0 30px 30px;
	border-radius: 0 0 30px 30px;
	/*box-shadow: 0 2px 10px rgba(0,0,0,0.5);*/
}
#top_menu li {
	display:block; 
	margin:0; float:left; 
	width:16.667%; 
	height:100%; 
	text-align:center
}
#top_menu li a:hover, #top_menu li a.selected {
	background: #EFF3F6; 
	color: #CB8819;
}
#top_menu li a {
	display:block; width:100%; height:100%;
	font-size:12px; font-weight:700; 
	line-height:4.2em; text-transform:uppercase;
	color: #000; text-decoration: none
}

/*slider*/
#main-slider{
	width:600px; 
	height:300px;
}
.anythingWindow{
	-webkit-border-radius: 30px 30px 30px 30px;
	border-radius: 30px 30px 30px 30px;
	background: #fc0; 
    /*box-shadow: 5px 5px 10px rgba(0,0,0,0.5); */
}

#header{
	height: 309px;
}

/* content */
#content_wrapper{}
div.content_hr {
	background: #fff url('/bitrix/templates/piruet/images/sep.png'); 
	width: 940px; 
	height: 60px; 
	overflow:hidden;
}
div.content_hr_cl {
background: #fff url('/bitrix/templates/piruet/images/sep_cl.png'); 
width: 940px; 
height: 60px; 
overflow:hidden;
}

/* page content */
#content {
	width:940px; 
	float:left;
}
	
div.content_section {
	margin-top:15px; padding-bottom:10px;
	-webkit-border-radius: 30px 30px 0 0;
	border-radius: 30px 30px 0 0;
}
div.content_section:first-child {
	border-top: 4px solid #E0E0E0; 
}
/* footer */
#footer {
	border-top: 6px solid #E0E0E0; 
	width:100%;
	margin: 0 auto; 
	background-color: #EFEFEF;
	height: 145px;
	-webkit-border-radius: 30px 30px 5px 5px;
	border-radius: 30px 30px 5px 5px;
}
			
/* copyright & madeby */		
#splash{
	float: right;
	margin-right:10px;
	margin-left: 200px;
}
#splash a#email{
	color: #A4A4A4;
}
div#splash p{
	font-size: 10px;  
	margin-bottom: 0px !important; 
	margin-top: 40px !important;
}

/*---------------------------------------------------------------------------------------------------*/
div.contacts{
	font-weight: bold;
	float: left;
	margin-left:10px;
	/*font-family: Martina;
	font-size: 28px;*/
}

div.foot_logo{
	float: left;
	margin-left: 220px;
}
div.footer_contacts{
	float: right;
	margin-right:10px;
	/*font-family: Martina;
	font-size: 28px;*/
}
div.footer_contacts a#site{
	color: #C5C5C5;
}
div.footer_contacts a#email{
	color: #A4A4A4;
}
div.about_links a{
	float: right;
	margin-right: 50px;
}

div#slider {
	float: right;
	margin-top:10px
}
div#main_logo{
	float:left;
	margin-top: 33px;
}

div#about_links {
	font-size: 22px;
	text-align:center;
	/*border-top: 4px solid #E0E0E0;*/
	margin-top:10px;
}
div#about_links a{
	margin: 10px 10px 0 10px;
	color:#A4A4A4;
}

.gold{
	font:normal 300 20px/32px 'Open Sans', Arial, sans-serif;
	color: #CB8819;
	font-weight: bold;
	padding-right: 10px;
}
.n_gold{
	font:normal 300 20px/32px 'Open Sans', Arial, sans-serif;
	color: #CB8819;
	font-weight: normal;
	padding-right: 10px;
}

.photo-items-list{
	margin-left: 32px;
}

ul.photo-album-list{
	margin-left: 147px;
}
div#back_cont{
	width:1000px;
	background-color: #fff;
	margin:0 auto 0 auto;
	/*background: url('//farexpo.ru.opt-images.1c-bitrix-cdn.ru/bitrix/templates/piruet/images/content_gr.png?14164859871030') repeat-x scroll left top transparent;*/
	box-shadow: 0 0px 10px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 0px 10px rgba(0,0,0,0.5); 	
	-webkit-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
}

#toTop {
	width:70px;
	/*border:1px solid #ccc;*/
	background-color: #fff;
	text-align:center;
	padding:5px;
	position:fixed;
	bottom:0px; /* отступ кнопки от нижнего края страницы*/
	right:0px;
	cursor:pointer;
	display:none;
	color: #CB8819;
	font-family:verdana;
	font-size:11px;
	height: 100%;
	opacity: 0.5;
	z-index: 4;
}
#toTop p{margin-top: 80px;}

div.news-detail h3{
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 5px;
	font:normal 300 22px/27px 'Open Sans', Arial, sans-serif;
	color:#CB8819;
}

/*--Баг IE iframe ?wmode=opaque--*/
p#ifr {
	z-index: 1;
}
img.preview_picture{
	margin-right: 10px !important;
}

div.photo-item-cover-block-container{
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

div.naviChain{
	margin: 10px 0 0 40px;
	color: #A4A4A4;
}
ul.breadcrumb-navigation li, 
ul.breadcrumb-navigation a{
	font-size: 16px;
}

img {max-width: 100%;}
.gallery-3-col img {
	max-height: 150px;
}

