/*-----------------------------------------------------------------------------------*/
/*	0.	CSS Reset & Clearfix - http://meyerweb.com/eric/tools/css/reset/
/*-----------------------------------------------------------------------------------*/

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, b, u, i, center, 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-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
:focus {
	outline: 0;
}
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix {
	display: inline-block;
} /* Hide from IE Mac \*/
.clearfix {
	display: block;
} /* End hide from IE Mac */
.none {
	display: none;
} /* End Clearfix */
/*-----------------------------------------------------------------------------------*/
/*	1.	Document Setup (body, common classes, vertical rhythm, structure etc)
/*-----------------------------------------------------------------------------------*/

* {
	padding: 0;
	margin: 0;
}
html, body {
	height:100%;
}
body {
/*  background-color: #d80012;*/
}
p {
	padding: 0px 0px 15px 0px;
}
.left {
	float:left;
	margin:0px 10px 0px 20px;
}
.right {
	float:right;
	margin:0px 20px 0px 10px;
}
#wrap {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -150px;
}
.push {
	height: 130px;
}
h1 {
	font: 60px/1 OpenSansLight;
	position:relative;
	float:left;
	top:50px;
	margin-left:50px;
	color: #d80012;
	z-index:100;
}
div.box {
	position:relative;
	z-index:2;
	float:left;
	margin:10px 10px 10px 10px;
	width:360px;
	height:190px;
	box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.3);
	-webkit-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.3);
	opacity:1;
	border:1px solid rgba(255,255,255,0.2);
	-moz-border-radius: 5px;
	border-radius: 5px;
}
a {
	color: #fff;
	font-weight:bold;
	font-size:14px;
	font-family:"Lucida Console", Monaco, monospace;
	position:relative;
	top:0px;
	left:0px;
	text-decoration:none;
}
div.name {
	height:20px;
	width:190px;
	background-color:#e40001;
	-webkit-transform:rotate(-90deg);
	-moz-transform:rotate(-90deg);
	-o-transform:rotate(-90deg);
	-ms-transform:rotate(-90deg);
	transform:rotate(-90deg);
	position:relative;
	top:85px;
	left:-85px;
	opacity:0.5;
	text-align:center;
}
div.name:hover, div.pic:hover {
	opacity:1;
}
div.name span {
	position:relative;
	top:2px;
	left:0px;
	color: #fff;
	font-weight:bold;
	font-size:14px;
	font-family:"Lucida Console", Monaco, monospace;
}
div.pic {
	height:190px;
	width:335px;
	background-color:#333;
	float:right;
	overflow:hidden;
	position:relative;
	top:-20px;
	opacity:1;
}
div.pic div img {
	width:335px;
	height:190px
}

iframe {
overflow:hidden;
}


.hidden {
	display: none;
}
/*-----------------------------------------------------------------------------------*/
/*	2.	Header
/*-----------------------------------------------------------------------------------*/

#head {
	height:150px;
	background-color:rgb(255,255,255);
	position:relative;
	z-index:0;
}
#head div.img {
	position:relative;
	height:42px;
	top:144px;
	background:url(images/1.png) repeat-x;
}
/*-----------------------------------------------------------------------------------*/
/*	3.	Menu
/*-----------------------------------------------------------------------------------*/



/*-----------------------------------------------------------------------------------*/
/*	4.	Content
/*-----------------------------------------------------------------------------------*/

#content {
	margin:60px 20px 60px 20px;
	min-height:800px;
/*	width:100%; */
	text-align:center;
	padding-bottom:100px;
}
#content div.bigimg {
	position:relative;
	z-index:100;
	margin:0px;
}
#content div.bigimg > div {
	max-width:1280px;
	max-height:800px;
  margin: 0px auto;
}
#content div.bigimg div img {
	width:100%;
	height:100%;
	-moz-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.3);
	border:5px solid rgba(255, 255, 255, 0.2);
	-moz-border-radius: 5px;
	border-radius: 5px;
}
/*-----------------------------------------------------------------------------------*/
/*	5.	FORM
/*-----------------------------------------------------------------------------------*/


/*-----------------------------------------------------------------------------------*/
/*	6.	Footer
/*-----------------------------------------------------------------------------------*/

#foot {
	position:relative;
	z-index:0;
  clear: both;
	font-family: OpenSansLight;
}
#foot p{
  color: white;
  padding: 50px 0 0 20px;
  overflow: hidden;
}
#footbg {
	min-height:150px;
	background-color:rgb(55, 55, 54);
}
#foot div.img {
	position:relative;
	height:44px;
	background:url(images/2.png) repeat-x;
}
#foot div.logo {
	position:relative;
	top:15px;
  margin: 0px 50px 0px 50px;
	float:right;
/*	opacity:0.1; */
}

@media only screen and (max-width: 768px) {
  #foot p {
    clear: both;
    padding-bottom: 20px;
  }
}  

/*-----------------------------------------------------------------------------------*/
/*	Slider
/*-----------------------------------------------------------------------------------*/


/*-----------------------------------------------------------------------------------*/
/*	FONTS - Generated by Font Squirrel (http://www.fontsquirrel.com) 
/*-----------------------------------------------------------------------------------*/

@font-face {
 font-family: 'OpenSansLight';
 src: url('fonts/OpenSans-Light-webfont.eot');
 src: url('fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/OpenSans-Light-webfont.woff') format('woff'), url('fonts/OpenSans-Light-webfont.ttf') format('truetype'), url('fonts/OpenSans-Light-webfont.svg#OpenSansLight') format('svg');
 font-weight: normal;
 font-style: normal;
}
@font-face {
 font-family: 'OpenSansRegular';
 src: url('fonts/OpenSans-Regular-webfont.eot');
 src: url('fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/OpenSans-Regular-webfont.woff') format('woff'), url('fonts/OpenSans-Regular-webfont.ttf') format('truetype'), url('fonts/OpenSans-Regular-webfont.svg#OpenSansRegular') format('svg');
 font-weight: normal;
 font-style: normal;
}
@font-face {
 font-family: 'OpenSansSemibold';
 src: url('fonts/OpenSans-Semibold-webfont.eot');
 src: url('fonts/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/OpenSans-Semibold-webfont.woff') format('woff'), url('fonts/OpenSans-Semibold-webfont.ttf') format('truetype'), url('fonts/OpenSans-Semibold-webfont.svg#OpenSansSemibold') format('svg');
 font-weight: normal;
 font-style: normal;
}
@font-face {
 font-family: 'OpenSansBold';
 src: url('fonts/OpenSans-Bold-webfont.eot');
 src: url('fonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/OpenSans-Bold-webfont.woff') format('woff'), url('fonts/OpenSans-Bold-webfont.ttf') format('truetype'), url('fonts/OpenSans-Bold-webfont.svg#OpenSansBold') format('svg');
 font-weight: normal;
 font-style: normal;
}
@font-face {
 font-family: 'OpenSansExtrabold';
 src: url('fonts/OpenSans-ExtraBold-webfont.eot');
 src: url('fonts/OpenSans-ExtraBold-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/OpenSans-ExtraBold-webfont.woff') format('woff'), url('fonts/OpenSans-ExtraBold-webfont.ttf') format('truetype'), url('fonts/OpenSans-ExtraBold-webfont.svg#OpenSansExtrabold') format('svg');
 font-weight: normal;
 font-style: normal;
}
@font-face {
 font-family: 'IcoMoon';
 src: url('fonts/IcoMoon.eot');
 src: url('fonts/IcoMoon.eot?#iefix') format('embedded-opentype'), url('fonts/IcoMoon.svg#IcoMoon') format('svg'), url('fonts/IcoMoon.woff') format('woff'), url('fonts/IcoMoon.ttf') format('truetype');
 font-weight: normal;
 font-style: normal;
}
/* Use the following CSS code if you want to use data attributes for inserting your icons */
[data-icon]:before {
	font-family: 'IcoMoon';
	content: attr(data-icon);
	speak: none;
}

.canvas1-block{
    margin-left:  auto;
    margin-right:  auto;
    position: relative;
}
.canvas{
    cursor: grab;
    /*border: 1px solid red;*/
    width: 100%; /* this is important! */
    max-width: 1280px;
    /*height: 350px;*/
    background-color: rgb(0, 0, 0);
    margin-bottom: -0.5rem!important;
}
.loading{
    position: absolute;
    z-index: 5;
    right: 0;
    top: 0;
    background-color: rgba(255, 255, 255, 0.7);
    max-width: 280px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 5px 15px;
}
.loading span{
    font-weight: bold;
}
.form-check-inline{
    margin-right: 8px;
}
input.form-control{
    padding: 6px 6px;
}
.input-group .small-input{
    width: 45px;
}
.button-two-lines{
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 3px 10px;
    line-height: 1.2;
}
.btn-first-line{
    font-size: 14px;

}
.btn-second-line{
    font-size: 11px;
}
@media (max-width: 575px) {
    .btn-group{
        flex-wrap: wrap;
    }
    .btn-group>.btn{
        flex-grow: 0;
    }
}

@media screen and (max-width: 450px){
  video {
    max-width: 450px;
    width: 100%;
    height: auto;
    margin-bottom: -2px;
  }

  h1 {
    font: 30px/1 OpenSansLight;
    top:20px;
  }

  #head {
    height:80px;
  }

  #head div.img {
    top:74px;
  }

  #content {
    padding-bottom: 0px;
  }

  #content div.bigimg > div {
	  max-width:450px;
  }
}

@media screen and (min-width: 451px) and (max-width: 1600px){
  video {
    max-width: 940px;
    max-height: 536px;
    width: 100%;
    height: auto;
    margin-bottom: -2px;
  }

  #head {
    height:70px;
  }

  #head div.img {
    top:64px;
  }

  #content {
    padding-bottom: 0px;
  }

  #content div.bigimg > div {
	  max-width:940px;
  }

  h1 {
    font: 38px/1 OpenSansLight;
    top:20px;
  }
  div.tree {
    top:50px;
  }
}

@media screen and (min-width: 1601px){
  video {
    max-width: 1280px;
    max-height: 768px;
    width: 100%;
    height: auto;
    margin-bottom: -2px;
  }
}
