/********************************
 GENERAL
 *******************************/
html {scroll-behavior: smooth;}
html,
body {height: 100%;}

body {
  display: -ms-flexbox;
  display: flex;
  font-family: "Point-ExtraLight";
  font-style: normal;
  letter-spacing: 0px;
  text-transform: none;
  color: #111;
  background: #fff;
}

header {background:#fff;}
body.pageid-1 header {background: transparent;}

.btn-outline-light {
    color: #929292;
    border-color: #929292;
}
.btn-outline-light:hover {
    border-color: #929292;
}
.btn.focus, .btn:focus {
    -webkit-box-shadow: none!important;
    box-shadow: none!important;
}

b,strong {font-family: "Point-Light";}
i {font-family: "Point-ExtraLightItalic";}
a, a:hover {color: #ed1d24;}

/********************************
 MAIN NAV
********************************/
.navbar {margin: 0.75rem 3rem 0;}
.navbar-brand {margin-bottom: 0; padding-top:0;} 
a.navbar-brand div.brand.mobile {display:none;}
a.navbar-brand div.brand.desktop {font-family: "Point-SemiBold"; font-size: 30px; color: #797979!important;}
body.pageid-1 a.navbar-brand div.brand.desktop {color: #fff!important;}
a.navbar-brand div.brand.desktop span {color: #ed1d24;}
.navbar-nav .nav-link {
  padding: .25rem 0;
  font-family: "Point-SemiBold";
  background-color: transparent;
  border-bottom: .25rem solid transparent;
} 
.navbar-dark .navbar-nav .nav-link {  color: rgba(255, 255, 255, 1)!important;}
body.pageid-11 .navbar-expand-md .navbar-nav li.nav-item:last-of-type .nav-link {padding-right: 0;}
.navbar-expand-md .navbar-nav li.nav-item:last-of-type .nav-link {padding-right: 0;}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus { border-bottom-color: rgba(255, 255, 255, .0);} 
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {color: rgba(255, 255, 255, .5)!important;}
.navbar-nav .nav-link + .nav-link {margin-left: 1rem;} 
.navbar-nav li + li {padding-left: 0.5rem;}
.navbar-nav .active {color: #fff; border-bottom-color: transparent;}
.navbar-nav li a {
  text-transform: none;
  font-family: "Point-SemiBold";
  font-style: normal;
  font-size: 28px;
  letter-spacing: 0px;
  text-transform: lowercase;
  line-height: 100%;
  color: #888;
  padding: 0;
  -moz-transition: color .24s ease-out;
  -o-transition: color .24s ease-out;
  -webkit-transition: color .24s ease-out;
  transition: color .24s ease-out;
} 
@media (min-width: 48em) {
  .navbar-brand {float: left;}
  .navbar-nav {float: right;}
}

/********************************
 MOBILE NAV
********************************/
.navbar-dark .navbar-toggler {
  color: rgba(255,255,255,1);
  border-color: rgba(255,255,255,0); 
  padding: .5rem .75rem .25rem .75rem;
  margin-right: -0.75rem;
}
.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(237, 29, 36, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(237, 29, 36, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.modal-dialog {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  max-width: 100%;
}  
.modal.fade .modal-dialog {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
} 
.modal-content {
  padding: 0.5rem 1rem 0;
  height: auto;
  min-height: 100%;
  border-radius: 0;
  background-color: rgba(255,255,255,0.95);
} 
.modal-open  #navbar-hidden .close {
  font-size: 2.5rem;
  padding: 1rem .25rem 1rem 1rem;
  margin: -0.8rem 0 -1rem auto;
}
.modal-header  {border-bottom: none;}  
.modal-open  #navbar-hidden ul {list-style:none; padding-left:0;} 
.modal-open  #navbar-hidden li {margin: 1.5rem;}
.modal-open  #navbar-hidden li a{
  text-transform: none;
  font-family: "Point-SemiBold";
  font-style: normal;
  font-size: 1.5rem;
  letter-spacing: 0px;
  text-transform: lowercase;
  color: #888;
  padding: 0;
  -moz-transition: color .24s ease-out;
  -o-transition: color .24s ease-out;
  -webkit-transition: color .24s ease-out;
  transition: color .24s ease-out;
}  
.modal-open #navbar-hidden li a:hover {color:#000;}

.modal-open #navbar-hidden li.nav-item.active a.nav-link{
    color: rgba(0,0,0,.9);
}

/********************************
 SUB-NAV
********************************/
.sub-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  position: relative;
  padding-bottom: 1rem;
  margin: -1rem 4rem 0 1.5rem;
}
body.pageid-11 .sub-nav {margin: -1rem 4rem 0 1.5rem;}
.sub-nav .sub-nav-wrapper {margin-left: auto;}
.sub-nav .sub-nav-wrapper .anchor-nav, 
.sub-nav .sub-nav-wrapper .category-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-justify-content: flex-end;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sub-nav li,
.sub-nav li+li {padding-left: 1rem!important;}

.sub-nav li a {
  font-family: "Point-SemiBold";
  font-style: normal;
  font-size: 16px;
  letter-spacing: .075rem;
  text-transform: lowercase;
  line-height: 110%;
  color: #888;
  padding: 0;
  -moz-transition: color .24s ease-out;
  -o-transition: color .24s ease-out;
  -webkit-transition: color .24s ease-out;
  transition: color .24s ease-out;
}
.sub-nav li.active a, 
.sub-nav li:hover a {color: rgba(0, 0, 0, .7); text-decoration:none;}

.sub-nav.navbar-dark li a {color: rgba(255, 255, 255, .9);}
.sub-nav.navbar-dark li:hover a {color: rgba(255, 255, 255, .5);}

/********************************
 CONTENT
********************************/
main {
  width: 100%;
  -webkit-box-orient: vertical;
  -ms-flex-direction: column;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: space-around;
  -ms-flex-pack: space-around;
  -webkit-justify-content: space-around;
  -moz-justify-content: space-around;
  justify-content: space-around;
  -moz-box-flex: 1;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  -webkit-flex: 1;
  flex: 1;
}
.site-content {
  position: relative;
  width: auto;
  margin: 0 4rem 1.5rem;
  margin-top: 102px;
  animation:fadein 1s;  
  -webkit-animation:fadein 1s;  
} 

body.pageid-1 .site-content {margin: 0;}
body.pageid-11 .site-content {margin-top: 78px;}

@media only screen and (max-width: 767px) and (orientation:portrait){ 
	body.pageid-1 .site-content.default {display: none}
}
@media only screen and (min-width: 768px){ 
	body.pageid-1 .site-content.mobile {display: none}
}
.col-xl-3 {
    -ms-flex: 0 0 24.9%;
    flex: 0 0 24.9%;
    max-width: 24.9%;
} 
.modal-open .modal {padding-right:0!important;}

/********************************
 HOMEPAGE
********************************/
body.pageid-1 .cover-container {max-width: 42em;}
body.pageid-1 .carousel-item {
  height: 100vh;
  min-height: 350px; 
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.carousel-item {transition: transform 0.6s ease;}
@media only screen and (max-width: 767px) and (orientation:portrait){ 
    body.pageid-1 .carousel-indicators {bottom: 100px;}
	body.pageid-1 .carousel-item {
	  height: 100vh;
	  min-height: 350px; 
	  background: no-repeat bottom center scroll;
	    -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
	}
}

/********************************
 WORK
********************************/
body.pageid-2 .work.col-xl-3.col-lg-6.col-md-6.col-sm-12.mb-4.isotope-item {padding-right: 7px;}
body.pageid-2 .work.mb-4 {margin-bottom: 22px!important;}
body.pageid-2 .card.h-100.hovereffect {border: 1px solid rgba(0,0,0,0); border-radius: 0;}
body.pageid-2 .card.h-100.hovereffect .card-img, 
body.pageid-2 .card.h-100.hovereffect .card-img-top {border-top-left-radius: 0; border-top-right-radius: 0;}
body.pageid-2 .card.h-100.hovereffect .overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.5);
  opacity: 0;
  will-change: opacity;
  -moz-transition: opacity .24s ease-out;
  -o-transition: opacity .24s ease-out;
  -webkit-transition: opacity .24s ease-out;
  transition: opacity .24s ease-out;
}
body.pageid-2 .card.h-100.hovereffect .overlay:hover {opacity: 1;}
body.pageid-2 .card.h-100.hovereffect .overlay h4,
body.pageid-2 .card.h-100.hovereffect .overlay p {color:#fff;}
body.pageid-2 .card.h-100.hovereffect .overlay a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  color: #ffffff;
}
body.pageid-2 .card.h-100.hovereffect .overlay h4.card-title {font-family: "Point-SemiBold";}
body.pageid-2 .card.h-100.hovereffect .overlay .card-body {height:100%; padding: 1.5em;}

/*Detail - Slider*/
/*image*/
.news-single .img-wrap > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.news-single .img-wrap.cover img {
    -o-object-fit: cover;
    object-fit: cover;
}
.news-single .img-wrap:after {
    content: "";
    display: block;
    height: 0;
    width: 100%;
}
.news-single .img-wrap.p-ratio:after {
    padding-bottom: 56.25%;
}     
.news-single .carousel .carousel-item {
    height: auto;
}  
.news-single .carousel .carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
    transform: translate3d(0px,0,0);
	max-height: 998px!important;
}
.news-single .carousel .carousel-inner img {
	max-height: 998px!important;
	width: auto;
}

.gcounter {
  position: absolute;
  top: 10px;      /* Abstand von oben */
  left: 10px;     /* Abstand von links */
  font-size: 16px;
  color: white;
  z-index: 9999;
}

.gcounter::after {
  content: attr(data-indicator);
}

@media (max-width: 1680px) {
.news-single .carousel .carousel-inner {
	max-height: 840px!important;
}
.news-single .carousel .carousel-inner img {
	max-height: 840px!important;
	width: auto;
}
}

@media (max-width: 1440px) {
.news-single .carousel .carousel-inner {
	max-height: 736px!important;
}
.news-single .carousel .carousel-inner img {
	max-height: 736px!important;
	width: auto;
}
}

@media (max-width: 1366px) {
.news-single .carousel .carousel-inner {
	max-height: 696px!important;
}
.news-single .carousel .carousel-inner img {
	max-height: 696px!important;
	width: auto;
}
}

@media (max-width: 1280px) {
.news-single .carousel .carousel-inner {
	max-height: 645px!important;
}
.news-single .carousel .carousel-inner img {
	max-height: 645px!important;
	width: auto;
}
}

@media (max-width: 1200px) {
.news-single .carousel .carousel-inner {
	max-height: 590px!important;
}
.news-single .carousel .carousel-inner img {
	max-height: 590px!important;
	width: auto;
}
}

@media (max-width: 1080px) {
.news-single .carousel .carousel-inner {
	max-height: 535px!important;
}
.news-single .carousel .carousel-inner img {
	max-height: 535px!important;
	width: auto;
}
}

@media (max-width: 1024px) {
.news-single .carousel .carousel-inner {
	max-height: 500px!important;
}
.news-single .carousel .carousel-inner img {
	max-height: 500px!important;
	width: auto;
}
}

@media (max-width: 992px) {
.news-single .carousel .carousel-inner {
	max-height: 448px!important;
}
.news-single .carousel .carousel-inner img {
	max-height: 448px!important;
	width: auto;
}
}

@media (max-width: 840px) {
.news-single .carousel .carousel-inner {
	max-height: 376px!important;
}
.news-single .carousel .carousel-inner img {
	max-height: 376px!important;
	width: auto;
}
}

@media (max-width: 768px) {
.news-single .carousel .carousel-inner {
	max-height: 412px!important;
}
.news-single .carousel .carousel-inner img {
	max-height: 412px!important;
	width: auto;
}
}

@media (max-width: 480px) {
.news-single .carousel .carousel-inner {
	max-height: 197px!important;
}
.news-single .carousel .carousel-inner img {
	max-height: 197px!important;
	width: auto;
}
}
/*controls*/
.carousel-control-next,
.carousel-control-prev {
 opacity:1;
}
.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ed1d24' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}
.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ed1d24' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}
.filter {filter: drop-shadow(0 0.1rem 0.15rem rgba(0, 0, 0, 0.9));}

#exampleModalCenter .img-thumb {max-height: 158px!important; width: auto;}

@media (max-width: 1440px) {
#exampleModalCenter .img-thumb {max-height: 115px!important; width: auto;}
}

@media (max-width: 840px) {
#exampleModalCenter .img-thumb {max-height: 110px!important; width: auto;}
}

@media (max-width: 767px) {
#exampleModalCenter .img-thumb {max-height: 188px!important; width: auto;}
}

@media (max-width: 575px) {
#exampleModalCenter .img-thumb {max-height: 200px!important; width: auto;}
}

/*lightbox*/
/*.lb-nav a.lb-prev,
.lb-nav a.lb-next,
.lb-data .lb-close {
 filter:alpha(Opacity=100);
 opacity:1;
}*/

/* FSLightbox - Auf Mobilgeräten: Pfeile ausblenden */
@media (max-width: 768px) {
  .fslightbox-slide-btn {
    display: none !important;
  }
}
/* Fancybox - Auf Mobilgeräten: Pfeile ausblenden */
@media (max-width: 768px) {
.is-horizontal .f-button.is-arrow.is-prev, 
.is-horizontal .f-button.is-arrow.is-next {
    display: none !important;
  }
}

/*Detail - Thumbnails*/
.modal-open .news.news-single .close {
  font-size: 2.5rem;
  margin-top: 0.05rem;
  margin-right: 0.05rem;
} 
.modal-open .news.news-single .modal-content a {cursor: pointer;}
@media only screen and (max-width: 767px){
	.modal-open .news-single #exampleModalCenter .modal-dialog {
	  height: auto;
	} 
}

.detail-menu {height: 3.25rem;}
.num {padding-top: .375rem; font-family: "Point-Light"; font-size: 1rem; color: #212529;}
.is-checked {color: rgba(0,0,0,.9) !important;}/*description*/
.full {width: 100%;} 
.news-single .text-right #fsBtn.btn {padding: .375rem 0 .375rem .75rem;}

/*pagination*/
.page-item.active .page-link {background-color: #797979; border-color: #797979;}
.page-link {color: #797979; border-color: #797979;}
.page-link:hover {background: #797979; color:#fff; border-color: #797979;} 

/********************************
 OFFICE
********************************/
body.pageid-3 section {
  padding-top: 120px;
  margin-top: -120px;
} 
.map {
  -webkit-filter: grayscale(100%);
	   -moz-filter: grayscale(100%);
	    -ms-filter: grayscale(100%);
	     -o-filter: grayscale(100%);
		      filter: grayscale(100%);
}

/********************************
 MEDIA
********************************/
body.pageid-4 .card,
body.pageid-13 .card {
  background-color: transparent;
  background-clip: border-box;
  border: 1px solid rgba(0,0,0,0);
  border-radius: 0;
}
body.pageid-4 .card-img, 
body.pageid-4 .card-img-top,
body.pageid-13 .card-img, 
body.pageid-13 .card-img-top {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
} 
body.pageid-4 .news .card-body,
body.pageid-13 .news .card-body {
  padding: .68rem 0 0 0;
} 

body.pageid-4 .news img.card-img-top,
body.pageid-13 .news img.card-img-top {opacity:1; transition: opacity 1s ease;}
body.pageid-4 .news img.card-img-top:hover,
body.pageid-13 .news img.card-img-top:hover {opacity:0.7; transition: opacity 1s ease;}

body.pageid-4 .news .card-text time ,
body.pageid-13 .news .card-text time{
  color: #111;
  font-family: "Point-ExtraLight";
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0px;
  text-transform: normal;
  line-height: 110%;
} 
body.pageid-4 .news .card-title,
body.pageid-13 .news .card-title{
  font-size: 1.25rem;
  padding-top: .2rem;
  color: #111;
  font-family: "Point-Light";
  font-style: normal;
  letter-spacing: 0px;
  text-transform: none;
  line-height: 110%;
}  
.news.news-single h1 {
  font-size: 1.8rem;
  padding-top: .2rem;
  color: #111;
  font-family: "Point-SemiBold";
  font-style: normal;
  letter-spacing: 0px;
  text-transform: none;
  line-height: 110%;
}
.news.news-single time {
  color: #111;
  font-size: 1rem;
  line-height: 110%;
} 
/********************************
 CONTACT
********************************/
#contactForm-118 > h2:nth-child(2) {display: none;}

/********************************
 FOOTER
********************************/
body.pageid-1 footer {display:none;}
.site-footer .footer-content {
  padding: 3rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  color: #444;
}

.site-footer .footer-content ul.social {list-style: none; padding-left: 0;}
.site-footer .footer-content ul.social li {display: inline-block; padding: 0 0.25rem; font-size: 1.2rem;}
.site-footer .footer-content ul.social li a {color: rgba(0,0,0,.9);}
.site-footer .footer-content ul.social li a:hover {color: rgba(0,0,0,.7);}

/********************************
 responsive Video
********************************/
.ce-gallery figure.video {
  display: block;
}
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 1.5rem;
}    
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  width: 100% !important;
  height: 100% !important;
}   
/* Workaround fuer Responsive Videos in Verbindung mit fluid_styled_content */    
.frame-layout-5 .ce-center .ce-inner {
  position: relative;
  float: none;
  right: -50%;
}    
.frame-layout-5 .ce-textpic, 
.frame-layout-5 .ce-image, 
.frame-layout-5 .ce-nowrap .ce-bodytext, 
.frame-layout-5 .ce-gallery, 
.frame-layout-5 .ce-row, 
.ce-uploads li, .frame-layout-5 .ce-uploads div {
  overflow: visible;
}   
.frame-layout-5 .ce-left .ce-gallery, 
.frame-layout-5 .ce-column {
  float: none;
}   
.frame-layout-5 .ce-gallery figure {
  display: block;
  margin: 0;
}    
.frame-layout-5 .ce-center .ce-outer {
  position: relative;
  float: none;
  right: 50%;
}
  
/* Isotope Transitions
------------------------------- */
.isotope,
.isotope .work {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}
.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
} 
.isotope .work {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:         top, left, opacity;
          transition-property:         transform, opacity;
}
.isotope-item {
  z-index: 2;
} 
.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
} 
.sub-nav-wrapper ul#filters.anchor-nav li a.is-checked {color: rgba(0,0,0,.9);}

/********************************
 MEDIA QUERIES
********************************/
@media only screen and (max-width: 1440px){
  body.pageid-3 div.d-flex.w-100.h-100.mx-auto.flex-column main.site-content .container {max-width: 1320px;}
	.sub-nav li + li {
    padding-left: 0.5rem;
	}
	.sub-nav li a {
    font-size: 0.85rem;
    letter-spacing: .075rem; 
	}
  .col-xl-3 {
	  -ms-flex: 0 0 33.33%;
	  flex: 0 0 33.1%;
	  max-width: 33.1%;
	}
	body.pageid-2 .work.col-xl-3.col-lg-6.col-md-6.col-sm-12.mb-4.isotope-item {padding-right: 7px;}
	body.pageid-2 .card.h-100.hovereffect .overlay .card-body {padding: 1em;}
	.work .card.hovereffect h4.card-title {font-size:1rem; margin-bottom: 0.5rem}
	.work .card.hovereffect p {font-size:1rem; margin-bottom: 0;}
} 

@media only screen and (max-width: 1200px){
  .sub-nav {display:none;}
  .col-xl-3 {
	  -ms-flex: 0 0 50%;
	  flex: 0 0 50%;
	  max-width: 50%;
	}
	body.pageid-2 .card.h-100.hovereffect .overlay .card-body {padding: 1.5em;}
	.work .card.hovereffect h4.card-title {font-size:1rem; margin-bottom: 0.5rem}
	.work .card.hovereffect p {font-size:1rem; margin-bottom: 0;}
}
@media only screen and (max-width: 1023px){
  .news-single a#fsBtn.btn {display:none!important;}
    a.navbar-brand div.brand.mobile {display: block; font-family: "Point-SemiBold"; font-size: 30px;}
  a.navbar-brand div.brand.mobile span {color: #ed1d24;}
  a.navbar-brand div.brand.desktop {display: none;}
}
@media only screen and (max-width: 768px){
  body.pageid-1 {overflow-y: hidden;}
  body.pageid-1 .carousel-indicators {margin-bottom: 0!important}
  .modal-header {margin: 0.5rem 0 0; padding: .5rem 1rem;}
  .navbar {margin: 1rem 0 0;}

  .site-content {margin: 120px 1rem 1.5rem;}
  .sub-nav {display:none;}
  .col-xl-3 {
	  -ms-flex: 0 0 50%;
	  flex: 0 0 50%;
	  max-width: 50%;
	}
	body.pageid-2 .card.h-100.hovereffect .overlay .card-body {padding: 0.8em 1em!important;}
	.work .card.hovereffect h4.card-title {font-size:1rem; margin-bottom: 0.5rem}
	.work .card.hovereffect p {font-size:0.8rem; margin-bottom: 0;}
}
@media only screen and (max-width: 640px){
  body.pageid-1 {overflow-y: hidden;}
  /*.fixed-top {margin: 0 1rem 0 1rem;}*/
  .modal-header {margin: 0.5rem 0 0; padding: .5rem 1rem;}
  .navbar {margin: 1rem 0 0;}
  a.navbar-brand div.brand.mobile {display: block; font-family: "Point-SemiBold"; font-size: 30px;}
  a.navbar-brand div.brand.mobile span {color: #ed1d24;}
  a.navbar-brand div.brand.desktop {display: none;}
  .site-content {margin: 120px 1rem 1.5rem;}  
  .sub-nav {display:none;}
  .col-xl-3 {
  	-ms-flex: 0 0 100%;
  	flex: 0 0 100%;
  	max-width: 100%;
  }
  body.pageid-2 .work.col-xl-3.col-lg-6.col-md-6.col-sm-12.mb-4.isotope-item {padding-left: 7px;}
  body.pageid-2 .card.h-100.hovereffect .overlay .card-body {padding: 1.5em;}
	.work .card.hovereffect h4.card-title {font-size:1.5rem; margin-bottom: 0.75rem}
	.work .card.hovereffect p {font-size:1rem; margin-bottom: 0;}
}
@media screen and (min-width: 640px) and (max-width: 1024px) {body.pageid-1 .carousel-indicators {margin-bottom: 5rem!important}}
/********************************
 Animation
********************************/
@keyframes fadein{from{opacity:0;}to{opacity:1;}}
@-moz-keyframes fadein{from{opacity:0;}to{opacity:1;}}
@-webkit-keyframes fadein{from{opacity:0;}to{opacity:1;}}
@-o-keyframes fadein{from{opacity:0;}to{opacity:1;}}