﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
*
{
    padding: 0;
    margin: 0;
}

body
{
    font-size: 75%;
    font-family: Verdana, Tahoma, Arial, "Helvetica Neue" , Helvetica, Sans-Serif;
    color: #696969;
    background-color: #fff;
    background: url("images/podlozhka.jpg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center bottom;
    line-height:1.5em;
}

a:link
{
    color: #034af3;
    text-decoration: underline;
}


p, ul
{
    margin-bottom: 20px;
    line-height: 1.6em;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6
h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    color: #000;
}

h1
{
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}
h2
{
    padding: 0 0 10px 0;
}
h3
{
    font-size: 1.2em;
}
h4
{
    font-size: 1.1em;
}
h5, h6
{
    font-size: 1em;
}

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
    margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page
{
    width: 986px;
    margin: 0 auto;
}

#header
{
    position: relative;
    margin-bottom: 0px;
    color: #000;
    margin-top: 1em;
    background: url("Images/header-bg.png") 0 0 no-repeat;
    z-index: 10;
}

#mainPageLink
{
    display: block;
    height: 260px;
    width: 260px;
}

#mainPageLink2
{
    display: block;
    margin-top:2em;
}

#videoCallServiceWebSiteLink
{
    position:absolute;
    right:0;
    top:130px;
    width:400px;
    height:70px;
}


#videoCallService
{
    position: absolute;
    bottom: 1em;
    right: 0;
    width: 470px;
    height: 110px;
    background: url("Images/videocall-service.png") 0 0 no-repeat;
}

#kbLogo
{
    position: absolute;
    top: -0.5em;
    right: 0;
}

#kbLogo2
{
    position: absolute;
    top: -0.5em;
    right: 14em;
}

#kbLogo img
{
    border: 0px solid;
}

#main
{
    position: relative;
    padding: 30px 30px 15px 30px;
    margin-bottom: 30px;
    _height: 1px; /* only IE6 applies CSS properties starting with an underscore */
}

#main h2
{
    padding: 5px;
}

#footer
{
    color: #0066cc;
    padding: 20px 0;
    text-align: center;
    line-height: normal;
    font-size: .9em;
}


/* TAB MENU   
----------------------------------------------------------*/
#menucontainer
{
    position: relative;
    height: 2.8em;
}

ul#menu
{
    position: absolute;
    left: 0;
    margin: 0;
    margin-top: -50px;
    padding: 0;
    padding-top: 50px;
    padding-left: 15px;
    height: 32px;
    width: 966px;
    text-align: left;
    /*background: #c1dcf1 url(images/menu.png) 0 center no-repeat;*/
}


ul#menu li
{
    display: inline;
    list-style: none;
}

ul#menu li#greeting
{
    padding: 5px 5px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu li a, ul#menu li a:visited
{
    padding: 5px 3px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: black;
}

ul#menu li a:hover
{
    background-color: #2878B5;
    text-decoration: none;
    color: black;
}

ul#menu li a:active
{
    background-color: #2878B5;
    text-decoration: none;
    color: black;
}

ul#menu li.selected a
{
    background-color: #2878B5;
    color: #000;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset
{
    border: 1px solid #сссссс;
    padding: 1em 1.4em 1em 1.4em;
    margin: 0 0 1.5em 0;
}

legend
{
    font-size: 1.2em;
    font-weight: bold;
}

textarea
{
    /* min-height: 75px; */
}



input, input[type=text], input[type="password"]
{
    width: 200px;
    border: 1px solid #CCC;
    padding: 3px 5px;
}

input[type=checkbox], input[type=radio]
{
    width: 20px;
    border: 1px none #CCC;
    padding: 3px 5px;
}

input[type=button]
{
    padding: 3px 5px;
    background-color: #DAD8D8;
    border: 1px solid #A09C9C;
    cursor: pointer;
}

input[type="submit"]
{
    margin-top: 1em;
    padding: 3px 5px;
    background-color: #cccccc;
    border: 1px solid #9A9898;
    cursor: pointer;
}

textarea
{
    border: 1px solid #CCC;
    padding: 3px 5px;
    max-width: 800px;
}


/* MISC  
----------------------------------------------------------*/
.clear
{
    border: medium none;
    clear: both;
    float: none;
    font-size: 0;
    height: 0;
    line-height: 0;
}

.error
{
    color: Red;
}



div#title
{
}


/*  login на странице */
#logindisplay
{
    font-size: 1.1em;
    text-align: right;
    margin: 10px;
    color: black;
    position: absolute;
    top: 2.5em;
    right: 1em;
    z-index: 5;
}

#logindisplay a:link
{
    color: black;
    text-decoration: underline;
}

#logindisplay a:visited
{
    color: black;
    text-decoration: underline;
}

#logindisplay a:hover
{
    color: black;
    text-decoration: none;
}



/* Панелька аутентификации в систему */
.logon-panel
{
    border: 1px solid #ccc;
    width: 210px;
    margin: 0 auto;
    padding: 0 1em;

}


.logon-panel .validation-summary-errors ul
{
    padding:0;
    margin:3px -8px;
    border:1px solid #D56D6D;
    text-align:center;
    color:black;
    background-color:#EE7B44;
    }

.logon-panel .validation-summary-errors ul li
{
    display: inline;
    list-style: none;
    padding:3px;
    
}

.logon-panel input[type=submit]
{
    width: 100%;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    color: #ff0000;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, .editor-label
{
    margin: 1em 0 0 0;
    font-weight:bold;
}


.display-field, .editor-field
{
    margin: 0.5em 0 0 0;
    text-align:justify;
}

.checkbox-display, .checkbox-editor
{
    position: relative;
    margin: 1em 0 0 0;
}

.checkbox-display .display-label, .checkbox-editor .editor-label
{
    position: relative;
    left: 2em;
    margin: 0;
    top: 0;
}

.checkbox-display .display-field, .checkbox-editor .editor-field
{
    position: absolute;
    width: 2em;
    margin: 0;
    left: 0;
    top: 0;
}

.text-box
{
    width: 30em;
}

.text-box.multi-line
{
    height: 6.5em;
}

.tri-state
{
    width: 6em;
}


#informationMessage
{
    padding: 1em;
    padding-left:65px;
    min-height:16px;
    margin-bottom: 1em;
    border: 2px solid #F4B60B;
    background:  #F5F877 url('Images/warning-icon.png') 5px 5px no-repeat;
}

#errorMessage
{
    padding: 1em;
    padding-left:65px;
    min-height:16px;
    margin-bottom: 1em;
    border: 2px solid #E3650D;
    font-weight: bold;
    background: #F8AC77 url('Images/error-icon.png') 5px 5px no-repeat;
}


#loading
{
    display: none;
}




/* Лента навостей на главной странице */
.news-list 
{
    border:1px solid #ccc;
    margin-top:4em;
    padding:1em;
    padding-bottom:2em;
    position:relative;
}
 
.news-list .title a
{
    color:#325BA4;
    font-weight:bold;
    font-size:1.3em;
    text-decoration:underline;
}

.news-list .list-all-news
{
    color:#325BA4;
    font-weight:bold;
    position:absolute;
    right:1em;
}

.news-list .item
{
    margin: 0.5em;
    position:relative;
}

.news-list .item .publish-date
{
    width:130px;
    font-weight:bold;
    font-size:0.9em;
}

.news-list .item .link
{
    position:relative;
    left:130px;
    top:-1.6em;
    margin-right:140px;
    margin-bottom:-1.5em;
}