/*
 * Links and buttons
 *
 */

@import "pallette_overrides.css";
.links {
    clear: both;
    float: right;
    margin-top: 0px;
    margin-bottom: 0px;
}


/*
 * Header
 *
 */

#head {
    min-height: inherit;
}

#logo {
    width: 200px;
}

.site-slogan {
    font-size: 1.2em;
    transition: color 0.2s ease-in-out 0s;
    text-transform: none;
    /* padding: 30px 0px; */
    display: block;
}

#block-search-form {
    margin-bottom: 15px;
}

#block-search-form input[type="submit"] {
    margin-right: 0;
    display: none;
}

.widgets-set {
    float: right;
}

.widgets-element {
    margin-left: 5px;
}

#block-widgets-s-socialmedia-profile-default {
    margin-bottom: 0;
}


/* Menu */

.nolink {
    cursor: default;
}

.menu-navigation-container li a {
    text-transform: none;
}

#main-menu {
    width: 100%;
}


/*Nikos*/

.menu.ul-depth-1>.expanded {
    z-index: 301;
}


/*#main-menu ul.menu.ul-depth-0 {
	display: table!important;
    width: 100%;
}

#main-menu ul.menu.ul-depth-0>li {
	display: table-cell;
	text-align: center;
	float: none!important;
}

#main-menu ul.menu.ul-depth-0>li>a{
	display: block;
    border: none;
    text-align: center;
    margin: 0 5px;
}*/


/*
 * Hero
 *
 */

#hero-first .block,
#hero-second .block {
    margin-bottom: 10px;
}


/*
 * Preface
 *
 */

#preface-wrapper .preface-area {
    margin-top: 15px;
}


/*
 * Content
 *
 */

#content {
    margin-top: 0;
}

#content_top {
    padding-left: 10px;
    padding-right: 10px;
    clear: both;
}

.node-article .article-title {
    display: none;
}

.node-project .field-image>img {
    height: 100px;
    width: auto;
}

#post-content {
    padding-top: 0px!important;
}

#post-content .block {
    margin-bottom: 0!important;
}

#block-views-news-block {
    min-height: 20px;
    padding: 0 19px 19px 19px;
    /*border: 1px solid #e3e3e3;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);*/
}


/*
 * Accordion
 *
 */

.accordion,
.accordion * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.accordion {
    overflow: hidden;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25);
    border-radius: 3px;
    background: #f7f7f7;
}

.accordion-section-title {
    width: 100%;
    padding: 15px;
    display: inline-block;
    border-bottom: 1px solid #f7f7f7;
    background: #ededed;
    transition: all linear 0.3s;
    /* Type */
    /*font-size:1.200em;
	text-shadow:0px 1px 0px #1a1a1a;*/
    color: #000!important;
}

.accordion-section-title.active,
.accordion-section-title:hover {
    background: #fdb913;
    /* Type */
    text-decoration: none;
    color: #fff!important;
}

.accordion-section:last-child .accordion-section-title {
    border-bottom: none;
}

.accordion-section-content {
    padding: 15px;
    display: none;
}

.accordion-section-content p {
    margin: 0;
}


/*
 * Teasers
 *
 */

.views-row .node-teaser h2 {
    margin-top: 0px;
}

.views-row .node-teaser .field-image,
.views-row .node-teaser .field-event-image,
.views-row .node-teaser .field-partner-logo {
    margin: 5px 10px 0px 0px;
    padding: 0px;
    background-color: #fff;
    /* border: 1px solid #ccc;
	border: 1px solid rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
    float: left;
}

.views-row .field-event-date,
.views-row .field-event-location,
.views-row .field-label {
    color: #6a6a6a;
    font-size: .89em;
    font-weight: bold;
}

.views-row .field-label {
    float: left;
    margin-right: 10px;
}

.views-row div.inline {
    font-size: .89em;
}

.views-row:not(.views-row-last) {
    padding-bottom: 15px;
    border-bottom: 1px solid #e3e3e3;
    margin-bottom: 15px;
}

.views-row .last {
    margin-bottom: 0px;
}


/*
 * Full nodes
 *
 */

.node-full .submitted {
    clear: both;
    margin: 0px;
}

.node-full .field-image img,
.node-full .field-event-image img
/*, .node-full .field-partner-logo img*/

{
    margin: 5px 10px 0px 0px;
    padding: 0px;
    background-color: #fff;
    /* border: 1px solid #ccc;
	border: 1px solid rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
    float: left;
}

.node-full .field-event-date,
.node-full .field-event-location {
    color: #6a6a6a;
    font-size: .89em;
    font-weight: bold;
}

.node-full .field-event-location {
    margin-bottom: 10px;
}

.block p,
.field-body li {
    text-align: justify;
}


/*
 * Calendar
 *
 */

#block-views-event-calendar-block-1 .view .date-nav-wrapper .date-heading h3 {
    font-size: 1.1em;
}

.date-nav {
    clear: both;
    padding-bottom: 0px;
}

.date-prev a:hover,
.date-next a:hover {
    color: #fff!important;
}

aside.sidebar .block-content ul li,
#content article ul li {
    list-style-image: none;
}

.upcoming ul {
    list-style: none;
}

.upcoming ul li {
    clear: both;
    overflow: hidden;
    -webkit-transition: background-color 0.2s ease-in;
    -moz-transition: background-color 0.2s ease-in;
    -o-transition: background-color 0.2s ease-in;
    padding-bottom: 0!important;
    margin-bottom: 5px!important;
    border-bottom: none!important;
}

.upcoming ul li:hover {
    clear: both;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-color: #999;
    color: #fff;
}

.upcoming ul li a:hover {
    color: #fff!important;
}

.upcoming ul li .eventTitle {
    padding-top: 2px;
}


/*
 * Tables
 *
 */

#partnerTable,
#partnerTable tbody {
    border-width: 0px;
}

#partnerTable td {
    background: white;
    border-width: 0px;
}

#partnerTable .logo-td {
    width: 220px!important;
    max-width: 220px!important;
    height: 90px!important;
    max-height: 90px!important;
    text-align: center!important;
}

#partnerTable .logo-td img {
    display: block;
    width: auto;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    margin: auto auto;
}

.field-partner-logo {
    height: 100%;
    max-height: 100%;
    padding-left: auto;
    padding-right: auto;
}


/*
 * Sidebar
 *
 */

.sidebar .block:first-child h2 {
    margin-top: 0;
}

#sidebar-first {
    margin-top: 0px;
}

#sidebar-first h2 {
    font-size: 1.2em;
}

#sidebar-first label {
    font-size: 0.8em;
}

#sidebar-first .first.last a {
    font-size: 0.9em;
}

#sidebar-first .node-article h3 {
    font-size: 1em;
}

#sidebar-first .node-article p {
    font-size: .8em;
}


/*
 * Footer
 *
 */

#colophon .block {
    margin: 9px 0;
}

.region-footer-third {
    text-align: right;
}

#footer_bottom {
    background: none;
}

#footer_bottom p {
    font-size: .7em;
}

#block-footer-sitemap-footer-sitemap h2 {
    display: none;
}

#footer-sitemap {
    margin: 0;
    font-size: 0.9em;
}

#footer-sitemap ul li {
    float: none;
}

#footer-sitemap a:not(.nolink):hover {
    color: #ce4c14!important;
}

#footer-sitemap .main-menu>.footer_links_main-menu {
    display: table;
    width: 100%;
}

#footer-sitemap .main-menu>.footer_links_main-menu>li {
    display: table-cell;
    text-align: center;
}

#footer-sitemap .main-menu>.footer_links_main-menu>li>a {
    display: block;
    border: none;
    text-align: center;
}

#footer-sitemap .main-menu>.footer_links_main-menu>li>a.nolink {
    text-decoration: underline;
}


/*#footer-sitemap { width: 100%; overflow: hidden; }
#footer-sitemap .main-menu>.footer_links_main-menu{ list-style: none; position: relative; float: left; display: block; left: 50%; }
#footer-sitemap .main-menu>.footer_links_main-menu>li { position: relative; float: left; display: block; right: 50%; }*/

#footer_bottom .block-inner {
    padding-left: 0!important;
    padding-right: 0!important;
}

#copyrightContainer {
    float: left;
    margin-right: 40px!important;
}

.logoContainer {
    float: left;
    margin-right: -40px!important;
}

.logoContainer>a {
    display: block;
    padding: 0;
    background-color: none;
    background-position: 0 0;
    background-repeat: no-repeat;
    float: left;
}

#fp7logo {
    background-image: url(https://www.vicinity2020.eu/vicinity/sites/default/files/fp7_logo_bw.png);
    width: 87px;
    height: 70px;
}

#fp7logo:hover {
    background-image: url(https://www.vicinity2020.eu/vicinity/sites/default/files/fp7_logo.png);
}

#eulogo {
    background-image: url(../../../../default/files/eu_logo.png);
    width: 105px;
    height: 70px;
}


/* Flex Slide */

.flex-direction-nav li a {
    padding-top: 10px;
}


/*
 * Mobile
 *
 */

@media screen and (max-width: 959px) {
    .form-text,
    textarea,
    input[type="text"],
    input[type="password"],
    input[type="email"] {
        width: 93%;
    }
    input[type="submit"] {
        margin-top: 0px;
    }
}

@media screen and (max-width: 768px) {
    .site-slogan {
        clear: both;
        padding: 0;
    }
    .region-footer-second,
    .region-footer-third {
        text-align: left;
    }
    #block-widgets-s-socialmedia-profile-default {
        float: left;
    }
}