/* Layout
----------------------------------------------------------------------- */
body {
    background-image: url(img/bg-main.gif);
    background-color: #B3B7CA;
}

body > .container {
    background: white;
    width: 970px;
    padding-left: 15px;
    padding-right: 15px;
    box-shadow: 0 0 15px #888;
}

body > .site-header {
    background: url(img/bg-top.jpg)
}

body > .main-content {
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer {
    border-top: dashed 1px #ccc;
    padding-top: 20px;
}

.site-header > .row > .logo 
{
    width: 100px;
    height: 151px;
    padding: 10px 10px 10px 15px;
}

.site-header > .row > div {
    float: left;
    margin-left: 20px;
}

.site-header > .row > .logo img {
    width: 78px;
}

.site-header > .row > .content 
{
    position: relative;
    width: 820px;
}

.site-header > .row > .content .navbar
{
    position: absolute;
    left: 0px;
    top: 112px;
}

.navbar .divider-vertical { height: 42px; }

.navbar {
    background-image: url(img/header-background.png);
    background-repeat: repeat;
}

.navbar-inner 
{
    background: none;
    filter: none;
    box-shadow: none;
    border-radius: 0;
}

.navbar-inner > .container {
    width: 780px;
}

.navbar .divider-vertical {
    background-color: #aaa;
    border-right-color: #ccc;
}


.navbar .nav > li > a 
{
    text-transform: uppercase;
    color: #1D457F;
    text-shadow: none;
    padding-top: 12px;
}

.navbar .nav > li.active > a 
{
    background: #aaa;
    background: rgba(0, 0, 0, 0.2);
    
    padding-top: 5px;
    border-top: solid 7px #BE1E2D;
    text-shadow: none;
}

/* Internet Explorer Hacks
------------------------------------------------------------------------*/
.lt-ie10 .hide-from.lt-ie10 { display: none; }

/* Validation Errors
------------------------------------------------------------------------*/
.input-validation-error {
    color: #b94a48;
    border-color: #b94a48; 
}

.input-validation-error:focus 
{
    border-color: #b94a48; 
    -webkit-box-shadow: 0 0 6px #d59392;
    -moz-box-shadow: 0 0 6px #d59392;
    box-shadow: 0 0 6px #d59392;
}

.field-validation-error {
    color: #b94a48;
}

body { overflow-y: scroll; }

.form-horizontal-wide label { width: 170px !important; }
.form-horizontal-wide .controls { margin-left: 190px; }

.create-federation-form { width: 440px; }
.create-federation-form label { width: 200px !important; }
.create-federation-form .controls { margin-left: 210px; }

.search-form .statuses { padding-top: 5px; }

.pages-label { float: left; margin-top: 8px; margin-right: 10px; }

.checkboxwrapper { overflow: hidden; }
.checkboxwrapper input { float: left; margin-right: 6px; }
.checkboxwrapper label { float: left; }

.user-info { overflow: hidden; margin-bottom: 30px; }

.user-alerts { margin-bottom: 0; }

.user-edit-info { font-size: 12px;font-weight: normal; margin-left: 20px; }

.user-about-data .short-label label { width: 240px !important; }
.user-about-data .controls { margin-left: 250px; }
.user-about-data .wide-row { width: 460px; margin-bottom: 18px; }
.user-about-data .wide-row label {  width: 460px !important; }
.user-about-data .wide-row textarea { width: 460px; height: 60px; }
.user-about-data .statuses { width: 430px; }
.user-about-data .form-actions { padding-left: 20px; } 

.user-personal-data-statuses { overflow: hidden; }
.user-personal-data-statuses .statuses-header label { font-weight: bold; }
.user-personal-data-statuses .checkboxwrapper { width: 270px; float: left; }

.user-personal-data-comment label { font-weight: bold; }
.user-personal-data-comment textarea { width: 100%; height: 50px; }
.user-personal-data-comment-height10 { width: 100%; height: 10em; padding-bottom: 2em}
.user-personal-data-comment-height10 textarea { width: 100%; height: 10em;}
.user-personal-data-comment-height20 textarea { width: 100%; height: 20em; }

.user-personal-data {}
.user-personal-data h3.common { margin-bottom: 20px; }
.user-personal-data h3.address { margin-bottom: 20px; }
.user-personal-data .agree-checkbox { float: left; }
.user-personal-data .agree-checkbox-box { overflow: hidden; margin-left: 30px; } 
.user-personal-data .agree-checkbox-box label { margin-left: 10px; float: left; }
.user-personal-data .agree-checkbox-box span.field-validation-error { float: left; }
.user-personal-data .user-personal-data-submit { overflow: hidden; }
.user-personal-data .span12 { margin-left: 0; }
.user-personal-data .span5 { margin-left: 0; }
.user-personal-data .region-manager-info { width: 312px; margin-left: 28px; height: 42px; }

.moderation .user-personal-data .span5 { width: 408px !important; padding-left: 30px; }

.user-info table tr.row-header { height: 30px; vertical-align: bottom; }

#rejection-window { display: none; }
#addCommentId { display: none;}
#blockUserForm { display: none;}

#rejection-window textarea { width: 520px; height: 130px; }
#addCommentId textarea { width: 520px; height: 130px; }
#blockUserForm textarea { width: 520px; height: 130px; }

#multi-rejection-window { display: none; }
#multi-rejection-window textarea { width: 520px; height: 130px; }
#multi-rejection-window .checkboxwrapper { display: none; }

#error-window { display: none; }
#error-window .modal-header { text-align: center; }

.organization-form-column { width: 430px; }

.approve-form form { margin-bottom: 0px; }

.wide-validation-error { display: block; }

select.span1-and-half { width: 92px; }

.moderation-comment { margin: 8px 0; display: none; }

.moderation-state { }
.moderation-state { width: 10px; height: 10px; background-color: #777; display: inline-block;margin-right: 6px; }
.moderation-state.accepted { background-color: #468847; }
.moderation-state.rejected { background-color: #B94A48; }

.moderation-state .accordion-inner { border: 1px solid #E5E5E5; }

.personal-data-block { width: 340px; }
.personal-data-block .personal-data-block-inner { padding-left: 50px; }

/*
.moderation-history-item { overflow: hidden; }
.moderation-history-item .accordion-toggle { float: right; }
#moderation-history h3 { text-align: right; }
*/

.unapproved-filters form { margin-bottom: 0px; }
.unapproved-filters a { position: relative; top: -3px; }
/*
.unapproved-filters button { margin-bottom: 9px; }
*/
.unapproved-filters select { margin-right: 10px; }

.multi-rejection-keep-comment { float: left; margin-right: 6px !important; }

.user-photo { max-height: 208px;max-width: 208px; }

.photo-big-size 
{
    max-height: 450px;
    max-width: 600px;
    position: absolute;
    margin-top: -260px;
    margin-left: 230px;
    background: white;
    display: none;
}

.help-block.file-upload-info {
    background-image: url(img/glyphicons_196_circle_exclamation_mark.png);
    background-repeat: no-repeat;
    padding-left: 40px;
    margin-bottom: 10px;
}

th.regional-representative-unset { width: 30px; }
.regional-representative-unset-form { margin: 0; height: 28px; }

.name-block .controls { margin-bottom: 6px; }
.statuses-label { width: 60px;float: left; }
.statuses-wide.controls { margin-left: 90px; }

/* Common */
a.underline { text-decoration: underline; }
.hidden { display: none; }
.required { font-family: tahoma; font-size: 1.1em; color: red; }

.alert-none, .alert-none .alert-heading { color: #777; }
.alert-none { background-color: #eee; border-color: #ddd; }

h3.padded { padding-bottom: 10px; }
h3.top-padded { padding-top: 20px; }

.alert .label {
    text-shadow: none;
}

.alert-standard {
    border-color: #ccc;
    background-color: white;
    color: #444;
}

.alert-standard .alert-heading {
    color: #444;
}

.no-margins {
    margin: 0;
}

.download-item {
    background-color: rgb(236, 237, 244);
    background-image: url(img/file_pdf.png);
    background-repeat: no-repeat;
    padding: 18px 8px 24px 64px;
    width: 210px;
    margin-bottom: 10px;
    background-position: 9px 11px;
}

.download-item a {
    font-size: 14px;
    text-decoration: underline;
}
.btn-not-active {
    display:inline-block;
    font-size:13px;
    line-height:18px;
    color:white;
    text-align:center;
    background-color:#FAFAFA;
    background-image:linear-gradient(white,white25%,#E6E6E6);
    background-repeat:no-repeat;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#e6e6e6',GradientType=0);
    border:1px solid #888;
    border-bottom-color:#BBB;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    -webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    -moz-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    cursor:default;
    padding:4px 10px;
}

.btn-not-active:first-child {
    margin-left:0;
}


.tournament-announce
{
    padding: 20px; 
    background: rgba(0,0,255, 0.05);  
    border: 1px solid #DDF;
    margin-bottom: 2px;
}


.tournament-announce:first-child
{
    -webkit-border-top-right-radius: 10px;
    -webkit-border-top-left-radius: 10px;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-topleft: 10px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.tournament-announce:last-child
{
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.dl-horizontal:after {
    clear: both;
}
.dl-horizontal:before, .dl-horizontal:after {
    content: "";
    display: table;
    line-height: 0;
}
.dl-horizontal:before, .dl-horizontal:after {
    content: "";
    display: table;
    line-height: 0;
}
.dl-horizontal {
}
dl {
    margin-bottom: 20px;
}

.dl-horizontal dd {
    margin-left: 240px;
}
dd {
    margin-left: 10px;
}
dt, dd {
    line-height: 20px;
}

.dl-horizontal dt {
    clear: left;
    float: left;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 220px;
}
dt {
    font-weight: bold;
}

.stretch
{
  overflow: hidden;
  min-height: 30px;
    padding-left: 10px;
    padding-right: 10px;
} 
.stretch input 
{
    width: 100%;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.report-table td {
}

div.textbox {
    height: 25px;
    padding-top: 5px;
    margin-right: 0px;
}

.controls-row {
  *zoom: 1;
}

.controls-row:before,
.controls-row:after {
  display: table;
  line-height: 0;
  content: "";
}

.controls-row:after {
  clear: both;
} 

.controls-row [class*="span"],
.row-fluid .controls-row [class*="span"] {
  float: left;
} 

.controls-row .checkbox[class*="span"],
.controls-row .radio[class*="span"] {
  padding-top: 5px;
} 

.controls-row [class*="span"] + [class*="span"] {
  margin-left: 20px;
} 

.moderation .report-row {

}

.input-append .add-on-between {
    border-radius: 0 0 0 0;
    margin-left: -1px;
    margin-right: -1px;
}


button.close {
    background: none repeat scroll 0 0 transparent;
    border: 0 none;
    cursor: pointer;
    padding: 0;
}

.modal .close {
    line-height: inherit;
    position: inherit;
    right: inherit;
    top: inherit;
}

.editor-label label {
    font-weight: bold
}

.display-field {
    margin: 1em;
}

.pad2px {
    padding: 1px 2px;    
}