/**
*  General Styles
*/
html{
    background-color: #CDD7DD;
}

body{
    position: relative; /* needed for the overlay to extend when you scroll */
    /* general styles */
    margin: 0;
    padding: 0;
    font-family: Sans-Serif;
    z-index: 0;
}

/*needed to set the overlay to 100%*/
html,body{
    min-height: 100%;
}

/* overlay styles, all needed */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 10;
}

form{
    margin: 0;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 20px;
}

#page_wrapper{
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    min-width: 1124px;
}

#page_wrapper_article{
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    min-width: 1124px;
    max-height: 100%;
    min-height: 100%;
}


/**
*  Header Styles
*/
header{
    width: 100%;
    height: 95px;
    background-color: #768A96;
}

#header_content{
    width: 100%;
    height: 100%;
}

#configurator_logo_left{
    width: 30%;
    height: 100%;
    position: relative;
    float: left;
    text-align: left;
}

#wholesaler_logo_right{
    width: 25%;
    height: 100%;
    position: relative;
    float: right;
    text-align: right;
}

#configurator_side_name{
    width: 40%;
    height: 100%;
    text-align: center;
    float: left;
    position: relative;
}

#configurator_side_name h1{
    margin: 0;
    position: relative;
    top: 20%;
    color: #FFFFFF;
}

.itek_logo{
    height: 59px;
    position: relative;
    top: 17px;
    padding-left: 20px;
}

.etim_logo{
    height: 75px;
    position: relative;
    top: 10px;
    padding-right: 20px;
}

#language_container {
    width: 5%;
    position: relative;
    float: left;
    padding-top: 10px;
}

#language_container img {
    cursor: pointer;
}

/**
*  Main Styles
*/
#main_configurator{
    width: 100%;
    min-height: 600px;
    background-color: #FFFFFF;
    position: relative;
}

#sidebar_left{
    width: 15%;
    height: 100%;
    float: left;
    position: relative;
}

#sidebar_right{
    width: 15%;
    height: 100%;
    float: left;
    position: relative;
    padding-top: 20px;
}

#main_article{
    width: 100%;
    min-height: 600px;
    background-color: #FFFFFF;
}

#main_content{
    margin: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

#main_content table{
    width: 100%;
    border: none;
    border-spacing: 0px;
}

#main_content table th{
    border-top: solid 2px #FFFFFF;
    border-bottom: solid 2px #FFFFFF;
    border-left: solid 2px #FFFFFF;
    border-right: 0px;
    padding: 0.3em 0.4em;
}

#main_content table th:last-child{
    border-right: solid 2px #FFFFFF;
}

#main_content table td{
    border-top: 0px;
    border-right: 0px;
    border-bottom: solid 2px #FFFFFF;
    border-left: solid 2px #FFFFFF;
    padding: 0.3em 0.4em;
    color: #002751;
}

#main_content table td:last-child{
    border-right: solid 2px #FFFFFF;
}

#main_content table td:last-child input{
    width: 100%;
}

#main_content table.article_table{
    width: 70%;
}

#main_content table #interface_url, textarea{
    background-color : lightgray;
    border: solid 1px darkgray;
}

#main_content table #version, textarea{
    background-color : lightgray;
    border: solid 1px darkgray;
}

/*Call Configurator without params*/
#frm_configurator{
    width: 600px;
    margin: auto;
    position: relative;
    padding-top:100px;
}

#frm_configurator table{
    width: 100%;
    border: none;
    border-spacing: 0px;
}

#frm_configurator table th{
    border-top: solid 2px #FFFFFF;
    border-bottom: solid 2px #FFFFFF;
    border-left: solid 2px #FFFFFF;
    border-right: 0px;
    padding: 0.3em 0.4em;
}

#frm_configurator table th:last-child{
    border-right: solid 2px #FFFFFF;
}

#frm_configurator table td{
    border-top: 0px;
    border-right: 0px;
    border-bottom: solid 2px #FFFFFF;
    border-left: solid 2px #FFFFFF;
    padding: 0.3em 0.4em;
    color: #002751;
}

#frm_configurator table td:last-child{
    border-right: solid 2px #FFFFFF;
}

#frm_configurator table td:last-child input{
    width: 100%;
}

#frm_configurator table input{
    width: 100%;
}

#frm_configurator #target_blank, textarea{
    background-color : lightgray;
    border: solid 1px darkgray;
}

#btn_call_configurator{
    padding: 0.3em 0.4em;
    background-color: #FF9133;
    border: solid 2px #FFFFFF;
    color: #FFFFFF;
    cursor: pointer;
    font-size: medium;
}

/*Normal Configurator call*/
.document_table_head{
    background-color: #768A96;
    color: #FFFFFF;
    text-align: left;
}

.configurator_table_head{
    background-color: #768A96;
    color: #FFFFFF;
    text-align: left;
}

.document_table_row{
    height: 150px;
    max-height: 400px;
    overflow: auto;
}

.odd{
    background-color: #ABBAC3;
}

.even{
    background-color: #CDD7DD;
}

#main_content table tfoot td{
    padding: 0px;
    border-spacing: 0px;
}

#std_article{
    width: auto !important;
    padding: 0.3em 0.4em;
    border: 0px;
    background-color: #FF9133;
    color: #FFFFFF;
    cursor: pointer;
    font-size: medium;
}

#std_article_with_ref_to_conf{
    width: auto !important;
    padding: 0.3em 0.4em;
    border: 0px;
    background-color: #FF9133;
    color: #FFFFFF;
    cursor: pointer;
    font-size: medium;
}

#ref_to_conf{
    width: auto !important;
    padding: 0.3em 0.4em;
    border: 0px;
    background-color: #FF9133;
    color: #FFFFFF;
    cursor: pointer;
    font-size: medium;
}

#invalid_transmission{
    width: auto !important;
    padding: 0.3em 0.4em;
    border: 0px;
    background-color: #FF9133;
    color: #FFFFFF;
    cursor: pointer;
    font-size: medium;
}

#submit_article{
    padding: 0.3em 0.4em;
    background-color: #FF9133;
    border: solid 2px #FFFFFF;
    color: #FFFFFF;
    cursor: pointer;
    font-size: medium;
}

#submit_invalid_transmission{
    width: 100px !important;
    padding: 0.3em 0.4em;
    border: none;
    background-color: #FF9133;
    color: #FFFFFF;
    cursor: pointer;
    font-size: medium;
}

.error{
    border: 2px solid #FF0000;
    z-index: 11; /* 1px higher than the overlay layer */
}

.showDialog{

    visibility: visible;
}

.hideDialog{
    visibility: hidden;
}

#dialog, #dialog_delete_Mime, #dialog_display_detail_Mime, #dialog_change_language_alert{
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -250px;
    background-color: #ffffff;
    border: solid 1px #002751;
    width: 500px;
    height: 100px;
    color: #002751;
    z-index: 11; /* 1px higher than the overlay layer */
}

#dialog_change_language_alert {
    height: auto;
}

#dialog_display_detail_Mime{
    top: 30%;
}

#dialog p,#dialog_delete_Mime p,#dialog_display_detail_Mime p, #dialog_change_language_alert p{
    text-align: center;
    font-size: 20px;
    margin: 15px 0 15px 0;
}

#dialog_change_language_alert h1 {
    text-align: center;
}

#dialog input,#dialog_delete_Mime input{
    width: 250px;
    height: 47px;
    border: none;
    float:left;
}

#dialog_display_detail_Mime input{
    width: 100%;
    height: 47px;
    border: none;
    vertical-align: center;
}

#dialog input:hover,#dialog_delete_Mime input:hover,#dialog_display_detail_Mime input:hover, #dialog_change_language_alert input:hover{
    cursor: pointer;
}

#dialog #yes,#dialog_delete_Mime #yes_delete_mime{
    border-right: solid 1px #ffffff !important;
    color: #FFFFFF;
    background-color: #FF9133;
    font-size: medium;
}

#dialog #cancel,#dialog_delete_Mime #cancel_delete_mime,#dialog_display_detail_Mime #cancel_mime_detail_view{
    color: #FFFFFF;
    background-color: #FF9133;
    font-size: medium;
}

#dialog_create_Mime{
    position: fixed;
    top: 30%;
    left: 50%;
    margin-top: -50px;
    margin-left: -250px;
    background-color: #ffffff;
    border: solid 1px #002751;
    width: 500px;
    height: auto;
    color: #002751;
    z-index: 11; /* 1px higher than the overlay layer */
}

#dialog_create_Mime p{
    text-align: center;
    font-size: 20px;
    margin: 15px 0 15px 0;
}

#dialog_create_Mime td input{
    width: 250px;
    height: 20px;
    border: none;
    float:left;
}

#dialog_create_Mime input:hover{
    cursor: pointer;
}

#dialog_create_Mime #create, #dialog_change_language_alert #accept {
    border-right: solid 1px #ffffff !important;
    color: #FFFFFF;
    background-color: #FF9133;
    font-size: medium;
    width: 250px;
    height: 47px;
    border: none;
    float:left;
}

#dialog_create_Mime #cancel, #dialog_change_language_alert #cancel{
    color: #FFFFFF;
    background-color: #FF9133;
    font-size: medium;
    width: 250px;
    height: 47px;
    border: none;
    float:left;
}

#dialog_create_Mime table tr td{
    padding: 5px;
}

#dialog_create_Mime_headline{
    padding-left: 5px;
    text-decoration: underline;
    text-underline: black;
}

#save_article{
    padding: 0.3em 0.4em;
    background-color: #FF9133;
    border: solid 2px #FFFFFF;
    color: #FFFFFF;
    cursor: pointer;
    font-size: medium;
}

.mime_detail_view { cursor: pointer; }

.clearfix{
    clear: both;
}

.icon{
    height: 30px;
    width: 30px;
}

.icon:last-child{
    margin-left: 5px;
}

.feedback_wrapper{
    text-align: right;
    margin: 0;

}

.feedback{
    padding: 0.3em 0.4em;
    background-color: #FF9133;
    border: solid 2px #FFFFFF;
    color: #FFFFFF;
    cursor: pointer;
    font-size: medium;
    text-decoration: none;
}

.description{
    text-align: justify;
    color: #002751;
}

.back,.create_mime{
    padding: 0.3em 0.4em;
    background-color: #FF9133;
    border: solid 2px #FFFFFF;
    color: #FFFFFF;
    cursor: pointer;
    font-size: medium;
}

.imprint{
    color: #002751;
}

.imprint:visited{
    color: #002751;
}

#table_invalid_transmission th:first-child{
    width: 50px;
}

#table_invalid_transmission th:last-child{
    width: 100px;
}

#table_invalid_transmission td:last-child form{
    padding-bottom: 0px;
}

pre{
    white-space: pre-line;
}

/**
*  Footer Styles
*/
footer{
    width: 100%;
    height: 30px;
    background-color: #CDD7DD;
    color: #002751 !important;
}

#footer_content{
    width: 100%;
    height: 30px;
}

#footer_block_1{
    width: 25%;
    height: 30px;
    position: relative;
    float: left;
    padding-left: 20px;
}

#footer_block_1 a{
    margin: 0;
    position: relative;
    top: 10px;
}

#footer_block_2{
    width: 50%;
    height: 100%;
    position: relative;
    float: left;
    text-align: center;
}

#footer_block_2 p{
    margin: 0;
    position: relative;
    top: 10px;
}

#footer_block_3{
    width: 100%;
    height: 100%;
    position: relative;
    float: left;
}
.hidden{
    display:none;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #768a96; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin: auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}