

.img-box {
    overflow: hidden;
    border: 1px solid #DEDEDE;
    background-color: #FFF;
    margin: 8px;
    text-align:center;


    webkit-box-shadow: rgb(0, 0, 0.2) 1px 1px 5px 0px;
	box-shadow: 1px 1px 5px 0px #DEDEDE;
	box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 5px 0px;
	webkit-box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 5px 0px;
    
    
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    -ms-transition-property: height, width;
    -o-transition-property: height, width;
    transition-property: height, width;
          
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -ms-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
    
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    border-radius: 7px; /* future proofing */
    -khtml-border-radius: 7px; /* for old Konqueror browsers */
    
}

.hidden{
    background-color: #cacaca;
}
.top-drawer {
 	display: none;
    
    background-color: #f7f6f6;
    background-color: rgba(0,0,0,0.1);
    
    -moz-box-shadow:    inset 0 0 10px rgba(0,0,0,0.5);
    -webkit-box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
    box-shadow:         inset 0 0 10px rgba(0,0,0,0.5);
    
}

.upload-drawer {
    min-height: 110px;
}

.message-success {
    display: none; 
    padding-bottom: 15px;  
}

.img-col {
    float:left;     
}

.clear{
    clear: both;
    width:1px;
    height:1px;
}
.center-cropped {
    width: 100%;
    height: 150px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-right:auto;
    margin-left:auto;
}
.center-cropped img {
   min-height: 100%;
   min-width: 100%;

   /* IE 8 */
   -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
   /* IE 5-7 */
   filter: alpha(opacity=0);
   /* modern browsers */
   opacity: 0;
}

.date {
	margin: 4px 0px 4px 0px;
}



/*--------------CONTROLS---------------*/
.d-controls {
	width:100%;
	font-size: 25px;
	height:40px;
	line-height: 40px;
	cursor: pointer;
	text-align:center;
	text-transform:uppercase;
}
.d-active {
	display: block;
	color:#FFFFFF;
    z-index:1000;
	position: fixed;
	top: 0px;
	left:0px;
	width: 100%;
}
.d-hidden {
  	background-color:#900;
	display: none;
	color:#FFFFFF;
	width: 100%;
}

.button {
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	
	webkit-box-shadow: rgb(0, 0, 0.5) 0px 3px 7px;
	box-shadow: rgb(0, 0, 0) 0px 3px 7px;
	box-shadow: rgba(0, 0, 0, 0.5) 0px 3px 7px;
	webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 3px 7px;
	width: 100%;
} 

.button.large {
	width: 90%;
	float:left;
}
.button.small {
	width: 10%;
	float:left;
}

.control-tags, .control-signin, .control-upload, .control-edit-tags {
  	background-color:#090;
}

.control-edit, .control-edit-close {	
	background-color:#900;
}







/*--------------END---------------*/
.loading, .end {
    text-align: center;
    margin: 30px;
    padding-bottom: 20px;
}

.end {
    display:none;
}



/*--------------TAGS---------------*/

.tag-container, .tag-container-img {
	max-width:400px;
	margin: 0 auto;
}
            
.tag-box, .tag-box-img {
	float: left;
	width: 50%;
}

.clear-tags-box {
    padding-top: 5px;
 	width:100%;	
}

.tag, .clear-tags, .tag-edit, .clear-tags-img, .tag-img {
	border: 1px solid #000;	
	cursor: pointer;
	text-align:center;
	padding:10px;
	margin:5px;
}
.tag.selected, .tag-img.selected {
	background-color:#aaaaaa;	
}

.tag-edit {
	padding:6px;
	text-align:right;
}
.tag-input, #add-new {
    padding: 2px;
    width: 90%;
}
.tag-input  {
    width: 80%;
}




/*--------------FANCY BOX OVERRIDES---------------*/
a.fancybox-next {
    right: 0px;
}
a.fancybox-prev {
    left: 0px;
}

.fancybox-lock body {
    overflow: visible !important;
}

a.fancybox-close {
    top: -4px;
    right: -4px;
}

.fancybox-default-overlay {
    background: #000;
    opacity: .8;
    filter: alpha(opacity=100);
}

/*--------------FORM---------------*/
.form_title, .comment_title {
	display:block
	
}
.form-box {
	margin: 20px auto;
	max-width: 360px;
}
.form_input, .comment_input {
	color: #000;
	width:100%;
	height:30px;
	margin-bottom: 20px;
	margin-top: 3px;
	font-size: 18px;
	/* padding: 0px 5px 0px 5px; */
	font-size: inherit;
}
#contact-form {
	margin-top: 10px;
}
.form_input:focus, .comment_input:focus { 
    outline: none;
}

.form_textarea, .comment_textarea {
	color: #000;
	width:100%;
	height:120px;
	margin-bottom: 20px;
	margin-top: 3px;
	font-size: 18px;
	/* padding: 0px 5px 0px 5px; */
    outline: none;
	font-size: inherit;
}

.form_button {
	width:100px;
	height:40px;
	border: 0px;
	color: #545454;
	font-size: 27px;
	cursor: pointer;
	padding: 4px;
	background-color:transparent;
	border: 1px #545454 solid;
}


.form_button:hover {
  	background-color:rgb(255,255,255);
}

.contact-form-confirm {
	margin-left: 12px;
	display:none;
}
.error{ 
	color:#800;
}

@media (max-width: 419px) {   
    .img-col {
        width:25%;     
    }
    .center-cropped {
        height: 75px;
    }
    .img-box {
        margin: 3px;
    }
	body {
 		/* font-size:11px; */
	}
    .button.large {
        width: 70%;
        float:left;
    }
    .button.small {
        width: 30%;
    }
	.form-box {
		margin: 15px
	}
    .date {
        font-size: 11px;
    }
}
@media (min-width: 420px) and (max-width: 767px) {   
    .img-col {
        width:25%;     
    }
    .center-cropped {
        height: 110px;
    }
    .img-box {
        margin: 5px;
    }
    .button.large {
        width: 80%;
        float:left;
    }
    .button.small {
        width: 20%;
    }
    .date {
        font-size: 11px;
    }
}


@media (min-width: 768px) and (max-width: 991px) {   
    .img-col {
        width:25%;     
    }
    .button.large {
        width: 85%;
        float:left;
    }
    .button.small {
        width: 15%;
        float:left;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {   
    .img-col {
        width:20%;     
    }
}
@media (min-width: 1200px)  and (max-width: 1599px) {   
    .img-col {
        width:16.66667%;     
    }
}
@media (min-width: 1600px) {   
    .img-col {
        width:14.28571%;     
    }
}


.password-box {
    margin: 0 auto;
    max-width:400px;
    text-align: center;
}

.about-box, .intro-message {
	margin: 0 auto;
	max-width: 1000px;
	padding: 15px;
	line-height: 20px;
}

.password {
    width:90%;
    height:30px;
    margin-top: 40px;
    margin-bottom: 40px; 
    font-size: 15px;  
}



.datepicker {
	width: 90%;
    height: 28px;
    text-align:center;
}
.delete {
	width:35px;
	height:35px;
	position: absolute;
	top: 0px;
	right: 0px;
	background-image: url(delete.png);
	cursor: pointer;
}

.delete-tag {
    top: -5px;
    right: -5px;
	width:35px;
	height:35px;
	position: absolute;
	background-image: url(delete.png);
	cursor: pointer;
}
.img-col, .tag-box {
	position: relative;
}






/*--------------COMMENTS---------------*/

.comment-container {
	width:100%;
	height:100%;
	background-color:rgb(255,255,255);
	background-color:rgba(255,255,255,0.9);
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 9000;
	overflow: hidden;
}

.comment-trigger{
    position: absolute;
    top: -4px;
    left: 1px;
    width: 46px;
    height: 46px;
    cursor: pointer;
    background-position: 0 0;
    z-index: 8040;
    background-image: url(comment.png);

}
.comment-done {
    padding:5px;
    border: 1px solid #000;
    border-radius:3px;
    cursor: pointer;position: absolute;
    right: 7px;
    top: 6px;
}

.comment-container{
	height: 100%;
	overflow-y: scroll;	
    
}

.comments {
    max-width: 500px;
    margin: 0 auto;
    padding: 10px;
    margin-top: 35px;
}
.comment-count {
    position: absolute;
    top: 11px;
    right: 21px;
    color: #fff;
}


.comment-data {
	margin-bottom:15px;
	border-bottom:1px solid #777;
}
.comment-data .user{
	margin-top:10px;
	font-weight:bold;
	font-size: 15px;
}
.comment-data .copy{
	margin-bottom: 20px;
}
.comment_checkbox {
    margin-bottom: 20px;
    display: block;
}
.comment_textarea {
    height: 70px;
}

.comment-form-confirm {
    display: inline;
    float: left;
    margin-bottom: 20px;
    max-width: 370px;
}
.comment-button {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}
.s-message {
    display:none;
    margin: 12px 0px 10px 0px; 
}
.s-policy {
    display:inline; 
    cursor:pointer;
    text-decoration:underline;
}
.comment-edit {
    float: right;
    font-weight:normal;
    display:inline;
}
.comment-block, .comment-delete {
    display:inline;
    cursor:pointer;
    text-decoration:underline;
}

/*--------------unsubscribe---------------*/
	.unsubscribe-box {
	margin: 0 auto;
	max-width: 420px;
	padding: 15px;
	line-height: 20px;
	}
	.unsub-title{
		font-size:15px;
		font-weight:bold;
		margin-bottom: 5px;
	}
	.unsub-email {
		width:95%;
		margin-bottom: 10px;
		margin-bottom: 10px;
	}
	.unsub-button {
		border: 1px solid #000;
		cursor: pointer;
		text-align: center;
		padding: 10px;
		margin: 40px 5px;
	}
	.unsub-button:hover {
		background-color: #aaaaaa;
	}
	.unsubscribe-box a {
		color:#333333;
	}