/*************************\
  Standard Elements
\*************************/

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
    font-family: 'Montserrat', helvetica, arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    color: #010101;
}

a {
    text-decoration: none;
    color: #010101;
}

hr {
    margin: 0 0 50px 0;
    clear: left;
    width: 100%;
    border: none;
    border-top: 1px solid #b9b9bb;
    height: 1px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

nav ul {
    padding: 0;
}

    nav li {
        display: inline-block;
    }

    nav li:after {
        content: ' | ';
    }

    nav li:last-of-type:after {
        content: '';
    }

input[type="text"],
input[type="email"] {
    width: 100%;
    height: 40px;
    line-height: 40px;
    border: 1px solid #cccccc;
    padding: 0 10px;
    -webkit-appearance: none;
    -webkit-border-radius: 0; 
    border-radius: 0;
}

textarea {
    width: 100%;
    height: 60px;
    border: 1px solid #cccccc;
    padding: 0 10px;
    -webkit-appearance: none;
    -webkit-border-radius: 0; 
    border-radius: 0;
}

::-webkit-input-placeholder {
   text-align: center;
}

:-moz-placeholder { 
   text-align: center; 
}

::-moz-placeholder { 
   text-align: center;
}

:-ms-input-placeholder {  
   text-align: center;
}


/*************************\
  Structure
\*************************/

.container {
    width: 770px;
    margin: 0 auto;
}

.row {
    width: 100%;
    margin: 0 0 28px 0;
    padding: 0 60px;
    overflow: hidden;
}

    .column,
    .columns {
        display: block;
        float: left;
        margin-right: 2%;
    }

.twelve {
    width: 100%;
}

.eleven {
    width: 91.5%;
}
.ten {
    width: 83%;
}

.nine {
    width: 74.5%;
}

.eight {
    width: 66%;
}

.seven {
    width: 57.5%;
}

.six {
    width: 49%;
}

.five {
    width: 40.5%;
}

.four {
    width: 32%;
}

.three {
    width: 23.5%;
}

.two {
    width: 15%;
}

.one {
    width: 6.5%;
}

.last {
    margin-right: 0;
}


/*************************\
  Main page content
\*************************/

.main {
    
}

.personal,
.interessen {
    font-family: 'Playfair Display', Georgia, Times;
    font-size: 16px;
    line-height: 22px;
    overflow: hidden;
}

.personal {
    margin-bottom: 10px;
}

.headline {
    font-family: 'Montserrat', helvetica, arial, sans-serif;
    font-size: 30px;
    line-height: 30px;
    margin: 0 0 28px 0;
    text-transform: uppercase;
    text-align: center;
}

.button {
    background: #005286;
    border: none;
    font-weight: 400;
    font-size: 28px;
    height: 55px;
    line-height: 55px;
    padding: 0 20px;
    text-align: center;
    color: #ffffff;
    margin: 0 auto;
    width: 100%;
    text-transform: uppercase;
}

.button .icon {
    font-size: 44px;
    line-height: 44px;
}

.permission-label, 
.permission-text {
    font-size: 11px;
    line-height: normal;
}

.permission-text {
    clear: both;
    margin: 10px 0 0 40px;
}

.multiline-label {
    margin: 0 0 30px 0;
}

/*************************\
  Header
\*************************/

.header {
    padding: 10px 20px;
    margin: 0 0 20px 0;
    width: 100%;
    background: #cccccc;
}



/*************************\
  Footer
\*************************/

.footer {
    width: 100%;
    height: 70px;
    line-height: 70px;
    margin: 20px 0 0 0;
    background: #cccccc;
}

    .footer p {
        margin: 0 20px;
    }



/*************************\
  Substitutes
\*************************/

input[type="radio"], 
input[type="checkbox"] {
    position: absolute;
    clip: rect(0,0,0,0);
}

input[type="radio"] + label {   
    float: left;
    height: 30px;
    line-height: 30px;
    background: transparent url("../img/sprite-radio.png") no-repeat 0 0;
    padding: 0 0 0 40px;
}

input[type="checkbox"] + label {
    float: left;
    height: 26px;
    line-height: 26px;
    background: transparent url("../img/sprite-checkbox.png") no-repeat 0 0;
    padding: 0 0 0 40px;
}

input[type="radio"]:checked + label {
    background-position: 0 -30px;
}

input[type="checkbox"]:checked + label {
    background-position: 0 -26px;
}

input[type="radio"].horizontal + label,
input[type="checkbox"].horizontal + label {
    padding-right: 30px;
}



/*************************\
  Helpers
\*************************/

.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.top-margin {
    margin-top: 10px;
}

.message {
    display: none;
    color: red;
    font-size: 11px;
    font-family: 'Montserrat', helvetica, arial, sans-serif;
    clear: both;
}

.permission-missing {
    margin: 0 0 0 40px;
}

.form-error {
    border: 1px solid red !important;
}

.label-error {
    border-bottom: 2px solid red;
}



/*************************\
  Media Queries
\*************************/

@media only screen and (max-width : 770px)  { 
    
    .container {
        width: 100%;
    }

    .column.collapse,
    .columns.collapse {
        float: none;
        overflow: hidden;
        margin-bottom: 28px;
    }

    .row.margin {
        margin-bottom: 0;
    }

    .one.collapse,
    .two.collapse,
    .three.collapse,
    .four.collapse,
    .five.collapse,
    .six.collapse,
    .seven.collapse,
    .eight.collapse,
    .nine.collapse,
    .ten.collapse,
    .eleven.collapse,
    .twelve.collapse {
        width: 100%;
    }
    
    .mobile-four {
        width: 32%;
    }

    .row {
        padding: 0 20px;
    }

}
