/**
 * Place your custom styles here.
 */

 
 /* RRB added */
 
 
 /* 
 
 REGISTRATION AND STUFF
 
 ********* ATTENTION ATTENTION ATTENTION *************
 Hiding "edit-locale" on register form and account edit/view
 - edit: NO - disabled language-selection from profile 
 - and instead hiding only form-item-entity-language !!!
 because of duplication and triplication of language choice...
 HOWEVER, not sure if language setting is registered correctly in DB!!!
 
 */
 
 /*  .page-user-edit #edit-locale, */
 .page-user-edit .form-item-entity-language {
	 display: none;
 }

#profile-main-field-birthday-add-more-wrapper .panel,
#profile-main-field-birthyear-add-more-wrapper .panel {
	border:0;
}
#profile-main-field-birthday-add-more-wrapper .panel-heading,
#profile-main-field-birthyear-add-more-wrapper .panel-heading {
	border-color: transparent;
	background-color: transparent;
	padding: 10px 15px 0 0;
	font-weight: bold;
}
#profile-main-field-birthday-add-more-wrapper .panel-title,
#profile-main-field-birthyear-add-more-wrapper .panel-title {
	font-size: 14px;
}
 
#profile-main-field-birthday-add-more-wrapper .panel-body,
#profile-main-field-birthyear-add-more-wrapper .panel-body {
	padding: 0;
} 

  /* Cookieees - button omdraaien!
 
 
 #sliding-popup .eu-cookie-compliance-default-button {
    cursor: pointer;
    border: none;
    background: none;
    margin-top: 1em;
    padding: 0 8px;
    vertical-align: middle;
	color: #000 !important;
}
 
 #sliding-popup .eu-cookie-compliance-secondary-button {
    cursor: pointer;
    margin-right: 5px;
    margin-top: 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;
}

*/


/* -------INVITE -------- */

.block-invite h2 {
	font-size: 20px;
}

#block-invite-invite-add-invite-by-email .field-name-field-invitation-email-address input {
    width: 200px;
}







/* -------Page basics-------- */

body {
	background: #999dba url(/sites/all/themes/bootstrap_subtheme/css/crosslines-pattern.png);
	/* background: #999dba url(/sites/all/themes/bootstrap_subtheme/css/waves01.gif); */
	/* background-color: rgb(153, 157, 186); */
	/* background: #e6e6e6 url("crosslines-pattern.png") 50% 50% repeat-x; */
	/* background-image: url("chrome://global/skin/media/imagedoc-darknoise.png"); */
	}

	
	/* SPECIFIC PAGES   */

#node-350 .field-type-text-with-summary,
#node-351 .field-type-text-with-summary,
#node-356 .field-type-text-with-summary {
	background-color: #c62c27;
}

.table-striped > tbody > tr:nth-of-type(even) {
    background-color: #e9e9e9;
}

H1 {
	color: #337ab7;
	font-size: 26px;
}

h2, .h2 {
    font-size: 26px;
}

td	{
	font-size: 14px;
}
	
.main-container {
	max-width: 1024px; 
	align-self: center; 
	background-color: #fff;  /* #e2f5f0 - #f1eff0 */ 
	border-radius: 5px;
	padding-bottom: 15px;
	}

.navbar.container-fluid {margin: 11px 0;}
.navbar-nav {float: left; margin: 0 -15px 0 0;}
.navbar-default .navbar-brand {
    color: #c62c27;
    font-size: 20px;
    font-weight: bold;
   /* margin-left: -15px;} */
}

.lead {
    font-size: 18px;
    margin: 10px 0 10px 0;
/*    font-weight: 300;
    line-height: 1.4;
*/	font-style: italic;
}

@media only screen and (min-width: 768px) {
	.lead {
    font-size: 24px;
	}
}



/* home - for html5 embed... maybe  */

.resp-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

.resp-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.embed-container {
	position: relative;
	padding-bottom: 56.25%; 
	height: 0; overflow: 
	hidden; 
	çmax-width: 100%; 
	}

.embed-container iframe, .embed-container object, .embed-container embed {
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; }	

.iframe-container {
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
}

.iframe-container iframe {
	z-index: 100;
   border: 0;
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
}

/* 4x3 Aspect Ratio */
.iframe-container-4x3 {
  padding-top: 75%;
}





/* -------Header Stuff-----------*/

.form-group {
    margin-bottom: 5px;
}

.form-item-lang-dropdown-select {
	float: left;
	width: 120px;
/*	margin-top: 10px; */
	}
	
#lang_dropdown_form_language .language-icon {margin: 10px; float: left;}
.language-icon{border:0}

#lang-dropdown-select-language {
	padding: 6px;
}

form#search-block-form {
/*    margin-top: 10px; */
}

#block-search-form {
	width:auto;
	z-index:10;
	}
	
#block-block-16 {
	margin-bottom: 10px;
}
	
#block-lang-dropdown-language {
	float: left;
	z-index: 11;
/*	width: 160px;
	alleen als lang_dropdown_form language 200 kan zijn, maar defined in "style"
*/	
	}

	#block-block-21{float: left; margin-top: -15px; margin-left: 20px;}
footer {
	margin-top: 2em; 
	/* border-bottom: 2px solid #c62c27; */
	}

footer {
    margin-top: 2em;
    border-bottom: 2px solid #c62c27;
}

.page-header {
    padding-bottom: 9px;
    margin: 3px 0;
}



/*---------NAV BAR-----------*/

/* hide navbar for anonymouses!!    */
.not-logged-in .tabs--primary {
    margin-bottom: 10px;
    display: none;
}



.admin-menu .tabs--primary {
    margin-bottom: 8px;
    display: block;
}

.node-europinion .field-type-link-field {
    margin: 0px 30px -4px 0;
}

/* body and other blocks and spaces */

table.webform-grid {
    padding: 4px 8px;
    vertical-align: top;
    border-top: 1px solid #ddd;
}



fieldset.collapsible {
    position: relative;
    margin: 4px 0;    /* was 20px 0 */
}

/* these two to avoid links on images covering 100% of width - stupid thing, don't understand why */
.field-type-image {
	max-width:480px;
	clear:both;
	}
	
	
/* div .views-field-field-image-et { max-width:240px;} */
.views-field .views-field-field-image-et{ max-width:240px;}	
/* .views-field-field-image-et ´{max-width: 230px;} */


.outerlink-image .og-long-image {width: auto; max-height: 200px;}
.outerlink-wrapper {max-width:480px;}
.field-type-text-with-summary {
	clear: both; 
	margin: 0.2em 0;  /* from 2em to 0.5em 09/01/2019 for homepage */
	padding-top: 4px;
	}
	
.field-type-text-with-summary {
    clear: both;
    margin: 0.2em 0;
    padding: 4px 0 12px 0;
    border-bottom: 2px solid #c62c27;
}	
	
.field-type-taxonomy-term-reference {
	margin-bottom: 10px; 
	margin-right: 10px; 
	float:left;
	font-size: 84%;
	font-style: italic;
	}

.taxonomy-term-for-list {
	margin-bottom: 10px; 
	margin-right: 10px; 
	float:left;
	font-size: 84%;
	font-style: italic;
	}

blockquote {
    padding-left: 15px;
    margin: 20px 20px 20px 10px;
    font-size: 20px;
    font-style: italic;
    border-left: dashed 2px #c62c27;
    font-family: "Times New Roman";
}

.comment_forbidden {
	display: none !important;
}

.field-name-field-tags .field-item {
	float: left;
	margin-right: 12px;
}

footer .list-inline {
	clear: both;
	margin-left: 0;
}

.navbar-nav > li > a {

    padding: 10px;

}

.navbar-brand {
    padding: 9px 15px;
}






/* fancybox */
/*
.field-type-link-field {
    margin: 0px 30px 10px 3px;
    font-weight: bold;
    float: right;
    border: 4px solid crimson;
    padding: 2px 8px 0 12px;
    border-radius: 12px;
}
*/


.ui-widget-content a {
    color: #337ab7;
}



a.fancybox{
	color: lightblue; /* #c62c27 how to get for the other links???*/
	}

p a.fancybox, li a.fancybox, h3 a.fancybox, h4 a.fancybox {
	color: #c62c27
	}
	
	
.field-name-field-link a.fancybox, .field-type-link-field-acc a.fancybox, a.fancybox-vid{
	color: lightblue;
	}


a.fancybox img.img-responsive {
	border: 4px solid #c62c27;
	margin: 8px 0;
	max-width: 100% !important;
	/* max-width: 360px;  */
	}
a.fancybox .node-teaser img {
	border: 4px solid #c62c27;
	}

.fancybox-nav {
    position: absolute;
    top: 0;
    width: 38%;
    height: 64%;
    cursor: pointer;
    text-decoration: none;
    background: transparent url('blank.gif');
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    z-index: 8040;
}

.fancybox-type-iframe .fancybox-nav {
    width: 60px;       
}

.fancybox-type-iframe .fancybox-nav span {
    visibility: visible;
    opacity: 0.5;
}

.fancybox-type-iframe .fancybox-nav:hover span {
    opacity: 1;
}

.fancybox-type-iframe .fancybox-next {
    right: -60px;
}

.fancybox-type-iframe .fancybox-prev {
    left: -60px;
}


/* vragenlijst */


.field-type-link-field {
    margin: 20px 30px -4px 0;
    font-weight: bold;
	font-size: 114%;
    float: left;
    border: 6px solid #c62c27;
    padding: 2px 8px 0 12px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 0px;	
    background-color: #c62c27;
	clear: both;
}

.field-type-link-field-acc {
 /*   margin: 20px 30px -4px 0;  */
    font-weight: bold;
	font-size: 114%;
 /*   float: left;   */
    border: 6px solid #c62c27;
    padding: 2px 8px 8px 12px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 0px;	
    background-color: #c62c27;
	clear: both;
}



/*--- Accordion --- */

.ui-accordion-content {
    padding: 1em 0.7em !important;
    border-top: 0;
    overflow: auto;
	/* max-height: 700px; */
}

.view-grouping-header {
	font-size: 1.5em;
	margin-top: 10px;
	font-weight: bold;
	color: #c62b27;
}

/*
.ui-accordion .ui-accordion-content {
    overflow: auto; 
}
*/

.ui-accordion .ui-accordion-icons {
    padding-left: 1.8em;
}

.goto-page {
	float: right;
	font-size: 84%;
	font-style: italic;
	/* color: #c62b27; */
}

a.goto-page {
	color: #c62b27;
}

a.goto-page:hover {
	color: #c62b27;
	text-decoration-line: underline;
}

.ui-widget-content {

    border: 1px solid #aaa;
        border-top-color: rgb(170, 170, 170);
        border-top-style: solid;
        border-top-width: 1px;
/*
    background: #fff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;
        background-color: rgb(255, 255, 255);
*/
		background: #e8f9ee;   /* f8f8f8 */
		color: #222;

}


/* a.ui-widget-content {
	color: #337ab7;
}
*/

.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {

    color: #212121;   
    text-decoration: none;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {

    border: 1px solid #d3d3d3;
/*    background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;   */
    font-weight: 400;
    color: #555;
}

.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
    color: #c72910; /* EO red */
    text-decoration: none;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {

    border: 1px solid #aaa;
/*    background: #d9e0f3 url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;  */
	background:#d9e0f3;
    font-weight: bold;
    color: #212121;
}


/*------ Blocks enzo -------------*/

#block-block-28 {
    background-color: #dedefe;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 5px;
    padding-bottom: 5px;
}







/*--------WEBFORM---------*/

/*   "What is Eur Opinion?"   version 1

form.webform-client-form:before {
	content: "What is Eur Opinion?";
    margin: -34px 0 0px 5px;
    font-style: italic;
    position: absolute;
    font-family: serif;
    font-size: 18px;
    font-weight: bold;
    color: #c62c27;
}

.webform-client-form {
	border-top: 30px solid #d9e0f3;
	margin: 10px 0;
	padding: 5px 5px 24px 5px;
	background-color: #f8f8f8;
	border-bottom: 2px solid #d9e0f3;
}

*/

/*    version 2  */

/* anchor tag...  for scroll to top of accordion sections maybe? */


:target:before {
content:"";
display:block;
height:90px;          /* fixed header height */
margin:-90px 0 0;     /* negative fixed header height*/
}



/*
alternatives?
*/
.anchor a {
  position: absolute;
  left: 0px;
  top: -60px;
}




/*

<a id='contact'></a>
<h2>Contact</h2>

:target {
  display: block;
  position: relative;
  top: -320px; 
  visibility: hidden;
}

*/





form.webform-client-form:before {
    content: "What is Eur Opinion?";
    margin: -32px 0 0px 5px;
    font-style: italic;
    position: absolute;
    font-family: serif;
    font-size: 18px;
    font-weight: bold;
    color: #d9e0f3;
}


.webform-client-form {

    border-top: 30px solid #c62c27;
    margin: 10px 0;
    padding: 5px 10px 24px 10px;
    background-color: #f8f8f8;
    border-bottom: 2px solid #c62c27;
    border-left: 2px solid #c62c27;
    border-right: 2px solid #c62c27;

}

.webform-component label.control-label input.form-radio {
    /* color: #d9e0f3; */  /* #f4b  ; */
	margin-right: 5px;
}	
	
.webform-component .form-radios .form-item {
    /* margin: 0.4em 1px; */
	font-size: 16px;
    line-height: normal;
    font-weight: bold;
    background-color: #aaaec8; /* #999dba; */ /* #d9e0f3 */
    padding: 2px 7px 3px 9px;
    color: #fff;
    /* border-radius: 3px; */
	/* display: inline; */
}

/* for problem that adding "other" option makes the whole of the options float next to the question instead of staying under it. Very strange...!!   */ 



.webform-container-inline label {
    display: inherit;
    margin: 0;
	font-weight: bold;
}

.help-block {
	display: block !important;
}

.select-or-other label {
	display: block;
}

div.select-or-other-select  div.form-item  label{
	display: inline;
}

/*----------- till here the "other" option problem --------- */


/* adapt webform grid to mobile */

/* nieuw */
th.webform-grid-option {
	width:30px;
}

td.webform-grid-option {
	padding:8px 4px!important;
}

.webform-grid-question, .webform-grid-option ´{
	white-space:normal!important;
}

.table > thead > tr > th {

    vertical-align: bottom;
    /* border-bottom: 2px solid #ddd; */
	padding:5px 2px !important;

}



/* meer spul... */

.webform-component .form-radios .form-item:hover {
    background-color: #3f7db1;
}



.webform-submit {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
    float: right;
    margin-top: -15px;
}

div.webform-component.form-group {
    margin-bottom: 15px;   /* original 20px */
 	border-bottom: 1px solid #d9e0f3; 
	padding-bottom: 8px
/*	background-color: #e7e7e7;  */
}

.webform-number-small {
	width: 60px;
}

.form-inline .control-label {
    margin-bottom: 3px;
}

.form-required  {
    /*  float: left; */
    color: #c62c27;
    font-size: 20px;
    /* margin: 0 6px -20px 4px; */
    line-height: 20px;
}

.list-inline {
    margin: -15px 0 10px -5px;
}

/* Charts */
.webform-chart-item h3 {
    font-size: 14px;
	font-weight: bold;
}

#webform-chart-page-title-block {
    margin: 2.5em 0;
}


/*-------EDIT---------*/
body#tinymce.mceContentBody {
	background-color: beige;
}

/*-------EU countries---------*/

.eu-yes-yes {
	background-color: #9ffdc5;
}

.eu-yes-no {
	background-color: #fcff58;
}

.eu-no-yes {
	background-color: #ffd22e;
}

.eu-no-no {
	background-color: #ff7220;
}

.eu-leaving {
	background-color: #fe370d;
}


