/*forms*/
/*.fildbox {display: flex; padding: 0.5em 0.5em; background-color: #f6f6f5; margin: 0;}
.fildbox:nth-child(2n) {background-color: #e9ecf7;}
.fildtitle {width: 240px; font-weight: bold;}
.fildval{width: calc(100% - 240px);  padding-left: 12px;}
.fildval input{width: 420px; border: 1px solid #aaa;padding:2px 4px;}*/
/*POLLS*/
.poll_item_box0 {background: #f1fcff; padding: 8px 0.5em;}
.poll_item_box1 {background: #fcfcfc; padding: 8px 0.5em;}
.poll_input {width: 480px;}
.poll_inputbox {display: flex;}
.poll_titlebox {width: 420px; margin-right: 12px;}


/*EDITOR*/
.fildval select{padding:4px 4px; border: 1px solid #aaa;  margin: auto 0;}
.fildval textarea{width: 677px;}
.sendData{width: 600px; clear: both;}
.iresizer{display: none;}
.error {font-size: x-large; font-weight: bold; color: red; padding: 8px;}
#error {border: 1px solid orange; font-size: large; font-weight: bold; padding: 4px; border-radius:24px; width: 20px; height: 20px; float: left; margin-right: 12px; text-align: center;
background: rgb(241,231,103);
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2YxZTc2NyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZWI2NDUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: linear-gradient(to bottom,  rgba(241,231,103,1) 0%,rgba(254,182,69,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f1e767', endColorstr='#feb645',GradientType=0 );
}
.uspeh{font-size: x-large; color: lime; padding: 8px;}
.fildbox {display: flex; flex-flow: row wrap; width: 100%; padding: 0.5em;}
.fildbox:nth-child(2n+1), .table_edit tr:nth-child(2n), .table_add tr:nth-child(2n) {background: #f6f6f5;}
.fildbox:nth-child(2n), .table_edit tr:nth-child(2n+1), .table_add tr:nth-child(2n+1) {background: #e9ecf7;}
.htmlbox {padding: 0.5em; color: white; background: #333; font-weight: bold;} 
.fildtitle {width: 270px; padding: 8px 12px;}
.fildval {width: calc(100% - 270px); display: flex;}
.fildval input {min-width: 420px;  padding: 2px 4px; margin: auto 0;}
#success_message{color: #003300; font-size: 1.6em; margin: 8px;}
#error_message, #fail_message{color: #FF0000; font-size: 1.6em; margin: 8px;}
#sendData, .primary-button a{font-size: 120%; margin-top: 1em; background: #FEFEFE; border: 1px solid #0063AF; padding: 0.5em; color: #0063AF; text-decoration: none;}
div.primary-button {margin-top: 2em;}
#sendData:hover,  .primary-button a:hover {background: #0063AF; color: white;}


.td_spacer {height: 1em;}
.t_e_head td{font-weight: bold;}
.f_key, .td_key input {width: 48px; background: #999;}
.table_edit td select, .table_add td select {max-width: 360px;}
.table_edit input[type="checkbox"], .table_edit input[type="radio"] {
    display: block;
    float: none;
    margin: 0;
    opacity: 1;
    width: 20px;
    appearance: auto;
    z-index: 1;}
#td_eqCount input, #td_eqYear input, #td_viStat input, #td_eqRoom input, #td_p_qOrd input, #td_wrCorp input,  #td_grMax input{width: 60px;}
#td_wrName input,  #td_stMail input,  #td_stPhone input, #td_grStart input,  #td_grEnd input, #td_grPstart input, #td_grStart input, #td_grPend input, #td_grActual input{width: 120px;}
 #td_eqMark input,  #td_eqModel input{width: 160px;}
 #td_eqName input,  #td_stName input, #td_evLink input, #td_evUrl input {width: 210px;}
#td_evName input, #td_p_qTitle input, #td_evPoint input {width: 360px;}
#td_progName input, #td_pollName input, #td_p_qText input, #td_compName input, #td_nTitle input, #td_pHtitle input, #td_pTitle input, #td_manTitle input, #td_manLink input, #td_viName input, #td_viText input, #td_votText input, #td_className input, #td_pointName input {width: 480px;}
#td_p_qOwner input {width: 48px;background-color: #666;}
#t_grCourse, #t_grCourse option {max-width: 100%;}
#td_pointName input {
  direction:ltr;
}
#td_pointName input:not(:focus) {
  direction:rtl;
  text-align: left;
  text-overflow: ellipsis;
}
#td_p_qOwner {}
.receditor input[type="checkbox"],
.receditor input[type="radio"] {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    display: block;
    float: left;
    margin-right: -2rem;
    opacity: 0;
    width: 1rem;
    z-index: -1;

}

.receditor input[type="checkbox"] + label,
.receditor input[type="radio"] + label {
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 300;
    background-color: #eee;
    /*padding: 20px;*/
    /*padding-right: 1rem;*/
    position: relative;
    /*min-width: 180px;*/
    width: 100%;
    display: inline-block;
    line-height: 22px;
}

.receditor input[type="checkbox"] + label:before,
.receditor input[type="radio"] + label:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-transform: none !important;
}

.receditor input[type="checkbox"] + label:before,
.receditor input[type="radio"] + label:before {
    border-radius: 0px;
    background-color: #fff;
    content: '';
    display: inline-block;
    line-height: 30px;
    position: absolute;
    text-align: center;
    width: 30px;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;
    border: 1px solid #aaa;
}

.circle-item input[type="checkbox"] + label:before,
.circle-item input[type="radio"] + label:before {
    border-radius: 50%;
}

.receditor input[type="checkbox"]:checked + label:before,
.receditor input[type="radio"]:checked + label:before {
    content: '\f00c';
    background-color: #394959;
    color: #fff;
}

.receditor input[type="checkbox"] + label:before {
    border-radius: 0;
}

.receditor input[type="radio"] + label:before {
    border-radius: 0px;
}