/*
* This CSS file is responsible for auto-adjust
* of user profiles, responsive styles,
* media queries, width issues
*/

div.foxpm-width-2 {
    width: 48%;
    margin-right: 4%;
}

div.foxpm-width-2:nth-of-type(2n) {
    width: 48%;
    margin-right: 0;
}

div.foxpm-width-3 {
    width: 31%;
    margin-right: 3%;
}

div.foxpm-width-3:nth-child(3n) {
    width: 31%;
    margin-right: 0;
}

div.foxpm-width-2 div.foxpm-field-name, div.foxpm-width-3 div.foxpm-field-name {
    font-size: 16px;
}

div.foxpm-width-2 div.foxpm-pic, div.foxpm-width-3 div.foxpm-pic {
    margin: 0 10px 0 0;
}

div.foxpm-width-2 div.foxpm-social div, div.foxpm-width-3 div.foxpm-social div {
    padding: 6px 0 9px 0;
}

div.foxpm-width-2 .foxpm-main, div.foxpm-width-3 .foxpm-main {
    padding: 20px 20px 0 20px;
}

div.foxpm-width-2 .foxpm-field-type, div.foxpm-width-3 .foxpm-field-type {
    width: 50%;

}

div.foxpm-width-2 .foxpm-field-value, div.foxpm-width-3 .foxpm-field-value {
    width: 50%;
}

label.foxpm-field-type-width-2, label.foxpm-field-type-width-3 {
    display: none;
}

div.foxpm-width-2 i.foxpm-icon-none, div.foxpm-width-3 i.foxpm-icon-none {
    display: none;
}

/* Using in sidebar */
div.foxpm-sidebar div.foxpm-field-name {
    font-size: 16px;
}

div.foxpm-sidebar div.foxpm-pic {
    margin: 0 10px 0 0;
}

div.foxpm-sidebar div.foxpm-social div {
    padding: 6px 0 9px 0;
}

div.foxpm-sidebar .foxpm-main {
    padding: 20px 20px 0 20px;
}

div.foxpm-sidebar .foxpm-field-type {
    width: 50%;

    font-size: 13px;
}

div.foxpm-sidebar .foxpm-field-value {
    width: 50%;
    font-size: 13px;
}

label.foxpm-field-type-foxpm-sidebar {
    display: none !important; /*Important declaration needed for Enfold theme*/
}

div.foxpm-sidebar i.foxpm-icon-none {
    display: none;
}

div.foxpm-sidebar input.foxpm-input-left, div.foxpm-sidebar input.foxpm-input-right {
    float: none;
    width: 100%;
}

/* Responsive media query */
@media only screen and (min-width: 768px) and (max-width: 959px) {

	#TB_window
	{
		  margin-left:-44% !important;
			width: 86% !important;
	}

    .foxpm-preview-current{
        max-width: 200px !important;
    }
	
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
     
    .jcrop-holder #foxpm-preview-pane {
        display: block;
        position: absolute;
        z-index: 2000;
        right: -190px;
        padding: 0 6px;

    }


    .foxpm-preview-current{
        max-width: 200px !important;
    }
	
		#TB_window
		{
			margin-left:-44% !important;
			width: 86% !important;
		}

    div.foxpm-field-name {
        font-size: 16px;
    }

    div.foxpm-pic {
        margin: 0 10px 0 0;
    }

    div.foxpm-social div {
        padding: 6px 0 9px 0;
    }

    .foxpm-main {
        padding: 20px 20px 0 20px;
    }
    
/*AB edit for GS */
    .foxpm-field-type {
        width: 50%;
        margin-right:0%;
    }
    
/*AB edit for GS */
    .foxpm-field-value {
        width: 50%;
        margin-left:0%;
    }

    i.foxpm-icon-none {
        display: none;
    }

    input.foxpm-input-left, input.foxpm-input-right {
        float: none;
        width: 100%;
    }

    .foxpm-widget-main {
        padding: 20px 20px 0 20px;
    }

}

@media only screen and (max-width: 479px) {
    .foxpm-preview-current{
        max-width: 200px !important;
    }
	
		#TB_window
		{
			margin-left:-44% !important;
			width: 86% !important;
		}

    div.foxpm-width-2, div.foxpm-width-3 {
        width: 100%;
        margin-right: 0%;
    }

    div.foxpm-width-2:nth-of-type(2n) {
        width: 100%;
        margin-right: 0;
    }

    div.foxpm-width-3:nth-child(3n) {
        width: 100%;
        margin-right: 0;
    }

    div.foxpm-field-name {
        font-size: 16px;
    }

    div.foxpm-pic {
        margin: 0 10px 0 0;
    }

    div.foxpm-social div {
        padding: 6px 0 9px 0;
    }

    .foxpm-main {
        padding: 20px 20px 0 20px;
    }
/*AB edit for GS */
    .foxpm-field-type {
        width: 45%;
        margin-right:5%;
    }
/*AB edit for GS */
    .foxpm-field-value {
        width: 45%;
        margin-left:5%;
    }

    i.foxpm-icon-none {
        display: none;
    }

    input.foxpm-input-left, input.foxpm-input-right {
        float: none;
        width: 100%;
    }

    .foxpm-widget-main {
        padding: 20px 20px 0 20px;
    }

}

@media only screen and (min-width: 261px) and (max-width: 300px) {
	
		#TB_window
		{
			margin-left:-44% important;
			width: 86% important;
		}
	

    div.foxpm-width-2, div.foxpm-width-3 {
        width: 100%;
        margin-right: 0%;
    }

    div.foxpm-width-2:nth-of-type(2n) {
        width: 100%;
        margin-right: 0;
    }

    div.foxpm-width-3:nth-child(3n) {
        width: 100%;
        margin-right: 0;
    }

    div.foxpm-field-name {
        font-size: 16px;
    }

    div.foxpm-pic {
        margin: 0 10px 0 0;
    }

    div.foxpm-social div {
        padding: 6px 0 9px 0;
    }

    .foxpm-main {
        padding: 20px 20px 0 20px;
    }

    .foxpm-field-type {
        width: 45%;
        margin-right:5%;
    }

    .foxpm-field-value {
        width: 45%;
        margin-left:5%;
    }

    i.foxpm-icon-none {
        display: none;
    }

    input.foxpm-input-left, input.foxpm-input-right {
        float: none;
        width: 100%;
    }

    .foxpm-widget-main {
        padding: 20px 20px 0 20px;
    }

}


/* Custom Search Form */

/*Landscape Mode*/

@media screen and (max-device-width: 480px) 
{ 
		#TB_window
		{
			margin-left:-44% !important;
			width: 86% !important;
		}
	
    .foxpm-search-input-left {
        float: left;
        width: 100% !important; /*Fix for popular themes*/
        margin-bottom: 10px !important;
    }

    .foxpm-search-input-right {
        float: left;
        width: 100% !important; /*Fix for popular themes*/
        margin-bottom: 0px !important;
    }
}
/* Portrait Mode */

@media screen and (max-device-width: 320px) 
{ 
		#TB_window
		{
			margin-left:-44% !important;
			width: 86% !important;
		}
			
    .foxpm-search-input-left {
        float: left;
        width: 100% !important; /*Fix for popular themes*/
        margin-bottom: 10px !important;
    }

    .foxpm-search-input-right {
        float: left;
        width: 100% !important; /*Fix for popular themes*/
        margin-bottom: 0px !important;
    }
}







/* Using as a sidebar widget */
div.foxpm-sidebar-widget div.foxpm-field-name {
    font-size: 16px;
}

div.foxpm-sidebar-widget div.foxpm-pic {
    margin: 0 10px 0 0;
}

div.foxpm-sidebar-widget div.foxpm-social div {
    padding: 6px 0 9px 0;
}

div.foxpm-sidebar-widget .foxpm-main {
    padding: 20px 20px 0 20px;
}

div.foxpm-sidebar-widget .foxpm-field-type {
    width: 50%;
    font-size: 13px;
}

div.foxpm-sidebar-widget .foxpm-field-value {
    width: 50%;
    font-size: 13px;
}

label.foxpm-field-type-foxpm-sidebar {
    display: none !important; /*Important declaration needed for Enfold theme*/
}

div.foxpm-sidebar-widget i.foxpm-icon-none {
    display: none;
}

div.foxpm-sidebar-widget input.foxpm-input-left, div.foxpm-sidebar-widget input.foxpm-input-right {
    float: none;
    width: 100%;
}

div.foxpm-sidebar-widget div.foxpm-field-name {
    font-size: 16px;
}

div.foxpm-sidebar-widget .foxpm-widget-main {
    padding: 20px 20px 0 20px;
}
