form {height: 100%; max-height: 100%;}
div.content_wide {width: 100%; max-width: 100%; clear: both; overflow: hidden; float: left; height: 100%; padding-bottom: 100px;}
ul#layout_list {height: 85%; max-height: 85%; text-align: left; float: left; overflow-y: auto; overflow-x: hidden; display: table-cell; width: 40%; clear: none; padding: 0px; margin: 0px;}
ul#layout_list li#current_theme, ul#layout_list li {float: left; margin: 20px 0px 8px 0px; width: 50%; overflow: hidden; text-align: center; cursor: pointer; clear: none;}
ul#layout_list li#current_theme img, ul#layout_list li img {width: auto; max-width: 100%; background: #FFFFFF; box-shadow: 1px 1px 3px #909090; -moz-box-shadow: 1px 1px 3px #909090; -webkit-box-shadow: 1px 1px 3px #909090;}
ul.theme_list {display: none;}
ul#layout_list li#current_theme {float: none; margin: 0px auto;}
ul#layout_list li#current_theme img {border: 4px solid #3498DB;}
ul#layout_list li.theme_header {background: transparent; box-shadow: 0px 0px 0px transparent; -moz-box-shadow: 0px 0px 0px transparent; -webkit-box-shadow: 0px 0px 0px transparent; color: #000000; background: transparent; float: left; clear: both; padding: 0px 14px; width: 100%; max-width: 100%; margin: 30px 0px 0px 0px; font-size: 130%; line-height: 50px; max-height: 50px;}
ul#layout_list li.theme_header:first-child {margin: 0px;}
ul#theme_list, a.layout_name {display: block; height: 20px; max-height: 20px; overflow: visible; color: #000000;}
div#theme_preview {float: right; text-align: center; display: table-cell; overflow: auto; width: 56%; height: 85%; max-height: 85%; margin: 0px auto;}
div#theme_list_wrapper {max-height: 30px; margin: 0px auto; overflow: hidden; display: inline-block; max-width: 40%; float: left; max-height: 10%; min-height: 30px; margin-left: 4%; padding-left: 10px; padding-right: 10px;}
div#theme_list_wrapper:hover {overflow: visible; position: relative; z-index: 5000;}
div#screen_list_wrapper {white-space: nowrap; display: inline-block; float: right; line-height: 1px; max-height: 10%; overflow: hidden; min-height: 30px; margin-right: 4%;}
div#screen_list_wrapper .screen_list {float: right; padding: 0px; margin: 0px;}
div#screen_list_wrapper .screen_list li {display: block; max-width: 150px;}
div#screen_list_wrapper .screen_list li#selected_screen {display: none;}
ul.selected_theme_list {display: block; margin: 0px; padding: 0px; position: relative; top: -1px;}
ul.selected_theme_list li {display: block; cursor: pointer; background: #2E88FE; color: #FFFFFF; text-decoration: none; margin-bottom: 0px; text-align: left; text-indent: 14px; background: #2980B9;}
ul.selected_theme_list li:hover {background: #3498DB;}
ul.selected_theme_list li#selected_theme {background: #176FA5;}
div#theme_preview_img_wrapper {max-height: 90%; width: 100%; text-align: center; overflow: auto; margin: 0px auto;}
img#theme_preview_img {max-width: 96%;}
.theme_preload_img {background: transparent none left top no-repeat; position: absolute; visibility: hidden; height: 0px; width: 0px;}
ul.button_block {margin-top: 25px;}
table#main_wizard_table, table#main_wizard_table tbody, table#main_wizard_table tr, table#main_wizard_table > tbody > tr > td  {width: 100%; height: 100%;}
table#main_wizard_table h4 {margin-left: auto; margin-right: auto; display: block; text-align:center;}
div.content_wide h2 {margin-top: 15px;}
#top_div {width: 80%; min-width: 830px; margin-left: auto; margin-right: auto;}
#top_div table {margin-left: auto; margin-right: auto;}
#top_div td {height: 25px;}
#current_buttons {float: left; width:20%;}
.selected_buttons {background-color: #DFDFDF; border: 2px solid #777777;}
div.selected_buttons th {background-color: #DFDFDF;}
.cart_button {max-width: 300px; max-height: 200px;}
#upload_buttons, #text_buttons {float: left; width:38%;}
#upload_buttons td, #text_buttons td {text-align: right;}
ul#button_list {text-align: left; width: 80%; height: 60%; overflow: auto; margin-left: auto; margin-right: auto;}
ul#button_list > li {float: left; width: 145px; height: 80px; margin-bottom: 5px; text-align:center; cursor: pointer;}
ul#button_list > li.selected_buttons {width: 141px; height: 76px; cursor: default;}
ul#button_list > li > img {margin: 0px;}
div#theme_layout_name {display: inline;}
form#wizard h1.page_name {padding-bottom: 40px;}
body#body_theme_layouts #nav_breadcrumbs {display: none;}
body#body_theme_layouts div#screen_list_wrapper .screen_list li {margin: 0px 0px 10px 0px;}

@media screen and (max-width : 1110px){
	ul#layout_list {width: 25%;}
	ul#layout_list li#current_theme, ul#layout_list li {width: 100%; float: none; clear: both; margin: 0px auto 20px auto;}
    ul#layout_list li.legacy img {display: none; margin: 0px 0px 10px 0px;}
	div#theme_preview {width: 75%;}
}

@media screen and (max-width : 900px){
	ul#layout_list {width: 30%;}
	div#theme_preview {width: 70%;}
}
@media screen and (max-width : 749px){
	ul#layout_list {width: 90%; margin: 0px 5% 5% 5%; float: left; clear: both; max-height: 40%}
	div#theme_preview {width: 90%; margin: 0px 5%; float: left; clear: both; max-height: 50%;}
	ul#layout_list li.theme_header {display: none;}
	ul#layout_list li, ul#layout_list li#current_theme {border: 0px; float: left; clear: none;}
}