.dialogError {
    color: #EA0000;
}

#contactTemplate{
    background-color: #FFFFFF;
}
#contactTemplate ul{
   padding: 0;
   list-style-type: none;
}
#contactTemplate ul,
#contactTemplate div{
    margin: 5px;
    border: 1px solid #d5d5d5;
    width: 960px;
}
#contactTemplate div#contactDataEditArea{
    height: 200px;
}
#contactTemplate ul#contactDataShowArea{
    height: 600px;
    overflow: auto;
}
#contactTemplate div#contactSelectLayoutArea{
    min-height: 160px;
    height: auto;
}
#contactDataEditArea div.dataEditSector {
    box-sizing: border-box;
    width: 310px;
    height: 190px;
    padding: 5px;
    float: left;
    overflow: auto;
}

#contactDataEditArea div.dataEditSector > span {
    display: block;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 5px;
    float: left;
}

#contactTemplate div.dataEditSector > ul > li > div,
#contactTemplate div.dataEditSector > ul{
    border: none;
    width: auto;
}

#contactTemplate div.dataEditSector > ul{
    clear: both;
    min-height: 50px;
    padding-top: 5px;
}

#contactTemplate div.dataEditSector > ul > li > div {
    background-color: #f0f0f0;
    margin: 5px 0 5px 0;
    padding: 3px;
    cursor: move;
}

#contactTemplate div.dataEditSector > ul.sourceList > li > div::before,
#contactTemplate div.dataEditSector > ul.sourceList > li > div::after {
    content: '';
    display: table;
}

#contactTemplate div.dataEditSector > ul.sourceList > li > div::after {
    clear: both;
}

.entryInfo {
    cursor: pointer;
}

#contactTemplate div.dataEditSector > ul.sourceList > li > div .entryInfo {
    display: block;
    float: left;
    font-size: 12px;
}

#contactDataShowArea > li div{
    border: none;
    width: inherit;
    min-height: 20px;
}

#contactDataShowArea > li > div > span.entryInfo {
    font-size: 18px;
}

ul.operationAreaSortable {
    background-color: #f0f0f0;
}

ul.operationAreaSortable > li > div > span.entryInfo {
    font-size: 15px;
}

ul.personSortable {
    clear: both;
    background-color: #ffffff;
}

ul.personSortable > li > div > span.entryInfo {
    font-size: 12px;
}

ul.operationAreaSortable li,
ul.personSortable li {
    min-height: 25px;
}

#contactTrashArea{
    width: 100px;
    height: 100px;
    border: 1px solid #d5d5d5;
}
.helper{
    width: 150px;
    height: 100px;
    overflow: hidden;
}
.sortable-placeholder{
    height: 50px;
}

fieldset > label,
fieldset > input {
    display: block;
}

fieldset > input,
fieldset > select {
    margin-bottom: 10px;
}

input.text {
    margin-bottom: 12px;
    width: 95%;
    padding: .4em;
}

fieldset {
    padding: 0;
    border: 0;
    /*margin-top: 25px;*/
}

.personPhoto {
    position: relative;
    width: 120px;
    height: 160px;
    border: 1px solid #d5d5d5;
    margin-bottom: 10px;
}

.removeEntryButton,
.editEntryButton,
.addEntryButton {

    background-color: transparent;
    background-image: url("/img/editor/edit_template_icons.png");
    background-repeat: no-repeat;
    border: none;
    opacity: 0.8;
    width: 24px;
    height: 25px;
    cursor: pointer;

}

.removeEntryButton:hover,
.editEntryButton:hover,
.addEntryButton:hover {
    opacity: 1;
}

.removeEntryButton {
    background-position: 0 0;
}

.editEntryButton {
    background-position: 0 -44px;
}

.addEntryButton {
    background-position: 0 -169px;
    display: block;
    float: right;
}

.editOrRemoveButton {
    display: block;
    float: right;
}

.contactLayout {
    display: block;
    width: 100px;
    margin: 5px;
    float: left;
}

.contactLayout label > span {
    display: block;
    width: 100px;
    height: 150px;
    border: 1px solid #cccccc;
    cursor: pointer;
    margin-bottom: 5px;
}

.contactLayout label > span.list,
.contactLayout label > span.tileWithPhoto,
.contactLayout label > span.tileWithOutPhoto {
    background-image: url("/img/editor/contact_layouts.png");
    background-repeat: no-repeat;
}

.contactLayout label > span.list {
    background-position: 0 0;
}

.contactLayout label > span.tileWithPhoto {
    background-position: -110px 0;
}

.contactLayout label > span.tileWithOutPhoto {
    background-position: -220px 0;
}

.contactLayout label input[type=radio] {
    display: block;
    float: left;
    margin-top: 0;
}