/*
Color Hex Codes:
Grey bg bar: #e9e9e9
Dark Grey Text: #515151
Link grey: #f0f0f0
*/

body {
    color: #515151;
    font-family:sans-serif;
    margin:0;
    padding:0;
    line-height: 1.3em;
}

header {
    margin-left: auto;
    margin-right:auto;
    width: auto;
    text-align: center;
    font-size: 72pt;
    padding: 25px;
    line-height: .7em;
    background-image: url(../skullsbg.png);
}

#subheader {
    font-stretch:ultra-condensed;
    font-size: .78em;
}

main {
    height: auto;
    background-color: #FFFFFF;
    margin-top:0;
   
}

nav {
    font-size: 2em;
    line-height: 1.75em;
    font-weight: bold;
    background-color: #FFFFFF;
    border-right: 2px solid #e9e9e9;
    margin-bottom: 25px;
    float: left;
    margin-left: 50px;
    clear: right;
    padding-bottom: 100px;
    height:100%;
    
}

footer
{
    font-size:.7em;
    color: #666666;
    text-align:center;
    padding-top: 75px;
    margin-bottom: 15px;
    clear:both;
}

section {
    width: 80%;
    margin-top: 25px;
    margin-left: 250px;
    
}

.center {
    background-color: #FFFFFF;
    padding: 8px;
    padding-top: 25px;
    width: 70%;
    margin-right: 15px;   
}


.floatright {
    float:right;
    width: 25%;
}

img {
    display:inline-block;
}
form {
    width: 60%;
    margin-left: 10%;
}
table {
    border-style: none;
    border-collapse: collapse;
    padding-left: 5%;
    width: 100%;
}

td {
    padding-top: 8px;
    padding-left: 16px;
}

.fname {
    width:20%;
    text-align:right;
}

input, textarea {
    width:100%;
}

textarea {
    overflow: scroll;
    resize: vertical;
    flex-wrap: wrap;
}

#submit {
    display: block;
    width: 55px;
    margin-top: 25px;
   margin-left: 60%;
}

iframe {
    width:100%;
    min-height:560px;
    overflow: scroll;
    border: 0;
    
}

.tumblrInjection {
    width: 900px;
    height: 600px;
    overflow: scroll;
    overflow-x: hidden;
}

.tumblrInjectionLine {
    padding: 10px;
    margin: 3px;
    border: none;
}
.tumblrInjectionLine:nth-of-type(2) {
    background-color: #f0f0f0;
}

#tumblrInjectionPhoto1, #tumblrInjectionPhoto2, #tumblrInjectionPhoto3 {
    max-height: 400px;
    max-width: 400px;    
} 

.tumblrtext {
    float: right;
    width: 50%;
    margin-left: 25px;
}

.btn {
    float: left;
    min-height: 25px;
    overflow: hidden;
    position: absolute;
    top: 12px;
    left: 10px;  
    }

.date {
    font-style: italic;
}

#fotoramaAlt {
    display: none;
}

/*List Rules */

ul {
    margin: 0px;
    padding: 5px;
    padding-top: 5px;
    overflow: hidden;
    list-style-type: none;
    margin-bottom: 0px;
}

nav li {
    display: block;
    
}

li a:link{
   color: #515151;
    text-decoration: none; 
    text-align: center;
    padding: 8px 14px;
}

li a:visited {
    color: #515151;
    text-decoration: none;   
}

li a:hover{
    background-color:  #e9e9e9;
}

footer li {
    display: inline;
}
footer ul {
    padding: 0;
}

footer a:link, footer a:visited {
    color: #515151;
    text-decoration: none;  
}

/*GALLERY RULES*/

* {
	box-sizing: border-box;
}

.slideshow-container {
	max-width:1000px;
	height: 700px;
	position: relative;
}

.Slides img {
	max-width: 1000px;
	max-height: 700px;
	vertical-align: middle;
	margin-left: auto;
	margin-right: auto;
	
}

.slidesBox
{height: 650px;
margin-bottom: 5px;}

.Slides {
	display: none;
}

.prev, .next {
	cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: grey;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
	
}

.cursor {
  cursor: pointer;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.Captiontext {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: -8px;
  width: 100%;
  text-align: center;
  background-color: white;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.column {
  float: left;
  width: 16.66%;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

.preview {
	margin-top: 25px;
	padding-top: 45px;
}
/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}
/*MEDIA TYPE RULES*/


@media only screen and (max-width: 480px){
    body {
        background-color: white;
        line-height: 1em;
        font-size: .8em;
    }
    
    header {
        font-size: 24pt;
        padding: 5px;
        background-image: none;
        background-color: #e9e9e9;
    }
    
    main{
        background-image: none;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }
    
    nav {
        font-size: .8em;
        border-right: none;
        border-bottom: 1px solid #e9e9e9;
        margin-left: 15%;
        padding: 10px;
        
    }
    
    nav ul {
        padding: 3px;
        
    }
    
    nav li {
        display: inline-block;
    }
    
    li a:link {
        padding: 5px;
    }
    
    li a:hover {
        background-color: white;
    }
    
    section {
        margin: 5px;
        width: auto;
    }
    section img{
        display: none;
    }
    
    section div {
        padding: 5px;
        width: 50%;
    }
    
    section p {
        margin-left: 5px;
    }
    
    .fotorama {
        display: none;
    }
    
    #fotoramaAlt {
        display: inline-block;
    }
    footer {
        padding-top: 20px;
    }
    
    form {
        margin-left: 0;
        min-width: 150px;

    }
    
    .tumblrInjection {
        display:none;
    }
    
    .floatright {
        float: none;
    }
}

