/* styles.css 
   Project: J553 Assignment 3 :: CSS3 and jQuery 
   Author: P. Bustamante
   Date: October 2016
	
   Helpful links: 
   	Web colors: 
   		https://en.wikipedia.org/wiki/Web_colors#X11_color_names
	Color picker tool:
		https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Colors/Color_picker_tool
		http://colorpicker.com

*/

/* Basic styling :: DON'T CHANGE*/

#container {
	width: 843px;
	margin: 0px auto;
}

.thumb {
	border: 3px solid olive;
	background-color: palegoldenrod;
	margin: 0px 20px 20px 0px;
	padding: 20px;
	width: 206px;
}

.thumb img {
	width: 200px;
	border: 2px solid olive;
}

button { 
	padding: 5px;
	background-color: peachpuff;
}

/*************************/


/* PHOTO GALLERY */
#photo-gallery {
	width: 764px;
	border: 2px solid #999;
	overflow: hidden;
	padding: 30px 0px 0px 30px;
}

.thumbnail {
	background-color: #E2AB59; /* #f7f7f7; */
	margin: 0px 8px 8px 0px;
	border: 2px solid #ccc;
	padding: 0px;
	clear: none;
	float: left;
}

.thumbnail img {
	border: 4px solid #ccc;
	width: 150px;
	height: 150px;
	margin: 10px;
}

div.grid-4 s-grid-whole padded-inner a:hover img {
    border: 4px solid #DC143C; /* #4AB7D6 */
    -webkit-transition: all .5s;
    transition: all .5s;
}

.grid-4:hover{
	-webkit-transform: scale(1.08);
	transform: scale(1.08);
}

.caption {
	/*margin-left: 10px;*/
	color: #4d4d4d;
	font-family: "Open Sans Condensed", sans-serif;
	font-weight: bold;
	font-size: 14px;
	padding-bottom: 10px;
	text-align: center;
}


/* PROBLEM 1 :: tooltip */

#problem1.thumb {
	background-color: peachpuff;
	border: 4px solid olive;
	background-color: palegoldenrod;
	padding: 20px;
	width: 210px;
	position: relative;}

#problem1 img {
	border: 6px solid olive;}

#tooltip { 
	border: 4px solid olive;
	background-color: palegoldenrod;
	padding: 2px;
	width: 210px;
	position: absolute;
	padding-left: 20px;
	padding-top: 5px;
	top: -10px;
	left: 250px;
	visibility: hidden;}

 #tooltip img {
 	border: 4px solid olive;}

#problem1:hover #tooltip {
	visibility: visible;}

/* PROBLEM 2 :: fade in/out caption*/

#problem2.thumb{
	position: relative;
	border: 3px solid olive;
	background-color: palegoldenrod;
	margin: 10px;
	padding: 20px;
	width: 210px;}


#problem2.thumb {
	width: 200px;
	border: 2px solid olive;}

#problem2 .caption {
	position: absolute;
	bottom: 25px;
	left: 25px; 
	width: 180px;
	height: 180px;
	padding: 10px;
	background: rgba(25, 55, 30, 1);
	color: white;
	opacity: 0;
	transition: opacity ease-in-out 0.5s;
	-webkit-transition: opacity ease-in-out 0.5s;
	-moz-transition: opacity ease-in-out 0.5s;}

#problem2.thumb:hover .caption {
	opacity: 1.0;}

/* PROBLEM 3 :: scale image on rollover */

#problem3.thumb {
	width: 434px;}

#problem3 img { 
    transition: all .5s ease;
    -webkit-transition: all .5s ease;
	margin: 5px;}

#problem3 img:hover {
    transform: scale(1.5);
	-webkit-transform: scale(1.5);
    -webkit-box-shadow: 3px 3px 5px black;
	box-shadow: 3px 3px 5px gold;}

/* PROBLEM 4 :: hide/show or fade in/out the image */

#problem4.thumb {
	height: 206px;}


/* PROBLEM 5 :: change border or the image when you rollover it */

#problem5.thumb {
	width: 434px;
	padding: 5px;}

#problem5 img { 
	margin: 5px;
	border: 10px solid olive;
	width: 184px;}

/* PROBLEM 6 :: Animate the box. Send it to the 400px and down 100px. Increase the image size by  */

#problem6.thumb {
	width: 100px;}

#problem6 img {
	width: 100%;}

/* PROBLEM 7 :: add captions that slide up and down on rollover/hover  */


body {
    padding: 40px;}

.slider {
    position: relative;
    border: 3px solid gold;
    background-color: palegoldenrod;
    padding: 20px;
    float: left;
    margin: 5px;}

.slider img {
    border: 4px solid black;}

#problem7 .caption {
	position: absolute;
	bottom: 24px;
	left: 20px;
	border: 3px solid black;
	padding: 5px;
	width: 142px;
	height: 90px;
	background-color: rgba(14, 100, 99, 0.7);
	color: gold;
	display: none;}











