.details .form dt {
    font-weight: 300;
    color: #a2a2a2;
}

.listview > ul {
    list-style: none;
    margin: 15px 50px 0 0;
    padding: 0;
    float: left;
}

.listview > ul:last-child {
    margin: 15px 0px 0 0;
}

.listview > ul li:before {
    content: '›';
    margin-right: 5px;
}

@media only screen and (max-width: 1024px) {
    .details {
        margin-bottom: 30px;
    }

    .listview > ul {
        display: none;
        margin: 15px 10px 0 0;
    }

    .listview > ul:first-child {
        display: block;
    }
}

/*------------------------------------*\
    Reference List
\*------------------------------------*/
.reference-list-filter ul.selection.inline > li {
    width: 23%;
    margin-right: 2%;
}

.reference-list-filter ul.selection.inline > li:last-child {
    width: 25%;
    margin-right: 0;
}

.reference-list-filter li:last-child:after {
    display: none;
}

.reference-list-container {
    background-color: #F2F2F2;
    margin-bottom: 6px;
    min-height: 200px;
    position: relative;
}

.reference-list-container .image {
    float: left;
    width: 31.7%;
    height: 100%;
}

.reference-list-container .image img {
    height: 100%;
    width: 100%;
    display: block;
}

.reference-list-container .description {
    float: left;
    width: 40%;
    height: 155px;
    margin-top: 27px;
    margin-left: 26px;
    border-right: 1px solid #d9d9d9;
}

.reference-list-container .details {
    float: right;
    width: 23%;
    margin-top: 28px;
    padding-bottom: 10px;
}

.reference-list-container .details .form {
    min-height: 100px;
    line-height: 14px;
    margin-bottom: 35px;
}

@media only screen and (max-width: 1024px) {

    .reference-list-filter ul.selection.inline > li,
    .reference-list-filter ul.selection.inline > li:last-child {
        width: 48%;
    }

    .reference-list-container .image {
        width: 27.7%;
    }

    .reference-list-container .description {
        width: 30%;
        height: 155px;
    }

    .reference-list-container .details {
        width: 36%;
    }

    .reference-list-container .details .form {
        margin-bottom: 25px;
    }

    .reference-list-filter button {
        width: 49%;
    }

    .reference-list-filter button:first-child {
        margin-right: 1%;
    }

}

@media only screen and (max-width: 675px) {

    .reference-list-filter ul.selection.inline > li,
    .reference-list-filter ul.selection.inline > li:last-child {
        width: 100%;
        margin-right: 0;
    }

    .reference-list-container .image,
    .reference-list-container .description,
    .reference-list-container .details {
        width: 100%;
    }

    .reference-list-container .description {
        height: auto;
        margin-left: 0;
        border-right: 0;
        margin-top: 20px;
    }

    .reference-list-container .description .highlite,
    .reference-list-container .description .listview {
        display: none;
    }

    .reference-list-container .details {
        margin-top: 0;
    }

    .reference-list-container .details a.button:last-child {
        display: none;
    }
}

@media only screen and (max-width: 355px) {
    .reference-list-filter button:first-child {
        margin-right: 0%;
    }
}

/*------------------------------------*\
    Reference List edit
\*------------------------------------*/
.detail-container {
    width: 66%;
    float: left;
    border-right: 1px solid #e5e5e5;
    padding-right: 15px;
    margin-right: 30px;
    margin-top: 35px;
}

.details {
    height: 110px;
}

.detail-container .details .form {
    float: left;
}

.detail-container .details .form:first-child {
    margin-right: 50px;
}

.detail-container .google-map {
    clear: both;
    height: 250px;
    margin-bottom: 20px
}

.detail-sidebar {
    width: 20%;
    float: right;
    background-color: #F2F2F2;
    padding: 22px 50px;
    margin-top: 35px;
    min-height: 505px;
}

.detail-sidebar .listview > ul {
    min-height: 300px;
}

.detail-sidebar .button {
    width: 100%;
    margin-bottom: 6px;
    position: relative;
}

.detail-sidebar .button .fa {
    position: absolute;
    right: 15px;
    top: 12px;
}

.video-detail-container {
    text-align: center;
    margin-bottom: 15px;
}

@media only screen and (max-width: 1100px) {
    .detail-container .details .form {
        margin: 0;
        float: none;
    }

    .detail-container {
        margin-right: 5px;
    }

    .detail-sidebar {
        padding: 20px 60px 20px 20px;
    }
}

@media only screen and (max-width: 768px) {
    .detail-container {
        width: 100%;
        border-right: none;
        padding-right: 0px;
        margin-right: 0px;
    }

    .detail-sidebar .listview > ul {
        min-height: auto;
        margin-bottom: 20px;
    }

    .detail-sidebar {
        width: 100%;
        background-color: transparent;
        padding: 20px 0 0;
        border-top: 1px solid #e5e5e5;
        margin-top: 18px;
    }

    .buttonGroup {
        width: 80%;
        margin: auto;
        clear: both;
    }
}

/*------------------------------------*\
    Documentation list
\*------------------------------------*/

.sort-container {
    height: 40px;
    margin-bottom: 25px;
}

.sort-container .sort-element {
    float: right;
    width: 25%;
}

.sort-element ul.selection.inline > li {
    margin-right: 0;
    width: 100%;
}

.list-element {
    background-color: #F2F2F2;
    padding: 12px 20px;
    margin-bottom: 5px;
}

.list-element .list-image {
    float: left;
    margin-right: 40px;
    margin-top: 6px;
}

.list-element .list-image img {
    max-height: 110px;
    max-width: 80px;
}

.list-element .list-content {
    float: left;
    margin-right: 60px;
}

.list-element .list-content .listview ul {
    margin: 0;
}

.list-element .list-content p {
    margin-bottom: 0;
}

.list-element .list-content .red {
    color: #E22F3B;
    font-weight: 600;
}

.list-element .list-actions {
    float: right;
    margin-top: 3%;
}

@media only screen and (max-width: 768px) {
    .sort-container .sort-element {
        width: 100%;
    }

    .list-element .list-image {
        margin-right: 15px
    }

    .list-element .list-content {
        width: 66%;
    }

    .list-element .list-actions {
        float: left;
    }
}

@media only screen and (max-width: 350px) {
    .list-element .list-content {
        width: auto;
    }
}

/*------------------------------------*\
    Documentation edit
\*------------------------------------*/

.reference-section .reference-section-title {
    float: left;
    width: 33%
}

.reference-section .reference-section-fields {
    float: left;
    width: 67%;
    font-size: 13px;
}

.docLayout,
.docLayout img,
.docLayout label {
    float: left;
}

.docLayout {
    margin-left: 20px;
}

.docLayout:first-child {
    margin-left: 0;
}

.docLayout label {
    clear: both;
    margin: 10px 10px 10px 0;
}

.reference-section .reference-section-fields li.top .surtitle {
    height: 38px;
    box-sizing: border-box;
    background-color: #e6e6e6;
    padding-top: 8px;
    padding-left: 7px;
    display: block;
}

.reference-section .reference-section-fields li.top {
    position: relative;
    padding: 5px 0;
}

.reference-section .reference-section-fields li.top .toggle-button {
    position: absolute;
    height: 38px;
    width: 38px;
    top: 5px;
    right: 0;
    background-color: #000;
    color: #fff;
    font-size: 30px;
    text-align: center;
    line-height: 36px;
    cursor: pointer;
}

.reference-section .reference-section-fields li.top .toggle-button:before {
    content: "+";
}

.reference-section .reference-section-fields li.top.open .toggle-button:before {
    content: "−";
}

.reference-section .reference-section-fields .reference-element {
    list-style: none;
    margin: 25px 0px 20px 44px;
}

.reference-section .reference-section-fields li.top .reference-element {
    display: none;
}

.reference-section .reference-section-fields li.top.open .reference-element {
    display: block;
}

.reference-section .reference-section-fields .form-group {
    margin-bottom: 40px;
}

.reference-section .reference-section-fields .sub-title {
    margin-bottom: 15px;
    display: block;
}

#reference-page-container .image-box-container {
    float: left;
    margin-bottom: 50px;
    width: 67%;
}

#reference-page-container .image-box {
    float: left;
    background-color: #F2F2F2;
    margin-left: 2%;
    margin-bottom: 10px;
    width: 30%;
}

#reference-page-container .image-box-label {
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

#reference-page-container .image-box-label label {
    float: right;
}

#reference-page-container .image-box img {
    width: 100%;
    height: 80%;
}

#reference-page-container .image-box:nth-child(3n + 1) {
    margin-left: 0;
}

#reference-page-container .arrow {
    float: right;
}

.cover-image-container img {
    opacity: 0.6;
    width: 30%;
    margin-left: 3%;
    border: 1px solid #FFFFFF;
}

.cover-image-container img:nth-child(3n + 1) {
    margin-left: 0%;
}

.cover-image-container img.selected {
    opacity: 1.0;
    border: 1px solid #f43a47;
}

@media only screen and (max-width: 1024px) {
    .reference-section .reference-section-fields {
        font-size: 11px;
    }
}

@media only screen and (max-width: 768px) {
    .reference-section .reference-section-title,
    .reference-section .reference-section-fields,
    #reference-page-container .image-box-container {
        width: 100%;
        max-width: 100%;
    }

    #reference-page-container .image-box {
        width: 49%;
    }

    #reference-page-container .image-box:nth-child(3n +3) {
        margin-left: 0;
    }
}

@media only screen and (max-width: 350px) {
    .docLayout {
        width: 100px;
    }

    .docLayout img {
        width: 100%;
        height: auto;
    }
}

/*------------------------------------*\
    add Reference
\*------------------------------------*/

.reference-section .reference-section-fields .form dt {
    margin-top: 10px;
}

.reference-section .reference-section-fields .form dd {
    float: right;
    width: 75%;
    margin-left: 0;
}

.reference-section .selection {
    position: relative;
}

.reference-section .selection:after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: 16px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
    border-width: 3px;
    display: inline-block;
    line-height: 18px;
    margin-left: 6px;
}

#photo-upload {
    float: left;
    width: 100%;
    min-height: 200px;
    border: dashed;
}

.photo-reportage {
    background-color: #e22f3b;
    color: #fff;
    padding: 30px;
}

.photo-reportage .logo-title {
    position: relative;
    box-sizing: border-box;
}

.photo-reportage .logo-title img {
    position: absolute;
    top: -15px;
    height: 50px;
}

.photo-reportage .logo-title h2 {
    margin-left: 80px;
}

.photo-reportage ul {
    padding: 0px 0px 0px 15px;
}

.image-order-container {
    margin-top: 25px;
}

.image-order-container input:not([type="radio"]):not([type="checkbox"]) {
    margin-top: 5px;
    margin-bottom: 15px;
    background: #FFF;
    color: #000;
}

.image-order-container textarea {
    margin-top: 5px;
    background: #FFF;
    color: #000;
}

@media only screen and (max-width: 1024px) {
    .photo-reportage .logo-title img {
        top: -10px;
        height: 40px;
    }

    .photo-reportage .logo-title h2 {
        margin-left: 60px;
    }
}

@media only screen and (max-width: 600px) {
    .reference-section .reference-section-fields .form dt,
    .reference-section .reference-section-fields .form dd {
        width: 100%;
    }

    .photo-reportage .logo-title img {
        top: -5px;
        height: 30px;
    }

    .photo-reportage .logo-title h2 {
        margin-left: 40px;
    }
}

/*------------------------------------*\
    Message Send / Setting
\*------------------------------------*/
.setting {
    max-width: 920px;
}

.addUser {
    width: 90%;
}

.send > dt {
    margin-top: 10px;
}

.searchSetting dt {
    width: 50%;
    box-sizing: border-box;
}

dl.form.send > dd,
dl.form.searchSetting > dd {
    float: right;
    margin-left: 0;
}

dl.form.send > dd {
    width: 75%;
}

ul.selection.inline > li.messageButton,
.searchSetting ul.selection.inline > li:last-child {
    float: right;
    margin: 0;
}

ul.selection.inline > li.messageButton:after,
.searchSetting dd li:after {
    display: none;
}

.send select {
    padding-left: 13px;
}

.searchSettingResult {
    margin-top: 20px;
}

.searchSettingResult table {
    width: 100%;
}

.searchSettingResult table td,
.searchSettingResult table th {
    padding: 10px 5px;
}

.searchSettingResult.building-types table td,
.searchSettingResult.building-types table th {
    padding: 0;
}

.searchSettingResult table td.child {
    padding: 0 0 0 50px;
}

.searchSettingResult table ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.searchSettingResult .selection li:after {
    display: none;
}

.searchSettingResult table li {
    margin-bottom: 5px;
}

.searchSettingResult ul.selection.inline > li:last-child {
    margin-right: 0;
}

@media only screen and (max-width: 768px) {
    .searchSettingResult ul.selection.inline > li {
        margin-right: 5px;
    }
}

@media only screen and (max-width: 600px) {
    dl.form.send > dt,
    dl.form.send > dd {
        width: 100%;
    }
}

/*------------------------------------*\
    Passwort Reset
\*------------------------------------*/
.passwordReset {
    margin-top: 10px;
}

.passwordReset .onInput {
    width: 70%;
    float: left;
}

.passwordReset .onInputText {
    top: 11px
}

.passwordReset .button {
    float: right;
}

@media only screen and (max-width: 768px) {
    .passwordReset .onInput {
        width: 45%;
    }
}

@media only screen and (max-width: 450px) {
    .passwordReset .onInput {
        width: 100%;
    }

    .passwordReset .button {
        float: left;
        width: 100%;
        margin-top: 10px;
    }
}

.delete-icon {
    position: absolute;
    top: 4px;
    right: 10px;
    z-index: 99999;
}

/*------------------------------------*\
    Multiselect
\*------------------------------------*/
.overSelect {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

#checkboxes {
    position: absolute;
    width: 300%;
    border: 1px #dadada solid;
    background-color: #e6e6e6;
    z-index: 1000;
}

@media only screen and (max-width: 768px) {
    #checkboxes {
        left: -51%;
        width: 150%;
    }
}

@media only screen and (max-width: 767px) {
    #checkboxes {
        left: 0;
        width: auto;
        position: relative;
        z-index: auto;
    }
}

.multiselect-container {
    float: left;
    min-width: 30%;
    padding-top: 5px;
    padding-bottom: 5px;
}

@media only screen and (max-width: 768px) {
    .multiselect-container {
        min-width: 45%;
    }
}

#checkboxes label {
    display: block;
    padding-left: 15px;
}

#checkboxes label:hover {
    background-color: #e22f3b;
}

.content-wrapper {
    padding-bottom: 120px;
}

/*------------------------------------*\
    Image Orders
\*------------------------------------*/
.order-container {
    background-color: #F2F2F2;
    margin-bottom: 20px;
    padding: 15px;
}

.order-title {
    float: left;
    min-width: 27%;
}

.order-address {
    float: left;
    min-width: 12.5%;
}

.order-container p {
    margin-bottom: 0;
}

.order-container .highlite {
    margin-bottom: 14px;
}

.order-contact {
    float: left;
    margin-left: 3%;
    min-width: 19%;
}

.order-remarks {
    float: left;
    margin-left: 3%;
    max-width: 18%;
}

.order-actions {
    float: right;
}

.order-actions .button {
    display: block;
    width: 160px;
}

#reference-text-template-container,
#documentation-text-template-container {
    margin-top: 15px;
}