
/***************************************************


	Created by: Mark Killion
	Creation Date: 6/18/2021
	Description: CSS script for 773property.com
    Updates:
		



***************************************************/




html {
  height: 100%;
  /*
  background-size: cover;
  background-image: url("../images/chicago_image_01.jpg") ;   
 */
}

body {
  font-family: "Verdana", "sans-serif";
  /* background-color: white; */
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 18px;
  
  
}

a {
  text-decoration: none;
  color: RGB(0,0,128);
}

.current_page a {
  color: Yellow;
  pointer-events: none;
}

.fancy_font {
	font-family:  "Georgia","Verdana","sans serif";
}

/* -------------------------------------------------  */
/********  Header_Top  *********/

#header_top {
   display: flex;
   flex-direction: row;
   justify-content: flex-start;
   max-width: 900px;
   margin: 0 auto;
   box-sizing: border-box;
   opacity: 0.90;
  
}




#header_top :first-child {
	margin-right:  0%;
	margin-top: 1%;
	align-self: flex-end;
}


#header_top :nth-child(2) {
	width: 37%;
	margin-right:  13%;	
	align-self: flex-end;
}


#header_top :nth-child(3) {
	width: 20%;
	margin-right:  0%;
	margin-left:  5%;
	font-weight: bold;
	height: 1%;
	background-color: white;
	color: RGB(0,0,128);
}

#header_top p{
   padding: 0%;
   margin: 0%;
   text-align: center;
}

#header_top button {
	color: RGB(0,0,128);
	padding: 0%;
	margin-left: 20%;
	margin-right: 0%;
	font-family: "Verdana", "sans-serif";
	font-weight: bold;
	white-space: nowrap;
}

#header_top img{
   width: 100px;
   margin-left: 0%;
}


/* --------- Begin Nav ----------------------------------------  */


nav {
  background-color: RGB(0,0,128);
  padding: 0%;
  max-width: 900px;
  margin: 1% auto;
}


/*********************************************************

.nav_li_wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0%;
}

nav ul {
  padding: 0%;
  margin-top: 1%;
}

nav ul li {
  list-style: none;
  margin: 0%;
  border-right: solid white 1px;
  padding: 0%;
  width: 15%;
  text-align: center;
}

nav ul li a {
  color: white;
}

--------- End Nav ----------------------------------------  */




.content {
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  box-sizing: border-box;   
}


/* --------- Begin Main_FlexBox ----------------------------------------  */

.Main_FlexBox {
  display: Flex;
  Flex-direction: row;
  box-sizing: border-box;
  max-width: 900px;
}


.Main_FlexBox p:first-of-type {
	margin: 0%;
}


.Main_FlexBox :nth-child(2) {
	margin: 0%;
	
}



.Main_FlexBox p {
	width: 100%
}


/* --------- End Main_FlexBox ----------------------------------------  */

.box_shadow {
  border: 1px solid;
  padding: 10px;
  box-shadow: 5px 10px #888888;
}


#pad_above_button01 {
  padding: 0%;	
  margin: 0%;
  margin-top: 3%;
  font-family: "Verdana", "sans-serif";
}

button {
  color: white;
  background-color: RGB(0,0,128);
  border-radius: 1%;
  padding: 1%;
  margin-top: 2%;
}

button:hover {
  color: white;
  background-color: green;
  border: 2px solid RGB(0,0,128);
}



#column1 {
  width: 28.4%;	
  padding-left: 0%;
  padding-top: 1%;
  padding-right: 1%;
  padding-bottom: 1%;
  box-sizing: border-box;
  line-height: 125%;
  font-size: 75%;
}


#column2 {
  width: 72%;
  padding-top: 1%;  
  line-height: 160%;
  box-sizing: border-box;
}


#column2 a {
  text-decoration: none;
  color: RGB(0,0,128);
  text-decoration: underline;
}



h1 {
  margin-top: 0%;
  font-size: 175%;
  color: black;
  margin-left: 0%;
}

h2 {
  margin-top: 0%;
  font-size: 130%;
  color: black;
}

h3 {
  margin-top: 0%;
  font-size: 100%;
  color: black;
}





p {
  margin-bottom: 2%;
}

.firstcharacter {
  color: RGB(0,0,128);
  float: left;
  font-family: Georgia;
  font-size: 425%;
  line-height: 60px;
  padding-top: 4px;
  padding-right: 8px;
  padding-left: 3px;
}

.hr_format {
  border-top: 1px solid RGB(0,0,128);
  margin-right: 0%;
}

#hr_2nd {
  border-top: 1px solid RGB(0,0,128);
}

#gallery {
  display: flex;
  flex-direction: row;
  margin-top: 3%;
}


#gallery img{
  width: 100%;
  margin: 0% auto;
}



.gallery_column_1{
	width: 25%;
}

.gallery_column_2{
	width: 72%;
	margin-left: 3%;
}

.gallery_column_1_row2 li{
	font-size: 100%;
}


.outer_youtube_container{
  margin-left: 28.25%;
  margin-right: 0%;
}



.youtube_container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
  
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe{
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.mailing_list{
  background-color: RGB(0,0,128);
  color: white;
  margin-right: 7%;
  margin-top: 8.5%;
}




#featured_properties {
  width: 71%;	
  margin-left: 28%;
}


.hidden {
  display: none;
}


/* GALLERY START */


.gallery figure {
  width: 75%;
  padding: 1%;
  margin: 0% auto;
}

.gallery {
  text-align: center;
  margin-bottom: 10px;
}



/* GALLERY END */


.display_inline{
  display: inline;	
}



/*  Start formatting for tables.   */


table caption {
  color: white;
}

table img {
  width: 100%;
  vertical-align: bottom;
}



thead tr{
   text-align: center;
}


table {
  border-spacing: 0px;
}

/*  End formatting for tables.    */



.format_row {
	background-color: RGB(0,0,128);
	border: solid 1px white;
	color: white;
	text-align: center;
	padding: 1%;
}


#serving_real_estate_needs {
  margin-bottom: 7%;	
}


footer{
  font-size: 60%;
  text-align: left;
  background-color: Gainsboro;
  margin-top: 5%;
}

footer p{
  margin-top: 0%;
  margin-bottom: 0%;
  margin-left: 35%;
}


.contact_form {
  display: flex;
  flex-direction: row;
}


.contact_form form{
  width: 70%
}


.contact_form fieldset{
   padding: 10%;
}

label {
  font-family: "Verdana", "sans-serif";
  /*  font-variant: small-caps;  */
  font-size: 18px;
  color: RGB(0,0,128);
  display: block;
}

input, textarea {
 
  width: 100%;
  margin-top: 2%;
  margin-bottom: 6%;
  margin-right: 2%;
  padding: 2%;
  border: 1px solid RGB(0,0,128);
  font-family: "Verdana", "sans-serif";
  font-size: 14px;
}

textarea {
  resize: vertical;
}


.contact_submit {
   font-family: "Verdana", "sans-serif";
   /* font-variant: small-caps; */
   font-size: 14px;
   color: RGB(0,0,128);
   width: 50%;
}

.error_message {
  max-width: 250px;
  align-self: flex-end;
  margin-top: 5px;
  font-size: 14px;
  color: red;
}



input[type=submit] {
  color: white;
  background-color: RGB(0,0,128);
  border-radius: 1%;
  padding: 1%;
  margin-top: 2%;
}


input[type=submit]:hover {
  color: RGB(0,0,128);
  background-color: green;
  border: 2px solid RGB(0,0,128);
}


.CapRate_Image {
  margin-left: -.25%;
}

.CapRate_Image img{
  margin-left: -.25%;
  margin-top: 5%;
  width: 120%;  
}

.caprate_table {
  font-size: 75%;
  border: solid 1px black;
  margin-left: .5%;
}

.no_padding {
  padding: 0%;
}


/************************************************************************************
	Begin section for Responsive Nav Bar
************************************************************************************/


/* Add a black background color to the top navigation */
.topnav {
   background-color: RGB(0,0,128); 
   overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: white;
  text-decoration: none;
  margin: 0%;
  padding: 1% 0%;
  border-right: solid white 1px;
  width: 14.1%;
  text-align: center;
}


/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}



#last_nav_item {
	border: none;
	width: 14.6%;
}


/************************************************************************************
	End section for Responsive Nav Bar
************************************************************************************/





/*************************************************************************************
	Begin Media Queries
**************************************************************************************/





/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
  
  #last_nav_item {
	border: none;
	width: 30%;
  }
	
  #serving_real_estate_needs {
    display: none;  
  }
  
  
  aside img {
    width: 60%;	
    font-size: 70%;
  }
	
}


/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
	border: none;
	width: 30%;
  }
}


/*************************************************************************************
	End Media Queries
**************************************************************************************/







