﻿/*================================================================================
	Item Name: Optical specs
	Version: 1.0
	Author: INGEMANN COMPONENTS A/S
================================================================================
*/

#optical-specs-form {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.opticalspecs-wrapper {
    position: relative;
    padding: 10px;
    flex: 1 1 50%;
    margin-top: 20  px;
}

.opticalspecs-wrapper:nth-child(odd) .border-right {
    border-right: 1px solid lightgrey;
    position: absolute;
    height: 100%;
    right: 0;
}

.opticalspecs-wrapper h2 {
    border-bottom: 1px solid lightgrey;
}

.opticalspecs-wrapper i {
    margin-right: 10px;
}

.opticalspecs-wrapper i span {
    margin-left: -12px;
    font-size: 10px;
    font-weight: bold;
    line-height: 18px;
    vertical-align: middle;
    font-family: Roboto, Verdana, Geneva, sans-serif;
}

#luminairesize-wrapper {
    min-height: 200px;
    order: 10;
}

#prism-wrapper {
    order: 30;
}

#film-wrapper {
    order: 40;
}

#prism-wrapper {
    min-height: 350px;
}

#CircularPrismsContainer, #LinearPrismsContainer, #filmContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#luminaireContainer {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

#CircularPrismsContainer row, #LinearPrismsContainer row {
    min-width: 0;
    padding: 5px 10px;
    flex: 1 1 50%;
}
#filmContainer row, #luminaireContainer {
    min-width: 0;
    padding: 5px 10px;
    flex: 1 1 100%;
}

#CircularPrismsContainer row label, #LinearPrismsContainer row label, #filmContainer row label, #luminaireContainer row label {
    display: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#CircularPrismsContainer row label input[type="radio"], #LinearPrismsContainer row label input[type ="radio"], #filmContainer row label input[type="radio"], #luminaireContainer row label input[type="radio"] {
    vertical-align:middle;
    margin: 0 5px 0 0;
}

#film-wrapper {

}

#sel-measurements-wrapper {
    min-height:280px;
    order: 20;
}

#sel-measurements-wrapper table th {
    text-align: left;
}
#sel-measurements-wrapper table th span {
    border-bottom: 1px solid lightgrey;
    padding-right: 20px;
}

#addmeasurement-wrapper {
    width: 100%;
    order: 50;
}
#addMeasurement:disabled {
    cursor: default;
    background: lightgrey;
}

.optical-specs-button {
    background: #0076ac;
    background-image: linear-gradient( to top, #003960, #0076ac );
    border-color: #ffffff;
    border-radius: 2px;
    color: white;
}

#optical-specs-button:disabled{
    background: lightgrey;
    cursor: default;
}

#optical-specs-results {
    width:100%;
    order: 100;
    margin-top: 30px;
}

#combContainer tr {
    padding: 5px 10px;
}

#optical-specs-table td {
    border: 1px solid lightgrey;
}

#optical-specs-table tr#namesContainer th, #optical-specs-table tr#namesContainer td, #optical-specs-table tbody tr td:first-child {
    border: 1px solid grey;
}

#optical-specs-table tbody:last-child, #optical-specs-table tbody:last-child td {
    border-bottom: 1px solid grey;
}

#optical-specs-table tbody tr#namesContainer th {
    border:none !important;
}

#optical-specs-table .optical-specs-button {
    margin: 0 5px;
    padding: 5px 5px;
}

/*Register Wizard*/

.wizard-icon {
    line-height: 2 !important;
}
