/*SETTING*/

.fl {
    float: left;
}

.fr {
    float: right;
}

.clear {
    clear: both;
}

.clearfix{
    position: relative;
}

.clearfix:after{
    content: '';
    display: table;
    clear: both;
}

.uc {
    text-transform: uppercase;
}

.hidden {
    display: none !important;
}

strong,
b,
bold,
.bold {
    font-weight: bold;
}

.ta-c {
    text-align: center;
}
.ta-l{
    text-align: left;
}
.ta-r{
    text-align: right;
}

.undline,
.undline a{
    text-decoration: underline;
}

.undline:hover,
.undline a:hover{
    text-decoration: none;
}

.row {
    padding: 50px 0px;
}

.row-t{
    padding: 50px 0px 0px;
}

.row-b{
    padding: 0px 0px 50px;
}

.container {
    width: 1200px;
    margin: 0px auto;
    display: block;
    padding: 0px 20px;
    position: relative;
    z-index: 2;
}

.flx{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.fixed {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 3;
}

.scroll:hover{
    cursor: pointer;
}

/*COLORS*/

.c-green {
    color: #309605;
}

.c-red {
    color: red;
}


/*BACKGROUND-COLORS*/

.bg-green {
    background-color: #309605;
}

.bg-white {
    background-color: #fff !important;
}

.bg-yellow {
    background-color: #f9fac4;
}


/*FONTS*/

@font-face {
  font-family: 'OpenSans';
  src: url('fonts/OpenSans/OpenSans.eot');
  src: url('fonts/OpenSans/OpenSans.eot?#iefix') format('embedded-opentype'),  
      url('fonts/OpenSans/OpenSans.woff') format('woff'), 
      url('fonts/OpenSans/OpenSans.ttf')  format('truetype'), 
      url('fonts/OpenSans/OpenSans.svg#OpenSans') format('svg');
  font-weight: normal;
  font-style: normal;
}


/*COMMON*/
*{
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-repeat: no-repeat;
}

:active, :hover, :focus {
    outline: 0;
    outline-offset: 0;
}

*, body {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-focus-ring-color: rgba(0,0,0,0);
    outline: none;
}

a,button{
    outline: none;
}

img,svg{
    max-width: 100%;
    height: auto;
}

h1 {
    font-family: OpenSans;
    font-size: 40px;
    margin-bottom: 25px;
}

h2 {
    font-family: OpenSans;
    font-size: 40px;
    margin-bottom: 10px;
    position: relative;
}

h3 {
    font-family: OpenSans;
    font-size: 29px;
    margin-bottom: 10px;
    position: relative;
}

h4 {
    font-family: OpenSans;
    font-size: 17.3px;
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    color: #171616;
}

.btn {
    display: table;
    border-radius: 4px;
    padding: 12px 70px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border: 0px;
    font-family: OpenSans;
    cursor: pointer;
}

input[name=subject] {
    display: none !important;
}

input::-webkit-input-placeholder {color:white;}
input:-moz-placeholder {color:white;}

/* отключить скругление у input ios
input{
    -webkit-appearance: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-appearance: none;
}
*/

/*LIGHTCASE*/
#lightcase-overlay {
    background: #000 !important;
}

.lightcase-inlineWrap {
    padding: 0px !important;
}

#lightcase-content {
    background-color: transparent !important;
}


/*BODY*/
body {
	font-family: OpenSans;
	font-size: 14px;
	color: #343434;
	background-color: white;
	overflow-x: hidden;
	width: 100%;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}


/*SVG*/
#svg{
    position: relative;
}

#svg a{
    text-decoration: none !important;
}


svg.move *{
    cursor: grabbing !important;
}

svg path,
svg circle{
    cursor: pointer;
}

svg .area{
    fill: transparent;
    position: relative;
    cursor: pointer;
}

svg .area .figure{
    transition: .5s;
}

svg .area:hover .figure{
    _fill: green;
    _fill-opacity: .3;
}

svg .area:hover circle{
    fill-opacity: 1;
}

svg .area[data-status=free] circle{
    fill-opacity: .7;
    fill: #5d9c33;
}

svg .area[data-status=free]:hover circle{
    fill-opacity: .8;
    fill: #00532a;
}

svg .area[data-status=order] circle{
    fill-opacity: .8;
    fill: #ff9c00;
}

svg .area[data-status=order]:hover circle{
    fill: #ff5c00;
}

svg .area[data-status=sale] circle{
    fill: #e4342b;
}

svg .area[data-status=sale]:hover circle{
    fill: #d00a00;
}

svg .paper{
    cursor: grab;
}

svg text{
    fill: #fff;
    stroke-width: 0;
}

#svg .zoom {
	position: absolute;
	z-index: 1;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	border-radius: 25px;
	overflow: hidden;
    box-shadow: 0px 0px 5px 1px #5d5d5d;
}

#svg .zoom:before{
    position: absolute;
    content: '';
    width: 30px;
    height: 2px;
    background: #e9e9e9;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#svg .zoom span {
	display: block;
	background-repeat: no-repeat;
    background-color: #fff;
	width: 50px;
	height: 50px;
	cursor: pointer;
	background-size: 25px;
}

#svg .zoom span:hover {
    filter: contrast(150%);
}

#svg .zoom .in{
    background-image: url(../icon/plus.png);
    background-position: bottom 10px center;
}

#svg .zoom .out{
    background-image: url(../icon/minus.png);
    background-position: top 10px center;
}

/*PANEL*/
#panel{
    position: absolute;
    background: #51a217;
    color: #fff;
    padding: 12px 15px;
    border-radius: 0 10px 10px 10px;
    box-shadow: 0px 0px 5px 1px #5d5d5d;
    line-height: 1.4;
    z-index: 2;
    width: 250px;
    border: 1px solid #006837;
}

#panel p{
font-family: "Segoe UI";
}

#panel .title {
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 2px solid #166c36;
    margin-bottom: 10px;
}

#panel .status[data-status=free]{color: #9dff3d;}
#panel .status[data-status=order]{color: #ffa127;}
#panel .status[data-status=sale]{color: #da2626;}

/*TABLE*/
#tables{
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

table{
    width: calc(50% - 15px);
}

table th{
    font-weight: bold;
}

table td, table th{
    border: 1px solid grey;
    padding: 5px 10px;
}

table .number{
    width: 10%;
}
table .square{
    width: 10%;
}
table .price_sot{
    width: 30%;
}
table .price_full{
    width: 30%;
}
table .setting{
    width: 20%;
}

p.square, p.price, p.status{
    font-size: 16px;
}

