body {
    margin: 0 auto;
    font-family: sans-serif;
    font-weight: 100;
    text-decoration: none;
    list-style: none;
    background-color: #f4f4f4;
}

h1 {
    font-size: 1.4em;
    font-family: sans-serif;
    font-weight: 100;
    text-shadow: 3px 3px 3px #e1e1e1;
    color: #4f8bbd;
}

h2 {
    font-size: 1.4em;
    font-family: sans-serif;
    font-weight: 100;
    text-shadow: 3px 3px 3px #e1e1e1;
    color: red;
}

h3 {
    font-size: 1.4em;
    font-family: sans-serif;
    font-weight: 100;
    text-shadow: 3px 3px 3px #e1e1e1;
    color: #4f8bbd;
}

h4 {
    font-size: 1.4em;
    font-family: sans-serif;
    font-weight: 100;
    text-shadow: 3px 3px 3px #e1e1e1;
    color: #4f8bbd;
}
a {
    text-decoration: none;
}

p {
    font-size: 1.0em;
    font-family: sans-serif;
    font-weight: 100;
    color: #808080; /* Dark Gray */
}

@font-face {
    src: url('fonts/KGSomebodyThatIUsedToKnow.ttf');
}

/* Navigation Menu */

.nav {
    background-color: inherit; /* Facebook color #3b5998 */
    text-decoration: none;
    text-align: center;
    list-style: none;
    border-top: 1px solid #c1c1c1;
    border-bottom: 1px solid #c1c1c1;
/*    box-shadow: 0px 3px 3px #c1c1c1;*/
    padding: 20px;
}

/*.nav > li { 
    padding: 10px 5px;
    display: inline-block;
}*/

.nav > a { 
    color: #808080;
    padding: 10px;
    text-decoration: none;
}

.nav > a:hover { 
    color: #000000;
    background: #c1c1c1;
    text-shadow: 2px 2px 3px #808080;
    border-radius: 5px;
}

.nav > a:hover:not(.active) {
    color: #ffffff; /* used to be #000000 (black) */
}

.active {
    background-color: #4f8bbd;
    border-radius: 5px;
}



/* End of Navigation Menu */




#container {
/*    margin-left: auto;
    margin-right: auto;
    padding: 10px;*/
    width: 100%;
    background-color: #f4f4f4;
}

.incontainer {
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    max-width: 900px;
    background-color: #f4f4f4;
    height: auto;
}

.boxmain {
    display: inline-block;
    margin-top: 8px;
    margin-bottom: 8px;
    max-width: 535px;
    height: auto;
    padding: 20px;
    /*background-color: #ffffff;*/
    border: 0px solid #808080;
    border-radius: 5px;
    /*box-shadow: 3px 3px 3px #c1c1c1;*/
}

.boxright {
    float: right;
    max-width: 300px;
    height: auto;
    background-color: inherit;
}

.inboxright {
    margin-top: 20px;
    margin-bottom: 8px;
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
    height: auto;
    background-color: #4f8bbd; /* orange */
    border: 1px solid #4f8bbd; /* orange */
    border-radius: 5px;
    box-shadow: 3px 3px 3px #dddddd;
}

.inboxright > a > img {
    width: 100.2%;
    border-radius: 5px 5px 5px 5px;
}

.inboxright > p {
    font-size: 1.0em;
    font-family: sans-serif;
    font-weight: 100;
    color: #ffffff;
    background-color: inherit;
    text-align:center;
}

.centerbox {
    max-width: 900px;
    height: auto;
    background-color: inherit;
    margin-left: auto;
    margin-right: auto;
    
}

.incenterbox {
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    height: auto;
    background-color: #ffffff;
    border: 1px solid #4f8bbd; /* orange */
    border-radius: 5px;
    box-shadow: 3px 3px 3px #dddddd;
}

.incenterbox > a > img {
    width: 100.2%;
    border-radius: 5px 5px 5px 5px;
}

.incenterbox > p {
    font-size: 1.0em;
    font-family: sans-serif;
    font-weight: 100;
    color: #808080;
    background-color: inherit;
    text-align:justify;
    margin-left: 50px;
    margin-right: 50px;
}

.incenterbox > img {
    max-width: 100%;
    border-radius: 4px 4px 0px 0px;
}

footer {
    margin-bottom: 0;
    background-color: inherit/* #c1c1c1*/;
    padding: 10px;
    clear: both;
}

.copyright {
    margin: 0 0px;
    text-align: center;
    padding: 10px;
    font-size: .7em;
    color: #4f8bbd; /* orange */
    width: 100%;
    background-color: inherit;
}

/* Social Media - Every Page */

.socialmedia {
    margin-left: auto;
    margin-right: auto;
    max-width: 70%;
    padding: 10px;
    text-align:center;
    border-top: 1px solid #4f8bbd; /* orange */
}

.socialmedia > a > img {
    padding: 2px 2px;
}

.socialmedia > a > img {
    width: 26px;
/*    filter: none;
    -webkit-filter: none; /* Chrome 19+, Safari 6+, Safari 6+ iOS */
/*    -moz-filter: none;
    -o-filter: none;*/
}

.socialmedia > a > img:hover {
/*    filter: grayscale(100%);
    -webkit-filter:grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
/*    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);*/
    padding: 2px 2px;
    background-color: #4f8bbd; /* Orange */
    border-radius: 20px;
}

/* Top of each page */

.socialmediatop {
    max-width: 100%;
    padding: 10px;
    text-align:right;
    border-top: 3px solid #4f8bbd;
}

.socialmediatop > a > img {
    padding: 2px 2px;
}

.socialmediatop > a > img {
    width: 22px;
}

.socialmediatop > a > img:hover {
    padding: 2px 2px;
    background-color: #4f8bbd; /* Orange */
    border-radius: 20px;
}

/* End of Social Media - Every Page */






/* INDEX PAGE */

.mainpicture {
    max-width: 600px;
    margin-right: auto;
    margin-left: auto;
    box-shadow: 5px 5px 5px #c1c1c1;
/*    margin: 15px 7px;*/
}

.mainpicture > a > img {
    background: #ffffff;
    max-width:100%; 
    box-shadow: 5px 5px 15px #c1c1c1; 
    padding: 10px; 
    border: 1px solid #808080;
    border-radius: 3px;
}

.feedjit {
    /*max-width: 170px;
    margin: 15px 57px;*/
    margin-left: auto;
    margin-right: auto;
    /*box-shadow: 5px 5px 5px #c1c1c1;*/
}

/* END OF INDEX PAGE */




/*Back (Return) BUTTON */

.backbutton > a {
    font-size: .8em;
    color: #808080;
    /*background-color: #eaeaea;*/
    text-shadow: 3px 3px 3px #c1c1c1;
    text-decoration: none;
    padding: 10px;
    /*border: 1px solid #808080;*/
    /*border-radius: 10px;*/
}

.backbutton > a:hover {
    font-size: .8em;
    color: #4f8bbd;
    text-shadow: 3px 3px 3px #c1c1c1;
    text-decoration: none;
    padding: 10px;
    /*border: 1px solid #4f8bbd;*/
}

/*END of Back (Return) BUTTON */

/* Blog / Article Page */

.picsonly > a {
    font-size: .8em;
    color: #808080;
    /*background-color: #eaeaea;*/
    text-shadow: 3px 3px 3px #c1c1c1;
    text-decoration: none;
    padding: 10px;
    /*border: 1px solid #808080;*/
    /*border-radius: 10px;*/
}

.picsonly > a:hover {
    font-size: .8em;
    color: #4f8bbd;
    text-shadow: 3px 3px 3px #c1c1c1;
    text-decoration: none;
    padding: 10px;
    /*border: 1px solid #4f8bbd;*/
}

.textandpics > a {
    font-size: .8em;
    color: #808080;
    /*background-color: #eaeaea;*/
    text-shadow: 3px 3px 3px #c1c1c1;
    text-decoration: none;
    padding: 10px;
    /*border: 1px solid #808080;*/
    /*border-radius: 10px;*/
}

.textandpics > a:hover {
    font-size: .8em;
    color: #4f8bbd;
    text-shadow: 3px 3px 3px #c1c1c1;
    text-decoration: none;
    padding: 10px;
    /*border: 1px solid #4f8bbd;*/
}


.article {
    max-width: 500px; /* it was "width= 70%" */
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 5px 5px 5px #e1e1e1;
    border-radius: 5px;
    overflow: auto;
    background-color: #ffffff;
    border: 1px solid #c1c1c1;
}

.pictureleft {
    margin: 10px;
    float: left;
    display: inline-block;
    padding: 10px;
    border: 1px solid #c1c1c1;
    box-shadow: 2px 2px 4px #e1e1e1;
    background-color: #ffffff;
}

.pictureleft > a:hover {
    filter: grayscale(100%);
    -webkit-filter:grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
    -ms-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
}

.pictureright {
    margin: 10px;
    float: right;
    display: inline-block;
    padding: 10px;
    border: 1px solid #c1c1c1;
    box-shadow: 5px 5px 5px #e1e1e1;
    background-color: #ffffff;
}

.pictureright > a:hover {
    filter: grayscale(100%);
    -webkit-filter:grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
    -ms-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
}

.article > p {
    padding: 10px;
}

.article > a {
    text-decoration: none;
}

.article > a > h1:hover {
    color: #8fbc8f; /* green color */
    text-shadow: 3px 3px 3px #e1e1e1;
}

.article > a > h4:hover {
    color: #8fbc8f; /* green color */
    text-shadow: 3px 3px 3px #e1e1e1;
}
.date {
    font-size: .8em;
    color: #c1c1c1;
}

/* END of Blog / Article Page */


/* Pictures Webpage */ 

#container > .incontainer > .picmenu {
    max-width: 700px;
    line-height: 50px;
    padding: 10px;
}

#container > .incontainer > .picmenu > a > img {
    width: 150px;
    height: 75px;
/*    box-shadow: 4px 4px 4px #c1c1c1; */
}

#container > .incontainer > .picmenu > a {
    padding: 5px;
}

#container > .incontainer > .picmenu > a:hover {
    opacity: .5;
    -webkit-opacity: .5;
    -ms-opacity: .5;
    -moz-opacity: .5;
    -o-opacity: .5;
}

/* End of Pictures Webpage */ 



/* FLIP 3D */

.flip3d {
    display: inline-block;
    width: 240px;
    height:200px;
    margin-left: 5px;
    margin-right: 5px;
    /*float:left;*/
}

.flip3d > .front {
    position: absolute;
    transform: perspective(600px) rotateY(0deg);
    -webkit-transform: perspective(600px) rotateY(0deg);
    -ms-transform: perspective(600px) rotateY(0deg);
    -moz-transform: perspective(600px) rotateY(0deg);
    -o-transform: perspective(600px) rotateY(0deg);
    width: 240px;
    height: 200px;
    /*border-radius: 7px;*/
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    transition: transform .5s linear 0s;
    transition: -webkit-transform .5s linear 0s;
    transition: -ms-transform .5s linear 0s;
    transition: -moz-transform .5s linear 0s;
    transition: -o-transform .5s linear 0s;
}

.flip3d > .back {
    position: absolute;
    transform: perspective(600px) rotateY(180deg);
    -webkit-transform: perspective(600px) rotateY(180deg);
    -ms-transform: perspective(600px) rotateY(180deg);
    -moz-transform: perspective(600px) rotateY(180deg);
    -o-transform: perspective(600px) rotateY(180deg);
    width: 240px;
    height: 200px;
    /*border-radius: 7px;*/
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    transition: transform .5s linear 0s;
    transition: -webkit-transform .5s linear 0s;
    transition: -ms-transform .5s linear 0s;
    transition: -moz-transform .5s linear 0s;
    transition: -o-transform .5s linear 0s;
}
.flip3d:hover > .front {
    transform: perspective(600px) rotateY(-180deg);
    -webkit-transform: perspective(600px) rotateY(-180deg);
    -ms-transform: perspective(600px) rotateY(-180deg);
    -moz-transform: perspective(600px) rotateY(-180deg);
    -o-transform: perspective(600px) rotateY(-180deg);
}

.flip3d:hover > .back {
    transform: perspective(600px) rotateY(0deg);
    -webkit-transform: perspective(600px) rotateY(0deg);
    -ms-transform: perspective(600px) rotateY(0deg);
    -moz-transform: perspective(600px) rotateY(0deg);
    -o-transform: perspective(600px) rotateY(0deg);
}

.flip3d > .front > a > img {
    border-radius: 10px;
    box-shadow: 5px 5px 5px #c1c1c1;
}

.flip3d > .back > a > img {
    box-shadow: 5px 5px 5px #c1c1c1;
}

/* END of Flip3d */

.boxright > .twitter {
    margin-left: auto;
    margin-right: auto;
}

/* CARRY ON A TRIP */


.articlecarryontrips {
    max-width: 500px; /* it was "width= 70%" */
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 5px 5px 5px #e1e1e1;
    border-radius: 5px;
    overflow: auto;
    background-color: #ffffff;
    border: 1px solid #c1c1c1;
}

.carryontrips {
    margin: 10px;
    float: left;
    display: inline-block;
    padding: 10px;
    border: 1px solid #c1c1c1;
    box-shadow: 2px 2px 4px #e1e1e1;
    background-color: #ffffff;
}

/* CARRY ON A TRIP */
