/*
 Theme Name:   GeneratePress Child
 Template:     generatepress
*/

/* YACHTPRESENTATION STYLING FOR LIST & DETAIL - MOBILE ONLY */


@media screen and (min-width: 768px) and (max-width: 999px) {

	body .boat-list-navi {
	    padding-left: 15px;
	    padding-right: 15px;
	    margin-bottom: 20px;
	}

	body .head-entry-boats-list {
	    padding-left: 0;
	    padding-right: 0;
	    display: flex;
	    flex-wrap: wrap;
	}
		body .head-entry-boats-list > div {
			width: 100%;
		}

	body .padding-right-overzichtboten {
	    margin-bottom: 20px;
	}

	body .ra_yacht .yf-holder-info h3 {
	    font-size: 29px;
	}

	.boat-detail-cta-holder > div {
	    display: flex;
	    flex-wrap: wrap;
	}

	.boat-detail-cta-holder > div:last-child a {
	    width: 47%;
	    text-align: center;
	}

		.boat-detail-cta-holder > div:last-child a:nth-child(1), .button_sendtofriend {
			margin-bottom: 10px;
		}


	.boat-detail-specification .specs_wrap {
	    flex-wrap: wrap;
	}

	body .boat-detail-specification .specs_wrap h3 {
		margin-bottom: 20px !important;
	}

	body .boat-detail-specification .specs-to-right-holder {
	    column-count: 1;
	}

	.footer-form-holder > div {
	    flex-wrap: wrap;
	}

	body .footer-form-holder > div > div:first-child {
	    padding-right: 0;
	}

	body .footer-form-holder > div > div {
	    width: 100%;
	}

		body .footer-form-holder > div > div:last-child {
			order:-1;
			margin-bottom: 50px;
		}

	body #yfcontactform, body #sendtofriendform {
		max-width: inherit !important;
	}
}



@media screen and (max-width: 767px) {
	body .boat-list-navi {
	    flex-wrap: wrap;
	    padding-left: 0px;
	    padding-right: 0px;
	    margin-bottom: 20px;
	}

	body .boat-list-navi p {
	    width: 100%;
	    text-align: right;
	    margin-bottom: 5px;
	}

	body .boat-list-navi a {
	    margin-left: 20px;
	    margin-bottom: 5px;
	}


	.padding-right-overzichtboten > div {
	    padding-right: 0px !important;
	    padding-left: 0px !important;
	}

	.head-entry-boats-list {
	    padding-left: 0px !important;
	    padding-right: 0px !important;
	}

	.head-entry-boats-list > div:last-child > div {
		padding-left: 0px !important;
		padding-right: 0px !important;
	}


	/* single boat tile */

	body .ra_yacht > a {
	    width: 100%;
	    flex-wrap: wrap;
	}

	.ra_yacht .ra_foto_holder {
	    min-width: 100%;
	    max-width: 100%;
	    min-height: 230px;
	}

	body .ra_yacht .yf-holder-info {
	    padding: 20px 60px 25px 20px;
	    border-top: 1px solid #e3e3e3;
	}

	.ra_yacht .yf-holder-info .list-boat-specs {
	    flex-wrap: wrap;
	}

	.ra_yacht .yf-holder-info .list-boat-specs p {
	    width: 100%;
	}

	.ra_yacht .yf-holder-info .list-boat-specs i {
	    min-width: 20px;
	}

	body .ra_yacht .yf-holder-info h3 {
	    font-size: 21px;
	}


	/* detail page boat */

	.boat-detail-header {
	    flex-wrap: wrap;
	}

		.boat-detail-header > div {
			width: 100%;
		}

		.boat-detail-header > div:first-child {
		    min-height: 500px;
		    border-left: 1px solid #e3e3e3;
		    border-right: 1px solid #e3e3e3;
		    border-top: 1px solid #e3e3e3;
		    margin-top: 30px;
		}

	body .boat-detail-header .boat-header-right {
	    padding: 40px 0px 40px 0px;
	    border-left: 0;
	    border-top: 1px solid #e3e3e3;
	}

	.boat-header-right h1 {
		margin-bottom: 10px !important;
	}


	.boat-detail-cta-holder {
	    flex-wrap: wrap;
	    padding:30px 30px 25px 30px;
	}

	.boat-detail-cta-holder > div:first-child a {
	    margin-right: 0px;
	    width: 100%;
	    display: block;
	    margin-bottom: 10px;
	}
		.boat-detail-cta-holder > div:first-child a i {
			min-width: 22px;
		}

	.boat-detail-cta-holder > div:last-child {
	    margin-top: 10px;
	    margin-bottom: 10px;
	    margin-left: 0px;
	}

	.boat-detail-cta-holder > div:last-child a {
	    margin-left: 0;
	    width: 100%;
	    margin-bottom: 15px;
	}

		.boat-detail-cta-holder > div:last-child a i {
		    min-width: 22px;
		}

	body .boat-detail-basic-specs-holder > div {
	    padding-left: 0px !important;
	    padding-right: 0px !important;
	    padding-top: 50px;
	    padding-bottom: 20px;
	}

	body .boat-detail-basic-specs-holder > div > div {
	    width: 100%;
	    max-width: 100%;
	    min-width: 100%;
	}

	.boat-detail-basic-specs-holder > div > div:nth-child(odd) {
	    padding-right: 0px;
	}

	.boat-detail-basic-specs-holder > div > div:nth-child(even) {
	    padding-left: 0px;
	}

	.boat-detail-all-photos-holder {
	    padding-top: 30px;
	    padding-bottom: 25px;
	}

		.boat-detail-all-photos-holder > div {
			padding-left: 30px !important;
			padding-right: 30px !important;
		}


	.boat-detail-all-photos-holder .photo-of-object {
	    width: calc(50% - 30px);
	}

	.boat-detail-specification .specs_wrap {
	    flex-wrap: wrap;
	}

	.boat-detail-specification > div  {
		padding-left: 0px;
		padding-right: 0px;
	}

	.boat-detail-specification .specs_wrap h3 {
		margin-bottom: 20px !important;
		min-width: 100%;
	    max-width: 100%;
	    padding-right: 0;
	}

	.boat-detail-specification .specs-to-right-holder .rowbg {
	    flex-wrap: wrap;
	}

	.boat-detail-specification .specs-to-right-holder .rowbg .spec_label {
	    min-width: 100%;
	    max-width: 100%;
	}

	.boat-detail-specification .specs-to-right-holder {
	    column-count: 1;
	}

	.boat-detail-basic-specs-holder > div:after {
		display: none;
	}

	.footer-form-holder {
	    padding-top: 50px;
	    padding-bottom: 50px;
	    margin-bottom: 50px;
	}

		.footer-form-holder > div {
		    padding-left: 20px;
		    padding-right: 20px;
		}

	.footer-form-holder > div {
	    flex-wrap: wrap;
	}

	.footer-form-holder > div > div:first-child {
	    padding-right: 0;
	}

	.footer-form-holder > div > div {
		width: 100%;
	}

	body #yfcontactform, body #sendtofriendform {
	    padding: 20px 20px;
	}

	#yfcontactform h3, #sendtofriendform h3 {
	    font-size: 30px;
	}

	span.text-align-center.center-text-margin.smaller-text-form {
	    margin-left: 0;
	    width: 100%;
	    display: block;
	    text-align: left;
	    margin-top: 10px;
	}

	#yfcontactform textarea, #sendtofriendform textarea {
	    min-height: 170px;
	}

	.footer-form-holder > div > div:last-child {
	    margin-top: 50px;
	}

	.footer-form-holder > div > div:last-child a {
	    margin-right: 0px;
	    display: inline-flex;
	    align-items: center;
	}

		.footer-form-holder > div > div:last-child a:first-child {
			margin-bottom: 10px;
		}

		.footer-form-holder > div > div:last-child a i {
			min-width: 22px;
		}

}