/*
 * Pico Default Theme
 * By: Gilbert Pellegrom
 * http: //dev7studios.com
 *
 */

/*
 * Reset Styles
 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}

body {
    line-height: 1;
    color: black;
    background: white;
}


table {
    border-collapse: separate;
    border-spacing: 0;
}

caption, th, td {
    text-align: left;
    font-weight: normal;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}

blockquote, q {
    quotes: "" "";
}

/* HTML5 tags */
header, section, footer, headerlang,
aside, nav, article, figure {
    display: block;
}

/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button {
    cursor: pointer;
}

/* make buttons play nice in IE:
        www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {
    width: auto;
    overflow: visible;
}

/* Sharper Thumbnails */
img {
    -ms-interpolation-mode: bicubic;
}

/*
 * Input Styles
 */


input,
textarea,
select {
    padding: 5px;
    font: 400 1em Verdana, Sans-serif;
    color: #666;
    background: #fff;
    border: 1px solid #999999;
    margin: 0 0 1em 0;
}

input:focus,
textarea:focus,
select:focus {
    color: #000;
    /* background: #fff; // Disabled because of conflict with tcal class !*/
    border: 1px solid #666666;
}

/*
 * Main Styles
 */
body {
    font: 14px/1.8em Arial, Helvetica, sans-serif;
    color: #444;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

a, a:visited {
    /*color: #2EAE9B;*/
    color: #127EAE;
    text-decoration: none;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

a:hover, a:active {
    color: #000;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    /*color: #000;*/
    color: #127EAE;
    line-height: 1.2em;
    margin-bottom: 0.6em;
}

h1 {
    font-size: 1.8em;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.2em;
}

p {
    margin-bottom: 1em;
}

ol, ul {
    padding-left: 30px;
    margin-bottom: 1em;
}

b, strong {
    font-weight: bold;
}

i, em {
    font-style: italic;
}

u {
    text-decoration: underline;
}

abbr, acronym {
    cursor: help;
    border-bottom: 0.1em dotted;
}

td, td img {
    vertical-align: top;
}

sub {
    vertical-align: sub;
    font-size: smaller;
}

sup {
    vertical-align: super;
    font-size: smaller;
}

code {
    font-family: Courier, "Courier New", Monaco, Tahoma;
    background: #eee;
    color: #333;
    padding: 0px 2px;
}

pre {
    background: #eee;
    padding: 20px;
    margin-bottom: 1em;
    overflow: auto;
}

blockquote {
    font-style: italic;
    margin: 0 0 1em 15px;
    padding-left: 10px;
    border-left: 5px solid #dddddd;
}

/*
 * Structure Styles
 */
.inner {
    width: 920px;
    margin: 0 auto;
}

#cookiebox {
    background: #0c5273;
    box-shadow: 0 2px 1px #ccc;
    color: white;
    text-align: left;
    font: 10pt arial;
    font-style: italic;
}

#cookiebox a {
	cursor: pointer;
}

#cookie {
    display: none;
    padding: 2px 0 2px 55px;
}

#headerlang {
    position: relative;
    width: 960px;
    margin: 0 auto 35px auto;
    padding: 5px 0 0 0;
    border-radius: 5px;
    background: #0c5273;
    box-shadow: 0 2px 1px #ccc;
    color: white;
    text-align: left;
    font: 10pt arial;
    height: 28px;
}

#headersocial {
    position: absolute;
    left: 0;
    top: calc(50% - 11px);
    display: none;
}

#headersocial a img {
    width: 22px;
    height: 22px;
    margin: 0 0 0 10px;
}

#languages {
    position: absolute;
    top: calc(50% - 12.5px);
    right: 0;
    display: block;
}

#languages span {
    font-style: italic;
}

#languages span.current {
    text-decoration: underline;
}

#languages img {
    width: 25px;
    margin: 0 10px 0 0;
}

#languages span.active {
    cursor: pointer;
}

#header img.logo {
    float: left;
    margin: 0 15px 0 0;
}

#header {
    /*background: #2EAE9B;*/
    margin: 0px auto 0px auto;
    width: 960px;
    background: #127EAE;
    padding: 35px 0;
    margin-bottom: 5px;
    color: #fff;
    box-shadow: 0 2px 1px #ccc;
    border-radius: 0 0 5px 5px;
}
#header a { color: #fff; }
/*#header li.active a { color: #2B5365; }*/
#header li.active a { color: #424242; }
#header li a:hover { text-decoration: underline; }

#header h1 a,

#header h1 {
    font-weight: bold;
    margin: 0;
    float: left;
}

#header .menu-icon {
    display: none;
    width: 35px;
    height: 35px;
    position: absolute;
    top: 0;
    right: 0;
    background: #afe1da url(menu-icon.png) center;
}

#header nav {
    float: right;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 490px;
}

#header nav a {
    font-weight: bold;
    margin-left: 15px;
}

#header a:hover#menu-icon {
    background-color: #444;
    border-radius: 4px 4px 0 0;
}

#header ul.sub-menu {
    font-size: 95%;
    float: right;
}

#header ul {
    list-style: none;
    clear: both;
}
#header li {
    display: inline-block;
    float: right;
}
#content {
    min-height: 410px;
}

#footer {
    position: relative;
    /*background: #707070;*/
    background: #424242;
    border-radius: 5px 5px 0 0;
    width: 960px;
    padding: 15px 0;
    margin: 40px auto 0 auto;
    color: #C0C0C0;
    text-align: center;
    box-shadow: 0 -2px 1px #ccc;
}

#footer a { color: #ddd; }

#footer a:hover { color: #fff; }

#footer p {
    margin: 0;
    padding: 0;
}

#footer div.social {
    position: absolute;
    top: calc(50% - 12.5px);
    right: 0px;
}

#footer img.logo {
    margin: 0 15px 0 0;
    width: 25px;
    height: 25px;
}

/*
 * Misc Styles
 */
.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/*
 * Media Queries
 */

/* Small Devices, Tablets */
@media only screen and (max-device-width : 920px) {
    body {
	font: 24px Arial, Helvetica, Sans-serif;
	text-size-adjust: none;
    }

    #footer div.social, a#logo {
	display: none;
    }

    #headersocial {
	display: block;
	top: calc(50% - 20px);
    }

    #headersocial a img {
	width: 40px;
	height: 40px;
        margin: 0 0 0 25px;
    }

    #header img.logo {
	width: 150px;
    }

    #header{
	width: 100%;
	padding: 35px 0;
	border-radius: 0 0 0 0;
    }

    #headerlang {
	width: 100%;
	border-radius: 0;
        height: 48px;
    }
 
   #languages {
	top: calc(50% - 22.5px);
   }

   #languages span img {
	width: 45px;
        margin: 0 25px 0 0;
    }
    
    #header nav {
	width: 700px;
    }

    #header nav ul li {
	font-size: 1.2em;
	line-height: 1.4em;
	margin-bottom: 15px;
    }

    #header nav ul.sub-menu li {
	font-size: 1.1em;
	line-height: 1.4em;
    }

    #footer {
	display: block;
	width: 100%;
	border-radius: 0 0 0 0;
	padding: 15px 0 15px 0;
    }

   p {
	line-height: 1.4em;
   }

   .inner {
	width: 90%;
	padding: 0;
    }
}