/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author:	UpSolution
Theme URI: http://impreza.us-themes.com/
Author URI: http://us-themes.com/
*/

@import url("style-bottons.css"); /* Using a url */

/*Add your own styles here:*/
img.myspecialresponsive {border-radius: 0.2rem!important; width: 100%; height: auto;}
img.myresponsive {width: 100%; height: auto;}

div.myhomegrid {
    padding: 0 0 6px;
    margin-bottom: 12px;
    border-bottom: 1px solid #a9a7a7;
    overflow: hidden;
}

div.myhomegrid a {
    padding: 3px 0 4px 4px;
    color: #454545;
    font-size: 12px;
    line-height: 24px;
    text-decoration: none;
}

ul.mygridul {list-style: none!important; justify-content: center; display: flex; margin: 0!important;}
ul.mygridul li {
    padding: 2px 10px 0 10px;
    line-height: 30px;
    overflow: hidden;
    float: left;
    width: auto;
    color: #454545;
    font-size: 15px;
    line-height: 25px;
}

.mygridul i {
    margin: 2px 5px 0 0;
    float: left;
    font-size: 23px;
}

.mygridimage {border-top-left-radius: 0.3em!important; border-top-right-radius: 0.3em!important;}
.mypropertygrid {border-bottom-left-radius: 0.3em!important; border-bottom-right-radius: 0.3em!important;}

/* 
Generic Styling, for Desktops/Laptops 
*/
table { 
  width: 100%; 
  border-collapse: collapse; 
}
/* Zebra striping */
tr:nth-of-type(odd) { 
  background: #eee; 
}
th { 
  background: #333; 
  color: white; 
  font-weight: bold; 
}
td, th { 
  padding: 6px; 
  border: 1px solid #ccc; 
  text-align: center; 
}

/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	/*
	Label the data
	*/
	td:nth-of-type(1):before { content: "Type"; }
	td:nth-of-type(2):before { content: "Land/Built"; }
	td:nth-of-type(3):before { content: "1 Year"; }
	td:nth-of-type(4):before { content: "6-11 Months"; }
	td:nth-of-type(5):before { content: "1-5 Months"; }
	td:nth-of-type(6):before { content: "Secret Alias"; }
	td:nth-of-type(7):before { content: "Date of Birth"; }
	td:nth-of-type(8):before { content: "Dream Vacation City"; }
	td:nth-of-type(9):before { content: "GPA"; }
	td:nth-of-type(10):before { content: "Arbitrary Data"; }
	td.salestable:nth-of-type(3):before { content: "Sales Price"; }
}