html, body {
    margin: 0;
    padding: 0;
    background: #eee;
    font-family: 'Roboto', sans-serif;
}

.left {
    float: left;
}

.right {
    float: right;
}

.clear {
    clear: both;
}

.alignment {
    position: relative;
    width: 80%;
    max-width: 1150px;
    margin: 0 auto;
    z-index: 30;
}

header {
    height: 550px;
}

header #slider {
    position: relative;
    height: 550px;
    overflow: hidden;
}

header #slider .slide {
    position: relative;
}

header #slider .slide .opacity {
    position: absolute;
    width: 55%;
    height: 550px;
    top: 0;
    left: 0;
    background: url("../images/slider_opacity.png");
    background-size: 100% 100%;
}

header #slider .slide img {
    width: 100%;
}

#navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 80%;
    height: 80px;
    max-width: 1150px;
    background: white;
    z-index: 99;
}

#navbar #logo {
    float: left;
}

#navbar #logo h1 {
    margin: 4px 0 0 15px;
    padding: 0;
    font-size: 1.8em;
    font-weight: 700;
}

#navbar #logo h1 span {
    font-weight: 500;
    font-size: 0.8em;
    color: rebeccapurple;
}

#navbar #logo h1 a {
    text-decoration: none;
    color: black;
}

#navbar #menu_icon {
    display: none;
    float: right;
    background: #eee;
    width: 30px;
    padding: 10px;
    height: 30px;
    margin-right: 15px;
    margin-top: 15px;
    cursor: pointer;
}

#navbar #menu_icon img {
    height: 30px;
}

#navbar nav {
    float: right;
    margin: 30px 30px 0 0;
    padding: 0;
}

#navbar nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#navbar nav ul li {
    margin: 0;
    padding: 0;
    display: inline-table;
}

#navbar nav ul li a {
    margin: 0 15px;
    padding: 0;
    display: block;
    color: black;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.1em;
}

#navbar nav ul li a:hover {
    color: rebeccapurple;
}

#navbar nav ul li a.active {
    color: rebeccapurple;
}

main {
    margin-top: -150px;
    margin-bottom: 70px;
    padding: 2%;
    background: white;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(143,143,143,1);
    -moz-box-shadow: 0px 0px 5px 0px rgba(143,143,143,1);
    box-shadow: 0px 0px 5px 0px rgba(143,143,143,1);
}

main h2 {
    color: rebeccapurple;
    font-weight: 400;
    margin: 0 0 10px 0;
    font-size: 2em;
}

main  p {
    font-size: 1.1em;
    margin: 0 0 15px 0;
    font-weight: 300;
    color: black;
    text-align: left;
}

main a {
    text-decoration: none;
    color: rebeccapurple;
}

main a:hover {
    font-weight: bold;
}

main #contact_form {
    width: 55%;
    float: left;
    margin-right: 8%;
    margin-bottom: 40px;
}

main #contact_form input[type="text"], main #contents #contact_form input[type="email"] {
    width: 37%;
    background: none;
    border: 1px solid grey;
    font-size: 1em;
    padding: 2% 3%;
    margin-bottom: 10px;
    margin-right: 1%;
}

main #contact_form input[type="text"]:nth-child(2n) {
    margin-right: 0;
}

main #contact_form textarea {
    width: 96%;
    max-width: 96%;
    height: 140px;
    background: none;
    font-size: 1em;
    padding: 2% 3%;
    margin-bottom: 10px;
    border: 1px solid grey;
}

main #contact_form input[type="submit"] {
    background: darkslateblue;
    font-size: 1.1em;
    padding: 2% 3%;
    color: white;
    border: 0;
    font-weight: 600;
    cursor: pointer;
    -webkit-appearance: none;
}

main #contact_form input[type="submit"]:hover {
    background: purple;
    color: white;
}

main #photogallery {
    text-align: center;
}

main #photogallery .image {
    float: left;
    width: 19.5%;
    padding: 2%;
    overflow: hidden;
    background: #ddd;
    margin-right: 2%;
    margin-bottom: 2%;
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

main #photogallery .image:nth-child(4n) {
    margin-right: 0;
}

main #photogallery .image img {
    width: 100%;
    outline: none;
}

main #photogallery .image img:hover {
    opacity: 0.7;
    outline: none;
}

iframe {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 300px;
    border: 0;
    -webkit-filter: grayscale(80%);
    filter: grayscale(80%);
    border-radius: 8px;
}

footer {
    margin: 0;
    padding: 0;
    background: #21262d;
}

footer #footer_information {
    padding: 3% 0 0 0;
    background: #2a2f36;
}

footer #footer_information .box {
    float: left;
    width: 32%;
    padding: 1%;
    margin: 0 2% 0 0;
    text-align: left;
}

footer #footer_information .box table {
    width: 100%;
    text-align: left;
    color: white;
}

footer #footer_information .box table tr td:first-child {
    padding: 2%;
    color: white;
}

footer #footer_information .box table tr td {
    padding: 2%;
    color: #ddd;
}

footer #footer_information .box:nth-child(3n) {
    width: 26%;
    margin: 0 0 30px 0;
}

footer #footer_information .box h3 {
    margin: 10px 0 20px 0;
    text-align: left;
    color: white;
    font-size: 1.4em;
}

footer #footer_information .box p {
    font-size: 1em;
    text-align: left;
    color: #ddd;
}

footer p {
    margin: 0;
    padding: 15px 0;
    text-align: center;
    font-size: 0.8em;
    color: #ddd;
}

footer a {
    color: white;
    text-decoration: none;
}

footer p a:hover {
    color: #ddd;
}

footer #copyrights a {
    color: grey;
}

footer #copyrights a:hover {
    color: white;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: black;
    font-weight: 300;
}
::-moz-placeholder { /* Firefox 19+ */
    color: black;
    font-weight: 300;
}
:-ms-input-placeholder { /* IE 10+ */
    color: black;
    font-weight: 300;
}
:-moz-placeholder { /* Firefox 18- */
    color: black;
    font-weight: 300;
}

#success {
    position: fixed;
    z-index: 9999999999999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0, 0.6);
}

#success .panel {
    position: absolute;
    margin: 0 auto;
    width: 300px;
    height: auto;
    top: 38%;
    left: 0;
    right: 0;
    background: white;
    padding: 2%;
    border: 1px solid grey;
    border-radius: 10px;
    text-align: center;
}

#success .panel p {
    color: black;
    font-weight: bold;
    font-size: 1.1em;
}

#success .panel button {
    background: green;
    color: white;
    font-weight: 500;
    padding: 10px 20px;
    font-size: 1em;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

#success .panel button:hover {
    background: #ddd;
    color: black;
}



