@media only screen and (max-width: 1460px) {

	body {
		font-size: 14px;
	}
	
	.ef-home-content {
		bottom: 30px;
	}

	.ef-col-inner {
		padding: 110px 2.4% 7em;
	}

	.ef-prev-page, .ef-next-page, .ef-back-arrow {
		width: 30px;
		height: 30px;
		background-image: url('../images/to-page-pad.png');
	}

	.ef-dark-theme .ef-prev-page, .ef-dark-theme .ef-next-page {
		background-image: url('../images/to-page-pad-dark.png');
	}

	.ef-back-arrow {
		background-image: url('../images/to-page-pad1.png');
	}

	.ef-dark-theme .ef-back-arrow {
		background-image: url('../images/to-page-pad1-dark.png');
	}

	#controls div, #controls a, #prevslide, #nextslide, #slidecounter {
		margin-right: 14px;
	}

	ul#slide-list li, #slidecounter {
		line-height: 32px;
		height: 32px
	}

	#tray-button div {
		background-image: url('../images/fold-page-small.png');
	}

	#ef-topbar-button {
		background-image: url('../images/topbar-button-small.png');
		right: 5.8%;
	}

	#tray-button div, #ef-topbar-button {
		width: 33px;
		height: 33px;
	}

	#ef-topbar-button, #tray-button {
		top: 37px;
	}

	a#play-button {
		border-style: solid;
		border-width: 3px;
		height: 28px;
		width: 28px;
	}

	#prevslide, #nextslide {
		margin-top: 3px;
		width: 28px;
		height: 28px;
		background-image: url('../images/slider-arrows-small.png');
	}

	.ef-next-page, .ef-back-arrow {
		background-position: left bottom;
	}
	
	div.ef-description {
		margin-bottom: 14px;
	}

	div.ef-description p {
		padding-top: 14px;
	}

	#ef-header, .ef-nav-wrapper {
		top: 37px;
	}

	.ef-nav-wrapper, .ef-navmenu, .ef-navmenu ul, .top-bar-section ul {
		height: 33px;
	}

    .top-bar-section .children li a, .top-bar-section .sub-menu li a {
    	line-height: 23px;
    }
	
	.ef-navmenu li a {
		padding: 0 0.9em;
	}

	#slider-controls-wrapper {
		bottom: 20px
	}

	#slidecaption {
		bottom: 110px;
		width: 25%;
	}

	#controls-wrapper, .dots-play {
		padding: 40px 0;
	}
	
	.address-bar{
		position: absolute;
		bottom: 100px;
	}


	#thumb-back, #thumb-forward {
		margin-right: 14px;
		width: 28px;
		height: 28px;
		margin-top: 14px;
		background-image: url('../images/thumb-next-prev-small.png');
	}

	.ef-menu-tab {
		width: 33px;
		height: 33px;
		background-image: url('../images/ef-menu-tab-small.png');
	}

	.flex-direction-nav a {
		background-image: url('../images/slider-arrows-small.png');
		width: 28px;
		height: 28px;
	}

	.flex-direction-nav {
		margin-top: -14px;
	}

	.flex-direction-nav a.flex-prev {
		margin-left: -28px;
	}

	.ef-tooltip {
		width: 70px;
		margin-left: -45px;
		padding: 0.7em 10px;
	}

	#controls a:hover .ef-tooltip {
		bottom: 45px;
	}

	#ef-topbar-button:hover .ef-tooltip, #tray-button div:hover .ef-tooltip {
	 	top: 50px;
	}

}

@media only screen and (max-width: 1279px) {
	.widget_p-post-nav .ef-button.ef-big-btn, .widget_p-post-nav .ef-button.ef-big-btn.ef-prev {
		padding: 10px 13px;
		background-image: url('../images/ef-button3.png');
		background-repeat: repeat-x;
	}
}

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

	/* Transitions */
	a, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, .ef-navmenu li a, a#tray-button, #prevslide, #nextslide, #thumb-back, #thumb-forward, a#tray-button, ul#thumb-list li img, .social-icns li a, .ef-prev-page, .ef-next-page, a#play-button, .flex-direction-nav li a, .proj-img a.lb, .proj-img a.ef-read-more, .ef-post-details div a, .ef-form div.send-wrap div input, #ef-office-1, #ef-office-2, .ef-button, .widget_portfolio_categories ul li a, .jflickr li a span, #ef-topbar-button, #tray-button div, .ef-overlay, .isotope .isotope-item {
		transition: none;
		-webkit-transition: none;
		-moz-transition: none;
		-ms-transition: none;
		-o-transition: none;
	}
	
	.ef-home-content {
		position: static;
		width: auto;
		-webkit-border-radius: 0;
		-moz-border-radius: 0;
		border-radius: 0;
	}
	
	.ef-dark-theme .ef-home-content {
		border-bottom: 1px solid #424242;
	}
	
	ul#supersized, ul#supersized li {
		position: absolute!important;
	}
	
	#ef-footer {
		text-align: center;
	}
	
	.ef-inner-header {
		position: relative;
		z-index: 1;
		height: auto;
		padding: 20px 0 25px;
		width: auto;
		border-bottom: 1px solid #ececec;
		-moz-box-shadow: 0px 0px 0 3px rgba(0, 0, 0, 0.02);
		-webkit-box-shadow:  0px 0px 0 3px rgba(0, 0, 0, 0.02);
		        box-shadow:  0px 0px 0 3px rgba(0, 0, 0, 0.02);		        
	}
	
	.ef-dark-theme .ef-inner-header {
		border: 0;
	}
	
	.ef-inner-header:before, .ef-inner-header:after {
	    content: '\0020';
	    display: block;
	    overflow: hidden;
	    visibility: hidden;
	    width: 0;
	    height: 0;
	    float: none;
	}

	.ef-inner-header:after {
	    clear: both
	}
	
	.ef-logo {
		display: none;
	}
	
	.home .ef-logo {
		display: block;
	}
	
	.page .ef-inner-header, .single .ef-inner-header, .archive .ef-inner-header, .search .ef-inner-header {
		padding-left: 50px;
	}
	
	.page.home #ef-header {
		display: block;
	}
	
	#controls {
		display: block!important;
	}
	
	#slider-controls-wrapper {
		z-index: -100000;
	}

	.ef-portfolio .ef-overlay {
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
	}

	body {
		font-size: 17px;
		height: 100%;
	}

	body, .ef-column, .ef-content {
		overflow: auto!important;
	}

	.one_fourth, .one_sixth {
	    width: 47.6%;
	}

	.ef-closed-page #ef-header, .ef-closed-page .ef-slider, .ef-slider-overlay, div#ef-topbar-button {
		display: none!important;
	}

	#ef-topbar {
		height: auto;
	}

	.ef-topbar-inner {
		padding: 3em 2.4%;
	}

	#ef-topbar, #ef-footer {
		position: static;
	}

	.ef-sidebar {
		padding: 3em 2.4%;
	}

	.ef-sidebar .one_half {
		float: left;
		width: 47.6%;
		margin-left: 2.4%;
	}

	.ef-sidebar .shortcode-wrapper, .widget_p-post-nav .shortcode-wrapper {
		margin-left: -2.4%;
	}

	.ef-filter {
		display: none;
	}
	
	.ef-mobile-category-wrapper, #ef-mobile-menu-wrapper {
		display: block;
	}
	
	.ef-alt-nav {
		float: right;
		display: block;
	}

	.portfolio div.ef-description {
		padding: 0.3em 1em;
		width: auto;
	}

	.ef-description, .ef-page-details, .ef-logo-wrapper, .ef-content, #ef-slider, #controls, #tray-button {
		position: static;
	}

	.ef-logo-wrapper, #progress-back, #controls-wrapper, #controls, .ef-page-details, #tray-button {
		z-index: auto;
	}

	.gradi, #tray-button, .ef-nav-wrapper, .ef-inner-header:before, a#play-button, #controls-wrapper span {
		display: none!important;
	}

	#ef-header {
		position: absolute;
		width: auto;
		top: 20px;
		width: 203px;
		padding-left: 2.4%;
	}

	.ef-logo-wrapper {
		width: 170px;
		float: left;
	}

	.ef-logo {
		padding: 0 15% 0 0;
	}

	.ef-slider .ef-inner-header {
		padding: 20px 0 25px 253px;
	}

	.ef-slider .ef-page-details {
		padding: 0 2.4% 0 0;
		overflow: hidden;
	}

	.ef-slider .ef-description {
		margin-left: 0;
	}

	.ef-slider .ef-page-details h1, .home .ef-page-details h1 {
		display: none;
	}

	.dots-play {
		position: absolute;
		width: 100%;
		margin: 0;
		padding: 10px 0;
		left: auto!important;
		text-align: center;
		z-index: 20!important;
	}

	ul#slide-list {
		display: inline;
		display: inline-block;
		float: none!important;
		text-align: center;
	}
	
	ul#slide-list li {
		margin: 0 7px!important;
		display: inline!important;
		display: inline-block!important;
		float: none!important;
	}

	#progress-back {
		position: absolute;
		bottom: 0;
	}

	#controls-wrapper {
		left: 0;
		top: 0;
		width: 100%;
		bottom: auto;
		padding: 0;
		height: 0;
		border: 0;
	}

	.ef-column {
		position: static;
		height: auto;
		width: auto;
	}

	.ef-col-inner {
		padding: 50px 2.4% 2em;
	}

	.ef-content {
		height: auto;
		min-height: 100%;
	}

	.ef-page-details {
		padding: 0 2.4%;
		display: block;
	}

	.ef-page-details h1, .ef-dark-theme .ef-page-details h1 {
		padding-bottom: 0;
		background: transparent;
		font-size: 2em!important;
	}

	div.ef-description {
		margin: 0 0 0 2.4%;
		padding-top: 0;
		width: 40%;
		background: none!important;
	}
	
	div.ef-page-details h1 {
		margin-bottom: 0;
	}

	div.ef-description p {
		text-align: left;
		padding-top: 0;
	}

	.ef-description, .ef-page-details h1 {
		display: block;
		float: left;
	}

	.ef-prev-page, .ef-next-page, .ef-back-arrow, .ef-description {
		margin: 0 0 0 14px;
	}

	a#prevslide, a#nextslide {
		position: absolute;
		margin: 0;
		top: 50%;
		width: 44px;
		height: 44px;
		background-image: url('../images/slider-arrows-pad.png');
	}

	a#prevslide:hover, a#nextslide:hover {
		background-color: transparent;
		background-position: left top;
	}

	a#prevslide:hover {
		background-position: right top;
	}

	a#prevslide {
		left: 20px;
	}

	a#nextslide {
		right: 20px;
	}

	.shortcode-clear {
	    clear: both;
	    display: block;
	    overflow: hidden;
	    visibility: hidden;
	    width: 0;
	    height: 0
	}

	.flex-direction-nav a.flex-prev {
		margin: 0!important;
	}

	.flex-direction-nav {
		   -moz-opacity: 1!important;
		        opacity: 1!important;
	}

	#contact .ef-col-inner {
		padding: 0;
	}

	.ef-map {
		position: relative;
		top: auto;
		width: 100%;
		height: 200px;
	}

	.ef-sidebar-wrapper {
		width: auto;
		max-width: none;
		float: none;
	}

	.ef-sidebar .ef-sidebar-wrapper {
		margin: 0;
	}

	.ef-form-column {
		margin-left: 2.4%;
	}

	.ef-post-wrapper {
		float: none;
		width: auto;
	}

	#ui-lightbox-overlay {
		cursor: default;
	}

	#ui-lightbox-button-close {
		display: block;
	}

	.ef-tooltip {
		display: none;
		visibility: hidden;
	}

	#supersized, #supersized li {
		position: absolute;
	}

	.widget_p-post-nav .ef-big-btn.ef-big-btn.ef-prev {
		background-image: url('../images/ef-button2.png');
		padding: 10px 13px 10px 48px;
		background-position: left center;
	}

	.widget_p-post-nav .ef-big-btn.ef-big-btn {
		background-image: url('../images/ef-button.png');
		padding: 10px 48px 10px 13px;
		background-position: right center;
	}
	
	.ef-portfolio .shortcode-wrapper {
		padding: 0;
	}
	
	.jflickr li a span {
		display: none!important;
	}
}

@media only screen and (max-width: 800px) {

	#ef-header {
		width: 193px;
	}

	.ef-logo-wrapper {
		width: 160px;
	}

	div.ef-description {
		display: none;
	}
	
	.page-template-pg-portfolio-php div.ef-description {
		display: block;
	}

	.ef-page-details h1 {
		font-size: 1.8em!important;
	}

	.ef-inner-header {
		padding: 15px 0 20px 0;
	}
	
	.ef-slider .ef-inner-header {
		padding: 15px 0 20px 170px;
	}

	#ef-header {
		top: 15px;
	}

	a#nextslide {
		right: 0;
	}

	a#prevslide {
		left: 0;
	}
	
	.gallery-item {
		float: none!important;
		width: auto!important;
	}
	
	.pt-column {
		float: none;
		width: 100%!important;
		margin: 0 0 2em;
	}
	
	.price-table .pt-column .price-item.recomended  {
		margin: 0;
	}
}

@media only screen and (max-width: 500px) {

	.ef-video iframe, .ef-video object, .ef-video embed {
		max-width: 100%;
	}

	#ef-header {
		width: 173px;
	}

	.ef-logo-wrapper {
		width: 140px;
	}

}

@media only screen and (max-width: 500px) and (orientation:landscape) {
	.widget_p-post-nav .ef-big-btn.ef-big-btn.ef-prev, .widget_p-post-nav .ef-button.ef-big-btn {
		padding: 10px 13px;
	}
	
	.widget_p-post-nav .ef-big-btn.ef-big-btn.ef-prev {
		background-position: -50px center;
	}
	
	.widget_p-post-nav .ef-button.ef-big-btn {
		background-position: 300px center;
	}
}

@media only screen and (max-width: 500px) and (orientation:portrait) {

	body, html, .ef-content, .ef-column {
		width: auto!important;
	}

	.one_half, .one_fourth, .one_sixth {
		float: none!important;
		width: auto!important;
		position: static!important;
	}
	
	.ef-item, .ef-item-p {
		float: none!important;
		width: 100%;
	}

	.shortcode-wrapper.isotope {
		height: auto!important;
	}
	
	.shortcode-wrapper .isotope-item {
		position: static!important;
		-moz-opacity: 1!important;
		-webkit-opacity: 1!important;
		opacity: 1!important;
	}

	.ef-sidebar-wrapper {
		height: auto!important;
	}

	.ef-cont-column, .ef-form-column {
		float: none;
		width: auto;
		margin: 0;
	}
	
	.page-template-pg-portfolio-php div.ef-description {
		display: none;
	}

}

/* Retina 2x graphics */

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
	
	ul.star li, .price-content ul li.ef-yes span {
		background-image: url('../images/retina/star.png');
		background-size: 16px 17px;
	}
	
	.ef-alertBox span, .ef-list span {
		background-image: url('../images/retina/alert-close.png');
		background-size: 16px 16px;
	}
	
	.ef-badge {
		background-image: url('../images/retina/badge.png');
		background-size: 102px 105px;
	}
	
	.widget_categories ul li {
		background-image: url('../images/retina/blog-cats.png');
		background-size: 10px 10px;
	}

	#ef-topbar .widget_categories ul li {
		background-image: url('../images/retina/blog-cats1.png');
		background-size: 10px 10px;		
	}
	
	.ef-no-img .proj-img {
		background-image: url('../images/retina/blog-icn.png');
		background-size: 40px 40px;
	}
	
	.comments-list .post-comm:before {
		background-image: url('../images/retina/comments-corner.png');
		background-size: 8px 16px;
	}
	
	.ef-big-btn, .post-comm a.comment-reply-link, .widget_p-post-nav .ef-big-btn.ef-big-btn, .ef-button.ef-big-btn, .ef-big-btn.ef-theme-btn, .ef-slide-link, .ef-big-btn.ef-big-btn.ef-prev, .ef-sc-button {
		background-size: 800px 50px;
	} 
	
	.ef-big-btn, .post-comm a.comment-reply-link, .widget_p-post-nav .ef-big-btn.ef-big-btn, .ef-button.ef-big-btn, .ef-sc-button  {
		background-image: url('../images/retina/ef-button.png');
	}
	
	.ef-big-btn.ef-theme-btn, .ef-slide-link, .ef-sc-button.ef-theme, .ef-sc-button.ef-custom {
		background-image: url('../images/retina/ef-button1.png');
	}
	
	.ef-big-btn.ef-big-btn.ef-prev {
		background-image: url('../images/retina/ef-button2.png');
	}
	
	#ef-topbar .widget_recent_entries ul li {
		background-image: url('../images/retina/entries.png');
		background-size: 10px 10px;
	}
	
	.widget_recent_entries ul li, .comment-edit-link {
		background-image: url('../images/retina/entries1.png');
		background-size: 10px 10px;
	}
	
	.ef-office {
		background-image: url('../images/retina/home-small.png');
		background-size: 12px 50px;
	}
	
	.cont-phone, .cont-email, .cont-adress, #ef-topbar .cont-phone, #ef-topbar .cont-email, #ef-topbar .cont-adress {
		background-size: 9px 10px;
	}
	
	.cont-phone {
		background-image: url('../images/retina/phone.png');
	}
	
	#ef-topbar .cont-phone {
		background-image: url('../images/retina/phone1.png');
	}

	.cont-email {
		background-image: url('../images/retina/letter.png');	
	}
	
	#ef-topbar .cont-email {
		background-image: url('../images/retina/letter1.png');
	}

	.cont-adress {
		background-image: url('../images/retina/home1.png');
	}
	#ef-topbar .cont-adress {
		background-image: url('../images/retina/home2.png');
	}
	
	.widget_recent_comments ul li {
		background-image: url('../images/retina/latest-posts1.png');
		background-size: 10px 10px;
	}

	#ef-topbar .widget_recent_comments ul li {
		background-image: url('../images/retina/latest-posts.png');
		background-size: 10px 10px;
	}
	
	.ef-older-pg {
		background-image: url('../images/retina/paging-arrows.png');
		background-size: 10px 40px;
	}
	
	.ef-newer-pg {
		background-image: url('../images/retina/paging-arrows.png');
		background-size: 10px 40px;
	}
	
	.ef-button, .comment-reply-link {
		background-image: url('../images/retina/read.png');
		background-size: 8px 5px;
	}
	
	#search .search-btn input {
		background-image: url('../images/retina/search.png');
		background-size: 37px 28px;
	}
	
	.ef-post-slider .flex-control-nav li a, ul#slide-list li a {
		background-image: url('../images/retina/slider-dot.png');
		background-size: 10px 20px;
	}
	
	.widget_twitter ul li {
		background-image: url('../images/retina/twt.png');
		background-size: 14px 16px;
	}
	
	#ef-topbar .widget_twitter ul li {
		background-image: url('../images/retina/twt1.png');
		background-size: 14px 16px;
	}
	
	.widget_archive ul li, .widget_links ul li, .widget_meta ul li, .widget_pages ul li {
		background-image: url('../images/retina/widget-list.png');
		background-size: 10px 10px;
	}

	#ef-topbar .widget_archive ul li, #ef-topbar .widget_links ul li, #ef-topbar .widget_meta ul li, #ef-topbar .widget_pages ul li {
		background-image: url('../images/retina/widget-list1.png');
		background-size: 10px 10px;
	}
	
	.ef-team-social a {
		background-image: url("../images/retina/content/social/social-icns.png");
		background-size: 200px 200px;
	}
	
	#tray-button div, #ef-topbar-button {
		background-size: 78px 78px;
	}
	
	#ef-topbar-button {
		background-image: url('../images/retina/topbar-button.png');		
	}
	
	#tray-button div {
		background-image: url('../images/retina/fold-page.png');
	}
	
	.ef-menu-tab {
		background-image: url('../images/retina/ef-menu-tab.png');
		background-size: 39px 39px;
	}
	
	.ef-prev-page, .ef-next-page, .ef-dark-theme .ef-back-arrow {
		background-size: 37px 74px;
	}
	
	.ef-prev-page, .ef-next-page {
		background-image: url('../images/retina/to-page-small.png');
	}
	
	.ef-back-arrow {
		background-image: url('http://www.ricartgallerymiami.com/wp-content/themes/sniper/images/retina/to-page-small1.png');
	}
	
	.ef-dark-theme .ef-back-arrow {
		background-image: url('../images/retina/to-page-small1-dark.png');
	}
	
	.flex-direction-nav a, #prevslide, #nextslide {
		background-image: url('../images/retina/slider-arrows.png');
		background-size: 70px 70px;
	}
	
	.ef-toggle-box.toggle-icn .toggle-head, .ef-accordion .ui-accordion-header .ui-icon {
		background-image: url('../images/retina/toggle-icn.png');
		background-size: 16px 100px;
	}
	
	#thumb-back, #thumb-forward {
		background-image: url('../images/retina/thumb-next-prev.png');
		background-size: 70px 70px;
	}
	
	.ef-map, #ef-loader-overlay, iframe, object, embed {
		background-image: url('../images/retina/loader.gif');
		background-size: 35px 35px;
	}
	
	span.ef-archive, .ef-ajax-go .ef-menu-tab {
		background-image: url('../images/retina/loader1.gif');
		background-size: 24px 24px;
	}
	
	#ui-lightbox-button-next, #ui-lightbox-button-prev {
		background-image: url('../images/retina/vid-arrows.png');
		background-size: 20px 40px;
	}
	
	.ui-lightbox-arrow-next, .ui-lightbox-arrow-prev {
		background-image: url('../images/retina/lightbox-arrows.png');
		background-size: 64px 32px;
	}
	
	.proj-img .ef-overlay.ef-lightbox-read a {
		background-image: url('../images/retina/lightbox-more.png');
		background-size: 114px 68px;
	}
	
	.proj-img .ef-overlay.ef-lightbox-read a.video {
		background-image: url('../images/retina/lightbox-more1.png');
		background-size: 114px 68px;
	}
	
	.jflickr li a span {
		background-image: url('../images/retina/flickr.png');
		background-size: 12px 12px;
	}
	
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) and (max-width: 1460px) {
	
	#thumb-back, #thumb-forward {
		background-image: url('../images/retina/thumb-next-prev-small.png');
		background-size: 56px 56px;
	}
	
	.flex-direction-nav a, #prevslide, #nextslide {
		background-image: url('../images/retina/slider-arrows-small.png');
		background-size: 56px 56px;
	}
	
	#ef-topbar-button, #tray-button div {
		background-size: 66px 66px;
	}
	
	#ef-topbar-button {
		background-image: url('../images/retina/topbar-button-small.png');	
	}
	
	#tray-button div {
		background-image: url('../images/retina/fold-page-small.png');
	}
	
	.ef-menu-tab {
		background-image: url('../images/retina/ef-menu-tab-small.png');
		background-size: 33px 33px;
	}
	
	
	.ef-prev-page, .ef-next-page, .ef-back-arrow, .ef-dark-theme .ef-prev-page, .ef-dark-theme .ef-next-page {
		background-size: 30px 60px;
	}
	
	.ef-prev-page, .ef-next-page {
		background-image: url('../images/retina/to-page-pad.png');
	}
	
	.ef-dark-theme .ef-prev-page, .ef-dark-theme .ef-next-page {
		background-image: url('../images/retina/to-page-pad-dark.png');
	}
	
	.ef-back-arrow {
		background-image: url('../images/retina/to-page-pad1.png');
		background-size: 30px 30px;
	}

	.ef-dark-theme .ef-back-arrow {
		background-image: url('../images/retina/to-page-pad1-dark.png');
		background-size: 30px 30px;
	}
	
	.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
		background-image: url('../images/retina/drag.png');
		background-size: 28px 30px;
	}
	

}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px) {
	
	.selectBox-dropdown {
		background-image: url('../images/retina/ef-menu-tab-small.png');
		background-size: 33px 33px;
	}
	
	a#prevslide, a#nextslide {
		background-image: url('../images/retina/slider-arrows-pad.png');
		background-size: 88px 88px;
	}
}