/*********************************************************************************
 * This file is part of Myddleware.

 * @package Myddleware
 * @copyright Copyright (C) 2013 - 2015  Stéphane Faure - CRMconsult EURL
 * @copyright Copyright (C) 2015 - 2016  Stéphane Faure - Myddleware ltd - contact@myddleware.com
 * @link http://www.myddleware.com	
 
 This file is part of Myddleware.
 
 Myddleware is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, either version 3 of the License, or
 (at your option) any later version.

 Myddleware is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with Myddleware.  If not, see <http://www.gnu.org/licenses/>.
*********************************************************************************/

#user_account .onoffswitch {
    position: relative; width: 170px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
    top: 5px; right: 5px;
}
#user_account .onoffswitch-checkbox {
    display: none;
}
#user_account .onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #999999; border-radius: 0px;
}
#user_account .onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    -moz-transition: margin 0.3s ease-in 0s; -webkit-transition: margin 0.3s ease-in 0s;
    -o-transition: margin 0.3s ease-in 0s; transition: margin 0.3s ease-in 0s;
}
#user_account .onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 26px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
    border: 2px solid transparent;
    background-clip: padding-box;
}
#user_account .onoffswitch-inner:before {
    padding-left: 10px;
    background-color: #0069B4; color: #FFFFFF;
}
#user_account .onoffswitch-inner:after {
    padding-right: 10px;
    background-color: #CCCCCC; color: #333333;
    text-align: right;
}
#user_account .onoffswitch-switch {
    display: block; width: 25px; height: 34px; margin: 0px;
    background: #444446;
    position: absolute; top: 0; bottom: 0; right: 145px;
    -moz-transition: all 0.3s ease-in 0s; -webkit-transition: all 0.3s ease-in 0s;
    -o-transition: all 0.3s ease-in 0s; transition: all 0.3s ease-in 0s; 
}
#user_account .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
#user_account .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px; 
}

#user_account{
    width: 90%;
    padding-top: 25px;
    padding-bottom: 25px;
    margin-left: 5%;
}
#user_account ul, li{
    text-decoration: none;
    list-style: none;
    padding-left: 0px;
}
#user_info{
    margin-bottom: 25px;
}
.user_info_li{
    height: 40px;
    font-size: 1.2em;
    margin-top: 10px;
}
.user_info_li > label{
    height: 100%;
    color: #0065AB;
    font-weight: bold;
    margin-right: 20px;
}
.user_info_li > input{
    height: 100%;
    width: 250px;
    color: #999219;
}
.user_info_li > input:disabled{
    background-color: white;
    border: none;
}
#user_tickets{
    width: 100%;
}
#user_tickets > .listepager{
    width: 100%;
}
#user_tickets th {
    background: #ECECEC;
    height: 20px;
    padding: 2px;
    text-align: center;
    min-width: 120px;
}
#user_tickets tr {
    border-bottom: 1px solid #ccc;  
}
#user_tickets td {
    text-align: center;
}
#user_tickets td.lft {
    text-align: center;
}
#user_tickets td.lft > a{
    color: black;
}
#user_tickets .vignette {
    width: 50px;
}
#user_account .user_account_popup_content {
    color: #C6BD20;
    font-weight: bold;
    text-align: center;
    position: absolute;
    width: 400px;
    height: 300px;
    padding: 20px;
    padding-top: 110px;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.8);
    top: 50px;
    left: 500px;
    border-radius: 20px;
    box-shadow: 1px 1px 12px #555;
    z-index: 100;
}
#user_account .user_account_popup_content img{
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 15px;
}
#user_account .user_account_popup {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.1);
    top: 0;
    left: 0;
    z-index: 99;
}
#user_account .selected{
    color: #292707;
    background-color: #C6BD20;
    border-color: #999219;
}
