/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

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

body {
    font-size: 0.875em;
    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;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 14px/20px Calibri, Helvetica, Helvetica Neue, Arial;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Purple Theme
   =================== */

.header-container {
    border-bottom: 0px solid #e44d26;
}

.footer-container,
.main aside {
    border-top: 0px solid #e44d26;
}

.header-container,
.footer-container,
.main aside {
    background: #fff;
}

.title {
	color: 000;
	display: block;
	height: 102px;
	width: 188px;
}

.title a {
    background:url(/img/logo-mobile.png) no-repeat left top;
    display: block;
    height: 102px;
    text-indent:-9999px;
    width: 188px;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 10px 0;

    text-align: center;
    text-decoration: none;
    font-weight: normal;

    color: white;
    background: #382b53;
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}



.main article h1 {
    font-size: 2em;
}

.main aside {
    color: black;
    padding: 0px 0 10px;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


a {
	color: #480c8d;
}

.main aside a {
	color: black;
	text-decoration: none;
}

.teaser {
	display:none;
}

#page__home .teaser {
	display:block;
}

.teaser ul {
	list-style:none;
	margin:0;
	padding:0;
}

.teaser ul li {
	margin:0 0 .8em 0;
}

.teaser ul li img {
	width:100%;
	height:100%;
}

h1 {
	line-height:normal;
}

#page__cont p.more {
	display:none;
}



/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 500px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav {
		background: #392c54;
		height:34px;
		margin:20px 10% 10px 10%;
		padding:0 10px 0 15px;
		width:390px;
	}
	
	nav li {
        float: left;
        margin: 0 11px 0 0;
        padding: 0 1%;
        margin-bottom: 0;
    }

    nav li:first-child {
        margin-left: 0;
    }

    nav li:last-child {
        margin-right: 0;
    }
	
	nav li a {
		background:url(/img/navigation.gif) no-repeat left top;
		font-size:15px;
		margin-bottom:0;
		padding:4px 10px 6px 10px;
		text-indent:-9999px;	
	}
	
	nav li a.nav01 {
		background-position:10px 11px;
		width:37px;
	}
	
	nav li a.nav02 {
		background-position:-56px 11px;
		width:80px;
	}
	
	nav li a.nav03 {
		background-position:-166px 11px;
		width:76px;
	}
	
	nav li a.nav04 {
		background-position:-273px 11px;
		width:50px;
	}
	
	nav li a:hover {
		border-bottom:4px solid #725aa5;
		text-decoration:none;
	}
	
	#page__home nav li a.nav01,
	#page__acup nav li a.nav02,
	#page__oste nav li a.nav03,
	#page__cont nav li a.nav04 {
		border-bottom:4px solid #725aa5;
	}
	
	

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
	
	
/* ======================
    INTERMEDIATE: Header
   ====================== */

	header.wrapper {
		background:#382b53 url(/img/background.gif) no-repeat left top;
		background-size:auto;
		padding:0 0 25px 0;
		margin:0;
		width:100%;
	}
	
	.title {
		margin-left:10%;
	}

    .title a {
        background:url(/img/logo.png) no-repeat left top;
    }
	
	.teaser {
		background: black;
		clear:both;
		display:block;
		margin:0 auto;
		padding:20px;
		width:80%;
	}
	
	/*///////////////////////////////// CLEARFIX ///*/
	.teaser:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}
	
	.teaser {display: inline-block;}
	
	/* Hides from IE-mac \*/
	* html .teaser {height: 1%;}
	.teaser {display: block;}
	/* End hide from IE-mac */
	
	.teaser ul {
		margin:0 auto;
		width:100%;	
	}
	
	.teaser ul li {
		float:left;
		margin:0;
		width:49%;
	}
	
	.teaser ul li:first-child {
		margin-right:2%;	
	}
	
	.teaser ul li img {
		height:100%;
		width:100%;
	}

/* ======================
    INTERMEDIATE: aside
   ====================== */

	h3.fn {
		font-size:2em;
	}
	
	p.adr {
		border-bottom:1px solid black;
		text-transform: uppercase;
		padding:0 0 10px 0;
	}
	
	.country-name {
		display:none;	
	}
	
	p.tel, p.mail {
		margin:0;	
	}
	

}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    header.wrapper {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    nav {
		clear:both;
        margin-bottom:20px;
		margin-top:20px;
    }

/* ============
    WIDE: Main
   ============ */

    header.wrapper {
		margin:0;
		width:100%;
	}
	
	.main article {
		border-left: 1px dotted black;
        float: right;
		padding:0 9% 0 5%;
        width: 54%;
    }

    .main aside {
        float: fleft;
        width: 175px;
		margin:0 0 0 2.1%;
    }
}




@media only screen and (min-width: 800px) {

/* ============
    WIDE: Menu
   ============ */

    nav {
        clear:none;
		margin-top:55px;
		float: right;
    }


/* ============
    WIDE: Main
   ============ */

	.main aside {
        margin:0 0 0 5.1%;
    }

}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    header.wrapper, .wrapper {
        width: 1150px; /* 1200px - 10% for margins */
        margin: 0 auto;
    }
	
/* ============
    WIDE: Main
   ============ */

	.main aside {
        margin:0 0 0 10.1%;
    }

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

.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: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@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;
    }
}