/*  ########################  flexlayout        #########################  */

.flexlayout-header {
    height: 83px;
}

.flexlayout-content {
    position: absolute;
    top: 83px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    overflow-y: visible;
    overflow-x: hidden !important;
    background: linear-gradient(#9AB2D6, #FFF);
}

.flexlayout-content.background {
    background-image: url(../img/background_canvas_green_light.jpg);
}

.flexlayout-footer {
    position: absolute;
    bottom: 0px;
}

/*  ########################  iframe        #########################  */
.modal-bar {
    background: linear-gradient(to bottom, #a4032f 0%, #b4032f 100%);
}

.modal-button,
.modal-button:after {
    color: #B4032F;
}

/*  ########################  genaral        #########################  */

.side-menu-item.disabled .side-menu-disable {
    background-color: #FFF;
    opacity: 0.5;
}

.side-menu-item-info::after {
    content: '';
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 188px;
    height: 55px;
    background-image: url(../img/megawood-logo.png);
}


/*  ########################  header         #########################  */
/*  ########################                       ###############  */
.header {
    background: #fff;
    border-bottom: 2px solid #B1495C;
}

.header-container {
    margin: 0 auto 0 50px;
}

.header-logo {
    top: 0px;
    left: 0px;
    width: 125px;
    height: 120px;
    background-image: url(../img/megawood/megawood-logo-lasche.png);
}

.header-logo.beta {
    background-image: url(../img/megawood/megawood-logo-lasche-beta.png);
}

/*  ########################  header menu          ###############  */
.header-box {
    margin-left: 150px;
}

.header-menu.visible {
    height: 83px;
}

.header-menu-item {
    padding: 16px 25px;
    color: #79776A;
}

.header-menu-item.easydeck {
    display: none;
}

.header-menu-item-head {
    margin: 0;
    font-size: 22px;
    line-height: 28px;
}

.header-menu-item-detail {
    margin: 0;
    font-size: 12px;
    line-height: 22px;
}
/*  ########################  header menu language ###############  */

.header-menu-language.large {
    top: 25px;
    right: 10px;
}

.header-menu-language.small {
    top: 20px;
    right: 60px;
}

.header-menu-language-dropdown {
    background-color: white;
    border: #a4032f;
}

.header-menu-language-dropdown .header-menu-language-image:hover {
    border-color: #b4032f;
}

/*  ########################  header menu small    ###############  */
.header-menu-icon {
    right: 23px;
}

.header-menu-icon g {
    stroke: #B4032F;
}

.header-menu-small .header-menu-item {
    padding: 10px 61px;
    background-color: #B4032F;
}

.header-menu-small-item-close {
    color: #B4032F;
}

/*  ########################  form           #########################  */
.form-header {
    background-color: #b4032f;
}

.form-textarea,
.form-input {
    color: #b4032f;
}

.form-send {
    background-color: #b4032f;
}

.form-link.easydeck {
    display: none;
}

/*  ########################  content        #########################  */

/*  ########################  main           #########################  */
/*  ########################                  ####################  */
.imprint.easydeck {
    display: none;
}

.imprint.megawood {
    position: relative;
    margin-top: 5px;
    text-decoration: none;
    float: right;
    z-index: 100;
    color: #b4032f;
    background-color: white;
}


/*  ########################  main steps      ####################  */
.main-steps-step {
    background-color: rgba(193, 62, 89, 1);
}

.main-steps-step.active {
    background-color: rgba(180, 3, 38, 1);
}

.main-steps-step:not(:last-child):before {
    border-color: #ccc;
}

.main-steps-step:not(:first-child):after {
    border-color: rgba(193, 62, 89, 1);
}

.main-steps-step.active:after {
    border-color: rgba(180, 3, 38, 1);
}

.main-steps-step:not(:last-child):before,
.main-steps-step:not(:first-child):after {
    content: '';
    position: absolute;
    top: 0;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-left-color: transparent;
}

/*  ########################  main frontview  ####################  */
.frontview {
    margin-right: 470px;
    overflow: visible;
}

.frontview-startscreen {
    padding: 20px;
}

.frontview-intro.startscreen {
    width: 80%;
    margin: 15% 10% 0;
    margin-top: 15%;
}

.size-value,
.size-label {
    color: #B4032F;
    border-color: #B4032F;
}

.scale .view-scale {
    position: fixed;
    left: 0px;
    right: auto;
    top: 150px;
    max-width: 75px;
    padding: 10px;
    display: block;
    color: transparent;
    z-index: 9;
    border-radius: 0 10px 10px 0;
    background-color: #DBDAD5;
    white-space: nowrap;
    overflow: hidden;
    transition: all 0.5s ease-in;
}

.scale .view-scale.open {
    max-width: 295px;
    transition: all 0.5s ease-out;
}

.list-box .close,
.scale .view-scale .close {
    height: 20px;
    font-size: 26px;
    font-weight: 600;
    line-height: 15px;
    color: #787669;
}

.scale .view-scale .close {
    margin-top: -5px;
    margin-bottom: 5px;
    text-align: right;
}

.scale .view-scale .close-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-top: -10px;
    margin-right: -15px;
    line-height: 38px;
    text-align: center;
    cursor: pointer;
}

.list-box .close {
    float: right;
    width: 40px;
    height: 40px;
    margin: -5px -5px -10px 0;
    font-size: 26px;
    font-weight: 600;
    line-height: 38px;
    color: #787669;
    text-align: center;
    cursor: pointer;
}

.list-box .close:hover,
.scale .view-scale .close:hover {
    color: #477643;
}

.scale .view-scale .icon {
    display: inline-block;
    position: relative;
    background-color: white;
    width: 50px;
    height: 50px;
    margin-right: 5px;
    font-size: 0px;
    line-height: 0px;
    border-radius: 10px;
    border: none;
    vertical-align: middle;
    background-position: center;
    background-size: cover;
    cursor: pointer;
}
.scale .view-scale .icon:last-child {
    margin-right: 0px;
}

.scale .view-scale .icon.menu {
    background-image: url(../img/button_menu.png);
}

.scale .view-scale .icon.params {
    background-image: url(../img/button_params.png);
}

.scale .view-scale .icon.measuresShow {
    background-image: url(../img/button_ruler_show.png);
}

.scale .view-scale .icon.measuresHide {
    background-image: url(../img/button_ruler_hide.png);
}

.scale .view-scale .icon.goFullscreen {
    background-image: url(../img/button_goFullscreen.png);
}

.scale .view-scale .icon.exitFullscreen {
    background-image: url(../img/button_exitFullscreen.png);
}

.scale .view-scale .icon.zoomIn {
    background-image: url(../img/button_zoomIn.png);
}

.scale .view-scale .icon.zoomOut {
    background-image: url(../img/button_zoomOut.png);
}

.scale .view-scale .icon.menu:hover {
    background-image: url(../img/button_menu_hover.png);
}

.scale .view-scale .icon.params:hover {
    background-image: url(../img/button_params_hover.png);
}

.scale .view-scale .icon.measuresShow:hover {
    background-image: url(../img/button_ruler_show_hover.png);
}

.scale .view-scale .icon.measuresHide:hover {
    background-image: url(../img/button_ruler_hide_hover.png);
}

.scale .view-scale .icon.goFullscreen:hover {
    background-image: url(../img/button_goFullscreen_hover.png);
}

.scale .view-scale .icon.exitFullscreen:hover {
    background-image: url(../img/button_exitFullscreen_hover.png);
}

.scale .view-scale .icon.zoomIn:not(.disabled):hover {
    background-image: url(../img/button_zoomIn_hover.png);
}

.scale .view-scale .icon.zoomOut:not(.disabled):hover {
    background-image: url(../img/button_zoomOut_hover.png);
}

.scale .view-scale .icon.zoomIn.disabled,
.scale .view-scale .icon.zoomOut.disabled {
    opacity: 0.5;
    cursor: default;
}
/*  ########################  main topview    ####################  */

.topview-container {
    padding-right: 470px;
}

.topview .arrow {
    bottom: -100px;
}


/*  ########################  main list       ####################  */

.list-cont {
    margin-right: 462px;
}

.list-box {
    width: 800px;
}

.main-list {
    background-color: #DBDAD5;
    padding: 10px 20px;
    border-radius: 10px 10px 0px 0px;
}

.list-overview {
    margin: 5px;
}

.main-list-overview {
    border-radius: 5px;
    border: 1px solid #999;
}

.main-list-overview .project {
    padding: 5px 10px;
}

.list-details table {
    color: #9d9d9d;
}

.list-details tr.selected {
    box-shadow: 0 0 5px teal;
}

.list-details td.list-header {
    font-size: 18px;
    color: #333;
}

/*  ########################  main material   ####################  */
.main-box {
    margin-right: 470px;
    padding: 20px 20px 0 20px;
}

.main-material-overview {
    padding: 40px 20px;
}


/*  ########################  main plan       ####################  */
/*  ########################    main-plan      ####################  */
.main-plan {
    margin-right: 470px;
}

.plan-box {
    padding: 0 20px;
}

/*  ######################## plan-select   ####################  */

.plan-select {
    margin-top: 23px;
    margin-bottom: 10px;
    padding: 0px;
    color: #79776A;
}


/*  ########################  side menu      #########################  */
/* #################                     #########################  */
.side {
    right: 20px;
}

.side-box {
    background-color: #CCC;
}

/* ################# side-menu-item      #########################  */
.side-menu-item-title {
    color: #B4032F;
    background-color: #fff;
}

.selected .side-menu-item-title {
    background: linear-gradient(to bottom, #a4032f 0%,#b4032f 100%);
}

.side-menu-item-info {
    padding-bottom: 75px;
    /*color: #B4032F;*/
}

.side-menu-item-sub-title {
    color: #B4032F;
}

/* ################# side-menu options   #########################  */
/*  ########################  inputgroup   #########################  */

.options-inputgroup-field-input {
    color: #b4032f;
}


/*  ########################  icongroup    #########################  */
.options-icongroup {
    background: linear-gradient(to bottom, #afada1 0%,#c9c7b9 100%);
}

.selected > .options-icongroup-button-img {
    box-shadow: 0 0 15px teal;
}

.options-icongroup-title {
    color: #b4032f;
}

/*  ########################  imagegroup   #########################  */
.options-imagegroup {
    height: 128px;
    background-color: #fff;
    border: 1px solid #d3d3d3;
}

.options-imagegroup.linear {
    background: linear-gradient(to bottom, #afada1 0%,#c9c7b9 100%);
}

.options-imagegroup:after {
    background-color: rgba(211, 211, 211, 0.35);
}

.options-imagegroup.selectable,
.options-imagegroup.selected {
    font-weight: bold;
    border: none;
}

.options-imagegroup.selectable:after,
.options-imagegroup.selected:after {
    box-shadow: 0 0 4px teal inset;
}

.options-imagegroup-img {
    height: 126px;
}

.options-imagegroup-measures,
.options-imagegroup-title {
    color: #b4032f;
}

.wws-export-button {
    color: #fff;
    background-color: #b4032f;
    border-color: #9b0328;
}

#materialsListManageExportInfo a,
#materialsListManageExportInfo a:hover {
  color: #b4032f;
}


/* ################# side-menu-next      #########################  */
.side-menu-next {
    background-color: #b4032f;
    background-image: url(../img/logo_schildkroete_weiss.png);
    background-position: 16px 13px;
}
.side-menu-next.no-subtitle {
    padding-top: 10.6px;
}

/*  ########################  responsiveness #########################  */

@media screen and (max-width: 810px) {

    .topview-container {
        padding-right: 0px;
    }

    .frontview,
    .list-cont,
    .main-plan {
        margin-right: 0px;
    }

    .side {
        right: 0;
        background: linear-gradient(#9AB2D6, #FFF);
    }

    .list-details td.list-header,
    .main-list-title td {
        font-size: 18px;
    }
}

@media screen and (max-width: 600px) {
    .list-details td.list-header,
    .main-list-title td {
        font-size: 14px;
    }
}

/*  ########################  print   #########################  */

@media print {
    .main,
    .main-box {
        margin-right: 0px;
    }

    .main-plan {
        margin: 0;
        padding-top: 0px;
        padding-bottom: 0px;
    }
}