body
{
    background-color: #6BBA70;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#app
{
    /*font-family: Myriad Pro;*/
}

#hat
{

}

#hat #title
{
    font-size: 26px;
    font-weight: bold;
}

#hat #subtitle
{
    font-size: 14px;
    margin-left: 140px;
    margin-top: 5px;
}

#worksheet
{
    text-align: center;
}

#worksheet img
{
    width: 1000px;
}

#mainmenu
{
    margin: 5px 0px;
    padding-left: 40px;
    padding-top: 7px;
    height: 21px;
    background: #f5f5f5 url(resources/images/leftlogo.png) no-repeat;
}

.in_l, .in_r{
    width: 30px;
}

#mainmenu span
{
    padding: 5px 10px;
    height: 100%;
    border-right: 1px;
    margin-top: 5px;
}

#mainmenu span a
{
    text-decoration: none;
    color: #696969;
}

#footer
{
    margin-top: 5px;
    padding-left: 40px;
    padding-top: 7px;
    height: 21px;
    background-color: #f5f5f5;
}



#mainmenu span:hover a
{
    color: white;
}

#mainmenu span:hover
{
    background-color: #696969;
}

.clear
{
    clear: both;
}

#back
{
    position: relative;
}

#mainCanvas
{
    width: 1000px;
    height: 720px;
    position: relative;
    border: 1px solid black;
    margin: 0 auto;
    z-index: 100;
}

#workCanvas
{
    border: 1px solid black;
    position: relative;
}


#controls #sizes
{
    position: fixed;
    top: 75px;
    left: 0px;
    width: 18%;
    min-width: 240px;
    height: 80%;
    border: 1px solid #c5c5c5;
    border-radius: 0px 5px 5px 0px;
    background-color: #f5f5f5;
    z-index: 999;
    font-size: 14px;
    text-align: left;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}



.hide_left
{
    float: right;
    width: 10%;
    height: 100%;
    border-left: 1px solid #c5c5c5;
}

.hide_left:hover
{
    background-color: #e5e5e5;
    border: 1px solid #c5c5c5;
    border-radius: 0px 5px 5px 0px;
}

.block_left
{
    width: 85%;
    float: left;
    margin-top: 20px;
}

.block_left span
{
    margin-left: 10px;
}

.block_left input, .block_left select
{
    margin-left: 20px;
}

.block_left input.btn
{
    /* margin-left: 0px !important;   */
}

.block_left input
{
    width: 70%;
}

.block_left select
{
    width: 60%;
}

.button
{
    float: right;
    margin-top: 20px;
    margin-right: 20px;
}

#tools #resizes
{
    position: fixed;
    top: 75px;
    right: 0px;
    width: 18%;
    min-width: 240px;
    height: 80%;
    border: 1px solid #c5c5c5;
    border-radius: 5px 0px 0px 5px;
    background-color: #f5f5f5;
    z-index: 999;
    font-size: 14px;
//overflow-y: auto;
    /*direction: rtl;*/
    text-align: left;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.hide_right
{
    float: left;
    width: 10%;
    height: 100%;
    border-right: 1px solid #c5c5c5;
}

.hide_right:hover
{
    background-color: #e5e5e5;
    border: 1px solid #c5c5c5;
    border-radius: 5px 0px 0px 5px;
}

.block_right
{
    width: 85%;
    float: right;
    margin-top: 20px;
}

.block_right span
{
    margin-left: 10px;
}

#door_props
{
    display: block;
}

.property
{
    margin: 0 20px;
    width: 100%;
}

.property .prt_data
{
    padding-left: 5px;

}

.property input.prt_data
{
    width: 70px;
    margin-left: 20px;
}

/*
.scale_plus
{
    width: 90px;
    height: 85px;
    background: url(../images/plus_inactive.png);
    position: absolute;
    z-index: 999;
}
*/
/*
.scale_plus
{
    width: 10px;
    height: 10px;
    background: url(../images/plus_inactive.png);
    position: relative;
    z-index: 999;
}
*/
.scale_plus:hover
{
    background: url(../images/plus_active.png);
}

.scale_minus
{
    width: 90px;
    height: 85px;
    background: url(../images/minus_inactive.png);
    position: absolute;
    z-index: 999;
}

.scale_minus:hover
{
    background: url(../images/minus_active.png);
}



.prt_title
{
    width: 60px;
    float: left;
    line-height: 25px;
}

.prt_data
{
    float: left;
}

.ok_button
{
    background: url(../images/ok.png);
    width: 100px;
    height: 105px;
}

.ok_button:hover
{
    background: url(../images/ok_active.png);
}

.part
{
    position:relative;
    float: left;
}
.part canvas{
    position:absolute;
    top:0px;
    left:0px;
}
.divide_button
{
    padding: 5px 10px;
    margin: 5px;
    cursor: pointer;
    float: left;
    width: 50px;
}

.ok
{
    border: 1px solid #696969;
    background-color: #DCDCDC;
}

.divide_button.ok:hover
{
    background-color: #696969;
    color: #fff;
}

.no
{
    border: 1px solid #696969;
    background-color: #DCDCDC;
}

.divide_button.no:hover
{
    background-color: #696969;
    color: #fff;
}

.marge
{
    border: 1px solid #696969;
    background-color: #DCDCDC;
    width: 100px;
    text-align: center;
}

.divide_button.marge:hover
{
    background-color: #696969;
    color: #fff;
}

.active_door_hint
{
    color: #696969;
    width: 0px;
    margin-left: -15px;
    font-size: 14px;
}

.active_door_hint.active{
    color: #000000;
}

.bottom_side_bar
{
    width: 200px;
    height: 55px;
    margin: 5px auto;
    background-color: #f5f5f5;
    z-index: 801;
    position: relative;
    opacity: 0.5;
    margin-left: -40px;
    display: none;
    border-radius: 10px;
}

.bottom_side_bar:hover
{
    opacity: 1;
}

.bottom_side_bar_close_button
{
    float: right;
}

.crop_modal_window
{
    position: absolute;
    width: 70%;
    top: 15px;
    left: 15%;
    z-index: 1000;
    border: 1px solid #666;
    background: #AAAAAA;
    border-radius: 15px;
    text-align: center;
}

p
{
    font-size: 22;
    margin-top: 10px;
    color: #39373C;
}

.crop_modal_window img
{
    
}

.crop_modal_window_overlay
{
    position: fixed;
    left:  0;
    top:  0;
    background: #000;
    opacity: .5;
    filter: alpha(opacity=50);
    z-index: 999;
    width: 100%;
    height: 100%;
}

.close_button
{
    float:right;
    margin-top: 5px;
    margin-right: 5px;
    cursor:pointer;
    color: #fff;
    border: 1px solid #AEAEAE;
    border-radius: 15px;
    background: #605F61;
    font-size: 22px;
    display: inline-block;
    line-height: 0px;
    height: 12px;
    width: 23px;
    padding-top: 11px;
    font-family: Tahoma;
    text-align: center;
}
.close_button:hover
{
    color: red;
}

.crop_img_conteiner
{
    padding: 10px 30px;

}

.ui-wrapper{
    margin: 0 auto !important;
}

.ok_crop
{
    border-radius: 10px;
    float: right;
}

.crop_folder
{
    width: 120px;
    height: 100px;
    background: url(../images/folder-icon-50.png) no-repeat center center;
    float: left;
    line-height: 100px;
    font-size: 18px;
    cursor: pointer;
    text-decoration: underline;
}

.crop_folder:hover
{
    font-weight: bold;
    border-radius: 20px;
    border: 2px solid #646464;
    width: 116px;
    height: 96px;
    background: url(../images/folder-icon-80.png) no-repeat center center, #A4A4A4;
}

.folder_menu
{
    /* width: 600px;*/

}

.crop_picture_item
{
    padding: 5px;
    font-weight: bold;
    border-radius: 5px;
    float: left;
    cursor: pointer;
    vertical-align: middle;
    margin: 10px;
    background-color: #ffffff;
}

.crop_picture_item:hover
{
    background-color: #646464;
}

.crop_picture_item img
{
    padding: 0px !important;
}

.window_content
{
    overflow: auto;
    height: 400px;
}

/*
.close_button:before {
    content: "";
}
*/

.events_tip
{
    float: right;
}

.history_tip
{
    float: left;
}

.history_view, .events_view
{
    display: none;
    width: 200px;
    height: 300px;
    border: 1px solid #C5C5C5;
    position: absolute;
    margin-top: -305px;
    background-color: #F5F5F5;
    z-index: 999;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.5);
}

.history_view
{
    left: 10px;
}

.events_view
{
    right: 10px;
}

.popup_content
{
    height: 260px;
    position: relative;
    overflow: auto;
    margin: 10px;
    border: 1px solid #C5C5C5;
}

.popup_row
{
    border-bottom: 1px solid #C5C5C5;
}

.popup_row:hover
{
    background-color: #C5C5C5;
}

.popup_close
{
    float: right;
    margin-top: 1px;
    margin-right: 5px;
    cursor: pointer;
    color: #FFF;
    border: 1px solid #AEAEAE;
    border-radius: 7px;
    background: #605F61;
    font-size: 10px;
    display: inline-block;
    line-height: 0px;
    height: 7px;
    width: 12px;
    padding-top: 6px;
    font-family: Tahoma;
    text-align: center;
}

.popup_close:hover
{
    color: red;
}
#auth{
    position: fixed;
    z-index:999;
    top: 40px;
    right: 5px;
    background-color: #f5f5f5;
    color: #000;
    width: auto;
    height: 30px;
    padding:1px 4px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}


.bottom_side_bar_button
{
    padding: 10px;
    color: #ffffff;
    background: #b4ddb4; /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover,  #b4ddb4 0%, #83c783 17%, #52b152 33%, #008a00 67%, #005700 83%, #002400 100%); /* FF3.6+ */
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#b4ddb4), color-stop(17%,#83c783), color-stop(33%,#52b152), color-stop(67%,#008a00), color-stop(83%,#005700), color-stop(100%,#002400)); /* Chrome,Safari4+ */
    background: -webkit-radial-gradient(center, ellipse cover,  #b4ddb4 0%,#83c783 17%,#52b152 33%,#008a00 67%,#005700 83%,#002400 100%); /* Chrome10+,Safari5.1+ */
    background: -o-radial-gradient(center, ellipse cover,  #b4ddb4 0%,#83c783 17%,#52b152 33%,#008a00 67%,#005700 83%,#002400 100%); /* Opera 12+ */
    background: -ms-radial-gradient(center, ellipse cover,  #b4ddb4 0%,#83c783 17%,#52b152 33%,#008a00 67%,#005700 83%,#002400 100%); /* IE10+ */
    background: radial-gradient(ellipse at center,  #b4ddb4 0%,#83c783 17%,#52b152 33%,#008a00 67%,#005700 83%,#002400 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b4ddb4', endColorstr='#002400',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    cursor: pointer;
    width: 20%;
    text-align: center;
    float: left;
}

.bottom_side_bar_button:hover
{
    background: #f8ffe8; /* Old browsers */
    background: -moz-radial-gradient(center, ellipse cover,  #f8ffe8 0%, #e3f5ab 33%, #b7df2d 100%); /* FF3.6+ */
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#f8ffe8), color-stop(33%,#e3f5ab), color-stop(100%,#b7df2d)); /* Chrome,Safari4+ */
    background: -webkit-radial-gradient(center, ellipse cover,  #f8ffe8 0%,#e3f5ab 33%,#b7df2d 100%); /* Chrome10+,Safari5.1+ */
    background: -o-radial-gradient(center, ellipse cover,  #f8ffe8 0%,#e3f5ab 33%,#b7df2d 100%); /* Opera 12+ */
    background: -ms-radial-gradient(center, ellipse cover,  #f8ffe8 0%,#e3f5ab 33%,#b7df2d 100%); /* IE10+ */
    background: radial-gradient(ellipse at center,  #f8ffe8 0%,#e3f5ab 33%,#b7df2d 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8ffe8', endColorstr='#b7df2d',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    width: 20%;
    color: #000000;
    text-align: center;
}

#file_submenu
{
    position: absolute;
    display: none;
    z-index: 999;
    background-color: #F5F5F5;
    border: 1px solid #696969;
}

#file_menu:hover #file_submenu
{
    display: block;
}

#file_submenu .item
{
    color: #696969;
    padding: 10px;
}

#file_submenu .item:hover
{
    background-color: #696969;
    color: #ffffff;
}

#sizer_right
{
    display: none !important;
}

.reset_btn
{
    width: 30px !important;
}

.load_item:hover
{
    background-color: lightgreen;
}