@media all and (max-width: 1300px),
only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1300px),
only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1300px),
only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1300px),
only screen and (min-device-pixel-ratio: 2) and (max-width: 1300px),
only screen and (min-resolution: 192dpi) and (max-width: 1300px),
only screen and (min-resolution: 2dppx) and (max-width: 1300px) {

:root{
	--inner-width: 95%;
}

}/* ******************* END 1300px ******************* */


@media all and (max-width: 1024px),
only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px),
only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px),
only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px),
only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px),
only screen and (min-resolution: 192dpi) and (max-width: 1024px),
only screen and (min-resolution: 2dppx) and (max-width: 1024px) {

:root{
	--inner-width: 100%;
}

.sectionDouble,
.sectionTriple {
    --sp-padding-between: calc(var(--sp-padding) / 3.33);
}
.gallery > a,
.gallery > img,
.gallery .gItem{
    width: calc(33.3% - 0.5em);
    margin: 0.25em;
}
.fancyBlock {
    padding: 0.5em;
}
.fancyBlock.fbTitle {
    padding-top: 1.75em;
}

.iconLink {
    font-size: calc(1.5vw + 0.49em);
}

.section-opening .btn {
    margin-top: 400px;
}


}/* ******************* END 1024px ******************* */


@media all and (max-width: 700px),
only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 700px),
only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 700px),
only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 700px),
only screen and (min-device-pixel-ratio: 2) and (max-width: 700px),
only screen and (min-resolution: 192dpi) and (max-width: 700px),
only screen and (min-resolution: 2dppx) and (max-width: 700px) {

:root{
	--inner-v-padding: 15px;
	--inner-h-padding: 20px;
}

.section > .inner > h2, .section > .inner > .sectionPart > h2,
.section-about > .inner > .sectionPart > h2,
.section-services > .inner > h2{
/* 	font-size: 1.75em; */
	margin-top: 0.5em;
}

hr{
	width: 90%;
	height: 0.5em;
	margin-right: auto !important;
	margin-left: auto !important;
}

.section.clipTop {
    clip-path: url(#clipTopMobile);
}
.section.clipBottom {
    clip-path: url(#clipBottomMobile);
}
.section.clipTop.clipBottom {
    clip-path: url(#clipTopBottomMobile);
}

.sectionPart{
	display: block;
	width: 100% !important;
	padding: var(--inner-v-padding) 0 !important;
}

.gallery{
	padding: 1em;
}
.fancyBlock .gallery{
	padding: 0 0 0.5em 0;
}
.gallery > a,
.gallery > img,
.gallery .gItem{
	width: calc(50% - 1em);
	margin: 0.5em 0.5em 0 0.5em;
}
.gallery > a + a,
.gallery > a + img,
.gallery > a + .gItem,
.gallery > img + img,
.gallery > img + a,
.gallery > img + .gItem,
.gallery .gItem + .gItem,
.gallery .gItem + a,
.gallery .gItem + img{
	margin-top: 1em;
}
.gallery:not(.toggledElement) > a:nth-child(n + 5),
.gallery:not(.toggledElement) > img:nth-child(n + 5),
.gallery:not(.toggledElement) .gItem:nth-child(n + 5){
    display: none;
}

.fancyBlock{
	margin-left: calc(var(--inner-h-padding)* -1);
	margin-right: calc(var(--inner-h-padding)* -1);
}

.iconLink {
	font-size: calc(2.5vw + 0.55em);
}
.iconLink + hr{
	margin: 0.25em auto !important;
}

.section-opening .btn {
	margin-top: 65vw;
}

.section-about .sectionPart{
	text-align: center;
}
.section-about h2,
.section-about p{
	text-align: left;
}

.section-about .gallery + a[onclick]{
	display: inline-block;
	text-decoration: underline;
	padding: 0.75em 2.5em;
	font-size: 1.25em;
}
.section-about .gallery.toggledElement + a[onclick]{
	display: none;
}

.section-services .gallery > a,
.section-services .gallery > img,
.section-services .gallery .gItem{
	width: 100%;
	margin: 1em 0;
}

#contact .sectionPart:nth-child(1){
	/* text-align: center; */
	width: auto !important;
	max-width: 100%;
	display: inline-block;
}
#contact .sectionPart:nth-child(1) > h2{
	text-align: center;
}

#copyright{
	font-size: 0.8em;
}

.cformblock{
	display: block;
	padding: 0;
	width: 100%;
}
.formline-item {
    margin-top: 2.5em !important;
}
.formline-spacer{
	display: none !important;
}

}/* ******************* END 700px ******************* */