@charset "utf-8";
/*
   New Perspectives on HTML5 and CSS3, 7th Edition
   Tutorial 2
   Case Problem 4
   
   br_Listings2048
   Filename: br_layout.css

*/

/*-------------------------------------HTML STYLES-------------------------------------*/

html {
    background: #9A9AFC;
    font-family: Verdana, Geneva, sans-serif;
    height: 100%;
}

body {
    background-image: url(br_paper.png);
    font-family: Verdana, Geneva, Arial, sans-serif;
    margin-left: auto;
    margin-right: auto;
    width: 1020px;
    border-left: 1px solid rgb(51, 51, 51);
    border-right: 1px solid rgb(51, 51, 51);
    box-shadow: 15px 0 25px rgb(51, 51, 51), -15px 0 25px rgb(51, 51, 51);
    font-weight: 400;
    line-height: 1.357;
    color: rgb(51, 63, 72);
    display: flex;
    flex-flow: column nowrap;
}

div#container {
    flex: 1 0 auto;
}

/*-------------------------------------HEADER-------------------------------------*/

body>header {
    background: linear-gradient(#BDBDBD, #363636 90%);
}

header h1 {
    background: linear-gradient(to right, rgb(153, 83, 6) 30%, black);
    color: white;
    font-size: 1.4em;
    padding: 5px 0 5px 12px;
}

body>header>h1 {
    font-size: 20px;
}

body>header h1 em {
    font-size: 0.7em;
}

body>header>nav {
    padding-left: 20px;
    padding-right: 20px;
}

body>header nav ul li {
    background-color: rgb(233, 200, 163);
    font-size: 0.8em;
    padding: 0 10px;
}

body>header>nav>ul>li {
    background: radial-gradient(#C4C5EA, #9C9DA2 80%);
    border: rgb(51, 51, 51) solid 5px;
    width: 95%;
}

body>header nav ul li a {
    position: relative;
    display: block;
    width: 100%;
    color: #2196f3;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-decoration: none;
    font-size: 12px;
    overflow: hidden;
    transition: 0.2s;
}

header nav ul li a:hover {
    color: #255784;
    background: #2196f3;
    box-shadow: 0 0 10px #2196f3, 0 0 40px #2196f3, 0 0 80px #2196f3;
}

body>header>img {
    display: block;
    width: 100%;
}

body>header>nav#topLinks {
    background-color: rgb(51, 52, 45);
    color: white;
    line-height: 1.7em;
    text-align: right;
    padding: 5px 10px 5px 0;
}

p#FirstLine {
    color: white;
    font-size: 1.2em;
    float: right;
    position: relative;
    margin-top: 0;
}

p#SecondLine {
    color: white;
    font-size: 2.2em;
}

p#ThirdLine {
    color: white;
    font-size: 1.2em;
    float: right;
    position: relative;
    margin-top: -1.3em;
}

/*-------------------------------------SECTION-------------------------------------*/

body>div#container {
    background: white;
}

section#main p {
    line-height: 1.4em;
    margin: 15px;
}

section#main {
    padding: 10px 20px 0 20px;
}

section#main h2 {
    color: white;
    background: linear-gradient(to right, rgb(153, 83, 6) 30%, black);
    font-size: 1.1em;
    letter-spacing: 5px;
    padding: 5px 0 5px 12px;
}

section#main img {
    display: block;
}

section#main>.potraitpicture img {
    display: block;
    float: left;
    border-radius: 50%;
    width: 200px;
    width: 10%;
    border-radius: 50%;
}

img.houseimage {
    width: 100%;
    border-radius: 0%;
}

img.icon1 {
    width: 75px;
    height: 75px;
    border-radius: 50%;
}

img.icon2 {
    width: 50px;
    height: 50px;
}

img.icon3 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.icon1, .icon2, .icon3 {
    display: block;
    float: left;
}

[id^=introduction] {
    font-size: 25px;
    font-family: Arial, Helvetica, sans-serif;
}

[id^=property_description_] {
    font-family: "sans300", Arial, Helvetica, sans-serif;
    font-size: 19px;
    text-decoration: none;
}

.align {
    text-align: center;
}

img.potraitpicture {
    display: block;
    float: left;
    border-radius: 50%;
    width: 40%;
    /*Located at the Our Agent: part*/
}

.additionalinfo {
    column-count: 3;
    column-width: 100px;
    /*#Additional*/
    /*Located at the Our Agent: part*/
}

a#contact {
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    color: #2196f3;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-decoration: none;
    font-size: 24px;
    overflow: hidden;
    transition: 0.2s;
    /*Located at the Our Agent: part, styles the CONTACT US part.*/
}

/*-------------------------------------TABLE STYLING-------------------------------------*/

col.Title_Of_Table {
    background-color: #3b893c;
    width: 23.559%;
    /*I do still want to retain the distincitve looks of nth type but this works, so default will be white,
    but when hovering it will be white grey*/
    /*Additional requirement -> This is a col group btw-*/
}

col.School {
    background-color: #ddd;
    width: 35.4673%;
    /*I do still want to retain the distincitve looks of nth type but this works, so default will be white,
    but when hovering it will be white grey*/
    /*Additional requirement -> This is a col group btw-*/
}

col.Status {
    background-color: #ddd;
    width: 13.83%
    /*I do still want to retain the distincitve looks of nth type but this works, so default will be white,
    but when hovering it will be white grey*/
    /*Additional requirement -> This is a col group btw-*/
}

col.Status2 {
    background-color: #ddd;
    width: 11.26%;
    /*I do still want to retain the distincitve looks of nth type but this works, so default will be white,
    but when hovering it will be white grey*/
    /*Additional requirement -> This is a col group btw-*/
}

col.Distance {
    background-color: #ddd;
    width: auto;
    /*I do still want to retain the distincitve looks of nth type but this works, so default will be white,
    but when hovering it will be white grey*/
    /*Additional requirement -> This is a col group btw-*/
}

#customers {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

#customers td, #customers th {
    border: #ddd solid 1px;
    padding: 8px;
}

#customers tr:nth-child(even) {
    background-color: rgb(247, 244, 244);
    /*#Additional*/
}

#customers tr:hover {
    background-color: #ddd;
    /*#Additional*/
}

#customers th:hover {
    text-decoration: none;
    background-color: #4CAF50;
    /*#Additional*/
}

thead th:first-of-type {
    background-color: #4CAF50;
    /*#Additional*/
}

#customers th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    color: white;
    /*#Additional*/
}

#First_Row {
    background-color: #4CAF50;
    /*In order to differentitate and makr the groups more easily to read, i have changed */
}

tfoot {
    color: white;
    background-color: black;
    /*Additional*/
}

table>caption {
    caption-side: bottom;
    text-align: center;
    font-size: 15px;
    font-weight: 900;
    font-style: italic;
    color: rgb(51, 51, 51);
    /*#Additional*/
}

/*-------------------------------------FOOTER-------------------------------------*/

footer {
    font-size: 12px;
    font: small-caps bold 0.9em/3em;
    text-align: right;
    background-color: #1816BF;
    color: rgb(231, 240, 225);
    padding: 15px;
    flex-shrink: 0;
}

footer>a {
    color: white;
}

/*-------------------------------------MEDIA STYLING-------------------------------------*/

@media only screen and (max-width: 640px) {
    a#navicon {
        display: block;
    }
    header nav ul {
        display: none;
    }
    header nav ul li {
        font-size: 1em;
        line-height: 1.3em;
        height: 1.3em;
    }
    a#navicon:hover+ul, header nav ul:hover {
        display: block;
    }
}

@media only screen and (min-width: 641px) {
    header nav ul {
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
    }
    header nav ul li {
        flex: 0 1 auto;
    }
}

/*-------------------------------------NAVIGATION STYLING-------------------------------------*/

nav#topLinks a:link, nav#topLinks a:visited {
    color: white;
}

nav#topLinks a:hover, nav#topLinks a:active {
    color: rgb(248, 237, 212);
}

/*-------------------------------------TEXT DECORATION-------------------------------------*/

nav#mainLinks ul li {
    background-color: #A09FA5;
    border: double;
    padding: 10px;
    display: block;
    float: left;
    text-align: center;
    width: 20%;
}

nav#mainLinks ul li a {
    color: white;
    display: block;
    height: 2.5em;
    text-align: center;
    line-height: 2.5em;
}

nav#mainLinks a:link, nav#mainLinks a:visited {
    color: white;
}

table.schedule thead {
    background: rgb(153, 0, 153);
    color: white;
    /*Displays the rows from the table header row group in a white font on a purple background*/
}