/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

.mmtversion > p { margin-bottom: 0; font-size: 0.8em; }
.control-group input.mmtupload { height: 25px; line-height: 25px; padding: 4px 6px; }

table.resp-table td img.mapthumb { max-width: 240px; }

/*------------------------ Responsive iframe ------------------------- */
/* iframe 16:9 responsive (da applicare al div contenitore) */
.iframe_16_9  {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0px;
    height: 0;
    overflow: hidden;
}
/* iframe posizionato in maniera assoluta */
.iframe_16_9 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* iframe 4:3 responsive (da applicare al div contenitore) */
.iframe_4_3  {
    position: relative;
    padding-bottom: 75%;
    padding-top: 0px;
    height: 0;
    overflow: hidden;
}
/* iframe posizionato in maniera assoluta */
.iframe_4_3 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Riduzione margini smartphone*/ 
@media (max-width: 479px){ 
 .uk-container {
    box-sizing: border-box;
    max-width: 1060px;
    padding: 0px 1px;
}

.tm-header {
    margin-top: 5px;
    margin-bottom: 5px;
}

.uk-navbar {
    padding: 10px;
	border-bottom: 2px solid #999999;
}

}

@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px)  {
	/* Force table to not be like tables anymore */
	table.resp-table, table.resp-table thead, table.resp-table tbody, table.resp-table th, table.resp-table td, table.resp-table tr {
		display: block;
	}
	/* Hide table headers (but not display: none;, for accessibility) */
	table.resp-table thead tr {
		display:none;
	}
	table.resp-table tr { border: 1px solid #ccc; margin-bottom:15px }
	table.resp-table td { border: none; border-bottom: 1px solid #eee; }
	table.resp-table td.set-before {
		/* Behave  like a "row" */
		position: relative;
		padding-left: 50% !important;
	}
	table.resp-table td.set-before:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 5px;
		left: 5px;
		width: 45%;
		padding-right: 10px;
		white-space: nowrap;
	}
	table.resp-table td img.mapthumb { max-width: 100%; display: block; margin: auto; }
	
}

.osm-plan-price {
    background: #069;
    color: #fff;
    padding: 20px 0 10px;
}