*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    text-decoration: none;
}  
::-webkit-scrollbar-thumb {
    background: #393812;
    -webkit-border-radius: 1ex;
    -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.75);
}
.activePage {
    color: rgb(255, 187, 0) !important;
}
.accent {
    color: #9d8665;
}
.accent2 {
    font-family: 'Dancing Script', cursive;
    text-transform: none;
    color: #9d8665;
}
#Mail:hover {
    font-weight: bold;
}
.reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: all 1.7s ease;
}
.reveal.active {
    transform: translateY(0px);
    opacity: 1;
}
.Main div.reveal {
    position: relative;
    transform: translateX(-100px);
    opacity: 0;
    transition: all 1.6s ease;
}
.Main div.reveal.active {
    transform: translateX(0px);
    opacity: 1;
}
.book {
    background-color: #5F8D4E;
    position: static;
    color: white;
    font-size: 18px;
    text-align: center;
    border: none;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-left-radius: 8px;
    padding: 10px 35px 10px 35px;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
    transition: background-color 0.7s, color 0.5s;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.book:hover {
    background: rgb(215, 158, 0) !important;
}
.book:active {
    opacity: 0.8;
}
.book a {
    color: #fff;
}
.book a:active {
    color: #fff;
}
.book a:visited {
    color: #fff;
}
::selection {
    background-color: #43850cd0;
}
/**.accent::selection {
    background-color: #710707;
}**/
.ContentGrid2 .Heading::selection {
    background-color: #710707;
}
.navbar .logo a::selection {
    background-color: #42850c00;
}
.navbar .logo span::selection {
    background-color: #42850c00;
}
.navbar ul li a::selection {
    background-color: #42850c00;
}
.progress-wrap {
	position: fixed;
	right: 15px;
	bottom: 15px;
	height: 46px;
	width: 46px;
	cursor: pointer;
	display: block;
	border-radius: 50px;
    border: #030303 solid 2px;
    background-color: #fff;
	box-shadow: inset  0 0 0 2px rgba(0,0,0,0.1);
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(15px);
	-webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.progress-wrap.active-progress {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.progress-wrap::after {
	position: absolute;
	font-family: 'unicons';
	content: '\2191';
	text-align: center;
	line-height: 46px;
	font-size: 22px;
    font-weight: bold;
	color: #285430;
	left: -1px;
	top: 0;
	height: 46px;
	width: 46px;
	cursor: pointer;
	display: block;
	z-index: 1;
	-webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.progress-wrap:hover::after {
	opacity: 0;
}
.progress-wrap::before {
	position: absolute;
	font-family: 'unicons';
	content: '\2191';
	text-align: center;
	line-height: 46px;
	font-size: 28px;
    font-weight: bolder;
	opacity: 0;
	background: #5F8D4E; /* --- стрелка при hover --- */
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	left: -1px;
	top: -4px;
	height: 46px;
	width: 46px;
	cursor: pointer;
	display: block;
	z-index: 2;
	-webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.progress-wrap:hover::before {
	opacity: 1;
}
.progress-wrap svg path { 
	fill: none; 
}
.progress-wrap svg.progress-circle path {
	stroke: #5F8D4E; /* --- прогресс при прокрутке --- */
	stroke-width: 6;
	box-sizing:border-box;
	-webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.social a {
    text-align: center;
    width: 48px;
    height: 48px;
    float: left;
    background: #030303;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15), inset 0 0 50px rgba(0,0,0,0.1);
    border-radius: 24px;
    margin: 0;
    padding: 6px;
    color: #fff;
    transition: .4s all;
}
.viber- a {
    color: #fff;
}
.youtube a:hover {
    background: #c4302b;
    color: #fff;
}
.viber a:hover {
    background: #833AB4; /* #931bef; #f3960a;*/
    color: #fff;
}
.instagram a:hover {
    background-image: linear-gradient(45deg, #FCAF45, #F56040, #E1306C, #C13584, #833AB4, #5B51D8);
    color: #fff;
}
.email a:hover {
    background: #fff; /*#f3960a;*/
    color: #030303;
}
.facebook a:hover {
    background: #3b5998;
    color: #fff;
}
.twitter a:hover {
    background: #00acee;
    color: #fff;
}
.pinterest a:hover {
    background: #c8232c;
    color: #fff;
}


.opened .accordion__content {
    display: block;
}
.opened .accordion__label {
    cursor: auto;
}
.references a {
    color: #fff;
}
.references a:visited {
    color: #fff;
}
.references a:active {
    color: rgb(255, 187, 0);
}
.references a:hover {
    color: rgb(255, 187, 0);
}
.reference {
    top: -90px;
    position: relative;
}
.accordion .articles {
    top: -160px;
    position: relative;
}
.accordion__content .photos {
    width: 400px;
    height: 500px;
    margin: 14px auto;
}
.accordion__content .photos:not(:first-of-type) {
    margin-top: 36px;
}
.accordion__content .pics_text {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.4s;
    border-radius: 2px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 6px !important;
}
.accordion {
    width: 90%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
    background-color: #5F8D4E;
    align-self: center;
    margin-left: auto;
    margin-right: auto;
}
.accordion__label, .accordion__content {
    padding: 14px 20px;
}
.accordion__label {
    display: block;
    color: white;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    transition: all 0.4s;
}
.accordion__label:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: rgb(255, 187, 0);
}
.accordion__content {
    background: white;
    line-height: 1.6;
    font-size: 0.85em;
    display: none;
    text-align: justify;
}
.accordion__input {
    display: none;
}
.accordion__input:checked ~ .accordion__content {
    display: block;
}
.accordion__content .text_pic {
    display: block;
    margin: 5px auto 14px auto;
}
.accordion__content .text_pic img {
    width: 50%;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 6px;
}
.accordion a {
    color: #5F8D4Eff;
    font-weight: bolder;
    -webkit-animation: pulsate 2s ease-out;
    -webkit-animation-iteration-count: infinite;
    background-color: none;
}
.accordion__content p {
    margin-bottom: 7px;
}
@-webkit-keyframes pulsate {
    0% {
        background-color: none;
    }
    25% {
        background-color: #5F8D4Eff;
    }
    32% {
        color: #fff;
    }
    62% {
        color: #5F8D4Eff;
    }
    84% {
        background-color: none;
    }
    100% {
        color: #5F8D4Eff;
    }
}
.accordion a:active {
    color: #5F8D4Eff;
}
.accordion a:visited {
    color: #5F8D4Eff;
}
.grass {
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 60px;
}
.grass .subcategories:hover div {
    font-size: 40px !important;
    height: 50px;
    background-color: #c9f3b9d5;
}

@media screen and (max-width: 100em) {
    .accordion {
        width: 80%;
    }
    .subcategory {
        column-gap: 12px;
    }
    .grass {
        column-gap: 40px;
    }
}

@media screen and (max-width: 65em) {
    .subcategory {
        grid-template-columns: 1fr 1fr;
        column-gap: 32px;
        width: max-content;
    }
    .grass {
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 22px;
    }
    .accordion {
        width: 95%;
    }
    .accordion__content .photos {
        width: 300px;
        height: 360px;
        margin: 12px auto;
    }
    .accordion__content .photos:not(:first-of-type) {
        margin-top: 30px;
    }
    .accordion__content .pics_text {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transition: all 0.4s;
        display: block;
        margin-left: auto;
        margin-right: auto;
        border-radius: 20px !important;
    }
}

@media screen and (max-width: 55em) {
    .grass {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .grass img {
        max-width: 200px;
        max-height: 200px;
        border-radius: 4px;
    }
}

@media screen and (max-width: 45em) {
    .subcategory {
        column-gap: 10px;
        row-gap: 5px;
    }
    .subcategory img {
        max-width: 300px;
        max-height: 300px;
        border-radius: 4px;
    }
    .grass {
        grid-template-columns: 1fr 1fr 1fr;
        row-gap: 5px;
    }
    .grass .subcategories:hover div {
        font-size: 36px !important;
        height: 44px;
        background-color: #c9f3b9d5;
    }
    .grass img {
        max-width: 200px;
        max-height: 200px;
        border-radius: 4px;
    }
    .accordion {
        width: 96%;
    }
}

@media screen and (max-width: 40em) {
    .subcategory {
        grid-template-columns: 1fr;
        column-gap: 10px;
        row-gap: 5px;
    }
    .subcategory img {
        max-width: 300px;
        max-height: 300px;
        border-radius: 4px;
    }
    .grass img {
        max-width: 130px;
        max-height: 130px;
        border-radius: 4px;
    }
    .grass {
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 12px;
    }
}

@media screen and (max-width: 26em) and (min-width: 12em) {
    .subcategory {
        grid-template-columns: 1fr;
        max-width: 90%;
    }
    .subcategory img {
        max-width: 300px;
        max-height: 150px;
    }
}