/*
Theme Name: Main Template
Theme URI: http://wordpress.org/
Author: BERLIN24.RU
Author URI: http://berlin24.ru/
Description: Beta
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: 
Text Domain: main
*/

/*
Флаг:
синий       #0039a6
красный     #d52b1e
*/

/* Clearing floats */
.clear { clear: both; }

a,a:hover { color:#0e517e; }
a,a:focus { outline: none; }


html { font-size: 62.5%; } 
body { font-size: 14px; font-size: 1.4rem; } /* =14px */


.off { display:none; }

span.auto-tags { color:#0e517e; text-decoration:underline; cursor:pointer; }
span.auto-tags:hover { color:#D52B1E; text-decoration:underline; cursor:pointer; }

/* Header */
h1,h2,h3,h4,h5,h6 { font-family: 'Roboto Condensed', sans-serif; font-weight:300; }
h1 { font-size: 36px; font-size: 3.6rem; }
h2 { font-size: 30px; font-size: 3.0rem; }
h3 { font-size: 24px; font-size: 2.4rem; }

h1.entry-title { color:#555; margin:20px 0; }
.entry-content h2 { color:#444; }

.row-header { text-align:center; font-weight:400; color:#555; margin:10px 0 40px 0; }
.text-promo { text-align:center; margin:0px 0 30px 0; }
.text-promo a { font-family: 'Roboto Condensed', sans-serif; font-weight:400; font-size:18px; font-size:1.8rem; }
.img-promo img { width:100%; }

/* columns */
.div-table { display:table; }
.div-table .cell { display:table-cell; vertical-align: top; }

/* compact view post */
.no-single article { padding:0 0 20px 0px; margin:20px 0; border-bottom:1px dashed #ccc; }
/* .no-single article:nth-child(2n) { background:rgba(243,243,243,.85); } */
.no-single article:last-of-type { border-bottom:0; }
.no-single article:first-of-type { margin-top:40px; }
.no-single article h1 { font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; margin: 0 0 10px 0; font-size:16px; font-size:1.8rem; line-height: 24px; line-height: 2.4rem; }
.no-single article .cell-1 { width:120px; }
.no-single article .cell { -padding-left:10px; }
.no-single article .img { margin-right:20px; }
.no-single article .img img { width:100%; }
.no-single article .text { font-size:13px; font-size:1.3rem; }
.no-single article .text span.o9 { opacity:0.9; }
.no-single article .text span.o8 { opacity:0.8; }
.no-single article .text span.o7 { opacity:0.7; }
.no-single article .text span.o6 { opacity:0.6; }
.no-single article .text span.o5 { opacity:0.5; }
.no-single article .text span.o4 { opacity:0.4; }
.no-single article .text span.o3 { opacity:0.3; }
.no-single article .text span.o2 { opacity:0.2; }
.no-single article .text span.o1 { opacity:0.1; }
.no-single article .text span.o0 { opacity:0; }



/* info */
.entry-info { text-align:right; color:#999; margin:10px 0;}
.entry-info div { margin: 0 5px 0 10px; color:#ccc; }


/* photo */
.photo-title { background: #000; text-align: center; text-transform: uppercase; font-family: 'Roboto Condensed', sans-serif; font-weight:300; font-size: 30px; font-size: 3.0rem; color: #fff; 
    padding: 70px 0; margin:30px 0 20px 0; background-image: url(img/bg-city6.jpg); background-position: 50% 50%; background-repeat: no-repeat; border-top:6px solid #428bca; text-shadow: 0 0 5px rgba(0,0,0,0.4);
}
/* video */
.video-title { text-align: center; text-transform: uppercase; font-family: 'Roboto Condensed', sans-serif; font-weight:300; font-size: 30px; font-size: 3.0rem; color: #555; 
    padding: 80px 0; margin:30px 0 20px 0; background: #f5f5f5; border-top:6px solid #428bca;
}
.photo-title .dashicons,
.video-title .dashicons { font-size: 45px; font-size: 4.5rem; width: 45px; width: 45px; margin-right: 10px; }



/* top-header */

.top-header { border-bottom: 1px solid #ddd; background:#fff; color:#999; }

.intro {    font-size:14px; font-size:1.4rem; color:#999; padding:23px 0 0 0; }

.top-right-menu { display:inline-block; list-style:none; padding:10px 20px 10px 0; margin:0; color:#999; float:right; }
.top-right-menu > li { border-right:1px solid #eee; padding:10px 10px; cursor: pointer; display: inline-block; }
.top-right-menu > li:last-child { border-right:0; }

.lang { font-size:14px; font-size:1.4rem; }
.lang a { color:#999; }
.lang ul { display:inline-block; list-style:none; padding:0px; }
.lang li { display:inline-block; list-style:none; padding:0 5px; }
.lang li.current-lang a { font-weight:bold; }

/*
.top-social-link { display: inline-block; list-style: none; font-size:22px; font-size:2.2rem; padding:0; }
.top-social-link > li { padding: 0 5px; display: inline-block; }
.top-social-link a { color:#999!important; }
.top-social-link a:hover { color:#D52B1E!important;  }
*/
.top-social-link {}
.top-social-link a { display: inline-block; width: 30px; height: 30px; background-image: url(img/icon_social_30.png); top: 9px; position: relative; margin: 0 4px; }
/*.top-social-link .facebook { background-position: 0 0; }*/
/*.top-social-link .flickr { background-position: 30px 0; }*/
/*.top-social-link .twitter { background-position: 60px 0; }*/
.top-social-link .facebook { background-image: url(img/header_icons/facebook.png);     background-size: 30px; }
.top-social-link .twitter { background-image: url(img/header_icons/twitter.png);     background-size: 30px; }
.top-social-link .youtube { background-image: url(img/header_icons/youtube.png);     background-size: 30px; }
.top-social-link .telegram { background-image: url(img/header_icons/telegram.png);     background-size: 30px; }
.top-social-link .instagram { background-image: url(img/header_icons/instagram.png);     background-size: 30px; }
.top-social-link .vkontakte { background-image: url(img/header_icons/vkontakte.png);     background-size: 30px; }

/* header */
.header-wrap { padding:10px 0; }
.header { padding: 0px 0; position: relative; 
    /*
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
    -ms-transition: all 1s;
    transition: all 1s;
    */
}
.header.top { position:fixed; width:100%; background:#fff; top:0; box-shadow: 0px 0px 10px #000; -padding:0; z-index:300; }

.header-logo { padding:0; padding:3px 0; margin:0; line-height:0; }
.header-logo a { display:inline-block; width:250px; height:60px; }
html[lang="ru-RU"] .header-logo a  { background-image:url(img/logo-ru.png); }
html[lang="de-DE"] .header-logo a  { background-image:url(img/logo-de.png); }

.main-menu-level1 { float:right; padding:20px 50px 15px 0; }
.main-menu-level1 > li { padding: 0px 5px 0px 5px; font-size:13px; font-size:1.3rem; }
.main-menu-level1 > li:last-child { padding-right:0; }
.main-menu-level1 > li > a { padding:0 0 5px 0; color:#333; font-family: 'Roboto Condensed', sans-serif; font-size: 15px; font-size: 1.5rem; -font-weight:bold; text-transform: uppercase; background-color:#fff!important; }
.main-menu-level1 > li.active > a { background:url(img/up.png) 50% bottom no-repeat; color:#D52B1E; }
.main-menu-level1 > li > a:hover { color:#D52B1E; }

.main-menu-level2-container { z-index: 10; width:500px; list-style:none; padding:0px; position:absolute; background:#fff; border-bottom: 1px solid #aaa; border-top: 4px solid #D52B1E; box-shadow: 0px 1px 6px rgba(0,0,0,.2); }
.main-menu-level2-container > li { display:inline-block; vertical-align: top; }
.main-menu-level2-container > li:nth-child(1) { width:300px; min-height: 320px; }
.main-menu-level2-container > li:nth-child(2) { width:200px; }
.main-menu-level2-container .side { height:100%; width:100%; background-position:center bottom; background-repeat:no-repeat; }
.main-menu-level2-container .side .text { padding:20px 30px; font-style:italic; }
.main-menu-level2-container .closemenu { cursor:pointer; font-size:24px; font-size:2.4rem; position:absolute; right:0px; top:-3px; color:#fff; background:#D52B1E; font-weight:100; width:24px; height:24px; }
.main-menu-level2-container .closemenu:hover { }
.main-menu-level2-container.col2 { width: 800px; }
.main-menu-level2-container.col2 > li:nth-child(1) { width:300px; }
.main-menu-level2-container.col2 > li:nth-child(2) { width:300px; }
.main-menu-level2-container.col2 > li:nth-child(3) { width:200px; }
.main-menu-level2-container.col3 { width: 900px; }
.main-menu-level2-container.col3 > li:nth-child(1) { width:300px; }
.main-menu-level2-container.col3 > li:nth-child(2) { width:300px; }
.main-menu-level2-container.col3 > li:nth-child(3) { width:300px; }


.main-menu-level2 { list-style:none; padding:0px; }
.main-menu-level2 > li > a { padding:10px 20px; display:block; text-decoration:none; color:#333; border-bottom:1px dotted #ccc; }
.main-menu-level2 > li:last-child > a { border-bottom:0; }
.main-menu-level2 > li > a:hover { color:#fff; background:#333; }


/* подменю в первой колонке */
.submenu { list-style:none; padding:0; /* font-family: 'Roboto Condensed', sans-serif; */ font-size:14px; font-size:1.4rem;  }
.submenu li { border-bottom:1px dotted #ccc; padding:8px 0; margin:0; }
.submenu li.active a { color:#c00; }
.submenu li .post-date { color:#999; font-size:11px; font-size:1.1rem; display:inline-block; padding-left:6px; }
.submenu li a.media { color:#D52B1E; font-size:12px; font-size:1.2rem; font-weight:bold; }
.submenu .img { width:92px; float:left; margin:0 10px 0px 0; border:1px solid #ddd; padding:3px; }
.submenu .img img { width:100%; }

/* widget */


.treemenu_widget {}
.treemenu_widget a { -font-size:13px; -font-size:1.3rem; -font-weight:bold; -font-family: 'Roboto Condensed', sans-serif; }
.treemenu_widget ul { list-style:none; padding:0; }
.treemenu_widget > ul > li { padding-left:0px; margin:0; }
.treemenu_widget > ul > li > ul > li { padding-left:10px; margin:0; }
.treemenu_widget > ul > li > ul > li > ul > li { padding-left:10px; margin:0; }
.treemenu_widget a { border-bottom:1px dotted #ccc; margin:0; padding:5px 0px 5px 0px; display:block; }
.treemenu_widget li.active { border-left: #d52b1e solid 5px; margin-left:-15px; padding-left:10px; }
.treemenu_widget li.active > a { color:#d52b1e; }
.treemenu_widget li > ul { display:none; }
.treemenu_widget li.active > ul { display:block; }
.treemenu_widget li.active > ul > li.active { padding-left:15px; border-left: #d52b1e solid 5px; margin-left:-10px; }
.treemenu_widget li.active > ul > li.active ul > li.active { padding-left:20px; border-left: #d52b1e solid 5px; margin-left:-15px; }


.widget_tags_cloud {}


#sidebar-content-middle .widget { margin:20px 0; }
#sidebar-right .widget { margin:20px 0; }
#sidebar-right .widget-title, #sidebar-left .widget-title { margin:10px 0; }
#sidebar-left .widget { margin:20px 0; }

#sidebar-right .widget_contacts { background:#f0f0f0; padding:5px 20px; position:relative; }
#sidebar-right .widget_contacts:before { content:""; width:20px; height:20px; background:url(img/angle20.png); display:block; position:absolute; top:0; right:0; }
#sidebar-right .widget_contacts:after { content:""; width:80%; height:20px; z-index:-1; position:absolute; right:10px; bottom:13px; background: 0 0; -webkit-transform:rotate(2deg); -ms-transform: rotate(2deg); transform: rotate(2deg); -webkit-box-shadow: 0 10px 8px rgba(0,0,0,.6); box-shadow: 0 10px 8px rgba(0,0,0,.6); }
#sidebar-right .widget_contacts .widget-title{ color: #555; font-size: 18px; font-weight: bold; border-bottom: 1px solid #ccc; padding-bottom: 10px;}
#sidebar-right .widget_contacts p { font-size:13px; font-size:1.3rem; font-family: 'Roboto Condensed', sans-serif; }
#sidebar-right .widget_contacts a { text-decoration:none; }


/*
.widget_documents { position:relative; background:#f0f0f0; padding:5px 20px 20px 20px; }
.widget_documents .widget-title{ color: #555; font-size: 18px; font-weight: bold; border-bottom: 1px solid #ccc; padding-bottom: 10px;}
.widget_documents:before { content:""; width:20px; height:20px; background:url(img/angle20.png); display:block; position:absolute; top:0; right:0; }
.widget_documents:after { content:""; width:80%; height:20px; z-index:-1; position:absolute; right:10px; bottom:13px; background: 0 0; -webkit-transform:rotate(2deg); -ms-transform: rotate(2deg); transform: rotate(2deg); -webkit-box-shadow: 0 10px 8px rgba(0,0,0,.6); box-shadow: 0 10px 8px rgba(0,0,0,.6); }
.widget_documents a { display:block; padding: 0 0 5px 30px; margin:0 0 5px 0; position:relative; border-bottom:1px dotted #ccc; }
.widget_documents a:last-child { padding-bottom: 0; -margin-bottom:5px; border-bottom:0; }
.widget_documents a:before { content:"\f498"; font-family:"dashicons"; color:#aaa; font-size:20px; line-height: 20px; width: 20px; height: 20px;display:block; position:absolute; left:0; top:0; }
*/
.widget_documents { position:relative; background:#d52b1e; padding:5px 20px 20px 20px; }
.widget_documents .widget-title{ color: #fff; font-size: 18px; font-weight: 400; border-bottom: 1px solid rgba(255,255,255,0.8); padding-bottom: 10px;}
.widget_documents:before { content:""; width:20px; height:20px; background:url(img/angle20.png); display:block; position:absolute; top:0; right:0; }
.widget_documents:after { content:""; width:80%; height:20px; z-index:-1; position:absolute; right:10px; bottom:13px; background: 0 0; -webkit-transform:rotate(2deg); -ms-transform: rotate(2deg); transform: rotate(2deg); -webkit-box-shadow: 0 10px 8px rgba(0,0,0,.6); box-shadow: 0 10px 8px rgba(0,0,0,.6); }
.widget_documents a { color:#fff; display:block; padding: 0 0 5px 30px; margin:0 0 5px 0; position:relative; border-bottom:1px dotted rgba(255,255,255,0.5); }
.widget_documents a:last-child { padding-bottom: 0; margin-bottom:0px; border-bottom:0; }
.widget_documents a:before { content:"\f498"; font-family:"dashicons"; color:rgba(255,255,255,0.8); font-size:20px; line-height: 20px; width: 20px; height: 20px;display:block; position:absolute; left:0; top:0; }



.widget-quote-wrap { margin:20px 0; border-top:6px solid #428bca; }
.widget-quote { border:1px solid #ccc; border-top:none; padding: 10px 10px 10px 55px; position: relative; }
.widget-quote .icon { color:#428bca; font-family:"dashicons"; font-size: 40px; font-size: 4.0rem; line-height:40px; line-height:4.0rem; position:absolute; left:9px; top:5px; }
.widget-quote .icon:before { content:"\f339"; }
.widget-quote .title { font-size: 11px; font-size: 1.1rem; color:#999; margin-bottom: 10px; }
.widget-quote .text { font-family: 'Roboto Condensed', sans-serif; font-size: 14px; font-size: 1.4rem; color:#777; margin-bottom: 10px; }

.widget-thumb-wrap { margin:20px 0; }
.widget-thumb-wrap .title { border-bottom:6px solid #428bca; color:#428bca; font-size:16px; font-size:1.6rem; font-family: 'Roboto Condensed', sans-serif; padding-bottom:5px; }
.widget-thumb-wrap .image { max-width:300px; }
.widget-thumb-wrap .image img { width:100%; }
.widget-thumb-wrap .desc { border:1px solid #ccc; border-top:none; color:#777; font-family: 'Roboto Condensed', sans-serif; padding: 5px 20px 10px 20px; }

.nextprev_widget { border-bottom: 1px dotted #ccc; padding-bottom: 10px; }
.nextprev_widget a { font-size:13px; font-size:1.3rem; font-weight:bold; }
.nextprev_widget .next { position:relative; }
.nextprev_widget .icon { float:left; color:#ccc; font-family:"dashicons"; font-size:30px; font-size:3.0rem; line-height:30px; line-height:3.0rem; position: absolute; }
.nextprev_widget .icon:before { content: "\f343"; }
.nextprev_widget .next .icon:before { content: "\f343"; }
.nextprev_widget .prev .icon:before { content: "\f347"; }
.nextprev_widget .date { padding:0 0 0 40px; font-size: 11px; font-size: 1.1rem; color:#999; padding-top:6px; margin-bottom:6px; }
.nextprev_widget .text { padding:0 0 0 40px; }
.nextprev_widget .sep { padding:20px 0; background:url(img/menu-sep.png) 50% 50% no-repeat; }

.category_widget {}
.category_widget a { font-size:13px; font-size:1.3rem; }
.category_widget > ul { list-style:none; padding:0; }
.category_widget > ul > li { padding:10px 10px 10px 44px; background:#f0f0f0; margin-bottom:10px; color:#999; position:relative; }
.category_widget > ul > li:before { content: "\f147"; font-family:"dashicons"; font-size:30px; font-size:3.0rem; position: absolute; left: 0px; top: 0; bottom: 0; background:rgba(0,0,0,0.1); width:32px; }
.category_widget > ul > li.current-cat { background:#428bca; color:#fff; }
.category_widget > ul > li.current-cat-parent { background:#428bca; color:#fff; }
.category_widget > ul > li.current-cat a { color:#fff; }
.category_widget > ul > li.current-cat-parent a { color:#fff; }
.category_widget > ul > li > ul { list-style:none; padding:0 0 0 10px; }
.category_widget > ul > li > ul > li > a { font-weight: normal; }
.category_widget > ul > li > ul > li.current-cat > a { font-weight: bold; color:#fff; }

.banner { width:100%; height:190px; background-position:50% 200%; background-image:url(img/banner.jpg); background-repeat:no-repeat; }
/*
.banner.consulate { background-image:url(img/banner-consulate.jpg); }
.banner.embassy { background-image:url(img/banner-embassy.jpg); }
.banner.ambassador { background-image:url(img/banner-ambassador.jpg); }
.banner.information { background-image:url(img/banner-information.jpg); }
*/
.banner .title { margin:auto 0; background:#D52B1E; padding:10px 20px; margin-top:50px; display:inline-block; color:#fff; 
    font-family: 'Roboto Condensed', sans-serif; font-size:20px; font-size:2.0rem; text-transform:uppercase;
}

#content .widget_lastposts {}
#content .widget_lastposts a { font-size:13px; font-size:1.3rem; font-weight:bold; }
#content .widget_lastposts ul { list-style:none; padding:0; }
#content .widget_lastposts img { padding:3px; border: 1px solid #ddd; width: 100%; }
#content .widget_lastposts .colwrap { display:table; }
#content .widget_lastposts .col1 { display:table-cell; vertical-align: top; padding-right: 12px; width: 92px; }
#content .widget_lastposts .col2 { display:table-cell; vertical-align: top; }
#content .widget_lastposts li { border-bottom: 1px dotted #ccc; padding: 8px 0; }
#content .widget_lastposts .post-date { color: #999; font-size: 11px; font-size: 1.1rem; display: block; text-align: right; }

.photos_widget { margin:30px 0; }

.widget_post_from_category {}
.widget_post_from_category img { width:100%; }
.widget_post_from_category .img-angle20 { margin-bottom:10px; position:relative; }
.widget_post_from_category .img-angle20:before { content:""; width:20px; height:20px; background:url(img/angle20.png); background-position: 0px 0px; display:block; position:absolute; top:0; right:0; }
.widget_post_from_category .img-angle20 img { width:100%; }

/* widget for footer */

.footer .widget_lastposts {}
.footer .widget_lastposts ul { list-style:none; padding:0; }
.footer .widget_lastposts li { border-bottom: 1px solid #333; padding: 8px 0; }
.footer .widget_lastposts li:first-child { padding-top:0; }
.footer .widget_lastposts a { color:#bababa; }
.footer .widget_lastposts .post-date { display:block; color:#888; font-size:12px; font-size:1.2rem; margin-top:5px; }

.footer .widget_lastphoto a { display:inline-block; width:33.333%; 
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.footer .widget_lastphoto a:hover { opacity:0.5; }
.footer .widget_lastphoto img { width:90%; margin: 0 10% 10% 0; }

.footer .widget_contacts a { color:#bababa; }

/* content */

#content { -margin-bottom:40px; }

/* внешние ссылки */
.entry-content a[target="_blank"] { font-weight:bold; }
.entry-content span.external-link { font-size:1.4em; bottom:1px; position:relative; color:#0e517e; padding-left:3px; }


.entry-content .lang-item { display:inline-block; list-style:none; -padding: 0 10px; margin:0 10px; }

.entry-content .alignright { float: right; margin: 0 0 10px 20px; }
.entry-content .alignleft { float: left; margin: 0 20px 10px 0; }
.entry-content .alignnone { width:100%!important; }
.entry-content .alignnone img { width:100%; height: auto; }

.wp-caption .wp-caption-text { color:#777; font-style: italic; }

.type-post .wp-caption { border-top:6px solid #428bca; }
.type-post .wp-caption .wp-caption-text { border:1px solid #ccc; color:#777; font-style:normal; font-family: 'Roboto Condensed', sans-serif; padding: 10px 10px 10px 10px; background: #f9f9f9; }
.type-post div.alignnone img { width:100%; height: 100%; border-left: 1px solid #ccc; border-right: 1px solid #ccc; padding:3px; }
.type-post img.alignnone { width:100%; height:100%; margin-bottom:20px; border:1px solid #ccc; border-top:6px solid #ccc; }


/* audio */
.mejs-container { margin:10px 0; }
.mejs-overlay-button { background:url("/wp-includes/js/mediaelement/bigplay.png") no-repeat !important; }
.mejs-controls .mejs-button button { background:transparent url("/wp-includes/js/mediaelement/controls.png") no-repeat !important; }



#primary {  }

.entry-content blockquote { font-size:14px; font-size:1.4rem; padding-top:0; padding-bottom:0; margin-left:50px; position:relative; border-left:5px solid #428bca; }
.entry-content blockquote:before { content:"\f122"; color:#428bca; font-size:46px; font-size:4.6rem; font-weight:bold; position:absolute; left:-58px; top:25px; line-height:0px; font-family:"dashicons"; }
.entry-content blockquote.warning { border-left-color:#c00; }
.entry-content blockquote.warning:before { content:"\f488"; color:#c00; }
.entry-content div.warning { padding: 10px 20px; border: 2px dashed #f00; margin: 10px 0; background: #f5f5f5; }

/*
.entry-content a { position:relative; }
.entry-content a[href$=".doc"]:before,
.entry-content a[href$=".rtf"]:before { content:"\f497"; color:#428bca; font-family:"dashicons"; width:46px; height:40px;
    float: left; font-size: 40px; font-size: 4.0rem; position:relative; line-height:0; top:22px; }
*/

.entry-content .document { display:block; padding: 10px 0; border-bottom: 1px dashed transparent; border-top: 1px dashed transparent; }
.entry-content .document:hover { border-bottom: 1px dashed #ccc; border-top: 1px dashed #ccc; background-color:#f9f9f9; }
.entry-content .document .icon { display:block; float:left; width:50px; height:50px; background-image:url(img/icon50.png); background-repeat:no-repeat; margin-left: 5px; }
.entry-content .document .text { display:block; padding-left:70px; min-height:50px; }
.entry-content .document.doc .icon { background-position:0px 0px; }
.entry-content .document.xls .icon { background-position:0px -50px; }
.entry-content .document.ppt .icon { background-position:0px -100px; }
.entry-content .document.pdf .icon { background-position:0px -200px; }
.entry-content li { margin:10px 0; }

.entry-content table { width:100%; border-collapse: collapse; margin:10px 0; }
.entry-content table tr:nth-child(odd) {background: #f0f0f0; }
.entry-content table td { padding:5px; }





#media-content { margin-top:20px; }
#media-content .item  { padding:0; }
#media-content .inner  { margin: 0 10px 20px 10px; box-shadow: 0 1px 2px rgba(0,0,0,0.2); border: 1px solid #ccc; }
#media-content .inner:hover { box-shadow: 0 1px 8px rgba(66,139,202,1); border: 1px solid #428bca; }
#media-content .item .img img { width:100%; height: auto; }
#media-content .item  .desc { padding: 6px 12px; font-weight: bold; }
#media-content .item  .parent { padding: 6px 12px; font-size: 11px; font-size:1.1rem; clear:left; }
#media-content .item  .info { padding:0 10px 5px 10px; text-align:right; font-size:11px; font-size:1.1rem; font-weight:bold; color:#555; line-height:20px; }
#media-content .item  .info .dashicons { color:#999; margin:0 5px; }
#media-content .item  a, #media-content .item  a:hover { color:#555; text-decoration:none; }
#media-content .item  .icon { float:left; width:50px; height:50px; background-image:url(img/icon50.png); background-repeat:no-repeat; margin:0 15px 10px 0; }
#media-content .item  .icon.msword { background-position:0px 0px; }
#media-content .item  .icon.rtf { background-position:0px 0px; }
#media-content .item  .icon.pdf { background-position:0px -200px; }
#media-content .item  .icon.vnd_ms-powerpoint { background-position:0px -100px; }
#load_media { }
#loader { display:none; }



    
/* carousel */
.carousel-wrap { background:#888; padding:40px 0 10px 0; margin:0px 0px; }
.carousel-wrap.city { background-image:url(img/bg-city8.jpg); background-position:50% 200%; }
#owl .item .img { width:150px; height:150px; float: left; margin-right: 30px; margin-bottom:30px; }
#owl .item .img img{ display:block; width:100%; height:auto; border-radius:75px; border: 5px solid #fff; }
#owl .item .desc { color:#fff; font-size:14px; font-size:1.4rem; text-shadow: 0 0 1px #000; }
#owl .item .desc .title a { color:#fff; font-size:16px; font-size:1.6rem; display:block; font-weight:bold; margin-bottom:10px; }
.owl-theme .owl-controls .owl-page span { background:#fff; }

/* pagination */
.pagination { width:100%; text-align:center; border-top: 1px solid #eee; padding-top:40px; margin-bottom:40px; border-radius:0; }
.pagination .page-numbers { position:relative; float:left; padding: 8px 16px; text-decoration:none; color:#888; border: 1px solid #ddd; margin-left:-1px; }
.pagination a:hover,
.pagination .current { background:#f1f1f1; }
.pagination .dots { border:0; }

/* topcontrol */
#topcontrol {
    z-index: 99;
    background: #d52b1e;
    width: 40px;
    height: 40px;
    border-radius: 30px;
    position: fixed;
    bottom: -100px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all .7s ease-in-out;
    -moz-transition: all .7s ease-in-out;
    -o-transition: all .7s ease-in-out;
    -ms-transition: all .7s ease-in-out;
    transition: all .7s ease-in-out;
    overflow: auto;
    line-height: 38px;
    font-size:30px;
    text-align: center;
    color: #fff;
}



.iLinks { margin:30px 0; }
.iLinks .line-title { margin:0px 0px 20px 0px; }
.iLinks a { opacity:0.8;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.iLinks a:hover { opacity:1; }
.iLinks .container { height:80px; -overflow:hidden; text-align:center; }

/* интересные ссылки */
.iLinks .item { height:80px; width:100%; padding:0 10px; }
.iLinks img { max-width:100%; }
.iLinks .item:before { display:inline-block; vertical-align:middle; content:''; display:inline-block; width:0; height:100%; vertical-align:middle; margin-left:-0.5em; }
.iLinks .item a { display:inline-block; vertical-align:middle; width:100%; }

.line-title { margin:20px 0; background: url("img/line-title.png") no-repeat bottom center; height:26px; width:100%; display:inline-block; }
.line-title:before { left: 0; margin-left: 15px; }
.line-title:after { right: 0; margin-right: 15px; }
.line-title:after,
.line-title:before { height:1px; background:#ddd; content:""; width:calc(50% - 50px); margin-top:13px; display:inline-block; position:absolute; }



/* icon_social */
.icon_social { width:50px; height:50px; margin-right:10px; display:inline-block; width:50px; height:50px; background-image:url(img/icon_social.png); background-repeat:no-repeat; }
.icon_social.facebook { background-position: 0px -50px; }
.icon_social.facebook:hover { background-position: 0px 0px; }
.icon_social.twitter { background-position: -50px -50px; }
.icon_social.twitter:hover { background-position: -50px 0px; }
.icon_social.flickr { background-position: -100px -50px; }
.icon_social.flickr:hover { background-position: -100px 0px; }




/* footer */
.site-footer .footer { background:#222; color:#bababa; padding-bottom: 50px; }
.site-footer .footer .widget-title { min-height:38px; margin: 80px 0 50px 0; font-weight:bold; text-transform:uppercase; position:relative; }
.site-footer .footer .widget-title:before { width:20px; height:3px; background:#666; content:""; display:inline-block; position:absolute; bottom:-22px; }
.site-footer .footer .widget_nav_menu  ul { list-style:none; padding:0; }
.site-footer .footer .widget_nav_menu  li { padding: 8px 0; border-bottom: 1px dotted #555; }
.site-footer .footer .widget_nav_menu  a { color:#bababa; }
.site-footer .copyright { background:#333; color:#b9b9b9; font-size:13px; padding: 30px 0 20px 0; }



/* верхняя красная строка */
#drawer-wrap { background:#d52b1e; color:#fff; }
#drawer-wrap #drawer { padding:15px; text-align:center; line-height:20px; }
#drawer-wrap .drawer-link { background: rgba(255,255,255,0.5); position:absolute; width:50px; height:50px; line-height:50px; text-align:center; right:0; top:0; z-index:999; }
#drawer-wrap .drawer-link a { font-size:26px; font-size:2.6rem; }
#drawer-wrap .drawer-link a.drawer-on { color:#fff; }
#drawer-wrap .drawer-link a.drawer-off { color:#ccc; }
#drawer-wrap .drawer-link a i { display:none; }
#drawer-wrap .drawer-link a.drawer-on i.drawer-on { display:inline-block; }
#drawer-wrap .drawer-link a.drawer-off i.drawer-off { display:inline-block; }

/* bootstrap */
.label.label-lightgray { background:#aaa; margin-right: 6px; }
.label.label-red { background:#d52b1e; margin-right: 6px; }



/* главная */
.home-begruessung { border-radius:3px; position:relative; background: #f0f0f0; padding: 15px 15px 5px 15px; margin-bottom:40px; font-family:'Roboto Condensed',sans-serif; font-weight:400; font-size:14px; font-size:1.4rem; color:#555; }
.home-begruessung p:first-child { font-weight:bold; }
.home-begruessung::after { position:absolute; bottom:-18px; left:30px; content:""; width:0; height:0; border-top: 18px solid #f0f0f0; border-right: 18px solid transparent; }
.home-begruessung .more { text-align:right; }

.home-ambassador { background: #f0f0f0; padding: 5px; display:table; width:100%; margin-bottom:20px; }
.home-ambassador .col1,.ambassador .col2 { display:table-cell; vertical-align:top; }
.home-ambassador .image { width:110px; padding-right:10px; }
.home-ambassador .image img { width:100%; }
.home-ambassador .title { font-family:'Roboto Condensed',sans-serif; font-weight:400; font-size:16px; font-size:1.6rem; }
.home-ambassador .desc, .home-ambassador .links { font-family:'Roboto Condensed',sans-serif; font-weight:400; font-size:13px; font-size:1.3rem; color:#555; margin-top:5px; }

#layerslider { margin-bottom:20px; }


.top-thema {}
.top-thema .text { font-size: 0.95em; margin: 10px 0 5px 0; border-top: 1px solid #ccc; padding-top: 10px; color: #555; }


.figura { width:50%; position:relative; margin: 0px 0; float:left; }
.figura.figura1 { padding-right:14px; float:left; }
.figura.figura2 { padding-left:14px; float:right; }
.figura-inner { padding:0 12%; }
.figura .figura-img { opacity:1; width:100%; padding-bottom:100%; display:block; position-repeat:no-repeat; background-size:100% auto; background-position: 0px top; 
/*
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
*/
}
.figura .figura-img:hover { opacity:1; background-position: 0px bottom; }
.figura .figura-img.img1 { background-image:url(img/figura1.png); }
.figura .figura-img.img2 { background-image:url(img/figura2.png); }
.figura .figura-img.img3 { background-image:url(img/figura3.png); }
.figura .figura-img.img4 { background-image:url(img/figura4.png); }
.figura .figura-img.img5 { background-image:url(img/figura5.png); }
.figura .figura-img.img6 { background-image:url(img/figura6.png); }
.figura .figura-text { font-family:'Roboto Condensed',sans-serif; font-weight:400; font-size:16px; font-size:1.6rem; text-align:center; margin:20px 0 0 0; text-transform:uppercase; }
.figura .figura-text a { color:#777; }

#myRoundabout li {}
.round-wrap { padding:30px 0; background-image: url(img/bg-city8.jpg); }
.roundabout-holder { padding: 0; max-width:600px; height: 300px; margin:0 auto; list-style: none; -overflow:hidden; }
.roundabout-moveable-item { height:300px; width: 210px; cursor: pointer; background-color: #fff; border: 5px solid #fff; }
.roundabout-moveable-item .img img { width: 100%; }
.roundabout-moveable-item .title { font-family:'Roboto Condensed',sans-serif; font-weight:400; font-size:1.2em; line-height:1.1em; text-align:center; padding:3% 5%; }
.roundabout-in-focus { cursor: auto; }
.roundabout-moveable-item .link { font-size:0.9em; line-height:0.9em; text-align:right; opacity:0; position: absolute; bottom: 5px; right: 0;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -o-transition: all .2s;
    -ms-transition: all .2s;
    transition: all .2s;
}
.roundabout-in-focus .link { opacity:1; }
.roundabout-moveable-item .link a { padding:2px 10px; background:#777; color:#fff; border-radius:3px; text-decoration:none; }
.roundabout-moveable-item .link a:hover { background:#D52B1E; }

/* message-embassy */
.message-embassy {}
.message-embassy .title { margin-bottom:5px; -font-family:'Roboto Condensed',sans-serif; }
.message-embassy .count { font-size:85%; margin-left:10px; }
.message-embassy .link { margin:10px 0; }

.message-line { margin:10px 0; font-family:'Roboto Condensed',sans-serif; background: #f2f2f2; padding: 3px 0; text-align: center; border-bottom: 1px solid #ddd; border-top: 1px solid #ddd; }
.message-line a { margin-left:10px; }


.message-mid {}
.message-mid .title { margin-bottom:10px; }
.message-mid .media { color:#d52b1e; margin-left:6px; font-weight:bold; font-size:85%; }



#btnMobMenu {
    background: center center no-repeat transparent;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD5JREFUeNpi/P//PwMtARMDjQHNLWABEatXr6ZJOIWGhjIO/SCiuQWMo8l0NJmOJtPRZDqaTEeTKT0sAAgwAF3IGCeuta0yAAAAAElFTkSuQmCC');
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 10px;
    right: 10px;
}
#btnSearch { text-decoration:none; position:absolute; top:20px; right:50px;  color:#999; z-index: 20; }
#btnSearchIcon { font-size:26px; font-size:2.6rem; }
#btnSearchClose { font-size:26px; font-size:2.6rem; display:none; }
#search-wrap { display:none; position:absolute; top:3px; z-index: 10; width:100%; }
#search-wrap .search-input {
    width: 100%;
    z-index: 9999;
    border: none;
    height: 100%;
    font-size: 40px;
    background: transparent;
    padding: 0px 85px 0 20px;
    color: inherit;
    box-shadow: none;
    -webkit-box-shadow: none;
    font-weight: 300;
}
#search-wrap .search-input:focus { box-shadow: none; -webkit-box-shadow: none; outline: none; }



.container-wrap.bg1 { padding: 40px 0; }
.container-wrap.bg1 .img-angle20, .single-img-angle20 { margin-bottom:10px; position:relative; }
.container-wrap.bg1 .img-angle20:before, .single-img-angle20:before { content:""; width:20px; height:20px; background:url(img/angle20.png); background-position: 0px 0px; display:block; position:absolute; top:0; right:0; }
.container-wrap.bg1 .img-angle20 img, .single-img-angle20 img { width:100%; }

.container-wrap.bg2 { padding: 40px 0; box-shadow: inset 0px 0px 20px 0px rgba(0,0,0,0.3); background: #f0f0f0; }
.container-wrap.bg2 .img-angle20 { margin-bottom:10px; position:relative; }
.container-wrap.bg2 .img-angle20:before { content:""; width:20px; height:20px; background:url(img/angle20.png); background-position: 0px 20px; display:block; position:absolute; top:0; right:0; }
.container-wrap.bg2 .img-angle20 img { width:100%; }



/* facebook, likebox */
.facebook-wrap * {
   width: 100% !important;
}
.fb_iframe_widget,
.fb_iframe_widget span,
.fb_iframe_widget span iframe[style] {
  min-width: 100% !important;
  width: 100% !important;
}

.block-social-link { margin:20px 0; }
.block-social-link .fb-wrap { float:right; height:25px; width:220px; }
.block-social-link .twitter-wrap { float:right; height:25px; width: 120px; }




/* smicon */
.smicon-wrap { margin-bottom:30px; }
.smicon {}
.smicon h4 { margin-top:0; font-weight:400; }
.smicon .color { color:#d52b1e; }
.smicon .box-icon { float:left; width: 35px; height: 35px; margin-right: 20px; }
.smicon .box-content { float:left; width: calc(100% - 55px); }


.social-icons-wrap { text-align:right;margin:20px 0; }
.social-icons-wrap a.pluso-more { display:none!important; }



.maps { margin-bottom:30px; }

.kebo-tweets .ktweet .ktext { min-height:0!important; }
.kebo-tweets .ktweet .kmedia img { width: 100%!important; }



/* Home Quote */
.home-quote { background: #f0f0f0; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; padding: 30px; position: relative; margin: 20px 0 30px 0; }
.home-quote:after { content:""; position: absolute; right: 0px; bottom: -12px; width: 100%; height: 12px; background: url(img/home-quote-shadow.png) 100% 0 no-repeat; }
.home-quote:before { content:""; position: absolute; left: 0px; top: -12px; width: 100%; height: 12px; background: url(img/home-quote-shadow2.png) 0 0 no-repeat; }
.home-quote .img { /*width: 25%;*/ padding: 5px; border: 1px solid #ccc; background: #fff; margin-top:20px; /*float: left;*/ }
.home-quote .img img { width: 100%; }
.home-quote .text { /*float:left; width: 50%;*/ margin: 20px 20px 0 100px; color: #666; position: relative; }
.home-quote .text p { margin-bottom: 20px; }
.home-quote .text:before { content:""; position: absolute; left: -90px; top: 0px; width: 55px; height: 55px; background: url(img/home-quote1.png) 0 0 no-repeat; }
.home-quote .title {   position: absolute; top: -1px; right: 0; background: #d52b1e; padding: 3px 30px; color: #fff; }



/* Media */

@media print {
    #sidebar-left { display:none; }
    #sidebar-right { display:none; }
    #sidebar-bottom { display:none; }
    #sidebar-top { display:none; }
    #comments { display:none; }
    #drawer-wrap { display:none; }
    #topcontrol { display:none; }
    .site-header { display:none; }
    .footer { display:none; }
    .iLinks { display:none; }
    .logo-print { display:block; }
    .noprint { display:none; }
}


@media (max-width: 767px) {

	.home-quote .text:before {left: 0px; top: -60px;}
	.home-quote .text {margin: 90px 0 0 0px;}
	.home-quote .img { width: 65%;}
    .col-xs-off { display:none; }
    #btnSearchIcon { right:60px; }
    .header-logo a  { width:170px; }
    html[lang="ru-RU"] .header-logo a  { background-image:url(img/logo-ru-s.png); }
    html[lang="de-DE"] .header-logo a  { background-image:url(img/logo-de-s.png); }
}

@media (min-width: 768px) {
    .col-sm-off { display:none!important; }
}





/* перенести админ панель вниз */
/*
html {
    margin-bottom: 32px !important;
}
*/
body.admin-bar,
* html body.admin-bar {
    margin-bottom: 32px !important;
}
#wpadminbar {
    top: auto !important;
    bottom: 0;
}
#wpadminbar .menupop .ab-sub-wrapper { /* субменю */
    bottom: 32px;
    -moz-box-shadow: 2px -2px 5px rgba(0,0,0,.2);
    -webkit-box-shadow: 2px -2px 5px rgba(0,0,0,.2);
    box-shadow: 2px -2px 5px rgba(0,0,0,.2); /* изменяем угол падения тени */
}
@media screen and ( max-width: 782px ) {
    html {
        margin-bottom: 46px !important;
    }
    * html body {
        margin-bottom: 46px !important;
    }
    #wpadminbar{
        position:fixed;
    }
    #wpadminbar .menupop .ab-sub-wrapper {
        bottom: 46px;
    }
}
/* end: перенести админ панель вниз */

/* best2014 */
#best2014 {
    z-index: 99;
    background: url(img/best-2014.png);
    width: 140px;
    height: 100px;
    position: fixed;
    top: 40%;
    right: -95px;
    cursor: pointer;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    overflow: auto;
}

#best2014:hover {
    right:0px;
}
