/*  ----------  LAYOUT  ----------  */

	#layout .container {
		width: 100%;
		max-width: 1280px;
		/*min-width: 980px;*/
		min-height: 100px;
		margin: 0 auto;
		padding: 0 15px;
	}
	
	#layout .container .row:after {
	    content: ".";
	    display: block;
	    height: 0;
	    clear: both;
	    visibility: hidden;
	    zoom: 1;
	    line-height: 0;
	    font-size: 0;
	}
	
	#layout .container .column {
		float: left;
		padding: 0 15px;
		min-height: 1px;
		position: relative;
	}
	
	#layout .panel {
	    padding-bottom: 1.5em;
	    margin-bottom: 2em;
	    border-bottom: 1px solid #D7D6D5;
	}
	
	#layout .panel.last {
		padding-bottom: 0;
		margin-bottom: 0;
		border-bottom: 0 none;
    }
    
    #layout .panel.no-border {
        padding-bottom: 0;
        border-bottom: 0 none;
    }

/*  ----------  FIXED BAR  ----------  */

	#fixed-bar {
	    position: fixed;
	    top: 50%;
	    right: 0;
        z-index: 11;
		transform: translateY(-50%);
	}
	
	#fixed-bar .social-menu {
		width: 60px;
		height: 170px;
	    margin: 0 0 0 0;
	    background-color: rgba(55,47,43,0.95);
	    padding: 18px 15px;
	    position: relative;
	}
	
	#fixed-bar .social-menu > li {
	    margin-bottom: 15px;
	}
	
	#fixed-bar .social-menu > li:last-child {
	    margin-bottom: 0;
	    padding-top: 15px;
	    border-top: 1px solid rgba(216,21,12,0.5);  
	}
	
	#fixed-bar .social-menu > li > a {
	    display: block;
	    width: 30px;
	    height: 30px;
	    background-repeat: no-repeat;
	    background-position: left top;
	    text-indent: 100%;
	    white-space: nowrap;
	    overflow: hidden;
	    z-index: 1;
	    position: relative;
	}
	
	#fixed-bar .social-menu > li > a:hover,
	#fixed-bar .social-menu > li > a.selected {
	    background-position: left bottom;   
	}
	
	#fixed-bar .social-menu > li > a:active {
	    opacity: 0.8;   
	}
	
	#fixed-bar .social-menu > li.facebook > a {
	    background-image: url("../images/icon/facebook.png");
	}
	
	#fixed-bar .social-menu > li.twitter > a {
	    background-image: url("../images/icon/twitter.png");
	}
	
	#fixed-bar .social-menu > li.google-plus > a {
        background-image: url("../images/icon/google-plus.png");
    }
	
	#fixed-bar .social-menu > li.contact > a {
	    background-image: url("../images/icon/contact.png");
	}
	
	#fixed-bar .social-menu .floating-panel {
		position: absolute;
		width: 315px;
		/*height: 450px;*/
		height: auto;
		min-height: 315px;
		background-color: rgba(55,47,43,0.95);
		top: 0;
		right: -315px;
		padding: 15px;
		z-index: 0;
		/*opacity: 0;*/
        /*visibility: hidden;*/
		display: none;
	}
	
	#fixed-bar .social-menu .floating-panel.visible {
		right: 70px;
		/*opacity: 1;*/
        /*visibility: visible;*/
		display: block;
	}
	
	#fixed-bar .social-menu .floating-panel:after {
	    top: 0;
	    right: -16px;
	    content: " ";
	    height: 0;
	    width: 0;
	    position: absolute;
	    border-top: 8px solid transparent;
	    border-right: 8px solid transparent;
	    border-bottom: 8px solid transparent;
	    border-left: 8px solid rgba(55,47,43,0.95);
	}
	
	#fixed-bar .social-menu .facebook .floating-panel:after {
	    top: 25px;	
	}
	
	#fixed-bar .social-menu .twitter .floating-panel:after {
	    top: 70px;  
	}
	
	#fixed-bar .social-menu .google-plus .floating-panel:after {
        top: 115px;  
    }
	
	#fixed-bar .social-menu .contact .floating-panel:after {
	    top: 176px;  
	}

/*  ----------  HEADER  ----------  */

	#header {
		height: 143px;
	}
	
	#header .container {
        height: 100%;
    }
	
	#header .row {
	   height: 100%;
	   border-bottom: 1px solid #bfbfbf;
       /*position: relative;*/
	}
	
	#header .row .column-left {
	   width: 20%;
	   height: 100%;
	}
	
	#header .row .column-right {
       width: 80%;
       height: 100%;
    }
    
    #header .row .column-left .wysiwyg {
        width: 100%;
        height: 100%;
    }
	
	#header .logo {
		width: 100%;
		height: 100%;
		margin-left: -15px; 
		padding: 15px 0;
		display: table;
		table-layout: fixed;
	}
	
	#header .logo a {
	    width: 100%;
	    height: 100%;
	    background-repeat: no-repeat;
	    background-position: left center;
	    text-indent: -9999px;
	    overflow: hidden;
		background-size: contain;
		display: table-cell;
		vertical-align: middle;
	}

	#header .logo a img {
		display: block;
		max-width: 100%;
		max-height: 100%;
	}
	
	#header .logo.pecsi-borozo a {
	   background-image: url("../images/logo/pecsi-borozo.png");
	}
	
	#header .logo.portugieser a {
       background-image: url("../images/logo/portugieser-du-monde.png");
    }
    
    #header .logo.top25 a {
       background-image: url("../images/logo/top25.png");
    }
	
	#header .navigation {
		float: right;
		margin-top: 92px;
		margin-right: -15px;
		width: 100%
	}
	
	#header .navigation > ul {
	   text-align: right;
	   white-space: nowrap;
	   width: 100%;
	}
	
	#header .navigation > ul > li {
	    display: inline-block;
	    margin-right: 2%;
	    position: relative;
	}

	#header .navigation > ul > li:last-child {
	    margin-right: 0;
	}
	
	#header .navigation > ul > li > a {
	    text-decoration: none;
	    font-size: 1em;
	    line-height: 20px;
	    text-transform: uppercase;
	    display: inline-block;
	    color: #000;
	    font-family: 'Open Sans';
	    font-weight: 600;
	}
	
	#header .navigation > ul > li:hover > a {
	    color: #c8130b;
	}
	
	#header .navigation > ul > li:hover > ul {
	   display: block;
	}
	
    #header .navigation > ul > li > ul {
        position: absolute;
        top: 20px;
        left: 0;
        text-align: left;
        padding-top: 10px;
        z-index: 11;
        min-width: 180px;
        display: none;
    }
    
    #header .navigation > ul > li.parent:hover:after {
        top: 14px;
        left: 50%;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        border-top: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid rgba(55,47,43,0.95);
        border-left: 8px solid transparent;
        margin-left: -8px;
    }
    
    #header .navigation > ul > li > ul li {
        padding: 0 10px;
        background-color: rgba(55,47,43,0.95);
        position: relative;
    }
    
    #header .navigation > ul > li > ul > li:first-child {
        padding-top: 20px;
    }
    
    #header .navigation > ul > li > ul > li:last-child {
        padding-bottom: 20px;
    }
    
    #header .navigation > ul > li > ul li a {
        display: block;
        font-family: 'Open Sans';
        font-weight: 600;
        color: #d1d1d1;
        font-size: 0.9em;
        line-height: 1.2em;
        /*border-bottom: 1px solid rgba(255,255,255,0.2);*/
        border-bottom: 1px dotted rgba(216,21,12,0.5);
        padding: 0.5em;
    }
    
    #header .navigation > ul > li > ul li:hover > a {
        color: #fff;
    }
    
    #header .navigation > ul > li > ul > li:last-child > a,
    #header .navigation > ul > li > ul > li > ul > li:last-child > a {
        border-bottom: 0 none;
    }
    
    #header .navigation > ul > li > ul > li.parent:after {
        top: 10px;
        right: 10px;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        border-top: 5px solid transparent;
        border-right: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 5px solid #d1d1d1;
    }
    
    #header .navigation > ul > li > ul > li.parent:hover:after {
        border-left: 5px solid #fff;
    }
    
    #header .navigation > ul > li > ul li:hover > ul {
        display: block;
    }
    
    #header .navigation > ul > li > ul > li > ul {
        position: absolute;
        left: 100%;
        top: -10px;
        padding-left: 1px;
        min-width: 180px;
        display: none;
    }
    
    #header .navigation > ul > li > ul > li > ul > li:first-child {
        padding-top: 10px;
    }
    
    #header .navigation > ul > li > ul > li > ul > li:last-child {
        padding-bottom: 10px;
    }
    
    .navigation .menu-toggle-button {
        display: block;
        width: 30px;
        height: 30px;
        background: #D8150C url("../images/icon/navicon.png") center no-repeat;
        text-indent: -9999px;
        display: none;
        position: absolute;
        top: 0;
        right: 0;
    }

	#header .return-main-site {
		display: block;
		width: 235px;
		height: 62px;
		position: absolute;
		top: 15px;
		right: 15px;
		background-image: url("../images/logo/pecsi-borozo-arrow.png");
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
		text-indent: -9999px;
		overflow: hidden;
    }

    #header .navigation .separator{
        width: 1px;
        height: 1em;
        background:  rgba(216,21,12,1);
        content: '';
        display: inline-block;
        margin-top: 2px;
        display: none;
    }

    #header .navigation .separator:last-child{
		display: none;
	}

	#header .languages {
		position: absolute;
		left: 15px;
		top: 92px;
	}

	#header .languages li a {
		text-decoration: none;
		font-size: 1em;
		line-height: 20px;
		text-transform: uppercase;
		display: inline-block;
		color: #000;
		font-family: 'Open Sans';
		font-weight: 600;
	}
    
/*  ----------  CONTENT  ----------  */

	#content {
		line-height: 1.4em;
		margin: 36px 0;
	}
	
	#content .container > .row,
	#content .column > .row {
		margin: 0 -15px;
	}
	
	#content .container .column-left {
	    width: 62%;	
	}
	
	.layout-two-columns #content .container .column-left {
	   width: 100%;
	} 
	
	#content .container .column-center {
		width: 38%;
	}
	
	#content .container .column-left-side {
        width: 66%; 
    }
	
	#content .container .column-right-side {
	    width: 34%;
	}
	
	.highlight {
	   width: 100%;
	   overflow: hidden;
    }

/*  ----------  ADVERTISEMENT  ----------  */

	#advertisement {
		background-color: #e8e8e8;
		height: 238px;
		position: relative;
		width: 100%;
		overflow: hidden;
	}
	
	#advertisement a,
	#advertisement img,
	#advertisement object,
	#advertisement embed {
	    display: block;
	    float: left;
	    margin: 18px 9px;
	}
	
	#advertisement a img,
	#advertisement object embed {
	   float: none;
	   margin: 0;
	}

/*  ----------  FOOTER  ----------  */

	#footer {
		background-image: url("../images/pattern-dark.jpg");
		background-repeat: repeat;
		min-height: 386px;
		/*border-top: 1px solid #fff;*/
	}
	
	#footer .row {
	    padding-top: 60px;	
	    margin: 0 -15px;
	}
	
	#footer .column-left {
		width: 25%;
		float: left;
	}
	
	#footer .information {
		font-size: 0.8em;
		line-height: 1.4em;
		color: #d1d1d1;
	}
	
	#footer .information .logo {
	    display: block;
	}
	
	#footer .information .logo img {
	    display: block;
	    max-width: 100%;
	    height: auto;	
	}
	
	#footer .information .name {
	    color: #d8150c;	
	}
	
	#footer .information .slogan {
	    margin-bottom: 1.4em;	
	}
	
	#footer .information .copyright {
	    color: #787878;
	}
	
	#footer .column-right {
	    width: 75%;
	    float: right !important;
	}
	
	#footer .navigation > ul > li {
	    float: left;
	    width: 18%;	
	    margin: 0 1%;
	}
	
	#footer .navigation > ul > li > a {
	    display: block;
	    font-family: 'MinionPro';
	    color: #d8150c;
	    text-decoration: none;
	    font-size: 1.6em;	
	    line-height: 1em;
	    font-weight: 600;
	    margin-bottom: 1em;
	}
	
	#footer .navigation > ul > li > ul > li {
		margin: 0.8em 0;
	}
	
	#footer .navigation > ul > li > ul > li > a {
		display: block;
		text-decoration: none;
		font-family: 'Open Sans';
		color: #d1d1d1;
		font-size: 0.8em;
		line-height: 1.4em;
	}
	
	#footer .navigation > ul > li > ul > li > a:hover {
	    color: #fff;	
	}
