@media (max-width: 1700px) {
body.site.index {
    background-size: 90%;
}

body#contact main {
    width: 90%;
}

div#pmportfolio {
    font-size: 30px;
    line-height: 40px;
} 	
}

@media (max-width: 1500px) {
div#vacation,
div#idx {
    bottom: 10%;
}
}

@media (max-width: 1400px) {
div#pmportfolio {
    width: 90%;
    margin: 3% 20% 0 30%;
    font-size: 36px;
}

.moduletable.portfolio div#text {
	width: 80%;
	margin: 0 20% 0 30%;
}

div.left {
  width: 85%;
}	
}

@media (max-width: 1200px) {
body.site.portfolio main.pawmar {
    width: 100%;
}
}

/* Switch to mobile Navigation */
@media (max-width: 1000px) {
div#header {
    height: auto;
    border-bottom: 0;
}

div#header div#language {
	top: 0;
	width: auto;
}

div#subheader {
    padding-top: 58px;
}

/* Navigation */
nav.pawmar {
    width: 100%;
    display: block;
}

div#header div#menu {
    display: none;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

div#header div#MenBt {
    display: block;
    text-align: center;
    position: relative;
    background-color: #ca003a;;
    padding: 15px 0;
}

div#MenBt a {
	display: block;
    font-size: 20px;
    color: #fff;
}

div#MenBt a:hover {
	text-decoration: none;
}

div#menu,
ul.mod-menu.mod-list.nav {
	height: auto !important;
	right: 0;
}

div#menu ul.mod-menu.mod-list.nav {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: #eee;
    opacity: 0.85;
	float: none;
	display: block;
	margin-top: -5px;
}

ul.mod-menu.mod-list.nav li {
	display: block;
	float: none;
	border-bottom: 1px dotted #eee;
	text-align: left;
}

ul.mod-menu.mod-list.nav li:hover {
    background-color: transparent;
}

ul.mod-menu.mod-list.nav li a {
	font-size: 22px;
	padding: 10px;
	text-align: center;
}

ul.mod-menu.mod-list.nav ul li ul {
	display: block;
    position: relative;
    left: 0 !important;
    width: 100%;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
}

body#contact div.left,
body#contact div.right {
    width: 96%;
    float: none;
}

div.left {
    width: 96%;
    float: none;
}

div.left p {
    text-align: left;
}
}

@media only screen and (max-width: 850px) {
div#header div#logo {
    width: 20%;
}
}

@media only screen and (max-width: 800px) {
body.site.index{
    background-image: none;
}

main.pawmar {
    width: 90%;
    padding: 100px 0 60px 0;
}

.moduletable.contactbox {
    float: none;
}

div#pmportfolio {
	width: 100%;
	margin: 0;
}

.moduletable.portfolio div#text {
	width: 100%;
	margin: 20px 0;
}
}

@media only screen and (max-width: 767px) {
.jux__folio_container.hover-dir {
    padding-top: 0;
}

div#jux_portfolio_pro_133 {
    margin-left: 20% !important;
}
}

@media only screen and (max-width: 600px) {
h1, .ip-mainheader h2 {
    line-height: 32px;
}

div#pmportfolio {
	font-size: 22px;
	line-height: 26px;
}

div#vacation,
div#idx {
    bottom: 20%;
}

div#webdesign {
    top: 55%;
}	
}

@media only screen and (max-width: 500px) {
div#pmportfolio {
	font-size: 18px;
	line-height: 22px;
}	
}

@media only screen and (max-width: 479px) {
div#jux_portfolio_pro_133 {
    height: auto !important;
}

div#jux_portfolio_pro {
    padding: 0 !important; 
}

.jux-item {
	width: 100% !important;
	padding: 0 !important;
	margin: 20px 0 !important;
	position: relative !important;
    top: 0 !important;
}
}

@media only screen and (max-width: 470px) {
div#jux_portfolio_pro_133 {
	margin-left: 0 !important;
}
}

/* For stupid Apple */
/* IPad */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)  {
}

/* IPad mini */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)
and (-webkit-min-device-pixel-ratio: 1)  {
}

/* IPhone 6 */
@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px) {
}

/* IPhone 6 plus */
@media only screen 
and (min-device-width : 414px) 
and (max-device-width : 736px) {
}

/* IPhone 5 + 5s */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) {
}

/* iPhone 5 & 5S in portrait */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) 
and (orientation : portrait) {
}

/* IPhone 2 - 4 */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
}