html, body {
    height: 100%; /* чтобы подвал книзу можно было прижать */
}

body {
    line-height: 1;
    background: #010531;
    color: #000;
    text-align: left;
    font: 14px Verdana, "Geneva CY", "DejaVu Sans", sans-serif; /* используем безопасные шрифтовые CSS стеки */
}

input, select, button, textarea {
    font-family: Verdana, "Geneva CY", "DejaVu Sans", sans-serif; /* чтобы шрифт был такой же как и везде */
}

label, input[type="button"], input[type="submit"], button {
    cursor: pointer; /* курсор в виде руки для всех кликабельных элементов форм */
}

a, a:visited {
/* порядок правил для ссылок имеет значение */
    color: #001E70;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: #001E70;
    text-decoration: underline;
    cursor: pointer;
}

a:focus, a:active {
    color: #001E70;
    text-decoration: underline;
    cursor: pointer;
}

body {
    background: -moz-linear-gradient(top, #010531, #9cc4f9); /* Firefox 3.5+ */
    background: -webkit-gradient(linear, left top, left bottom, from(#010531), to(#9cc4f9)); /* Safari 4-5, Chrome 1-9 */
    background: -webkit-linear-gradient(#010531, #9cc4f9); /* Safari 5.1+, Chrome 10 */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#010531', endColorstr = '#9cc4f9', GradientType = 0); /* ie */
    overflow: hidden;
}

.mainContainer {
    position: relative;;
    width: 850px;
    margin-left: auto;
    margin-right: auto;
    top: 15%;
}

.box {
    height: 260px;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    float: left;
}

#loginBox.box {
    height: 260px;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    float: left;
    padding-top: 30px;
}

.logo {
    width: 98%;
    height: 45px;
    background-image: url(/dso/images/ui/ideal.png);
    background-repeat: no-repeat;
    background-position: center;
}

#navLinks {
    margin: 30px;
    text-align: center;
    font-style: italic;
    font-variant: small-caps;
    font-size: 16px;
    font-weight: bold;
    color: white;
}

#navLinks > a:link, #navLinks > a:visited {
    display: inline-block;
    font-style: italic;
    font-variant: small-caps;
    left: -5px;
    outline: none;
    position: relative;
    text-align: center;
    width: 110px;
    white-space: nowrap;
}

a[href='#login'] {
    width: 130px !important;
}

#active {
    font-size: 16px;
    font-weight: bold;
}

.locale {
    left: 8px;
    margin-top: -43px;
    opacity: 0.7;
    position: absolute;
    height: 35px;
    top: 100%;
}

.langPanel {
    left: 8px;
    margin-top: -30px;
    position: absolute;
    height: 35px;
    top: 100%;
}

a.copyright {
    color: #001E70;;
    position: absolute;
    top: 100%;
    left: 100%;
    margin-top: -20px;
    margin-left: -230px;
    height: 20px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 11px;
    cursor: pointer;
    text-align: right;

    -webkit-font-smoothing: antialiased;
    -webkit-user-select: none;
    text-shadow: rgba(0, 0, 0, 0.398438) 0px 1px 1px;
}

.content {
    height: 255px;
    font-size: 8.5pt;
    position: relative;
    text-align: left;
    width: 100%;
    white-space: nowrap;
    z-index: 2;
}

@-moz-document url-prefix() {
       .content{
       font-size:7.5pt;
   }
}

.left {
    background-color: #9dc5fa;
    display: inline-block;
    height: 290px;
    position: relative;
    vertical-align: top;
    width: 230px;
    z-index: 0;
    float:left;
    transition: left 0.6s linear;
    -moz-transition: left 0.6s linear;
    -webkit-transition: left 0.6s linear;
}

.loginForm {
    color: #001e70;
    display: block;
    text-align:left;
    font-weight: bold;
    margin: 10%;
    opacity: 1;
    transition: opacity 0.6s linear;
    width: 80%;
    -moz-transition: opacity 0.6s linear;
    -webkit-transition: opacity 0.6s linear;

}
.passwordRecoveryForm{
    color: #FFF;
    display: block;
    font-weight: bold;
    margin: 10%;
    opacity: 1;
    transition: opacity 0.6s linear;
    width: 80%;
    -moz-transition: opacity 0.6s linear;
    -webkit-transition: opacity 0.6s linear;
}

.loginForm > div {
    color: #001e70;
    cursor: pointer;
    display: block;
    //display: inline;
    font-weight: normal;
    margin: 60px 0 0 0;
    text-align: center;
    text-decoration: none;
}

.loginForm > label {
    color: #001e70;
    display: block;
    margin-bottom: 8px;
}

.loginForm > input {
    background: #bdd7fc;
    border: none;
    color: #001e70;
    height: 16px;
    margin-bottom: 20px;
    padding: 0;
    width: 150px;

}

.loginForm > input.submit {
    background: #9BC2FD;
    border: none;
    box-shadow: inset -1px -1px 1px #70a0d0, inset 1px 1px 1px #aDc7eC;
    display: block;
    font-size: 8pt;
    font-weight: bold;
    height: 20px;
    margin-left: 62px;
    padding: 3px;
    width: 88px;
}

.loginForm.recovery {
    display: none;
}

.image {
    background-color: #9dc5fa;
    height: 290px;
    box-shadow: -2px 0px 2px #6B89bB;
    margin-left: -9px;
    padding-left: 0px;
    position: relative;
    z-index: -1;
}

.image_padding{
    margin-right: 10px;
    padding-left:  5px;
    padding-right: 5px;
}

.loginRight {
    float:left;
    background: white;
    margin-left: -4px;
    overflow: hidden;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    position: relative;
    vertical-align: top;
    border: none;
    text-align: justify;
    display: inline-block;
    width: 491px;
    height: 290px;
    z-index: 1;
}

.blueLine {
    background: #9dc5fa;
    box-shadow: -2px 0px 2px #2B395B;
    display: inline-block;
    cursor: pointer;
    height: 245px;
    left: 0;
    margin-left: -65px;
    position: relative;
    text-align: right;
    vertical-align: top;
    width: 140px;

    transition: left 0.5s linear;
    -o-transition: left 0.5s linear;
    -moz-transition: left 0.8s linear;
    -webkit-transition: left 0.5s linear;

}

.blueLine.first {
    margin-left: 0px;
    box-shadow: none;
}

.blueLine p.first {
    color: #001e70;
    display: block;
    font-weight: bold;
    left: 6px;
    letter-spacing: 1px;
    position: relative;
    text-align: left;
    text-decoration: none;
    top: -10px;
    width: 215px;
    z-index: 1;

    transform: rotate(-90 eg);
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -o-transform-origin:5px 0px;
    -o-transform: rotate(-90deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation = 3);

    transform-origin: left top;
    -moz-transform-origin: left top;
    -webkit-transform-origin: left top;

}

.blueLine img {
    height: 245px;
    padding-left: 35px;
    vertical-align: top;
    width: 160px;
}

#defaultAbout {
    opacity: 1;
}

.aboutRight {
    background: white;
    border: none;
    box-shadow: -1px 0px 3px #2B395B;
    display: inline-block;
    height: 245px;
    margin-left: -66px;
    opacity: 1;
    overflow: hidden;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    position: relative;
    text-align: justify;
    vertical-align: top;
    width: 527px;
    z-index: 1; /*transition: all 1.3s ease-in;*/
/*-webkit-transition: all 1.3s ease-in;*/
/*-moz-transition: all 1.3s ease-in;*/
}

.aboutRight p {
    opacity: 0;

    transition: opacity 0.3s ease-in;
    -webkit-transition: opacity 0.3s ease-in;
    -moz-transition: opacity 0.3s ease-in;
}

.loginRight p, .aboutRight p {
    color: #001e70;
    margin: 7px 10px 0 10px;
    white-space: normal;
}

.contactsHeader {
    color: #39618B;
    font-size: 9pt;
    padding: 10px 0 0 30px;
}

#contacts > div {
    background: white;
    display: inline-block;
    height: 245px;
    margin-left: -4px;
    vertical-align: top;
    width: 698px;
}

.contactsLeft {
    display: inline-block;
    padding-right: 40px;
    white-space: nowrap;
    width: 35%;
}

.contactsRight {
    display: inline-block;
    white-space: nowrap;
    width: 58%;
    vertical-align: top;
}

.emailForm {
    border-radius: 10px;
    border-width: 2px;
    display: block;
    font-size: 7pt;
    margin: 10px 15px 15px 15px;
    padding: 0px 5px 10px 5px;
}

.contactsLeft input, .contactsLeft select, .contactsLeft option {
    border: solid 1px;
    color: #39618B;
    font-size: 8pt;
    height: 20px;
    margin: 15px 10px 0px 10px;
    padding: 0;
    width: 100%;
}

.contactsLeft option {
    border: none;
    margin: 0;
}

select option:first-of-type {
    display: none;
}

.contactsRight input {
    border: solid 1px;
    color: #39618B;
    font-size: 8pt;
    height: 18px;
    width: 50%;
    margin: 15px 10px 0px 0px;
}

.emailForm textarea {
    color: #39618B;
    border: solid 1px #aAaAaA;
    font-size: 8pt;
    height: 93px;
    margin: 15px 0px 0px 0px;
    resize: none;
    vertical-align: top;
    width: 100%;

    border-radius: 1px;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
}

.wrap {
    white-space: normal;
    display: block ;
}

.nowrap {
    white-space: nowrap;
    display: inline-block;
}

.elseText:disabled {
    opacity: 0;
    transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    -webkit-transition: opacity 0.2s linear;

}

.elseText {
    opacity: 1;
    transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    -webkit-transition: opacity 0.2s linear;
}

.contactSubmit {
    width: 147px !important;
}

#contacts > img {
    background: #9dc5fa;
    display: inline-block;
    padding-left: 30px;
    height: 245px;
}

.borderRightSide {
    float: left;
    border-radius: 0px 2px 2px 0px;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    -moz-border-top-right-radius: 2px;
    -moz-border-bottom-right-radius: 2px;

    -webkit-border-top-right-radius: 2px;
    -webkit-border-bottom-right-radius: 2px;
}

.borderLeftSide {
    float: left;
    border-radius: 2px 0px 0px 2px;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    -moz-border-top-left-radius: 2px;
    -moz-border-bottom-left-radius: 2px;
    -webkit-border-top-left-radius: 2px;
    -webkit-border-bottom-left-radius: 2px;
}

#requiredErr.formError, #emailErr.formError {
    border-radius: 3px;
    border: solid 2px #4F6696;
    background: #8DB1E5;
    color: #4F6696;
    display: none;
    font-size: 10px;
    height: 16px;
    margin: 0;
    padding-right: 3px;
    padding-right: 3px;
    padding-top: 4px;
    position: absolute;
    z-index: 334;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
}

#requiredErr.formError {
    margin-left: 0px;
}

input::-webkit-input-placeholder {
    color: gray;
}

input:-moz-placeholder {
    color: gray;
}

.translator {
    position: absolute;
    left: 0.5%;
    bottom: 0.5%
}


.modalBackground {
    background-color: rgba(0,0,0,0.5);
    display: none;
    height: 100%;
    left:0;
    position: absolute;
    text-align:center;
    top:0;
    width: 100%;
    z-index: 50;
}

.modalBackground > .messageWindow {
    background: #9DC5FA;
    border: 4px solid #9DC5FA;
    display: inline-block;
    margin-left:auto;
    margin-right:auto;
    opacity:1;
    padding-top: 0px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    position: relative;
    top:30%;
    vertical-align:middle;
    width:300px;
    height:150px;

    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;

}

.modalBackground > .messageWindow > img {
    border:none;
    display:block;
    position: absolute;
    right: 20px;
    top: 20px;
}

.modalBackground > .messageWindow .message {
    margin-right:auto;
    margin-left:auto;
    text-align: right;
    width:200px;
}

.modalBackground > .messageWindow .message img, .messageWindow .message input {
    border: solid 1px #8DB1E5;
    outline: none;
    margin-top: 15px;
}

.modalBackground > .messageWindow .message img{
    border:none;
}


a.company:hover, a.company:active, a.company:link, a.company:visited {
    color: #001E70;
    text-decoration: underline;
}



