
.product_nameblock_fitting {
    float:left;
    max-width:230px;
    margin-left:5px;
    margin-right:5px;
}

.product_nameblock_controls {
    min-height:225px;
}

.product_nameblock_controls .nameblock_table {
    text-align:center;
    border:#dcdcdb solid 1px;
    padding-left:5px;
    padding-right:5px;
    background:url("/images/catalogue/nameblock/table_gradient.jpg") repeat-x #fcfcfc bottom;
}

.product_nameblock_controls .nameblock_table th {
    font-weight:normal;
}

.product_nameblock_controls .nameblock_table .nameblock_cell {
    color:black;
    font-weight:bold;
}
.product_nameblock_controls .nameblock_table .nameblock_cell_deselected {
    cursor:pointer;
    color:#858585;
}

.product_nameblock_controls .nameblock_table .nameblock_cell_selected {
    background:url("/images/catalogue/nameblock/press_hover.jpg") repeat-x center;
    color:black;
    font-weight:bold;
}

.product_nameblock_controls .nameblock_table .nameblock_cell:hover {
    background:#c4c4c2  url("/images/catalogue/nameblock/press_hover.jpg") repeat-x center top;
    cursor:pointer;
}

.product_nameblock_controls .nameblock_table .nameblock_table_hr td {
    border-bottom:1px solid gray;
    padding:0;
}

.product_nameblock_controls .nameblock_table .nameblock_table_content {
    height:36px;
}

.product_nameblock_controls .nameblock_table .nameblock_rowspan {
    border-left:#858585 solid 1px;
}

.product_nameblock_controls .products_nameblock_cell_fieldname {
    border-bottom:#858585 solid 1px;
}

div#product_form b.userfield{
    line-height: 1.75em;
}


/* ------ CONFIGURATOR ------- */
.product_nameblock_controls .product_code{
    height:41px;
    border:solid 1px #b2b2b2;
    padding:3px;
}

.product_nameblock_controls .product_code b{
    display:block;
    background: #e7e7e7;
    line-height:33px;
    padding-left:8px;
}

    #product_form select{
        width:9em;
    }
    #product_form .cng_multiselect{
        width:auto; /* overrides ffil width 100px*/
    }

    .cng_multiselect_buttons
    {

    }
    .configurator #product_form input[type='text'].ffil
    {
        -webkit-border-radius: 5px;
        -moz-border-radius   : 5px;
        border-radius        : 5px;
        -webkit-box-shadow: 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
        -moz-box-shadow   : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
        box-shadow        : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
        border: 1px solid #aaaaaa;
        height: 23px;
        font-size: 12px;
        line-height: 24px;
        padding: 0 0 0 8px;
        color: #444444;
        width: 155px;
    }

    .configurator #product_form input[type='text'][disabled].ffil
    {
        width: 200px;
    }
    #product_form .cng_multiselect .select_title.ffil {
        background-color: #ffffff;
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0 );
        background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4));
        background-image: -webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
        background-image: -moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
        background-image: -o-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
        background-image: linear-gradient(#ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
        -webkit-border-radius: 5px;
        -moz-border-radius   : 5px;
        border-radius        : 5px;
        -moz-background-clip   : padding;
        -webkit-background-clip: padding-box;
        background-clip        : padding-box;
        -webkit-box-shadow: 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
        -moz-box-shadow   : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
        box-shadow        : 0 0 3px #ffffff inset, 0 1px 1px rgba(0,0,0,0.1);
        border: 1px solid #aaaaaa;
        height: 23px;
        font-size: 12px;
        line-height: 24px;
        padding: 0 0 0 8px;
        color: #444444;
        width: 200px;
        min-width: 200px;
        max-width: 200px;

    }
    .dir_rtl #product_form .cng_multiselect .select_title.ffil {
        padding: 0 8px 0 0;
        text-align: right;
    }
    #product_form .cng_multiselect.cng_multiselect_active .select_title.ffil
    {
        -webkit-box-shadow: 0 1px 0 #fff inset;
        -moz-box-shadow   : 0 1px 0 #fff inset;
        box-shadow        : 0 1px 0 #fff inset;
        background-color: #eee;
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0 );
        background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #eeeeee), color-stop(80%, #ffffff));
        background-image: -webkit-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
        background-image: -moz-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
        background-image: -o-linear-gradient(top, #eeeeee 20%, #ffffff 80%);
        background-image: linear-gradient(#eeeeee 20%, #ffffff 80%);
    }
    .cng_multiselect_complete .select_title{
        background:white;
        border:none;
    }
    .dir_rtl .select_title img {
        float: left;
        margin: 6px 0 0 5px;
    }
    .select_title img{
        float:right;
        padding:3px;
        margin: 6px 6px 0 0;
    }
    .cng_checkbox_container:hover {
        background-color: #3875d7;
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3875d7', endColorstr='#2a62bc', GradientType=0 );
        background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
        background-image: -webkit-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
        background-image: -moz-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
        background-image: -o-linear-gradient(top, #3875d7 20%, #2a62bc 90%);
        background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
        color: #ffffff;
    }
    .cng_available_answer
    {
        color: #808080;
    }
    .cng_previous_answer {
        background:white;
        color:#000000;
        cursor:default;
    }
    .cng_selected_answer:hover{
        color:black;
        background:white;
    }
    .cng_disabled_answer{
        color:#b3b3b3;
        background:white;
        cursor:default;
    }
    .cng_wait, .fb.cng_wait{
        background:url('/images/ajax-loader-selectors.gif')left center no-repeat;
    }
    select.cng_wait{
        opacity:.4;
    }
    .cng_multiselect_options{
        overflow-y:auto;
        max-height:200px;
    }
    .cng_multiselect_buttons{
        border-top: 1px solid #AAAAAA;
        margin-top: 4px;
        max-width: 200px;
        padding: 5px 1px 1px 1px;
    }
    .cng_multiselect_active .cng_multiselect_options{
        max-height:16em;
    }
    .cng_multiselect_dropdown .cng_multiselect_options {
        width: 200px;
        overflow-x: hidden;
        overflow-y: auto;
    }
    .cng_multiselect input{
        padding:3px;
        margin-left: 5px;
        margin-bottom: 0;
        margin-top: 0;
    }
    .dir_rtl .cng_multiselect input.cng_answer
    {
        margin: 0 5px 0 3px;
    }
     .cng_multiselect_dropdown{
         position:absolute;
         font-size: 12px;
         z-index:20;
         background:white;
         margin:-5px 0 0 0;
         padding: 4px;
         width: 200px;
         border-top: medium none;
     }
     .dir_rtl .cng_multiselect_dropdown {
            text-align: right;
     }
    .cng_multiselect_active .cng_multiselect_dropdown{
        border-left:1px solid #AAAAAA; /*corrects 1px padding of .table_page_content td  (in bermadcng interface.css (line 514) )*/
        border-right:1px solid #AAAAAA;
        border-bottom:1px solid #AAAAAA;
        -webkit-border-bottom-left-radius : 5px;
        -webkit-border-bottom-right-radius: 5px;
        -moz-border-radius-bottomleft : 5px;
        -moz-border-radius-bottomright: 5px;
        border-bottom-left-radius : 5px;
        border-bottom-right-radius: 5px;
    }
    .cng_multiselect_complete .cng_multiselect_dropdown{
        display:none;
        border:1px solid gray;
        background:#e0e0e0;
        margin-top: -4px;
    }
    .cng_checkbox_container {
        min-height: 15px;
        padding: 4px 6px 4px 20px;
        /*white-space:nowrap;apparently (at least on ff) the vertical scrollbar is being put over the text instead of outside it, and then the text is overflowing and wrapss */
        text-indent: -1.8em;
        cursor:pointer;
        line-height: 15px;
    }

    .dir_rtl .cng_checkbox_container {
        padding: 4px 20px 4px 0;
    }
    .cng_checkbox_container label{
        white-space:pre-wrap !important;
    }
    .cng_multiselect .fb{
        float:right;
        margin-left:3px; /*spacing*/
        margin-bottom:0; /* overrides .fb margin-bottom:2px; */
    }
    .dir_rtl .cng_multiselect .fb {
        float: left;
    }
    .cng_multiselect.cng_multiselect_complete
    {
        height: 28px;
    }
#product_form .catalog_selector_box.product_selector .userfield h2.title {
    width: 250px;
}

/** Nameblock Selector: Dimensions **/

.nameblock_dimensions_view .product_nameblock_images {
	margin-bottom: 10px;
}

.nameblock_dimensions_view .product_nameblock_images .product_nameblock_fitting {
	float: none !important;
	display: inline-block;
	width: 340px;
	border: 1px solid #E4E4E4;
	max-width: none;
	margin: 0 12px 0 0;
}

.nameblock_dimensions_view .product_nameblock_images .product_nameblock_fitting.technical_image {
	margin: 0;
}

.nameblock_dimensions_view .product_nameblock_images .product_nameblock_fitting img {
	margin: 0 auto;
	display: block;
}

/* for IE */
.product_nameblock_controls .product_code b {
    *height: 33px;
}

.nameblock_dimensions_view .dimensions td,
.nameblock_dimensions_view .dimensions th,
.nameblock_dimensions_view .dimensions {
	border: 1px solid #e4e4e4;
	border-collapse: collapse;
	color: #626262;
	font-size: 13px;
}

.nameblock_dimensions_view .dimensions td,
.nameblock_dimensions_view .dimensions th {
    padding: 3px; /* Minimum padding to prevent text from sticking to the table lines */
}

.nameblock_dimensions_view .dimensions tr {
    cursor: pointer;
}

.nameblock_dimensions_view .dimensions td.is_unit {
    white-space: nowrap; /* Prevent wrapping of values which are units so unit
                            of measurement will not be seperate from the value */
}

.nameblock_dimensions_view .dimensions tr:hover {
    background-color: #fffdea;
}

.nameblock_dimensions_view .dimensions th {
    background-color: #ebebeb;
}

.nameblock_dimensions_view .dimensions {
    background-image: url("/images/Layouts/Ricardo/product_overview_big_table_gradient.gif");
    background-repeat: repeat-x;
    width: 100%;
}

.nameblock_dimensions_view table.tablesorter thead tr th {
    background-repeat: no-repeat;
    background-position: bottom right;
    padding-right: 20px; /* Reserved space for column sorting arrows */
}

.nameblock_dimensions_view table.tablesorter thead tr .header {
    background-image: url(/images/Layouts/Ricardo/sort_available.gif);
    background-position: center right; /* Vertically center the sorting arrows */
}

.nameblock_dimensions_view table.tablesorter thead tr .headerSortUp {
    background-image: url(/images/Layouts/Ricardo/sort_ascending.gif);
}

.nameblock_dimensions_view table.tablesorter thead tr .headerSortDown {
    background-image: url(/images/Layouts/Ricardo/sort_descending.gif);
}

.nameblock_dimensions_view .product_nameblock_controls {
    width: 920px; /* Width must be set site specific */
    overflow-y: hidden;
    overflow-x: auto;
}

.nameblock_list_view .product_nameblock_controls {
    width: 170px;
    float: left;
    margin-top: 2px;
    margin-left: 2px;
}

.nameblock_list_view .product_nameblock_controls .nameblock_table {
    text-align: left;
}

.nameblock_list_view .listview_nameblock_info ,
.nameblock_list_view .products_list {
    float: right;
    width: 512px;
    min-height: 100px;
    margin-right: 2px;
    margin-top: 2px;
}
.nameblock_list_view .products_list {
    border: none;
    margin-top: 25px;
}
.nameblock_list_view .listview_product_row td{
    border-style: solid;
    border-width: 0 0 1px;
    border-color: #AAAAAA;
}

.nameblock_list_view .listview_table{
    width:100%;
}

.nameblock_list_view .product_cms{
     float: right;
}
.nameblock_list_view .product_cms,
.nameblock_list_view .product_cms .cms_embedded_content{
    height: 100%;
    width: 280px;
}

.nameblock_list_view td.listview_basket_component{
    width: 150px;
}
.nameblock_list_view .listview_basket_component .add_to_basket_control input.listview_quantity{
    color:#999999;
    width:30px;
}

.nameblock_list_view .listview_basket_component .add_to_basket_control input.listview_quantity.quantity_modified{
    color:#000004;
}
.nameblock_list_view .listview_basket_component .product_price,
.nameblock_list_view .listview_basket_component .product_price .price{
    padding: 0;
    font-size: 12px;
    text-align:inherit;
    width: auto;
}

.nameblock_list_view #listview_list_buttons {
    float: right;
    position: relative;
    text-align: right;
    width: 500px;
    height: 50px;
    margin-top: 25px;
}

.nameblock_list_view #listview_list_buttons div{
    max-width: 200px;
    display: inline;
    margin-right: 15px;
}

.nameblock_list_view .nb_display_type_button {
    display: none;
}

body.module_catalogue.nameblock table.nameblock_selector_fields select {
    min-width: 210px;
}