 #addressBookView{
        display: table;
        width: 100%;
    }

    #addressList{
        display: table-cell;
        width: 400px;
        vertical-align: top;
    }

    #addresses-grid{
        padding-top: 0;
    }

    #addresses-grid .summary{
        display: none;
    }

    #addressDetail{
        display: table-cell;
    }

    #addresses-grid .sort-link{
        background: none;
    }

    #addresses-grid .sort-link::after{
        color: #fff;
        position: absolute;
        right: 6px;
        font-family: FontAwesome;
        font-weight: normal;
        font-style: normal;
        text-decoration: inherit;
        -webkit-font-smoothing: antialiased;
    }

    #addresses-grid a.sort-link.desc::after{
        content: "\f15e";
    }

    #addresses-grid a.sort-link.asc::after{
        content: "\f15d";
    }

    .grid-view table.items tr.selected td{
        background-color: #4171d7;
        color: #fff;
    }

    .grid-view table.items tr.even {
        background: #f3f6fa;
    }

    .grid-view table.items tr.odd {
        background: #fff;
    }

    .grid-view table.items tbody tr:hover {
        background: #d4d4d4;
    }

    #settings{
        padding-top: 6px;
        text-decoration: none;
        color: #666;
    }

#addressDetail{
        padding: 10px 10px;
        padding-top: 50px;
    }

    #addressList{
        padding-right: 10px;
        border-right: 1px solid #ccc;
    }

    #addressDetail input{
        /* background: none; */
        /*
     border: none;
        box-shadow: none;
        width: auto;
        */
        margin-left: 6px;
        border-color: #fff;
        background-color: #fff;
        box-shadow: none;
        padding: 0 2px;
    }

    #addressDetail.editMode input[type="text"], #addressDetail.editMode input[type="email"]{
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
        -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
        box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
        background-color: #fff;
        border-color: #ccc;
        padding: 3px 6px;
    }

    #addressDetail.editMode input[type="text"].protected, #addressDetail.editMode input[type="email"].protected{
        border-color: transparent;
        background-color: transparent;
        box-shadow: none;
        padding: 0 2px;
    }

    #yw1_tab_1 div.row{
        padding-left: 30px;
    }

    #addressDetail h4{

        padding-top: 5px;
    }

    #saveAlias{
        display:none;
    }

    #addressDetail.editMode #saveAlias{
        display: inherit;
    }

    #addressDetail.editMode #contactHeader input[type="text"]{

        font-size: 26px;
        padding: 0px 5px;    
        margin: 2px 8px 0px -5px;
    }

    #addressDetail input{
        transition: border padding margin 0.2s linear;    
    }


    #addressDetail input:disabled {
        cursor:text;
        background-color: transparent;
        border-color: transparent;

    }

    #contactHeader input{
        font-size: 26px;
        height: 30px;
        line-height: 26px;
    }

    #contactHeader input:disabled{
        margin: 0;
        padding: 0 5px 0 0;
    }

    #contactHeader{
        padding-bottom: 5px;
    }

    #contactDetail label{
/*        padding: 0 6px 0 0;*/
        display: inline-block;
        font-weight: 14px;
        cursor: default;
        /* font-weight: bold; */
    }

    #organisationPhones {
        display:none;
    }
    #privateAddress {
        display:none;
    }
    #privatePhones{
        display:none;
    }


    #contactDetail div.row{
        padding: 2px 30px;
        display: none;
    }

    #contactDetail #yw6_tab_3 .row label:hover{
        cursor:default;
    }

    #contactDetail #yw6_tab_3 .url label:hover{
        cursor: pointer;
    }

    #addressBookView{
        border-radius: 6px;
        background: #fff;
        box-shadow: 0px 0px 8px #ccc;
    }

    #contactDetail div.tab-content{
        padding: 10px 20px;
    }

    #addresses-grid{
        border-radius: 3px;
        margin-left: 20px;
        margin-top: 10px;
    }

    #addresses-grid table{
        border: 1px solid #ddd;
    }

    #addresses-grid .pagination{
        text-align: center;
    }


    #addresses-grid table th{
        background: #f3f6fa;
    }

    #addressImage{
        display: inline-block;
        border-radius: 6px;
        margin-right: 10px;
    }

    #nameCell{
        display: inline-block;
        vertical-align: bottom;
    }

    #addressImage input{
        /* visibility: hidden; */
        width: 75px;
        height: 75px;
        opacity: 0;
    }

    #contactDetail .nav-tabs{
        margin-bottom: 0;
    }

    #contactDetail .tab-content{
        border: 1px solid #ddd;
        border-top: none;   
    }

    #contactDetail{
        position: relative;
    }

    #editButtons{
        position: absolute;
        right: 0;
    }

    .addressBookTitle{
        font-weight: normal;
        font-size: 26px;
        padding-left: 20px;
        vertical-align: bottom;
        line-height: 24px;
    }

    .addressBookTitle img{
        width: 32px;
        height: 32px;
        padding-right: 6px;
    }

    #contactDetail .tab-content{
        background-color: #f3f6fa;
    }

    #contactDetail ul.nav-tabs li.active a{
        background-color: #f3f6fa;
    }

    #yw1_tab_3 label{
        /* min-width: 140px; */
    }

    #contactDetail .nav-tabs li a{
        color: #555;
    }

    #contactDetail .nav-tabs li.active a{
        color: #333;
    }

    #contactDetail .nav-tabs li:hover a{
        color: #444;
    }

    #contactDetail .tab-content{
        min-height: 150px;
    }

    #searchField{
        margin: 0;
        margin-left: 20px;
        width: 366px;
    }

    #addressDetail div.email label i,
    #addressDetail div.url label i,
    #addressDetail div.interactive label i{
        transition: all .1s ease-in;
        -webkit-transition: all .1s ease-in;
        -moz-transition: all .1s ease-in;
        -o-transition: all .1s ease-in;
    }

    #addressDetail div.email label:hover i,
    #addressDetail div.url label:hover i,
    #addressDetail div.interactive label:hover i{
        -moz-transform: scale(1.2);
        -webkit-transform: scale(1.2);
        -o-transform: scale(1.2);
        -ms-transform: scale(1.2);
        transform: scale(1.2);
    }
    
    #addressDetail div.email label:hover i:before,
    #addressDetail div.url label:hover i:before,
    #addressDetail div.interactive label:hover i:before{
        cursor: pointer;
    }

    #bulkOperations{
        padding-left: 20px;
    }

    #createNewContact{
        padding-top: 6px;
        text-decoration: none;
        color: #666;
    }

    #createNewContact:hover{
        color: #007aff;
    }
    #addressDetail.editMode span.add-on{
        visibility: visible;
    }
    #addressDetail span.add-on{
        visibility: hidden;
    }

    #datetimepicker label:hover{

        cursor:default;
    }

#avatarBox{
        width: 75px;
        height: 75px;
        background-color: #ccc;
        border-radius: 7px;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        background-image: url('../../img/backgrounds/addressPhoto.png');
        display: inline-block;
        overflow: hidden;
        margin-right: 10px;
    }


    .avatarPreview{
        width: inherit;
        height: inherit;
        border-radius: inherit;
        position: relative;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }


    .avatarBtn{
        text-align: center;
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        -o-transition: all .3s ease;
        -ms-transition: all .3s ease;
        transition: all .3s ease;
        width: inherit;
        height: 50%;
        position: absolute;
        color: #fff;
        cursor: pointer;
    }


    .avatarBtn i{
        font-size: 26px;
        margin-top: 10px;
        vertical-align: bottom;
        line-height: 36px;
        cursor: pointer;
    }


    #uploadAvatar{
        top: 0;
    }



    .avatarPreview #uploadAvatar{
        border-top-left-radius: inherit;
        border-top-right-radius: inherit;
        top: -50%;
        background-color: rgba(200,200,200,.5);
    }

    .avatarPreview #uploadAvatar:hover{
        background-color: rgba(150,150,150,.7);
    }


    .avatarPreview:hover #uploadAvatar{
        top: 0;
        opacity: 1;
    }






    .avatarPreview #removeAvatar{
        border-bottom-left-radius: inherit;
        border-bottom-right-radius: inherit;
        bottom: -50%;
        background-color: rgba(255,120,120,.7);
    }

    .avatarPreview #removeAvatar:hover{
        background-color: rgba(235,100,100,.8);
    }


    .avatarPreview.active:hover #removeAvatar{
        bottom: 0;
        opacity: 1;
    }

    #avatarBox input{
        opacity: 0;
        left: 0;
        background: red;
        height: 100%;
        width: 100%;
        position: absolute;
        /* visibility: hidden; */
        cursor: pointer;
    }

    #addressDetail .avatarBtn{
        visibility: hidden;
        opacity: .5;
    }

    #addressDetail.editMode .avatarBtn{
        visibility: visible;
    }
#addresses-grid .plTable .filters{
    display: table-row;
}

#addresses-grid .plTable .filter-container input {
    padding-left: 20px;
}


#datetimepicker .add-on {
    height: 14px;
}

#datetimepicker {
    padding-top: 2px;
}

#addressDetail #datetimepicker .icon-th,
#contactTypeValueToggle .add-on {
    margin-top: 0px;
}

@-moz-document url-prefix() {
    #datetimepicker label,
    #organisationPhones .input-append label {
        margin-top: 5px;
    }

    #datetimepicker input,
    #organisationPhones .input-append select,
    #organisationPhones .input-append input {
        margin-top:-10px
    }
    #datetimepicker .add-on,
    #contactTypeValueToggle .add-on {
        margin-top: 1px;
    }
}

#contactTypeValueToggle .add-on {
    padding-top: 2px;
}


#contactTypeValueToggle, #contactTypeValueToggle .icon-remove {
    display:inline;
}

#contactTypeValueToggle .icon-remove:before {
    margin-top: 2px;
}

#addressBookView div#addressList i:before,
#addressBookView ul#editButtons i:before,
#addressBookView ul.nav-tabs i:before,
#contactTypeValueToggle .add-on,
#contactTypeValueToggle .add-on i:before,
#datetimepicker .add-on {
    cursor: pointer;
}

#Addresses_contact_type_drop {
    margin-left: 4px;
}

@supports (-webkit-appearance:none) {
    #datetimepicker label,
    #organisationPhones .input-append label {
        margin-top: 4px;
    }

    #datetimepicker input,
    #organisationPhones .input-append select,
    #organisationPhones .input-append input {
        margin-top: -8px;
    }
}