/* Design 

Dark Blue: #062640
Blue: #053359
Light Blue: #7AC2FE*/


/* Icons */
.fas {
    color: white;
}
.fa {
    color: white;
}
p {
    margin: 5px;
}
h1 {
    font-family: 'Lora', serif;
    margin: 5px;
}
h2 {
    font-family: 'Lora', serif;
}
hr {
    border: thin solid white;
}
body, html {
    padding: 0;
    margin: 0;
    height: 100%;
}
main {
    margin-bottom: 250px;
    clear: both;
}
/* ~~ Navigation ~~ */
.nav {
    height: 50px;
    background-color: #062640;
    padding: 0;
}
.nav ul {
    text-align: right;
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top: 13px;
}
.nav li {
    display: inline;
    position: relative;
    padding-right: 30px;
}
.nav a {
    color: white;
    text-align: center;
    text-decoration: none;
    font-family: 'Lexend Mega', sans-serif;
}
.nav li:hover a {
    color: white;
}
.nav ul ul {
    width: 100px;
    height: 100px;
}
.nav ul li {
    margin: 10px;
    margin-top: 5px;
    width: 80px;
    text-align: right;
}
.nav li ul {
    left: 0;
    opacity: 0;
    position: absolute;
    visibility: hidden;
    z-index: 1;
    background-color: #062640;
    text-align: center;
}
.nav li:hover ul {
    opacity: 1;
    visibility: visible;
    background-color: #062640;
}
.nav li ul li {
    width: 100%;
    text-align: center;
}
.nav li a:hover {
    color: gray;
}

.meet, .map {
    float: left;
    position: relative;
}
.meet, .meet a, .meet li {
    color: blue;
    text-decoration: none;
}
.logo {
    height: 50px;
    float: left;
}
/* ~~ Footer ~~ */

.page {
    position: relative;
    min-height: 100vh;
}
footer {
    height: 380px;
    width: 100%;
    clear: both;
    background-color: #062640;
}
.foot {
    width: 100%;
    bottom: 0;
}
.form, .bottom {
    color: white;
    padding: 10px;
    background-color: #062640;
}
.bottom {
    float: left;
    position: relative;
    text-align: center;
    font-family: 'Lexend Mega', sans-serif;
    border-left: solid white thin;
    margin-top: 15px;
    width: 55%;
    height: 90%;
}
.bottom ul {
    margin-top: 90px;
}
.bottom li {
    list-style-type: none;
    display: inline;
    padding-right: 50px;
}
.bottom a {
    text-decoration: none;
    color: white;
}
.for {
    text-align: left;
}
.form {
    float: left;
    position: relative;
    margin: 5px;
    width: 35%;
    text-align: center;
    line-height: 2;
}
button, input, select, textarea, text, email {
    font-family: 'Lora', serif;
    width: 80%;
}
input[type=text], select {
    border: none;
    border-bottom: thin solid white;
    background-color: #062640;
    color: white;
}
input[type=text] {
    width: 40%;
}
input[type=email] {
    border: none;
    border-bottom: thin solid white;
    background-color: #062640;
    color: white;
}
textarea {
    border: none;
    border-bottom: thin solid white;
    background-color: #062640;
    color: white;
    width: 90%;
}
input[type=submit] {
    background-color: #062640;
    text-align: center;
    color: white;
}
input[type=submit]:hover {
    background-color: gray
    ;
}
.copyright {
    color: white;
    text-align: center;
    bottom: 0;
    position: inherit;
    margin-top: 15vh;
    }
    
/* ~~ Home ~~ */
.feature {
    width: 100%;
    background-color: #062640;
    color: white;
    height: 300px;
}
.feature img {
    padding: 10px;
    float: left;
}
.meet {
    width: 55%;
    color: black;
    font-family: 'Lexend Mega', sans-serif;
    line-height: 1.5em;
}
.meet a {
    color: black;
    padding: 20px;
}
.map {
    width: 35%;
}
/* ~~ Listings ~~ */
.list {
    width: 390px;
    height: 260px;
    border: thin solid #062640;
}
#containerl {
    width: 100%;
}
#containl {
    margin-left: auto;
    margin-right: auto;
    width: 900px;
    height: 550px;
}
.containerl {
    position: relative;
    float: left;
    width: auto;
    margin: 25px;
    text-align: center;
}
.overlayl {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /*background-color: #062640;*/
    background: rgb(6, 38, 64);
    background: rgba(6, 38, 64, 0);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .3s ease;
}
.containerl:hover .overlayl {
  height: 100%;
}
.textl {
  color: white;
  text-shadow: 2px 2px 4px #062640;
  font-size: 1em;
  position: absolute;
  text-align: center;
  font-family: 'Lora', serif;
  margin: 15px;
  width: 350px;
}
.address {
    margin-top: 150px;
}
/* One - Four */
#home {
    width: 100%;
}
.home {
    width: 50%;
    margin-left: 25%;
    margin-right: 20%;
}
.slide_contain {
    width: 50%;
    height: 50%;
    position: relative;
    float: left;
}
/* ~~ Agents ~~ */
#container {
    width: 100%;
    height: 100%;
}
#contain {
    margin-left: auto;
    margin-right: auto;
    width: 900px;
    height: 900px;
}
.container {
    position: relative;
    float: left;
    width: auto;
    margin: 10px;
    text-align: center;
}
.ag {
    width: 270px;
    height: 400px;
    border: thin solid #062640;
}
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /*background-color: #062640;*/
    background: rgb(6, 38, 64);
    background: rgba(6, 38, 64, 0.7);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .3s ease;
}
.container:hover .overlay {
  height: 100%;
}

.text {
  color: white;
  font-size: 1em;
  position: absolute;
  text-align: left;
  font-family: 'Lora', serif;
  margin: 15px;
}
h3 {
    text-align: center;
}

@media only screen and (max-width: 1100px) 
{
    hr {
        width: 90%;
    }
    footer {
        height: 420px;
    }
    .foot {
        height: 420px;
    }
    .copyright {
        color: white;
        text-align: center;
        margin-top: 0;
    }
    .bottom {
        width: 55%;
        height: 300px;
        margin-bottom: 0;
        border-left: thin solid white;
        text-align: center;
    }
    button, input, select, textarea {
        width: 80%;
    }
    textarea {
        width: 90%;
    }
    submit {
        text-align: center;
    }
}
@media only screen and (max-width: 900px) 
{
    #container {
        width: 800px;
    }
    #containl {
        width: 600px;
    }
}
@media only screen and (max-width: 700px) 
{
    .footer {
        position: absolute;
        bottom: 0;
    }
    .foot {
        height: 500px;
    }
    .form {
        width: 90%;
        text-align: center;
    }
    .bottom {
        background-color: #062640;
        width: 100%;
        height: auto;
        margin-bottom: 0;
        border-left: none;
        border-top: thin solid white;
        text-align: center;
    }
    .copyright {
        color: white;
        text-align: center;
        margin-top: 0;
    }
    #container {
        width: 650px;
    }
    #contain {
        width: 600px;
    }
}
@media only screen and (max-width: 478px)
{
    .nav {
        height: 100px;
    }
    .logo {
        float: none;
        position: inherit;
        text-align: center;
    }
    .nav li {
        padding-right: 5px;
    }
    .meet {
        display: none;
    }
    #container {
        width: 300px;
    }
    #contain {
        width: 200px;
    }
}