/* RESPONSIVE / TABLET */

@media only screen and (max-width: 1024px) 
{
	/* AUX */

	.__wideonly
	{
		display: none !important;
	}
}

@media only screen and (max-width: 768px) 
{	
	/* FORMAT > MESSAGES */

	div.messaggio_generico
	{
		margin-left: auto;
		right: auto;
		width: 96%;
		padding: 0px 8px;
	}

	span.basic_caption, 
    div.basic_caption
    {
    	font-size: 110%;
    }

    /* BASE TABLE */

    .basic_wrap
	{
	    width: 100vw;
	}

    table.basic_table tr.basic_total_mobile
    {
    	border-top: 1px solid #E2E2E2;
    	border-bottom: none;
    	background-color: #FFFFFF;
    }

    table.basic_table tr.basic_total_mobile td
    {
    	font-size: 120%;
    }

	/* FRAME TABLE */

	table.frame_table td
	{
		display: block;	
	}

	table.frame_table td.col_2
	{
	    width: 100%;
	}

	table.frame_table td.__protover_hide
	{
		display: none;
	}
	
	/* EDIT TABLE */

	table.edit_table tr.col_tblt_3
	{
		display: inline-block;
		width: 33%;
	}

	table.edit_table td
	{
		display: block;
	}

	table.edit_table td.col_tblt_none
	{
		display: none;
	}

	table.edit_table td.chk
	{
		margin-top: 8px;
	}

	table.edit_table td.basic_caption
	{ 
		width: 100%;
        text-align: left;
        margin-top: 8px;
        line-height: 16px;
        letter-spacing: 1px;
        font-size: 110%;
    }

    /* AUX-INFO TABLE */

    table.edit_table td table.auxinfo_table td
    {
    	display: table-cell;
    }

    /* PROTOTYPE TABLE */

	table.proto_spec_table td,
	table.proto_spec_table table.edit_table td
	{
	    display: table-cell;	   
	}

	table.proto_spec_table table.edit_table td.proto_label
	{
		font-size: 110%;
	}

    /* FREE TABLE */

	table.free_table td
	{
	    padding: 4px 8px;
	}
	
	table.free_table td.col_2
	{	
	    width: 50%;
	    display: table-cell;
	}

	table.free_table td.col_4
	{	
	    width: 25%;
	    display: table-cell;
	}
	
    table.free_table td.col_tblt_2
	{
		display: inline-block;
		max-width: 45%;
		width: 45%;
	}

    /* INPUTS */

    input,
    textarea
	{
	    width: 100%;
	    font-size: 140%;
	    padding: 8px;
	}

	input.halfsize 
	{
	    width: 50%;
	}

	form .selectbox
	{	 
	    width: 100%;
	}

	div.halfselectwrap
	{
	    width: 50%;
	}

	div.dragtargetbox
	{
	    min-height: auto;
	    padding: 0px;
	    border: none;
	}

	div.dragtargetbox span.dragtargetmsg
	{
		display: none;
	}

	/* BUTTONS */

	div.iconsbuttonbar a, 
	div.iconsbuttonbar button
	{
	    margin-bottom: 8px;
	}

	/* AUX */

    .__desktoponly
    {
        display: none !important;
    }    
}

/* RESPONSIVE / MOBILE */

@media only screen and (max-width: 600px) 
{
	/* NAVIGATION */

	div#__gm_main_nav__
	{
		display: none !important;
	}

	/* BASE TABLE */

    .basic_wrap
	{
	    width: 100vw;
	}

	/* FREE TABLE */

    table.free_table td,
    table.free_table td.col_tblt_2
	{
		display: block;
		max-width: 96%;
		width: 96%;
	}

	/* PAGER */

	div.t_basic_controls div.t_basic_element
	{
		display: block;
	}

	/* FORM > BUTTONS */

	div.buttonbar a,
	div.buttonbar button,
	div.buttonbar input { margin: 4px auto; }

	div.buttonbar .btn,
	div.buttonbar a.btn
	{
	    width: 120px;
	    margin: 4px;
	}

	/* FOOTER  */

	div#footer
	{
		padding: 16px;
	}

	.promptbox 
	{
	    width: 90%;
	    margin-left: -45%;
	}

	/* FORM > FUNCTIONS */

	.more_functions_wrap
	{
	    display: none;
	}

	.more_functions_btn_show
	{
	    display: none;
	}

	/* MAIL > SNIPPET */

	a.mail_snippet,
	a.tel_snippet
	{
	    max-width: 120px;
	}

	/* AUX */

	.__tablet
    {
        display: none !important;
    }

	.__mobileonly
    {
        display: unset !important;
    }
}