@import url('../fonts/tex-gyre-adventor/stylesheet.css');

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

a, a:visited { color: #333333; text-decoration: none; }
a:hover { color: #333333; text-decoration: underline; }

.column { min-height: 1px; position: relative; }
.column_960 { width: 960px; float: left; }
.column_660 { width: 660px; float: left; }
.column_540 { width: 540px; float: left; }
.column_420 { width: 420px; float: left; }
.column_400 { width: 420px; float: left; }
.column_280 { width: 280px; float: left; }

h2 { font: 16px/24px 'TeXGyreAdventorBold', Arial, sans-serif; color: #333333; margin: 0 0 10px 0; padding: 0; }
h3 { font: 13px/20px 'TeXGyreAdventorBold', Arial, sans-serif; color: #333333; margin: 0; padding: 0; }
p { font: 13px/20px 'TeXGyreAdventorRegular', Arial, sans-serif; color: #333333; margin: 0 0 10px 0; padding: 0; }
p a, p a:visited { color: #111111; text-decoration: underline;  }
p a:hover { color: #111111; text-decoration: underline; }

.ufficio { clear: both; }
.ufficio h2 { margin-left: 260px; }
.ufficio h3 { font: 13px/20px 'TeXGyreAdventorBold', Arial, sans-serif; }


.team { margin-left: 260px; clear: both; margin-bottom: 20px; overflow: hidden; }
.img_team { float: left; width: 140px; height: 140px; margin-right: 20px; }
.img_team img { width: 100%; height: auto; } 

.column_portrait { width: 400px; }
.column_portrait img { width: 100%; height: auto; }

.list { list-style: none; font: 13px/20px 'TeXGyreAdventorRegular', Arial, sans-serif; color: #333333; margin: 0 0 10px 0; padding: 0; }
.list li { background: url(../images/19.png) no-repeat 0 6px; padding: 0 0 0 30px; }

.fit { width: 100%; height: auto; }
.mr { margin-right: 20px; }
.mt { margin-top: 10px; }
.mb { margin-bottom: 20px; }

header { width: 660px; padding: 50px 0 85px 0; margin: 0; overflow: hidden; }
.header_left { float: left; width: 380px; border-top: 20px solid #AED4FF; overflow: hidden; }
.title { float: right; margin: 5px 0 0 0; width: 300px; height: auto; }
.header_right { float: right; width: 240px; border-top: 20px solid #AED4FF; overflow: hidden; }

#nav { position: fixed; top: 220px; right: 20px; width: 200px; border-top: 10px solid #AED4FF; }
#nav ul { margin: 5px 0 0 0; padding: 0; }
#nav ul li { height: 27px; margin: 0; padding: 3px 0 0 0; font: 15px/15px 'TeXGyreAdventorRegular', Arial, sans-serif; color: #777872; border-top: 1px solid #777872; background: none; }
#nav ul li a, #nav ul li a:visited { color: #777872; text-decoration: none; margin: 0 0 0 20px; }
#nav ul li a:hover { font-family: 'TeXGyreAdventorBold', Arial, sans-serif; color: #777872; text-decoration: none; }
#nav ul li.active { background: url(../images/19.png) no-repeat 0 0; }
#nav ul li.active a { font-family: 'TeXGyreAdventorBold', Arial, sans-serif; color: #777872; text-decoration: none; }

footer { clear: both; width: 660px; padding: 100px 0 20px 0; margin: 0; overflow: hidden; }
footer p { font: 13px/20px 'TeXGyreAdventorRegular', Arial, sans-serif; color: #777872; margin: 0 0 3px 0; padding: 0; }
.footer_left { float: left; width: 380px; border-bottom: 20px solid #AED4FF; overflow: hidden; }
.footer_left p { text-align: right; }
.footer_right { float: right; width: 240px; border-bottom: 20px solid #AED4FF; overflow: hidden; }

.credits { clear: both; width: 660px; }
.credits p { text-align: right; text-decoration: none; font: 11px/11px 'TeXGyreAdventorRegular', Arial, sans-serif; padding: 5px 0 0 0; }
.credits a, .credits a:visited { color: #777872; text-decoration: none; }

.hidemap { display: none; }
.overmap { z-index: 1000000; }
#map { position: absolute; top: 0; left: 0; width: 660px; height: 500px; z-index: 10; visibility: hidden; }

.footer_left_mobile { display: none; }
.mobile_visible { display: none; }

.opening { cursor: pointer; font: 16px/24px 'TeXGyreAdventorBold', Arial, sans-serif; color: #333333; margin: 0 0 10px 0; padding: 0; }
.opening:hover, .opening.active {  }
.expanded { }
.expanded p {  }

.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 

.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden; padding: 0; background: none; } 
.flexslider .slides img {width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

.no-js .slides > li:first-child {display: block;}

.slider { position: relative; width: 660px; height: 500px; z-index: 90; background-color: #FFFFFF; }
.flexslider { width: 100%; position: relative; }
.flex-viewport { position: relative; width: 100%; max-height: 500px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport { max-height: 500px; background-color: #FFFFFF; }
.flexslider .slides { zoom: 1;}

.slides li img { width: 660px; height: auto; }
.navigation { position: relative; width: 660px; height: 70px; margin: 10px 0 0 0; z-index: 10000; }

.flex-direction-nav { float: left; position: relative; margin: 0 0 0 20px; padding: 0; height: 70px; border-left: 1px solid #777872; }
.flex-direction-nav a { width: 6px; height: 11px; display: block; cursor: pointer; text-indent: -9999px; opacity: 1; }
.flex-direction-nav .flex-next { position: absolute; top: 5px; left: 10px; background: url(../images/22.png) no-repeat 0 0; }
.flex-direction-nav .flex-prev { position: absolute; top: 30px; left: 10px; background: url(../images/21.png) no-repeat 0 0; }
.flex-direction-nav .flex-next:hover { opacity: 1; }
.flex-direction-nav .flex-prev:hover { opacity: 1; }
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

.flex-control-nav { float: left; width: auto; position: relative;  opacity: 0; margin-left: 310px; border-left: 10px solid #AED4FF; padding: 0 0 0 5px;  }
.flex-control-nav li { border-left: 1px solid  #777872; margin: 0; display: inline-block; zoom: 1; *display: inline; }
.flex-control-paging li a, .flex-control-paging li a:visited { width: 30px; height: 65px; display: block; cursor: pointer; padding: 5px 0 0 5px;  text-decoration: none; font: 13px/13px 'TeXGyreAdventorBold', Arial, sans-serif; color: #777872; }
.flex-control-paging li a:hover { font: 13px/13px 'TeXGyreAdventorBold', Arial, sans-serif; text-decoration: none; color: #777872; }
.flex-control-paging li a.flex-active { font: 13px/13px 'TeXGyreAdventorBold', Arial, sans-serif; background: url(../images/23.png) no-repeat bottom left; }
.flex-control-nav { opacity: 1; }






.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.form {
	margin-top: 30px;
}


.form .text {
	
	font: 13px/20px 'TeXGyreAdventorRegular', Arial, sans-serif; color: #777872; margin: 0 0 3px 0; padding: 0;
	margin-bottom: 10px;
	border: 1px solid  #777872;
	width: 100%;
	padding: 5px;
	box-sizing: border-box;
}

.form label {	
	font: 13px/20px 'TeXGyreAdventorRegular', Arial, sans-serif; color: #777872; margin: 0 0 3px 0; padding: 0;
}

.form .button {
	font: 13px/20px 'TeXGyreAdventorBold', Arial, sans-serif; color: #777872; margin: 0 0 3px 0; padding: 0;
	padding: 15px 20px 15px 20px;
	background-color: black;
	color: white;
	margin-top: 20px;
}

strong, b {
	font-family: 'TeXGyreAdventorBold', Arial, sans-serif;
}

.red {
	color: red;
	font-family: 'TeXGyreAdventorBold', Arial, sans-serif;
}

.green {
	color: green;
	font-family: 'TeXGyreAdventorBold', Arial, sans-serif;
}


@media only screen and (min-width: 0px) and (max-width: 679px) {
	.column { width: 90%; position: relative; margin-left: 20px; }	
	.column_image { width: 80%; margin-left: 0; margin-bottom: 20px; }
	
  header { width: 100%; padding: 30px 0 30px 0; margin: 0; overflow: hidden; }
  .header_left { float: left; width: 80%; border-top: 20px solid #AED4FF; overflow: hidden; }
  .title { width: 70%; max-width: 300px; }
  .header_right { float: right; width: 10%; border-top: 20px solid #AED4FF; overflow: hidden; }
  
	#nav { position: relative; top: 0; left: 0; border: 0; width: 80%; }
	#nav ul { margin: 5px 0 20px 0; }
	#nav ul li { text-align: right; }
  
	footer { clear: both; width: 100%; padding: 10px 0 20px 0; margin: 0; overflow: hidden; }
	footer p { font: 12px/16px 'TeXGyreAdventorRegular', Arial, sans-serif; color: #777872; margin: 0 0 3px 0; padding: 0; }
	.footer_left { float: right; width: 80%; border-bottom: 0; overflow: hidden; }
	.footer_left p { text-align: left; margin-bottom: 0; }
	.footer_right { float: right; width: 80%; border-bottom: 20px solid #AED4FF; overflow: hidden; }
	.footer_left_mobile { display: block; float: left; width: 10%; border-bottom: 20px solid #AED4FF; }
	.credits { clear: both; width: 100%; }
	.credits p { margin-right: 20px;}
	.mobile_hide { display: none; }
	.mobile_visible { display: block; }
	.ufficio h2 { margin-left: 0; }
  .team { margin-left: 0; clear: both; margin-bottom: 20px; overflow: hidden; }
  .img_team { float: none; width: 80%; height: auto; max-width: 180px; margin-bottom: 10px; }
	#map { display: none; }
	.column_portrait { width: 80%; margin-left: 0; margin-bottom: 20px; }
  .column_portrait img { width: 100%; max-width: 300px; height: auto; }

	.slider { position: relative; width: 100%; height: auto; z-index: 90; background-color: #FFFFFF; }
	.flexslider { width: 100%; position: relative; }
	.flex-viewport { position: relative; width: 100%; max-height: auto; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
	.loading .flex-viewport { max-height: auto; background-color: #FFFFFF; }
	.flexslider .slides { zoom: 1;}
	
	.slides li img { width: 100%; height: auto; }
	.navigation { display: none; }
}

@media only screen and (min-width: 680px) and (max-width: 979px) and (orientation: portrait) {
	#nav { position: absolute; top: 70px; left: 420px; width: 240px; border-top: 0; }
	.column { width: 630px; position: relative; margin-left: 20px; }	
	.column_image { width: 660px; margin-left: 0; margin-bottom: 20px; }
	.column_mobile_half { width: 360px; }
	.ufficio h2 { margin-left: 0; }
  .team { margin-left: 0; clear: both; margin-bottom: 20px; overflow: hidden; }
  .column_portrait { width: 660px; margin-left: 0; margin-bottom: 20px; }
  .column_portrait img { width: 100%; max-width: 380px; height: auto; }
  .navigation { position: absolute; top: 500px; left: 400px; width: 260px; z-index: 98; }
  .flex-control-nav { margin-left: 0; }
}

@media only screen and (min-width: 680px) and (max-width: 979px) and (orientation: landscape) {
	#nav { position: absolute; top: 70px; left: 420px; width: 240px; border-top: 0; }
  .column { width: 630px; position: relative; margin-left: 20px; }	
	.column_image { width: 660px; margin-left: 0; margin-bottom: 20px; }
	.column_mobile_half { width: 360px; }
	.ufficio h2 { margin-left: 0; }
  .team { margin-left: 0; clear: both; margin-bottom: 20px; overflow: hidden; }
  .column_portrait { width: 660px; margin-left: 0; margin-bottom: 20px; }
  .column_portrait img { width: 100%; max-width: 380px; height: auto; }
  .navigation { position: absolute; top: 500px; left: 400px; width: 260px; z-index: 98; }
  .flex-control-nav { margin-left: 0; }
}


@media only screen and (min-width: 980px) and (max-width: 1200px) {
	#nav { position: absolute; top: 70px; left: 420px; width: 240px; border-top: 0; }
}

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}