/*
Theme Name:     Тема для РИСИ
Description:    Child theme for the Magazine Basic theme
Template:       magazine-basic
*/

@import url("../magazine-basic/style.css");

body {
    font-family: Verdana, Helvetica, "segoe ui", "segoe", Arial, sans-serif;
    line-height: 1.4;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Verdana, Helvetica, "segoe ui", "segoe", Arial, sans-serif;
    font-weight: 400;
}
.clear {
    clear: both;
}


#page {
    position: relative;
    background: url(library/images/wight-05.png) repeat !important;
}

#main {
    margin-top: 0;
    padding-bottom: 120px;
}
#primary {
    width: 600px;
    padding-bottom: 20px;
}
#secondary {
    padding-left: 0;
}

article {
    margin-top: 10px;
    margin-bottom: 20px;
}

.row {
    margin-bottom:0;
}
/*
Шапка (лого, меню, заголовки)
*/
#header .c12 {
    /*background: url("library/images/risi-camera.png") no-repeat scroll right top;*/
    background: url(library/images/wight-05-4.png) no-repeat scroll right top;
}
#site-logo {
    padding: 20px 20px 0;
    
}
.logo_div {
    float: left;
    
}
#site-description {
    font-size: 22px;
    float: left;
    /*font-weight: bold;*/
    margin: 13px 0 10px;
}
#header hgroup {
    clear: left;
    margin-bottom: 10px;
}
#site-title {
    font-size: 25px;
    line-height: 1;
    margin: 10px 0 10px;
    /*font-weight: bold;*/
    float: left;
}
.navigation-wrapper {
    padding: 0 20px 10px 0;
}

#site-navigation ul ul, #site-sub-navigation ul ul {
    background: #dddddd;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

#site-navigation li a:not(:last-child):after, #site-sub-navigation li a:not(:last-child):after {
    background: url("library/images/sprite.png") no-repeat scroll 0 0px rgba(0, 0, 0, 0);;
}

#site-navigation, #site-sub-navigation {
    font-family: Verdana, Helvetica, "segoe ui", "segoe", Arial, sans-serif;
    font-size: 85%;
    font-weight: 400;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}
#site-navigation .sub-menu, #site-sub-navigation .sub-menu {
    font-size: 85%;
}
#site-navigation .sub-menu li, #site-sub-navigation .sub-menu li {
    background: #dddddd;
}

.searchform_div {
    float: right;
    /*padding-right: 20px;*/
}
#site-navigation {
    background: none !important;
    padding-left: 20px;
}
#site-navigation li a, #site-sub-navigation li a {
    color: #000;
    display: inline-block;
    padding: 5px 15px;
    text-decoration: none;
    text-shadow: none;
    font-size: 120%;
}

#site-navigation li, #site-sub-navigation li {
    border-right: 1px solid #d1d1d8;
    display: inline-block;
    position: relative;
    text-align: left;
    background-color:  #ffffff;
    /*background: url(library/images/button_light.png) repeat;*/
    transition: all 0s ease 0s;
    height: 34px;
    padding-top: 2px;
}


#site-navigation li:hover, #site-navigation li li:hover, #site-navigation li a:hover,  #site-sub-navigation li a:hover {
    text-shadow: none;
    color: #ffffff;
    background: #003366;
}

#site-navigation .current-menu-item,
#site-navigation .current-category-ancestor,
#site-navigation .current-menu-ancestor,
#site-navigation .current-menu-parent,
#site-navigation .current-category-parent {
    text-shadow: none;
    color: #ffffff;
    background: #003366;
}

#site-navigation .sub-menu .current-menu-item{
    text-shadow: none;
    background: #003366;
}

#site-navigation .current-menu-item a,
#site-navigation .current-category-ancestor a,
#site-navigation .current-menu-ancestor a,
#site-navigation .current-menu-parent a,
#site-navigation .current-category-parent a {
    color: #ffffff;
}

#site-navigation .sub-menu a, #site-sub-navigation .sub-menu a {
    color: #000000;
}
.sub-menu .current-menu-item a {
    color: #ffffff !important;
}
.sub-menu .current-menu-item a:hover {
    color: #ffffff !important;
}

#site-sub-navigation {
    border-bottom: none;
}

.menu ul {
    margin: 0;
    padding: 0;
}

.menu li {
    border-right: none;
    display: inline-block;
    position: relative;
    text-align: left;
    /*background-color:  #0494df;*/
    /*transition: all 0s ease 0s;*/
    /*height: 34px;*/
    padding-top: 2px;
}
/*

*/

.entry-title {
    font-size: 1.3em;
}
.entry-title a {
    color: #1c3f95 !important;
}

.more-link, #posts-pagination a, .form-submit input[type="submit"], .comment-reply-link {
    background: none;
    border: none !important;
    border-radius: 0;
    box-shadow: none;
    color: #1c3f95 !important;
    display: inline-block;
    font-size: 13px;
    line-height: 1.2;
    margin: 0.5em 0;
    padding: 6px 12px;
    text-decoration: none;
    text-shadow: none;
}

.more-link:hover,
    .form-submit input[type="submit"]:hover,
    #posts-pagination a:hover,
    .comment-reply-link:hover {
    background: none;
    color: #1c3f95;
}

.more-link-p {
    clear: none;
    float: left;
    margin: 0;
    width: 100%;
}
.more-link-p a {
    margin: 0;
}

.posts-blocks {
    margin:0 !important;
    position: relative;
    background-color: #d1d1d8;
    border-top: 4px solid #c3c3cb;
    padding: 6px 0 2px 11px;
    zoom: 1;
    width: 600px !important;
}

.posts-blocks .post-block {
    position: relative;
    float: left;
    width: 186px;
    height: 186px;
    padding: 7px;
    margin-right: 10px;
    border: 1px solid #b2b2b2;
    background-color: #fff;
    margin-bottom: 11px;
    font-size: 85%;
    font-weight: bold;

}
.post-block-title {
    height: 85px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 5px 7px;
    background: url(library/images/wight-05.png) repeat;
    overflow: hidden;
    line-height: 1.1;
}
.post-block-title .comment_count {
    font-size: 95%;
    font-weight: normal;
    text-decoration: underline;
}
.post-block-title .category {
    font-size: 90%;
    font-weight: normal;
    color: #666666;
}

.posts-blocks .post-block a {
    text-decoration: none !important;
    color: #006699 !important;
}
.posts-blocks .post-block img {
    border: 0px;
    margin-bottom: 5px;
}

#featured {
    margin-bottom: 15px;
    background-color: #003366;
    width: 600px;
}

.featured_video_block {
    position: relative;
    width: 402px;
}
.about_video_block {
    margin: 0;
    padding: 7px 7px;
    height: 60px;
}
.about_video_block h3 {
    margin: 0;
    padding: 0;
    color: #ffffff;
    /*color: #1c3f95;*/
    /*font-weight: bold;*/
}
.featured_video_block .divVideo {
    margin: 0;
    padding: 0;
    border: 1px solid #ffffff;
    height: 227px;
}
.featured_video_about {
    float: left;
    width: 180px;
    height: 297px;
    padding: 10px 10px;
    background-color: #00579e;
    color: #ffffff;
    border-left: 1px solid #003366;
    overflow-y: hidden;
}
.featured_video {
    float: left;
    width: 420px;
    background-color: #003366;
    border-right: 1px solid #000000;
    padding-right: 8px;
    padding-left: 9px;
    padding-top: 10px;
}
.about_video_link {
    /*height: 68px;*/
    padding: 7px 0;
    border-top: 1px solid #ffffff;
    font-size: 82%;
    /*color: #1c3f95;*/
    color: #ffffff;
    overflow: hidden;
}
.featured_video_about .first {
    border: none;
}
.featured_video_about a {
    text-decoration: none !important;
}
/*
.featured_video_about .active {
    background-color: #fff;
} */




/*
Виджеты
*/

.widget {
    /* background: #dbdbe2; */
    background: #d1d1d8;
    border-bottom: 1px solid #DDDDDD;
    box-shadow: none;
    font-size: 90%;
    margin-bottom: 20px;
    width: 100%;
    color: #003366;
}


/*
Ленты постов
*/

.post-widget-view {
    margin: 0 8px;
    padding: 15px 1px;
    /*border: 1px solid #c3c3cb;*/
    border-bottom: 1px solid #ffffff;
    /*background-color: #ffffff;*/
    background-color: #d1d1d8;
    /*color: #1c3f95; !important;*/
    color: #003366;
}

.title-link {
    width: 156px;
    padding: 5px 5px;
    float: left;
    font-size: 95%;
}
.image-title-link {
    float: left;
    width: 120px;
}
.post-widget-view .title-link .date {
    font-size: 100%;
    color: #006699;
}


.widget-title, .header-widget-title {
    background: url(library/images/globe-grey.png) 15px 8px no-repeat #003366;
    box-shadow:none;
    text-shadow:none;
    text-align: left;
    color: #ffffff;
    border: none;
    font-size: 125%;
    line-height: 1.2;
    margin-top: 0;
    padding: 10px 20px;
    padding-left: 53px;
    text-transform: uppercase;
}

.widget .post-widget-view a {
    text-decoration: none !important;
    /*color: #1c3f95 !important;*/
    color: #003366 !important;
}

/*
Облако тегов
*/

.tagcloud a {
    font-weight: bold;
    color: #ffffff !important;
}

/*
Footer
*/

#footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    height: auto;
    background: #ffffff;
    border: none;
    text-shadow: none;
    text-align: center;
}
#footer a {
    border-bottom: 1px dotted;
    color: #333333;
    text-decoration: none;
}
.copyright {
    margin-top: 0;
    color: #000000;
    font-size: 95%;
}

/*
Блок прокрутки (в конце главной страницы)
*/
.rotate-wrapper {
    margin-top: 20px;
    margin-left: 20px;
    width: 95.83%;
    position: relative;
    overflow: hidden;
    height: 161px;
    border-left: 3px solid #d1d1d8;
    border-right: 3px solid #d1d1d8;
    border-bottom: 3px solid #C3C3CB;
    border-top: 3px solid #C3C3CB;
    background-color: #d1d1d8;
}
.rotate-block {
    position: relative;
    display: inline;
    float: left;
    height: 145px;
    width: 143px;
    margin: 5px;
    background-color: #ffffff;
}
.rotate-block-title {
    height: 55px;
    width: 100%;
    font-size: 80%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 7px;
    background: url(library/images/wight-05.png) repeat;
}

.rotate-block a {
    color: #003366;
}

/*
Страница программ
*/
.program_list {
    width: 600px;
}

.program_description {
    width: 290px;
    margin-right: 9px;
    float:left;
}

.program_description h2 {
    color: #003366;
    font-weight: bold;
}

.program_description h2 a {
    color: #003366;
    font-weight: bold;
    text-decoration: none;
}

.program_list .divVideo {
    margin-top: 63px;
    text-align: center;
    margin-bottom: 14px;
}
.program_list .divVideo h3 {
    margin-top: 0;
    color: #006699;
    font-weight: bold;
}
.program_list .clear {
    width: 100%;
    border-top: 1px solid #D1D1D8;
}

/*
Комментарии
*/
.comment-form a > img {
    display: inline;
}

.form-submit input[type="submit"], .comment-reply-link {
    color: #ffffff !important;
    background: #003366;
}

/**
виджет подписки
*/
.widget_wysija form {
    margin: 10px;
    text-align: center;
}
.widget_wysija_cont .wysija-submit {
    display: inline;
    font-weight: bold;
    border: 0;
    background-color: #d1d1d8;
    text-decoration: underline;
    color: #003366;
    padding: 0;

}
.widget_wysija label {
    color: #003366;
    padding-bottom: 10px;
}
.widget_wysija input[type='text'] {
    -moz-border-radius: 10px;
   	-webkit-border-radius: 10px;
    border-radius: 10px;
}

/* search form */
#searchform input {
    vertical-align: top;
}
#site-search {
    -moz-border-radius: 8px;
   	-webkit-border-radius: 8px;
    border-radius: 8px;
    height: 17px;
    padding: 5px;
}
.search-button {
    background: url(library/images/search.png) no-repeat;
    border: 0;
    width: 29px;
}