.accordion-body.in {
    overflow: visible;
}

.accordion-body.in:hover {
    overflow: visible;
}

.playerIsOnPitch {
    background-color: #BDEFBD;
}

.playerIsOnBench {
    background-color: #EBFFAD;
}

#pitch {
    width: 450px;
    height: 680px;
    border: 1px solid black;
    background-color: green;
    position: relative;
    margin-bottom: 10px;

    background-image: url('../img/formation_pitch_bg.png');
    background-repeat: no-repeat;
    background-position: center;
}

.playersColumn {
    margin-left: 0px;
}

.pitchColumn {
    width: 470px;
}

@media (max-width: 979px) and (min-width: 768px) {
    .playersColumn {
        margin-left: 20px;
    }
}

#playersSelection .accordion-inner {
    padding: 0;
}

.playerinfo {
    border-top: 1px solid #e5e5e5;
    padding: 0 4px;
    position: relative;
    cursor: default;
}

.playerBlocked {
    opacity: 0.5;
}

.playerinfoBar {
    height: 24px;
    font-size: 12px;
}

.playerinfoIcons {
    position: absolute;
    right: 5px;
    padding-top: 2px;
}

.playerBlockedLabel {
    color: red;
    font-weight: bold;
    opacity: 1;
}

.playerinfoStrengthRow {
    width: 100%;
}

.playerinfoStrengthRow:before, .playerinfoStrengthRow:after {
    display: table;
    line-height: 0;
    content: "";
}

.playerinfoStrengthRow:after {
    clear: both;
}

.playerinfoStrength > .bar {
    font-size: 10px;
    line-height: 14px;
}

.playerinfoStrength {
    height: 14px;
    margin: 0;
}

.playerinfoStrengthLabelFull {
    display: block;
    float: left;
    width: 80px;
    font-size: 12px;
}

.mainposition {
    color: #0044cc;
}

.secondposition {
    color: #2f96b4;
}

.position {
    position: absolute;
    width: 90px;
    height: 60px;
}

.positionLabel {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    font-weight: bold;
    cursor: default;
}

.positionPlayer {
    background-color: white;
    border: 1px solid black;
    font-size: 9px;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 60px;
    left: -1px;
    word-wrap: break-word;
    border-radius: 3px;
    cursor: default;
}


.position > .playerinfoStrength {
    position: absolute;
    top: -18px;
    width: 100%;
}

.positionPlayerRemove {
    position: absolute;
    top: -5px;
    right: 0;
}

.positionPlayerIcons {
    position: absolute;
    top: -5px;
    right: 0;
}

.position.T {
    bottom: 50px;
    left: 180px;
}

.position.LV, .position.IV.leftWing {
    bottom: 160px;
    left: 18px;
}

.position.LV.goalyRow, .position.RV.goalyRow {
    bottom: 50px;
}

.position.IV {
    bottom: 160px;
    left: 180px;
}

.position.IV.leftPos {
    left: 126px;
}

.position.IV.rightPos {
    left: 234px;
}

.position.RV, .position.IV.rightWing {
    bottom: 160px;
    left: 342px;
}

.position.DM {
    bottom: 270px;
    left: 180px;
}

.position.DM.leftPos {
    left: 126px;
}

.position.DM.rightPos {
    left: 234px;
}

.position.DM.leftOuterPos {
    left: 18px;
}

.position.DM.rightOuterPos {
    left: 342px;
}

.position.LM {
    bottom: 380px;
    left: 18px;
}

.position.ZM {
    bottom: 380px;
    left: 180px;
}

.position.ZM.leftPos {
    left: 126px;
}

.position.ZM.rightPos {
    left: 234px;
}

.position.RM {
    bottom: 380px;
    left: 342px;
}

.position.OM {
    bottom: 490px;
    left: 180px;
}

.position.OM.leftPos {
    left: 126px;
}

.position.OM.rightPos {
    left: 234px;
}

.position.OM.leftOuterPos {
    left: 18px;
}

.position.OM.rightOuterPos {
    left: 342px;
}

.position.LS {
    bottom: 600px;
    left: 18px;
}

.position.MS {
    bottom: 600px;
    left: 180px;
}

.position.MS.leftPos {
    left: 126px;
}

.position.MS.rightPos {
    left: 234px;
}

.position.RS {
    bottom: 600px;
    left: 342px;
}

.freePosition {
    background-color: white;
    border-radius: 6px;
    opacity: 0.7;
}

.playerDropHover {
    background-color: #CCCCCC;
    opacity: 1.0;
}

.playerRemoveLink {
    display: none;
}

.formationPlayerPicture {
    position: absolute;
    top: 0;
    text-align: center;
    width: 100%;
}

.formationPlayerPicture > img {
    max-width: 90px;
    max-height: 60px;
}

.positionStatePrimary.jersey {
    background-image: url('../img/shirts_sprite.png');
    background-repeat: no-repeat;
    background-position: 0px -60px;
}

.positionStateSecondary.jersey {
    background-image: url('../img/shirts_sprite.png');
    background-repeat: no-repeat;
    background-position: -90px -60px;
}

.positionStateWrong.jersey {
    background-image: url('../img/shirts_sprite.png');
    background-repeat: no-repeat;
    background-position: 0px 0px;
}

.positionStateSecondary {
    color: blue;
}

.positionStateWrong {
    color: red;
}

.playerinfo.ui-draggable-dragging {
    background-color: #ffffff;
    border: 1px solid black;
    border-radius: 6px;
    opacity: 0.95;
    max-width: 150px;
}

.playerinfo.ui-draggable-dragging .playerinfoIcons,
.playerinfo.ui-draggable-dragging .playerinfoStrengthRow {
    display: none;
}

.benchPlaceholder {
    font-style: italic;
}

.benchPlayerRemove,
.benchPlayerSubAdd,
.benchPlayerSubInfo,
.benchPlayerSubInfoConditionTie,
.benchPlayerSubInfoConditionLeading,
.benchPlayerSubInfoConditionDeficit {
    display: none;
}
 