/* Home Page */
.service {
  background-color: transparent;
  left: 50%;
  perspective: 1000px;
  position: relative;
  transform: translateX(-50%);
  width: 90%;
}

.service-back {
  background-color: #f8f8f8;
  border-bottom: 1px solid #f0f0f0;
  border-left: 1px solid #f0f0f0;
  transform: rotateX(180deg);
}

.service-back div:first-child {
  height: 70%;
  position: relative;
}

.service-back div:last-child {
  height: 30%;
  position: relative;
}

.service-container a {
  font-size: 1.0vw;
  left: 50%;
  margin: 0;
  padding: 5%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
}

.service-container h3 {
  color: #666666;
  font-size: 1.2em;
  margin: 0;
  padding: 5%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.service-front {
  border-left: 1px solid #f0f0f0;
  border-top: 1px solid #f0f0f0;
  position: absolute;
}

.service-front h3 {
  font-size: 1.0em;
  padding: 10px 0px;
}

.service-front img {
  padding: 5%;
}

.service-inner {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  position: relative;
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.8s;
}

.service:hover .service-inner {
  transform: rotateX(180deg);
}

.service-front, .service-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}


/* Comprehensive Financial Planning */
.financial-planning {
  background-color: white;
  border: none;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  color: #444;
  cursor: pointer;
  font-weight: bold;
  margin-bottom: 15px;
  outline: none;
  padding: 18px;
  text-align: left;
  transition: 0.4s;
  width: 100%;
}

.financial-planning:hover {
  background-color: #f2f2f2;
}

.financial-planning-panel {
  background-color: white;
  display: none;
  overflow: hidden;
  padding: 0px 0px 10px 20px;
}

#panel-0.financial-planning {
  border-left: 5px solid #009ec0;
}

#panel-1.financial-planning {
  border-left: 5px solid #008140;
}

#panel-2.financial-planning {
  border-left: 5px solid #c21710;
}

#panel-3.financial-planning {
  border-left: 5px solid #ce0170;
}

#panel-4.financial-planning {
  border-left: 5px solid #2a2870;
}

#panel-5.financial-planning {
  border-left: 5px solid #d3b310;
}

#panel-6.financial-planning {
  border-left: 5px solid #745c70;
}


/* Portfolio Management */
/*
.slideshow-container {
  left: 50%;
  position: relative;
  max-width: 400px;
  transform: translateX(-50%);
  width: 970px !important;
}

.slideshow-container .slideshow-text {
  padding-top: 10px;
  text-align: center;
}

.slideshow-fade {
  animation-duration: 1.5s;
  animation-name: fade;
}

.slideshow-next {
  right: 0;
}

.slideshow-progress {
  left: 50%;
  text-align: center;
  top: 93%;
  transform: translateX(-50%);
  position: absolute;
}

.slideshow-progress span {
  background-color: lightgray;
  border-radius: 50%;
  cursor: pointer;
  display: inline-block;
  transition: 0.5s ease;
  height: 12px;
  width: 12px;
}

.slideshow-progress span:hover {
  background-color: gray;
}

.slideshow-progress .slideshow-active {
  background-color: gray;
}

.slideshow-slide:not(.slideshow-active), .slideshow-text:not(.slideshow-active) {
  display: none;
}

.slideshow-next, .slideshow-prev {
  color: lightgray;
  cursor: pointer;
  margin-top: -2%;
  padding: 2%;
  position: absolute;
  text-shadow: 0 1px 2px rgb(0 0 0 / 60%);
  top: 50%;
  transition: 0.5s ease;
  user-select: none;
  width: auto;
}

.slideshow-next:hover, .slideshow-prev:hover {
  background-color: rgba(128, 128, 128, 0.5);
}
*/
.portfolio-management {
  background-color: #fafafa;
  border: 1px solid #f0f0f0;
  box-shadow: 0px 0px 5px lightgray;
  border-radius: 50%;
}

.portfolio-management img {
  padding: 10%;
}

.portfolio-management + p {
  padding-top: 20px;
  text-align: left;
}

.portfolio-management-container {
  left: 50%;
  position: relative;
  transform: translateX(-50%);
  width: 90%;
}

@keyframes fade {
  from { opacity: 0.4 }
  to { opacity: 1 }
}


/* Why Croxall Capital Planning */
.accordion-why-ccp {
  background-color: white;
  border: none;
  box-shadow: 5px 5px 5px lightgray;
  color: #444;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 20px;
  outline: none;
  padding: 18px;
  text-align: center;
  transition: 0.4s;
  width: 100%;
}

.accordion-why-ccp:hover {
  background-color: #f2f2f2;
}

.accordion-why-ccp-button-container {
  position: relative;
}

.accordion-why-ccp-button-icon-left {
  position: absolute;
  text-align: left;
  width: 100%;
}

.accordion-why-ccp-button-icon-right {
  position: absolute;
  text-align: right;
  width: 100%;
}

.accordion-why-ccp-panel {
  display: none;
  overflow: hidden;
  padding: 0px 0px 10px 20px;
}

#why-ccp-1 {
  border-left: 5px solid rgb(1, 159, 199); /* #009ec0 */
}

#why-ccp-2 {
  border-left: 5px solid rgb(0, 129, 64); /* #008140 */
}

#why-ccp-3 {
  border-left: 5px solid rgb(194, 23, 16); /* #c21710 */
}

#why-ccp-4 {
  border-right: 5px solid rgb(206, 1, 112, 1); /* #ce0170 */
}

#why-ccp-5 {
  border-right: 5px solid rgb(42, 40, 112); /* #2a2870 */
}

/* Parallax Header */
/*
.parallax-container {
  background-attachment: fixed;
  background-image: url('$ContentPath$media/documents/3502a97b-6d83-479f-8a0d-df7fe3ac588a.jpg');
  background-repeat: no-repeat;
  background-size: 100%;
  height: auto;
  overflow: auto;
  position: relative;
  width: 100%;
}

.parallax-content {
  border: 1px solid blue;
  position: relative;
}

.parallax-content h1 {
  color: white;
  font-size: 4vw;
  margin: 0;
  text-align: center;
}

.parallax-overlay {
  background-color: rgba(0, 0, 0, 0.3);
  height: 100%;
}
*/

/* Video Header */
/*
.video-container {
  height: auto;
  overflow: auto;
  position: relative;
  width: 100%;
}

.video-container a {
  font-size: 1.2vw;
  margin: 0;
  padding: 1%;
}

.video-container div {
  text-align: center;
  top: 45%;
  position: absolute;
  width: 100%;
}

.video-container h1 {
  color: white;
  font-size: 4.0vw;
  margin-top: 0;
}

.video-container video {
  display: block;
  height: auto;
  position: relative;
  opacity: 1.0;
  width: 100%;
}

@media screen and (max-width: 1000px) {
  .service-container h3 {
    font-size: 0.9em;
  }
  
  .service-front h3 {
    font-size: 0.75em;
  }
}
*/


/* AOS Bug Fix */
.body-container {
  overflow-x: hidden;
}