/** 
 * Stylesheets for the NMWP UI layout
 * 
 * @author fgraenzdoerffer
 */


html { 
    box-sizing: border-box;
} 
*, ::before, ::after { 
    box-sizing: inherit;
}
body {
    width: 100%;
    overflow-y: scroll;
}
body .layout-center {
    width: 65%;
    min-width: 1170px;
    max-width: 1455px;
    margin: 0 auto;
}
body .header-bottom-wrapper {
    min-width: 1170px;
} 
.layout-center > div {
    height: 100%;
    vertical-align: top;
}


/* HEADER */
.header .header-top-wrapper {
    display: flex;
    height: 80px;
    line-height: 100%;
}
.header .header-top-wrapper > .header-left-logo {
    display: inline-block;
}
.header .header-top-wrapper > .header-left-logo a {    
    display: block;
    width: 100%;
    height: 100%;
}
.header .header-top-wrapper > .nmwpmenu {
    display:        inline-block;
    flex:           1 1 0;
}
.header .header-top-wrapper > .header-right {
    display:        inline-block;
    min-width:      20%;
    text-align:     right;
    float:          right;
}
.header-right .nmwp-header-login {
    padding-top:    20px;
    text-align: right;
}
.header-right .nmwp-header-login input {
    height:          30px;
    line-height:     inherit;
    vertical-align:  top;
    width:       32%;
}
#header-forgotpassword-link {
    padding-right: 15px;
}
.nmwp-header-register-content {
   text-align: center !important;
   left:       40% !important;
   width:      20% !important;
   bottom:     auto !important;
   min-width: 270px;
}
.nmwp-header-register-content input {
    width: 100%;
    margin-bottom: 10px;
}
.nmwp-header-register-content .nmwp-button {
    width: 100%;
}
.nmwp-header-register-content table {
    margin-bottom: 10px;
    width: 100%;
}
.header-bottom-wrapper {
    width: 100%;
    display: block;
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    overflow: hidden;
}
.header-bottom-wrapper .breadcrumbs {
    width: 75%;
    display: inline-block;
}
.header-bottom-wrapper .slogan {
    width: 40%;
    display: inline-block;
    text-align: right;
}
.header-register-link-wrapper {
    line-height: 30px;
    height: 30px;
}
.header .language-wrapper {
    float: right;
    width: 25%;
    text-align: right;
}
.header .language-wrapper > span,
.header .language-wrapper > a {
    margin-left: 20px;
}


/* CONTENT / BODY */
.main {
    padding-bottom: 40px;
    min-height: 600px;
}
.main-spacer {
    height: 30px;
}
.main .content-wrapper {
    display: flex;
    line-height: 100%;
}
.content-left {
    display:    inline-block;
}
.content-left .usermenu {
    margin-right: 2em;
}     
.content-right {
    display:    inline-block;
    width:      20%;
    min-width:  250px;
}
.content-main {
    display:        inline-block;
    margin-right:   2em;
    flex:           1 1 0;
    /* Fix for slick slider inside flex elements */
    min-width: 0;
    min-height: 0;
}
#startpage-map {
    position: relative;
    height: 60%;
}
#startpage-promotion {
    padding-top: 20px;
    padding-bottom: 40px;
}
#startpage-promotion .layout-center{
    display:    block;
}
#startpage-promotion .nmwp-info {
    display: inline-block;
    width: 140px;
    margin-right: 20px;
}
#startpage-promotion .premium-members {
    display: inline-block;
    padding: 0px 20px;
    width: calc(100% - 330px);
}
#startpage-promotion .nmwp-highlight {
    display: inline-block;
    float: right;
    width: 140px;
    margin-left: 20px;
}
#startpage-promotion h4 {
    margin-bottom: 20px;
}


/* FOOTER */
.footer {
    height: 55px;
    width: 100%;
    vertical-align: middle;
    line-height: 55px
}
.footer .footer-link-wrapper a {
    margin-right: 40px;
}
.footer .slogan {
    display: inline-block;
    float: right;
}