/* Stylesheet for the 'Theme OP MGN' Plone theme */

#visual-portal-wrapper {
    background-image: url("++resource++theme.opmgn.images/bg-page.jpg");
    background-attachment: fixed;
    background-repeat: repeat;
}

/*top*/
#portal-top {
    background: #5678cf none repeat scroll 0 0;
}

/*portal top viewlet*/
#block-blockviewlet_portaltop {
    height: 50px;
}
#block-blockviewlet_portaltop .content a:hover {
    border-bottom: 1px solid #fff !important;
    color: #fff !important;
    text-decoration: none;
}
#block-blockviewlet_portaltop .content a {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    color: #fff;
    padding: 0;
    margin-right: 1em;
}
#block-blockviewlet_portaltop .content img {
    vertical-align: middle;
}
/*portal top viewlet END*/

/*header*/
#portal-header {
    background-image: url("++resource++theme.opmgn.images/bg-header.jpg");
    height: 146px;
    -o-background-size:         auto 107px;
    -moz-background-size:       auto 107px;
    -webkit-background-size:    auto 107px;
    background-size:            auto 107px;
}
#portal-header:before {
    display: block;
    /*background-image: url(++resource++theme.admstud56.images/logo-shadow.png);*/
    background-position: 0 -27px;
    background-size: 110% 251px;
    width: 970px;
    height: 107px;
}
@media all and (min-width: 1920px) {
    #portal-header {
        -o-background-size:     100% 107px !important;
        -moz-background-size:   100% 107px !important;
        -webkit-background-size: 100% 107px !important;
        background-size:        100% 107px !important;
    }
}
/*body.userrole-anonymous #portal-header {
    background-attachment: fixed;
    background-position: center top;
}*/
/*logo*/
#portal-logo {
    height: 107px;
    width: 299px;
    margin: 0 0 0 -487px;
}
@media (min-width: 1297px) {
    #portal-logo {
        margin-left: -640px !important;
    }
}
/*logo END*/

/*portal header viewlet*/
#block-blockviewlet_portalheader {
    display: block;
    float: left;
    left: 50%;
    margin: 0 0 0 -193px;
    position: relative;
    text-align: left;
    top: 0;
    vertical-align: top;
    width: 600px;
    height: 107px;
    z-index: 2;
}
#block-blockviewlet_portalheader .primeappblock {
    height: inherit;
}
#block-blockviewlet_portalheader .content {
    color: #fff;
    height: inherit;
    margin: 0;
}

#block-blockviewlet_portalheader table.invisible td.logo_text {
    padding: 3.5% 0 0 0;
}

#block-blockviewlet_portalheader .content table.invisible a {
    color: #cf0707;
}
#block-blockviewlet_portalheader .content a:hover {
    color: #cf0707 !important;
}

@media all and (min-width: 1297px) {
    #block-blockviewlet_portalheader {
        width: 800px !important;
        margin-left: -340px;
    }
}
/*portal header viewlet END*/

/*slider*/
#top-slider, #top-image {
    height: 107px;
}
@media all and (min-width: 1920px) {
    #top-slider .slider-item, #top-image .random-image {
        -o-background-size:     100% 107px !important;
        -moz-background-size:   100% 107px !important;
        -webkitbackground-size: 100% 107px !important;
        background-size:        100% 107px !important;
    }
}
#top-slider .slider-item, #top-image .random-image {
    height: 107px;
}
/*slider END*/

/*navigation*/
#portal-globalnav {
    background: #294ca8 none repeat scroll 0 0;
    border-top: 1px solid #5678cf;
}
#portal-globalnav ul li.level-root:hover, #portal-globalnav ul li.level-root.selected {
    background-color: #1a3b90;
}
#portal-globalnav li:nth-last-child(2) ul {
    left: 0;
    right: inherit;
}
#portal-globalnav li {
    background-image: url("++resource++theme.municipal.template.images/mhr.png");
}
#portal-globalnav li a {
    font-size: 100%;
    min-width: 6em;
    line-height: 3em;
    padding: 0 0.5em;
}
#portal-globalnav li ul {
    background: rgba(26, 59, 144, 0.9) none repeat scroll 0 0;
}
/*navigation END*/
/*header END*/
/*top END*/

/*content*/
#portal-columns {
    background-color: #fff;
}
#content {
    color: #333;
    font-size: 80%;
    line-height: 1.4em;
    margin: 1em 0 2em;
}

/*front page*/
.section-front-page #content {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #ccc;
    -o-oborder-radius:      0;
    -moz-border-radius:     0;
    -webkit-border-radius:  0;
    border-radius:          0;
    margin: 1.8em 0;
}
.section-front-page #content h1.documentFirstHeading, .section-front-page #content h2 {
    background-color: #294ca8;
    border-top: medium none;
    color: white;
    max-width: inherit;
    display: block;
    font-size: 130%;
    line-height: 1.3em;
    font-weight: normal;
    letter-spacing: 0;
    margin: 0 0 0.5em;
    padding: 2px 8px 3px 8px;
    width: auto;
}
.section-front-page #content h1.documentFirstHeading,
.section-front-page #content div.documentDescription {
    height: 0;
    margin: 0;
    overflow: hidden;
    padding: 0;
}
.section-front-page #content-core {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    -o-oborder-radius:      0;
    -moz-border-radius:     0;
    -webkit-border-radius:  0;
    border-radius:          0;
    padding: 0;
}
.section-front-page #content-core p {
    margin-bottom: 2.1%;
    text-indent: 0;
}
.section-front-page #content table.blog_table td {
    width: 100%;
}
.section-front-page #content table.blog_table td a img {
    opacity: 1;
}
.section-front-page #content table.blog_table td a:hover span {
    border-bottom: 1px solid #294ca8;
    color: #294ca8;
}
.section-front-page #content div[id|="parent-fieldname-text"] a {
    background: none;
}
/*front page END*/

/*breadcrumbs*/
#portal-breadcrumbs a, #portal-breadcrumbs span {
    color: #666;
    font-size: 93%;
}
#portal-breadcrumbs span#breadcrumbs-current {
    color: #294ca8;
}
/*breadcrumbs END*/

/*tags*/
* {
    outline: medium none !important;
}
#content p {
    text-indent: 0;
}
#content table p {
    text-indent: 0;
}
#content h1 {
    background-color: transparent;
    color: #666666;
    padding: 0;
    width: 100%;
}
a:hover, #content a:hover, dl.portlet a:hover {
    border-bottom: 1px solid;
    color: #294ca8 !important;
    text-decoration: none;
}
a, a:link, a:visited, #content a, #content a:link, #content a:visited, dl.portlet a, dl.portlet a:link, dl.portlet a:visited {
    border-bottom: 1px solid transparent;
    color: #666;
    text-decoration: none;
}
#content-core dd {
    margin: 0.5em 0 1em 0;
}
#content .discreet, #sidebar .discreet, .portletStaticText .discreet {
    color: #333;
    font-size: inherit;
    font-weight: normal;
}
h2, h3, h4, h5, h6 {
    color: #666666;
    font-size: 130%;
    font-weight: normal;
    line-height: normal;
    padding: 0.3em 0;
}
#content fieldset {
    border-color: #294ca8;
}
#content .ya-share2__list {
    list-style-type: none;
    margin-left: 0;
    margin-top: 1em;
}
#content .ya-share2__item {
    margin-bottom: 0;
    line-height:inherit;
    display: inline-block;
}
#content div[id|="parent-fieldname-text"] .ya-share2__item a {
    padding-left: 0;
    background: none;
}

/*form*/
input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
#content textarea:focus {
    border-color: #294ca8;
}
input[type="submit"]:hover {
    border-color: #294ca8;
    color: #294ca8;
}
#feedback_template fieldset legend {
    font-weight: bold;
}
/*form END*/

/*tags END*/

/*portlets*/

/*portlets actionicons*/
#portlet-actionicons a#actions_home {
    background-color: #294ca8;
}
/*portlets actionicons END*/

/*portlet search*/
.portletSearch input.searchButton {
    background-image: url("++resource++theme.opmgn.images/lupe.png");
}
/*portlet search* END*/

/*nav*/
dl.portlet.portletNavigationPrime dd.portletItem ul.menulevel1 li.hasChildrens:before,
dl.portlet.portletNavigationPrime dd.portletItem ul.menulevel1 li.slidedown.hasChildrens:before,
dl.portlet.portletNavigationPrime dd.portletItem ul.menulevel1 li.active.hasChildrens:before {
    display: none;
}
dl.portlet.portletNavigationPrime dd.portletItem ul.menulevel1 li[id^="menulevel1_li"] {
    padding: 0;
    margin-bottom: 5%;
}
dl.portlet.portletNavigationPrime dd.portletItem ul.menulevel1 li.hasChildrens div.menulevel1-toggle a:before {
    background-image: url("++resource++theme.opmgn.images/arrow.png");
    display: block !important:
}
dl.portlet.portletNavigationPrime dd.portletItem ul.menulevel1 li.active a:hover,
dl.portlet.portletNavigationPrime dd.portletItem ul.menulevel1 li.slidedown a:hover{
    color: white !important;
}
dl.portlet.portletNavigationPrime dd.portletItem ul.menulevel1 li.slidedown div.menulevel1-toggle a,
dl.portlet.portletNavigationPrime dd.portletItem ul.menulevel1 li.active div.menulevel1-toggle a {
    background-color: #294ca8;
    color: white;
    padding: 0.3em 0.8em 0.4em 0.8em;
    text-decoration: none;
}
dl.portlet.portletNavigationPrime dd.portletItem ul.menulevel1 li div.menulevel1-toggle a {
    background-color: transparent;
}
dl.portlet.portletNavigationPrime dd.portletItem ul.menulevel1 li div.menulevel1-toggle a {
    padding: 0.3em 0.8em 0.4em 0.8em;
}

/*level2 + level3*/
dl.portlet.portletNavigationPrime dd.portletItem ul.menulevel2 {
    margin: 0 0 0 1.9em;
}
dl.portlet.portletNavigationPrime dd.portletItem ul.menulevel1 li ul.menulevel2 li {
    background-image: url("++resource++theme.opmgn.images/square.png");
}
dl.portlet.portletNavigationPrime dd.portletItem ul.menulevel1 li ul.menulevel2 li.active a,
dl.portlet.portletNavigationPrime dd.portletItem ul.menulevel1 li ul.menulevel2 li a:hover,
dl.portlet.portletNavigationPrime dd.portletItem ul.menulevel1 li ul.menulevel2 li ul.menulevel3 li.active a,
dl.portlet.portletNavigationPrime dd.portletItem ul.menulevel1 li ul.menulevel2 li ul.menulevel3 li a:hover {
    color: #333 !important;
    border-color: #333 !important;
}
dl.portlet.portletNavigationPrime dd.portletItem ul.menulevel1 li ul.menulevel2 li a,
dl.portlet.portletNavigationPrime dd.portletItem ul.menulevel1 li ul.menulevel2 li ul.menulevel3 li a {
    color: #333;
}
/*level2 + level3 END*/

/*nav END*/

/*news portlet + slider*/
dl.portlet.tab-portlet.slider-load:before {
    display: block;
}
dl.portlet.tab-portlet.slider-load .portletItem img {
    display: inline;
}

/*tabs*/
#belowcontent-topportlet {margin-top: 1.5em;}
#tabs-portlet li a {
    padding: 0.4em 0.6em;
}
#tabs-portlet span {
    font-size: 110%;
}
#tabs-portlet .current span {
    color: #294ca8;
}
dl.tab-portlet.slider-load .bx-pager .bx-pager-link.active {
    background-color: #294ca8;
}
/*tabs END*/

/*news portlet + slider END*/

/*popoll*/
dl.portlet.portletPopoll dt.portletHeader {
    background: transparent;
    padding: 0;
    font-size: 100%;
    margin: 0;
}
dl.portlet.portletPopoll dt.portletHeader a {
    background-color: #253c77;
    color: white;
    max-width: inherit;
    display: block;
    font-size: 120%;
    line-height: 1.3em;
    font-weight: normal;
    margin: 0;
    padding: 0.3em 0.8em 0.4em 0.8em;
    width: auto;
}
dl.portlet.portletPopoll dt.portletHeader a:hover {
    color: white !important;
}
dl.portlet.portletPopoll dd.portletItem {
    padding: 0.6em;
    border-right: 1px solid #253c77;
    border-left: 1px solid #253c77;
}
dl.portlet.portletPopoll dd.portletFooter {
    padding: 0 0.6em 0.6em 0.6em;
    text-align: center;
    border-bottom: 1px solid #253c77;
    border-right: 1px solid #253c77;
    border-left: 1px solid #253c77;
}
.portletPopoll h5 {
    color: #333;
    font-size: 110%;
}
.portletPopoll input[type="submit"] {
    margin: 0.5em auto 0;
    display: block;
}
/*popoll END*/

/*pogoda*/
.portlet-static-poghoda table {
    background-color: #294ca8;
    border: 1px solid #294ca8;
}
.portlet-static-poghoda table table td.pogoda-right {
    background-color: #294ca8;
}
.portlet-static-poghoda table table td.pogoda-left {
    background-color: #294ca8;
}
.portlet-static-poghoda table table td {
    background-color: #294ca8 !important;
}
/*pogoda END*/

/*portlet links*/
dl.portlet-link a.portletItemLink:hover {
    border: 1px solid #294ca8 !important;
}
dl.portlet-link a.portletItemLink:hover .portletItemTitle {
    color: #294ca8;
}
/*portlet links END*/

/*calendar*/
dl.portletCalendar dt, .portletCalendar .today {
    background: #294ca8 none repeat scroll 0 0;
}
/*calendar END*/

dl.portlet.portletStaticText dt.portletHeader {
    background: #294ca8;
}
body.mobile #portletwrapper-706c6f6e652e6c656674636f6c756d6e0a636f6e746578740a2f6f706d676e0a6b6f6e74616b7479 dl.portlet dd.portletItem {padding: 1em 0;}
body.mobile #portletwrapper-706c6f6e652e6c656674636f6c756d6e0a636f6e746578740a2f6f706d676e0a6b6f6e74616b7479 dl.portlet dd.portletItem .email-link {font-size: 98%;}
/*portlets END*/
/* dl.portlet.tab-portlet.slider-load */
/*logo in no image*/
dl.portlet.tab-portlet.slider-load .portletItemImage img.noImage,
.photoAlbumLink.no-image, .carousel-image-wrapper.no-image,
.template-folder_cover_view #content .ctype-folder a.coverfolder-link.no-image {
    background-image: url("++resource++theme.opmgn.images/gerb.png");
}
dl#novosti-rieghiona.portlet.tab-portlet.slider-load .portletItemImage img.noImage,
dl#novosti-ghubiernatora.portlet.tab-portlet.slider-load .portletItemImage img.noImage {
    background-image: url("++resource++theme.opmgn.images/gerb.png");
}
/*logo in no image END*/

/*colony page index*/
.template-album_viewall #content .photoAlbumFolder a.photoAlbumLink:hover {
    border: 1px solid #294ca8;
    -o-box-shadow:      0 5px 7px -5px #294ca8;
    -moz-box-shadow:    0 5px 7px -5px #294ca8;
    -webkit-box-shadow: 0 5px 7px -5px #294ca8;
    box-shadow:         0 5px 7px -5px #294ca8;
}
/*colony page index END*/

/*full view*/

/*document*/
.template-folder_full_view #content .ctype-document h2 a:hover,
.template-folder_cover_view #content .ctype-document h2 a:hover {
    background-color: #294ca8;
}
.template-folder_full_view #content .ctype-document h2 a,
.template-folder_cover_view #content .ctype-document h2 a {
    padding: 2px 8px 3px 8px;
}
/*document END*/

/*folder and link*/
.template-folder_full_view #content .item.ctype-folder h2 a:hover,
.template-folder_full_view #content .item.ctype-link h2 a:hover {
    border: 1px solid #294ca8 !important;
    color: #294ca8 !important;
}
/*folder and link END*/

/*full view END*/

/*folder view*/
.folderListingItem {
    background-image: url("++resource++theme.opmgn.images/icons/file.png");
}
#listing-table td img, .listing td img, #content-core dt img {
    display: none;
}
.icons-on #content [class*="contenttype-"],
.icons-on #content .contenttype-document,
.icons-on #content .contenttype-event,
.icons-on #content .contenttype-folder,
.icons-on #content .contenttype-link,
.icons-on #content .contenttype-linksexchange,
.icons-on #content .contenttype-contentbanner,
.icons-on #content .contenttype-news-item,
.icons-on #content .contenttype-plone-site,
.icons-on #content .contenttype-collection,
.icons-on #content .contenttype-topic,
.icons-on #content .contenttype-file,
.icons-on #content .contenttype-image,
.icons-on #content .contenttype-file,
.icons-on #content .contenttype-legalact,
.icons-on #content .contenttype-motenderzem,
.icons-on #content .contenttype-motenderprop,
.icons-on #content .contenttype-motorg,
.icons-on #content .contenttype-moauction,
.icons-on #content .contenttype-moauctionzem,
.icons-on #content .contenttype-mocontest,
.icons-on #content .contenttype-moquotation {
    background-position: left 15px !important;
    background-repeat: no-repeat;
    padding: 1em 3em 0!important;
    display: block;
    min-height: 37px;
    line-height: inherit;
}
.icons-on #content .contenttype-folder {
    background-image: url("++resource++theme.opmgn.images/icons/folder.png");
}
.icons-on #content .contenttype-image {
    background-image: url("++resource++theme.opmgn.images/icons/img.png");
}
.icons-on #content .contenttype-link, .icons-on #content .contenttype-contentbanner, .icons-on #content .contenttype-linksexchange {
    background-image: url("++resource++theme.opmgn.images/icons/link.png");
}
.icons-on #content .contenttype-document,
.icons-on #content .contenttype-legalact,
.icons-on #content .contenttype-motenderzem,
.icons-on #content .contenttype-motenderprop,
.icons-on #content .contenttype-motorg,
.icons-on #content .contenttype-moauction,
.icons-on #content .contenttype-moauctionzem,
.icons-on #content .contenttype-mocontest,
.icons-on #content .contenttype-moquotation {
    background-image: url("++resource++theme.opmgn.images/icons/text.png");
}
.icons-on #content .contenttype-collection {
    background-image: url("++resource++theme.opmgn.images/icons/collection.png");
}
.icons-on #content .contenttype-news-item {
    background-image: url("++resource++theme.opmgn.images/icons/news.png");
}
.icons-on #content .contenttype-file,
.icons-on #content .contenttype-docattachment,
.icons-on #content .contenttype-otherattachment,
.icons-on #content .contenttype-resultattachment {
    background-image: url("++resource++theme.opmgn.images/icons/file.png");
}
.icons-on #content .contenttype-file.pdf {
    background-image: url("++resource++theme.opmgn.images/icons/pdf.png");
}
.icons-on #content .contenttype-file.docx, .icons-on #content .contenttype-file.doc {
    background-image: url("++resource++theme.opmgn.images/icons/word.png");
}
.icons-on #content .contenttype-file.xls, .icons-on #content .contenttype-file.xlsx {
    background-image: url("++resource++theme.opmgn.images/icons/excel.png");
}
.icons-on #content .contenttype-file.ppt, .icons-on #content .contenttype-file.pptx {
    background-image: url("++resource++theme.opmgn.images/icons/ppt.png");
}
.icons-on #content .contenttype-file.deb, #content .contenttype-file.rar, #content .contenttype-file.rpm, #content .contenttype-file.tar, #content .contenttype-file.zip {
    background-image: url("++resource++theme.opmgn.images/icons/ach.png");
}
.icons-on #content .contenttype-file.image {
    background-image: url("++resource++theme.opmgn.images/icons/img.png");
}
#content .folderListingItem a {
    border: medium none;
    color: #333;
    font-size: 120%;
    font-weight: bold;
}
/*folder view END*/

/*image view*/
.download {
    background: rgba(0, 0, 0, 0) url("++resource++theme.opmgn.images/icons/download.png") no-repeat scroll 0 0;
    padding: 0.5em 0 0 2.5em;
}
/*image view END*/

/*search page*/
.template-search .searchResults dt img {
    display: none;
}
/*search page END*/

/*content banners wrapper*/
.municipal-linksblock-wrap h4 {
    background-color: #666666;
    border-top: medium none;
    color: white;
    font-size: 110%;
    margin: 0 0 0.2em;
    padding: 2px 8px 3px 8px;
}
.municipal-linksblock-wrap span:hover {
    border-color: #294ca8;
    color: #294ca8;
}
/*content banners wrapper END*/

/*content END*/

/*footer*/
#portal-footer-wrapper {
    background: white none repeat scroll 0 0;
    border-top: 2px solid #294ca8;
    padding-top: 0;
}
#footer-toprime-container {
    border: 2px solid #294ca8 !important;
}
/*footer END*/


/*limited view*/
body.limited-view dl.portlet.portletNavigationPrime dd.portletItem ul.menulevel2 {
    margin: 0 0 0 0.9em;
}
body.limited-view.section-front-page #content table.blog_table td a img,
body.limited-view #block-blockviewlet_portaltop .content img {
    display: none;
}
body.limited-view dl.portlet.portletPopoll dt.portletHeader a,
body.limited-view dl.portlet.portletPopoll dt.portletHeader a:hover {
    border: 1px solid !important;
    background: none;
    color: inherit !important;
    padding: 0.2em;
    text-align: center;
}
body.limited-view dl.portlet.portletPopoll dt.portletHeader a,
body.limited-view dl.portlet.portletPopoll dd.portletItem,
body.limited-view dl.portlet.portletPopoll dd.portletFooter {
    border-color: inherit !important;
}
/*limited view END*/

@media (max-width:768px){
  body.mobile #content img.image-left, body.mobile #content img.image-right, body.mobile #content .captioned img {width: 100%; float: none !important;}
}
