﻿html,
body {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 300;
}

h1 {
    font-size: 4em;
    font-weight: 100;
}

h2 {
    font-size: 2.5em;
    font-weight: 100;
    margin: 0.75em 0px 0.5em 0px;
}

    h2 .fa {
        font-size: 2em;
    }

h3 {
    font-size: 2em;
    font-weight: 100;
    margin: 0.75em 0px 0.5em 0px;
}

strong {
    font-weight: 400;
}

hr {
    width: 25%;
    min-width: 200px;
    color: #dcdcdc;
    margin: 3em auto 2em auto;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.ui-page-theme-a,
.ui-page-theme-a .ui-bar-inherit {
    font-weight: inherit;
    text-shadow: none;
}

.ui-page-theme-a .ui-header {
    background-color: #233038;
}

.ui-page-theme-a a,
.ui-page-theme-a a:visited {
    font-weight: 300;
}

.ui-content {
    padding: 0;
}

.ui-page-theme-a .ui-footer {
    color: #ffffff;
    background-color: #11181c;
}

    .ui-page-theme-a .ui-footer p {
        line-height: 1.5em;
    }

    .ui-page-theme-a .ui-footer i {
        margin-right: 0.5em;
    }

    .ui-page-theme-a .ui-footer a,
    .ui-page-theme-a .ui-footer a:visited {
        font-weight: 300;
        color: #ffffff;
        text-decoration: none;
    }

    .ui-page-theme-a .ui-footer a:hover {
        color: #9de7ff;
        text-decoration: underline;
    }

.logo {
    margin: 1em 0 0 0;
}

#menu-btn {
    position: fixed;
    top: 1em;
    right: 1em;
    color: #333333;
    text-shadow: none;
    background-color: rgba(16,196,254,0.9);
    border-color: rgba(0, 192, 254, 0.25);
	border-radius: 6px;
    margin: 0 0 0 0;
}

section.coloured {
    color: #ffffff;
    background-color: #333945;
    padding: 1.5em 0px 1.5em 0px;
    margin: 4em 0px 4em 0px;
}

.ui-page-theme-a section.coloured a,
.ui-page-theme-a section.coloured a:visited {
    color: #9de7ff;
}

section.coloured.colour-0 {
    color: #303030;
    background-color: #f2f2f2;
    margin-top: 0px;
}

section.coloured.colour-1 i,
section.coloured.colour-1 h2,
section.coloured.colour-1 h3,
section.coloured.colour-1 strong {
    color: #eabf94;
}

section.coloured.colour-2 i,
section.coloured.colour-2 h2,
section.coloured.colour-2 h3,
section.coloured.colour-2 strong {
    color: #9de7ff;
}

.content-wrapper {
    max-width: 700px;
    margin: 0px auto 0px auto;
}

#popup {
    position: fixed;
    overflow-y: auto;
}

.featured-projects p {
    width: 100%;
    overflow: hidden;
}

    .featured-projects p img {
        float: left;
        max-width: 50%;
        margin: 0px 1em 1em 0px;
    }

.carousel {
    width: 100%;
    height: 620px;
    overflow: hidden;
    padding: 0px;
}

    .carousel img {
        display: block;
    }

form {
    margin: 0px 0px 3em 0px;
}

    .field-validation-error {
        display: block;
        color: #ff0000;
        margin-bottom: 1em;
    }

    button[type=submit] {
        display: block;
        margin: 2em auto 0px auto;

    }


@media(max-width: 47em) {
    body,
    body.ui-mobile-viewport {
        min-width: 300px;
        overflow: auto;
    }

    h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.5em;
    }

    .content-wrapper {
        margin-left: 1em;
        margin-right: 1em;
    }
}

@media(max-width: 34em) {
    .featured-projects p img {
        max-width: 100%;
    }
}

@media(max-width: 18.75em) {
    h2 {
        font-size: 1.75em;
    }

    h3 {
        font-size: 1.3em;
    }
}