/* Fonts */

@font-face {
  font-family: 'Arial Blacks';
  src: url('Arial-Black.eot?#iefix') format('embedded-opentype'),  url('Arial-Black.woff') format('woff'), url('Arial-Black.ttf')  format('truetype'), url('Arial-Black.svg#Arial-Black') format('svg');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'ArialRoundedMTBold';
  src: url('ArialRoundedMTBold.eot?#iefix') format('embedded-opentype'),  url('ArialRoundedMTBold.woff') format('woff'), url('ArialRoundedMTBold.ttf')  format('truetype'), url('ArialRoundedMTBold.svg#ArialRoundedMTBold') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Glyphicons Halflings';
  src: url('//maanystavat.fi/sites/all/themes/maanystavat/css/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),  url('//maanystavat.fi/sites/all/themes/maanystavat/css/glyphicons-halflings-regular.woff') format('woff'), url('//maanystavat.fi/sites/all/themes/maanystavat/css/glyphicons-halflings-regular.ttf')  format('truetype'), url('//maanystavat.fi/sites/all/themes/maanystavat/css/glyphicons-halflings-regular.svg#Glyphicons Halflings') format('svg');
  font-weight: normal;
  font-style: normal;
}


/* Retina pictures */

@media only screen and (-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi) {
  .logo{
    background-image:url(assets/sprite@2x.png);
    background-size:500px 500px; /* This replicates the original standard sprite dimensions, and assumes the actual dimensions of sprite@2x.png are 1000x1000px */
  }
}

/* Typography */

.field-name-body, .field-type-text-long  {
    font-weight:300;
    font-size:15px;
}

.field-type-text-with-summary a, .field-type-text-long a,
.aside-block.note-block a, .aside-block p a,
body.cke_editable a {
    border-bottom:1px dotted #aaa;
    transition: all .2s;
}

.aside-block {
    font-weight:300;
}

.field-type-text-with-summary a:hover, .field-type-text-long a:hover, .aside-block.note-block a:hover, .aside-block p a:hover, body.cke_editable a:hover {
    border-bottom:1px dotted #222;
}
strong {
    font-weight:400;
}

h1, .h1, .view-display-id-newest_newsletter .views-field-title a {
    font-weight: 500;
    letter-spacing: -0.3px;
    line-height: 1.1;
    /*font-family: "Arial Rounded MT Bold", "ArialRoundedMTBold", "Arial Black", "Arial Blacks", arial, sans-serif;*/
    margin-top:0;
}

h2, .h2, h3, .h3 {
    margin-top:4px;
    color: #444;
    font-size: 18px;
    margin-bottom: 10px;
}

h1.page-header, .view-display-id-newest_newsletter .views-field-title a {
    margin-top:0;
}

h1, .h1 {
    font-size: 32px;
}

.view-display-id-newest_newsletter .views-field-title a {
    font-size:26px;
}

.view-display-id-newest_newsletter .views-field-title {
    margin-bottom:18px;
}

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

p + h2, p + .h2 {
    margin-top:16px;
}

h3, .h3 {
    font-size: 19px;
}

p + h3, p + .h3 {
    margin-top:16px;
}


h4, .h4 {
    color: #333333;
    font-size: 14px;
    line-height: 1.42857;
    font-weight:600 !important;
    margin-bottom:5px;
    letter-spacing:0 !important;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5 ,.h5 ,h6 ,.h6,
h1 a, .h1 a, h2 a, .h2 a, h3 a, .h3 a, h4 a, .h4 a, h5 a ,.h5 a ,h6 a ,.h6 a,
h1 strong, .h1 strong, h2 strong, .h2 strong, h3 strong, .h3 strong, h4 a, .h4 strong, h5 strong ,.h5 strong ,h6 strong ,.h6 strong,
.view-display-id-newest_newsletter .views-field-title a {
    font-family: "Merriweather", georgia, serif;
    font-weight:600;
}

a {
    color: #4a913c;
    color:#139059;
    text-decoration: none;
    font-weight:500;
}
a:hover, a:focus, a:active {
    text-decoration:none;
    color: #4a913c;
    color:#139059;
}

ul, ol {
    padding-left:20px;
}

blockquote p {
    font-size: 14px;
}

img {
    border-radius:4px;
}

.margin-right-5 {
    margin-right:5px;
}

/* Elements */

body {
    background:#035333;
    font-family: "Open sans", "Helvetica neue",helvetica,arial,sans-serif;
    color: #000;
    font-size:14px;
}

body.cke_ltr {
    background:#fff;
}

.cke_panel_listItem {
    background:#fff;
}

body.cke_editable {
    background:#fff;
    font-weight:300;
}

body.print-version {
    background:#fff !important;
    font-family:"times new roman", serif !important;
    width:640px;
    margin: 20px auto;
}

body.print-version h1,
body.print-version h2,
body.print-version h3,
body.print-version h4,
body.print-version h5,
body.print-version h6,
body.print-version .h1,
body.print-version .h2,
body.print-version .h3,
body.print-version .h4,
body.print-version .h5,
body.print-version .h6 {
    font-family:"times new roman", serif !important;
    font-weight:bold;
}

body.print-version .print-area {
    font-size:16px;
}
.page-main_image {
    margin-bottom:20px;
}

.region-content img,
.page-main_image img,
.aside-block img {
    max-width: 100%;
    border-radius:4px;
    height: auto;
}

p {
    margin: 0 0 14px;
}

.glyphicon {
    font-family: "Glyphicons Halflings" !important;
}

.main-container-wrapper {
    background:#fff;
    padding-bottom:50px;
}

.media_embed, .node iframe {
    max-width: 100% !important;
    width:100% !important;
    border:none;
}

.page-node-240 iframe {
    height:850px;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    border-color: #ccc #ccc transparent;
}

.nav-tabs {
    border-bottom: 1px solid #ccc;
    font-family: roboto,"Open Sans", "helvetica neue", helvetica, arial, sans-serif;
}

.nav, .btn, label, .block-uc-cart, .pagination, .badge {
    font-family: roboto,"Open Sans", "helvetica neue", helvetica, arial, sans-serif;
}

.ucCollapseBlock-processed {
    cursor:default;
}

/* Layout */

:focus {
  outline: none !important;
}

::-moz-focus-inner {
  border: 0 !important;
}

html {
}

.fullwidth {
    clear:both;
}
/* Header */

header {
    padding-bottom:30px;
    background:#fff;
}

.slogan {
    display:none;
    clear: right;
    color: #a62a00;
    float: left;
    font-family: "Nothing You Could Do",cursive;
    font-size: 16px;
    font-weight: 500;
    height: 120px;
    text-align: center;
    width: 390px;
    font-weight:bold;
}

.slogan-content {
    margin-top:40px;
}

header .form-search .btn-default,
.search-form .btn-default {
    background-color: #337ab7;
    border-color: #2e6da4;
    color: #fff;
}

header .form-search .btn-default.active,
header .form-search .btn-default.focus,
header .form-search .btn-default:active,
header .form-search .btn-default:focus,
header .form-search .btn-default:hover,

.search-form .btn-default.active,
.search-form .btn-default.focus,
.search-form .btn-default:active,
.search-form .btn-default:focus,
.search-form .btn-default:hover {
    background-color: #286090;
    border-color: #204d74;
    color: #fff;
}

header .languages {
    bottom: 10px;
    font-size: 12px;
    position: absolute;
    right: 20px;
    font-family: roboto, "Open Sans", "helvetica neue", helvetica, arial, sans-serif;
}

header .languages a {
    color:#666;
    margin-left:10px;
}
.search-form button.btn,
.form-search button.btn {
    font-size:0px;
    color:#337ab7;
}
.search-form button.btn:before,
.form-search button.btn:before {
    content: "";
    font-size:14px;
    color:#fff;
}

.search-form button.btn,
.form-search button.btn {
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-family: "Glyphicons Halflings";
    font-style: normal;
}

/* Logo */

.navbar-aboveheader {
    clear: both;
    height: 90px;
    margin-top:30px;
    float:left;
}

.region-navigation {
    float:right;
    margin-top: 45px;
    max-width: 200px;
}

#logo a {
    background:url("../images/logo.jpg") no-repeat scroll 0 0 / auto 100% rgba(0, 0, 0, 0);
    display: block;
    float: left;
    font-size: 17.5px;
    line-height: 29px;
    padding-bottom: 2px;
    padding-left: 75px;
    padding-top: 5px;
    white-space: nowrap;
}



#logo a:hover,
#logo a:focus {
    text-decoration:none;
}

#logo a span {
    font-family: "Arial Black", "Arial Blacks",arial,sans-serif;
    color:#111;
    display:block;
}
#logo a span:first-child {
    font-size:36px;
}

/* Mobile navbar */



#navbar-mobile .form-search {
    float: right;
    width: 180px;
    margin: 7px 9px 0;
}

#navbar-mobile .form-search .form-text {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

#navbar-mobile .form-search button {
    color: #fff;
    background: transparent;
    border-color: #fff;
}

#navbar-mobile *::-webkit-input-placeholder {
    color: #fff;
}
#navbar-mobile *:-moz-placeholder {
    /* FF 4-18 */
    color: #fff;
}
#navbar-mobile *::-moz-placeholder {
    /* FF 19+ */
    color: #fff;
}
#navbar-mobile *:-ms-input-placeholder {
    /* IE 10+ */
    color: #fff;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-default .navbar-toggle {
    border-color: #fff;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: rgba(255, 255, 255, 0.2);
}

#navbar-mobile {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
}
.navbar-toggle {
    margin-left:10px;
    float:left;
}
/* Normal navbar */

.navbar-collapse.in {
    overflow:visible;
}

.navbar-default {
    background-color: #00ab67;
    border-color: transparent;
    color:#fff;
    border:none;
}

.navbar-collapse {
    padding:0;
}

.navbar {
    border-radius: 0;
    margin-bottom:0;
    font-family: roboto, arial, sans-serif;
}

.navbar .caret {
    display:none;
}

.navbar-default .navbar-nav > li > a {
    color: #fff;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    background-color: #035333;
    color: #fff;
}



.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
    background-color: #035333;
    color: #fff;
}

.navbar-collapse {
    position:relative;
}



header  > .container {
    position: relative;
}

header .nav > li.active-trail .dropdown-menu {
    display:block;
}

.below-navbar {
    height:40px;
    background:#f1f3f2;
}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus,
.dropdown-menu > .active-trail > a, .dropdown-menu > .active-trail > a:hover, .dropdown-menu > .active-trail > a:focus {
    background-color:transparent; !important;
    color: #111 !important;
}

.footer .dropdown-menu > .active > a, .footer .dropdown-menu > .active > a:hover, .footer .dropdown-menu > .active > a:focus,
.footer .dropdown-menu > .active-trail > a, .footer .dropdown-menu > .active-trail > a:hover, .footer .dropdown-menu > .active-trail > a:focus {
    background-color:transparent; !important;
    color: #fff !important;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    background-color: transparent;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
    background-color: #035333;
    color: #fff;
}

/* Content area */

.alert > p, .alert > ul {
    margin-bottom: 0;
    padding: 0 0 0 15px;
}

.page-header {
    border-bottom: medium none;
    padding-bottom: 0;
}

.page-subheader span {
    color: #758a83;
    /*font-family: "Arial Rounded MT Bold","ArialRoundedMTBold","Arial Black","Arial Blacks",arial,sans-serif;*/
    font-size: 15px;
    margin: 0 5px;
}

.page-subheader span.separator {
    margin: 0 1px;
}

.page-subheader {
    margin: -10px 0 15px -5px;
}

p.main_image-caption {
    color: #666;
    font-size: 12px;
    margin: -10px 0 15px;
    padding: 0;
    font-family: roboto,"Open Sans", "helvetica neue", helvetica, arial, sans-serif;

}

 .img-caption {
    color: #666;
    font-size: 12px;
    margin: -10px 0 15px;
    padding: 15px 0 0;
    font-family: roboto,"Open Sans", "helvetica neue", helvetica, arial, sans-serif;
}

.img-caption em {
    font-style:normal;
    color:#111 !important;
}

.region-content {
    padding-bottom:25px;
    clear: both;
}

.region-content + .content-author {
    margin-top:-5px;
}

.fb-like, .twitter-share-button {
    float: left;
    width: 160px;
}

.fb-share-button {
    margin-left:20px;
}

/* News content type */

.print-title {
    cursor: pointer;
    display: inline-block;
    position: relative;
}

.print-title a {
    display: block;
    left: 0;
    position: absolute;
    text-indent: -9999px;
    top: 0;
    width: 15px;
}

.node-type-news .type-title {
    color: #a62a00;
}

.node-type-news .tiedote-title {
    color: #a62a00;
}

.node-type-news .group-title a {
    color:#035333;
}



/* Activity content type */

.node-type-activity .activity-views {
        border-top: 1px solid #ccc;
        padding-top:20px;
}

.facebook-activity {
    font-size:12px;
    color:#666;
    border: 1px solid #ccc;
    border-radius: 2px;
    padding: 10px 14px 14px;
}

.facebook-activity img {
    float:left;
    margin:0 10px 10px 0;
    max-width:30px;
}

.facebook-activity .fb-like {
    clear:both;
    margin-top:10px;
    max-width:100%;
    float:none;
}

.facebook-activity-title {
    font-size:13px;
    color:#333;
    font-weight: bold;
    margin-bottom:10px;
}

.facebook-activity-title a {
    color:#3b5998;
}

.activity-views h3,
h3.activity-subtitle {
    color: #444;
    /*font-family: "Arial Black", "Arial Blacks", arial, sans-serif;*/
    font-size: 20px;
    margin-bottom: 18px;
}



/* Event content type */

.node-type-event .type-title,
.node-type-event .date-title,
.node-type-event .date-title .glyphicon-time::before {
    color: #337ab7;
}

.node-type-event .date-title {
    margin-left:0;
}

.node-type-event .group-title a {
    color:#035333;
}

/* Webform content type */

.webform-client-form  {
    padding-top:20px;
}

.webform-component {
    padding-bottom:10px;
}

.webform-component .description {
    background: none repeat scroll 0 0 #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 5px;
    clear: both;
    display: inline-block;
    margin: 10px 0;
    padding: 10px;
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #31708f;

}

.form-text {
    max-width: 400px;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555555;
    display: block;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
}

#search-form .form-text {
    max-width:none;
}

select {
    max-width:400px !important;
}


.webform-component-fieldset {
    margin-top:10px;
     max-width: 560px;
}

.form-email {
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555555;
    display: block;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
    width: 100%;
}

.radio.error, .checkbox.error {
    padding:10px 30px;
}

.help-block, .control-group .help-inline {
    font-size:13px;
}

/* Sidebar */

aside {
    margin-top:10px;
}

aside h3 {
    color:#444 !important;
    margin-bottom:14px !important;
}

.aside-block, aside .block {
    margin-bottom:24px;
}

.aside-block.note-block {
    border: 1px solid #337ab7;
    border-radius: 2px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    padding: 12px;
    margin-bottom:30px;
    font-weight:300;
}
.page-node-40 .aside-block.note-block {
    border:1px solid #a69700;
}
.page-node-16 .aside-block.note-block {
  border:1px solid #a62a00;
}
.node-type-simplenews .aside-block.note-block {
    border: 1px solid #035333;
    font-size:13px;
}
aside h1, aside .h1,
aside h2, aside .h2,
aside h3, aside .h3,
aside h4, aside .h4,
aside h5, aside .h5 {
    /*font-family:"Arial Black", "Arial Blacks", arial, sans-serif;*/
}

aside h1.block-title,
aside h2.block-title,
aside h3.block-title {
    font-size: 20px;
}

/* Views */

.views-row {
    margin-bottom:10px;
}

.view-footer a {
    color:#555;
            font-family: roboto,"Open Sans", "helvetica neue", helvetica, arial, sans-serif !important;
        font-weight:normal !important;
}

/* Front page */

.front h2 {
    margin-bottom:16px;
}

.front .views-row {
    border-bottom: 1px solid #ccc;
    margin-bottom: 13px;
    padding-bottom: 13px;
}

.front .date, .front .tiedote, .front .group {
        font-family: roboto,"Open Sans", "helvetica neue", helvetica, arial, sans-serif;
        font-weight:normal;
}

.front .view-empty {
    margin-bottom:10px;
}

.carousel-indicators .active,
.carousel-indicators li {
    width:16px;
    height:16px;
    margin:1px;
}

.carousel-caption {
    background:rgba(0,0,0,.3);
    font-family: "Merriweather", georgia, serif;
    font-size: 40px;
    letter-spacing: 0.5px;
    line-height: 40px;
    margin-bottom: 7%;
    text-shadow: none;
     text-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
     box-shadow:0 0 3px rgba(0, 0, 0, 0.2)
}

.carousel-caption a {
    text-decoration:none;
}

.front aside {
    margin-top:0;
}

.front section {
    margin-bottom:30px;
}

#carousel-bootstrap {
    margin-bottom:30px;
}

.front .field-name-field-buttons .field-label {
    display:none;
}

.field-name-field-buttons > div,
.field-name-field-buttons > div > div {
    overflow:hidden;
}

p.buttonParagraph:nth-child(even) a {
    /*background:#00995c;*/
}

p.buttonParagraph {
    background: #00ab67 none repeat scroll 0 0;
    border-radius: 10px;
    box-shadow: 0 5px #139059;
    font-family: "Arial Rounded MT Bold","ArialRoundedMTBold","Arial Black","Arial Blacks",arial,sans-serif;
    font-size: 16px;
    letter-spacing: 0.5px;
    margin: 0 30px 12px;
    max-width: 295px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    position:relative;
}

p.buttonParagraph a, p.buttonParagraph a:hover {
    border:none !important;
}

p.buttonParagraph.yellow {
    background:#a69700;
    box-shadow: 0 5px  #8c8018;
}
p.buttonParagraph.red {
    background:#a62a00;
    box-shadow: 0 5px  #88230b;
}
p.buttonParagraph.blue {
    background:#337ab7;
    box-shadow: 0 5px  #2f689a;
}

p.buttonParagraph > * {
    text-decoration: none;
    display: block;
    padding: 18px;
    color: #fff;
}

aside p.buttonParagraph {
    font-size: 17px;
    margin: 0 0 8px;
}

p.buttonParagraph:hover {
    /*box-shadow: 0 0 300px rgba(0, 0, 0, 0.1) inset;*/
}

/* Front: news, events views */

.front .view .image a {
    display:inline-block;
}

.separator {
    color: #000 !important;
    font-family: courier,sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.view-id-news.view-display-id-front span.date {
    color: #666;
    font-size: 13px;
    white-space: nowrap;
}

.view-id-news.view-display-id-front span.body {
    color: #222;
    display: block;
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 6px;
    margin-top: 8px;
}

.view-id-news.view-display-id-front span.tiedote {
    color: #a62a00;
    font-size: 13px;
}

.view-id-news.view-display-id-front .views-row.views-row-odd {
    clear:both;
}

.view-id-news.view-display-id-front span.image,
.view-id-events.view-display-id-front span.image {
    display: block;
    margin-bottom: 10px;
    margin-top: 10px;
}

.view-id-news.view-display-id-front span.title,
.front .title {
    display:block;
}

.view-id-news.view-display-id-front span.title a,
.view-id-events.view-display-id-front span.title a,
.front .view-id-aggregate .views-field-title a,
.view-display-id-list .title a {
    font-family:merriweather, georgia,serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 22px;
}

.view-display-id-past_sidebar .field-content  a,
.view-display-id-tiedotteet .field-content  a,
.list-group.media_attachments a,
.view-display-id-tiedotteet_medialle a,
.view-display-id-10newest a {
    font-family:merriweather, georgia,serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.view-id-news.view-display-id-front .col-md-6 {
    margin-bottom:25px;
}

.view-id-news.view-display-id-front .glyphicon {
    margin-right:4px;
}

.view-id-events.view-display-id-front span.date,
.view-id-events.view-display-id-front span.city,
.view-id-events.view-display-id-front span.group,
.view-id-news.view-display-id-front span.group {
    font-size:13px;
    white-space:nowrap;
}


.view-id-events.view-display-id-front span.date {
    color:#337ab7;
}


.view-id-events.view-display-id-front span.group .separator,
.view-id-news.view-display-id-front span.group .separator {
    color:#666;
}
.view-id-events.view-display-id-front span.group a,
.view-id-news.view-display-id-front span.group a {
    color:#035333;
}

.view-id-events.view-display-id-front .glyphicon {
    margin-right:5px;
}

.front .view + a,
.node .view + a {
    color:#555;
    font-family: roboto,"Open Sans", "helvetica neue", helvetica, arial, sans-serif;
}

.view-id-events .views-row,
.view-id-news .views-row {
    border-bottom: 1px solid #ccc;
    margin-bottom: 13px;
    padding-bottom: 13px;
}

.view-id-events .views-row-last,
.view-id-news .views-row-last {
    margin-bottom:0;
    border-bottom:0;
}

.front .date-display-range {
    display:inline-block;
}

/* Front: event views */

section.front-events {
    margin-bottom:25px;
}

/* Views: aside */

aside .view-news .views-field-created,
.view-display-id-10newest .views-row > span {
    font-size:13px;
    color:#666;
    font-family: roboto,"Open Sans", "helvetica neue", helvetica, arial, sans-serif;
    font-weight:normal;
}

aside .view-id-events .date {
    font-size:13px;
    font-weight:500;
    font-family: roboto,"Open Sans","helvetica neue",helvetica,arial,sans-serif;
}

/* Views: general lists */

.metainfo, .page-subheader {
    font-family: roboto,"Open Sans","helvetica neue",helvetica,arial,sans-serif;
    font-weight: normal;
}

*[class*="view-display-id-list"] .image {
    float: left;
    margin-right: 20px;
}

*[class*="view-display-id-list"] .title {
    display:block;
    font-size:15px;
    /*font-family:"Arial Rounded MT Bold","ArialRoundedMTBold","Arial Black","Arial Blacks",arial,sans-serif;*/
}

*[class*="view-display-id-list"] .body {
    color: #222;
    display: block;
    font-size: 14px;
    font-weight: 300;
    margin-top:6px;
}

*[class*="view-display-id-list"] .tiedote,
*[class*="view-display-id-list"] .group a {
    color:#035333;
}
.view-news .tiedote {
    color: #a62a00 !important;
}


*[class*="view-display-id-list"] .tiedote span {
    color:#666;
}

.view-id-events .date,
.view-id-events .date * {
    color: #337ab7;
}

.view-id-events .date {
    white-space:nowrap;
}


.view-id-events .city {
    margin-right:4px;
}

.view-id-aggregate .views-field-nothing a {
    color:#a69700;
}

.view-id-events .date > span {
    /*margin-right:5px;*/
}
.view-id-events .date > span:empty {
    margin-right:0;
}
.view-id-events .date > span.glyphicon {
    margin-right:5px;
}

.view-display-id-past_sidebar .date > span.glyphicon {
    margin-right:2px;
}
.view-id-events .date > span:last-child {
    margin-right:0;
}

*[class*="view-display-id-list"] span {
    font-size:13px;
    color:#666;
    font-weight:500;
}

*[class*="view-display-id-list"] .views-content {
    margin-left:200px;
}

*[class*="view-display-id-list"] .image:empty + .views-content {
    margin-left:0;
}

*[class*="view-display-id-list"] .views-row {
    clear: both;
    overflow: auto;
    padding-bottom:20px;
    margin-bottom:20px;
    border-bottom:1px solid #ccc;
}

*[class*="view-display-id-list"] .views-row-last {
    border-bottom:0;
    margin-bottom:0;
}

/* Blog Aggregator */

 .view-id-aggregate .views-field-nothing {
    color: #666;
    font-size: 13px;
    font-weight: normal;
    font-family: roboto,"Open Sans", "helvetica neue", helvetica, arial, sans-serif;
}

.front .view-id-aggregate .views-field-nothing a {
    color: #a69700;
}

.front .view-id-aggregate .views-field-description {
    display: block;
    display:none;
    font-size: 14px;
    margin-bottom: 6px;
    margin-top: 8px;
    color: #666;
}

.front .view-id-aggregate .views-row {
    margin-bottom:16px;

}

.front .view-id-aggregate .views-row-last {
    border-bottom: 0 none;
    margin-bottom: 0;
}

/* Footer */

footer.footer {
    background:#3e3e3e;
    border:none;
    box-shadow:0 6px 10px -6px rgba(0, 0, 0, 0.5) inset;
    padding-bottom: 50px;
    padding-top: 50px;
    margin-top:0;
}
footer.footer2 {
    background:#035333;
    color:#fff;
    font-family: roboto,"Open Sans", "helvetica neue", helvetica, arial, sans-serif;
}

footer.footer2 p {
    font-size: 12px;
    padding: 30px 0;
    text-align:center;
}
footer.footer2 p span {
    font-size: 12px;
    margin: 0 3px 0 6px;
    position: relative;
    top: 1px;
}

footer.footer a {
    color:#f0f0f0 !important;
    display:inline-block !important;
    padding-top:2px !important;
    padding-bottom:2px !important;

}

footer.footer .navbar-nav > li > a {
    padding-bottom:0px;
}

footer.footer a:focus,
footer.footer a:hover,
footer.footer a:active {
    background:transparent !important;
    text-decoration:underline !important;
}

footer.footer .caret {
    display:none;
}

footer .dropdown-menu {
    background-clip: padding-box;
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: block;
    clear:both;
    float:none;
    font-size: 12px;
    left: 0;
    list-style: outside none none;
    margin: 2px 0 0;
    min-width: 120px;
    padding: 5px 0;
    position: relative;
    z-index: 1000;
}

footer .footer-span {
    white-space:nowrap;
}


/* Views: news archive */

.view-news.view-display-id-archive .views-field-created {
    color: #777;
    font-size: 12px;
}

.view-news.view-display-id-archive .views-row {
    margin-bottom: 20px;
}

.view-news.view-display-id-archive .views-field-title {
    /*font-family: "Arial Rounded MT Bold","ArialRoundedMTBold","Arial Black","Arial Blacks",arial,sans-serif;*/
    font-size: 15px;
    font-weight: 600;
}

/* Views: grid */

.view-view-grid {
    margin-top:20px;
}

.view-view-grid h3 {
    /*font-family: "arial black", arial, sans-serif;*/
    color:#444;
    clear:both;
    display:block;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom:22px;
    padding-top:10px;

}
.view-view-grid h3 a {
    color:#444;
}

.grid-item {
    margin-bottom:20px;
    position:relative;
    font-family: roboto,"Open Sans", "helvetica neue", helvetica, arial, sans-serif;
}

.grid-item > a:first-child {
    border-radius: 2px;
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
    bottom: 0;
    color: #fff;
    /*font-family: "Arial Rounded MT Bold","ArialRoundedMTBold","Arial Black","Arial Blacks",arial,sans-serif;*/
    font-size: 16px;
    height: auto;
    max-width: 293px;
    padding: 8px 14px;
    position: absolute;
    text-align: center;
    z-index: 5;
}

.grid-item > a {
    display: block;
    height: 195px;
    width: 100%;
}

.grid-item img {
    position:absolute;
    max-width:100%;
}

.view-view-grid .grid-description {
    display:none;
}

.view-view-grid .views-row-1 .grid-description {
    display:block;
    margin-top:10px;
    margin-bottom:30px;
}

aside #block-block-1 {
    /*font-family: "Arial Rounded MT Bold","ArialRoundedMTBold","Arial Black","Arial Blacks",arial,sans-serif;*/
    font-size: 15px;
    line-height: 12px;
    margin-top: 10px;
}

/* Views: Search */

.page-search ol {
    list-style: outside none none;
    margin: 20px 0 0;
    padding: 0;
}

.page-search li.search-result {
    padding-bottom:15px;
}

.page-search .search-info {
    display:none;
}

/* Content types: Blog */

.content-author {
    margin-top:20px;
    margin-bottom:5px;
}

.node-type-blog .type-title {
    color: #a69700;
}


/* Attachments */

.attachments {
    /*border-top: 1px solid #DDDDDD;
    box-shadow: 0 -33px 46px -50px rgba(0, 0, 0, 0.2);*/
    margin-top: 20px;
    max-width:560px;
}

.attachments li, .attachments ul {
    margin:0;
    padding:0;
    list-style:none;
}

.attachments li {
    margin-bottom: 10px;
    margin-left: 23px;
    position: relative;
    word-wrap: break-word;
}

.attachments li a {
    margin-right:5px;
    font-weight:600;
    text-indent:-23px;
    font-family: merriweather, georgia, serif;
}

.attachments .fileType {
    background-repeat:no-repeat;
    display: block;
    float: left;
    height: 16px;
    margin-right: 10px;
    position: relative;
    top: 4px;
    width: 16px;
}
.attachments .fileSize {
    clear: both;
    display: block;
    font-family: roboto, "Open sans", "Helvetica neue", helvetica, arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.attachments .glyphicon {
    color: #555;
    font-size: 15px;
    margin-right: 5px;
    position: absolute;
    top: 3px;
}

.attachments .fileType {
    background-image:url(../images/fileicons/file.png);
}
.attachments .fileType[class*="application"] {
    background-image:url(../images/fileicons/file.png);
}
.attachments .fileType[class*="pdf"] {
    background-image:url(../images/fileicons/pdf.png);
}
.attachments .fileType[class*="doc"] {
    background-image:url(../images/fileicons/doc.png);
}
.attachments .fileType[class*="txt"] {
    background-image:url(../images/fileicons/txt.png);
}
.attachments .fileType[class*="zip"] {
    background-image:url(../images/fileicons/zip.png);
}
.attachments .fileType[class*="img"] {
    background-image:url(../images/fileicons/img.png);
}
.attachments .fileType[class*="jpeg"] {
    background-image:url(../images/fileicons/jpeg.png);
}
.attachments .fileType[class*="jpg"] {
    background-image:url(../images/fileicons/jpg.png);
}
.attachments .fileType[class*="mp3"] {
    background-image:url(../images/fileicons/mp3.png);
}
.attachments .fileType[class*="xml"] {
    background-image:url(../images/fileicons/xml.png);
}
.attachments .fileType[class*="xls"] {
    background-image:url(../images/fileicons/xls.png);
}

/* ---------- STORE ---------- */


/* Store: Pickups */
.product-pickups {
    margin-left:-10px;
    margin-top:-20px;
}
.product-pickups .grid-item img {
    height:auto;
}

.product-pickups .grid-item > a {
    display: block;
    height: 155px;
    width: 100%;
}

.product-pickups .grid-item > a:first-child {
    background: rgba(255, 255, 255, 0.8) none repeat scroll 0 0;
    bottom: 0;
    color: #333;
    /*font-family: "Arial Rounded MT Bold","ArialRoundedMTBold","Arial Black","Arial Blacks",arial,sans-serif;*/
    font-size: 14px;
    height: auto;
    max-width: 199px;
    padding: 8px 14px;
    position: absolute;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
    transition: all 0.1s ease 0s;
    z-index: 5;
}

/* Store: Product */

.term-listing-heading {
    margin-bottom:30px;
}
 .node-product .field-name-body,
.node-donation .field-name-body {
    margin-top: 20px;
}

.page-taxonomy-term .node-product h2,
.page-taxonomy-term .node-donation h2 {
    font-size:18px;
    margin-bottom: 20px;
}

.field.field-name-uc-product-image .field-item .product-image {
    margin-left: 0;
    padding-left: 0;
    padding-top: 0;
    width:250px;
    text-align:center;
    float:left;
}

.page-taxonomy-term .node-product .links a:before,
.page-taxonomy-term .node-donation .links a:before {
    content: "";
    display:inline-block;
    font-family: "Glyphicons Halflings";
    margin-right:5px;
    position:relative;
    top:1px;
}

.page-taxonomy-term .views-row {
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.page-taxonomy-term .view-view-grid  .views-row {
    border-bottom: none;
    margin-bottom: 10px;
    padding-bottom: 0;
}

.node-product:last-child,
 .node-donation:last-child {
    border-bottom:none;
}


 .node-product .display-price,
 .node-donation .display-price {
    position:absolute;
    top:0;
    right:0;
}

.node-product .content,
.node-donation .content {
    position:relative;
}

.node-product .field.field-name-uc-product-image .field-item,
.node-donation .field.field-name-uc-product-image .field-item {
    margin-bottom: 0px;
}

.node-product .node-readmore,
 .node-donation .node-readmore {
    margin-top:10px;
    font-family: roboto,"Open Sans", "helvetica neue", helvetica, arial, sans-serif;
}

.node-product .add-to-cart .checkbox,
.node-donation .add-to-cart .checkbox {
    padding-left:0;
}

.add-to-cart .form-actions {
    clear:none;
}

.field.field-name-uc-product-image img {
    margin-bottom:10px;
}

.more-product-images img {
    margin-right:3px;
}

.node-product .add-to-cart,
.node-donation .add-to-cart {
    margin-left:270px;
}

.node-product .field-name-body,
.node-donation .field-name-body {
    margin-left:270px;
}

.node-product .links,
.node-donation .links  {
    float:right;
}

.node-product select,
.node-donation select {
    width:150px;

}

.form-item-varprice  input {
    width:100px;
    display:inline-block;
    margin-right:5px;
}

.form-item-varprice label {
    display:block;
}

.add-to-cart .attribute .form-checkbox {
    margin-left: 0;
    margin-right: 5px;
}

.page-taxonomy-term .views-row.views-row-last {
    border-bottom:none;
}

#uc-cart-view-form img {
    height:auto;
}

.field-name-uc-product-image .field-items:empty:after {
     -moz-osx-font-smoothing: grayscale;
    color: #ddd;
    content: "";
    display: inline-block;
    float: left;
    font-family: "Glyphicons Halflings";
    font-size: 90px;
    font-style: normal;
    font-weight: 400;
    height: 250px;
    line-height: 140px;
    position: relative;
    text-align: center;
    top: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    width: 250px;
}

.node-donation .field-name-uc-product-image .field-items:empty:after,
.node-type-donation .field-name-uc-product-image .field-items:empty:after {
    content: "";
}

.field-name-field-sold-out {
    display:none;
}

/* Store: Cart view */

.uc-cart-checkout-form {
    max-width:678px;
}

#uc-cart-view-form #edit-update {
    margin-left:10px;
}

#edit-checkout--2,
#edit-continue,
#edit-submit {
    background-color: #5cb85c;
    border-color: #4cae4c;
    color: #fff;
}
#edit-checkout--2.active, #edit-checkout--2.focus, #edit-checkout--2:active, #edit-checkout--2:focus, #edit-checkout--2:hover,
#edit-continue.active, #edit-continue.focus, #edit-continue:active, #edit-continue:focus, #edit-continue:hover,
#edit-submit.active, #edit-submit.focus, #edit-submit:active, #edit-submit:focus, #edit-submit:hover {
    background-color: #449d44;
    border-color: #398439;
    color: #fff;
}

#edit-update {
    background-color: #337ab7;
    border-color: #2e6da4;
    color: #fff;
}
#edit-update.active, #edit-update.focus, #edit-update:active, #edit-update:focus, #edit-update:hover {
    background-color: #286090;
    border-color: #204d74;
    color: #fff;
}

#edit-cancel,
#edit-back {
    background-color: #f0ad4e;
    border-color: #eea236;
    color: #fff;
}
#edit-cancel.active, #edit-cancel.focus, #edit-cancel:active, #edit-cancel:focus, #edit-cancel:hover,
#edit-back.active, #edit-back.focus, #edit-back:active, #edit-back:focus, #edit-back:hover {
    background-color: #ec971f;
    border-color: #d58512;
    color: #fff;
}

/* Store: Out of stock */

.uc_out_of_stock_throbbing {
    display:none;
}

.uc_out_of_stock_html {
    color:#777;
    font-size:12px;
}

/* Store: Checkout */

.uc-store-address-field .form-item label {
    text-align:left;
}

/* Store: Checkout review */

#review-instructions {
    max-width:678px;
    padding-bottom:20px;
}
.order-review-table {
    font-size: 14px;
    line-height: 1em;
    margin: auto;
    width: auto;

    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    float:left;
    width: 100%;
}

.order-review-table td {
    padding:10px;
}

.order-review-table .pane-title-row,
.order-review-table .review-button-row {
    border:1px solid #ccc;
    background-color: #f5f5f5;
}

/* Store: Sidebar: Cart block */

aside section.block.block-uc-cart {
    margin-bottom:30px;
}

aside .cart-block-items.collapsed {
    display: block !important;
}

aside .block-uc-cart h2 {

}

aside .cart-block-icon-full,
aside .cart-block-icon-empty {
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-family: "Glyphicons Halflings";
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    position: relative;
    background:none;
    margin-right:10px;

}

aside .cart-block-icon-full:before,
aside .cart-block-icon-empty:before {
    content: "";
    display:block;
}

aside .cart-block-arrow {
    display:none;
}

aside .uc-cart-empty + table {
    display:none;
}

aside .block-uc-cart table {
    margin-bottom:10px;
}

aside .block-uc-cart table:last-child {
    margin-bottom:0;
}

aside .block-uc-cart {
    background: none repeat scroll 0 0 #f1f3f2;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    padding: 10px;
    font-size:13px;
}

aside .block-uc-cart h2 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px;
}

aside .cart-block-summary {
    display: block;
    padding-top: 8px;
}

aside .cart-block-summary-links ul {
    margin:5px 0 5px -8px;
    padding:0;
}

aside .cart-block-item-desc ul.product-description {
    padding-left:2em;
}

/* Store: Sidebar: Category menu */

.product-categories .nav > li > a {
    /*font-family: "Arial Rounded MT Bold","ArialRoundedMTBold","Arial Black","Arial Blacks",arial,sans-serif;*/
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    padding: 0 0 5px;
}

.product-categories .nav > li > a:hover, .product-categories .nav  > li > a:focus {
    background-color: transparent;
    text-decoration: underline;
}

.product-categories .nav > li > a:hover {
    background:transparent;
    text-decoration:underline;
}

.product-categories .nav > li.active a {
    color: #035333;
}


/* Files */

.view-files.view-display-id-recent * {
    word-wrap:break-word;
}

.view-files.view-display-id-recent .date {
    color: #666;
    font-size: 13px;
    font-weight: 500;
    font-family: roboto,"Open Sans","helvetica neue",helvetica,arial,sans-serif;
}
.view-files.view-display-id-recent .description {
    display: block;
    margin-top: 6px;
}

.media_attachments.list-group .description,
.media_attachments.list-group .small {
    font-weight:300;
    color:#222;
}


/* Captcha */

.captcha {
    margin-bottom:20px;
}

/* Contact */

.contact_section  {
    border-top: 1px solid #ccc;
    padding-top: 20px;
}

.contact_section .view-content > h3 {
    color: #444;
    /*font-family: "arial black",arial,sans-serif;*/
    font-size: 22px;
    margin-bottom: 18px;
}
.contact_section .view-content > h3 a {
    color:#444;
}


.contact_section .view-content .field-content > div > h3 {
    font-weight: 500;
    letter-spacing: -0.3px;
    line-height: 1.1;
    /*font-family: "Arial Rounded MT Bold", "ArialRoundedMTBold", "Arial Black", "Arial Blacks", arial, sans-serif;*/
    margin-top:0;
}

.contact_section .views-row-last {
border-bottom: 1px solid #ccc !important;
    margin-bottom: 20px !important;

    }

.contact_section h3.subtitle {
    color: #444;
    /*font-family: "arial black",arial,sans-serif;*/
    font-size: 24px;
    margin-bottom: 18px;
}

.view-contact.view-display-id-anchors a {
        /*font-family: "Arial Rounded MT Bold", "ArialRoundedMTBold", "Arial Black", "Arial Blacks", arial, sans-serif;*/
        font-size:14px;
}

.view-contact.view-display-id-anchors h3 a {
    pointer-events: none;
    cursor: default;
    color: #333333;
    font-size: 16px;
    line-height: 1.42857;
    font-weight:600 !important;
    margin-bottom:0;
    letter-spacing:0 !important;
}
.view-contact.view-display-id-anchors h3 {
    margin-bottom:10px !important;
}


/* Misc overrides */

body div.error, body table tr.error {
    background:transparent;
}

.node-unpublished {
    border:1px dashed pink;
}

.page-file h1 {
    display:none;
}


div[id*="file"] h2 {
    display:none;
}


/* Consent */
#sliding-popup {
    padding: 10px;
    background: rgba(0,0,0,.75);
    color: #fff !important;
    width:100%;
    padding:30px;
}

#sliding-popup .popup-content #popup-text h1, #sliding-popup .popup-content #popup-text h2, #sliding-popup .popup-content #popup-text h3, #sliding-popup .popup-content #popup-text p, .eu-cookie-withdraw-tab {
    color: #fff !important;
}

.decline-button {
    display:none !important;
}

#sliding-popup button {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.428571429;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
       -o-user-select: none;
          user-select: none;
}

#sliding-popup button:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

#sliding-popup button:hover,
#sliding-popup button:focus {
  color: #333333;
  text-decoration: none;
}

#sliding-popup button:active,
#sliding-popup button.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

#sliding-popup button {
  color: #333333;
  background-color: #ffffff;
  border-color: #cccccc;
}

#sliding-popup button:hover,
#sliding-popup button:focus,
#sliding-popup button:active,
#sliding-popup button.active {
  color: #333333;
  background-color: #ebebeb;
  border-color: #adadad;
}

#sliding-popup button:active,
#sliding-popup button.active {
  background-image: none;
}

