.body-wrapper { margin-bottom: 0px; }

.ads-1 { width: 98%; height: auto; margin: 25px auto 0px auto; text-align: center; }

.block-header { margin: 30px auto 60px auto; text-align: center; color: #454444; display: non; }
.block-header h2 { font-size: 24px; font-weight: normal; }
.block-header p { display: none; }

.block-main { text-align: center; }
.block-main .button-upload-photos { text-transform: uppercase; font-size: 36px; display: inline; margin: 10px auto; padding: 30px 60px 30px 60px; background-color: #5d89ba; color: #ffffff; cursor: pointer; }
.block-main .button-upload-photos:hover { -webkit-box-shadow: 0px 3px 5px 0px rgba(28,64,102,1); -moz-box-shadow: 0px 3px 5px 0px rgba(28,64,102,1); box-shadow: 0px 3px 5px 0px rgba(28,64,102,1); background-color: #4b79ad; }
.block-main .text { text-align: center; margin: 70px auto 30px auto; width: 60%; }
.block-main .text #link-to-text { font-size: 12px; font-style: italic; color: #5d89ba; }
.block-main .text .block-text { display: none; }

.block-gifs-imgs { background: url('/img/design/bg-main-gifs.jpg') repeat-x; width: 100%; height: 240px; background-color: #111111; border-bottom: 5px solid #111111; border-top: 5px solid #111111; }

#fileupload-form { display: inline-block; }
#fileupload-form #fileupload { width: 0.1px; height: 0.1px; opacity: 0; overflow: hidden; position: absolute; z-index: -1; }

.section-files { width: 100%; background: #fff; margin-top: 30px; display: none; margin-bottom: 100px; }

.section-files .info-wrapper { height: 24px; width: 100%; text-align: center; } 
.section-files .progress { height: 24px; width: 100%; text-align: center; display: none; }
.section-files .progress .progress-bar { height: 24px; width: 50%; border-radius: 20px; border: 1px solid #5d89ba; margin: 0 auto; }
.section-files .progress .progress-bar .bar { height: 24px; background: #5d89ba; width: 0%; border-radius: 19px; }
.section-files .progress .bar-text { color: #484848; font-size: 15px; padding: 5px 0 0 30px; font-family: courier new; }
.section-files .progress .bar-text #bar-text-num{ margin-left: 20px; }

.section-files .uploaded-files { width: 90%; padding: 20px 60px 0 60px; text-align: left; }
.section-files .uploaded-files .sortable-files { list-style-type: none; margin: 0; padding: 0; width: 100%; display: inline-block; }
.section-files .uploaded-files .sortable-files li { float: left; width: 120px; height: 120px; text-align-center; margin: 20px 0 0 20px; padding: 1px; border: 1px solid gray;}
.section-files .uploaded-files .sortable-files li div { width: 120px; height: 120px; cursor: pointer; }

.section-files .files-menu { color: #5d89ba; font-size: 22px; text-align: center; border: 1px solid #c7c7c7; padding: 20px; width: 800px; margin: 20px auto; }
.section-files .files-menu .menu-ads { height: 90px; text-align: center; margin: 0 auto 10px auto; padding: 0; width: 730px; }
.section-files .files-menu #files-form { margin: 0; padding: 0; display: inline-block; }
.section-files .files-menu select{ width: 150px; }
.section-files .files-menu .gif-options {  margin-right: 50px; display: inline-block;} 
.section-files .files-menu #gif-speed { margin-left: 15px; }
.section-files .files-menu #delete-all { margin: 0 15px 0 15px; }

@media screen and (max-width: 1000px){
	.header .header-tabs { position: relative; z-index: 10; top: 2px; width: 100%; text-align: center; }
	.header .header-tabs .header-tab { box-sizing: border-box; display: block; height: 120px; line-height: 120px; width: 100%; text-align: left; margin-bottom: 2px; padding-left: 20px; }
	.header .header-tabs .header-tab span { font-size: 18px; }
	.header .header-tabs .tab-current { top: 0px; cursor: pointer; }
	.header .header-tabs .tab-from-images { background: url(/img/design/bg-tab-from-photos.png) no-repeat right center; background-color: #dd8b8d; text-shadow: 0px 1px 2px #d14747; }
	.header .header-tabs .tab-from-youtube { background: url(/img/design/bg-tab-from-youtube.png) no-repeat right center; background-color: #88c282; text-shadow: 0px 1px 2px #269a21; }
	.header .header-tabs .tab-effects { background: url(/img/design/bg-tab-effects.png) no-repeat right center; background-color: #7db7bf; text-shadow: 0px 1px 2px #218f93; }
	.header .header-tabs .tab-reverse { background: url(/img/design/bg-tab-reverse.png) no-repeat right center; background-color: #fcab62; text-shadow: 0px 1px 2px #d48036; }
	.header .header-text { color: #ffffff; font-size: 14px; line-height: 50px; margin-left: 250px; display: block; }
	
	.block-header { margin: 0px; }
	.block-header h2 { display: none; font-size: 13px; width: 90%; height: 14px; text-align: center; margin: 18px auto 8px auto; font-weight: bold; }
	.block-header p { display: block; font-size: 13px; width: 100%; height: 14px; text-align: center; margin: 8px auto 8px auto; }
	.button-upload-wrapper { display: none; margin-top: 100px; }
	.block-main .button-upload-photos { font-size: 20px; display: inline; margin: 0px auto; padding: 15px 30px 15px 30px; }
	.block-main .text #link-to-text { display: none; } 
	.block-gifs-imgs { display: none; }
	.block-main .text { width: 96%; margin: 0px auto; display: non; padding-top: 540px; }
	.block-main .text .block-text { display: block; padding: 10px; margin: 0px auto; width: 90%; }

	.section-files .progress .progress-bar { width: 80%; border-radius: 14px; }
	.section-files .progress .progress-bar .bar { border-radius: 13px; }
	
	.section-files .files-menu { padding: 10px 5px 10px 5px; width: 90%; margin: 20px auto; }
	.section-files .files-menu #files-form { margin: 0 auto; padding: 0; display: block; width: 300px; }
	.section-files .files-menu select{ width: 220px; display: block; margin: 0 auto; }
	.section-files .files-menu .gif-options {  margin: 15px auto; display: block; text-align: center; }
	.section-files .files-menu #gif-speed { margin: 20px auto; }
	.section-files .uploaded-files { width: 90%; padding: 25px 5px 5px 5px; text-align: center; margin: 0 auto; }
	.section-files .uploaded-files .sortable-files {}
	.section-files .uploaded-files .sortable-files li { float: none; display: inline-block; margin: 10px;}
	.section-files .files-menu #delete-all { margin: 20px auto; }
}

@media screen and (max-width: 475px){
	.header .header-text { margin: 0px; padding: 35px 0 0 20px; width: 100%; background-color: #2e2e2e; margin: 0; box-sizing: border-box; }
	.header .header-tabs { }
	.button-upload-wrapper { display: none; margin-top: 30px; }
	.ads-1 { margin: 5px 0; }
}

@media screen and (max-width: 320px){
	.header .header-text { font-size: 12px; }
}

