.clear {clear: both;}

.error {
    background: url(../images/theme/warn.png) 12px center no-repeat rgb(255, 231, 225);
    padding: 10px 10px 10px 40px;
    border: 1px solid rgb(248, 211, 203);
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    color: rgb(198, 85, 62);
    margin-bottom: 10px;
}
.errors {
    background-color: rgb(255, 231, 225);
    width: 988px;
    border: 1px solid rgb(248, 211, 203);
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    color: rgb(198, 85, 62);
    margin: 0 auto 10px;
}
.error-message {
    background: url(../images/theme/warn.png) 12px center no-repeat rgb(255, 231, 225);
    padding: 5px 10px 5px 32px;
}
.messages {
    background-color: #DFEBFF;
    padding: 0px 0px 0px 5px;
    border: 1px solid #B5C4DF;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    color: #627EAF;
    margin-bottom: 20px;
}
.message {
    background: url(../images/theme/info_icon.png) 4px center no-repeat #DFEBFF;
    padding: 5px 10px 5px 32px;
}

.shaped {
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    background: rgb(244, 244, 244);
    border: 1px solid rgb(231, 231, 231);
    padding: 10px 0 0 10px;
    margin-bottom: 10px;
    overflow-y: auto;
}
.obutton {
    background: #0790d1;
    height:26px;
    border: 1px solid #0790d1;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    color: white;
    box-shadow: inset 0 0 1px white;
    -moz-box-shadow: inset 0 0 1px white;
    -webkit-box-shadow: inset 0 0 1px white;
    padding: 3px 12px 12px;
}


.centered {
    text-align: center;
}
.oinput {
    width: 205px;
    margin-right: 1px;
    display: inline-block;
    background: url(../images/theme/search-input.png) 0 0 no-repeat;
    padding: 0 5px;
    height: 27px;
}
.oinputr {
    display: block;
    height: 27px;
    padding-right: 6px;
    margin-right: -5px;
    background: url(../images/theme/search_input_r.png) 100% 0 no-repeat;
}
.oinput .otext {
    background: transparent;
    margin-top: 5px;
    height: 18px;
    width: 100%;
    border: none;
    font: inherit;
    font-size: 15px;
    font-weight: bold;
    padding: 0 6px 0 5px;
    margin-left:-5px;

    background: white\0/; /*ie8 hack*/
    margin-left: -4px\0/;
    padding-left: 4px\0/;
    padding-right: 5px\0/;
}
.rinput {
    float: right;
}
.rinput.none {
    float: none !important;
}
.dinput {
    width: 347px;
    padding: 0 10px 0 10px;
    line-height: 27px;
}
.dinput label {
    padding: 0 15px 0 3px !important;
    line-height: 28px !important;
    width: auto !important;
}

.oinput3 {
    background: url(../images/theme/search-input3.png) 0 0 no-repeat;
    height: 87px;
}
.oinput3 .oinputr {
    background: url(../images/theme/search_input_r3.png) 100% 0 no-repeat;
    height: 87px;
}
.oinput3 .otext {
    height: 78px;
}
.oinput5 {
    background: url(../images/theme/search-input5.png) 0 0 no-repeat;
    height: 187px;
}
.oinput5 .oinputr {
    background: url(../images/theme/search_input_r5.png) 100% 0 no-repeat;
    height: 192px;
}
.oinput5 .otext {
    height: 178px;
}
.winput {
    display: block;
    float: none;
    width: auto;
    clear: both;
    margin-top: 5px;
}
.otree {
    overflow-y: scroll;
    height: 171px;
    padding: 5px;
    position: relative;
    left: 2px;
    top: 3px;
}
.clearfloat{clear: both; display: block;}
.otree a {
    text-decoration: none;
    color: black;
}
.otree .subtree, .otree .item {
    margin-bottom: 7px;
}
.otree .plus {
    padding-left: 15px;
}
.otree .folder {
    padding-left: 20px;
    background: url(../images/theme/folder.png) 0 center no-repeat;
}
.otree .closed .plus {
    background: url(../images/theme/tree-plus.png) 0 center no-repeat;
}
.otree .closed .folder {
    background: url(../images/theme/folder.png) 0 center no-repeat;
}
.otree .open .plus {
    background: url(../images/theme/tree-minus.png) 0 center no-repeat;
}
.otree .deadend .plus {
    visibility: hidden;
}
.otree .open .folder {
    background: url(../images/theme/folder-open.png) 0 center no-repeat;
}
.otree .subtree {
    margin: 7px 22px 0;
}
.otree .selected {
    font-weight: bold;
}
.otree .deadend .folder {
    background: url(../images/theme/folder.png) 0 center no-repeat;
}
.otree .framed {
    background-color: rgb(207, 234, 255) !important;
    background-position: 4px center !important;
    border: 1px solid rgb(173, 210, 239);
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    padding: 1px 4px 1px 24px;
    position: relative;
    left: -5px;
}

/*.ajax_form, .ajax_form * {box-sizing: initial;}*/
.ajax_form { position: relative; margin: 0 auto; max-width: 300px; background: #fff; z-index: 100; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; -webkit-box-shadow: 0 0 20px rgba(0,0,0,0.5); -moz-box-shadow: 0 0 20px rgba(0,0,0,0.5); box-shadow: 0 0 20px rgba(0,0,0,0.5); padding: 15px 30px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.ajax_form a.close { display: block; width: 35px; height: 35px; position: absolute; top: 15px; right: 30px; background: url(../images/theme/close2.png) no-repeat 0 0; cursor: pointer; }
.ajax_form .handle { font-size: 25px; line-height: 34px; font-family: sans-serif; text-transform: uppercase; margin: 0 0 12px; /*cursor: move;*/ padding-right: 55px; }
.notice_block, .confirm_block { margin: 10px 0 0 10px; min-width: 300px; }
.notice_message, .notice_buttons, .confirm_message, .confirm_buttons { margin: 0 10px 10px 0; }
.notice_buttons, .confirm_buttons { text-align: center; }
.confirm_buttons input, .notice_buttons input { margin: 0 5px 0 0; padding: 1px 6px; }
.notice_message { background: url(../images/theme/warning.png) no-repeat; padding: 0 0 0 60px; min-height: 50px; }
.confirm_message { background: url(../images/theme/question.png) no-repeat; padding: 0 0 0 60px; min-height: 50px; }
#al_area_div { width: 32px; height: 32px; background: url(../images/theme/ajax-loader.gif) no-repeat; margin: 0 10px 10px 0; }

.ajax_form p { padding: 0 10px 10px 0; overflow: hidden; overflow-y: auto; margin:0; }
.ajax_form label { display: inline-block; padding-top: 4px; /*width: 120px;*/ line-height: 13px; margin-bottom: 6px; }

.ajax_form .auth_block .soc { margin: 0 0 20px; }
.ajax_form .auth_block .soc img { float: left; margin: 0 7px 0 0; }
.ajax_form .auth_block form .bottom { padding: 12px 0; }
.ajax_form .auth_block form .bottom .btn { float: left; }
.ajax_form .auth_block form .bottom .links { float: right; text-align: right; }
.ajax_form .auth_block form .bottom .links a { text-decoration: none; border-bottom: dotted 1px #019ed9; }
.ajax_form .auth_block form .bottom .links a:hover { border: none; }
.ajax_form .auth_block input[type="text"], .ajax_form .auth_block input[type="password"] { color: #8c8c8c; font-size: 16px; }
.ajax_form .auth_block p { padding-bottom: 12px; }

.input_file_block {/*display: inline-block; width: 240px;*/ display: block; position: relative; overflow: hidden; padding-bottom:1px; vertical-align: middle;}
.input_file_block .input_file_element {position: absolute; left: -300px; top: -200px;}
.input_file_block .obutton {float: left;}
.input_file_block span {float: left; /*width:110px;*/ margin: auto 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; height: 26px; line-height: 26px; font-size: 13px;}

.ajax_form .links a {color: #007fc6;}

/* progress bar */
#progress_bar {display:none;}
#progress {width: 515px; border: 1px solid black;}
#progressbar {width: 1px; background-color: black; border: 1px solid white;}
/* progress bar */

/* video creation form */
#video_form .categories_block, #video_form .line {overflow:hidden; margin:0 10px 10px 0;}
#video_form .line .rinput {width:100%; display: block;}
#video_form label {display: block; padding-left:0; font-size: 14px;}
#video_form #my_tree, #video_form textarea, #video_form #keywords_block  {overflow: auto;}
#video_form .tags .rinput {width: 71%; float: left;}
#video_form .tags label {display: block; vertical-align: middle; padding:0;}
#video_form .tags label a {display: inline-block; vertical-align: middle;}
#video_form .tags .obutton {float:right; width:28%;}
#video_form #keywords_block {background-color:#FFFFFF; border:1px solid #C7C7C7; height:50px;}
#video_form #keywords_block div {text-transform: lowercase; float: left; min-width: 1px; font-size: 15px; font-weight: bold;}
#video_form #keywords_block a {cursor: pointer; background-color:#DD481B; color: #FFFFFF; font-weight: bold; text-transform: uppercase; text-decoration: none; font-size: 14px; display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center;}
/* video creation form */


/* news creation form */
#news_form .categories_block,
#news_form .line,
#photo_form .line,
#soundtrack_form .line {overflow:hidden; margin:0 10px 10px 0;}
#news_form .line .rinput,
#photo_form .line .rinput,
#soundtrack_form .line .rinput {width:100%; display: block;}
#news_form label,
#photo_form label,
#soundtrack_form label {display: block; padding-left:0; font-size: 16px;}
#news_form #my_tree, #news_form textarea, #news_form #keywords_block  {overflow: auto;}
#news_form .tags .rinput {width: 71%; float: left;}
#news_form .tags label {display: block; vertical-align: middle; padding:0;}
#news_form .tags label a {display: inline-block; vertical-align: middle;}
#news_form .tags .obutton {float:right; width:28%;}
#news_form #keywords_block {background-color:#FFFFFF; border:1px solid #C7C7C7; height:50px;}
#news_form #keywords_block div {text-transform: lowercase; float: left; min-width: 1px; font-size: 15px; font-weight: bold;}
#news_form #keywords_block a {cursor: pointer; background-color:#DD481B; color: #FFFFFF; font-weight: bold; text-transform: uppercase; text-decoration: none; font-size: 14px; display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center;}
/* news creation form */