body {
    font-family: Arial,sans-serif;
    font-size: 16px;
    color:#111;
    margin:0px;
}

* {
    box-sizing: border-box;
}

a {
    color: #111;
}

#container {
	/* Set desktop width */
    width: 100%;
	/* Centres container in body */
    margin: 0 auto;
}

#header {
    background-color: black;
    color:#fff;
    padding: 20px;
}

#nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display:table;
}

#nav li {
    text-align:center;
	display: inline-block;
}

#nav a {
	display:block;
    color:#111;
    padding: 10px;
    border-bottom: solid #ccc 1px;
    border-left: solid #ccc 1px;
    border-right: solid #ccc 1px;
    background-color: white;
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;

}

a#selected {
    background-color: #ccc;
}

#nav a:hover {
    background-color: #eee;
}

.clearBoth {
    clear: both;
}

div#search {
    margin:auto;
    max-width:600px;
    padding: 40px 5px;
}

div#search input[type=text] {
    padding: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    float: left;
    width: 80%;
    background: #fff;
    height:30px;
    border-radius: 4px 0 0 4px;
    -webkit-border-radius: 4px 0 0 4px;
}
div#search input:focus {
    outline: none;
  }

div#search button {
    float: left;
    width: 40px;
    background: -webkit-linear-gradient(top,#72787f,#444c55);
    color: white;
    font-size: 16px;
    border: 1px solid grey;
    border-left: none;
    cursor: pointer;
    height:30px;
    vertical-align: top;
    border-radius: 0 4px 4px 0;
    -webkit-border-radius: 0 4px 4px 0;
}

#search button:hover {
    background: #0b7dda;
}

#search::after {
    content: "";
    clear: both;
    display: table;
}

#main {
    height: 500px;
    background-image: url("page/images/MEBIB.gif");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    text-align: center;
}

#content {
    padding: 5px;
}

.contactName {
    width:100%;
    max-width: 400px;
}

#footer {
	text-align:center;
	color:#bbb;
	padding:20px;
    font-size:13px;
}

#footer a {
    color:#bbb;
}


@media only screen and (min-width: 1024px) {
    #container {
        width: 1024px;
    }

    #content {
        padding: 0;
    }
    
}