* {
    margin: 0;
    box-sizing: border-box;
}

.smartphone {
    display: none;
}

@font-face {
    font-family: "Yanone Kaffeesatz Light";
    src: url(fonts/YanoneKaffeesatz-Light.ttf);
}

@font-face {
    font-family: "Yanone Kaffeesatz Regular";
    src: url(fonts/YanoneKaffeesatz-Regular.ttf);
}

@font-face {
    font-family: "Cookie Regular";
    src: url(fonts/Cookie-Regular.ttf);
}

@font-face {
    font-family: "Raleway Regular";
    src: url(fonts/Raleway-Regular.ttf);
}

html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: "Raleway Regular";
    font-size: 14px;
    color: #000000;
}

body {
    width: 100%;
    min-width: 900px;
    max-width: 100%;
}

#wrapper {
    height: 100%;
    width: 100%;
    overflow: auto;
}

/*******************************************\
            HEADER SECTION
\*******************************************/

#header {
    width: 100%;
    height: 180px;
    position: relative;
    padding: 15px 0;
}

#navigation_container {
    padding: 0;
    margin: 0;
    height: 150px;
    width: 100%;
    position: relative;
}

#navigation {
    min-width: 800px;
    max-width: 1200px;
    width: 80%;
    height: 150px;
    padding: 0;
    margin: 0 auto;
    position: relative;
}

#navigation #logo {
    width: 250px;
    height: 150px;
    margin: 0;
    padding: 0;
    position: relative;
    float: left;
    background-image: url("../layout/logo_2.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

#navigation ul {
    width: calc(100% - 250px);
    position: relative;
    float: right;
    height: 150px;
    padding: 0;
    margin: 0;
}

#navigation ul li {
    display: inline;
    position: relative;
    float: right;
    height: 150px;
    padding: 0;
    margin: 0 0 0 30px;
}

#navigation ul li a {
    display: block;
    position: relative;
    height: 70px;
    line-height: 70px;
    padding: 0;
    margin: 40px 0;
    font-family: "Yanone Kaffeesatz Light";
    font-size: 28px;
    text-transform: uppercase;
    text-decoration: none;
    color: #5ABEB6;
}

#navigation ul li a:not(.active)::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    content: '';
    background: #5ABEB6;
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    transform: scale(0.6);
}

#navigation ul li a:not(.active):hover::after {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
}

#navigation ul li a.active {
    color: #5A94BE;
}

#navigation ul li a.active::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    content: '';
    background: #5A94BE;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
}



/*******************************************\
            PAGE CONTENT SECTION
\*******************************************/

.section-container {
    width: 100%;
    position: relative;
    display: block;
    min-height: 50px;
    height: auto;
    overflow: auto;
    margin: 0;
    background-color: transparent;
}

.section-container.image--section {
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0 30%;
    box-shadow: 0px 0px 15px #CCCCCC;
    position: relative;
}

#wrapper .text--section:nth-child(4n+0) {
    background-color: transparent;
}

#wrapper .text--section:nth-child(4n+1) {
    background-color: #5A94BE;
}

#wrapper .text--section:nth-child(4n+2) {
    background-color: transparent;
}

#wrapper .text--section:nth-child(4n+3) {
    background-color: #5ABEB6;
}

#wrapper .text--section:nth-child(4n+1) .section,
#wrapper .text--section:nth-child(4n+3) .section,
#wrapper .text--section:nth-child(4n+1) .section h1,
#wrapper .text--section:nth-child(4n+3) .section h1 {
    color: #FFFFFF;
}

.section {
    min-width: 840px;
    max-width: 1240px;
    width: 80%;
    padding: 60px 0;
    margin: 0 auto;
    position: relative;
    height: 100%;
}

.image--section h1 {
    font-family: "Yanone Kaffeesatz Regular";
    font-size: 4vw;
    color: #FFFFFF;
    right: 0;
    bottom: 40px;
    position: absolute;
    padding: 10px;
    background-image: url("../layout/highlight_background_2.png");
    background-repeat: repeat;
}

.text--section h1 {
    margin: 0 0 15px 0;
    color: #5A94BE;
    font-weight: normal;
    font-family: 'Cookie Regular', sans-serif;
    font-size: 50px;
}

.section > h1:not(:first-child) {
     margin: 40px 0 15px 0;
}

.text--section h1 > span {
    color: #A3A3A3;
    padding: 0 0 0 25px;
    font-style: italic;
}

.text--section h2 {
    margin: 15px 0;
    color: #5ABEB6;
    font-weight: bold;
    font-family: "Yanone Kaffeesatz Light", sans-serif;
    font-size: 25px;
}

.text--section ul.checkmarks {
    margin: 15px 0;
    padding: 0;
    list-style: none;
}

.text--section ul.checkmarks li {
    padding: 5px 0;
}

.text--section ul.checkmarks li .material-icons {
    color: #5ABEB6;
    font-size: 18px;
}

.text--section ul.checkmarks li .material-icons.red {
    color: #be5a62;
}

p {
    width: 100%;
    height: auto;
    margin: 0 0 15px 0;
}

.row {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    overflow-y: auto;
}

.column {
    position: relative;
    float: left;
    height: 100%;
    margin: 0;
    padding: 20px 0;
}

.row .column.t2:first-child {
    padding: 20px 20px 20px 0;
}

.row .column.t2:last-child {
    padding: 20px 0 20px 20px;
}

.column.t2 {
    width: 50%;
}

.column.t3 {
    width: 33%;
}

.column.t2--large {
    width: 66%;
}

.column.t2--small {
    width: 34%;
}

.column.t2--extra-small {
    width: 150px;
}

.column.t2--extra-large {
    width: calc(100% - 150px);
}

.column.border + .column.border {
    border-left: 2px solid #FFFFFF;
}

.column.border--thin + .column.border--thin {
    border-left: 1px solid #FFFFFF;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.section-container .material-icons {
    font-size: 16px;
    color: #5A94BE;
    margin: 0 10px 0 0;
    vertical-align: middle;
}

.section-container a {
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    position: relative;
    padding: 0 0 3px 0;
    color: #e9aad4;
}

.section-container a:not(.btn):after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    content: '';
    background: #e9aad4;
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    transform: scale(0.6);
}

#wrapper .text--section:nth-child(4n+1) a,
#wrapper .text--section:nth-child(4n+3) a {
    color: #FFFFFF;
}

#wrapper .text--section:nth-child(4n+1) a:after,
#wrapper .text--section:nth-child(4n+3) a:after {
    background: #FFFFFF;
}

.section-container a:not(.btn):hover::after {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
}

.section-container .btn {
    position: relative;
    display: inline-block;
    padding: 15px;
    text-transform: uppercase;
    font-family: "Yanone Kaffeesatz Light";
    font-size: 18px;
    color: #A3A3A3;
    text-decoration: none;
    border: 2px solid #A3A3A3;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -webkit-transition: border-color 1s, color 1s;
    transition: border-color 0.5s, color 0.5s;
}

.section-container .btn .material-icons {
    font-size: 16px;
    color: #A3A3A3;
    -webkit-transition: color 1s;
    transition: color 1s;
    margin: 0 15px 0 0;
    padding: 0;
}

.section-container .btn:hover {
    border-color: #e9aad4; /*#1A1A1A;*/
    color: #e9aad4;
}

.section-container .btn:hover .material-icons {
    color: #e9aad4;
}

span.medium {
    font-size: 18px;
}

span.large {
    font-size: 26px;
}

span.bold {
    font-weight: bold;
}

span.italic {
    font-style: italic;
}


/*******************************************\
            IMAGES SECTION
\*******************************************/

.image_container {
    width: 200px;
    height: 220px;
    padding: 15px;
    box-shadow: 0 0 8px #A3A3A3;
    -moz-box-shadow: 0 0 8px #A3A3A3;
    -webkit-box-shadow: 0 0 8px #A3A3A3;
    position: relative;
    float: left;
    margin: 8px 12px 12px 8px;
}

.image_container .image {
    width: 100%;
    height: 150px;
    position: relative;
    float: left;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border: 2px solid #5ABEB6;
    -webkit-filter: grayscale(100%);
    -webkit-transition: .3s ease-in-out;
    -moz-filter: grayscale(100%);
    -moz-transition: .3s ease-in-out;
    -o-filter: grayscale(100%);
    -o-transition: .3s ease-in-out;
    cursor: pointer;
}

.image_container .image:hover {
    -webkit-filter: grayscale(0%);
    -webkit-transition: .3s ease-in-out;
    -moz-filter: grayscale(0%);
    -moz-transition: .3s ease-in-out;
    -o-filter: grayscale(0%);
    -o-transition: .3s ease-in-out;
}

.image_container h1 {
    position: relative;
    float: left;
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-family: "Yanone Kaffeesatz Light";
    font-size: 16px;
    font-weight: bold;
    color: #5ABEB6;
    text-align: center;
}



/*******************************************\
            INPUT SECTION
\*******************************************/

form[name="calculate_distance"] .row {
    max-width: 600px;
}

.input_container {
    width: 80%;
    display: block;
    min-height: 45px;
    height: auto;
    overflow-y: auto;
    padding: 0;
    margin: 0 0 15px 0;
    position: relative;
    border: 2px solid #e9aad4;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

.input_container .icon {
    position: relative;
    float: left;
    height: 100%;
    width: 45px;
    text-align: center;
    vertical-align: middle;
    background-color: #FFFFFF;
}

form[name="calculate_distance"] .input_container .icon {
    width: 80px;
    line-height: 45px;
    color: #e9aad4;
    font-weight: bold;
    text-align: left;
}

.input_container .icon .material-icons {
    color: #e9aad4;
    font-size: 25px;
    display: inline;
    position: relative;
    float: left;
    height: 45px;
    line-height: 45px;
    margin: 0 10px;
}

.input_container input[type="text"] {
    width: calc(100% - 45px);
    position: relative;
    float: left;
    height: 45px;
    line-height: 45px;
    padding: 0 10px;
    border: 0;
    font-family: 'Abel', sans-serif;
    font-size: 16px;
    color: #000000;
}

.input_container input[type="text"]:disabled {
    background-color: #FFFFFF;
    color: #A3A3A3;
}

form[name="calculate_distance"] .input_container input[type="text"] {
    width: calc(100% - 80px);
}

.input_container textarea {
    width: calc(100% - 45px);
    max-width: calc(100% - 45px);
    position: relative;
    float: left;
    min-height: 150px;
    line-height: 20px;
    padding: 12px 10px;
    border: 0;
    font-family: 'Abel', sans-serif;
    font-size: 16px;
    color: #000000;
}

.input_container input[type="submit"] {
    position: relative;
    float: right;
    height: 40px;
    line-height: 35px;
    padding: 0 15px;
    background-color: #FFFFFF;
    font-family: "Yanone Kaffeesatz Light" , sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    cursor: pointer;
    color: #FFFFFF;
    border: 2px solid #5ABEB6;
    background-color: #5ABEB6;
    -webkit-transition: color 0.3s, background-color 0.3s;
    transition: color 0.3s, background-color 0.3s;
}

.input_container input[type="submit"].disabled {
    color: #A3A3A3;
    border: 2px solid #A3A3A3;
    background-color: #FFFFFF;
}

.input_container input[type="submit"]:not(.disabled):hover {
    color: #5ABEB6;
    background-color: #FFFFFF;
}

form .row:last-child .input_container {
    background-color: #FFFFFF;
    padding: 0;
    margin: 0;
    text-align: right;
    border: 0;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
}

textarea:focus, input:focus{
    outline: none;
}

#success {
    padding: 10px;
    margin: 20px 0;
    border: 1px solid #9FDE9C;
    color: #3E933A;
    background: #E2F7D8;
    float: left;
    width: 100%;
    position: relative;
}

#error {
    padding: 10px;
    margin: 20px 0;
    border: 1px solid #FFBBBB;
    color: #DA1D1D;
    background: #FFDFDF;
    float: left;
    width: 100%;
    position: relative;
}



/*******************************************\
            FOOTER SECTION
\*******************************************/

.text--section.footer .section {
    padding: 20px 0;
}

.text--section.footer .column {
    padding: 5px 20px;
}