/* 
    Document   : master.css
    Created on : 16.11.2012, 20:44:28
    Author     : Michael Chepov <mchepov@gmail.com>
    Description:
        General purpose styles added by Inventis.
*/

#globalContainer { /*border-top: 1px solid transparent;  FF fix */ overflow: auto; }

#languages { float: left; padding: 12px 0; }
#languages ul { margin: 0; padding: 0; list-style: none; }
#languages ul li { margin: 0; padding: 0 10px 0 0; list-style: none; display: inline; float: left; line-height: 110%; }
#languages .active-locale a { text-decoration: none; color: #333; }

#masthead { overflow: visible; float: left; clear: both; width: 100%;
            background-image: url("/National_Library/oe_/http://cafrussia.ru/images/logo.png"); background-position: 35px 25px; background-repeat: no-repeat; }
#globalHeader { float: left; width: 100%; clear: both; }
#globalNavBar { clear: both; overflow: auto; }
#globalNavBarWrapper { clear: both; float: left; width: 100%; }

#globalSearchForm { position: absolute; top: 0; right: 280px; padding-top: 5px; }
#globalSearchForm input[type=submit], #searchBox input[type=submit] {
    -webkit-border-radius: 0 5px 5px 0;
    -khtml-border-radius: 0 5px 5px 0;
    -moz-border-radius: 0 5px 5px 0;
    border-radius: 0 5px 5px 0;
}

#logo { outline: 0; background: none; }

.login-link { display: inline-block; padding: 0 5px; height: 22px;
              background: url('/National_Library/oe_/http://cafrussia.ru/images/btn-bg-small.png') repeat-x 0 100% #e95428; border: 0;
              font-weight: bold; line-height: 22px;
              font-size: 0.85em; color: #fff !important; margin: 0 10px 0 0; text-decoration: none; }
#UserProfileLink { min-height: 40px; }
#UserProfileLink .nav { margin: 0; padding: 0; }
#UserProfileLink .nav a:visited { color: #333; }
#UserProfileLink .nav > li.dropdown.open.active > a:hover { color: #fff; }
#UserProfileLink .nav .dropdown-menu a { color: #333; }
#UserProfileLink .nav .dropdown-menu a:hover { color: #fff; }

.panel ul li { line-height: 130%; }

#globalNavBar ol li a { padding-left: 50px; padding-right: 20px; }
#globalNavBar ol li.private_charity a { background-image: url('/National_Library/oe_/http://cafrussia.ru/images/nav-my-giving.png'); }
#globalNavBar ol li.private_charity_en a { background-image: url('/National_Library/oe_/http://cafrussia.ru/images/nav-my-giving.png'); }
#globalNavBar ol li.corporate_charity a { background-image: url('/National_Library/oe_/http://cafrussia.ru/images/nav-company-giving.png'); }
#globalNavBar ol li.corporate_charity_en a { background-image: url('/National_Library/oe_/http://cafrussia.ru/images/nav-company-giving.png'); }
#globalNavBar ol li.fundraising a { background-image: url('/National_Library/oe_/http://cafrussia.ru/images/nav-finance-fundraising.png'); }
#globalNavBar ol li.fundraising_en a { background-image: url('/National_Library/oe_/http://cafrussia.ru/images/nav-finance-fundraising.png'); }

#footer .footer-nav ul { width: 18%; }
#footer .footer-nav ul li { padding: 3px 10px 3px 0; }
#footer .footer-nav ul li.parent { min-height: 35px; margin-bottom: 0; }

#footer a.smallLogo { display: block; float: none; }

.thumbnails { list-style: none; margin: 0 !important; padding: 0 !important; }
.thumbnails li { list-style: none; }

.folders { margin: 0; padding: 0 0 2em 0; list-style: none; }
.folders .folder-row { margin: 0 0 3px 0; padding: 1em 2em; list-style: none; border: 1px solid #ddd; background-color: #eee; }
.folders .well { margin-top: 1em; margin-left: 2em; }

.folders .well ul { margin-left: 0; padding-left: 0; list-style: none; }
.folders .well ul li { list-style: none; padding-left: 22px; margin-left: 0; padding-bottom: 5px; }
.folders .well .mute { font-size: 0.85em; color: #999; }

.document-files { margin: 0; padding: 0; list-style: none; }
.document-files li { list-style: none; padding-left: 22px; margin-left: 0; padding-bottom: 10px; }
.document-files .mute { font-size: 0.85em; color: #999; }

.file-doc { background: url("/National_Library/oe_/http://cafrussia.ru/img/icons/icon-doc.png") 0 2px no-repeat; }
.file-docx { background: url("/National_Library/oe_/http://cafrussia.ru/img/icons/icon-docx.png") 0 2px no-repeat; }
.file-xls { background: url("/National_Library/oe_/http://cafrussia.ru/img/icons/icon-xls.png") 0 2px no-repeat; }
.file-xlsx { background: url("/National_Library/oe_/http://cafrussia.ru/img/icons/icon-xlsx.png") 0 2px no-repeat; }
.file-ppt { background: url("/National_Library/oe_/http://cafrussia.ru/img/icons/icon-ppt.png") 0 2px no-repeat; }
.file-pptx { background: url("/National_Library/oe_/http://cafrussia.ru/img/icons/icon-pptx.png") 0 2px no-repeat; }
.file-pdf { background: url("/National_Library/oe_/http://cafrussia.ru/img/icons/icon-pdf.png") 0 2px no-repeat; }
.file-rtf { background: url("/National_Library/oe_/http://cafrussia.ru/img/icons/icon-rtf.png") 0 2px no-repeat; }
.file-zip { background: url("/National_Library/oe_/http://cafrussia.ru/img/icons/icon-zip.png") 0 2px no-repeat; }
.file-rar { background: url("/National_Library/oe_/http://cafrussia.ru/img/icons/icon-rar.png") 0 2px no-repeat; }
.file-jpeg, .file-jpg, .file-png, .file-gif, .file-tiff, .file-tif,
    .file-eps { background: url("/National_Library/oe_/http://cafrussia.ru/img/icons/icon-image.png") 0 2px no-repeat; }
.file-wmv, .file-flv, .file-avi { background: url("/National_Library/oe_/http://cafrussia.ru/img/icons/icon-video.png") 0 2px no-repeat; }
.file-ai { background: url("/National_Library/oe_/http://cafrussia.ru/img/icons/icon-ai.png") 0 2px no-repeat; }
.file-psd { background: url("/National_Library/oe_/http://cafrussia.ru/img/icons/icon-psd.png") 0 2px no-repeat; }
.file-indd, .file-cdr { background: url("/National_Library/oe_/http://cafrussia.ru/img/icons/icon-indd.png") 0 2px no-repeat; }

.pagination { text-align: right; }
.captcha { border: 1px solid #ccc; }
label span, .red { color: #f00; }
.error-message { margin-left: 170px; padding: 0 0 15px 0; font-weight: normal; color: #f00; font-size: 0.85em; }
.span2 .error-message { margin-left: 0; }
.error input[type=text], .error input[type=password] { border-color: #f00; }
.checkbox { float: none; }
.checkbox label { width: auto; }
.checkbox .error-message { display: block; margin: auto; overflow: auto; float: left; }

.subscriptions ul { list-style: none; }
.subscriptions ul li { list-style: none; }
.subscriptions label { width: auto; }
.type-select label { display: block; width: auto; }
.type-select select { display: block; float: none; }
.checkbox { display: block; overflow: auto; }

.feedback-form input[type=text] { display: block; float: none; }
.feedback-form label { display: block; float: none; }
.feedback-form textarea { font-size: 1.15em; background-color: #fff; }
.feedback-form .error-message { margin-left: 0; }

.job-box h3 { font-size: 1.3em; }
.job-box h4 { padding-top: 1em; color: #c23a1a; }
.job-box .job-expired { color: #777; }

.pagePanelContent { min-height: 245px; }
.pagePanelContent h3 { font-family:  Georgia, Times, "Times New Roman", serif;
                      font-size: 1.6em; color: #c23a1a; font-weight: normal; }
.panelContent { background-position-x: 100% !important; background-position-y: 100% !important; background-repeat: no-repeat; }
#backgroundImage.panelContent { background-position: 100% 100% !important; min-height: 245px; }
.contentPanel .panelContent { background-color: #fff !important; }
.panelContent h1 { line-height: 120%; font-family: arial, helvetica, sans-serif; }
.relatedPanel .panelImg { margin-left: 10px; }
            
.contentPanel .panelTitle { background-image: url("/National_Library/oe_/http://cafrussia.ru/images/content-panel-title-2.png") !important; height: auto !important; }
/*.featurePanel .panelTitle { min-height: 3.5em !important; text-align: center; }*/

.contentPanel ul.programs-panel { margin: 0; padding: 0; list-style: none; }
.contentPanel ul.programs-panel li { margin: 0 18px 18px 0 !important; padding: 0 !important; list-style: none; float: left; }
.contentPanel ul.programs-panel li a { float: left; border: 1px solid #ccc; width: 220px; height: 150px;
                      font-size: 1.2em; line-height: 110%; font-weight: bold; text-decoration: none;
                      background: url("/National_Library/oe_/http://cafrussia.ru/img/box-corner.png") 100% 100% no-repeat; overflow: hidden; }
.contentPanel ul.programs-panel li a, .contentPanel ul.programs-panel li a:visited { color: #c23a1a; }
.contentPanel ul.programs-panel li a span { float: left; padding: 15px 17px; }
.contentPanel ul.programs-panel li a:hover { background-color: #ea5628; color: #fff; background-image: none; }
.programs-archives { font-size: 1.1em; text-align: right; }

.programs-footer { float: left; clear: both; padding-top: 1.5em; }
.programs-footer h3 { margin-bottom: 1.2em; font-size: 1.2em; color: #000; }
.programs-footer ul { width: 235px !important; }
.programs-footer ul li { margin-bottom: 8px !important; }

.relatedPanelContacts .panelContent p { margin: 0 0 0.7em 0; padding: 0 0 0.7em 0; border-bottom: 1px dotted #999; }

.site-search-form .btn { height: auto; margin: 0; }
.highlight { background-color: #ffcc00; }
.result-box { padding-bottom: 0.5em; }
.result-box h4 { margin: 0 0 0.5em 0; padding: 0; }
#globalSearchForm { margin: 0; }

.social-media { list-style: none outside none; margin: 0 0 1em 0; overflow: hidden; padding: 0.5em; }
.social-media.compact { padding: 0; margin: 0; }
.social-media li { display: inline; list-style: none; margin: 0; padding: 0; }
.social-media li.social-title { float: left; width: 100%; margin-bottom: 2px; font-weight: bold; display: block; }
.social-media.compact li.social-title { float: none; display: inline; }
.social-media.compact li.social-title span { float: left; padding-right: 10px; }
.social-media li a { background-image: url("/National_Library/oe_/http://cafrussia.ru/img/social-media.png"); background-repeat: no-repeat;
                   float: left; height: 16px; margin: 0 5px 0 0; width: 16px; }
.social-media li a span { display: none; visibility: hidden; }
.fb { background-position: 0 0; }
.twit { background-position: -16px 0; }
.vk { background-position: -32px 0; }
.gplus { background-position: -48px 0; }
.lj { background-position: -64px 0; }
.myworld { background-position: -80px 0; }
.odno { background-position: -96px 0; }
.yaru { background-position: -112px 0; }

.share-site {  }
.share-site .social-media { width: 170px !important; padding-bottom: 10px !important; }
.share-site .social-media .social-title { width: 100% !important; padding: 0 0 10px 0 !important; }

.shareOptions dd a.facebook { background: url("/National_Library/oe_/http://cafrussia.ru/img/social-media.png") 0 0 no-repeat !important; }
.shareOptions dd a.twitter { background: url("/National_Library/oe_/http://cafrussia.ru/img/social-media.png") -16px 0 no-repeat !important; }

#footer dl { float: none; }
#footer #cafFooterInfo p { width: auto; }
#footer #cafFooterInfo #bottomNavigation { float: right; text-align: right; padding-right: 10px; }
#footer #cafFooterInfo #bottomNavigation span { color: #ea5528; }

.nav-tabs li { list-style: none; }
.contentPanel ul.nav-tabs { margin-left: 0; }
.contentPanel .tab-content { padding: 1.2em; }

.survey-box { padding-top: 1em; }
form.survey-form { padding-top: 0.5em; border-top: 1px solid #eee; }
form.survey-form label { float: none; margin-left: 0.3em; }
form.survey-form input[type=radio] { float: left; }
form.survey-form input[type=checkbox] { float: left; }
form.survey-form textarea { width: 90%; }
form.survey-form fieldset { margin: 0; padding: 0 0 1em 0; }

.scroll-box { overflow: auto; padding: 1em 0; }
.scroll-item { overflow: auto; padding: 1em 0; border-top: 1px solid #ccc; }
.scroll-img { float: left; }
.scroll-item-content { margin-left: 120px; }
.scroll-imgless .scroll-item-content { margin-left: 0; padding-left: 15px;
                      background: url("/National_Library/oe_/http://cafrussia.ru/images/chevron-orange.gif") 0 6px no-repeat; }
.scroll-item-title { font-weight: bold; }
.scroll-item-title a { text-decoration: underline; }
.scroll-item-description {  }

#searchBox input { display: inline; }
#searchBox input[type=submit] { width: 26px; height: 26px; border: none; margin: 0; padding: 0;
                                background: #ea5628 url("/National_Library/oe_/http://cafrussia.ru/images/search.png") 0 -2px no-repeat; }
#searchBox label, #globalSearchForm legend { display: none !important; visibility: hidden; }

form.feedback-form label { color: #333; }
.captcha-box { text-align: center !important; }
.reload-captcha { font-weight: normal !important; font-size: 0.85em; }
.help-block { font-weight: normal; }

.programs-archive-link { float: right; clear: both; margin: 0; padding: 0 10px 0 0; text-align: right; }

#globalNavBar { overflow: visible; }
#programs-top { float: right; }
#programs-top .programs-toggle, #programs-top .programs-toggle:visited {
    font-weight: bold; color: #fff;
    font-size: 1.03em;
    text-decoration: none;
    line-height: 25px;
    letter-spacing: 0.02em;
    display: block;
}
#programs-top .programs-toggle b { display: inline-block; *display: inline; *zoom: 1;
                    vertical-align: middle; border-top-color: #fff; margin-right: 5px; }
#programs-top .programs-nav { position: relative; padding: 4px 20px 2px 0; }
#programs-top .programs-nav .subnav { position: absolute;
        float: left; top: 100%; right: 0; margin: 0; width: 313px;
        box-shadow: 0 2px 2px #777;
        -moz-box-shadow: 0 2px 2px #777;
        -webkit-box-shadow: 0 2px 2px #777;
        background-color: #fff;
        display: none;
}
#programs-top .programs-nav .subnav ul {
     padding: 10px 20px 10px 30px;
     color: #fff;
}
#programs-top .programs-nav .subnav ul li { padding: 4px 0; }
#programs-top .programs-nav .subnav ul li a,
#programs-top .programs-nav .subnav ul li a:visited { color: #333; }
