﻿body {
    /*background: #F3F3F3;*/
    background: #f3f3f3;
    font-style: normal !important;
    font-weight: normal !important;
    /*font-size: 13px !important;*/
    /*font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;*/
    height: 100%;
    width: 100%;
    min-width: 1050px;
    margin: 0 auto;
}

a:hover {
    text-decoration: none;
}

a:link:hover {
    text-decoration: underline;
}

/* Core structure */

#Page { }

#InnerPage {
    -webkit-box-shadow: 0px 1px 15px 7px lightgray;
    box-shadow: 0px 1px 15px 7px lightgray;
    width: 1000px;
    margin: 0 auto 25px;
    background: white;
}

#InnerPage.Faded {
    background: rgb(200,200,200); /* Old browsers */
    background: -moz-linear-gradient(top,  rgb(200,200,200) 20%, rgb(180,180,180) 80%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(20%,rgb(200,200,200)), color-stop(80%,rgb(180,180,180))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgb(200,200,200) 20%,rgb(180,180,180) 80%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgb(200,200,200) 20%,rgb(180,180,180) 80%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgb(200,200,200) 20%,rgb(180,180,180) 80%); /* IE10+ */
    background: linear-gradient(to bottom,  rgb(200,200,200) 20%,rgb(180,180,180) 80%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c8c8c8', endColorstr='#b4b4b4',GradientType=0 ); /* IE6-9 */
    
    background-position: 0 50px;
}

#Layout {
    width: 100%;
    padding: 0 0 15px;
    position: relative;
    top: -12px;
}

#LayoutContainer { }

#ChildPage {
    padding: 0 5px;
}

#ContentMain {
    width: 100%;
    text-align: left;
}


#ParentHeader {
    background-image: url('Img/HeaderBackground.png');
    background-repeat: repeat-x;
    display: block;
    width: 100%;
    text-align: center;
	font-family: Verdana, Arial, Sans-Serif !important;
}

#ParentHeader .Header {
    padding: 0 20px;
    display: block;
    height: 100%;
}


.Header {
    color: #325aa8;
}

.Header > div {
    display: inline-block;
}

.Header > table {
    background: inherit;
    border: none;
    width: 100%;
    margin: 0;
    padding: 0;
    height: 60px;
    min-height: 60px;
    max-height: 60px;
}
.Header > table tr {
    background: inherit;
    border: none;
    padding: 0;
    margin: 0;
}
.Header > table td {
    background: inherit;
    border: none;
    padding: 0 0 8px;
    margin: 0;
}

.Header td.Left {
    text-align: left;
}
.Header td.Middle {
    text-align: center;
}
.Header td.Right {
    text-align: right;
}

.Header > table > tbody > tr > td.Left, 
.Header > table > tbody > tr > td.Right {
    width: 45%;
}


.Header .Text {
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    color: inherit;
    margin: 8px 0;
    padding: 0;
    vertical-align: top;
    line-height: 120%;
}
.Header .Text:not(.NoHover):hover {
    color: rgb(118, 188, 254) !important;
    /*text-decoration: underline;*/
}

.Header .Text a,
.Header .Text a:hover,
.Header .Text span,
.Header .Text h1 {
    color: inherit;
    text-decoration: inherit;
    font-size: 15px;
    font-weight: inherit;
    font-style: inherit;
    font-family: inherit;
    margin: 0;
    padding: 0;
    line-height: inherit;
    display: inline-block;
}



.Header .PortalHome {
    background-image: url('Img/PortalButton.png');
    background-repeat: no-repeat;
    display: inline-block;
    width: 35px;
    height: 35px;
    vertical-align: sub;
    font-size: 13px;
    color: blue;
}
.Header .PortalHome:hover {
    background-image: url('Img/PortalButtonHover.png');
}

.Header .Jera {
    background-image: url('Img/Jera.png');
    background-repeat: no-repeat;
    display: inline-block;
    width: 27px;
    height: 27px;
    font-size: 13px;
    color: blue;
}

.Header .SignOut {
    background-image: url('Img/SignOut.png');
    background-repeat: no-repeat;
    display: inline-block;
    width: 35px;
    height: 35px;
    font-size: 13px;
    color: blue;
}
.Header .SignOut:hover {
    background-image: url('Img/SignOutHover.png');
}




/* TabBar */
.TabBar {
    background-image: url('Img/MenuBackground.png');
    background-repeat: repeat-x;
    background-position: 0 -1px;
    display: block;
    height: 30px;
    padding: 3px 15px;
    margin: 0;
    position: relative;
    top: -10px;
}
.TabBar div.Search {
    /*float: left;*/
}
.TabBar div.Search .Textbox {
    font-size: 10px;
}

.TabBar .LinkBar { }
.LinkTabs {
    text-align: left;
}
.LinkTabs.Right {
    text-align: right;
}
.LinkTabs.Right .Tab {
    float: none;
}


/* Tabs */
.LinkTabs .Tab {
    display: inline-block;
    padding: 0;
    margin: 0;
    font-size: 11px;
    float: left;
    position: relative;
    top: -2px;
    text-align: center;
    background: inherit;
}
.LinkTabs .Tab a {
    display: inline-block;
    padding: 8px 10px 6px;
    text-decoration: inherit;
}

.LinkTabs .Tab.Selected {
    border-color: #ddd;
    border-style: solid;
    border-width: 0 1px 0 1px;
    text-decoration: none;
    background: #fafafa;
}
.LinkTabs .Tab.Hover {
    text-decoration: underline;
}






/* Dialog */
.Dialog {
    font-size: 1em;
    color: #325aa8;
    width: 315px;
    padding: 20px 120px 40px;
    margin: 60px auto 100px;
    border-radius: 12px;

    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top,  rgb(255,255,255) 0%, rgb(220,220,220) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(255,255,255)), color-stop(100%,rgb(220,220,220))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgb(255,255,255) 0%,rgb(220,220,220) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgb(255,255,255) 0%,rgb(220,220,220) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgb(255,255,255) 0%,rgb(220,220,220) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgb(255,255,255) 0%,rgb(220,220,220) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dcdcdc',GradientType=0 ); /* IE6-9 */


    -webkit-box-shadow: 0 2px 10px 1px rgb( 180, 180, 180 );
    box-shadow: 0 2px 10px 1px rgb( 180, 180, 180 );
    border: 1px solid gray;
}
.Dialog a {
    color: inherit;
}
.Dialog .Title {
    text-align: center;
    color: inherit;
    margin: 0 0 20px 0;
    font-size: 1.2em;
}
.Dialog .button {
    margin: 0;   
}

.Dialog .FormField {
    margin: 0 0 10px 0;
}
.Dialog .FormField label {
    margin: 0 0 2px 0;
    display: block;
}
.Dialog .Extra .FormField {
    margin: 0 0 5px 0;
}


.Dialog .EditBtn {
    display: block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: url('Img/Pen.png');
    background-repeat: no-repeat;
    background-color: transparent;
    width: 13px;
    height: 13px;
}



#ProfileContainer {
    color: #325AA8;
    font-family: Verdana, Helvetica, Arial;
    z-index: 900;
    width: 1000px; /* Same as #InnerPage */
    padding: 0;
    margin: 0;
    position: absolute;
    top: inherit;
    left: inherit;
}
#ProfileContainer .Modal {
    width: 100%;
    display: block;
    background: darkgray;
    opacity: 0.8;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
}
#ProfileContainer > .Modal {
    position: absolute;
    top: -60px;
    left: 0;
    z-index: 902;
    min-height: 400px;
    height: 576px;
}
#ProfileContainer > .Dialog {
    width: 415px;
    /*margin: 60px auto;*/
    margin: 0 auto;
    padding: 10px 15px 16px;
    z-index: 905;
    position: relative;
}
#ProfileContainer .ProfileImage img {
    text-align: center;
}

#ProfileContainer .UploadImage {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 908;
}

#ProfileContainer .UploadImage > .Modal {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 902;
    min-height: 340px;
    width: 100%;
    border-radius: 10px;
}

#ProfileContainer .UploadImage > .Dialog {
    /*height: 180px;*/
    width: 250px;
    margin: 55px auto;
    padding: 15px 18px 13px;
    position: relative;
    z-index: 910;
}
#ProfileContainer[data-id="0"] .UploadImage > .Dialog {
    margin: 21px auto;
}

#ProfileContainer .UploadImage > .Dialog p {
    margin: 0 0 2px;
}
#ProfileContainer .UploadImage > .Dialog .ProfileImage {
    margin: 0 0 10px;
    /*height: 100px;*/
}
#ProfileContainer .UploadImage > .Dialog .ProfileImage img {
    display: block;
    border: 1px solid black;
    max-width: 200px;
    max-height: 150px;
    min-width: 80px;
    min-height: 80px;
    margin: 0 auto;
}
#ProfileContainer .UploadImage > .Dialog .ProfileImage img[data-imagerel="default"] {
    width: 120px;
    height: 120px;
}


#ProfileContainer .Dialog p {
    color: inherit;
    font-size: 13px;
    font-weight: normal;
    display: block;
}
#ProfileContainer > .Dialog .Top {
    min-height: 83px;
}

#ProfileContainer > .Dialog .Top p {
    margin: 0 0 2px;
    font-size: 14px;
}
#ProfileContainer > .Dialog .Top p.Name {
    margin: 0 0 8px;
    font-size: 13px;
    display: inline-block;
}
#ProfileContainer > .Dialog .Top .FormField {
    margin: 0 0 8px;
    font-size: 13px;
    display: inline-block;
}
#ProfileContainer > .Dialog .Top .FormField:first-of-type {
    margin-top: 9px;
}
#ProfileContainer > .Dialog .Top .FormField input {
    width: 175px;
}

#ProfileContainer > .Dialog .Top .EditBtn {
    position: static;
    float: none;
    display: inline-block;
}

#ProfileContainer > .Dialog .Top .ProfileImage {
    display: block;
    float: right;
}
#ProfileContainer > .Dialog .Top .ProfileImage img {
    display: block;
    float: right;
    border: 1px solid black;
    max-width: 200px;
    max-height: 80px;
    /*min-width: 80px;*/
    min-height: 80px;
}

#ProfileContainer > .Dialog .Top .ProfileImage:hover .EditBtn,
#ProfileContainer > .Dialog .Top .ProfileImage .EditBtn:hover {
    visibility: visible;
}

#ProfileContainer > .Dialog .Top .ProfileImage .EditBtn {
    position: relative;
    left: 0;
    top: 0;
    margin-left: -25px;
    float: right;
    visibility: hidden;
    border: 1px solid #325AA8;
    background-position: 2px;
    background-color: white;
    padding: 2px;
}

#ProfileContainer > .Dialog .FullName {
    font-size: 15px;
    font-weight: bold;
    color: #325aa8;
    margin: 4px 0 9px;
}
#ProfileContainer > .Dialog .EMail .Textbox {
    min-width: 25px;
    max-width: 270px;
}


#ProfileContainer > .Dialog .Separator {
    display: block;
    height: 20px;
    margin: 10px auto 0;
    width: 100%;
    background-image: url('Img/Shadow.png');
    background-repeat: no-repeat;
}
#ProfileContainer[data-id="0"] > .Dialog .Separator {
    margin-top: 8px;
}


#ProfileContainer > .Dialog .Details {
    padding: 2px 0 6px;
}
#ProfileContainer > .Dialog .Details .EditBtn {
    float: right;
    position: relative;
    top: 5px;
    left: -11px;
    margin-left: -20px;
}
#ProfileContainer .Dialog .FormField label {
    display: inline-block;
    width: 126px;
}
#ProfileContainer .Dialog .FormField input {
    width: 265px;
    color: inherit;
}
#ProfileContainer .Dialog .FormField select {
    width: 278px;
    color: inherit;
}

#ProfileContainer .Dialog .FormField.Birthday input {
    width: 75px;
    text-align: center;
}

#ProfileContainer .Dialog .FormField.Birthday select {
    width: 89px;
}

#ProfileContainer .Dialog .Actions > *:not(.clearfix) {
    float: right;
    margin: 0 0 0 10px;
}
#ProfileContainer .Dialog .Actions span.Error {
    color: red;
}
#ProfileContainer .Dialog .Actions span.Success {
    color: green;
}


#LoginControl .Dialog {
    position: relative;
}

#LoginControl .Dialog.Login {
    padding: 20px 120px 30px;
    z-index: 880;
}
#LoginControl .Dialog.ForgotPass {
    margin-top: -310px;
    margin-bottom: 165px;
    padding: 10px 30px;
    width: 350px;
    z-index: 890;
}
#LoginControl .Dialog.ForgotPass input[type=submit] {
    position: relative;
    left: 207px;
}


.Login .Button {
    padding: 3px 30px;
}
.Login .Error {
    font-weight: bold;
    color: red;
    margin: 0;
    text-align: center;
    clear: both;
}



/* Controls */
.Button {
    cursor: pointer;
    margin: 0;
    padding: 3px 15px;
    color: inherit;
    background: white;
    border: 1px solid #b3b3b3;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    -webkit-box-shadow: 0 2px 3px 0 #B3B3B3;
    box-shadow: 0 2px 3px 0 #B3B3B3;
}

.Button[disabled] {
    color: gray;
}

.Dropdown {
    color: black;
    margin: 0;
    padding: 0 6px;
    height: 22px;
    font-size: 13px;
    border: 1px solid #B4B4B4;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 2px 4px 0px #c9c9c9;
    box-shadow: 0px 2px 4px 0px #c9c9c9;
}

.Textbox {
    color: black;
    margin: 0;
    padding: 0 6px;
    height: 22px;
    font-size: 13px;
    border: 1px solid #B4B4B4;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 2px 4px 0px #c9c9c9;
    box-shadow: 0px 2px 4px 0px #c9c9c9;
}



.Textarea {
    color: black;
    margin: 0;
    padding: 6px;
    font-size: 13px;
    border: 1px solid #B4B4B4;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0px 2px 4px 0px #c9c9c9;
    box-shadow: 0px 2px 4px 0px #c9c9c9;
}



.token-input-list-facebook {
    -webkit-box-shadow: 0 2px 4px 0 #C9C9C9;
    box-shadow: 0 2px 4px 0 #C9C9C9;
    border-radius: 5px;
}


div.Search {
    display: inline-block;
    text-align: left;
    width: 135px;
}

div.Search .Textbox {
    font-size: 12px;
    height: inherit;
    width: 100px;
    padding: 2px 22px 2px 6px;
}

div.Search .Icon {
    background-image: url('Img/Search.png');
    background-repeat: no-repeat;
    display: inline-block;
    padding: 0;
    margin: 0;
    border: 0;
    width: 16px;
    height: 16px;
    position: relative;
}

div.Icon.Search {
    width: 13px;
    height: 11px;
    margin-left: -23px;
    top: 1px;
    background-image: url("Img/Search.png");
}
div.Icon.Spinner {
    margin-left: -18px;
    top: 4px;
    background-image: url("Img/spinner.gif");
}


.Checkbox {
    display: block;
    margin: 6px 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.Checkbox input {
    margin: 0;
    display: none;
}

.Checkbox label {
    vertical-align: top;
    display: inline-block !important;
    /*font-size: 10px;*/
    margin: 2px 0 0 1px;
    cursor: pointer;
}

.Checkbox .Icon {
    display: inline-block;
    background-image: url('Img/CheckboxUnchecked.png');
    background-repeat: no-repeat;
    width: 16px;
    height: 17px;
    cursor: pointer;
}

.Checkbox:-moz-has-descendant(*:checked) .Icon,
.Checkbox input[type=checkbox]:checked + input + .Icon,
.Checkbox input[type=checkbox]:checked + input + input + .Icon /* extra inputs represent eventual hidden inputs */
{
    background-image: url('Img/CheckboxChecked.png');
}

.Checkbox.Checked .Icon
{
    background-image: url('Img/CheckboxChecked.png');
}



/* Extras */

.PlaceholderColor {
    color: grey;
}
input[placeholder][value=""]:not(.NoPlaceholderColor) {
    /*color: grey !important;*/
}


.clearfix {
    visibility: hidden;
    clear: both;
}

.NoBorderRadius {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.unselectable {
    /*  http://stackoverflow.com/questions/3779534/how-to-disable-text-selection-with-css-or-js  */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}



.PaddedContainer {
    padding: 10px 15px;
    margin: 6px;
}

.PaddedContainer.Border {
    border: 1px solid black;
}

.PaddedContainer h2 {
    margin: 0;
}

.PaddedContainer p > input[type=text] {
    float: right;
}

