/* Max made this custom edit */

#main-content {
  background-color: #f0f0f0;
}
.logo-and-site-name-wrapper .logo img {height:100px;}
.logo-and-site-name-wrapper .site-slogan {font-size:larger;}

.header-container {background-color:#959595;}
.header-container .region--dark-background {background-color:transparent;}
.header-container .block-language ul li {display:inline-block;}
.header-container .block-language ul li:before {position:relative; content:no-open-quote;}

#block-catalog-lite-dropdownlanguagesoderzhimoe .dropbutton-multiple  {text-transform:uppercase; padding:10px 0; width:125px;}
.region-header .search-block-form {width:50%; float:right;}


.page-container .banner.region--black-background:after {background-color: rgba(0, 0, 0, 0.35);}


#banner .banner__container .flex-caption {width:auto;}
.path-frontpage #banner .block-system-branding-block {position:absolute; z-index:5; top:5%; right:5%; width:240px;}
#banner .block-system-branding-block .logo img {height:80px;}
#banner .logoforbanner {text-align: center;}
#banner .container-fluid .region-banner .view-content .flexslider {max-width:100%;}
.page-node-type-article .banner__section #block-catalog-lite-page-title .page-title {font-size:xx-large; margin-bottom: 50px;}

.mediaicon a img {margin-right:10px; width:30px;   
filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
  filter: grayscale(1); /* Microsoft Edge and Firefox 35+ */}
.mediaicon a img:hover {
  -webkit-filter: grayscale(0);
  filter: none;}
.mediaiconbig a {display: inline-block; font-size: xx-large; text-transform: uppercase; font-weight: bold; margin-right: 10px; filter: gray; /* IE6-9 */
  -webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
  filter: grayscale(1); /* Microsoft Edge and Firefox 35+ */}
.mediaiconbig a:hover {-webkit-filter: grayscale(0); filter: none;}

.page-container .mamediabanner img {width:100%; text-align:center;}

html {scroll-behavior: smooth;}
#mishabanner img {width:100%;}

/* 
#block-catalog-lite-taxonomymenuarticlescategory .toolbar-button__label {clip:unset; opacity:unset; clip-path:unset; width:auto; height:auto;} 

#block-catalog-lite-taxonomymenuarticlescategory [class*="toolbar-button--icon"]::before {background-image:none;}
*/


.frontpage-news-sections .view-content {border-bottom:3px dotted #e7e1e1; padding-bottom: 20px;}

.frontpage-news-sections .frontpage-news-headers {display: inline-block; margin:0 20px 20px 0; max-width:325px;}
.frontpage-news-sections .attachment {border-bottom:2px inset grey;} 
    
.frontpage-news-sections  .frontpage-news-headers .views-field-title a:hover {
    background-color: rgba(0, 0, 0, 0.62); 
    white-space: normal; 
    font-size:x-large;
    text-decoration:none;
    
}
.frontpage-news-sections  .frontpage-news-headers .views-field-title a {
    background: transparent;
    padding: 20px 5px;
    white-space: nowrap;
    overflow: hidden;
    position:absolute;
    z-index:20;
    width:325px;
    height:250px;
    color:white;
    font-size:1.4em;
}
/* Miguel Foto and headlines on front page */
#block-catalog-lite-fotoavtoramazhgirevichnaglavnoy {float:right; width:360px;}
.content #miguelfoto {display:inline-block; margin-right:30px;}
.content #migueltext {display:inline-block; max-width:700px; text-align:justify; }
.content #miguelfoto img {border-radius:100%; max-width:360px;}

/* VideoShorts thumbnail on fronpage */
#block-catalog-lite-vkontakte {float:right;}


/* Articles teasers */
/*
.node--view-mode-teaser.node--type-article .images-container {
    margin-bottom: 20px;
    float: left;
    margin-right: 20px;
}
*/

#subfooter  {background-color:#303030; color:white;}
#subfooter .title, #subfooter a {color:#c7c7c7;}

/* Rewrite of a toolbar button effect with two capital letters in menues 
[class*="toolbar-button--icon"]::before  {display: none;}
[class*="toolbar-button--icon"]::marker  {content: "\f105";} 
*/

#block-catalog-lite-nashipartnerykartinkiilogotipynastranicepartnerov img {margin:0 10px 15px 0;}

@media (max-width: 767px) {
    .path-frontpage #banner .block-system-branding-block {position:absolute; z-index:5; top:5%; left:5%; width:120px;}
    #banner .block-system-branding-block .logo img {height:50px;}
     #banner .block-system-branding-block .site-name a {font-size:small;}
     #banner .block-system-branding-block .site-slogan {font-size:small; display:none;}

.page-container .banner, .path-frontpage .banner {
    background-image: url(../../images/background-image-banner-mobile.jpg);
    background-position: 50%;
   
}
 
#banner .banner__container .flex-caption {
    width: auto;
    margin: 0;}
    
#banner .view-front-page-slideshow  .views-field-title {background-color: #00000054; padding: 5px 20px;
        position: absolute;
        bottom: 0;
        z-index: 10;
        width: 360px;}
#banner .view-front-page-slideshow .flex-pauseplay {display:none;}

/* Articles teasers */

.node--view-mode-teaser.node--type-article .images-container {float:none;}

/* Slideout */
.slideout__section .block-language ul li {display: inline-block; padding: 0 20px 0 0; margin-left: 10px;}

}



