.body {
	width: 320px;
	margin: 0px auto;
}

.only-mobile {
	display: block;
}

.not-mobile {
	display: none;
}

h1 {
	font-weight: bold;
	font-size: 26px;
}

#home-menu {
	/*padding-bottom: 180px;*/
	padding-bottom: 0;
	margin-top: 10px;
}

#main-content {
	padding-bottom: 340px;
}

#menu2-container {
	display: none;
}

#topbar {
	display: none;
}

#mobile-menu-container {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 40px;
	margin-bottom: 5px;
	background-color: rgba(0, 0, 0, 0.85);
	z-index: 99;
}

#mobile-menu-container {
	display: block;
}

#main-content {
	background-image: url('/images/bg.jpg');
	background-size: auto 100%;
	background-repeat: no-repeat;
	background-position: left top;
	padding-top: 41px;
}

#container video {
	display: none;
}

#topbar {
	height: 40px;
	overflow: visible;
}

#topbar > div > a {
	display: none;
}

#topbar > div:first-of-type {
	display: none;
}

#topbar > div {
	position: relative;
	width: 100%;
	text-align: center;
	padding-left: 30px;

}

#topbar div a .fa:first-of-type {
	margin-left: 0;
	font-size: 18px;
	line-height: 42px;
}

#topbar > div a .fa {
	margin-right: 13px;
}

#mobile-menu {
	position: absolute;
	top: 0px;
	left: 0px;
	height: 40px;
	width: 40px;
	background-color: #E1614B;
	z-index: 99;
	text-align: center;
}

#mobile-submenu {
	position: absolute;
	top: 40px;
	left: 0px;
	min-width: 185px;
	text-align: left;

}

#mobile-submenu .col {
	float: left;
	background-color: #FFFFFF;
	width: 100%;

	-webkit-box-shadow: 2px 2px 3px 0px rgba(50, 50, 50, 0.42);
	-moz-box-shadow: 2px 2px 3px 0px rgba(50, 50, 50, 0.42);
	box-shadow: 2px 2px 3px 0px rgba(50, 50, 50, 0.42);
}

#mobile-submenu .col:nth-child(2) {
	display: none;
}

#mobile-menu > .fa {
	width: 40px;
	color: #FFFFFF;
}

#mobile-submenu a {
	display: block;
	border-bottom: 1px solid #EEEEEE;
	padding: 11px 10px;
	color: #333333;
	font-weight: bold;
	font-size: 14px
}

#mobile-submenu a .fa {
	float: right;
}

#mobile-submenu .submenu {
	display: none;
	background-color: #F3F3F3;
}

#mobile-submenu .submenu a {
	padding: 8px 0px;
	padding-left: 20px;
	padding-right: 5px;
	font-weight: normal;
	font-size: 13px;
}

#mobile-submenu a:hover {
	background-color: #E1614B;
	color: #FFFFFF;
}

#mobile-menu > .fa {
	font-size: 19px;
	line-height: 42px;
}

#mobile-social {
	text-align: center;
	width: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	line-height: 40px;
}

#mobile-social a {
	font-size: 17px;
	margin-right: 12px;
}

#mobile-social a:last-of-type {
	margin-right: 0;
}

#topbar > div a.social {
	display: inline-block;
}

#topbar .separator {
	display: none;
}

#home-menu {
	height: auto;
}

#home-menu .row > a {
	width: 100%;
	height: auto;
	line-height: 85px;
	text-align: left;
	padding-bottom: 4px;
}

#home-menu .row > a span {
	display: block;
	padding: 0;
	vertical-align: baseline;
	padding-left: 100px;

	display: inline-block;
	vertical-align: middle;
	line-height: 1em;
}

#home-menu .row > a .fa {
	left: 40px;
	top: 33px;
	right: auto;
	bottom: auto;
	/*display:none;*/
}

#home-menu .row > div.large {
	width: 100%;
	height: auto;
}

#home-menu .row:last-of-type .large {
	width: 100%;
	text-align: left;
}

#customers {
	height: auto;
}

#customers-slider {
	height: auto;
}

#customers-slider .customer {
	width: 100%;
	float: left;
	margin-bottom: 15px;
}

#customers-slider .customer img {
	max-height: 30px;
	position: relative;
}

footer .column:first-of-type {
	width: 100%;
	text-align: center;
}

footer .column hr {
	width: 30px;
	margin: 0 auto;
	margin-top: 20px;
	margin-bottom: 20px;
}

footer .column:nth-child(2),
footer .column:nth-child(3) {
	width: 47.5%;
}

footer .column:nth-child(3) {
	margin-right: 0;
}

footer .column:nth-child(4) {
	width: 100%;
	text-align: center;
}

#social-footer .fa:first-of-type {
	margin-left: 2px;
}

#social-footer {
	font-size: 15px;
}

#logo-container {
	/*display: none;*/
	margin-bottom: 15px;
	margin-top: 15px;
}

#logo-container > div:nth-child(1), #logo-container > div:nth-child(3) {
	display: none;
	width: 20.75%;
	background-color: rgba(0, 0, 0, 0.0);
}

#logo-container > div:nth-child(2) {
	position: relative;
	width: 320px;
	margin: 0 auto;
	float: none;
}

#logo-container > div {
	height: 118px;
}

.contacts-table:first-of-type,
.contacts-table {
	width: 100%;
	margin: 0;
}

.page-buttons {
	text-align: center;
	margin-top: 10px;
}

.page-buttons .btn {
	margin-bottom: 10px;
}

.page-buttons .btn:last-of-type {
	margin-bottom: 0;
}

.black-box {
	width: 100%;
}

.black-box h1 {
	text-align: center;
}

.black-box.title {
	width: 100%;
	margin-top: 5px;
	margin-bottom:5px;
}

#services-container {
	width: auto;
	height: auto;
}

#services-container > a {
	width: 100%;
	height: 228px;
}

#project-screens {
	width: 100%;
}

#window-left .fa, #window-right .fa {
	width: 30px;
	height: 30px;
	font-size: 14px;
	line-height: 31px;
}

#window-right .fa,
#window-left .fa {
	padding-left: 0px;
}

#project-screens {
	height: auto;
}

.dialog-portfolio {
	padding: 7px 0px;
	height: 420px;
}

.dialog-portfolio #info {
	width: 100%;
	height: auto;
	margin-left: 0;
	padding: 5px 10px;
}

#project-screens > img {
	max-width: 100%;
}

#finestra {
	width: auto !important;
}

.dialog-portfolio h2,
.dialog-portfolio h3 {
	text-align: center;
}

.dialog-portfolio h2 {
	font-size:23px;
}

#window-center .description {
	/*height:auto;*/
	max-height: none;
}

#social-footer .fa {
	min-width: 20px;
}

.dialog-portfolio {
	overflow-y: scroll;
}

#portfolio {
	height: 672px;
}

#portfolio > div {
	height: 33.33%;
}

#btn-gmaps {
	text-align: center;
	padding: 25px 0px;
}

#td-btn-send {
	text-align: center !important;
}

.dialog-portfolio #info h4 {
	padding-bottom: 5px;
	margin-bottom: 5px;
}

.window-close {
	left: auto;
	top: 8px;
	right: 10px;
	width: 23px !important;
	z-index: 999;
}

.window-close span {
	display: none;
}

.window-close .btn {
	padding: 5px;
	font-size: 13px;
}

.window-close .fa {
	margin: 0;
}

.logo-container {
	margin-bottom: 5px;
	display: none;
}

.logo-container > div:nth-child(2) {
	width: 320px;
	float: none;
	margin: 0 auto;
}

.logo-container > div:nth-child(1), .logo-container > div:nth-child(3) {
	display: none;
}

.col2 .preview {
	width: 100%;
	margin-bottom: 10px;
}

.col2 .black-box {
	width: 100%;
}

@media screen and (min-width: 480px) {
	.body {
		width: 480px;
	}

	#is_480 {
		display: block;
	}

	.logo-container > div:nth-child(2) {
		float: left;
		width: 43%;
		margin-left: 0.5%;
		margin-right: 0.5%;
	}

	.logo-container > div:nth-child(1), .logo-container > div:nth-child(3) {
		display: block;
		width: 28%;
	}

	#portfolio > div {
		width: 50%;
		height: 171px;
	}

	#portfolio {
		height: 513px;
	}

	#services-container > a {
		height: 342px;
	}
}

#statusbar-container {
	background-color:transparent;
}

@media only screen
and (min-device-width: 320px)
and (max-device-width: 480px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape) {

	#mobile-submenu a {
		padding: 7px 10px;
	}

	#mobile-submenu {
		min-width: 400px;
	}

	#mobile-submenu .col {
		width: 50%;
	}

	#mobile-submenu .col:nth-child(2) {
		display: block;
	}

	#mobile-menu .col:first-of-type {
		/*padding-right: 5%;*/
	}

	#mobile-menu .col:first-of-type > a:nth-last-of-type(-n+3) {
		display: none;
	}

	#mobile-submenu .submenu a {
		padding: 5px 14px
	}
}
