* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

/* ----------------Common Styling--------------------------- */
body {
    font-family: Arial, Helvetica, sans-serif;
    color: #999;
    line-height: 1em;
}

.clear {
    clear: both;
}

nav {
    float: right;
    margin-top: 35px;
    margin-right: 250px;
    /* position: fixed; */
}
a{
    text-decoration: none;
    color: #999;;
}
a:hover{
    background-color: #386;
    padding:5px;
    color:#fff;
}
.imgSectionClass img:hover{
    border:1px solid #000;
    cursor: pointer;
    padding: 5px;
    background: #229;
}
h1,
h2,
h3 {
    font-family: Georgia, 'Times New Roman', Times, serif;
}

ul {

    list-style: none;
}

/* ------------Header Styling-------------------- */
#mainHeader {
    width: 100%;
    height: 80px;
    background: #fff;
    border-bottom: 2px solid #ccc;

}

li {
    margin-right: 5px;
    padding: 0 15px 0 5px;
    border-right: 1px solid #99a;
    display: inline;
}

li:last-child {
    border: none;
}

#mainH1 {
    float: left;
    margin-left: 200px;
    margin-top: 43px;
    padding: 10px;

    font-size: 1.5em;
    /* border: 1px solid #000; */
    background-color: #4aaaa5;
    color: #fff;
}

/* ---------mainSectionAboutMe Styling------------ */
.outerSectionClass {
    width: 100%;
    height: 600px;
    background: #ccc url("../images/background.png") repeat;
}

/* 
#mainSectionAboutMe {
    width: 100%;
    height: 500px;
    background: #ccc url("../images/background.png") repeat;
} */

/* ------------------innerSectionAboutMe Styling-------------------------------- */
/* 
#innerSectionAboutMe {
    position: relative;
    
    width: 960px;
    height: 400px;
    margin-left: auto;
    margin-right: auto;
    top: 40px;
    padding: 20px;
    border: 1px solid #ddd;
    background: #fff;
} */
.innerSectionClass {
    position: relative;
    /* width: 90%; */
    /* width: 960px; */
    width: 80%;
    height: 480px;
    margin-left: auto;
    margin-right: auto;
    top: 40px;
    padding: 20px;
    border: 1px solid #ddd;
    background: #fff;
}

.innerSectionClass header {
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.innerSectionClass h2 {
    font-size: 1.5em;
    color: #4aaaa5;
    margin: 10px 0 10px 5px;
}

.innerSectionClass p {
    margin-top: 10px;
    line-height: 1.8em;
}

.innerSectionClass h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
}

/* -----------------imgDiv Styling----------------------------- */
#imgDiv {
    float: left;
    width: 30%;

    text-align: center;
}

#imgDiv img {
    width: 150px;
    height: 150px;

}

/* ---------------------Footer Styling------------------------------- */
footer {
    width: 100%;
    height: 50px;
    color: #fff;
    text-align: center;
    padding-top: 30px;
    /* vertical-align: bottom; */
    background: #666666;
    border-top: 5px solid #4aaaa5;
}

/* ------------------------Contact Styling---------------------------------------- */
label{
    display: block;
    /* margin-top:5px; */
    margin-bottom: 5px;
}
input,textarea{
width: 90%;
display: block;
padding: 5px;
margin-bottom: 15px;
border: 1px solid #999;
}
#btnSubmit{
    width: 150px;
    background: #4aaaa5;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
}
/* -------------------------------Portfolio Page Styling---------------------------------------------------- */
.outerSectionPortfolio{
    height: 700px;
}
.innerSectionPortfolio{
    height: 600px;
    overflow: auto;
}
.imgSectionClass{
    float: left;
    margin-left: 10px;
    margin-bottom: 10px;
}
.imgSectionClass h2{
    /* margin: 0; */
    /* position: relative; */
    font-size: 1.1em;
    
    padding: 10px;
    /* bottom: 50px; */
    text-align: center;
    /* background: #4aaaa5; */
    color: #000;

}
.imgSectionClass img{
    width: 200px;
    height: 200px;
    border: 1px solid #000;

}

#imgContainerDiv{
    width: 80%;
    margin:auto auto;
    text-align: center;
}
/*
#imgContainerDiv img{
    width:250px;
    height: 250px;
    border: 1px solid #000;
} */
#imgContainerDiv img:hover{
    padding:5px;
    background: #000;
    border-radius: 15px;
}
#imgContainerDiv a:hover{
    padding:0;
}

/* ------------------------------- */

#imgOpenDiv{
    width: 500px;
    height: 410px;
    position: absolute;
    display: none;
    top:100px;
    left: 550px;
    border:1px solid #000;
    text-align: center;
    background: #e6c684;
    box-shadow: 2px 2px 5px #000;
    border-radius: 10px;

}
#imgOpenDiv header{
    width: 100%;
    height: 30px;
    background: #229;
    color: #000;
    text-align: right;
    padding:5px 0;
    padding-right: 5px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-bottom: 5px;
}
#imgOpenDiv header span{
    cursor:pointer;
    padding:5px;
    
}
#imgOpenDiv header span:hover{
    background: #999;
}
#divImg{
    width: 90%;
    height: 370px;
    margin-top:0px;
    /* margin-right: auto; */
}

/* ----------------------------------------------------------- */
@media only screen and (max-width:500px){
    #imgDiv {
        float: none;
        width: 80%;
    }
    .innerSectionClass{
        overflow: auto;
    }

    #mainH1 {
        float: none;
        margin-left: 0px;
         margin-top: 0px;
         text-align: center;
}
nav {
    float: none;
    margin-top: 10px;
    margin-right: 0px;
    text-align: center;
}
#imgContainerDiv {
    width: 100%;
    height: auto;
    overflow: auto;
}
#imgContainerDiv img {
    width: 150px;
    height: 150px;
}
.imgSectionClass {
    float: none;
    margin-left: 0px;
    margin-bottom: 0px;
}

}
