/*=======================================
=            Frontend Styles            =
========================================*/

.projects, .project__search, .project__droppable, .project__buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}

@media all and (-ms-high-contrast:none)
{
    .projects:after {
        content: none !important;
    }
}

.projects:after {
    content: '';
    -webkit-box-flex: 0;
    -ms-flex: 0 0 31.33333%;
    flex: 0 0 31.33333%;
}

.instruction {
    position: relative;
}

.instruction h3 {
    position: absolute;
    left: 0;
    top: 140px;
    right: 0;
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

.upper {
    text-transform: none;
	font-size: 17px;
}

.info {
    margin-bottom: 30px;
}

.info.hide {
    display: none;
}

.ajax-loader, .mail-loader {
    display: none;
}

.project__container {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 31.33333%;
    flex: 0 0 31.33333%;
    max-width: 31.33333%;
    position: relative;
    width: 100%;
    min-height: 330px;
   /* padding: 10px;*/
    border: 2px solid #b5b5b5;
    cursor: move;
    margin-bottom: 30px;
}

.project__image {
    min-width: 200px;
}
.project__image img {
	width: 100%;
	height: auto;
}
.project__title {
    padding: 5px 0 0 0;
    margin-bottom: 50px;
}

.project__title p{
    font-size: 1rem;
    font-style: italic;
	  padding: 0px 0px 0px 10px;
}

.project__title h4 {
       padding: 0px 0px 0px 10px;
	margin: 0;
}

.project__links {
      position: absolute;
    bottom: 8px;
    left: 10px;
    padding: 0 5px 0px 5px;
    display: inline-block;
    background-color: #004070;
}
.project__links a {
color: #FFF;
text-decoration: none;
}
.project__links a:hover {
color: #CCC;
text-decoration: none;
}
.project__cat {
        position: absolute;
    bottom: 10px;
    right: 10px;
    display: inline-block;
    text-align: right;
    float: right;
    max-width: 64%;
    font-size: 13px;
	line-height: 14px;
}

.project__cat p {
    font-style: italic;
}

.project__refname {
    position: absolute;
    top: -25px;
}

.project__droppable {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    padding: 30px 0;
    border: 2px solid #b5b5b5;
    min-height: 330px;
    overflow-x: scroll;
    background: #b6c7d7;
    transition: background 0.3s;
    -webkit-transition: background 0.3s;
}

.project__droppable:after {
    content: '';
    flex: 0 0 31.33333%;
}

.project__droppable.empty {
    overflow-x: hidden;
}

.project__droppable .project__container {
    margin: 0 10px;
}

.details__header {
    max-width: 1080px;
    width: 100%;
    margin: 0 0 20px 0;
    display: flex;
}

.details__logo
{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
}

.details__logo img {
    max-width: 100%;
}

.details__category {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    text-align: right;
}

.ui-draggable-disabled {
    opacity: 0.6;
    cursor: auto;
}

.ui-droppable-hover
{
    background: #ddd;
}

.icon-ok {
    display: none;
}

.icon-remove {
    display: none;
    cursor: pointer;
}

.project__droppable .icon-remove {
    display: block;
}

.project__droppable .icon-add {
    display: none !important;
}

.icon, .project-remove {
    position: absolute;
    right: 20px;
    top: 20px;
	z-index: 9;
}

.icon-medium {
    font-size: 3em;
}

.icon-ok {
    color: darkgreen;
}

.icon-remove {
    color: #7b0000;
}

.icon-add {
    color: #004070;
}

.icon-add:hover {
    cursor: pointer;
}

/*searching*/
.search__item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 31.33333%;
    flex: 0 0 31.33333%;
    max-width: 31.33333%;
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.search__label {
    min-height: 90px;
    position: relative;
}

.search__label p {
    position: absolute;
    //bottom: 5px;
}

.search__select, .search__input{
    padding: 10px 10px !important;
    min-height:  39px;
}

.search__select {
    width: 100%;
}

.search__title {
    margin-top: 90px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.search__input {
    flex: 0 0 70%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 70%;
}

.search__button {
       background-color: #ddd;
    cursor: pointer;
    width: 30%;
    margin: 0;
    padding: 0;
    border: 1px solid #ddd;
    color: #666;
    line-height: 1;
    height: 39px;
    font-weight: 700;
}

/*buttons*/
.project__buttons {
    margin: 30px 0 0 0;
}

.project__buttons a{
   -webkit-box-flex: 0;
    -ms-flex: 0 0 31.33333%;
    flex: 0 0 31.33333%;
    max-width: 31.33333%;
    position: relative;
    width: 100%;
    text-align: center;
    background-color: #004070;
    color: #FFF;
    text-decoration: none;
    padding: 10px 0 10px 0px;
}

/*pagination */
.pagination {
    padding: 0 !important;
}

.pagination ul {
    float: right;
    padding: 0 0 23px 0 !important;
}

.light-theme a, .light-theme span {
    margin: 0 0 0 7px !important;
}

/*form to send pdf*/
.project__form {
    display: none;
}

.project__form input, .project__form textarea {
    padding: 7px 10px !important;
    border: 2px solid #b5b5b5 !important;
    margin: 10px 10px 10px 0 !important;
    width: 100%;
    max-width: 400px;
    font-size: 1.2em;
}

label.error {
    color: red;
}

.project__form input.error
{
    border: 2px solid red;
}

.project__form input#pdf-send-mail {
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    cursor: pointer;
    text-transform: uppercase;
}

.project__form input#pdf-send-mail:hover {
    background: #b5b5b5;
    color: #fff;
}

.certificates {
    padding: 30px 0;
}

.certificates__item {
    margin: 5px 0;
}

.certificates input {
    margin: 0 10px 0 0;
}

.downloads {
    margin-top: 30px;
}
/* CUSTOM 2020 */

.projects .icon-remove, .projects .icon-ok, .project__droppable .icon-ok, .project__droppable .icon-add  {
	display: none !important;
}
@media (max-width: 1024px) {
    .projects .project__container
    {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 48%;
        min-height: auto;
    }

    .project_droppable {
        min-height: 250px;
    }

    .project__image{
        min-width: auto;
    }

    .project__droppable .project__container {
        min-height: auto;
        min-width: 200px;
    }

    .projects:after, .project__droppable:after {
        content: '';
        flex: 0 100%;
    }

    .project__search, .project__buttons {
        flex-direction: column;
    }

    .search__item, .project__buttons a{
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .downloads, .ajax-loader, .mail-loader {
        margin-top: 20px;
    }


}

@media (max-width: 600px) {
    .projects .project__container
    {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        min-height: auto;
    }

    .simple-pagination li {
        margin-bottom: 5px;
    }
}

@media (max-width: 360px) {
    .search__label {
        min-height: 115px;
    }

}

/* QICK FIX */

.referenz_title {
	
	font-size: 30px;
    margin-bottom: 10px;
}

.referenz_land {
	font-size: 25px;
}
.fix_dk_second {
	
}
.image_configurator, .attachment-referenz {
	    width: 24%;
    float: left;
    margin-right: 1%;
	margin-top: 20px;
}

.project__details strong, .project__details b {
	display: block;
    float: left;
    width: 190px;
}
.project__details {
	    max-width: 820px;
}
.project__details  span {
	display: block;
    font-size: 10px;
    margin: 10px 0 10px 0px;
	    width: 100%;
    clear: both;
}