/* CUSTOM STYLE CSS - RADUT.COM */

/* who - #c63, red - #c33, blue - #09c, yellow - #fc6, green - #393, orange - #f58834 #f58834 */

#headimg {
  background: #fff url("//radut.eu/cdn/0/headerimg/dr/world_blue.png") no-repeat 65% 15%;
  border-bottom: none;
}
.region-topreg {
  padding: 15px 20px 0;
  text-align: center;
}
.logoimg {
  width: 155px;
  height: 100px;
}
.pure-menu-link:after {
  color: #fcc;
}
#top_bg, #top_left, #top_right {
  background: none;
}
#top_bg,
#body_bg {
  border-bottom: 1px solid #ed3237;
}
#brand {
  background: url("//radut.eu/cdn/0/logos/brand/dr_egk1_48.png") 50% 0 no-repeat;
  margin: 0 auto 1em;
  height: 50px;
}


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


/* IMAGE POSITION for ALL CONTENT */
.field-item .pure-img, 
.colorbox .pure-img {
  float: left; /* LTR */
  margin: 0 1em 1em 0; /* LTR */
}


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


/*************/
/* SLIDESHOW */
/*************/
/* 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;
}


/***************************/
/* INLINE LINKS & ADDTOANY */
/***************************/
.addtoany_list, .node__links {
  display: inline-block;
}
.addtoany_list:before {
  content: "Share ";
  font-weight: bold;
}


/************************/
/* EU COOKIE COMPLIANCE */
/************************/
.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;
}


/*** PAGES ***/

.node__submitted,
p.comment__submitted,
.submitted {
  text-align: right;
  font-style: italic;
}
.view-taxonomy-term .page-title,
.region-content .field--name-fid a,
.region-content .field--name-body a,
.region-content .item-description a {
  color: #900;
}
/* basic page */
.admin.node-page h1,
.add.page h1,
.node-page.edit h1 {
  background-color: #eee;
}
.node-page .book-add-child {
  display: none;
}
.topper {
  float: none;
  width: 100%;
  max-height: 15em;
  margin: 0 0 2em;
  object-fit: cover;
}
/* Network */
.node-callaid_network .field--name-body {
  margin: 1em 0;
}
.field--name-field-netw-services {
  border-top: 1px dashed #ddd;
  border-bottom: 1px dashed #ddd;
  margin-bottom: 1em;
  padding: 1em 0;
}
.field--name-field-netw-network {
  font-size: 90%;
  font-style: italic;
  text-align: right;
}

/* Contact */
.contact .block-system-main-block {
  background: #fff;
  background-image: repeating-linear-gradient(135deg, #83b3db 0px, #83b3db 30px, transparent 30px, transparent 50px, #83b3db 50px, #84ADCB 80px, transparent 80px, transparent 100px);
  box-shadow: 7px 7px 5px grey;
  padding: 20px;
}
.contact .block-system-main-block .block-content {
  background: #fff;
  padding: 20px;
}

.inquiry .webform-submission-form {
  border: 1px solid #ddd;
  background-color: rgba(238, 238, 238, 0.5);
  padding: 20px;
}
.inquiry.rnd .webform-submission-form {
  border-radius: 5px;
}

/* Languages + Search */
.region-topreg .form-item {
  margin-top: 0;
  margin-bottom: 0;
}


/* Hovers + team + front */ 

.hov-zoom-in figure img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
.hov-zoom-in figure:hover img {
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
}
.hov-grey figure img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
.hov-grey figure:hover img {
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
}

.dr-team figure {
  margin: 0;
}
.dr-team {
  width: 14em; /*220px*/
  height: 22em; /*360px*/
  padding: 0 1em;
  text-align: center;
}
.dr-team img {
  margin: 0 auto;
  border-radius: 100%;
}
.dr-front figure {
  margin: 0;
  height: 175px;
  background-color: rgba(238, 238, 238, 0.5);
  border-radius: 5px;
  display: flex;
  align-items: center;
}
.dr-front {
  width: 250px;
  height: 290px;
  padding: 0 1em;
  text-align: center;
}
.dr-front img {
  margin: 0 auto;
}
.dr-slimg {
  padding: 0 0.5em;
  text-align: center;
}

/* Poll */
.poll .bar .foreground {
  background-color: #069;
  height: 0.7em;
}


/* === YO ===*/

.dashed {
  border-bottom: 1px dashed #ddd;
}
.center, .centre { 
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.eleft .colorbox .pure-img,
.eright .colorbox .pure-img {
  margin: 0;
}
.eleft {
  float: left;
  margin: 0 1em 1em 0;
}
.eright {
  float: right;
  margin: 0 0 1em 1em;
}
.txright {
  text-align: right;
}
.txleft {
  text-align: left;
}
/*.node__content p:first-of-type,*/
.introp {
  font-size: 120%;
}
.my-inline {
  display: inline-block;
  vertical-align: top;
}
.tj {
  background: url("//radut.eu/cdn/0/images/_sprites-tj.png") no-repeat 0 99px;
  display: inline-block;
}
a.tj {
  border-bottom: none;
}
.lgen, .lgro {
  width: 32px;
  height: 24px;
  margin: 3px;
}
.tj.lgen {background-position: 0 -4px;}
.tj.lgro {background-position: -74px -4px;}

.frapa, .copys, .html5, .drupy {
  width: 88px;
  height: 31px;
  margin: 3px;
}
.tj.frapa {background-position: 0 -66px;}
.tj.copys {background-position: 0 -102px;}
.tj.html5 {background-position: 0 -138px;}
.tj.drupy {background-position: 0 -174px;}

.btg {
  display: inline;
  text-align: center;
  text-transform: uppercase;
  font-family: "times new roman", sans-serif, Arial, Verdana;
  line-height: 2em;
  padding: .2em .4em;
  background-color: #eee;
  border: 1px solid #ddd;
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.btg a {
  text-decoration: none !important;
  color: #2F71A2;
}
.btg a:hover {
  color: #000;
}


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

@media screen and (max-width: 64em) {
  .himg #headimg, #headimg {
    background: none;
  }
  .logoimg {
    margin: 0 .7em 0 0;
    width: 67px;
    height: 43px;
  }
  p#site-name a, p#site-name a:hover, 
  h1#site-name a, h1#site-name a:hover {
    line-height: 1.5em; /*1.2*/
    font-size: 1.7em; /*2*/
  }
  .region-topreg {
    width: 100%;
    padding: 5px 5px 0;
    text-align: right;
  }
}
@media screen and (max-width: 48em) {
  .region-topreg #edit-submit {
    display: none;
  }
  .contact .block-system-main-block,
  .contact .block-system-main-block .block-content {
    box-shadow: none;
    padding: 20px 0;
  }
  .pure-menu-has-children > .pure-menu-link:after, .pure-menu-has-children .pure-menu-has-children > .pure-menu-link:after {
    content: "\25BC" !important;
  }
}
@media screen and (max-width: 35.5em) {
  .node__content .colorbox .pure-img,
  .node__content .eleft, 
  .node__content .eright {
    width: 99%;
  }
}


/*************************************/
/* 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;
  }
}
