* {
    box-sizing: border-box;
}
body{
    margin: 0;
    padding:0;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    height:100%;
}
h1,h2,h3,p{
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    color: #fff;
}

h4{
    font-size: 20px;
}


#header{
    background-color:#660035;
    overflow-x: hidden;
}

.app-name {
    font-size: 1.35em;
    margin: 0;
}
.main-nav {
    margin-top: 5px;
}
.app-name a,
.main-nav a {
    text-align: center;
    display: block;
    padding: 10px 15px;
}
.main-nav a {
    font-size: .95em;
    font-weight: 700;
    color:white
}
.main-nav a:hover {
    color:#ffb3ff;
}

.main-header {
    padding-top: .5em;
    padding-bottom: .5em;
}

.app-name a{
      color:white;
      font-size: 30px;
}

a {
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-footer {
    height: 50px;
    background:#660035;
    padding: 2em 0;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin-bottom: 0px;
    text-align: center;
    
}
.main-footer span{
    color: white
}
.form-box{
    background: #fff;
    padding: 30px;
    border: 3px solid #ffb3ff;
    box-shadow:0 5px 10px #ffb3ff;
    border-radius: 10px 20px;
}

.form-box p{
    text-shadow: none;
    color:black;
}


input[type=text],input[type=number] , input[type=password],textarea {
	width: 100%;
	padding: 15px;
	margin: 5px 0 22px 0;
	display: inline-block;
	border: none;
	background: #f1f1f1;
  }
  
input[type=text]:focus, input[type=password]:focus, textarea:focus {
	background-color: #ddd;
	outline: none;
  }

.formbtn,.markbtn,.markbtn2 {
	background-color: #660035;
	color: white;
	padding: 14px 20px;
	margin: 8px 0;
	border: none;
	cursor: pointer;
    width: 50%;
    display:block;
    margin: 0 auto;
  }

#banner {
    height: 80vh;
    width: 100vw;
    background-image: url('../img/Bomas-of-Kenya.jpg');
    background-size:cover;
    background-position: center center;
    background-attachment: scroll;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;   
}
#banner-inner h1 {
    font-size: 3em;
    margin-top: 0px;
    margin-bottom: 100px;
    font-weight: 500;
    color: #fff;
    overflow: hidden;
}
table {
    border-collapse: collapse;
    width: 100%;
  }
  
th, td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
  }
tr:hover {background-color:#f5f5f5;}

.edit-form{
    margin: 1em 3em;
    width: 70%;
    background: #fff;
    padding: 30px;
    border: 3px solid #999;
    box-shadow:0 5px 10px #999;
    border-radius: 10px 20px;
    flex-direction: column;
}


.markbtn,.markbtn2,.button{
    background-color: green;
    margin-top: 20px;
    width: 50%;
}
.button1,.button2{
    font-size: 15px;
    color: #fff;
    border-radius: 8px;
    background-color: green;
    cursor: pointer;
}

.markbtn2,.button2{
    background-color: red;
}

.btnsold{
    background-color: red;
    font-size: 16px;
    color: #fff;
    width: 100%;
}

.span{
    background: #fff;
    padding: 10px;
    font-size: 17px;
    border: none;
    width: 100%;
    display: flex;
    flex-direction: row;
    border: 0;
}

.span input{
    width: 50%;
    height: 45px;
    float: left;
    font-size: 13px;
    border: none;
    padding-left: 20px;
    background-color: #ddd;

}

.span span{
    width: 20%;
    padding-right: 15px;
    padding-left: 15px;
    border-left: solid 1px #ddd;
}
.span select{
    border: none;
    border-radius: 0;
    background: #ddd;
    height: 45px;
    width: 100%;
    background-color: #ddd;
}

.span button{
  width: 10%;
  padding: 10px;
  background: #660035;
  color: white;
  font-size: 17px;
  border: 1px solid grey;
  border-left: none;
  cursor: pointer;
}

.main-nav input{
    width:400px;
    padding-left:25px;
}

.property_advert{
    padding: 5px 5px 20px;
    text-align: center;
    margin:15px;
    margin-top: 0px;
}
.property_advert,.image-bg{
    display: block;
    position: relative;
    background: rgb(230, 227, 227);
    min-height: 200px;
}

.property_advert .image-bg img {
    max-height: 200px;
    border-radius: 10px 20px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.property_advert .image-bg span {
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0,.3);
    left: 0;
    right: 0;
    font-size: 16px;
    color: #fff;
    padding: 3px 10px;
    text-transform: uppercase;
    text-align: right;
}
.property-content{
    background-color: #ffffff;
}

.property-content h1,h2,h3,p{
    margin:10px;
    color: black;
    text-shadow: none;
}
.property_advert .property-content {
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
}

.property_advert{
    font-size: 15px;
    line-height: 18px;
} 
.image-bg{
    height: 200px;
}

.advert {
    float: left;
}
.property_advert:hover{
	transform: scale(1.1);
	transition: all ease 500ms;
}
.fixed{
    height: 100%
}

.row{
    display: flex;
    width: 100%;
}
  
.column1{
    flex:20%;
    margin: 1em 3em;
    border-right: 2px solid #999;
    padding-right: 1em;   
}
.column2{
    flex: 80%;
    margin-bottom: 20px;
}

.fixed{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.modal {
    display: none; 
    position: fixed; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    margin-bottom: none;
  }
  
  .modal-content {
    margin:none; 
    width: 80%; 
  }
  .modal span{
      cursor: pointer;
  }

  .nav {
    width: 100%;
    background-color:#660035;
    position: relative;
    margin: none;
  }
  
  .nav > .nav-header {
    display: inline;
  }
  
  .nav > .nav-header > .nav-title {
    display: inline-block;
    font-size: 22px;
    color: #fff;
    padding: 10px 10px 10px 10px;
    font-size: 1.35em;
    margin: 0;
  }
  
  .nav > .nav-btn {
    display: none;
  }
  
  .nav > .nav-links {
    display: inline;
    float: right;
    font-size: .95em;
  }
  
  .nav > .nav-links > a {
    display: inline-block;
    text-decoration: none;
    color: #efefef;
    font-weight: 700;
    color:white;
    padding: 10px 15px;
    font-weight: 700;
    margin-top: 20px;
    
  }
  
  .nav > .nav-links > a:hover {
    color:#ffb3ff;
  }
  
  .nav > #nav-check {
    display: none;
  }

  

@media (max-width: 575px) {
    .edit-form{
        width:auto;
        margin: 0;
        padding: 
    }
    .row,.main-footer,.nav{
        width: auto;
      }
      .column1 {
        order: 1;
        flex: 0.5;
      }
      .column2 {
        order: 2;
        flex: 1.5;
      }
}
@media (min-width: 769px) {
    .main-header,.nav{
      display: flex;
      flex-wrap: wrap;
    }

    .form-box{
        display: inline-flex;
    }
}
@media (min-width: 1025px) {
    .form-box{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin:3% 25%;
        width: 50%;
    }
    .main-header{
        flex-direction: row;
        justify-content: space-between;
    }
}
  
  
  
  @media (max-width:576px) {
    body{
      display: flex;
      flex-direction: column;
    }
    .nav > .nav-btn {
      display: inline-block;
      position: absolute;
      right: 0px;
      top: 0px;
    }
    .nav > .nav-btn > label {
      display: inline-block;
      width: 50px;
      height: 50px;
      padding: 13px;
    }
    .nav > .nav-btn > label > span {
      display: block;
      width: 25px;
      height: 10px;
      border-top: 2px solid #eee;
    }
    .nav > .nav-links {
      position: absolute;
      display: block;
      width: 100%;
      background-color: #660035;
      height: 10px;
      transition: all 0.3s ease-in;
      overflow-y: hidden;
      top: 50px;
      left: 0px;
    }
    .nav > .nav-links > a {
      display: block;
      width: 100%;
    }
    .nav > #nav-check:not(:checked) ~ .nav-links {
      height: 0px;
    }
    .nav > #nav-check:checked ~ .nav-links {
      height: auto;
      overflow-y: auto;
    }
    .edit-form{
      width:auto;
      margin: 0;
      padding: 
  }
  .row,.main-footer,.nav{
      width: auto;
    }
  @media (max-width:375px){
    .row{
      display: flex;
      flex-direction: column;
    }
    
  }
}