/* page.php */
.standard-template {display: flex;flex-direction: row;justify-content: space-between;}
.standard-template > main {max-width:884px;width:100%;}
.standard-template > aside .sidebar {max-width:436px;margin-top:65px;padding-left:50px;margin-left:50px;border-left:1px solid rgba(0 0 0 / 0.05);padding-bottom:50px;}
@media (max-width: 992px) {
.standard-template {flex-direction: column;}
.standard-template > aside .sidebar {padding-left: 0;margin-left: 0;border-left: none;padding-bottom:0;width:auto;}
}

/* fullwidth.php */
.page-template-fullwidth .page-content {padding-bottom:0;}
section.fullwidth-template h1 {padding:25px 25px 25px 0px;text-align:left;}
section.fullwidth-template .headcenter h1 {text-align:center;padding-left:25px;margin-bottom:50px;}
@media (max-width:500px) {
.fullwidth-template h1 {text-align:left;padding:0;}
}

/* contact-page.php */
.page-template-contact-page .breadcrumb {background:none;}
.page-template-contact-page .breadcrumb > .container {padding-left:0 !important;}
.page-template-contact-page main.contact-page-template {display: flex;justify-content: center;align-items: center;}
.contact-container {display:flex;flex-direction:row;justify-content:flex-end;padding: 50px 0;width:100%;}
.contact-container.only {justify-content:center;}
.contact-container .double {width:50%;}
.contact-container .double.first {max-width:560px;padding-right:100px;padding-left:25px;}
.contact-container .double.last {width:50%;min-height:320px;}
.contact-container .double.last > * {}
.contact-container .double.last.maps > * {width:100%;height:100%;}
.contact-container .double.last > img {width:100%;height:100%;object-fit:contain;}
.contact-container .double.last picture img {width:100%;object-fit:contain;height:100%;}
.contact-container .double.last > .contact-no-bg {width:100%;height:100%;}
.contact-page-form .gform_wrapper {margin-top: 20px;}
.float-mid {background: white;box-shadow:0 0 10px rgba(0 0 0 / 0.1);padding:50px;position:absolute;margin-bottom: 20px;margin-left:180px;}
.float-mid i, aside .sidebar i {color:var(--fontcolor) !important;}
.float-mid .socials img {max-height: 25px;width: auto;margin-right: 10px;}
.float-mid .contact-info {max-width:500px;}
.float-mid .adress, aside .sidebar .adress {display:flex;flex-direction:row;}
.float-mid .adress > i, aside .sidebar .adress > i {margin-top:0.3rem;padding-right:12px;}
.float-mid i.fa-map-marker, aside .sidebar i.fa-map-marker {padding-right:8px;}
@media (max-width:992px) {
.page-template-contact-page main.contact-page-template {display:block;}
.contact-container {flex-direction:column-reverse;padding-top:0;}
.contact-container .double.first {width:calc(100% - 40px);min-height:unset;padding:0 20px;}
.contact-container .double.last {width:100%;min-height:unset;max-height:250px;overflow:hidden;}
.float-mid {position:relative;margin-bottom:0;margin-left:0;padding:0 25px;box-shadow:none;padding-bottom:50px;}
}

/* home.php */
.blog-container {display:flex;flex-wrap:wrap;justify-content:space-between;gap:5%;margin-bottom:100px;}
.blog-container h1 {width:auto;padding-bottom:15px;display:block;padding:25px;text-align:center;margin-top:50px;margin-bottom:50px;}
.blog main > h1, .category main > h1 {padding-top:50px;padding-bottom:55px;margin:0 auto;}
.blog main > h1.subrow {padding-bottom:0px;}
.blog main > span > p {max-width:992px;padding-bottom:50px;}
.blog main > span.archive_centered > p {text-align:center;margin:0 auto;}
.categories {margin-top:50px;}
.categories h2 {text-align:center;margin-bottom:20px;}
.categories .cat-links {display:flex;justify-content:center;gap:20px;}
.archives {display: flex;justify-content:space-between;flex-wrap:wrap;gap: 5%;}
.archives .single-post {width:30%;background:white;box-shadow: var(--shadow);margin-bottom: 50px;}
.archives .single-post:last-child {margin-right: auto;}
.archives .single-post .content-post {padding: 15px;}
.archives .single-post .content-post span.post-date {font-size: 12px;color:#bfbfbf;}
.blog-container div.news__item {width:30%;margin-bottom: 50px;overflow:hidden;}
.blog-container div.news__item:last-of-type {margin-right: auto;}
.blog-container div.news__item .image {overflow:hidden;max-height: 265px;margin-bottom: 10px;}
.blog-container div.news__item .image img {height: 264px;width:100%;object-fit:cover;}
.blog-container div.news__item .content .excerpt {color:var(--fontcolor);}
.blog-container div.news__item .content .postmeta {display:flex;flex-direction:row;justify-content:space-between;}
.blog-container div.news__item a:hover .content .postmeta span {color:var(--mainColor);}
.blog-container div.news__item a img {transition:var(--transition);}
.blog-container div.news__item a:hover img {transform:scale(1.1);}
.blog-container div.news__item .content h2 {margin:0;font-size:18px;color:var(--fontcolor);padding:5px 0;}
.variation-list {display:flex;flex-direction:row;margin-top:50px;}
.variation-list .type-list {}
.variation-list .type-list div.news__item {width:100%;padding-bottom:32px;margin-bottom:50px;border-bottom:1px solid #cecece;display:flex;flex-direction:row;}
.variation-list .type-list div.news__item .image {max-width:50%;min-width:24%;width:100%;margin-right:32px;}
.variation-list .type-list div.news__item .image img {height:unset;max-height:300px;object-fit:contain;}
.variation-list .type-list div.news__item .content {}
.variation-list .sidebar {max-width:436px;margin-top:65px;padding-left:50px;margin-left:50px;border-left:1px solid rgba(0 0 0 / 0.05);padding-bottom:50px;}
.nopost {text-align:center;width:100%;}
.pagination {width:100%;display:flex;flex-direction:row;justify-content:center;gap: 20px;}
.pagination .screen-reader-text {display:none;}
.pagination .nav-links {border-top:1px solid lightgray;border-bottom:1px solid lightgray;padding:10px 25px;}
.pagination .nav-links .page-numbers {padding:3px 4px;}
.oldschool .blog-container {flex-direction:column;max-width:824px;margin:0 auto 100px;}
.oldschool .blog-container div.news__item {width:100%;}
.oldschool .blog-container div.news__item .content h2 {font-size:26px;}
.oldschool .blog-container div.news__item .content .excerpt {max-height:192px;overflow:hidden;}
@media (min-width:768px) {
.oldschool .blog-container div.news__item > a {display:flex;flex-direction:row;}
.oldschool .blog-container div.news__item .image {min-width:30%;width:30%;margin-right:2rem;}
}
@media (max-width:768px) {
.blog main > h1 {padding-bottom:0;}
.blog-container {flex-direction:column;margin: 50px 0;}
.blog-container div.news__item {width:100%;}
.archives .single-post {width:100%;}
.variation-list {flex-direction:column;}
.variation-list .type-list div.news__item {flex-direction:column-reverse;}
.variation-list .type-list div.news__item .image {margin-top:10px;}
.variation-list .sidebar {margin-left:0;border-left:0;padding-left:0;margin-top:0;}
}

/* single.php */
.standard-template.centered.withimg {justify-content:center;margin-bottom:5rem;}
.standard-template.centered.withimg main article {float:none;display:flex;flex-direction:column;}
.standard-template.centered.withimg main article.hasimg > h1 {order:2;}
.standard-template.centered.withimg main article.hasimg > .wp-post-image {order:8;max-height:48vh;overflow:hidden;display:flex;justify-content:flex-start;align-items:center;}
.standard-template.centered.withimg main article.hasimg > .wp-post-image img {max-width:100%;max-height:48vh;width:100%;object-fit:cover;object-position:center;margin:0;}
.standard-template.centered.withimg main article.hasimg > p:nth-child(3) {order:4;margin-bottom:20px;}
/* .standard-template.centered.withimg main article.hasimg > p:nth-child(4) {order:6;} */
.standard-template.centered.withimg main article.hasimg > * {order:20;}
.standard-template.centered.withimg main article.hasimg > .form {order:99;}
.single .standard-template .form {background:white;box-shadow:var(--shadow);padding:1rem 2rem 4rem;text-align:center;display:flex;flex-direction:column;align-items:center;margin:2.5rem 0;}
.single .standard-template .form .gform_wrapper {max-width:unset;margin-top:20px;}
.single .standard-template .form .gform_wrapper .gform_button {width:calc(100% / 3 - 10px);margin:0 auto;}
@media (max-width:992px) {
.single .standard-template .form {padding:20px;}
}

/* archive-team.php */
#team.blog-container {gap:initial;}
#team .teamcontent > h1 {padding-top:50px;padding-bottom:55px;margin-top:25px;text-align:left;padding-left:0;padding-right:0;}
#team .teamcontent > h1.subrow {padding-bottom:0px;margin-bottom:15px;}
#team .teamcontent > span > p {max-width:992px;padding-bottom:50px;}
#team .teamcontent > span.archive_centered > p {text-align:center;margin:0 auto;}
#team.blog-container .teamcontent {width:100%;}
#team.blog-container .news__item {width:calc(25% - 20px);padding:10px;}
#team.blog-container .news__item.polaroid {box-shadow:0 0 10px rgba(0 0 0 / 0.2);padding:0;}
#team .news__item > a {display:flex;flex-wrap:wrap;align-items:center;}
#team .news__item > a .image {width:90%;display:flex;overflow:hidden;height:300px;margin:0 auto;box-shadow:10px 0px 0 var(--mainColor);}
#team .news__item.polaroid > a .image {box-shadow:none;}
#team .news__item > a .image picture, .post-type-archive-team .news__item > a .image img {object-fit:cover;height:100%;}
#team.blog-container div.news__item .image {max-height:none;}
#team .news__item > a .content {padding: 20px 32px;text-align:center;width:100%}
#team .news__item > a .content * {margin:0;}
#team .news__item > .content {text-align:center;margin-top:15px;}
#team .news__item.polaroid > .content {padding:0 20px 15px;margin-top:0;text-align:left;font-weight:bold;font-size:1.25em;}
#team .news__item > .content > a {font-size:1.25rem;font-weight:bold;color:var(--fontcolor);}
#team .news__item > .content > a:hover {color:var(--fontcolor);}
#team .news__item.polaroid > .content *:not(i) {font-weight:normal;}
#team .news__item .image img {width: 100%;height:100%;object-fit:cover;}
#team .jobtitle {font-size:var(--regular);}
@media (max-width:768px) {
#team .teamcontent > h1 {margin-bottom:0;}
#team.blog-container .news__item {width:100%;}
.archive .teamcontent {margin-bottom:32px;}
}

/* single-team.php */
.standard-template > main.single-team {display:flex;gap:20px;}
.single-team .boxed {display:flex;flex-direction:row;flex-wrap:nowrap;margin-top:50px;}
.single-team .boxed .team-info h1 {margin-bottom:0;}
.single-team .boxed .team-image {width:50%;margin-top:0;max-width:375px;padding-right:50px;padding-top:24px;width:unset;}
.single-team .boxed .team-info {display:flex;flex-direction:column;width:fit-content;}
.single-team .boxed .team-content {width:100%;}
@media (min-width: 992px) {
#firstback {margin-top:-30px;}
}
@media (max-width: 992px) {
.single-team .boxed {flex-direction:column;margin-top:0;}
.single-team .boxed #firstback {margin-top:20px;}
.single-team .boxed .team-image {width:85%;order:1;}
.single-team .boxed .team-info {width:100%;order:2;}
.single-team .boxed .team-content {order:3;}
.single-team .boxed #lastback {order:4;}
.single-team .boxed br {display:none;margin-top:15px;}
}

/* 404.php */
.error404 .page-content {padding:50px 0 100px;}
.error404 .page-content.standard-template {max-width:992px;}
.error404 .page-content .boxed {background:white;}
.error404 .page-content .boxed h1 {font-weight:900;line-height:0;display:block;margin-bottom:32px;}
.error404 .page-content .boxed .h2 {font-weight:600;}
.error404 .page-content .boxed p {margin-top: 10px;}
.error404 .page-content .boxed p img {max-width:768px;width:100%;}
.error404 #site-footer {margin-top:0;}
@media (min-width:992px) {
.error404 .page-content .boxed {padding:50px;}
}