@font-face{
	font-family: HelveticaNeue-LT-Utracondensed;
	src: url('/fonts/HelveticaNeueLTStd-UltLtCn.eot');
	src: url('/fonts/HelveticaNeueLTStd-UltLtCn.eot?#iefix') format('embedded-opentype'),
		 url('/fonts/HelveticaNeueLTStd-UltLtCn.woff') format('woff'),
		 url("/fonts/HelveticaNeueLTStd-UltLtCn.otf") format("opentype"),
		 url("/fonts/HelveticaNeueLTStd-UltLtCn.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}
@font-face{
	font-family: HelveticaNeue-LT-condensed;
	src: url('/fonts/HelveticaNeueLTStd-Cn.eot');
	src: url('/fonts/HelveticaNeueLTStd-Cn.eot?#iefix') format('embedded-opentype'),
		 url('/fonts/HelveticaNeueLTStd-Cn.woff') format('woff'),
		 url("/fonts/HelveticaNeueLTStd-Cn.otf") format("opentype"),
		 url("/fonts/HelveticaNeueLTStd-Cnmyfont.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}
@font-face{
	font-family: Trixie-plain;
	src: url('/fonts/trixie-plain-webfont.eot'); /* IE9 Compat Modes */
	src: url('/fonts/trixie-plain-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		 url('/fonts/trixie-plain-webfont.woff') format('woff'), /* Pretty Modern Browsers */
		 url("/fonts/Trixie-plain.ttf") format('truetype'), /* Safari, Android, iOS */
		 url('/fonts/trixie-plain-webfont.svg#trixie-plainplain') format('svg'); /* Legacy iOS */
	font-weight: normal;
	font-style: normal;
}

body{
	background: #292929;
	font-size: 16px;
	line-height: 1;
	font-family: "HelveticaNeue-LT-Utracondensed", Arial, sans-serif;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

/* Preloader */

#preloader {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:#292929; /* change if the mask should have another color then white */
    z-index:99; /* makes sure it stays on top */
}

#status {
    width:200px;
    height:200px;
    position:absolute;
    left:50%; /* centers the loading animation horizontally one the screen */
    top:50%; /* centers the loading animation vertically one the screen */
    background-image:url('../images/loader.gif'); /* path to your loading animation */
    background-repeat:no-repeat;
    background-position:center;
    margin:-100px 0 0 -100px; /* is width and height divided by two */
}
/*End preloader*/

.icon{
    display: inline-block;
    vertical-align: middle;
    width: 63px;
    height: 50px;
    background-repeat:no-repeat;
}

.photo_ico_white{
    background-image: url('../images/icons.png');
    background-position: 0px 0px;
}

.photo_ico_red{
    background-image: url('../images/icons.png');
    background-position: -63px 0px;
}

.video_ico_white{
    background-image: url('../images/icons.png');
    background-position: -126px 0px;
}

.video_ico_red{
    background-image: url('../images/icons.png');
    background-position: -189px 0px;
}

.polaroid{
    background: #fff;
    padding: 3px;
    /*margin: 6px;*/
}

.block_shadow{
    -webkit-box-shadow: 0px 8px 21px 0px rgba(0, 0, 0, 0.7);
    -moz-box-shadow:    0px 8px 21px 0px rgba(0, 0, 0, 0.7);
    box-shadow:         0px 8px 21px 0px rgba(0, 0, 0, 0.7);
}
.bordered{
	position: relative;
	padding: 3px;
	background: #FFF;
}
.bordered img{
	display: block;
	width: 100%;
}
@media (max-width: 768px) {
	.bordered{
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		width: 100% !important;
		height: auto !important;
	}
}
.photos_left{
    padding-top: 186px;
    direction: rtl;
    display: block;
    float: left;
    height: auto;
    text-align: right;
    width: 50%;
}
.photos_left_other{
    padding-top: 40px;
    direction: rtl;
    display: block;
    float: left;
    height: auto;
    text-align: right;
    width: 50%;
}
.photos_left_no_space{
    padding-top: 28px;
}

.photos_right{
    padding-top: 28px;
    float: left;
    height: auto;
    margin-left: 6px;
    text-align: left;
    width: auto;
}

.photos_right > li,.photos_left > li{
    margin: 20px 6px 20px 6px;
}
@media (max-width: 768px) {
	.photos_left,.photos_right{
		float: none;
		direction: ltr;
		margin: 0;
		padding-top: 28px;
		width: auto;
		text-align: center;
	}
	.photo_container_mobile_alternate{
		display: table;
	}
	.photo_container_mobile_alternate .photos_left{
		display: table-footer-group;
	}
	.photo_container_mobile_alternate .photos_right{
		display: table-header-group;
	}
	.photos_right > li,.photos_left > li{
		margin: 20px 10px 20px 10px;
	}
	.photos_left .logo{
		margin-top: 20px;
	}
}

/* === LANGUAGE BLOCK === */

/* === MAIN NAVIGATION BLOCK === */
#logo{
    z-index: 0; /* Era 5 */
    position: absolute;
    left: 50%;
    margin-left: -320px;
    top: 56px;
}

#main_nav{
    -moz-user-select: none; /*funziona solo su firefox e serve per non far selezionare il testo*/
    z-index: 12;
    position: fixed;
    left: 0;
    top: 50px;
    /*top: 80px;*/
    /*top: 144px;*/
    text-transform: uppercase;
}

#main_nav .selected {
    border-bottom: 1px solid #FFFFFF;
    color: #FFFFFF;
    font-size: 1.5em;
    opacity: 1;
    width: 150px;
    font-family: "HelveticaNeue-LT-condensed", arial, Sans-serif;
}

#main_nav li {
    border-bottom: 1px solid #FFF;
    color: #FFF;
    cursor: pointer;
    font-size: 1.1em;
    list-style: none outside none;
    opacity: 0.6;
    text-align: right;
    transition: all 0.2s ease-in 0s;
    width: 130px;
}

#main_nav li:hover:not(.selected) {
    font-size: 1.5em;
    transition: all 0.2s ease-in 0s;
    width: 150px;
}

#main_nav a {
    color: inherit;
    display: block;
    opacity: 1;
    padding-bottom: 6px;
    padding-top: 8px;
    text-decoration: none;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);
}
#menu-hamburger{
	display: none;
}

@media (max-width: 768px) {
	#main_site{
		padding-top: 60px;
	}
	#header{
		position: fixed;
		z-index: 90;
		width: 100%;
	}
	#header .main-header{
		padding: 10px;
		overflow: hidden;
		background: #292929;
	}
	#logo{
		position: static;
		top: auto;
		left: auto;
		float: left;
		margin-left: 0;
		padding: 0;
		height: 40px;
	}
	#logo img{
		width: auto;
		height: 40px;
	}
	#menu-hamburger{
		display: block;
		float: right;
		padding: 2px 0;
		overflow: hidden;
	}
	#menu-hamburger .language{
		float: left;
		padding: 6px 20px 6px 0;
		height: 24px;
	}
	#menu-hamburger button{
		float: right;
		padding: 5px;
		background: transparent;
		border: 1px solid #AAA;
		border-radius: 4px;
	}
	#menu-hamburger button span{
		display: block;
		margin: 4px 0;
		width: 22px;
		height: 2px;
		background: #AAA;
		border-radius: 1px;
	}
	#main_nav{
		display: none;
		position: static;
		left: auto;
		top: auto;
		background: #292929;
		background: rgba(41, 41, 41, 0.8);
	}
	#main_nav.open{
		display: block;
	}
	#main_nav li,#main_nav .selected,#main_nav li:hover:not(.selected){
		width: 200px;
	}
	#language{
		display: none;
	}
}

a {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
	text-decoration: none;
}

.language{
    -moz-user-select: none; /*funziona solo su firefox e serve per non far selezionare il testo*/
    text-transform: uppercase;
    background: none;
}
#language{
    z-index: 7;
    margin-left: 50px;
    margin-bottom: 20px;
    line-height: 1.5em;
}
.language li {
    display: inline;
}
.language li span{
    font-weight: bold;
    color: #AAAAAA;
    font-size: 24px;
    text-shadow: 1px 5px 5px rgba(0, 0, 0, 0.7);
}
.language ul li a{
    font-weight: lighter;   
    color: #AAAAAA;
    font-size: 24px;
    text-decoration: none;
    text-shadow: 1px 5px 5px rgba(0, 0, 0, 0.7);
}
.language a:hover{
    color: #fff;
    font-weight: bolder;
}
.language .selected{
    color: #fff;
    font-weight: bolder;
}
/* === END MAIN NAVIGATION BLOCK === */

@media (min-width: 769px) {
	.blocks{
		border-bottom: #282828 1px solid;
		min-height: 1080px;
		background-attachment: fixed;
		max-width: 1920px;
		min-width: 720px;
		-webkit-box-shadow: inset 0px -5px 30px 0px rgba(0, 0, 0, 0.75);
		-moz-box-shadow:    inset 0px -5px 30px 0px rgba(0, 0, 0, 0.75);
		box-shadow:         inset 0px -5px 30px 0px rgba(0, 0, 0, 0.75);
	}
}

#first,#second,#third,#fourth,#fifth,#sixth#seventh{
	background-attachment: fixed;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
/*@media (max-width: 768px) {
	#first,#second,#third,#fourth,#fifth,#sixth{
		background-size: cover;
	}
}*/

/* VIEWS PER ROLLOVER */
.view{
    position: relative;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 3px;
    overflow: hidden;
	background: #FFF;
    text-align: center;
}

.view a{
    cursor: pointer;
}

.view .left {
    float: left;
}

.view .right {
    float: right;
}

.view img{
    display: block;
    position: relative;
	padding: 0;
	width: 100%;
	height: auto;
    transition: all 0.4s ease-in-out;
}
.view:hover img{
	-ms-transform: translateX(-100%); /* IE 9 */
	-webkit-transform: translateX(-100%); /* Opera, Chrome, and Safari */
	transform: translateX(-100%);
}
.view.right:hover img{
	-ms-transform: translateX(100%); /* IE 9 */
	-webkit-transform: translateX(100%); /* Opera, Chrome, and Safari */
	transform: translateX(100%);
}
.view .mask{
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    opacity: 1;
    transition: all 0.4s ease-in-out;
	width: 100% !important;
	height: 100% !important;
	-ms-transform:translateX(100%); /* IE 9 */
	-webkit-transform:translateX(100%); /* Opera, Chrome, and Safari */
	transform: translateX(100%);
}
.view.right .mask{
	-ms-transform: translateX(-100%); /* IE 9 */
	-webkit-transform: translateX(-100%); /* Opera, Chrome, and Safari */
	transform: translateX(-100%);
}
.view:hover .mask {
	-ms-transform:translateX(0px); /* IE 9 */
	-webkit-transform:translateX(0px); /* Opera, Chrome, and Safari */
	transform: translateX(0px);
}

.red_rollover {
    background-color: #C1022C;
    color: #fff;
    font-size: 1.5em;
    font-weight: lighter;
    font-family: Trixie-plain;
}

.white_rollover {
    background-color: #fff;
    color: #C1022C;
    font-size: 1.5em;
    font-weight: lighter;
    font-family: Trixie-plain;
}

.children{
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

@media (max-width: 768px) {
	.view{
		width: 100% !important;
		height: auto !important;
	}
	#picture_five{
		width: 100% !important;
		height: auto !important;
	}
	#picture_five img{
		width: 100%;
		height: auto;
	}
}

/* FINE VIEWS PER ROLLOVER */



#first {
    background-image: url("../images/sezione_1/first_background_1920_1080.jpg");
}


#first>article{
    width: 100%;
    top: 5px;
    position: absolute;
    z-index: 3;
}

#second>article{
    width: 100%;
    position: absolute;
    z-index: 3;
}

#logo-cucina-popolare{
    position: absolute;
    top: 650px;
    right: 50%;
    margin-right: -320px; 
    z-index: 4;
}
@media (max-width: 768px) {
	#first > article,#second>article{
		position: static;
	}
	#logo-cucina-popolare{
		position: static;
		top: auto;
		right: auto;
		margin-right: 0; 
	}
}

.mask{
    font-size: 1.6em;
}

/*IMMAGINI PAGINA UNO*/
#picture_i_mangiari{
    width: 200px;
}
#picture_il_panificio{
    width: 200px;
}
#picture_gli_tagliatella{
    width: 200px;
}
#picture_resistenza{
    width: 200px;
}
#picture_macelleria{
    width: 200px;
}
/*FINE IMMAGINI PAGINA UNO*/

#second{
    background-image: url("../images/sezione_2/second_background_1920_1080.jpg");
}

#menu-box{
    display: none;
    font-family: Trixie-plain;
    font-weight: lighter;
    padding: 10px;
}

#menu-box h3 {
    text-align: right;
    font-size: 3.5em;
    color: #c1022c;
    display: block;
}

#menu-box li {
    font-size: 1.5em;
    color: #000;
}

/*IMMAGINI PAGINA DUE*/
#picture_hambureger{
    width: 306px;
}
#picture_promo_video{
    width: 218px;
}
#picture_tagliatelle_video{
    width: 208px;
}
#picture_gallery{
    width: 291px;
}
#picture_five{
    width: 192px;
}
/*FINE IMMAGINI PAGINA DUE*/

/*POSIZIONI LABEL PAGINA DUE*/
.floatante_pietanze{
    text-transform: uppercase;
    color: #2d2d2d;
    z-index: 1 !important;
}

.label_float_left{
    width: 50%;
    text-align: right;
    float: left;
}

.label_float_right{
    width: 50%;
    text-align: left;
    float: right;
}

#label_pizza{
    position: absolute;
    margin-top: 320px;
    margin-left: 300px;
    font-size: 3em;
    font-weight: bolder;
    font-family: HelveticaNeue-LT-condensed;
    color: #fff;
    /*text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.7); originale*/
    text-shadow: 1px 5px 5px rgba(0, 0, 0, 0.7);
    text-align: center;
    text-transform: none;
}

#label_caldaia{   
    position: absolute;
    margin-top: 430px;
    margin-left: 180px;
    font-size: 2.3em;
    font-weight: bolder;
    font-family: HelveticaNeue-LT-condensed;
    color: #fff;
    text-shadow: 1px 5px 5px rgba(0, 0, 0, 0.7);
}

#label_panelle{   
    position: absolute;
    margin-top: 580px;
    margin-left: 350px;
    font-size: 2em;
    font-weight: bolder;
    font-family: HelveticaNeue-LT-condensed;
    color: #fff;
    text-shadow: 1px 5px 5px rgba(0, 0, 0, 0.7);
}

#label_cervella{   
    position: absolute;
    margin-top: 670px;
    margin-left: 450px;
    font-size: 2em;
    font-weight: bolder;
    text-align: left;
    font-family: HelveticaNeue-LT-condensed;
    color: #fff;
    text-shadow: 1px 5px 5px rgba(0, 0, 0, 0.7);
}

#label_meusa{   
    position: absolute;
    margin-top: 800px;
    margin-left: 250px;
    font-size: 3em;
    font-weight: bolder;
    font-family: HelveticaNeue-LT-condensed;
    color: #fff;
    text-shadow: 1px 5px 5px rgba(0, 0, 0, 0.7);
}

#label_trippa{   
    position: absolute;
    margin-top: 880px;
    margin-left: 620px;
    font-size: 3.8em;
    font-weight: bolder;
    font-family: HelveticaNeue-LT-condensed;
    color: #fff;
    text-shadow: 1px 5px 5px rgba(0, 0, 0, 0.7);
}

@media screen and (min-width: 960px) and (max-width: 1280px) {
    #label_pizza{
        margin-top: 320px;
        margin-left: 150px;
    }

    #label_caldaia{
        margin-top: 430px;
        margin-left: 90px;
    }

    #label_panelle{
        margin-top: 580px;
        margin-left: 175px;
    }

    #label_cervella{
        margin-top: 670px;
        margin-left: 225px;
    }

    #label_meusa{
        margin-top: 800px;
        margin-left: 125px;
    }

    #label_trippa{
        margin-top: 880px;
        margin-left: 310px;
    }
}

#label_bombette{
    position: absolute;
    margin-top: 130px;
    margin-left: 270px;
    font-size: 3.8em;
    font-weight: bolder;
    font-family: HelveticaNeue-LT-condensed;
    color: #fff;
    text-shadow: 1px 5px 5px rgba(0, 0, 0, 0.7);
}

#label_mozzarella{
    position: absolute;
    margin-top: 340px;
    margin-left: 240px;
    font-size: 2.5em;
    font-family: HelveticaNeue-LT-condensed;
    color: #fff;
    text-shadow: 1px 5px 5px rgba(0, 0, 0, 0.7);
}

#label_gnumareddi{
    position: absolute;
    margin-top: 460px;
    margin-left: 400px;
    font-size: 2.6em;
    font-weight: bolder;
    font-family: HelveticaNeue-LT-condensed;
    color: #fff;
    text-shadow: 1px 5px 5px rgba(0, 0, 0, 0.7);
}

#label_griglia{
    position: absolute;
    margin-top: 600px;
    margin-left: 380px;
    font-size: 4.5em;
    font-family: HelveticaNeue-LT-condensed;
    color: #fff;
    text-shadow: 1px 5px 5px rgba(0, 0, 0, 0.7);
}

#label_lampredotto{
    position: absolute;
    margin-top: 780px;
    margin-left: 340px;
    font-size: 2.2em;
    font-weight: bolder;
    font-family: HelveticaNeue-LT-condensed;
    color: #fff;
    text-shadow: 1px 5px 5px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
	.floatante_pietanze{
		overflow: hidden;
		font-size: 50%;
	}
	.label_float_left,.label_float_right{
		float: none;
		width: auto;
		text-align: left;
	}
	#label_pizza,#label_caldaia,#label_panelle,#label_cervella,#label_meusa,#label_trippa,#label_bombette,#label_mozzarella,#label_gnumareddi,#label_griglia,#label_lampredotto{
		position: static;
		float: left;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		margin: 5%;
		width: 40%;
	}
	#label_panelle,#label_cervella,#label_mozzarella,#label_griglia{
		clear: left;
	}
	#label_mozzarella{
		width: 90%;
		text-align: center;
	}
	.label_float_left p:nth-child(even),.label_float_right p:nth-child(even){
		float: right;
	}
}
/*FINE POSIZIONI LABEL PAGINA DUE*/

#third{
    background-image: url("../images/sezione_3/third_background_1920_1080.jpg");
}

/*INIZIO IMMAGINI PAGINA TRE*/
#picture_fs_honda{
    width: 223px;
}
#picture_gambero_rosso_first{
    width: 336px;
}
#picture_fs{
    width: 338px;
}
#picture_ferrarelle{
    width: 251px;
}
#picture_ex_fornace{
    width: 332px;
}
/*FINE IMMAGINI PAGINA TRE*/

#fourth{
    background-image: url("../images/sezione_4/fourth_background_1920_1080.jpg");
}

/*INIZIO IMMAGINI PAGINA 4*/
#picture_bancone{
    width: 183px;
}
#picture_ordini{
    width: 252px;
}
#picture_gallery_2{
    width: 258px;
}
#picture_citazione{
    width: 183px;
}
#picture_lavagna{
    width: 331px;
}
#picture_posate{
    width: 245px;
}
/*FINE IMMAGINI PAGINA 4*/

/*INIZIO IMMAGNI PAGINA 5*/
#fifth{
    background-image: url("../images/sezione_5/fifth_background_1920_1080.jpg");
}
#picture_bancone_2{
    width: 189px;
}
#picture_gambero_rosso{
    width: 189px;
}
#picture_premi{
    width: 206px;
}
#picture_scuola{
    width: 224px;
}
#picture_posate_2{
    width: 206px;
}
/*FINE IMMAGNI PAGINA 5*/

/*INIZIO IMMAGNI PAGINA 6*/
#sixth{
	position: relative;
	z-index: 2;
    background-image: url("../images/sezione_6/sixth_background_1920_1080.jpg");
}
#picture_grass_fed{
    width: 200px;
}
#picture_la_macella{
    width: 280px;
}
#picture_cosa_si_mangia{
	width: 200px;
}
#picture_macelleria_si_dice_di_noi{
	width: 200px;
}
#picture_cosa_si_compra{
	width: 290px;
}
/*FINE IMMAGNI PAGINA 6*/

/*INIZIO IMMAGNI PAGINA 7*/
#seventh{
	position: relative;
	z-index: 2;
    background-image: url("../images/sezione_7/seventh_background_1920_1080.jpg");
}
#picture_2{
    width: 200px;
}
#picture_4{
    width: 280px;
}
#picture_1{
	width: 200px;
}
#picture_3{
	width: 200px;
}
#picture_5{
	width: 290px;
}
/*FINE IMMAGNI PAGINA 7*/

.floatante_mangiari{
    font-family: Trixie-plain;
    font-size: 1.6em;
    text-align: center;
    z-index: 5 !important;
}

#vino_naturale{
    color: #fff;
    background: #000;
    position: absolute;
    width: 150px;
    padding: 50px 0;
    left: 50%;
    margin-top: 440px;
    margin-left: -380px;
}

#caffe{
    color: #000;
    background: #fff;
    position: absolute;
    width: 150px;
    padding: 50px 0;
    right: 50%;
    margin-top: 760px;
    margin-right: -320px;
    cursor: pointer;
}
#caffe a{
    text-decoration: none;
    color: #000;
}

#floatante_corsi_consulenze{
    font-family: Trixie-plain;
    font-size: 1.6em;
    text-align: center;
    z-index: 5 !important;
}

#floatante_lavora_con_noi{
    font-family: Trixie-plain;
    font-size: 1.6em;
    text-align: center;
    z-index: 5 !important;
}

#lavora_con_noi{
    color: #C1022C;
    background: #fff;
    position: absolute;
    width: 200px;
    padding: 50px 0;
    left: 50%;
    margin-top: 800px;
    margin-left: -420px;
}

#corsi_consulenze{
    color: #C1022C;
    background: #fff;
    position: absolute;
    width: 200px;
    padding: 50px 0;
    left: 50%;
    margin-top: 1400px;
    margin-left: -420px;
}

#floatante_corsi_eventi{
    font-family: Trixie-plain;
    font-size: 1.6em;
    text-align: center;
    z-index: 5 !important;
}
#corsi_eventi{
    color: #C1022C;
    background: #fff;
    position: absolute;
    width: 200px;
    padding: 50px 0;
    right: 50%;
    margin-top: 440px;
    margin-right: -320px;
}

@media (max-width: 768px) {
	#vino_naturale,#caffe,#corsi_consulenze,#corsi_eventi{
		position: static;
		left: auto;
		right: auto;
		margin: 20px 10px;
		padding: 25px 0;
		width: auto;
	}
}

/* Footer */
footer{
    z-index: 6;
    /*background: #000;*/
    position: fixed;
    bottom: 0px;
    width: 100%;
    font-size: 1em;
}

footer a{
    color: #fff;
    text-decoration: none;
}

footer p{
    display: inline-block;
    padding: 0 15px;
    color: #dbdbdb;
    line-height: 3;
    font-size: 1em;
}

footer .black_background{
	overflow: hidden;
    background-color: #000;
    font-size: 13px; 
}
footer .social_block{
    float: right;
    height: 42px;
}

footer .social_block img{
    vertical-align: middle;
}

#social{
	position: fixed;
	bottom: 0;
	right: 0;
	z-index: 7;
	font-family: "HelveticaNeue-LT-condensed", arial, Sans-serif;
}
#social a{
	color: #131313;
	font-size: 15px;
	text-decoration: none;
	text-align: center;
}
#social a.facebook,#designby .facebook{
	display: block;
	width: 45px;
	height: 42px;
	background: url("/images/fb.png") no-repeat center center;
	text-indent: -9999px;
}
#designby{
    padding-right: 190px;
}
#designby .facebook{
	display: none;
}
@media (max-width: 768px) {
	footer{
		position: static;
	}
	footer .social_block{
		float: none;
		height: auto;
	}
	footer p{
		display: block;
		text-align: justify;
	}
	#social{
		display: none;
	}
	#designby{
		position: relative;
		margin-right: 15px;
		padding-right: 0;
	}
	#designby .facebook{
		position: absolute;
		display: block;
		top: -10px;
		right: 0;
	}
}

@media screen and (min-width: 960px) and (max-width: 1200px) {
    .black_background{
        background-color: #000;
        height: 96px;
    }
}