/* common-css-start */
.cfb_wrapper .flipbox-container {
  margin-top: 30px;
  display: flex;
  align-content: center;
  justify-content: center;
}
.cfb_wrapper .flipbox-container p {
  font-weight: 400;
}

.cfb_wrapper .flipbox-front-layout,
.cfb_wrapper .flipbox-back-layout {
  width: 100%;
}

.cfb_wrapper .flipbox-front-layout {
  background: #ffffff;
  border-radius: 8px;
  -webkit-box-shadow: 0px 0px 8px 4px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0px 0px 8px 4px rgba(0, 0, 0, 0.05);
  box-shadow: 0px 0px 8px 4px rgba(0, 0, 0, 0.05);
  padding: 30px 0;
  height: 100%;
  display: flex;
  align-content: center;
  justify-content: center;
  flex-wrap: wrap;
}

.cfb_wrapper .flipbox-back-layout {
  background: #ffffff;
  border-radius: 8px;
  -webkit-box-shadow: 0px 0px 8px 4px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0px 0px 8px 4px rgba(0, 0, 0, 0.05);
  box-shadow: 0px 0px 8px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  height: 100%;
  padding: 30px 20px;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
}

.cfb_wrapper .flipbox-back-layout p {
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  text-align: center;
}

.cfb_wrapper .back-layout-btn {
  height: 40px;
  display: inline-block;
  line-height: 40px;
  border-radius: 40px;
  padding: 0 20px;
  text-decoration: none;
  letter-spacing: 1.2px;
  background: #ffffff;
  transition: all 0.5s ease;
  margin-top: 15px;
}
.cfb_wrapper .back-layout-btn:hover {
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
}
.cfb_wrapper .back-layout-link {
  font-weight: 600;
  font-size: 18px;
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
}
.cfb_wrapper .back-layout-link:hover {
  font-weight: 900;
}
.cfb_wrapper .flipbox-icon {
  width: 100px;
  height: 100px;
  margin: auto;
  line-height: 100px;
  text-align: center;
  border-radius: 50%;
  font-size: 50px;
}
.cfb_wrapper .flipbox-icon.flipbox-solid-icon {
  background: none;
  font-size: 60px;
}

.cfb_wrapper .flipbox-front-description {
  text-align: center;
  padding: 0 20px;
  width: 100%;
}
.cfb_wrapper .flipbox-front-description h4 {
  font-size: 24px;
  margin: 20px 0 10px;
}
.cfb_wrapper .flipbox-front-description p {
  font-size: 16px;
  line-height: 1.5;
}

.cfb_wrapper .flipbox-front-filled .flipbox-front-description h4,
.cfb_wrapper .flipbox-front-filled .flipbox-front-description p {
  color: #fff;
}

.cfb_wrapper .flipbox-img {
  height: 100%;
  width: 100%;
}
.cfb_wrapper .flipbox-img img {
  width: 100%;
  border-radius: 8px;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cfb_wrapper .flipbox-img-content {
  text-align: center;
  font-size: 20px;
  margin-top: 20px;
  color: #424242;
  font-weight: 300;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}
.cfb_wrapper .flipbox-background-img * {
  position: relative;
  z-index: 9;
}
.cfb_wrapper .flipbox-background-img {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.cfb_wrapper .flipbox-background-img::before {
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  width: 100%;
  height: 100%;
}

.cfb_wrapper .flipbox-image-top {
  position: relative;
}

.cfb_wrapper .flipbox-image-top img {
  width: 100%;
}

.cfb_wrapper .flipbox-icon.flipbox-solid-icon,
.cfb_wrapper .flipbox-back-layout p {
  width: 100%;
}
/* common-css-end */

/* 
  height css
*/

.cfb-flip[data-height="default"] .flipbox-front-layout,
.cfb-flip[data-height="equal"] .flipbox-front-layout {
  height: auto;
}

/* layout-1-start */
.cfb-layout-1 .flipbox-front-layout {
  border: 1px dashed;
}

/* layout-1-end */

/* layout-2-start */

.cfb-layout-2 .flipbox-front-layout {
  padding: 0;
  border: 0;
}
.cfb-layout-2 .flipbox-back-layout h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 22px;
  line-height: 1.5;
  text-align: center;
}
/* layout-2-end */

/* layout-3-start */
.cfb-layout-3 .flipbox-front-layout,
.cfb-layout-3 .flipbox-back-layout {
  border: 1px solid;
}

/* layout-3-end */

/* layout-4-start */

.cfb-layout-4 .flipbox-back-layout p {
  color: #ffffff;
}
.cfb-layout-4 .flipbox-front-layout {
  align-items: flex-start;
  border: 0;
  padding: 0;
}

.cfb-layout-4 .flipbox-icon {
  background: #fff;
}
.cfb-layout-4 .flip-icon-bototm {
  width: 60px;
  height: 60px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -30px;
  font-size: 30px;
  line-height: 60px;
}
.cfb-layout-4 .flipbox-image-top {
  margin-bottom: 50px;
}
.cfb-layout-4 .flip-icon-bototm {
  border: 1px solid;
}
.cfb-layout-4 .flipbox-image-content {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

/* layout-4-end */

/* layout-five-end */
.flipbox-container.cfb-layout-5 .flipbox-icon {
  color: #fff;
}

.cfb-layout-5 .flipbox-front-layout {
  border: 0;
}

/* layout-five-end */

/* layout-6-start */

.cfb-layout-6 .flipbox-front-layout {
  padding: 0;
  border: 0;
  width: 200px !important;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid;
}
.cfb-layout-6 .flipbox-back-layout {
  width: 200px !important;
  border-radius: 50%;
}
.cfb-layout-6 .flipbox-back-layout h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 22px;
  line-height: 1.5;
  text-align: center;
}

/* layout-6-end */

/* layout-7-start*/
.cfb-layout-7 .flipbox-front-layout {
  padding: 0;
}
.cfb-layout-7 .flipbox-back-layout {
  height: 400px;
}
.cfb-layout-7 .flipbox-background-img::before {
  background: rgba(255, 255, 255, 0.85);
}

/* layout-7-end */

/* layout-8-start */

.cfb-layout-8 .flipbox-background-img::before {
  background: rgba(0, 0, 0, 0.6);
}

.cfb-layout-8 .flipbox-front-layout {
  border: 0;
  padding: 0;
}
.cfb-layout-8 .flipbox-frontImg {
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.cfb-layout-8 .flipbox-frontImg::before {
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
}

.cfb-layout-8 .flipbox-front-description {
  position: relative;
  z-index: 9;
  /* text-align: justify; */
}

/* layout-8-end */

/* layout-9-start*/

.cfb-layout-9 .flipbox-front-layout {
  border: 0;
}
.cfb-layout-9 .flipbox-icon {
  color: #fff;
  /* font-size: 80px; */
}

/* layout-9-end */

/*
  Flipboxes CMB2 settings pannel  
*/

#cfb-side-mt .cmb-row,
#cfb_advanced_settings .cmb-row {
  padding: 0px !important;
}
#cfb-side-mt .cmb-th,
#cfb_advanced_settings .cmb-th {
  padding: 0px !important;
}

#cfb-side-mt .cmb-row p,
#cfb_advanced_settings .cmb-row p {
  padding-bottom: 2px !important;
}
