@import url(//fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800);
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
*:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
body { background-color: #FFFFFF; font-family: Verdana, Arial, sans-serif; font-size: 12px; line-height: 18px; margin: 0; width:100%}
img {border:none; max-width:100%}

td, textarea, input, select { font-family: Verdana, Arial, sans-serif; font-size: 12px; color: #6F6D6D;}

.clearfix:before, .clearfix:after, .container:before, .container:after, .container-fluid:before, .container-fluid:after, .row:before, .row:after, .form-horizontal .form-group:before, .form-horizontal .form-group:after, .btn-toolbar:before, .btn-toolbar:after, .btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after, .nav:before, .nav:after, .navbar:before, .navbar:after, .navbar-header:before, .navbar-header:after, .navbar-collapse:before, .navbar-collapse:after, .pager:before, .pager:after, .modal-footer:before, .modal-footer:after { content: " "; display: table;}
.clearfix:after, .container:after, .container-fluid:after, .row:after, .form-horizontal .form-group:after, .btn-toolbar:after, .btn-group-vertical > .btn-group:after, .nav:after, .navbar:after, .navbar-header:after, .navbar-collapse:after, .pager:after, .modal-footer:after { clear: both;}

ul, ol { margin-top: 0; margin-bottom: 10px; list-style:inside; line-height: 167%; font-size: 107%;}
ul ul, ol ul, ul ol, ol ol { margin-bottom: 0;}
.box5 ul, .box5 ol { padding: 0;}

p:first-child{margin-top:0;}
p:last-child{margin-bottom:0;}

.clear {clear:both; height:0px; visibility:visible;}
.left {float:left;}
.right {float:right;}

.alignleft{float: left; margin: 0 20px 10px 0;}
.alignright{float: right; margin: 0 0 10px 20px;}
.center{ text-align:center}

.title { font-weight:bold; line-height: normal; font-size:12px; margin-bottom: 20px; color:#0475bc;text-shadow: 0 1px 0 #FFFFFF, 2px 2px 4px #AAAAAA; text-transform:uppercase; text-align:center;}
.title:first-child { margin-top:10px}
.title:hover{ color:#686868;}
	

/* Headers */
h1, .h1 { font-size: 16px; line-height:normal; font-weight:bold; text-decoration: none; color: #323433; text-align:left;}
h2, .h2 { font-size: 18px; line-height:normal; font-weight:bold; text-decoration: none; text-align:center;}
h3, .h3 { font-size: 16px; line-height:normal; font-weight:bold; text-decoration: none;}
h4, .h4 { font-size: 16px; line-height:normal; font-weight:normal; text-decoration: none; text-align:center;}
h5, .h5 { font-size: 14px; line-height:normal; font-weight:bold; text-decoration: none; margin:2px 0px;}
h6, .h6 { font-size: 12px; line-height:normal; font-weight:bold; text-decoration: none; margin:2px 0px;}

.address h5 { margin-bottom:10px; }

/* Boxes */
.half {width:48%; margin-right:4%; float:left;}
.half:nth-child(2n) {margin-right:0;}
.third {width:30%; float:left;}
.third:nth-child(2n) {margin:0 5%;}
.box5 {border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; behavior:url(js/PIE.htc); border:1px solid #a6a6a6; -moz-box-shadow: 3px 3px 8px #c7c7c7; box-shadow: 2px 2px 4px #c7c7c7; -webkit-box-shadow: 3px 3px 8px #c7c7c7; background:#f9f9f9; padding:10px; margin-bottom:20px;}
#content>.box5:last-child {margin-bottom:0;}
img.map  { width:100%; border:1px solid #a6a6a6;}
/*******************************/

#wrap_grey { width:870px; padding:0 50px; margin:0px auto 0px auto; color: #6F6D6D; background:url(../images/bkgr_l.png) left repeat-y, url(../images/bkgr_r.png) right repeat-y, #fff; height:100%}
@media (max-width: 870px) {
	#wrap_grey {width:90%;}
}
/*@media (min-width: 768px) {
	.container {width: 750px;}
}
@media (min-width: 992px) {
	.container {width: 970px;}
}
@media (min-width: 1200px) {
	.container {width: 1170px;}
}*/

#address_grey { height: 21px; width:100%; text-align:right; margin:5px 0}
#address_grey a { color: #000; text-decoration:none; font-weight:bold;}
#address_grey a:hover { color: #FF0000; text-decoration:underline; font-weight:bold;}
	
#header { width:100%; padding:10px 0; position:relative; display:block;
  background: #fff;
  background: -ms-linear-gradient(180deg, #fff 0%, #989898 50%, #fff 100%);
  background: linear-gradient(180deg, #fff 0%, #989898 50%, #fff 100%);
  -pie-background: linear-gradient(180deg, #fff 0%, #989898 50%, #fff 100%);
  background: -moz-linear-gradient(180deg, #fff 0%, #989898 50%, #fff 100%);
  background: -webkit-linear-gradient(180deg, #fff 0%, #989898 50%, #fff 100%);
  background: -o-linear-gradient(180deg, #fff 0%, #989898 50%, #fff 100%);
}
#header>a {display:block;}
#header>a>img{display:block;}
.moto { position:absolute; color:#fff; text-shadow: 0 1px 0 #333, 2px 2px 2px #000; top:10px; left:10px; right:10px; text-align:center;}

#menu_grey { height:25px; width:100%; text-decoration:none; margin-bottom:-1px;}
* html #menu_grey { height:25px; width:100%; text-decoration:none;}
#menu_left { float:left; text-align: left;}
 
#menu_right { float:right; color:#A5A5A5; text-align:right; text-transform:uppercase;}
 
#menu_right a { font-weight: bold; color: #111111; text-decoration: none;}
#content {background-repeat: no-repeat; padding:30px; width:100%; text-align:left; border: 1px solid #A6A6A6;}
 * html #content { text-align:left; background-repeat: no-repeat; margin-top: -2px;}
 * html #missinglink { margin-top: -2px;}
div.newsletter { margin-top: 20px; margin-left: 20px; background-image: url(images/newsletterbg.jpg);}
#content a { color: #FF0000; text-decoration:none;}
#content a:hover { color: #0475bc;/*#010066;*/ text-decoration:none;}
.caption{padding-bottom:25px;}
.btn-default{ margin-bottom:0; font-weight:bold;}
#content a.btn-default { color: #0475bc;; text-decoration:none;}
#content a.btn-default:hover { color: #010066; text-decoration:none;}
/*.btn-default.btn4 {
	box-shadow: none;
	text-decoration: none;
	display: inline-block;
	padding: 0 20px;
	font: 600 12px/25px 'Open Sans';
	margin: 10px 0 0 0;
	border-radius: 0;
	color: #ffffff;
	background: #cc0000;
	text-transform: uppercase;
	float: none;
	-webkit-transition: all 0.25s;
	-o-transition: all 0.25s;
	transition: all 0.25s;
}
.btn-default.btn4:hover {
	color: #ffffff;
	background: #3e454c;
	text-decoration: none;
}*/

#insidetext { text-align:left; margin: 18px; text-align:justify;}
.formhome { border: #333333; margin: 3px;}
	
div.litetitle { font-size: 16px; color: #FFFEFF; text-decoration: none; padding-top: 10px;}	

div.wrapper { width:100%;}

footer{ padding:10px 0}
footer .half.right{ text-align:right;}
footer ul{ margin:0; padding:0; list-style:none; font-weight: bold; font-size: 10px; text-transform: uppercase;}
footer ul li{ display: inline; border-left: #999999 1px solid;}
footer ul li a{color: #6F6D6D; font-size: 10px; text-decoration: none; padding:0 5px;}
footer ul li a:hover{text-decoration: underline;}
footer ul li:active a{color: #000;}

.category_grey {color: #828080; font-size: 11px; font-weight: bold; text-decoration: none; text-align:center;}

.footer { color: #000; font-size: 10px; line-height: normal; text-decoration:none; padding-top: 5px; text-align:center; display:block;}
.footer a { color: #000; font-size: 10px; font-family: Verdana, sans-serif, Arial; text-decoration:none;}
.footer a:hover { color: #000; font-size: 10px; font-family: Verdana, sans-serif, Arial; text-decoration:underline;}

.line_grey { color: #6F6D6D; font-size: 9px;}
.imagegallery_grey { border: 3px solid #BFBBBA;}
.thumbgallery_grey { border: 2px solid #BFBBBA;}
div.box { height: 145px; width: 177px; float: left; text-align:right;}
div.box img { cursor: pointer;}
div.boxh { height: 140px; width: 177px; float: left; text-align:right;}
div.boxh img { cursor: pointer;}
div.spacer { clear: both; float:none; visibility: hidden;}
#contactsleft_grey { float:left; width: 275px; text-align:left;}
#contactsright_grey { float:right; width: 433px; text-align:left;}
#big_photo { position: relative; width: 520px;}
#big_photo img { border: 2px solid #BFBBBA;}
#big_photo_tooltiptext { margin-top: 10px; width: 522px; height: 80px; text-align: left; font-size: 11px; line-height: normal;}
#zoom { margin: 0px;}
* html #zoom { margin-top: -2px;}
.objectname { text-align:left; font-size:10px; color: #6F6D6D;}


/* top-menu	*/
.russian-text { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; color: #686868; text-transform:uppercase; font-weight: bold; text-decoration:none;}
.russian-text-link { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; color: #FFFFFF; text-transform:uppercase; font-weight: bold; text-decoration:none;}
/* top-menu-end	*/

/*footer-grey menu */
#footer_grey { text-decoration:none; text-transform:uppercase;}
#footer_left_grey { margin-top:10px; float:left; text-align: left; font-size:10px; color: #6F6D6D;}
#footer_right_grey { float:right; margin-top:10px; color:#000; text-align:right; font-weight: bold; font-size:10px; text-transform:uppercase;}
#footer_right_grey a { font-weight: bold; color: #6F6D6D; font-size:10px; text-decoration: none;}
#footer_right_grey a:hover { font-weight: bold; color: #6F6D6D; font-size:10px; text-decoration: underline;}
#footer_grey ul { margin:0; padding:0;}
#footer_grey ul li { display:inline; list-style:none; border-left:#999999 1px solid;}
#footer_grey ul li a {padding:0 5px}
#footer_grey ul li.active a {color: #000000;}

#toTop { display: none; text-decoration: none; position: fixed; bottom: 30px; right: 30px; width: 42px; height: 42px; overflow: hidden; border: none; z-index: 20; /*text-indent: -9999px; background: url(../images/top.png) 0 top no-repeat;*/}
#toTop:before { font-size:42px; color:#0475bc; opacity: 0.5; filter: alpha(opacity=50);}
#toTop:hover:before{ outline: none; opacity: 1; filter: alpha(opacity=100);}
/* MY New styles */

/* top menu */
.nav {margin:0; padding:0; height:25px; text-transform:uppercase; text-align:center; font-size: 14px; font-weight: bold;}
.nav li {display:inline; list-style:none; padding:4px 0 3px 0; float: left;}
.nav li a {color:#fff; text-decoration:none;}

/*contact form */
.padding{padding:10px 20px 10px 20px;}

#winMem { background:#FFFFCC; height: 30px; text-align: center; width: 708px; color:#ff0000; font-weight:bold; line-height:30px; margin:10px 0 0 0;}

.row { display:block; width:100%; margin-bottom:30px;}
footer .row {margin-bottom:10px;}
/* contact-form
========================================================*/
#contact-form fieldset{ margin:10px 0 0;}
#contact-form fieldset:first-child{ margin-top:0;}
#contact-form label{width:50%; float:left; padding:3px 0;}
#contact-form input{width:50%; float:right; margin-bottom:6px;}
#contact-form textarea{width:100%; height:92px;}
#contact-form #button{width:auto; margin-left:10px;}
#submit {margin:5px 0; width:100px !important;}

.required {color:#FF0000; text-align:center; font-size:10px; font-style:italic;}

.address { margin:10px 0 28px 0;}
.address:after { clear: both; content: ' '; display: block; font-size: 0; line-height: 0; width: 0; height: 0;} 

/* table
========================================================*/
table.small {width:620px; margin:0 10px;}
table.small td {font-size:9px; font-weight:bold; text-align:center;}
.red {color: #FF0000}
.blue {color: #0000FF}
.style5 {font-size: small}
.style6 {color: #FF0000; font-weight: bold; font-size: small;}
.style8 {font-size:12px;}

/* menu
========================================================*/
nav.tm_navbar { padding: 0; margin: 0; float: none;min-height: 0;border:none; display:block;}
nav.tm_navbar ul {/*border: 1px solid #a6a6a6;border-bottom:none;*/}
nav.tm_navbar li { position: relative;padding: 0;margin: 0;float: left;border-top: 1px solid #a6a6a6;
  background: #fff;
  background: -ms-linear-gradient(270deg, #fff 0%, #989898 50%, #fff 100%);
  background: linear-gradient(270deg, #fff 0%, #989898 50%, #fff 100%);
  -pie-background: linear-gradient(270deg, #fff 0%, #989898 50%, #fff 100%);
  background: -moz-linear-gradient(270deg, #fff 0%, #989898 50%, #fff 100%);
  background: -webkit-linear-gradient(270deg, #fff 0%, #989898 50%, #fff 100%);
  background: -o-linear-gradient(270deg, #fff 0%, #989898 50%, #fff 100%);
}
nav.tm_navbar .nav>li>a {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: transparent transparent transparent #a6a6a6;
    border-image: none;
    border-style: solid;
    border-width: 1px;

	position: relative;
	padding:5px 20px 5px 20px;
	font: 600 14px/20px 'Open Sans';
	text-align: center;
	color: #fff;
	text-transform: uppercase;
	background: transparent;
	-webkit-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}
nav.tm_navbar .nav>li.active > a {
	color: #686868;
	background:#fff;
    border-color: #a6a6a6 #a6a6a6 transparent #a6a6a6;
	margin:-1px -6px -1px -6px;
	padding:6px 26px 6px 26px;
	z-index:500;

	-webkit-border-top-left-radius: 10px;
    -moz-border-top-left-radius: 10px;
    border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-top-right-radius: 10px;
    border-top-right-radius: 10px;
}
nav.tm_navbar li:first-child, nav.tm_navbar li:first-child a {
	-webkit-border-top-left-radius: 10px;
    -moz-border-top-left-radius: 10px;
    border-top-left-radius: 10px;
}
nav.tm_navbar li.last, nav.tm_navbar li.last a {
    -webkit-border-top-right-radius: 10px;
    -moz-border-top-right-radius: 10px;
    border-top-right-radius: 10px;
}
nav.tm_navbar li.last a { border-color: transparent #a6a6a6 transparent #a6a6a6;}
nav.tm_navbar li li:first-child a {	background:none;}
nav.tm_navbar li::after { position: absolute; left: 0; top: 0; width: 1px; height: 100%; content: '';}
nav.tm_navbar .nav>li:first-child.active > a {	margin-left:0;	padding:6px 26px 6px 20px;}

nav.tm_navbar .nav>li.last.active > a {	margin-right:0;	padding:6px 20px 6px 26px;}
nav.tm_navbar .nav>li.sub-menu>a>i {font-family:FontAwesome; font-style:normal; font-weight:normal; margin-left:5px; line-height:.9em}

nav.tm_navbar .nav>li.active > span { color: #ffffff !important;}

nav.tm_navbar li:hover > a {color: #3b3b3b;	-webkit-transition: all 0.3s;-o-transition: all 0.3s;transition: all 0.3s;}
nav.tm_navbar li:hover > span {color: #ffffff;-webkit-transition: all 0.3s;-o-transition: all 0.3s;transition: all 0.3s;}
nav.tm_navbar .sfHover > a {-webkit-transition: all 0.3s;-o-transition: all 0.3s;transition: all 0.3s;}
nav.tm_navbar .sfHover > span {color: #ffffff;-webkit-transition: all 0.3s;-o-transition: all 0.3s;transition: all 0.3s;}
nav.tm_navbar .sfHover:first-child > a {}
nav.tm_navbar li span {text-align: center;position: absolute;width: 100%;left: 0;bottom: 6px;color: #cc0000/*#3498db*/;font-size: 14px;z-index: 0;-webkit-transition: all 0.35s;-o-transition: all 0.35s;transition: all 0.35s;}
nav.tm_navbar li.lang { float:right; background:none; border:none}
nav.tm_navbar li.lang a { padding:0px !important;text-align:right; border:none}
nav.tm_navbar li.lang a img { margin:-8px 0 -15px 0;-webkit-border-radius: 12px; -moz-border-radius: 12px; border-radius: 12px;}
/*.lang img {
    border: 1px solid #ccc;
    border-radius: 15px;
    margin-left: 5px;
    margin-right: 5px;
    width: 20px;
}*/
nav.tm_navbar li.lang a span { position: absolute; top:-9999px; display:none;}
/* subMenu1
========================================================*/
nav.tm_navbar .sub-menu > ul {position: absolute;display: none;width: 260px;top: 33px;left: 5px;list-style: none !important;zoom: 1;z-index: 11;background: #fff;padding: 15px 0;margin: 0;text-align: center;
	-webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.7);-moz-box-shadow: 0 1px 5px rgba(0,0,0,0.7);box-shadow: 0 1px 5px rgba(0,0,0,0.7);

	-webkit-border-bottom-left-radius: 10px;
    -moz-border-bottom-left-radius: 10px;
    border-bottom-left-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-bottom-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
nav.tm_navbar li.active.sub-menu > ul {left: -5px;}

nav.tm_navbar .sub-menu > ul li {background: none;border: none;width: auto;float: none;margin: 0;padding: 0 10px;margin-bottom: 6px;display: block;text-align: center;}
nav.tm_navbar .sub-menu > ul li::after {content: none !important;display: none !important;}
nav.tm_navbar .sub-menu > ul li:last-child {border-bottom: none;margin-bottom: 0;}
nav.tm_navbar .sub-menu > ul li a {background: none !important;border-bottom: 1px solid #ebe0db; display:block;	padding: 0 0 7px 0;	margin: 0;float: none;font: 600 14px 'Open Sans';color: #686868;text-align:left; text-transform: uppercase; -webkit-transition: all 0.35s ease; -o-transition: all 0.35s ease; transition: all 0.35s ease; width:auto;}
nav.tm_navbar .sub-menu > ul li:last-child a {border-bottom: none; padding-bottom:0}
nav.tm_navbar .sub-menu li.active:first-child > a {	background: none !important;}
nav.tm_navbar .sub-menu > ul li span {display: inline-block; position: absolute; right: 10px; top: 2px; left: auto; width: auto !important; color: #3e454c; font-size: 14px;}
nav.tm_navbar .sub-menu ul > li a:hover {text-decoration: none; color: #ed0f03 !important; background: none; -webkit-transition: all 0.25s ease; -o-transition: all 0.25s ease; transition: all 0.25s ease;}
nav.tm_navbar .sub-menu ul li.sfHover > a {text-decoration: none; color: #cc0000 !important; background: none;}
nav.tm_navbar .sub-menu ul li.sfHover > span {color: #cc0000 !important;}
nav.tm_navbar .sub-menu ul li.active > a {text-decoration: none;color: #0475bc/*#cc0000 !important*/; background: none;}

/* subMenu2
========================================================*/
nav.tm_navbar .sub-menu ul ul {position: absolute;display: none;width: 100%;top: -8px;left: 100%;list-style: none !important;zoom: 1;z-index: 11;background: #3e454c;padding: 10px 0;margin: 0 0 0 10px;text-align: center;}
nav.tm_navbar .sub-menu ul ul::after {position: absolute;left: -5px;top: 13px;width: 5px;height: 9px;background: url(../img/tr.png) left 0 no-repeat;content: '';}
nav.tm_navbar .sub-menu ul ul li {position: relative;background: none;border: none;width: auto;float: none;margin: 0;padding: 0;margin-bottom: 6px;display: block;text-align: center;}
nav.tm_navbar .sub-menu ul ul li.tr {position: absolute;top: 13px;left: -5px;width: 5px;height: 9px;background: url(../img/triangle1.png) no-repeat;}
nav.tm_navbar .sub-menu ul ul li a {background: none !important;padding: 0;margin: 0;float: none;font: 600 14px 'Open Sans';color: #ffffff;text-transform: uppercase;-webkit-transition: all 0.35s ease;-o-transition: all 0.35s ease;transition: all 0.35s ease;}
nav.tm_navbar .sub-menu ul ul li a:hover {color: #cc0000 !important;-webkit-transition: all 0.35s ease;-o-transition: all 0.35s ease;transition: all 0.35s ease;}
.select-menu {display: none !important;}

/* bootstrap nav
==================*/
.nav { margin-bottom: 0; padding-left: 0; list-style: none;}
.nav > li { position: relative; display: block;}
.nav > li > a { position: relative; display: block; padding: 10px 15px;}
.nav > li > a:hover, .nav > li > a:focus { text-decoration: none;}
.nav > li.disabled > a { color: #999999;}
.nav > li.disabled > a:hover, .nav > li.disabled > a:focus { color: #999999; text-decoration: none; background-color: transparent; cursor: not-allowed;}
.nav .open > a, .nav .open > a:hover, .nav .open > a:focus { background-color: #eeeeee; border-color: #428bca;}
.nav .nav-divider { height: 1px; margin: 9px 0; overflow: hidden; background-color: #e5e5e5;}
.nav > li > a > img { max-width: none;}
.navbar { position: relative; min-height: 50px; margin-bottom: 20px; border: 1px solid transparent;}
@media (min-width: 768px) {
	.navbar { border-radius: 4px;}
	.navbar-header { float: left;}
}
.navbar-collapse { overflow-x: visible; padding-right: 15px; padding-left: 15px; border-top: 1px solid transparent; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); -webkit-overflow-scrolling: touch;}
.navbar-collapse.in { overflow-y: auto;}
@media (min-width: 768px) {
	.navbar-collapse { width: auto; border-top: 0; box-shadow: none;}
	.navbar-collapse.collapse { display: block !important; height: auto !important; padding-bottom: 0; overflow: visible !important;}
	.navbar-collapse.in { overflow-y: visible;}
	.navbar-fixed-top .navbar-collapse, .navbar-static-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse { padding-left: 0; padding-right: 0;}
}
.navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse { max-height: 340px;}
@media (max-device-width: 480px) and (orientation: landscape) {
	.navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse { max-height: 200px;}
}
.container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse { margin-right: -15px; margin-left: -15px;}
@media (min-width: 768px) {
	.container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse { margin-right: 0; margin-left: 0;}
}
.navbar-static-top { z-index: 1000; border-width: 0 0 1px;}
@media (min-width: 768px) {
	.navbar-static-top { border-radius: 0;}
}
.navbar-fixed-top, .navbar-fixed-bottom { position: fixed; right: 0; left: 0; z-index: 1030; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);}
@media (min-width: 768px) {
	.navbar-fixed-top, .navbar-fixed-bottom { border-radius: 0;}
}
.navbar-fixed-top { top: 0; border-width: 0 0 1px;}
.navbar-fixed-bottom { bottom: 0; margin-bottom: 0; border-width: 1px 0 0;}
.navbar-brand { float: left; padding: 15px 0px; font-size: 18px; line-height: 20px; height: 50px;}
.navbar-brand:hover, .navbar-brand:focus { text-decoration: none;}
.navbar-brand > a { display: block;}
.navbar-brand > img { display: block;}
@media (min-width: 768px) {
	.navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand { margin-left: -15px;}
}
.navbar-default { border-color: #e7e7e7;}
.navbar-default .navbar-brand { color: #777777;}
.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus { color: #5e5e5e; background-color: transparent;}
.navbar-default .navbar-text { color: #777777;}
.navbar-default .navbar-nav > li > a { color: #777777;}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus { color: #333333; background-color: transparent;}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus { color: #555555; background-color: #e7e7e7;}
.navbar-default .navbar-nav > .disabled > a, .navbar-default .navbar-nav > .disabled > a:hover, .navbar-default .navbar-nav > .disabled > a:focus { color: #cccccc; background-color: transparent;}
.navbar-default .navbar-toggle { border-color: #dddddd;}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus { background-color: #dddddd;}
.navbar-default .navbar-toggle .icon-bar { background-color: #888888;}
.navbar-default .navbar-collapse, .navbar-default .navbar-form { border-color: #e7e7e7;}
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus { background-color: #e7e7e7; color: #555555;}
@media (max-width: 767px) {
	#wrap_grey {padding: 0 30px;}
	#header {margin-top:50px;}
	.navbar-default .navbar-nav .open .dropdown-menu > li > a { color: #777777;}
	.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { color: #333333; background-color: transparent;}
	.navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { color: #555555; background-color: #e7e7e7;}
	.navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { color: #cccccc; background-color: transparent;}
	nav.tm_navbar { border: none; float: none; padding: 0; margin:/* 0 0 25px*/ 0;}
	nav.tm_navbar .nav { display: none;}
	.select-menu { display: inline-block !important; padding: 4px 30px 4px 4px; margin: 0px 0 0px 0; width: 100%; border: 6px solid #a6a6a6; background: #f9f9f9 url(images/select-2.png) no-repeat right; -moz-box-shadow: 3px 3px 8px #c7c7c7; box-shadow: 2px 2px 4px #c7c7c7; -webkit-box-shadow: 3px 3px 8px #c7c7c7;  cursor: pointer; height: 50px; line-height:50px; font-size: 14px; vertical-align: middle; text-transform: uppercase; position:fixed; top:0; left:0;}
	.select-menu option { border-left: 6px solid #a6a6a6; border-right: 6px solid #a6a6a6; padding:2px 6px; letter-spacing:1px; text-transform:none;}
	.select-menu option:last-child { border-bottom: 6px solid #a6a6a6;}

	.half {width:100%; margin-bottom:10px; margin-right:0}
	.third {width:100%; margin-bottom:10px;}
	.third:nth-child(2n) { margin-bottom:10px; margin-right:0; margin-left:0}
	.alignleft{float: none; margin-right: 0;}
	.alignright{float: none; margin-left: 0;}
	footer *{ float:none; text-align:center}
	footer .row, .row:last-child {  margin-bottom:0;}
	.row>.half:first-child {  margin-bottom:20px;}
	.row>.half:last-child, .row>.half>.box5:last-child {  margin-bottom:0;}
}
.navbar-default .navbar-link { color: #777777;}
.navbar-default .navbar-link:hover { color: #333333;}
.navbar-default .btn-link { color: #777777;}
.navbar-default .btn-link:hover, .navbar-default .btn-link:focus { color: #333333;}
.navbar-default .btn-link[disabled]:hover, fieldset[disabled] .navbar-default .btn-link:hover, .navbar-default .btn-link[disabled]:focus, fieldset[disabled] .navbar-default .btn-link:focus { color: #cccccc;}
@media (max-width: 540px) {
	#header h2 { font-size:14px}
	#content {padding:15px;}
}
@media (max-width: 415px) {
	#wrap_grey {width:96%; padding: 0 30px;}
	#header h2 { font-size:12px; line-height:normal}
}

/* Gallery */
.gallery {margin:0 auto; width:100%}
.thumb {margin:2px; float:left;}
.thumb img { height:123px;}
.highslide-heading {margin:2px 0; font-size:14px; font-weight:bold; text-decoration:none;}
.highslide-caption p, .highslide-caption ul  {margin:0;}

/*Admin styles*/
/*body { background-color: #FFFFFF; color: #000; font-family: Verdana, Arial, sans-serif; font-size: 12px; line-height: 18px; margin:0;}
#wrap_grey { width:770px; padding:0px; margin:0 auto; color: #6F6D6D;}
#content {margin:30px;}*/
.admin {padding:20px 0; color: #000;}
.admin #content{position:relative}
.admin a, .admin #content a , .admin .nav>li>a { color:#2581a2;}
.admin hr { border: none; border-top: #000 1px dashed; color: #FFF; background-color : #FFF; width:100%; height : 1px;}
.admin ul.nav-adm { padding-left: 0px;}
.admin ul.nav-adm li { display : inline; margin-right: 15px;}
.admin table.grid { border: #CCC 1px solid; width:100%; empty-cells: show; font-size:100%;}
.admin table.grid thead { font-weight:bold;}
.admin table.grid tbody td { border: #CCC 1px solid;}
.admin td { vertical-align:top; padding: 3px 3px 3px 3px;}
.admin table.form { border: #CCC 1px solid; empty-cells : show; font-size:100%; width:100%;}
.admin table.form tbody th { width:150px;}
.admin table.form tbody td { text-align: left;}
.admin input.fld, .admin textarea, .admin select, .admin .fldsmall, .admin .fldfilter { width:100%; background-color: #FFF; color: #000;}
.admin textarea { height:80px;}
.admin .fldsmall { width:300px; color: #000 !important;}
.admin .fldfilter { width:150px;}

.admin label { color: #333;}
.admin .btn, .admin .btnfilter
{ background-color: #2581a2; border: 1px #2581a2 solid; color: #FFF; font-weight: bold; font-family: "Trebuchet MS", Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 95%; width:150px; padding:2px 15px;}
.admin a.btn, .admin #content a.btn  {color:#FFFFFF; padding:2px 15px; text-decoration:none;}
.admin a.btn:hover {text-decoration:underline;}

.admin input.btnfilter {width:100px;}
.admin .val { color: #2581a2;}
.admin table tr.hidden td, .admin table tr.hidden td .a {color: #999;}
.admin .label {text-align:right;position:absolute;left:-220px; font-weight:bold; width:150px;}
