/* 
Yachts4u - Styles - Responsive
======================================================================================
*/



/* Touch Devices */

.touch .white-popup {
  max-width: 640px;
  margin: 0px auto;
  margin-top: 10px;

  -webkit-box-shadow:  0 0px 20px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.4) ;
}

@media (max-height: 700px) { 
	.white-popup {
		margin-top: 20px;
	}

}
/* Large Desktop */
@media (max-width: 1600px) { 
	.logo {
		width: 220px;
		left: -50px;
	}
	

}

/* Small Desktop */
@media (max-width: 1440px) {
	
	.goingdown {
		right: 20px;
	}
	.small .logo {

	}
	.logo {
		width: 220px;
		left: 30px;
	}
	.call-button {
		right: 30px;
	}
	#top-nav {
		position: absolute;
		top: 60px;
		right: 10px;		
	}
	
	.sf-mega-section .section-wrapper {
		padding: 10px 30px 10px 20px;
		
	}
	
	.head-wrapper {
	    padding: 2em 2em ;
	    
	    position: relative;
	}
	.head-wrapper .intro-head {
		font-size:1.8em;
	}
	
	.intro-wrap .head-wrapper .title {
		font-size: 2.2em !important;
	}
	#intro .text-wrapper {
		padding-right: 50px;
	}
	#intro .text-wrapper p {
	  padding-top: 5px;
	  font-size: 1.2em !important;
	  line-height: 1.6;
	  font-weight: 300;
	}
	
	.itembox.full, .itembox.with-content {
	    min-height: 1px;
	    height: 0px;
	    padding-bottom: 56%;
	}
	.itembox .item-description,
	.right-side .itembox .item-description {
		padding-top: 3em;	
		max-width: 90%;
	}
	.four-columns .itembox, 
	.four-columns .itembox.full {
	    height: 0px;
	    padding-bottom:92%;   
	}
	.four-columns .itembox .item-description, .four-columns .itembox.full .item-description {
	    padding-top: 2em;
	    padding-left: 2em;
	    max-width: 100%;
	}
	.four-columns .itembox .item-description .item-title {
		font-size: 1.2em;
		line-height: 1.2;
	}
	.four-columns .itembox .item-description .item-title small {
		top: 14px;
		font-size: 0.6em;
		margin-left: 7px;
		padding-left: 15px;
	}
	
	.three-columns .itembox.full .item-description {
	    padding:  2em;

	}
	.full-wide .itembox.full .item-description .item-title {
	    font-size: 1.9em;
	    letter-spacing: 1px;
	}
	.footerbox {
		padding-left: 40px;
		padding-right: 20px;
	}
	.copyright {
		padding-left: 50px;	
	}
}


 
/* Landscape tablet */
@media (max-width: 1024px) {  
	
	.mainmenu {
		display: none;
		visibility: hidden;
	}
	.nav-button {
		display: block;
		margin-top: 20px;
	}
	
	#topbar-wrap {
			
	}
	
	#topbar-wrap.next {
		height: 110px;
	}
	
	.logo {
		top: 15px;
	}
	.call-button {
		top: 35px;	
		right: 120px;
		height: 40px;
		line-height: 36px;
	}
	.social-wrap{
		position: absolute;
		top: 35px;
		right: 345px;
	}
	.small .social-wrap {
		top: 17px;	
		opacity: 1;
	}
	.small .social-button i {
		color: #ddd;
	}
	.small  .share-button {
		background-color: #ddd !important;
		border: 2px solid #ddd !important;
	}
	.small .social-button:hover i {
		color: #fff;
	}
	.small  .share-button:hover {
		background-color: #e3b13d !important;
		border: 2px solid #e3b13d !important;
	}
	
	#intro .text-wrapper {
		padding-left: 2.5em;
		padding-right: 4.5em;
	}
	
	.side-wrapper {
		padding-right: 20px;
	}
	.content-wrapper {
		padding: 1em 3.5em 2em 2em;
	}
	.subnav {
	  padding-left: 0.5em;
	}
	.side-wrapper .text-wrapper {
	  padding: 1em 1em;
	}
	
	.text-wrapper blockquote p {
		font-size: 1.1em;
	}
	
	.itembox .item-description,
	.right-side .itembox .item-description {
		padding-top: 2em;	
		max-width: 94%;
	}
	.four-columns .itembox .item-description {
		padding:  1.6em 1.5em;
		padding-right: 1em;
		max-width: 98%;
	}
	.four-columns .itembox .item-description .item-title {
		font-size: 1em;
	}
	
	.four-columns .itembox .item-description .item-title small {
		top: 8px;
		font-size: 0.53em;
		margin-left: 7px;
		padding-left: 12px;
	}
	.four-columns .itembox .item-description .item-title small::before {
		top: -10px;
		left: 0px;
		width: 2px;
		height: 36px;
		content: "";
		background: none repeat scroll 0% 0% #E3B13D;
		border-radius: 10px;
		transform: rotate(30deg);
	}
	.four-columns .itembox .item-description p {
		line-height: 1.6;
		font-size: 0.75em;
	}
	.four-columns .itembox .item-description .item-button {
		margin-top: 0px;
	}
	
	.full-wide .itembox.full .item-description .item-title {
	    font-size: 1.5em;
	    letter-spacing: 1px;
	}
	
	.itembox.full.higher, 
	.itembox.with-content.higher {
		padding-bottom: 90%;
		
	}
	
	.itembox.full.higher .item-description, 
	.itembox.with-content.higher .item-description {
		padding-left: 1em;
		
	}
	
	.footerbox .footer-content {
		margin-left: 20px;
		padding-left: 30px;
	}
	.footerbox .footer-content.first {
		margin-left: 0px;
		padding-left: 10px;
	}
	.footerbox .footer-content .headline {
		font-size: 1.2em;
	}
	.footerbox .footer-content .left-content {
		float: left;
		width: 100%;
	}	
	#map {
		display: none;
	}
	
	
}


@media (max-width: 940px) {
	

	

	.itembox .item-description .item-title {
		font-size: 1.3em;
		line-height: 1.2;
	}
	
	.itembox .item-description .item-title small {
		top: 13px;
		display: inline-block;
		position: relative;
		font-size: 0.6em;
		letter-spacing: 1px;
		line-height: 1 !important;
		margin-left: 10px;
		padding-left: 20px;
	}
	.itembox .item-description .item-title small:before {
		position: absolute;
		top: -10px;
		left: 0;
		width: 2px;
		height: 40px;
		content: '';
		background: #e3b13d;
		border-radius: 10px;
		-ms-transform: rotate(30deg); /* IE 9 */
	    -webkit-transform: rotate(30deg); /* Chrome, Safari, Opera */
	    transform: rotate(30deg);
	}
	.itembox .item-description p {
	    margin-top: 15px;
	}
	


}

/* Landscape phone to portrait tablet */
@media (max-width: 800px) { 
	.white-popup,
	.white-popup.wide {
		max-width: 640px
	}
	
	.social-wrap {
		display: none;
	}
	
	.head-wrapper .intro-head {
	    font-size: 1.4em;
	}
	
	.side-wrapper {
		padding-right: 10px;
	}
	.content-wrapper {
		padding: 1em 1.5em 2em 2em;
	}
	.text-wrapper {
	  position: relative;
	  padding: 0px 20px 0px 10px;
	}
	
	.text-wrapper.first .headline:before {
	  position: absolute;
	  top: -6px;
	  left: -15px;
	  width: 2px;
	  height: 40px;
	}
	.indent {
	  padding-left: 0px;
	  padding-right: 0px;
	}
	
	.subnav ul li a:not(.button) {
		padding-right: 1em;
		padding-left: 0.8em;
		line-height: 1.2;
	}
	.subnav ul li a:before {
		position: absolute;
		right: 0.5em;
		top: 0.6rem;
		font-family: FontAwesome;
		content: '\f105';
		font-size: 1.2em;
		margin-right: 0px;
	}
	
	.itembox.full, .itembox.with-content {
	    min-height: 1px;
	    height: 0px;
	    padding-bottom: 90%;
	}
	.itembox .item-description,
	.right-side .itembox .item-description {
		padding-top: 3em;	
		max-width: 90%;
	}
	
	.full-wide .itembox, .full-wide .itembox.full {
	    height: 0px;
	    padding-bottom: 50%;
	}
	.full-wide .itembox.full .item-description {
	    padding: 7em 3em;
	}
	.full-wide .itembox.full .item-description .item-title {
	    font-size: 1.8em;
	    letter-spacing: 1px;
	}
	
	.four-columns .itembox, .four-columns .itembox.full {
	    height: 0px;
	    padding-bottom: 99.8%;
	}
	
	.four-columns .itembox .item-description .item-title small,
	.three-columns .itembox .item-description .item-title small{
		display: none;
	}
	.itembox.full.higher, .itembox.with-content.higher {
	    padding-bottom: 99.8%;
	}
	
	#about .content-left {
	    width: 60%;
	}
	#about .photo-right {
	    width: 40%;
	}
	
	.full-wide .itembox.auto-height .item-description {
	   padding-top: 4em;
	   padding-bottom: 1em;
	}
	.itembox.with-icon {
		padding-left: 0;

	}
	.itembox.with-icon .item-icon.left {
		float: none !important;
		left: 50%;
		margin-left: -30px !important;
		margin-right: 0;
	}
	.itembox.with-icon .item-description {
		display: block;
		width: 100%;
		max-width: 100%;
		text-align: center !important;
	}
	

	.footerbox .footer-content.first {
	    margin-left: 0px;
	    padding-left: 0px;
	}
	.footerbox .footer-content .headline {
	    font-size: 1.1em;
	}
	.footerbox .footer-content p {
	    font-size: 0.9em;
	}
	.footerbox .footer-content strong {
		display: none;
	}
	.footerbox .footer-content ul li a {
		font-size: 0.8em;
	}
	
	.bottom-wrapper {
		min-height: 140px;	
	}
	.copyright {
		padding: 30px 0em;
		padding-left: 30px;
		float: left;
	}

	.addnoise {
		position: absolute;
		width: 200px;
		right: 20px;
		top: 80px;
	}
	
}

/* Landscape phones and down */
@media (max-width: 640px) { 
	
	#topbar-wrap.next {
		height: 70px;
	}
	.nav-button {
		display: block;
		margin-top: 0px;
	}
	#products {
		display: none;
		visibility: hidden;
	}	
	
	.page-front-yes .itembox .item-description .item-title.small {
	  font-weight: 700;
	  font-size: 0.8em;
	  line-height: 1.1;
	}
	.itembox.full,
	.itembox.with-content {
		min-height: 260px;
		padding-bottom: 0;
	}
	.right-side {
		background: #f6f6f6;
	}
	.itembox .item-description,
	.right-side .itembox .item-description {
		padding-top: 1.8em;	
		max-width: 90%;
	}
	.itembox .item-description p,
	.right-side .itembox .item-description p {
		font-size: 0.83em;
	}
	
	.four-columns .itembox .item-description .item-title small,
	.three-columns .itembox .item-description .item-title small{
		display: inline-block;
		top: 14px;
	}
	.full-wide .itembox.full .item-description .item-title {
	    font-size: 1.4em;
	    letter-spacing: 1px;
	}
	
	#contact .full-wide  .itembox.full, #contact .itembox.with-content {
	    min-height: 160px;
	    padding-bottom: 0px;
	}
	
	.itembox.with-icon {
		padding-bottom: 20% !important;	
		margin-bottom: 20px;
		display: block;
		width: 100%;
		
	}
	
	#about .content-left {
	    width: 100%;
	}
	#about .photo-right {
	    width: 100%;
	}
	
				
	.siteform .input-field  {
		padding-top:5px;
	}
	.siteform label {
		text-align: center;
		padding-left: 0px;
	}
	.siteform .button-wrap {
		padding-top:17px;
		text-align: center;
	}
	
	.copyright {
		text-align: left;
		font-size: .8em;
	}
	

	.addnoise {
		position: relative;
		display: inline-block;
		right: auto;
		top: auto;
		margin-bottom: 20px;
	}
	
	.copyright {
		width: 100%;
		display: block;
		text-align: center;
		padding: 10px 0 0 0;
		padding-bottom: 20px;
	}
	.bottom-wrapper .share-button {
		display: none;
	}
	.footerbox .footer-content.first,
	.footerbox .footer-content {
		min-height: 240px;
		margin-left: 20px;
		padding-left: 0px;
	}
}

@media (max-width: 600px) { 

	.mfp-container {
		padding-left: 10px;
		padding-right: 10px;
	}
	.white-popup {
		margin-top: 10px;
		padding: 80px 0px 60px 0px;
	}
	.white-popup .text-wrapper .headline {
		font-size: 1.4em;
	}
	.checkbox-wrap {
		padding-bottom: 10px;
	}
	.checkbox-wrap [type="checkbox"]:not(:checked) + label, [type="checkbox"]:checked + label {
	    margin-right: 0;
	}
	
	/* Call button */
	.call-button {
		display: none;
	}
	
	/* Mobile buttons */
	.mobile-call-button,
	.mobile-contact-button {
		display: block;
		visibility: visible;	
		position: absolute;
		top: 30px;
		right: 85px;
		height: 40px;
		width: 40px;
		line-height: 40px;
		background-color: rgba(227, 177, 61, 1);
		text-align: center;
		background-repeat: no-repeat;
		background-size: 18px auto;
		background-position: center;
		z-index: 998;
		border: 1px solid rgba(227, 177, 61, 1);
		border-radius: 1000px;
		outline: 0;
	}
	
	.mobile-call-button img,
	.mobile-contact-button img {
		margin:auto;
		opacity: 1;
		top: -3px;
		position: relative;
	}
	.mobile-contact-button img {
		top: -3px;
	}
	.mobile-contact-button {
		position: absolute;
		right: 135px;
	}
	.small .mobile-call-button,
	.small .mobile-contact-button,
	.next .mobile-call-button,
	.next .mobile-contact-button {
		top: 15px;
	}
	.nav-button {
		
		position: absolute;
		top: 25px;
		right: 20px;
		height: 50px;
		width: 54px;
	}

	
	/* Shares */
	.share-wrap {
		display: block;
		 padding: 10px 10px;
	}
	.share-wrap > a {
		position: relative;
		display: inline-block !important;
		width: 80px !important;
		height: 80px;
		line-height: 80px;
		text-align: center;
		padding: 0 !important;
		padding-top: 0px;
		margin: 0 10px;
		outline: 0;
		border: 2px solid #e6e0d9;
		border-radius: 1000px;
		font-size: 1em;
		margin-bottom: 50px;
	}
	.share-wrap span {
		position: absolute;
		bottom: -25px;
		text-align: center;
		display: block;
		width: 100%;
		color: 	#2b2e44;
		font-size: 1em;
		line-height: 1;
	}

	#share-modal .devider-w-text {
		margin-top: 0;
	}
	
	.call-wrap .big-phone {
		line-height: 1;
		font-size: 2.4em;
		letter-spacing: 2px;
		font-weight: 400;
		display: block;
		padding-bottom: 10px;
	}
	
	.logo {
		top: 10px;
		width: 150px;
		left: 20px;
	}
	.small .logo.left,
	.next .logo.left {
		position: absolute;
		top: -5px;
		width: 135px;
	}

	.head-wrapper {
		padding: 2em 1em 1.5em 1em;
		position: relative;
	}
	.head-wrapper .intro-head {
	    font-size: 1.2em;
	}
	.intro-wrap .head-wrapper {
	  padding-top: 0;
	  padding-left: 2em;
	  padding-right: 0em;
	}
	#intro .text-wrapper {
	  padding-left: 1.5em;
	  padding-right: 2em;
	}
	
	.content-wrapper {
	  padding: 1em 1em 2em 1em;
	}
	.text-wrapper.first .headline:before {
	  position: absolute;
	  top: -6px;
	  left: -20px;
	  width: 2px;
	  height: 45px;
	}
	.text-wrapper {
	  position: relative;
	  padding: 0px 10px 0px 10px;
	}
	.text-wrapper blockquote {
		max-width: 100%;
		margin: 0.5em 0 1.25em 2em;
	}
	a.catlink:link, a.catlink:visited {
		margin-bottom: 0;
	}
	#operations .small-4 {
	    width: 30%;
	}
	#operations .small-8 {
	    width: 70%;
	}
	.itembox.full,
	.itembox.with-content {
		min-height: 300px;
		padding-bottom: 0;
	}
	
	.three-columns .itembox.full,.three-columns .itembox.with-content {
	    min-height: 220px;
	    padding-bottom: 0px;
	}
	
	
	.itembox .item-description .item-button {
		margin-top: 5px;
	}
	.itembox .item-description {
		max-width: 95%;
	}
	.itembox .item-description .item-title {
		font-size: 1.2em;
	}
	.itembox .item-description .item-title small {
		top: 10px;
		font-size: 0.6em;
		letter-spacing: 0px;
		line-height: 1 !important;

	}
	.itembox.with-icon {
	    padding-bottom: 35% !important;
	    margin-bottom: 20px;
	    display: block;
	    width: 100%;
	}
	#background.full-wide .itembox.full .item-description {
		padding: 3em 3em 6em;
	}
	
	.foto {
		float: left;
		width:100%;
	}
	
	
	.footerbox {
		padding-top: 30px;
    }
	.footerbox .small-6.position-1 {
		width: 60%;
	}
	.footerbox .small-6.position-2 {
		width: 40%;
	}
	.footerbox .small-6.position-3 {
		width: 60%;
	}
	.footerbox .small-6.position-4 {
		width: 40%;
	}
	.footerbox .footer-content.first,
	.footerbox .footer-content {
		min-height: 240px;
		margin-left: 0px;
		padding-left: 0px;
	}
	.bottomlinks {
		display: block;
	}
	
	.mfp-content {
		vertical-align: top;
	}
	
	.call-wrap.locations p {
		width: 90%;
	}
	
}


@media (max-width: 320px) { 
	.mobile-contact-button {
		display: none;
	}


}







	
	
	








