/********************/
/* CUSTOM STYLE CSS */
/********************/
/*
Place your custom CSS and CSS overrides in this file after renaming it to
custom-style.css or another name, and configure the filename and path in
the theme's settings page.

Steps for customizing your theme:
1. Incorporate your custom CSS into this file.
2. Uncomment various examples below and adjust the data to your preferences.
3. Clear cached data at /admin/config/development/performance or use
   "Flush all caches" in the Admin Menu, then press CTRL+F5.
*/


/* Erase or comment the lines below to get rid of the image in the right
   sidebar and the brand image at the bottom */
   /*
#middlecontainer {
  background: transparent url(../images/_sidebarimg.png) 99% 99% no-repeat;
}
#brand {
  background: url(../images/_brand.png) 50% 0 no-repeat;
  margin: 0 auto 1em;
  height: 50px;
}
*/

/******* THEMER STYLE *******/
/* Put here your custom CSS */
/****************************/

/*
#top_bg, .themed-block {
  background-color: #fff;
  background-image: -webkit-linear-gradient(bottom, yellow 0%, #fff 150px);
  background-image: linear-gradient(to top, yellow 0%, #fff 150px);
}
#section2 {
  background-color: #fff;
  background-image: -webkit-linear-gradient(bottom, #fff 0%, yellow 100px);
  background-image: linear-gradient(to top, #fff 0%, yellow 100px);
}
.region-highlighted {
  border: solid 1px red;
}
h1, h2, h3, .block-title {
  color: blue;
}
a, a:link, #name-and-slogan a {
  color: red;
}
a:hover, a:active, a.is-active, ul.menu a.is-active {
  color: green;
}
.pure-menu-link {
  color: white !important;
  background: green;
}
.pure-menu-link:hover, .pure-menu-link:focus {
  background: magenta;
}
.pure-menu-children a:hover, .pure-menu-children a:focus {
  background: magenta;
}
.pure-menu-children .pure-menu-link {
  background: green;
  border: 1px solid;
  border-color: red yellow blue lime;
}
.menu-toggle .bars {
  background: #000;
}

@media screen and (max-width: 48em) {
  .pure-menu-link, .pure-menu-children,
  .pure-menu-children .pure-menu-link {
    color: green !important;
    background: none;
    border: none;
  }
  .pure-menu-link:hover,
  .pure-menu-link:focus,
  .pure-menu-children a:hover,
  .pure-menu-children a:focus {
    color: black !important;
    background: acqua;
  }
}
*/


/**************/
/* TYPOGRAPHY */
/**************/
/*
html {
  line-height: 1.25;
}
p:first-of-type:first-letter {
  font-size: 200%;
}*/


/************************/
/* CHANGE LOGO POSITION */
/************************/
/*
.logoimg {
  padding: .5em 1em;
}*/


/**********************/
/* ROUND USER PICTURE */
/**********************/
/*
.field--name-user-picture img {
  border-radius: 100% !important;
}*/


/**********************************/
/* CHANGES MENU TOGGLE BARS COLOR */
/**********************************/
/*
.menu-toggle { background: #ffd; }
.menu-toggle .bars { background: #900; }
*/


/*************************/
/* DROP DOWN ADJUSTMENTS */
/*************************/

/* no dropdown shadows */
/*
.pure-menu-children {
  box-shadow: none;
}*/

/* big arrows */
/*
.pure-menu-horizontal .pure-menu-has-children > .pure-menu-link:after {
  content: "\25BC";
}
.pure-menu-has-children .pure-menu-has-children > .pure-menu-link:after {
  content: "\25B6";
}*/


/**************************/
/* INDIVIDUAL MENU COLORS */
/**************************/
/* Uncomment the following lines to have different colors for menu items. */

/* First & last level-1 menu items */
/*
.first .primary-nav__menu-link--level-1 {
  background: #631F3A;
}
.last .primary-nav__menu-link--level-1 {
  background: #777;
}*/

/* Middle menu items */
/*
.pure-menu-link {
  background: #YYY;
}*/

/* Children color */
/*
.pure-menu-children .pure-menu-link {
  color: #YYY !important;
  background: YYY;
}*/


/******************************/
/* HIDE some TITLES, READMORE */
/******************************/
/* Uncomment the first declaration below to hide all titles on the front page
   Addapt the second declaration to hide a node type titles on the frontpage.
   Third one is for no "Read more" on the front page. */
/*
.front #main h2 .field--name-title { display: none; }
.front #main .node--type-article h2 .field--name-title { display: none; }
.front .node-readmore { display: none; }
*/


/**********************************/
/* IMAGE POSITION for ALL CONTENT */
/**********************************/
.field-item .pure-img,
.colorbox .pure-img {
  float: left; /* LTR */
  margin: 0 1em 1em 0; /* LTR */
}
[dir="rtl"] .field-item .pure-img,
[dir="rtl"] .colorbox .pure-img {
  float: right;
  margin: 0 0 1em 1em;
}


/***********************************/
/* IMAGE POSITION per CONTENT TYPE */
/***********************************/
/*
.node-book .field-item .pure-img,
.node-book .colorbox .pure-img {
  float: right;
  margin: .6em 0 .6em .6em;
}
.node-blog_post .field-item .pure-img,
.node-blog_post .colorbox .pure-img {
  float: right;
  margin: .6em 0 .6em .6em;
}*/


/*************************/
/* CENTERED BLOCK IMAGES */
/*************************/
/*
.block img:not(.region-content img, .region-header img) {
  margin: 0 auto;
}*/


/*************/
/* SLIDESHOW */
/*************/
/* Centered text */
/*
.txww {
  text-align: center;
}*/
/* min height on mobiles */
#slider img {
  min-height: 10em;
}
/* Images animation */
/*
#slider img {
  animation-name: zoom;
  animation-duration: 30s;
  animation-iteration-count: infinite;
}
@keyframes zoom {
  0% {transform: scale(1)}
  50% {transform: scale(1.15)}
  100% {transform: scale(1)}
}*/


/********************************/
/* BORDER FOR NON-THEMED BLOCKS */
/********************************/
#sidebar-left .block,
#sidebar-right .block {
  border: 1px solid #ddd;
}


/*******************************/
/* UPDATE ICONS FOR NEW BLOCKS */
/*******************************/
/* where ID is the block id */
/*
#ID .block-icon {
  background: transparent url(../images/icons/blocks/icon_35_48.png) no-repeat;
}*/


/****************************************/
/* USER BLOCKS EQUAL VERTICAL ALIGNMENT */
/****************************************/
/*
@media screen and (min-width: 48em) {
  #section1 .block {
    min-height: 250px;
  }
}*/


/****************/
/* LINKS COLOR  */
/****************/
/*
.region-content .field--name-fid a,
.region-content .field--name-body a,
.region-content .item-description a {
  color: #c09;
}*/


/***************************/
/* INLINE LINKS & ADDTOANY */
/***************************/
/*
.addtoany_list, .node__links {
  display: inline-block;
}*/


/***********************/
/* CHANGE HEADER IMAGE */
/***********************/
/* Deactivate the image rotator in theme's settings, put your new image in
   the _custom folder and uncomment the lines below */
/*
.himg #headimg, #headimg {
  background: #fff url(YOUR_IMAGE.png) no-repeat 100% 100%;
}*/


/************************/
/* OTHER SOCIAL NETWORK */
/************************/
/*
#soclinks .myother {
  background: transparent url(../images/icons/blocks/icon_35_32.png) no-repeat center center;
}*/


/*****************************************************/
/* Bad alignment of Author and Date line in Drupal 8 */
/*****************************************************/
/*
.node__submitted, p.comment__submitted {
  display: flex;
}
.node__submitted .field, p.comment__submitted .field, p.comment__submitted a {
  margin: 0 .3em;
}*/


/************************************************/
/* Alternate node backgrounds on homepage/views */
/************************************************/
/*
.region-content .node--view-mode-teaser {
  padding: .5em;
}
.region-content li:nth-child(2n+2) .node--view-mode-teaser,
.region-content .views-row:nth-child(2n+1) .node--view-mode-teaser {
  background: #eee;
  padding: .5em;
}*/


/************************/
/* EU COOKIE COMPLIANCE */
/************************/
/* diffrent style of popup*/
/*
div#sliding-popup, div#sliding-popup .eu-cookie-withdraw-banner, .eu-cookie-withdraw-tab {
	background: linear-gradient(to right, transparent, 10%, #000, 90%, transparent);
}
.popup-content {
  max-width: 45em;
  padding: 0 .5em;
  text-align: center;
}
*/
/* agree button */
.agree-button.eu-cookie-compliance-secondary-button {
  cursor: pointer;
  margin: 1em 0 0 1em;
  vertical-align: middle;
  overflow: visible;
  width: auto;
  -moz-box-shadow: inset 0 1px 0 0 #ffffff;
  -webkit-box-shadow: inset 0 1px 0 0 #ffffff;
  box-shadow: inset 0 1px 0 0 #ffffff;
  background-color: #ededed;
  background-image: -moz-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(5%, #ededed), color-stop(100%, #dfdfdf));
  background-image: -webkit-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
  background-image: -o-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
  background-image: -ms-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
  background-image: linear-gradient(to bottom, #ededed 5%, #dfdfdf 100%);
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  border: 1px solid #dcdcdc;
  color: #000;
  font-family: Arial, sans-serif;
  font-weight: bold;
  padding: 4px 8px;
  text-decoration: none;
  text-shadow: 1px 1px 0 #ffffff;
}


/*** MEDIA SCREENS (35.5, 48 & 64em) ***/

@media screen and (max-width: 64em) {

/* HEADER IMAGE */
/* You can change images rotator with a static image like "mobi-dot.png" or
  "mobi-sq.png", use your own, or simply none. */
  .himg #headimg,
  #headimg {
    /*background: #fff url(../images/mobi-dot.png) repeat;*/
    background: none;
  }

  /* Increase contrast for header when Header image rotator is enabled */
  /*
  .himg #header {
    background: rgba(255, 255, 255, 0.5);
  }*/

  /* Increase contrast for site title */
  /*
  .himg .block-system-branding-block {
    background: rgba(255, 255, 255, 0.5);
  }*/
}


/*************************************/
/* Sidebars' blocks adaptive display */
/*************************************/
@media screen and (max-width: 64em) {
  #sidebar-left .block-wrapper,
  #sidebar-right .block-wrapper {
    width: 48%;
    padding: 0 1.5% 0 0;
    display: inline-block;
    vertical-align: bottom;
  }
}
@media screen and (max-width: 48em) {
  #sidebar-left .block-wrapper,
  #sidebar-right .block-wrapper {
    width: 100%;
    padding: 0;
    display: block;
  }
}


/*** GRAPHICS CSS ***/
/*
h1 {
  font-size: 1.6em;
}
h2,
h3.block-title,
.block-title {
  font-size: 1.4em;
  font-weight: bold;
}
h3 {
  font-size: 1.2em;
}
h4 {
  font-size: 1.1em;
}
h5,
h6 {
  font-size: 1em;
}
p {
  word-wrap: break-word;
}
a,
a.link {
  text-decoration: none;
  border-bottom: 1px dotted;
}
a:hover,
a:focus,
.link:hover,
.link:focus {
  text-decoration: none;
  border-bottom: 1px solid;
}
h1 a,
h2 a,
#name-and-slogan a,
.maintenance-page #header a,
li.primary-nav__menu-item--level-1 a,
#submenu a,
#menu2 a,
.toolbar-menu a {
  border-bottom: none;
}
#name-and-slogan {
  padding: 30px 20px;
}
.site-slogan {
  font-style: italic;
}
p#site-name a,
p#site-name a:hover,
h1#site-name a,
h1#site-name a:hover {
  font-weight: normal;
  text-decoration: none;
  line-height: normal;
  font-size: 2.4em; 
}
#main h2.title a { 
  font-size: 120%;
  line-height: normal;
  font-weight: normal;
  text-transform: none;
}
#main h1.title {    
  font-size: 160%;
  padding: 10px 0;
  font-weight: normal;
  text-transform: none;
}
.logoimg {
  float: left; 
  padding: 15px 20px 0;
}
[dir="rtl"] .logoimg {
  float: right;
}
fieldset {
  border: 1px solid #ccc;
}
pre {
  background: #eee;
  padding: .75em 1.5em;
  border: 1px solid #ddd;
}
.sticky-header {
  display: block;
}
table {
  width: 100%;
}
th,
td,
tr {
  padding: .3em;
}
tr {
  border-bottom: 1px solid #ccc;
  background: #efefef;
  background: rgba(0, 0, 0, 0.063);
}
thead > tr {
  border-bottom: 1px solid #000;
}
tr.odd {
  background: #e4e4e4;
  background: rgba(0, 0, 0, 0.105);
}
table tr th {
  border-bottom-style: none;
  background: #757575;
  background: rgba(0, 0, 0, 0.51);
}
table tr th,
table tr th a,
table tr th a:link,
table tr th a:hover,
table tr th a:focus {
  color: #fff;
  font-weight: bold;
}
table tbody tr th {
  vertical-align: top;
}
table.sticky-enabled thead {
  position: sticky;
  z-index: 500;
  top: var(--drupal-displace-offset-top, 0);
}
.divider {
  height: 100%;
  border-left: 1px dashed #ccc; 
}
[dir="rtl"] .divider {
  border-left: none !important;
  border-right: 1px dashed #ccc;
}
.signature p {
  font-size: .95em;
  margin: 7px 0;
}
blockquote {
  padding: 0 0 0 .5em; 
  border-left: 4px solid #ddd; 
  font-style: italic;
  clear: both;
}
[dir="rtl"] blockquote {
  padding: 0 .5em 0 0;
  border-left: none;
  border-right: 4px solid #ddd;
}
.breadcrumb {
  font-size: .95em;
}
.by {
  position: absolute;
  bottom: 0;
  right: 0; 
  text-align: right;
  clear: both;
  font-size: .8em;
  margin: 0 1em;
}
[dir="rtl"] .by {
  left: 0;
  text-align: left;
}
.by,
.by a,
.by a:hover {
  text-decoration: none;
  border-bottom: none;
  color: #777 !important;
}
.maintenance-page .layout-container {
  max-width: 50em;
  margin: 1em auto;
  font-family: sans-serif;
  border: 1px dashed #ccc;
}
.maintenance-page #main {
  margin: 1.2em;
}
a.icon-help,
a.feed-icon {
  border-bottom: none;
}
.node--view-mode-teaser {
  border-bottom: 1px dashed #ccc;
  padding: 0 0 .5em 0;
}
.field--name-user-picture img {
  float: right; 
  margin: 0 0 0 10px; 
}
[dir="rtl"] .field--name-user-picture img {
  float: left;
  margin: 0 10px 0 0;
}
.block-entity-viewuser .field--name-user-picture img {
  float: none;
  margin: 0 auto;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.node__submitted,
p.comment__submitted,
.submitted {
  font-size: .9em;
  margin: 0;
}
.comment {
  border: 1px solid #d3d3d3;
  padding: .5em;
  margin-bottom: 1em;
}
.comment-title {
  background: transparent url(../images/icon-comment.png) left center no-repeat; 
  padding: .1em 1em;
}
[dir="rtl"] .comment-title {
  background: transparent url(../images/icon-comment_rtl.png) right center no-repeat !important;
}
.forum td.container {
  background: #cdcdcd;
  color: #000;
}
.forum td.container,
.forum td.container .name a {
  background-image: url(../images/forum-container.jpg);
  background-position: right top; 
  background-repeat: no-repeat;
}
[dir="rtl"] .forum td.container,
[dir="rtl"] .forum td.container .name a {
  background-position: left top;
}
.taxonomy-term {
  background-color: rgba(238, 238, 238, 0.5);
  border: 1px solid #ddd;
  padding: .3em 1em;
  margin-bottom: 4em;
}*/

#site-name {
  margin: 0;
  padding: 0;
  font-size: 100%; 
  text-align: center;
}

