#content {
    width: 100%;
    background-color: #EFEFEF;
    /*padding-top: 20px;*/
}

#content #center {
    position: relative;
    width: 100%;
    /*
    min-width: 350px;
    max-width: 1200px;
    margin: 0 auto;
    height: auto;
    min-height: 200px;
    */
}
#content #center .padding {
    padding: 0 20px 0 20px;
}
#content #head_container {
    /*
    position: relative;
    width: 75%;
    min-width: 330px;
    max-width: 1200px;
    margin: 0 auto;*/
    /*border: 1px solid #dadada;
    */
    position: relative;
    width: 100%;
    margin: 0px;
    height: 26px;
    font-size: 0px;
    line-height: 28px;
    background-color: #fff;
    border-top: 2px solid #dadada;
    border-bottom: 1px solid #dadada;
}
#content #head {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0px auto;
    height: 28px;
    font-size: 0px;
    line-height: 28px;
    text-align: left;
}
#content .list_page_container #head {
	margin: 0;
}

#content #head A {
    /*vertical-align: middle;*/
}

#content #head.overflow_hidden {
    overflow: hidden;
}

 DIV {
    vertical-align: top;
}

#content #head .hidden, #content #head .disp_none {
    display: none !important;
}

 #left {
    position: relative;
    width: auto;
    margin: 0 0 0 180px;
    padding: 0;
    min-width: 200px;
    text-align: justify;
}

#content #left_foot {
    position: relative;
    width: auto;
    
    color: #737373;
    
    margin: 0 30px 0 260px;
    padding: 10px 0 10px 0;
    
    min-width: 200px;
    
    text-align: center;
    line-height: 32px;
}


#content #left_foot A {
    color: #737373;
}

#content #left_foot .left {
    float: left;
}
#content #left_foot .right {
    float: right;
}
#content #left_foot .center {
    margin: 0 100px 0 100px;
    position: absolute;
    top:12px;
    left: 0;
    right: 0;
}

#content #left_foot .center #navigation {
    text-align: center;
    margin: 0 auto;
}
#content #left_foot .center #navigation .current.next,
#content #left_foot .center #navigation .current.prev {
    visibility: hidden;
}
/** Last line justify **/

#content #left {
    text-align-last: justify;
}
/*
#content #left:after {
    content: "";
    display: inline-block;
    width: 100%;
}
*/

#content #left .trailing_element:after {
    content: "";
    display: inline-block;
    width: 100%;
}
/**/


#content #left DIV.item {
    position: relative;
    display: inline-block;
    vertical-align: top !important;
    width: 200px;
    min-height: 184px;
    padding: 4px;
    background-color: #fff;
    margin: 20px 3px 0 3px;
    box-shadow: 0 0 10px #8c8c8c; /* CSS3 */ 
    -moz-box-shadow: 0 0 10px #8c8c8c; /* Firefox */  
    -webkit-box-shadow: 0 0 10px #8c8c8c; /* Safari, Chrome */  
    line-height: 1em;
    color: #6f6f6f;
    text-align: center;
    text-align-last: auto;
}

#ie8 #content #left DIV.item {
    border: 1px solid #d2d2d2;
}

#content #left DIV.item A {
    text-decoration: none;
    color: #6f6f6f;
}

#content #left DIV.item.blank {
    background-color: transparent;
    border: none !important;
    box-shadow: none; /* CSS3 */ 
    -moz-box-shadow: none; /* Firefox */  
    -webkit-box-shadow: none; /* Safari, Chrome */  
}

#content #left DIV.item .thumb {
    position: absolute;
    z-index: 1;
    top: 4px;
    left: 4px;
    width: 200px;
    height: 170px;
    line-height: 170px;
    /*background-color: #dfdfdf;*/
    background-color: #fff;
    vertical-align: middle;
    font-size: 0.1px;
    overflow: hidden;
}

#content #left DIV.item .tools {
    display: none;
    position: absolute;
    z-index: 2;
    top: 8px;
    right: 8px;
    height: 18px;
    background-color: transparent;
    font-size: 0;
}
#content #left DIV.item .tools.active {
    display: block;
}
@media only screen and (max-width: 471px) {
    #content #left DIV.item .tools.active {
        display: none !important;
    }
}

#content #left DIV.item .tools A {
    display: inline-block;
    vertical-align: top !important;
    width: 17px;
    height: 17px;
    font-size: 1em;
    border: 1px solid #949494;
    background-color: #fff;
    margin-left: 4px;
    text-align: center;
    opacity: 1;
}
#content #left DIV.item .tools A:hover {
    /*opacity: 0.9;*/
}





#content #left DIV.item .hover_items {
    display: none;
    position: absolute;
    z-index: 2;
    top: 144px;
    left: 4px;
    height: 30px;
    background-color: #000;
    width: 200px;
    font-size: 0;
}
#content #left DIV.item .hover_items.active {
    display: block;
}
@media only screen and (max-width: 471px) {
    #content #left DIV.item .hover_items.active {
        display: none !important;
    }
}


#content #left DIV.item .hover_items span.dl { 
    display: inline-block;
    width: 1px;
    height: 19px;
    background-color: #fff;
    vertical-align: middle !important;
}

#content #left DIV.item .hover_items A {
    display: inline-block;
    width: 80px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    height: 30px;
    font-size: 12px;
    line-height: 30px;
    font-size: 12px;
    background: #2b3d52;
    text-align-last: auto;
}
#content #left DIV.item .hover_items A:hover {
	background: #606c7c;
}
#content #left DIV.item .hover_items A.red {
	background: #CA1913;
}
#content #left DIV.item .hover_items A.red:hover {
	background: #DE3933;
}

#content #left DIV.item .hover_items A IMG {
    margin-bottom: 2px;
}



#content #left DIV.item .download_button {
    display: block;
    position: absolute;
    z-index: 3;
    top: 178px;
    right: 4px;
    height: 13px;
}



#content #left DIV.item .bottom_line {
    display: block;
    position: relative;
    z-index: 2;
    margin-top: 174px;
    height: 15px;
    /*width: 153px;*/
    overflow: hidden;
    text-align: left;
}

#content #left DIV.item .bottom_line IMG {
    width: 12px; 
    height: 12px; 
    float: right; 
}

#content #left DIV.item .bottom_line IMG.fb_share {
    width: 12px; 
    height: 12px; 
    float: right; 
    margin: 3px 4px 0 0;
}






#content #center #head #head_share {
    margin-left: -1px;
}

#content #center #head #head_file_info,
#content #center #head #head_view_switch,
#content #center #head #head_download,
#content #center #head #head_link,
#content #center #head #head_add_to_favorites,
#content #center #head #head_additional_item_1,
#content #center #head #head_additional_item_2 {
    margin-left: -1px;
    position: relative;
    display: inline-block;
    /*min-width: 100px*/;
    height: 26px !important;
    background-color: #fff;
    color: #737373;
    font-size: 12px;
    line-height: 26px !important;
    /*text-align: center;*/
    font-weight: normal;
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 0;
    padding-bottom: 0;
    border-top: none !important;
    border-bottom: none !important;
    border-left: 1px solid #dadada;
}
#content #center #head #head_view_switch {
	margin-left: 10px;
}
#content #center.list_page_container #head #head_view_switch {
	margin-left: 200px;
}

#content #center #head #head_view_switch A {
    /*vertical-align: baseline;*/
}

#head_actions .activator SPAN, #head_share .activator SPAN {
    border-top: none !important;
    border-bottom: none !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
}

#content #center #head #head_view_switch:before, #content #center #head #head_view_switch:after {
    content: ".";
    visibility: hidden;
}

#content #center #head #head_download {
    /*margin-left: 19px;*/
}
#content #center #head #head_download, #content #center #head #head_download A {
    font-size: 12px;
    line-height: 26px;
}

#content #center #head #head_download A {
    color: #d42321;
}
#content #center #head #head_link {
    /*margin-left: 19px;*/
    /*color: #d7d7d7;*/
    color: #000;
    vertical-align: top;
    line-height: 12px;
    padding-left: 19px;
    width: 170px;
}

#content #center #head #head_fbshare {
    margin-left: 15px;
	margin-top: 3px;
    position: relative;
    display: inline-block;
}

#content #center #head #switch_to_gallery_view {
    position: relative;
    top: -1px;
}

#content #center #description {
    position: relative;
    width: auto;
    
    margin: 20px 260px 0 30px;
    padding: 0;
    
    min-width: 200px;
    
    min-height: 12px !important;
    border: 1px solid #dadada;
    background-color: #fff;
    padding: 7px;
}
#content #center.list_page_container #description {
    position: relative;
    padding: 10px 10px 10px 10px;
    margin: 20px 24px 0 200px;
}
    
#content #center #password_form {
    position: relative;
    width: auto;
    
    margin: 20px 260px 0 30px;
    padding: 0;
    
    min-width: 200px;
    
    min-height: 12px !important;
    border: 1px solid #dadada;
    background-color: #fff;
    padding: 7px;
}

#content #center .info {
    position: relative;
    width: auto;
    
    margin: 0 260px 0 20px;
    padding: 0;
    
    min-width: 200px;
    
    min-height: 200px !important;
    border: 1px solid #dadada;
    background-color: #fff;
    padding: 7px;
}



#content #right {
    position: absolute;
    top: 49px;
    width: 160px;
    min-height: 160px;
}


#right #upload_info DIV {
    min-height: 30px;
    line-height: 28px;
    border-bottom: 1px solid #dadada;
    color: #737373;
}

#right #upload_info #user {
    margin-top: 12px;
    /*font-size: 12px;*/
}

#right #upload_info #user  A
{
    font-weight: bold;
    color: #d42321;
    vertical-align: middle;
}

#right #upload_info #other_uploads {
    height: 80px;
    overflow: hidden;
}
#right #upload_info #other_uploads img {
    width: 35px;
    margin-left: 3px;
    margin-right: 3px;
}

#right #upload_info #stats .views, #right #upload_info #stats .comments {
    display: inline-block;
    padding-left: 15px;
}
#right #upload_info #stats .views {
    background: transparent url(../images/gall/stat.png) left center  no-repeat;
	margin-right: 5px;
    /*width: 70px;*/
}
#right #upload_info #stats .comments {
    background: transparent url(../images/gall/comments.png) left center  no-repeat;
    width: 90px;
	
}


#right #upload_info A {
    color: #737373;
    text-decoration: none;
}

#right #upload_info IMG.avatar {
    max-width: 150px;
    box-shadow: 0 0 10px #8c8c8c; /* CSS3 */ 
    -moz-box-shadow: 0 0 10px #8c8c8c; /* Firefox */  
    -webkit-box-shadow: 0 0 10px #8c8c8c; /* Safari, Chrome */ 
    border: 3px solid #fff;
}




#right #upload_info #twitter_message {
    min-height: 70px;
    background: transparent url(../images/gall/twi.png) right bottom no-repeat;
    padding-bottom: 8px;
}
#right #upload_info #twitter_message DIV {
    border: none;
}

#right #upload_info #twitter_message .message {
    width: 90%;
    min-height: 30px;
    border: 1px solid #dcdcdc;
    margin-top: 15px;
    background-color: #fff;
    font-size: 12px;
    line-height: 12px;
    padding: 8px;
}
#right #upload_info #twitter_message .message A {
    font-weight: bold;
}
#right #upload_info #twitter_message .message A:hover {
    text-decoration: underline;
}

#right #upload_info #twitter_message .arrow {
    position: relative;
    top: -1px;
    left: 15px;
    margin-bottom: 3px;
}

#right #upload_info #twitter_message .info {
    line-height: 20px;
    margin-bottom: 15px;
}

#right #upload_info #twitter_message .info IMG {
    max-width: 35px;
    box-shadow: 0 0 3px #8c8c8c; /* CSS3 */ 
    -moz-box-shadow: 0 0 3px #8c8c8c; /* Firefox */  
    -webkit-box-shadow: 0 0 3px #8c8c8c; /* Safari, Chrome */ 
    border: 3px solid #fff;
}


#content #center #comments  {
    position: relative;
    width: auto;
    
    margin: 20px 260px 0 30px;
    
    min-width: 200px;
    
    min-height: 12px !important;
    padding: 20px;
    text-align: center;
}

#content #center #comments.open  {
    border: 1px solid #dadada;
	margin-top: 40px;
    background-color: #fff;
}


#content #banner {
    display: none;
    position: relative;
    width: auto;
    margin: 20px 30px 20px 200px;
    min-width: 200px;
    text-align: center;
}

/* deleted upload page */
.deleted_wrapper {
    background: url( '/images/deleted.jpg' ) no-repeat scroll center center;
    color: #fff;
    font-size: 24px;
    padding: 0 20px;
}

.deleted_wrapper .deleted_inner {
    width: 760px;
    height: 426px;
    margin: 0 auto;
    position: relative;
}

.deleted_wrapper .deleted_vertical_center {
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 100%;
}

.deleted_wrapper h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 1em;
}

.deleted_wrapper p {
    margin: 1em 0;
}

.deleted_wrapper ul {
    font-size: 20px;
}

.deleted_wrapper ul li {
    margin: 0.5em 0;
}

.deleted_wrapper .deleted_inner_left {
    float: left;
}

.deleted_wrapper .deleted_inner_right {
    float: right;
    font-size: 215px;
}

.deleted_footer {
    font-size: 24px;
    color: #303d52;
    text-align: center;
    padding: 50px 20px;
    background: #fff;
}

.deleted_footer a {
    background: #ca1913;
    color: #fff !important;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    padding: 15px 75px;
    display: inline-block;
    border-radius: 3px;
    margin-top: 1.5em;
}


@media only screen and (max-width: 800px) {
    #content #banner {
        display: none;
    }

    .deleted_wrapper {
        text-align: center;
    }

    .deleted_wrapper, .deleted_footer {
        font-size: 20px;
    }

    .deleted_wrapper h1 {
        font-size: 30px;
    }

    .deleted_wrapper ul, .deleted_footer a {
        font-size: 16px;
    }

    .deleted_wrapper .deleted_inner {
        width: auto;
        height: auto;
        max-height: 426px;
        padding: 40px 0;
        display: inline-block;
        text-align: left;
    }

    .deleted_wrapper .deleted_vertical_center {
        position: initial;
        -ms-transform: none;
        -webkit-transform: none;
        transform: none;
    }

    .deleted_wrapper .deleted_inner_left {
        float: none;
    }

    .deleted_wrapper .deleted_inner_right {
        display: none;
    }
}

@media only screen and (max-width: 900px) {
    
    #content #left DIV.item {
        margin: 20px 20px 0 20px;
    }
    
}

@media only screen and (max-width: 1050px) {
    #content #right {
        display: none;
    }
    #content #left {
        margin: 0;
    }
    
    #content #center #description {
        margin: 20px 30px 0 30px;
    }
    #content #center #password_form {
        margin: 20px 30px 0 30px;
    }
    #content #center .info {
        margin: 20px 30px 0 30px;
    }
    
    #content #left_foot {
        margin: 0 30px 0 30px;
    }
    

    #content #center #comments {
        margin-right: 30px !important;
    }

    
}

#gallery_bottom_photo_print_add {
	background: rgba(43, 61, 82, 0.75);
	width: 100%;
	position: fixed;
	bottom: 0;
	z-index: 1000;
	padding: 10px 0;
	text-align: center;
}
	#gallery_bottom_photo_print_add_text {
		display: inline-block;
		font-size: 14px;
		color: white;
		line-height: 29px;
		margin-left: 10px;
	}
@media only screen and (max-width: 670px) {
	
	#gallery_bottom_photo_print_add_text {
		display: none;
	}
}

#any_media_banner_dfp_8 {
	left: 200px;
}
@media only screen and (max-width: 1200px) {
	
	#cont_right {
		visibility: hidden;
		width: 0;
	}
	#cont_center {
		width: 898px !important;
	}
	#any_media_banner_dfp_8 {
		left: 0;
	}
}
@media only screen and (max-width: 980px) {
	
	#any_media_banner_dfp_8 {
		display: none;
	}
}
@media only screen and (max-width: 600px) {
	
	#any_media_banner_dfp_9 {
		display: none;
	}
}


.printing_order_braintree_result_container_in_main_page {
	margin: 20px 24px 0 200px;
	display: none;
}
#cont_left .printing_order_braintree_result_container_in_main_page {
    margin: 20px 24px 0 24px;
    width: 820px;
}
@media only screen and (max-width: 1210px) {

     .printing_order_braintree_result_container_in_main_page {
		margin: 20px 24px 0 20px;
	}
}


#content_div,
#modal-gallery-inner {
	overflow: hidden;
}
#gallery_watermark_container,
#modal_gallery_watermark_container {
	position: absolute;
	top: 50%;
    color: rgba(255,255,255,0.5);
    font-size: 70px;
    width: 100%;
    height: auto;
    z-index: 499;
    cursor: pointer;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    text-align: center;
}
#gallery_watermark_text,
#modal_gallery_watermark_text {
    position: relative;
    top: -70px;
}