﻿
/**/
:root {
    --background: #233C9B;/*rgba(0, 214, 170, .5)*/ /*RGB value plus transperancy*/
}


*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 20px;
    /*background: #222;*/
    /*font-family: sans-serif;
    font-weight: 400;*/
    border: 0;
    margin: 0;
    padding: 0;
    background: #F2F5FE url("../design/bg.gif") 0 0 repeat-x;
    /*font: 70%/160% "verdana",sans-serif;*/
    color: #192666;
    /*text-align: center;*/
}

h1 {
    border: 0;
    margin: 0;
    padding: 10px;
    height: 50px;
    background-image: url('../design/header.jpg');
    background-size:cover;
    /*background-color: red;*/
}

/*table{
    margin: 50px;
}*/


#lblUserName {
    text-transform: capitalize;
    font-size:  24px;
    padding-left: 20px;
    color: orangered;
}

#header {
    border: 0;
    height: 100px;
    /*background-image: url('../design/header.jpg');*/
    background-color: darkblue;
    /*opacity: .5;*/
    color: #FFF;
    text-align: center;
    margin: 0;
    padding: 0;

}

.content {
    height: 200vh;
    background-image: url('../Images/Dallas-Texas-real-estate-market Large.jpg');
    background-color: #333;
    /*background-blend-mode: multiply;*/
    background-size: cover;
    display: grid;
    /*place-items: center;*/
}

.mainInfo {
    /*position: absolute;
    top: 200px;
    height: 200px;*/
    margin: 20px;
}



/* ------------Navigation Styles Start Here  -----------------*/
header {
    /*background: var(--background);*/
    /*background-image: url('../design/header.jpg');*/
    /*background: #233C9B 0 0 no-repeat;
    color: #FFF;*/
    /*text-align: center;*/
    /*z-index: 999;*/ /*It makes sure it is always on top of everything else*/
    /*position: fixed;
    width: 100%;*/
}

.logo {
    background-image: url('../design/header.jpg');
    height: 50px;
    grid-column: span;
}


.nav-toggle {
    display: none;
}

.nav-toggle-label {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 1em;
    /*border: 1px solid red;*/
    height: 70px;
    display: flex;
    align-items: center;

}

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: white;
        /*text-align: center;*/
        height: 2px;
        width: 2em;
        border-radius: 3px;
        position: relative;
    }


        .nav-toggle-label span::before,
        .nav-toggle-label span::after {
            content: '';
            position: absolute;
        }

        .nav-toggle-label span::before {
            bottom: 7px;
        }

        .nav-toggle-label span::after {
            top: 7px;
        }

nav {
    /*position: absolute;*/ /*relative to where everything is*/
    text-align: left;
    top: 100%; /*moving 100% away from top log*/
    left: 0;
    background: var(--background);
    opacity: .85;
    width: 100%;
    /*display: none;*/
    transform: scale(1, 0);
    transform-origin: top; /*shows up from top to bottom*/
    transition: transform 100ms ease-in-out;
}

    nav ul {
        margin: 0;
        padding: 0;
        list-style: none;

    }

    nav li {
        margin-bottom: 1em;
        margin-left: 1em;
    }


ul li:hover ul {
    /*show the list when hovered only*/
    display: block;
}

ul li ul li a {
    padding: 8px 14px;
}

    ul li a:hover {
        color: black;
        background-color: lightblue;
    }

    ul li ul li a:hover {
       color:black;
        background-color: lightblue;
    }

    nav a {
        color: white;
        text-decoration: none;
        font-size: 1.2rem;
        /*font-weight: bold;*/
        text-transform: uppercase;
        opacity: 0;
        transition: opacity 100ms ease-in-out;
        /*text-align: center;*/
    }

        nav a:hover {
            color: white;
        }

.nav-toggle:checked ~ nav {
    /*display: block;*/
    transform: scale(1,1); /* can do a transition*/
}

    .nav-toggle:checked ~ nav a {
        opacity: 1;
        transition: opacity 250ms ease-in-out 250ms;
    }

.PTOForm{
    margin: 20px;
}

.FirstRow {
    max-width: 800px;
    margin: 40px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.FirstRow-Column {
    margin: 10px 10px 10px 10px;
    flex-basis:30%;
}



.SecondRow {
    max-width: 800px;
    margin: 40px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.SecondRow-Column {
    /*width: 30%;*/
    margin: 10px 10px 10px 10px;
    flex-basis: 30%;
    /* margin-bottom: 20px;*/
}

.ThirdRow {
    max-width: 800px;
    margin: 40px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.ThirdRow-Column1 {
    flex: 1;
    /*margin: auto 20px auto auto;*/
    margin-bottom: 20px;
    margin-right: 20px;
}


.ThirdRow-Column2 {
    flex: 1;
    /*margin: auto;*/
}

.FourRow {
    max-width: 800px;
    margin: 40px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.FourRow-Column {
    margin: 0px 20px 20px 0px;
}


.FifthRow {
    max-width: 800px;
    margin: 40px auto 0 auto;
    padding: 0px 0px 50px 0px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.FifthRow-Column {
    margin: 0px 20px 20px 0px;
}

.SixRow {
    max-width: 800px;
    margin: 0 0 0 0;/*40px auto 0 auto;*/
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.SixRow-Column{
    margin: 0 0 0 0;
}



/* for Big screens*/
@media screen and (min-width: 800px) {
    .nav-toggle-label {
        display: none;
    }

    header {
        display: grid;
        grid-template-columns: 1fr auto minmax(600px, 3fr) 1fr;
    }

    .logo {
        grid-column: 2 / 3;
    }

    nav {
        all: unset;
        grid-column: 3 / 4;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        line-height: 50px;
        text-align: center;
        margin-right: 30px;
        /*border: 1px solid red;*/
    }

        nav ul {
            display: flex;
            justify-content: flex-end;
        }

        nav li {
            margin-left: 3em;
            margin-bottom: 0;
        }

        nav a {
            opacity: 1;
            position: relative;
            font-size: 1rem;
            font-weight: bold;
        }

            nav a::before {
                content: '';
                display: block;
                height: 5px;
                background: white;
                position: absolute;
                bottom: -1em; /*for the lines above the nav lists*/
                left: 0;
                right: 0;
                transform: scale(0,1);
                transform-origin: right;
                transition: transform ease-in-out 250ms;
            }

            nav a:hover::before {
                transform: scale(1,1);
            }

    .nav-item-cell{
        display: none;
    }

    ul li ul li {
        display: none;
    }


/*For printing*/
@media print
    {
    .FirstRow {display:none;}
    .FirstRow-Column {  display: none;}
    }


}
