﻿body, html, div, img 
{
    margin: 0;
    padding: 0;    
}

body {
    background-color: #EDEDED; /*#425770;*/
}

body, a, textarea {
    color: #121212;
    font-family: arial, sans-serif;
    font-size: 14px;
}

#content-container 
{
    width: 1100px;
    margin: 0 auto;
}

.clear-both {
    clear: both;
}

h2 {
    font-size: 16px;
}

overflow {
    overflow: visible;
}

.hide {
    display: none; 
}

select {
    margin: 0;
}

input[type="text"] {
    padding: 0;
    margin: 0;
}

/***************************
    Toastr
***************************/

#toast-container > .toast-info {
  background-image: none !important;
}
#toast-container > .toast-error {
  background-image: none !important;
}
#toast-container > .toast-success {
  background-image: none !important;
}
#toast-container > .toast-warning {
  background-image: none !important;
}

/***************************
    header
***************************/

#header {
    height: 45px;
    line-height: 45px;
    margin: 10px 0 10px 0;
}

#logo {
}

#log-out {
    float: right;
    text-decoration: none;
}

#log-out:hover {
    text-decoration: underline;
}

/***************************
    main namvigation
***************************/

#main-nav
{
    list-style: none;
    min-height: 40px;
    line-height: 40px;
    background-color: white;
    margin: 0 0 20px 0;
}

#main-nav li.nav-list-item 
{    
    padding: 0 20px 0 0;
    float: left;
    position: relative;
}

.nav-list-item a {
    display: block;
    height: 40px;
    line-height: 40px;
    text-decoration: none;
    padding: 0 5px;
}

.nav-list-item a.selected {
    background-color: #F0DCBD; /*#A8BFE3;*/
}

.nav-list-item a:hover {
    background-color: #F2D3A2;
}

#main-nav li.nav-list-item:hover #main-nav-sub-nav
{
    display: block;
}

#main-nav-sub-nav
{   
    display: none;
    position: absolute;
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: white;
    float: left;
    box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.25);
    z-index: 1000;
}

#main-nav-sub-nav li.nav-list-item 
{    
    padding: 0;
    margin: 0; 
    float: none;
    min-height: 40px;
    line-height: 40px;   
}

#main-nav-sub-nav li.nav-list-item a {
    width: 260px;
}

/***************************
        container
***************************/

.container {
    padding: 5px;
    box-shadow: 2px 2px 1px 0px rgba(0,0,0,0.25);
    background-color: white;    
}

.container-header {
    margin: 0;
    padding: 0;
    color: #964444;
    padding: 5px;
    font-weight: normal;
    min-height: 20px;
    border-bottom: 1px solid #D6D6D6;
}

.content-overflow {
    overflow-y: auto;
}

.ajax-loading {
    background: url('images/Layout/loading.gif') no-repeat top center;
    height: 25px;
    display: none;  
}

/***************************
        lists
***************************/

.list
{
    margin: 0;
    padding: 0;
    list-style: none;
}

.list-item
{    
    margin: 0;
    padding: 0;
}

:focus {
    outline: 0;
}

.list-item a, .list-item-header {    
    min-height: 14px;
    text-decoration: none;
    padding: 7px 5px 7px;
    display: block;
}

.list-item a.selected {
    background-color: #F0DCBD; /*#A8BFE3;*/
}

.list-item a:hover {
    background-color: #F2D3A2;
}

.list-item-header {
    font-weight: bold;
}

.list-item-value {
    display: block;
    width: 50px;
    float: left;
    min-height: 14px;
}

/***************************
        action buttons
***************************/

.action-button {
    background-color: #BDD2F0;
    height: 40px;
    line-height: 40px;
    text-align: center;
    display: block;
    color: #446896;
    border: none;
}

.action-button:hover {
    background-color: #5A7599;
    color: white;
}

.update-button, .save-button, .cancel-button, .delete-button {
    float: left;
    margin-right: 10px;
}

.update-button, .save-button, .cancel-button, .log-in-button, .delete-button {
    width: 200px;
}

.delete-button {
    background-color: #F0BDBD;
    color: #964444;
}

.delete-button:hover {
    background-color: #964444;
}

/***************************
    Details container
***************************/

#details  {
    margin: 0 0 10px 0;
}

#details-container 
{
    clear: both;
    margin: 0 0 20px 0;
}

#details-content-container {

}

#details {
    margin: 0 0 40px 0;
}

#details-action-container {
    clear: both;
    height: 40px;
}

.update-button, .save-button, .cancel-button, .delete-button {
    float: left;
    margin-right: 10px;
}

.update-button, .save-button {
    width: 200px;
}

.cancel-button {
    width: 200px;
}

.delete-button {
    width: 200px;
    background-color: #F0BDBD;
    color: #964444;
}

.delete-button:hover {
    background-color: #964444;
}

.note {
    color: grey;
}


/***************************
        details grid
***************************/

#details .editor-row {
    min-height: 50px;
    margin-bottom: 20px;
}

#details .editor-cell {
    float: left;
    width: 360px;
}

#details .full-width {
    width: 1090px;
}

#details .editor-label {
    padding: 0 5px;
    height: 20px;
}

#details .editor-field {
    padding: 0 5px;
    min-height: 20px;
}

#details .force-height {
    height: 20px;
}

#details input[type="text"], #details input[type="password"], #details textarea {
    width: 225px;    
}

#details textarea {
    height: 80px;
}

#details select {
    width: 225px;
}

/***************************
    Images container
***************************/

#images-container {
    margin: 0 0 20px 0;
}

#images .editor-row {
    min-height: 50px;
    margin-bottom: 20px;
}

/***************************
    product images
***************************/

#new-image {
    margin-bottom: 20px;
}

#details-content-container .action-button, #images-content-container .action-button {
    width: 200px;
}

.button-container {
    height: 40px;
}

#file-upload-button {
    height: 40px;
    line-height: 40px;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    float: left;
    margin-right: 10px;
}

#file-upload-button .upload-text {
    float: left;
    height: 1px;
    width: 100%;
    margin-top: -1px;
    text-decoration: underline;
}

#file-upload-button input {
    height: 100%;
    padding-left: 100%;
    overflow: hidden;
    clear: both;
    cursor: pointer;
}

#delete-image-container {
    height: 40px;
}

/***************************
        notifications
***************************/

.error {
    border: 1px solid red;
    background-color: #FFC9C9;
}

.input-validation-error {
    border: 1px solid red;
}

.field-validation-error {
    color: red;
    display: block;
    margin-bottom: 10px;
}

.success {
    border: 1px solid green;
    background-color: #C9FFD9;
}

#cke_Content, #cke_Value, #cke_Article, #cke_MembershipPolicy, #cke_EmailVerificationBody, #cke_AccountActivatedBody, #cke_ResetPasswordBody, #cke_QuoteListEmailBody {
    width: 996px;
    margin: 0 auto;
}