@import url('https://fonts.googleapis.com/css?family=Open+Sans&subset=cyrillic');

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

* {
    margin:0; padding:0;
    position:relative; outline:none;
}

html, body {
    width:100%; height:100%;
    font-family: 'Open Sans', sans-serif;
}

.container {
    width:100%;
    height:100%;
    min-height:500px;
    background:#eee;
}

.fontello {
    font-family: 'fontello';
    font-weight:normal;
}

.sidebar {
    display:inline-block;
    width:320px;
    position:absolute;
    top:0;
    left:0;
    bottom:0;
    background:#1F1F23;
    overflow:hidden;
    box-sizing:border-box;
}

.sidebar .title {
    color:#fff;
    font-size:13pt;
    line-height:30px;
    margin-bottom:10px;
}

.sidebar_content {
    transition:opacity 0.2s ease-in-out;
    height: 100%;
    padding:30px;
    box-sizing:border-box;
}

.sidebar_content .sub_content {
    height: 100%;
    transition:opacity 0.2s ease-in-out;
}

.hidden {
    display:none;
}

.inactive {
    opacity:0.5;
    pointer-events:none;
}

.invisible {
    opacity:0;
}

.canvas {
    display:inline-block;
    position:absolute;
    left:320px;
    top:0;
    right:0;
    bottom:0;
    overflow: auto;
    white-space: nowrap;
    text-align: center;
    font-size: 0;
}

.canvas:before {
    height: 100%;
    display: inline-block;
    vertical-align: middle;
    content: '';
}

.canvas canvas {
    display:inline-block;
    vertical-align:middle;
    box-shadow:0 1px 3px 0 rgba(0,0,0,0.1);
    white-space: normal;
    background:#fff;
}

.canvas .controls {
    position:fixed;
    bottom:35px;
    left:320px;
    right:0;
    text-align:center;
    line-height:35px;
    font-size:11pt;
}

.canvas .controls1 {
    position:fixed;
    bottom:35px;
    left:320px;
    right:0;
    text-align:center;
    line-height:100px;
    font-size:11pt;
}

.canvas .toprightcontrols {
    position:absolute;
    top:35px;
    right:35px;
}

.canvas .toprightcontrols1 {
    position:fixed;
    top:35px;
    right:240px;
}

.canvas .toprightcontrols .btn {
    margin-left:10px;
}



.canvas .controls .btn {
    margin:0 2px;
}

.canvas .controls1 .btn {
    margin:0 2px;
}

.btn {
    display:inline-block;
    height:35px;
    line-height:35px;
    text-align:center;
    color:#fff;
    background:#494F57;
    transition:background 0.2s ease-in-out;
    cursor:pointer;
    padding:0 15px;
    font-size:12pt;
    border-radius:4px;
    box-shadow:0 1px 3px 0 rgba(0,0,0,0.22);
    user-select:none;
    -webkit-user-select:none;
    -moz-user-select:none;
}

.btn1 {
    display:inline-block;
    height:35px;
    line-height:35px;
    text-align:center;
    color:#fff;
    background:#9D5BFF;
    transition:background 0.2s ease-in-out;
    cursor:pointer;
    padding:0 15px;
    font-size:12pt;
    border-radius:4px;
    box-shadow:0 1px 3px 0 rgba(0,0,0,0.22);
    user-select:none;
    -webkit-user-select:none;
    -moz-user-select:none;
}

.btn.hidden {
    display:none;
}

.btn:hover {
    background:#607ea7;
}

.btn.file {
    margin-bottom:10px;
}

.btn.file input {
    display:inline-block;
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    height:35px;
    box-sizing:border-box;
    border:0;
    margin:0;
    opacity:0;
    cursor:pointer;
}

.gradientcontroller .btn, .btn.smallui {
    height:25px;
    line-height:25px;
    margin: 5px 1px 0 0;
    padding:0 8px;
    font-size:10pt;
}

.gradientcontroller .btn, .btn.smallui1 {
    background:#465D7A;
    height:25px;
    line-height:25px;
    margin: 5px 1px 0 0;
    padding:0 8px;
    font-size:10pt;
}

.gradientcontroller .btn {
    margin: 16px 8px 0 0;
}

.selectlist {
    font-size:0;
    margin-top:-10px;
}

.selectlist.layers {
    margin-bottom:12px;
}

.selectlist .item {
    display:inline-block;
    height:25px;
    line-height:25px;
    margin:5px 5px 0 0;
    padding:0 8px;
    font-size:10pt;
    border-radius:4px;
    background:#373e48;
    user-select:none;
    -webkit-user-select:none;
    -moz-user-select:none;
    cursor:pointer;
    color:#fff;
    transition:bottom 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    bottom:0;
    box-shadow:0 1px 3px 0 rgba(0,0,0,0);
}

.selectlist .item:hover {
    bottom:2px;
    box-shadow:0 3px 3px 0 rgba(0,0,0,0.22);
}

.selectlist .item.selected {
    background: #b5c4da;
    color: rgba(0,0,0,0.8);
}

.upload .label {
    height:25px;
    line-height:25px;
    font-size:10pt;
    display:inline-block;
    vertical-align:top;
    white-space: nowrap;
    width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upload .btn.fontello {
    height:25px;
    line-height:25px;
    padding:0 7px;
    margin:0 10px 0 0;
}

input[type=text] {
    display:inline-block;
    height:35px;
    line-height:35px;
    vertical-align: top;
    border:0;
    padding:0 8px;
    font-size:11pt;
    background:#ddd;
    border-radius:4px;
    box-shadow:inset 0 1px 3px rgba(0,0,0,0.22);
    font-family: 'Open Sans', sans-serif;
    color:#555;
}

.input_units input[type=text] {
    box-sizing:border-box;
    width:100%;
}

input[type=text].small {
    box-sizing:border-box;
    width:78px;
}

input[type=text].fourth {
    box-sizing:border-box;
    width:50px;
}
input[type=text].fourth.first {
    margin-right:10px;
}

textarea {
    display:block;
    width: 100%;
    box-sizing: border-box;
    line-height:20px;
    border:0;
    padding:10px;
    font-size:11pt;
    background:#ddd;
    border-radius:4px;
    box-shadow:inset 0 1px 3px rgba(0,0,0,0.22);
    font-family: 'Open Sans', sans-serif;
    color:#555;
    height:60px;
    margin-bottom: 15px;
}

input[type=color] {
    display:inline-block;
    width:35px;
    height:35px;
    cursor:pointer;
    border:0;
    box-shadow:0 1px 3px 0 rgba(0,0,0,0.22);
}

.input_color {
    display:inline-block;
    width:35px;
    height:35px;
    border-radius:4px;
    overflow:hidden;
}

.space {
    height:8px;
}

input[type=color]::-webkit-color-swatch {
  border: none;
  padding: 0;
}
input[type=color]::-webkit-color-swatch-wrapper {
  border: none;
  padding: 0;
}
input[type=color]::-moz-color-swatch {
  border: none;
  padding: 0;
}
input[type=color]::-moz-color-swatch-wrapper {
  border: none;
  padding: 0;
}

.input_units {
    display:inline-block;
    height:35px;
    line-height:35px;
    color:#555;
}


.input_units span {
    display:inline-block;
    position:absolute;
    top:0;
    right:6px;
    bottom:0;
    line-height:35px;
    font-size: 11pt;
}

.iconhelp {
    display:inline-block;
    vertical-align:top;
    width:19px;
    height:19px;
    text-align:center;
    line-height:17px;
    box-sizing:border-box;
    border:1px solid #fff;
    color:#fff;
    opacity:0.7;
    border-radius:50%;
    font-size: 10pt;
    padding-left: 1px;
    margin:8px 0 8px 8px;
}

.label {
    font-size:11pt;
    color:#fff;
    opacity:0.7;
    height:35px;
    line-height:35px;
    margin-bottom:10px;
}

.label.linebreaks {
    line-height:19px;
    height:auto;
    padding:4px 0;
}

.label.small {
    height:20px;
    line-height:20px;
    margin-bottom:2px;
    font-size:9pt;
}

.label.inline {
    display:inline-block;
    margin-left: 8px;
    vertical-align: top;
}

.label.inlineleft {
    display:inline-block;
    margin-right: 8px;
    vertical-align: top;
}

.label.checkbox {
    cursor:pointer;
    color:rgba(255,255,255,0.7);
    opacity:1;
    user-select:none;
    -webkit-user-select:none;
    -moz-user-select:none;
}

.label.checkbox:before {
    display:inline-block;
    vertical-align: top;
    width:25px;
    height:25px;
    line-height:25px;
    margin:5px 10px 5px 0;
    background:#ddd;
    border-radius:4px;
    box-shadow:inset 0 1px 3px rgba(0,0,0,0.22);
    content:'';
}
.label.linebreaks.checkbox {
    border-left:35px solid transparent;
}

.label.linebreaks.checkbox:before {
    position:absolute;
    top:5px;
    left:-35px;
}
.label.checkbox:after {
    display:inline-block;
    vertical-align: top;
    width:14px;
    height:8px;
    border-left:3px solid #555;
    border-bottom:3px solid #555;
    position:absolute;
    top:16px;
    left:11px;
    content:'';
    transform:rotate(-45deg);
    transform-origin:0% 100%;
    box-sizing:border-box;
    opacity:0;
}
.label.linebreaks.checkbox:after {
    position:absolute;
    left:-24px;
    top:21px;
}

.label.checkbox.checked:after {
    opacity:1;
}

.grd_color_item {
    white-space:nowrap;
    display:inline-block;
    vertical-align:top;
}

.grd_color_item .input_color, .grd_color_item input[type=text] {
    margin:10px 10px 0 0;
    display:inline-block;
    vertical-align:top;
}

.section .section_title {
    font-size:12pt;
    color:#fff;
    opacity:0.85;
    height:35px;
    line-height:35px;
    margin-bottom:10px;
    cursor:pointer;
    transition:opacity 0.2s ease-in-out;
    user-select:none;
    -webkit-user-select:none;
    -moz-user-select:none;
}

.section:before {
    display:inline-block;
    position:absolute;
    top:0;
    left:-30px;
    bottom:0;
    width:5px;
    background:#fff;
    opacity:0;
    transition:opacity 0.2s ease-in-out;
    content:'';
}

.section:hover:before {
    opacity:0.2;
}

.section.opened:before {
    opacity:0.2;
}

.section>.section_title:hover {
    opacity:1;
}

.section>.section_title span:before {
    content:'+';
    font-size:14pt;
    font-weight:bold;
    display:inline-block;
    margin-right:10px;
    border:1px solid #fff;
    border-radius:50%;
    text-align:center;
    width:20px;
    height:20px;
    line-height:19px;
    vertical-align:top;
    margin-top:6px;
}

.section.opened>.section_title span:before {
    content:'–';
    line-height:16px;
}

.section>.section_content {
    display:none;
}

.section.opened>.section_content {
    display:block;
    padding-bottom:20px;
}

.sidebar_content .title .fontello {
    display:inline;
    cursor:pointer;
    opacity:0.7;
    transition:opacity 0.2s ease-in-out;
    font-size: 18pt;
    margin-right:15px;
    vertical-align: bottom;
}

.sidebar_content .title .fontello:hover {

    opacity:1;
}

.sidebar_content .title .right {
    margin-right:0;
    margin-left:20px;
    float:right;
}

.input_range {
    height:35px;
    line-height:35px;
    padding-right:85px;
}

.input_range div {
    position:absolute;
    top:0;
    right:0;
}

.sidebar_content .cols {

    font-size:0;
}

.sidebar_content .cols .col {
    width:46%;
    display: inline-block;
    vertical-align:top;
}

.sidebar_content .cols .col.first {

    margin-right:8%;
}

.sidebar_content .cols.firstbig .col {

    width:41%;
}
.sidebar_content .cols.firstbig .col.first {
    
    width:51%;
}

@media (max-width: 920px) {


    .sidebar {
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
        width: 100%;
        display: block;
        height: 400px;
    }

    .canvas {
        display: block;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        background: #ddd;
        padding: 50px 0;
        transform: translate3d(0,0,0);
        min-height: 320px;
    }

    .canvas .controls {
        left:0;
    }
    .canvas .controls1 {
        left:0;
    }
}


 @media (max-width: 767px) {
 .canvas .toprightcontrols {
    position:absolute;
    top:15px;
    right:7px;
}
.canvas .toprightcontrols .btn {
    margin-left:6px;
}
  .btn {
    display:inline-block;
    height:35px;
    line-height:35px;
    text-align:center;
    color:#fff;
    background:#494F57;
    transition:background 0.2s ease-in-out;
    cursor:pointer;
    padding:0 6px;
    font-size:12pt;
    border-radius:4px;
    box-shadow:0 1px 3px 0 rgba(0,0,0,0.22);
    user-select:none;
    -webkit-user-select:none;
    -moz-user-select:none;
} 
 
#mycanvas{
    margin-top:17px;
}
   
    
 }


@media screen and (max-width: 950px) {
  .nav22mgl2 {
    visibility: hidden;
    display: none;
  }
  
   .nav22-v2 {
    visibility: hidden;
    display: none;
  }
  
  
  
}


.nav22mgl2 {
    
    
        -webkit-box-shadow: 0px 0px 15px 0px rgba(29, 20, 51, 0.6);
-moz-box-shadow: 0px 0px 15px 0px rgba(29, 20, 51, 0.6);
box-shadow: 0px 0px 15px 0px rgba(29, 20, 51, 0.6);

 
    width: 315px; 
    max-height:60px;
    position: fixed;
    z-index: 10;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    background: transparent;
   
    line-height: 45px;
    padding: 0 0px 5px;
    border-radius:  13px; 
  background-color: #181521;
right: 35px;
    top:90px;

    
}

.nav99-v9 {
	
	background: transparent; /* Old Browsers */

}
.nav99-v9.navShadow{
	background: transparent; /* Old Browsers */

} 

.nav99 li a {
	color: transparent !important;
} 

/*** Navigation Styles ***/
nav99 {
	-webkit-box-shadow: 0px 0px 45px 0px rgba(34, 60, 80, 0.2);
-moz-box-shadow: 0px 0px 45px 0px rgba(34, 60, 80, 0.2);
box-shadow: 0px 0px 45px 0px rgba(34, 60, 80, 0.2);
	width: 320px; 
	position: fixed;
	z-index: 10;
	-webkit-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
	background: transparent;
   top:80px;
	line-height: 5px;
	padding: 0 10px 5px;
	border-radius: 5px;
	margin-left: 81%;
	margin-top: 10px;
}

@media screen and (max-width: 1750px) {
	  .nav99-v9 {
	visibility: hidden;
	display: none;
  }

}


.nav22-v2 {
    
    background: transparent; /* Old Browsers */

}
.nav22-v2.navShadow{
    background: transparent; /* Old Browsers */

} 

.nav22 li a {
    color: transparent !important;
} 

/*** Navigation Styles ***/
nav22 {
    -webkit-box-shadow: 0px 0px 45px 0px rgba(34, 60, 80, 0.2);
-moz-box-shadow: 0px 0px 45px 0px rgba(34, 60, 80, 0.2);
box-shadow: 0px 0px 45px 0px rgba(34, 60, 80, 0.2);
    width: 350px; 
    position: fixed;
    z-index: 10;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    background: transparent;
   top:150px;
    line-height: 5px;
    padding: 0 10px 5px;
    border-radius: 5px;
    margin-left: 61%;
    margin-top: 10px;
}


