/* admin layout (modified version of main layout) + styles for some actions of admin controller + ads */
.adminLayoutWrapper .rightColumn h2 { margin-bottom: 32px; margin-bottom: 2rem; }
/* rcherzForm appearance within admin layout: */
.adminLayoutWrapper form.rcherzForm input,
.adminLayoutWrapper form.rcherzForm select { margin: 0; padding: 0; border: none; }
.adminLayoutWrapper .section-name { clear: both; border-bottom: 1px solid #eee; margin-bottom: 10px; }
.adminLayoutWrapper .section-name img.left { display: none; } /* fix of injected section-right.jpg TODO: views should be edited */

.adminLayoutWrapper form.rcherzForm div.blue { clear:both; width : 200px; float:left; }
.adminLayoutWrapper form.rcherzForm ul.token-input-list { border:0 !important; width: 580px !important; clear:none !important; background: url('/images/input-name-bg.jpg') no-repeat !important; background-color:none; margin: 0 0 10px 0; height:30px !important; }
.adminLayoutWrapper form.rcherzForm ul.token-input-list li input,
.adminLayoutWrapper form.rcherzForm ul.token-input-list input,
.adminLayoutWrapper form.rcherzForm .ul.token-input-list li.token-input-token { width: 570px !important; background: url('/images/input-name-bg.jpg') no-repeat !important; padding: 5px !important; border:0; height: 20px !important; margin: 0 !important; }
.adminLayoutWrapper form.rcherzForm .token-input-selected-token{ color: #1A5A66 !important; font-weight: bold; }
.adminLayoutWrapper form.rcherzForm .token-input-dropdown { width : 579px !important; -moz-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; margin-top:-1px; }
.adminLayoutWrapper form.rcherzForm .errorSummary ul { margin:0 30px 0 0; list-style-type: none; }
.adminLayoutWrapper form.rcherzForm .errorSummary p { color:red; margin:5px 0; }
.adminLayoutWrapper form.rcherzForm .errorMessage {color:#ff0000; padding:5px; }
.adminLayoutWrapper form.rcherzForm .errorMessage.name { width:657px; float:left; padding-left:110px; }
.adminLayoutWrapper form.rcherzForm #inputError #close { margin:10px auto; }
.adminLayoutWrapper form.rcherzForm input.error[type="text"], .rcherzForm input.error[type="password"] { background: url("/images/create-input-bg-error.png") no-repeat scroll center center transparent !important; }
.adminLayoutWrapper form.rcherzForm input.error[type="text"], .rcherzForm input.error[type="password"] { background: url("/images/create-input-bg-error.png") no-repeat scroll center center transparent !important; }
.adminLayoutWrapper form.rcherzForm label,
.adminLayoutWrapper form.rcherzForm label.small { min-width: 100px; padding-right: 10px; height: 27px; display: block; float: left; line-height: 30px; font-size: 13px; clear: both; color: #333; }
.adminLayoutWrapper form.rcherzForm label.small.date { width:200px; }
.adminLayoutWrapper form.rcherzForm input { float: left; padding: 8px 5px; font-size: 12px; color: #666; display: block; margin: 0 0 5px 0 }
.adminLayoutWrapper form.rcherzForm textarea,
.adminLayoutWrapper form.rcherzForm textarea.big { padding: 5px; height: 70px; width: 570px; background: url('/images/edit-textarea.jpg') no-repeat; border: none; float: left; margin: 0 0 10px 0; color: #666666; font-family: Arial; font-size: 12px; }
.adminLayoutWrapper form.rcherzForm input{ border: 0 none; height: 30px; padding: 0 5px 0 5px; }
.adminLayoutWrapper form.rcherzForm input.association,
.adminLayoutWrapper form.rcherzForm input.mini,
.adminLayoutWrapper form.rcherzForm select.mini { height:15px; padding: 8px 5px; }
.adminLayoutWrapper form.rcherzForm select{ border: 0 none; height: 29px; }
.adminLayoutWrapper form.rcherzForm .selsess { width: 120px; height: 20px; border: 0 none; }
.adminLayoutWrapper form.rcherzForm select.association { padding:5px;height:29px;border:0;width:220px !important; }
.adminLayoutWrapper form.rcherzForm select.mini { padding:5px;height:30px;border:0;width:130px !important; }
.adminLayoutWrapper form.rcherzForm p.division { font-size: 12px; font-weight: bold; color: #333; height: 40px; line-height: 40px; }
.adminLayoutWrapper form.rcherzForm a.division { margin: 4px 0 3px 0; float: left; clear: none; }
.adminLayoutWrapper form.rcherzForm table { clear: both; border-collapse: collapse; }
.adminLayoutWrapper form.rcherzForm table tr td { margin: 0; padding: 5px 5px; width: 106px; vertical-align: middle; }
.adminLayoutWrapper form.rcherzForm table thead tr td { font-weight: bold; text-transform: uppercase; font-size: 11px; color: #1B5B66; }
.adminLayoutWrapper form.rcherzForm table tbody { background: #f3f3f3; border-top: 2px solid #ddd; }
.adminLayoutWrapper form.rcherzForm table td { border: 1px solid #ddd; }
.adminLayoutWrapper form.rcherzForm input.submit { width: 102px; height: 37px; background: url('/images/save.jpg') no-repeat; margin: 20px 0 0; cursor: pointer; }
.adminLayoutWrapper form.rcherzForm hr { clear: both; margin: 20px 0 0 0; background: #ddd }
.adminLayoutWrapper form.rcherzForm { background: none; }
.adminLayoutWrapper form.rcherzForm div.map { float: left; display: block; width: 330px; height: 224px; background: url('/images/map-bg.jpg') no-repeat; margin: 0 0 19px 0 }
.adminLayoutWrapper form.rcherzForm label.small { width: 190px }
.adminLayoutWrapper form.rcherzForm label.error { color: #ff0000 }
.adminLayoutWrapper form.rcherzForm textarea.big { background: url('/images/textarea-bg-big.jpg') no-repeat; width: 570px; height: 120px; padding: 5px; }
.adminLayoutWrapper form.rcherzForm a { clear: both; margin: -8px 0 5px 115px; text-decoration: none; color: #329DAC;}
.adminLayoutWrapper form.rcherzForm a:hover { text-decoration: underline; }
.adminLayoutWrapper form.rcherzForm div.name { width: 690px; margin-bottom: 5px;}
.adminLayoutWrapper form.rcherzForm input.name { background: url('/images/input-name-bg.jpg') no-repeat; width: 570px; }
.adminLayoutWrapper form.rcherzForm input.association,
.adminLayoutWrapper form.rcherzForm .association,
.adminLayoutWrapper form.rcherzForm input.logo,
.adminLayoutWrapper form.rcherzForm input.grade,
.adminLayoutWrapper form.rcherzForm input.deta { width: 210px; background: url('/images/input-edit-bg.jpg') no-repeat; margin: 0 0 10px 0 }
.adminLayoutWrapper form.rcherzForm input.grade { margin: 0 0 5px; }
.adminLayoutWrapper form.rcherzForm input.logo { background: url('/images/input-logo.jpg') no-repeat !important; height: 21px; }
.adminLayoutWrapper form.rcherzForm input.error { background: url('/images/input-red.jpg') no-repeat !important; }
.adminLayoutWrapper form.rcherzForm input.date,
.adminLayoutWrapper form.rcherzForm input.mini { width: 120px; background: url('/images/input-date-bg.jpg') no-repeat }
.adminLayoutWrapper form.rcherzForm input.mini, form select.mini { background: url('/images/input-mini-bg.jpg') no-repeat }
.adminLayoutWrapper form.rcherzForm input.down { background: url('/images/input-down.jpg') no-repeat }
.adminLayoutWrapper form.rcherzForm input,
.adminLayoutWrapper form.rcherzForm select { border:0; }
.adminLayoutWrapper form.rcherzForm .fileinput { position: relative; }
.adminLayoutWrapper form.rcherzForm input.file { position: absolute; text-align: right; -moz-opacity:0 ; filter:alpha(opacity: 0); opacity: 0; z-index: 2; right: 0; }
.adminLayoutWrapper form.rcherzForm .fakefile { float: left; }
.adminLayoutWrapper form.rcherzForm .fakefile input { background: url('/images/fake-file-input.png') no-repeat; width: 180px; height: 19px; padding: 5px; }
.adminLayoutWrapper form.rcherzForm input[type="submit"]{ border: 1px solid #ccc; }
.adminLayoutWrapper form.rcherzForm .cke_editor a {margin:  0 !important; }

/* index views with basic admin. table: */
.adminLayoutWrapper table.items th.button-column { min-width: 67px }
.adminLayoutWrapper div.pager { text-align: center; padding-top: 2px }

/* admin/list* a.k.a. listItems: */
.adminLayoutWrapper .add-item { margin: 0 0 50px 0; font-weight: bold; color: #04B431; float: left; }
.adminLayoutWrapper .add-item a { color: #04B431; }
.adminLayoutWrapper .approve-all { float: right; }

/* admin/approveFromMail */
#adminApproveFromMail .row { clear: both; }
#adminApproveFromMail .row div { padding: 5px; margin-bottom: 5px; }
#adminApproveFromMail .row .left { width: 200px; float: left; border: 1px solid #f0f0f0; background: #fefefe; font-weight: bold; }
#adminApproveFromMail .row .normal { float: left; width: 400px; border-bottom: 1px solid #f0f0f0; border-right: 1px solid #f0f0f0; border-top: 1px solid #f0f0f0; }

/* admin/customMail */
#adminCustomMail input.association, input.mini, input.name { padding: 8px; width: 210px; background: url('/themes/classic/img/input-edit-bg.jpg') no-repeat; margin: 0 0 10px 0; border: 0; }
#adminCustomMail input.mini { background: url('/themes/classic/img/input-mini-bg.jpg') no-repeat; width: 120px; }
#adminCustomMail input.name { background: url('/themes/classic/img/input-name-bg.jpg') no-repeat; width: 570px; }
#adminCustomMail select.association { padding: 5px; height: 30px; border: 0; width: 220px !important; }
#adminCustomMail select.mini { padding: 5px; height: 30px; border: 0; width: 130px !important; }
#adminCustomMail label { float: left; margin: 10px 0 0 0; font-size: 13px; font-weight: bold; color: #333; width: 100px; }
#adminCustomMail div.section-name { border-bottom: 1px solid #ddd; margin: 0 0 10px; clear: both; padding: 20px 0 0 0; width: auto; }
#adminCustomMail div.section-name p { background: url('/themes/classic/img/section-left.jpg') #359FAD no-repeat; clear: both; padding: 1px 4px; color: #fff; float: left; font-size: 11px; font-weight: bold; }
#adminCustomMail div.section-name p.closed-section { background: url('/themes/classic/img/closed-left.jpg') #FFDD33 no-repeat; display: block; color: #000; }
#adminCustomMail div.section-name a { float: right; margin: 0; clear: none; }
#adminCustomMail form div { height: auto; width: 330px; }
#adminCustomMail form div.name { height: auto; width: 700px; }
#adminCustomMail form .fileinput { position: relative; }
#adminCustomMail form input.file { position: absolute; text-align: right; -moz-opacity: 0; filter: alpha(opacity:0); opacity: 0; z-index: 2; right: 0; }
#adminCustomMail form .fakefile { position: absolute; top: 0; right: 0; z-index: 1; width: 225px; }
#adminCustomMail form .fakefile input { position: absolute; background: url('/themes/classic/img/fake-file-input.png') no-repeat; width: 175px; height: 19px; padding: 5px; }
#adminCustomMail select.mini { padding: 5px; height: 30px; border: 0; width: 130px !important; }
#adminCustomMail form select.mini { background: url('/themes/classic/img/input-mini-bg.jpg') no-repeat }
#adminCustomMail .gender { margin-top: 0; }
#adminCustomMail .gender label, .gender input { display: inline !important; }
#adminCustomMail .gender { margin: 10px 0 5px; }
#adminCustomMail .gender input, .gender label { float: none !important; font-weight: normal !important; margin: 0 !important; padding: 0 !important; display: inline; width: auto !important; }
#adminCustomMail .gender label.required { font-weight: bold !important; width: 75px; margin: 10px 30px 0 20px !important; }
#adminCustomMail .checkbox-association { margin: 10px !important; }
#adminCustomMail .link { cursor: pointer; }
#adminCustomMail #add-results-top { display: inline-block; }
#adminCustomMail #add-results-top input, #add-results-top label { display: block; float: left; white-space: nowrap; width: 150px; clear: none; }
#adminCustomMail div.name li ul { display: none; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; list-style: none; position: absolute; top: 0; right: 0; z-index: 10; /*background: url('/themes/classic/img/name-hover-bg.png') no-repeat center bottom;*/ }
#adminCustomMail div.name li ul li.li-arrow { width: 25px; height: 34px; background: none; margin: 1px 0 0 0; padding: 0 }
#adminCustomMail div.name li ul li { background: #000000; float: left; height: 31px; width: 140px; clear: both; line-height: 30px; padding: 0 10px 0 0; text-align: right; border-bottom: 1px solid #333; }
#adminCustomMail div.name li ul li a { text-decoration: none; color: #aaa; font-weight: bold; font-size: 12px; }
#adminCustomMail div.name li ul li a:hover { color: #fff; }

/* admin/editTemplateEx */
#adminEditTemplateEx input.association, input.mini, input.name { padding: 8px; width: 210px; background: url('/themes/classic/img/input-edit-bg.jpg') no-repeat; margin: 0 0 10px 0; border: 0; }
#adminEditTemplateEx input.mini { background: url('/themes/classic/img/input-mini-bg.jpg') no-repeat; width: 120px; }
#adminEditTemplateEx input.name { background: url('/themes/classic/img/input-name-bg.jpg') no-repeat; width: 570px; }
#adminEditTemplateEx select.association { padding: 5px; height: 30px; border: 0; width: 220px !important; }
#adminEditTemplateEx select.mini { padding: 5px; height: 30px; border: 0; width: 130px !important; }
#adminEditTemplateEx label { float: left; margin: 10px 0 0 0; font-size: 13px; font-weight: bold; color: #333; width: 100px; }
#adminEditTemplateEx div.section-name { border-bottom: 1px solid #ddd; margin: 0 0 10px; clear: both; padding: 20px 0 0 0; width: auto; }
#adminEditTemplateEx div.section-name p { background: url('/themes/classic/img/section-left.jpg') #359FAD no-repeat; clear: both; padding: 1px 4px; color: #fff; float: left; font-size: 11px; font-weight: bold; }
#adminEditTemplateEx div.section-name p.closed-section { background: url('/themes/classic/img/closed-left.jpg') #FFDD33 no-repeat; display: block; color: #000; }
#adminEditTemplateEx div.section-name a { float: right; margin: 0; clear: none; }
#adminEditTemplateEx form div { height: auto; width: 330px; }
#adminEditTemplateEx form div.name { height: auto; width: 700px; }
#adminEditTemplateEx form .fileinput { position: relative; }
#adminEditTemplateEx form input.file { position: absolute; text-align: right; -moz-opacity: 0; filter: alpha(opacity:0); opacity: 0; z-index: 2; right: 0; }
#adminEditTemplateEx form .fakefile { position: absolute; top: 0; right: 0; z-index: 1; width: 225px; }
#adminEditTemplateEx form .fakefile input { position: absolute; background: url('/themes/classic/img/fake-file-input.png') no-repeat; width: 175px; height: 19px; padding: 5px; }
#adminEditTemplateEx select.mini { padding: 5px; height: 30px; border: 0; width: 130px !important; }
#adminEditTemplateEx form select.mini { background: url('/themes/classic/img/input-mini-bg.jpg') no-repeat }
#adminEditTemplateEx .gender { margin-top: 0; }
#adminEditTemplateEx .gender label, .gender input { display: inline !important; }
#adminEditTemplateEx .gender { margin: 10px 0 5px; }
#adminEditTemplateEx .gender input, .gender label { float: none !important; font-weight: normal !important; margin: 0 !important; padding: 0 !important; display: inline; width: auto !important; }
#adminEditTemplateEx .gender label.required { font-weight: bold !important; width: 75px; margin: 10px 30px 0 20px !important; }
#adminEditTemplateEx .checkbox-association { margin: 10px !important; }
#adminEditTemplateEx .link { cursor: pointer; }
#adminEditTemplateEx #add-results-top { display: inline-block; }
#adminEditTemplateEx #add-results-top input, #add-results-top label { display: block; float: left; white-space: nowrap; width: 150px; clear: none; }
#adminEditTemplateEx div.name li ul { display: none; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; list-style: none; position: absolute; top: 0; right: 0; z-index: 10; /*background: url('/themes/classic/img/name-hover-bg.png') no-repeat center bottom;*/ }
#adminEditTemplateEx div.name li ul li.li-arrow { width: 25px; height: 34px; background: none; margin: 1px 0 0 0; padding: 0 }
#adminEditTemplateEx div.name li ul li { background: #000000; float: left; height: 31px; width: 140px; clear: both; line-height: 30px; padding: 0 10px 0 0; text-align: right; border-bottom: 1px solid #333; }
#adminEditTemplateEx div.name li ul li a { text-decoration: none; color: #aaa; font-weight: bold; font-size: 12px; }
#adminEditTemplateEx div.name li ul li a:hover { color: #fff; }

/* admin/listTemplates */
#adminListTemplates .tabHeader { margin-left: 5px; margin-righe: 5px; }

/* admin/editAgeCategory */
#adminEditAgeCategory .errorMessage{ margin-left: 20px; color: red; }

/* ads/list */
#adsList #adSearchBtn { margin-left: 100px; width: 340px; }
#adsList #priceToLabel { float:left; width: 38px; min-width: 0; padding:0 9px; clear:none; }

#adminMergeUsers .infoBar { border: 2px solid #2D8646; padding: 5px; margin: 0 0 20px 0; background: #C6E7CC; }


#testWebsockets #socketsTable { border-collapse: collapse; }
#testWebsockets #socketsTable  td {border: 1px solid #ccc; padding: 5px;}
#testWebsockets #socketsTable  td.name { background: #fafafa; }
#testWebsockets #console {width: 100%; height: 200px; overflow-y: scroll; box-shadow: 20px 20px 75px rgba(0, 0, 0, 0.4); margin-bottom: 50px;}

#modelChangesLogShowAll td {border: 1px solid #ccc; padding: 5px;}
#modelChangesLogShowAll thead td {background: #fafafa; }

/* management of NRS */
.row.flash.success {background: #e1faec;color: #0f6635; border:1px solid #0f6635; border-radius: 5px; padding: 10px; }
.row.flash,
#nrs-competition-form .row {margin-bottom: 5px;}
#nrs-competition-form label {width: 150px;}
#nrs-competition-form select {border: 1px solid #ccc;border-radius: 2px;}

/* piece of Yii's form.css: */
div.form .errorSummary{
    border: 2px solid #C00;
    padding: 7px 7px 12px 7px;
    margin: 0 0 20px 0;
    background: #FEE;
    font-size: 0.9em;
}
div.form .errorMessage{
    color: red;
    font-size: 0.9em;
}
div.form .errorSummary p{
    margin: 0;
    padding: 5px;
}
div.form .errorSummary ul{
    margin: 0;
    padding: 0 0 0 20px;
}
