.toolbar-tray-open.toolbar-horizontal header, .toolbar-fixed header { padding-top: 40px; }

.toolbar-fixed.toolbar-vertical header { padding-top: 20px; }

.fas.fa-home { background: url(../images/home.png); background-size: contain; background-repeat: no-repeat; background-position: center; width: 20px; height: 20px; border: 0px; display: block; }
.fas.fa-home:before { content: ''; }

body { max-width: 100%; overflow-x: hidden; }
body .node--type-blocs-presse p b { font-weight: bold; }
body .node--type-blocs-presse ul { margin-left: 15px; }
body .node--type-blocs-presse div:not(.presse-attach) h2, body .node--type-blocs-presse div:not(.presse-attach) .h2 { font-size: 1.6em; border-top: 2px solid black; padding-top: 15px; margin-top: 15px; }
body .view-id-frontpage .view-header p { display: none; background: #8B0000; color: white; font-size: 120%; padding: 15px 30px; text-align: center; }
body .view-id-frontpage .view-header p a { color: white; text-align: center; }
body .view-id-frontpage .view-header p a:hover { font-size: 110%; transition: font-size ease 0.1s; }
body .col-md-9 { width: 100%; }
body #block-initiativepourunurbanismeplusdemocratiqueageneve { display: none; }
body .region-primary-menu li.active a, body a { color: #014A03; }
body .region-primary-menu { width: 100%; }
body .region-primary-menu li.active a:hover, body .region-primary-menu a:hover { color: #008b05; }
body .region-header .brand a { padding-left: 0px; }
body .region-header .brand a.site-branding__logo { background: #014A03; width: 100px; height: 100px; top: -14px; left: -118px; border-radius: 100%; position: absolute; overflow: visible; }
body .region-header .brand a.site-branding__logo img { display: none; }
body .region-header .brand a.site-branding__logo:after { content: "Urbadem.ch"; top: 38px; left: 5px; font-size: 15px; position: absolute; color: white; /*transform: rotate(-45deg);*/ /* Legacy vendor prefixes that you probably don't need... */ /* Safari */ /*-webkit-transform: rotate(-45deg);*/ /* Firefox */ /*-moz-transform: rotate(-45deg);*/ /* IE */ /*-ms-transform: rotate(-45deg);*/ /* Opera */ /*-o-transform: rotate(-45deg);*/ }
body .region-header .site-name { margin-left: 0px; }

@media only screen and (max-width: 600px) { body, html { max-width: 100%; overflow-x: hidden; } }
a[href$='pdf'] { width: 348px; text-align: center; display: block; margin: 23px auto; color: white; padding: 5px 10px; background: #014A03; border-radius: 5px; }

a[href$='pdf']:hover { color: #014A03; padding: 5px 10px; background: white; border: 1px solid #014A03; border-radius: 5px; }

body div.view-presse a[href$='pdf'], body .node--type-blocs-presse a[href$='pdf'] { text-align: inherit; display: inline; margin: inherit; color: #014A03; padding: inherit; background: none; border-radius: 0px; }
body div.view-presse a[href$='pdf']:hover, body .node--type-blocs-presse a[href$='pdf']:hover { color: #ea504e; padding: inherit; background: none; border: 0px solid #014A03; border-radius: 0px; }

.malagnou { width: 100%; }
.malagnou img { width: 100%; height: auto; }
.malagnou figcaption { font-size: 100%; font-weight: 500; top: -6px; position: relative; }

.social-media-sharing .share img { width: 40px !important; height: 40px !important; padding: 0px; }

.addr { margin-left: 40px; padding-left: 10px; border-left: 2px solid #014A03; max-width: 80%; }

#cboxContent { font-size: 100%; }
#cboxContent .pdf_warn_wrapper { max-width: 700px; min-height: 300px; }
#cboxContent .pdf_warn_wrapper img { width: 150px; height: 150px; padding-right: 20px; }
#cboxContent .pdf_warn_wrapper .addr { margin-left: 40px; padding-left: 10px; border-left: 2px solid #014A03; max-width: 80%; }
#cboxContent .pdf_warn_wrapper .addr p { margin: 0px; }
#cboxContent .pdf_warn_wrapper a { background: #8B0000; color: white; font-size: 120%; padding: 15px 30px; text-align: center; margin: 20px auto; display: block; font-weight: 500; }

.flex-viewport { max-height: 600px; }
.flex-viewport .slides { max-height: 600px; }
.flex-viewport .slider-caption { top: 20%; left: 10%; right: auto; margin-right: -5%; margin-left: auto; max-width: 500px; }
.flex-viewport .slider-caption .more-link { display: none; }

.__path-frontpage .parallax-widget.one { background: none; background-size: cover; }

__h3 { font-size: 1.2em; }

.navbar-header { width: 70%; float: none; margin-top: 20px; }
.navbar-header img { top: -7px; }
.navbar-header .col-md-9 { width: 30%; }
.navbar-header .region-header .navbar-header:before { content: ''; height: 0px; clear: both; }
.navbar-header .region-header .logo { float: left; padding-right: 10px; }
.navbar-header .region-header .site-branding__name { font-size: 200%; overflow: visible; width: 100%; }
.navbar-header .region-header .site-branding__name a { display: block; }

@media screen and (min-width: 767px) { .region-primary-menu { background: none !important; } }
article .video-js .vjs-big-play-button { top: 45%; left: 40%; }

.webform-submission-contact-form .webform-element--title-inline label, .webform-submission-contact-form .webform-element--title-inline input { display: block; }
.webform-submission-contact-form iframe { float: right; width: 50%; }
.webform-submission-contact-form iframe.video_youtube { min-height: 300px; }
.webform-submission-contact-form .form-text, .webform-submission-contact-form #edit-email, .webform-submission-contact-form textarea { max-width: 95%; }
.webform-submission-contact-form #edit-nous-contacter { max-width: 50%; }
.webform-submission-contact-form #edit-nous-contacter legend { font-weight: bold; font-size: 120%; }
.webform-submission-contact-form #edit-adresse-urbadem, .webform-submission-contact-form #edit-contact-urbadem { margin-bottom: 10px; }
.webform-submission-contact-form #edit-adresse-urbadem p, .webform-submission-contact-form #edit-contact-urbadem p { margin-bottom: 0px; }

.forward-email-form textarea { max-width: 95%; min-height: 200px; }

.parallax-widget .parallax-region { font-size: 120%; }
.parallax-widget .parallax-region .content_layout { max-width: 950px; }
.parallax-widget .parallax-region strong { font-weight: 600; }

.parallax-widget.one { margin-top: 10px; }

#block-drupal8-parallax-theme-content br { line-break: none; }

body .parallax-widget.one { background: url(../images/urbadem/screen1.jpg) fixed !important; background-size: cover; }

body .parallax-widget.two { background: url(../images/urbadem/screen2.jpg) fixed !important; background-size: cover; }

body .parallax-widget.three { background: url(../images/urbadem/screen3.jpg) fixed !important; background-size: cover; }

body .parallax-widget.four { background: url(../images/urbadem/screen4.jpg) fixed !important; background-size: cover; }

video { max-width: 100%; }
video img { max-width: 100%; }

.paragraph--type--texte { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 2px solid; }
.paragraph--type--texte iframe { float: right; padding-left: 10px; padding-bottom: 10px; padding-top: 10px; }
.paragraph--type--texte .field--name-field-complements { display: none; }

figcaption { font-style: italic; font-size: 70%; line-height: 100%; margin-top: 0px; }

.social-media-sharing { float: right; }
.social-media-sharing img { max-width: 30px; }

article[about='/node/6'] img { padding-right: 10px; padding-bottom: 10px; }

.customanchor { top: -200px; position: relative; z-index: -1; }

#addedlegend { max-width: 100%; color: white; position: absolute; font-size: 110%; bottom: 0px; bottom: auto; top: 10px; margin: 0px; left: 0px; z-index: 1; zoom: 1.6; }
#addedlegend .bkgwarn { border-radius: 5px; filter: blur(2px); -webkit-filter: blur(2px); position: absolute; background: black; background-color: rgba(0, 0, 0, 0.5); height: 100%; width: 100%; top: 0px; z-index: 10; }
#addedlegend .textwarn { padding: 10px; z-index: 20; position: relative; display: block; width: 100%; left: 0px; top: 0px; }

#block-pdfwarning, #block-videotemplate { display: none; }

.collapse-text-deatils summary { color: #014A03; cursor: pointer; margin-bottom: 20px; }

.inline_colorbox { cursor: pointer; }

.parallax-widget .block-dons { text-align: center; }
.parallax-widget .block input, .parallax-widget .block-simplenews-subscription-block input { max-width: 100%; }

.brand.site-name { margin-bottom: 0px; font-size: 130%; }

.youtube_video { cursor: pointer; position: relative; }
.youtube_video .play_icon { background: url(../images/urbadem/play2.png); background-size: cover; width: 50px; height: 50px; top: 40%; left: 40%; position: absolute; display: block; z-index: 1; }

.navbar-header { width: 100%; }

.webform-submission-contact-form #edit-email, .webform-submission-contact-form input[type='text'], .webform-submission-contact-form textarea { max-width: 95%; }

.webform-submission-contact-form textarea { max-width: 95%; }

article img { padding: 10px; }
article .align-left img { padding-left: 0px; }
article .align-right img { padding-right: 0px; }

.youtube_video.local_video { width: 100%; }
.youtube_video.local_video img { width: 100%; height: auto; padding: 0px; margin: 0px; margin-bottom: 10px; }

#block-drupal8-parallax-theme-branding { text-align: left; }

.navbar-toggle { position: absolute; top: -14px; right: 10px; }

.path-frontpage .content_layout { padding-top: 0px; }

.parallax-widget.two .parallax-region { background: rgba(255, 255, 255, 0.85); }

.slides > li h2 { line-height: 110%; padding: 0px; }
.slides > li p, .slides > li .slider-description { padding-left: 0px; }

.region-primary-menu nav { text-align: center; }
.region-primary-menu .menu-base-theme { margin-top: 10px; display: inline-block !important; /* float: right; */ width: auto; margin: 0px auto; position: relative; background: none; overflow: hidden; }
.region-primary-menu .menu-base-theme li a, .region-primary-menu .menu-base-theme .menu-base-theme li a:hover, .region-primary-menu .menu-base-theme .menu-base-theme li a:focus, .region-primary-menu .menu-base-theme .menu-base-theme li a:active, .region-primary-menu .menu-base-theme .menu-base-theme li a.highlighted { padding: 17px 11px; padding-bottom: 10px; font-size: 1.3em; }

#width_ind { width: 100px; font-weight: bold; position: fixed; right: 0px; top: 0px; z-index: 10000; }

body header { max-width: 100%; position: relative !important; }
body header nav .container { width: auto; }
body header nav .container .region-header { margin-left: 120px; margin-left: 0px; }
body header nav .container .brand { left: -110px; left: 10px; position: relative; }
body header nav .container .brand a.site-branding__logo { left: 0px; position: relative; }

.parallax-widget.four .col-sm-6, .parallax-widget.four .block { width: 100%; }
.parallax-widget.four .block { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 3px solid; }
.parallax-widget.four .block .edit-mail-0-value--description { display: none; }

.forward-email-form .form-type-textfield label, .forward-email-form .form-type-email label { float: left; padding-right: 20px; width: 160px; }
.forward-email-form .form-type-textfield .description, .forward-email-form .form-type-email .description { display: none; }
.forward-email-form textarea { width: 100%; }

.site-branding__slogan div { display: none; }

.admin_widjet { display: none; }

.user-logged-in .admin_widjet { display: block; float: right; position: absolute; top: 0px; z-index: 100000; right: 0px; border: 5px solid green; border-radius: 3px; width: 30px; height: 30px; color: black; }

#hide_admin { right: 25px; border: 1px solid white; background: black; }

#my-video, .flexslider, .flexslider li, header { max-width: 100%; }
#my-video video, #my-video img, .flexslider video, .flexslider img, .flexslider li video, .flexslider li img, header video, header img { max-width: 100%; }

.flexslider li { max-width: 100%; }

@media screen and (min-width: 767px) { .region-primary-menu { background: none !important; } }
@media screen and (max-width: 767px) { body .region-primary-menu { display: none; width: auto; padding: 0px 10px; background: #014A03; margin-bottom: 15px; border-radius: 5px; color: white; }
  body .region-primary-menu li.active a { color: white; font-weight: 600; } }
.view-id-presse .presse-attach { margin: 0px; margin-left: 0px; vertical-align: middle; }
.view-id-presse .presse-attach article { margin: 0px; padding: 5px 0px; height: auto; }
.view-id-presse .presse-attach article:before { float: left; content: ' * ' !important; height: auto !important; width: auto !important; margin-right: 10px; }
.view-id-presse .presse-attach, .view-id-presse .presse-attach * { cursor: pointer; }
.view-id-presse .presse-attach:hover { color: #014A03; background: lightgrey; }
.view-id-presse .presse-attach *:hover { background: none; }
.view-id-presse h2 a { cursor: initial; color: #000; }
.view-id-presse h2 a:hover { cursor: initial; color: #000; }
.view-id-presse .attachment, .view-id-presse .view-content { clear: both; display: block; }
.view-id-presse .attachment { margin-bottom: 40px; }
.view-id-presse .node--type-blocs-presse.node--view-mode-teaser, .view-id-presse .node--type-blocs-presse.node--view-mode-table-des-matieres, .view-id-presse .node--type-simplenews-issue.node--view-mode-table-des-matieres { word-break: break-all; }
.view-id-presse .node--type-blocs-presse.node--view-mode-teaser::before, .view-id-presse .node--type-blocs-presse.node--view-mode-table-des-matieres::before, .view-id-presse .node--type-simplenews-issue.node--view-mode-table-des-matieres::before { content: ' '; width: 1px; height: 1px; clear: both; display: block; }
.view-id-presse .node--type-blocs-presse.node--view-mode-teaser .node__content, .view-id-presse .node--type-blocs-presse.node--view-mode-table-des-matieres .node__content, .view-id-presse .node--type-simplenews-issue.node--view-mode-table-des-matieres .node__content { margin-left: 15px; top: -3px; position: relative; font-style: italic; color: gray !important; }
.view-id-presse .node--type-blocs-presse.node--view-mode-teaser h2, .view-id-presse .node--type-blocs-presse.node--view-mode-teaser .node__content .field, .view-id-presse .node--type-blocs-presse.node--view-mode-table-des-matieres h2, .view-id-presse .node--type-blocs-presse.node--view-mode-table-des-matieres .node__content .field, .view-id-presse .node--type-simplenews-issue.node--view-mode-table-des-matieres h2, .view-id-presse .node--type-simplenews-issue.node--view-mode-table-des-matieres .node__content .field { font-size: inherit; text-transform: none; line-height: 100%; padding: 0px; margin: 0px; color: black; }
.view-id-presse .node--type-blocs-presse.node--view-mode-teaser h2, .view-id-presse .node--type-blocs-presse.node--view-mode-teaser .node__content .field, .view-id-presse .node--type-blocs-presse.node--view-mode-table-des-matieres h2, .view-id-presse .node--type-blocs-presse.node--view-mode-table-des-matieres .node__content .field, .view-id-presse .node--type-simplenews-issue.node--view-mode-table-des-matieres h2, .view-id-presse .node--type-simplenews-issue.node--view-mode-table-des-matieres .node__content .field { display: inline-block; padding-right: 5px; word-break: break-all; }
.view-id-presse .node--type-blocs-presse.node--view-mode-teaser .field--name-field-date, .view-id-presse .node--type-blocs-presse.node--view-mode-table-des-matieres .field--name-field-date, .view-id-presse .node--type-simplenews-issue.node--view-mode-table-des-matieres .field--name-field-date { font-weight: 500; }
.view-id-presse .node--type-blocs-presse.node--view-mode-teaser .field--name-field-date::before, .view-id-presse .node--type-blocs-presse.node--view-mode-table-des-matieres .field--name-field-date::before, .view-id-presse .node--type-simplenews-issue.node--view-mode-table-des-matieres .field--name-field-date::before { content: ''; }
.view-id-presse .node--type-blocs-presse.node--view-mode-teaser .field--name-field-source::before, .view-id-presse .node--type-blocs-presse.node--view-mode-table-des-matieres .field--name-field-source::before, .view-id-presse .node--type-simplenews-issue.node--view-mode-table-des-matieres .field--name-field-source::before { content: ' - '; }
.view-id-presse .node--type-blocs-presse.node--view-mode-default .field--name-field-date, .view-id-presse .node--type-blocs-presse.node--view-mode-default .field--name-field-source, .view-id-presse .node--type-blocs-presse.node--view-mode-default .field--name-field-url { margin: 0px; padding: 0px; }
.view-id-presse .node--type-blocs-presse.node--view-mode-default .field--name-body { margin-top: 20px; }
.view-id-presse .node--type-blocs-presse.node--view-mode-default .field__label { font-weight: 500; margin: 0px; padding: 0px; padding-left: 10px; margin-left: 10px; border-left: 1px solid; }
.view-id-presse .node--type-blocs-presse.node--view-mode-default .field__label::after { content: ' : '; }
.view-id-presse .node--type-blocs-presse.node--view-mode-default .field__label .field__label { padding-right: 2px; }
.view-id-presse article[about="/node/9"] li a { width: 100%; max-width: 100%; max-height: 16px; font-size: 80%; overflow: hidden; display: inline-block; }

#block-cecontenupourraitvousinteresser { display: none; }

.flexslider .covid, .main-header .covid { opacity: 0.8; position: relative; z-index: 1000; }
.flexslider .covid p, .main-header .covid p { position: absolute; font-size: 15px; left: auto; z-index: 30; padding: 10px; display: block; background: #8B0000; z-index: 100; max-width: 400px; position: absolute; font-size: 15px; transform: rotate(30deg); display: block; background: #8B0000; z-index: 100; bottom: auto; top: 110px; right: 0px; }
@media only screen and (max-width: 600px) { .flexslider .covid p, .main-header .covid p { top: 300px; } }
.flexslider .covid p a, .main-header .covid p a { background-color: transparent; color: white; font-weight: 300; font-size: 14px; line-height: 14px; }

#addedlegend, .flex-viewport .slider-caption { left: 5%; right: auto; }
