/*  Cascading Style Sheet - Roger Spohn Photography LLC    */


body { 
    background-color: #666;
    font-family: arial, helvetica, sans-serif; 
    font-size: 100%;
    color: #000;
    margin: 0;
    padding: 0;
}


a {
    text-decoration: none;
    color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

a img {
    border: 0;
}

h1, h2, h3 {
    color: #ccc;
}

p{
    text-align: center;
    text-indent: 0;
}

* {
    box-sizing: border-box;
}

/* width definitions for grid style page layout  */

.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

[class*="col-"] {
        float: left;
}

@media only screen and (max-width: 950px) {

[class*="col-"] {
        width: 100%;
}

}


/* definitions for header area  */

header {
    height: auto;
    text-align: center;
    text-shadow: 0.1em 0.1em 0.2em black;
}

.headerLeftContainer {
    height: auto;
    font-family: "Courier New", Courier, monospace;
}

.headerCenterContainer, .headerRightContainer {
    height: auto;
}


/* older html 4 class definitions for the header area. Will be removed upon 
   migration to html 5 <header> tags */

.header {
    height: 92px;
    width: 100%;
}

.header img {
    height: 90px;
    width: 496px;
    border-bottom: 2px solid #999;

}




/* definitions for the navigation row */


nav {
    min-height: 2em;
    margin: 1em;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

nav p {
    text-align: center;
}

nav p a {    
    padding-left: 1em;
    padding-right: 1em;
    border-left: 1px solid #999;
    border-right: 1px solid #999;	
    margin: 0;
}

nav p a:hover {
    box-shadow: 0.25em 0.25em 0.5em rgba(0,0,0,0.5) inset;
    -webkit-box-shadow: 0.25em 0.25em 0.5em rgba(0,0,0,0.5) inset;
    -moz-box-shadow: 0.25em 0.25em 0.5em rgba(0,0,0,0.5) inset;
}

/* navigation row definitions for list implementation */

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav li {
    float: left;
}

nav li a {
    display: block;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
    border-right: 1px solid #999;	
    margin: 0.25em;
}

nav li a:hover {
    background-color: #333;
}

/*   Classes for Index page layout   */


.leftIndexImageContainer, .centerIndexImageContainer, .rightIndexImageContainer {
    height: auto;
    padding: 5%;
    display: none;
}

[class*="IndexImageContainer"] img {
    border: 35px solid white;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.75);
    -webkit-box-shadow: 10px 10px 10px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 10px rgba(0,0,0,0.75);
}

/* Fading animation */

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 2s;
    animation-name: fade;
    animation-duration: 2s;
}

@-webkit-keyframes fade {
    from {opacity: 0.4} 
    to {opacity: 1}
}

@keyframes fade {
  from {opacity: 0.4} 
  to {opacity: 1}
}


/*  Layouts for Exhibits Page  */

.exhibitsHeading {
    height: 2em;
    width: 80%;
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 2px solid #999;
}

.exhibitsRow {
    height: 8em;
    width: 100%;
    margin-top: 1em;  
}   

.exhibitsBox {
    height: 6em;
    width: 33%;
    margin-top: 1em;
    float: left;
}


/*  Technical Text classes for Fractal Pages  */


.sub {
    vertical-align: sub;
    font-size: 75%;
}

.super {
    vertical-align: super;
    font-size: 75%;
}


/* General formatting for section type writing */


.sectionContainer {
    margin-top: 3.0em;
    margin-bottom: 3.0em;
}

.sectionContainer p {
    text-align: left;
}

.narrow {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
	
}


/*  General text formatting   */


.centered {
    text-align: center;
}

.shadowed {
    text-shadow: 0.1em 0.1em 0.2em black;
}

.bold {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

/* Clearfix hack for fixing and clearing floated elements in image pages. */


.clearfix::after {
    content: "";
    clear: both;
    display: table;
}


/*   General classes for image collage pages */


.smallImageContainer {
    height: auto;
    margin-top: 1%;
    margin-bottom: 1%;
    padding-left:2%;
    padding-right:2%;    
}

.smallImageContainer img {
    height: auto;
    border: 25px solid white;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.75);
    -webkit-box-shadow: 10px 10px 10px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 10px rgba(0,0,0,0.75);
}


.smallTradImage {
    margin-top: 20%;
}

.smallPortImage {
    margin-top: 0%;
}

.smallSquareImage {
    margin-top: 10%;
}

.smallPanImage {
    margin-top: 30%;
}

.smallPan2xImage {
    margin-top: 25%;
}

.margin10p {
    margin-top: 10%;
    margin-bottom: 10%;
}

.margin20p {
    margin-top: 20%;
    margin-bottom: 20%;
}

.margin25p {
    margin-top: 25%;
    margin-bottom: 25%;
}

.margin30p {
    margin-top: 30%;
    margin-bottom: 30%;
}

.margin35p {
    margin-top: 35%;
    margin-bottom: 35%;
}


/* classes for image navigation links */


.imageLinkRow {
    height: 2em;
    margin-top: 2em;
    margin-bottom: 1em;
}

.imageLinkRow p {
    text-align: center;
    margin: 0;
}	

.imageLinkRow a {
    padding-left: 1em;
    padding-right: 1em;
    border-left: 1px solid #999;
    border-right: 1px solid #999;	
    margin: 0;
}	
	
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/* Classes for Image Detail pages   */

/* Media calls adjust the widths of certain elements to fit various screens */

/* Arranged as either two columns, with image on the left and explanitory text 
on the right, or as a single column layout */

.detailImageContainer {
    padding-top: 2%;
    padding-left: 8%;
    padding-right: 8%;
    height: auto;
}

.detailImageContainer img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 50px solid white;
    box-shadow: 25px 25px 25px rgba(0,0,0,0.75);
    -webkit-box-shadow: 25px 25px 25px rgba(0,0,0,0.75);
    -moz-box-shadow: 25px 25px 25px rgba(0,0,0,0.75); 
}

/* For screens less than 950 pixels */

@media only screen and (max-width: 950px) {

.normalTitleContainer {
        width: 100%;
    }
.normaltitlecontainer {
        width: 100%;
    }
.normalTextContainer {
        width: 100%;
    }
.normaltextcontainer {
        width: 100%;
    }
}

/* For screens larger than 950 pixels  */

@media only screen and (min-width: 950px) {

.normalTitleContainer {
        width: 45%;
    }
.normaltitlecontainer {
        width: 45%;
    }
.normalTextContainer {
        width: 45%;
    }
.normaltextcontainer {
        width: 45%;
    }
}




/*  Classes for title and text areas of detail pages.  */	



.normaltitlecontainer {
    float: left;
    border-bottom: 2px solid #999;
}

.normalTitleContainer {
    float: left;
    border-bottom: 2px solid #999;
}


.normalTitleContainer h1 {
    padding-top: 0.25em;
    text-align: center;
}

.normalTextContainer {
    float: left;
    margin-bottom: 1em;
}

.normalTextContainer h2 {
    text-align: left;
    padding-left: 25px;
    padding-right: 25px;
}

.normalTextContainer h3 {
    text-align: left;
    padding-left: 25px;
    padding-right: 25px;
}

.normalTextContainer p {
    text-align: left;
    padding-left: 25px;
    padding-right: 25px;
}	


/* Classes for Panoramic or 2x Panoramic Image Detail pages   */
/* Arranged as a single centered column, with image on top, followed by 
explanitory text */


.panImageContainer, .pan2xImageContainer {
    margin-top: 2%;
    padding-left: 5%;
    padding-right: 5%;
    margin-bottom: 2%;
    height: auto;
}

.panImageContainer img{
    border: 50px solid white;
    box-shadow: 25px 25px 25px rgba(0,0,0,0.75);
    -webkit-box-shadow: 25px 25px 25px rgba(0,0,0,0.75);
    -moz-box-shadow: 25px 25px 25px rgba(0,0,0,0.75);
}

.pan2xImageContainer img{
    border: 50px solid white;
    box-shadow: 25px 25px 25px rgba(0,0,0,0.75);
    -webkit-box-shadow: 25px 25px 25px rgba(0,0,0,0.75);
    -moz-box-shadow: 25px 25px 25px rgba(0,0,0,0.75);
}

.panTitleContainer {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 2px solid #999;
}

.panTitleContainer h1 {
    padding-top: 0.5em;
    text-align: center;

}

.panTextContainer {
    margin-bottom: 2em;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.panTextContainer p {
    text-align: center;
}

.panTextContainer h2 {
    text-align: left;
}

/* Classes for Product page   */


.productHeadingBox, .productDescriptionBox {
    height: 120px;
    width: 80%; 
    margin-left: auto;
    margin-right: auto;
}

.productDescriptionBox {
    margin-bottom: 50px;
}

.productTextBox {
    height: 120px;
    width: 49%;
    float: left;
}

.productTextBox h1 {
    padding-left: 2em;
}

.productImageBox {
    height: 120px;
    width: 49%;
    float: left;
}


/* Classes for Notecard pages   */

/* Classes for the home notecard page */

.notecardRow {
    height: 200px;
    margin-top: 50px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.notecardBox {
    height: 195px;
    width: 33%;
    float: left;
}

/* Classes for the detailed notecard pages */

.notecardDetailImageArray {
    height: 450px;
    width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.notecardDetailImageBox {
    height: 225px;
    width: 300px;
    float: left;
}

.notecardDetailImageBox img {
    height: 193px;
    width: 250px;
}

.notecardHeadingBox {
    height: 120px;
    width: 900px; 
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #999;
}

.notecardTextBox {
    height: 120px;
    width: 33%;
    float: left;
    line-height: 1.5;
    border: 1px solid #999;
}

.notecardTextBox p {
    border-top: 1em;
}

.notecardBuyNowBox {
    height: 120px;
    width: 33%;
    float: left;
    border: 1px solid #999;
}

.notecardAddToCartBox {
    height: 120px;
    width: 33%;
    float: left;
    border: 1px solid #999;
}

.notecardDetailText {
    margin-top: 2em;
    margin-bottom: 2em;
    width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

*/ Older notecard page classes. Will be removed after detail page redesigns */

.NCdetail img {
    height: 501px;
    width: 650px;
    margin-top: 2em;
    margin-bottom: 2em;	
}

.NCdetailText {
    margin-top: 2em;
    margin-bottom: 2em;
    margin-left: 10em;
    margin-right: 10em;
}



/*  Classes for footer area   */	


footer {
    height: 3em;
    margin: 2em 1em 1em;
}

footer p {
    text-align: center;
}

footer a {
    padding-left: 1em;
    padding-right: 1em;
    border-left: 1px solid #999;
    border-right: 1px solid #999;	
    margin: 0;
}


/* older html 4 class definitions for the footer area. Will be removed upon 
   migration to html 5 <footer> tags */

.footer {
    height: 3em;
    margin: 1em 1em 1em;

}

.footer p {
    text-align: center;
}

.footer a {
    padding-left: 1em;
    padding-right: 1em;
    border-left: 1px solid #999;
    border-right: 1px solid #999;	
    margin: 0;
}

