/*
Description: Custom CSS plugins as well as overwriting CSS for third party plugins
Author: Rion Alexander @ Mustard Marketing.
Tags: plugins, framework, overide, etc

GLOSSERY
- - - COLUMNS: CUSTOM 5 column plugin for bootstrap
- - - COLUMNS: of same height (display table | table-cell)
- - - COLUMNS: no spacing (gutters) between columns
- - - FORM TABLE: vertical form layout with smaller column spaces
- - - PROCESS STEPS: bootsnipp
- - - OVERIDE: gravity forms
*/
/*	
	============================================================================================================================================
																	PLUGINS
	============================================================================================================================================
*/
/*-------------------------------*/
/*  5 COLUMN: CUSTOM CSS bootstrap plugin   */
/*-------------------------------*/
.col-xs-51, .col-sm-51, .col-md-51, .col-lg-51,
.col-xs-52, .col-sm-52, .col-md-52, .col-lg-52,
.col-xs-53, .col-sm-53, .col-md-53, .col-lg-53,
.col-xs-54, .col-sm-54, .col-md-54, .col-lg-54 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.col-xs-51 {
  float: left;
  width: 20%;
}

.col-xs-pull-51 {
  right: 20%;
}

.col-xs-push-51 {
  left: 20%;
}

.col-xs-offset-51 {
  margin-left: 20%;
}

.col-xs-52 {
  float: left;
  width: 40%;
}

.col-xs-pull-52 {
  right: 40%;
}

.col-xs-push-52 {
  left: 40%;
}

.col-xs-offset-52 {
  margin-left: 40%;
}

.col-xs-53 {
  float: left;
  width: 60%;
}

.col-xs-pull-53 {
  right: 60%;
}

.col-xs-push-53 {
  left: 60%;
}

.col-xs-offset-53 {
  margin-left: 60%;
}

.col-xs-54 {
  float: left;
  width: 80%;
}

.col-xs-pull-54 {
  right: 80%;
}

.col-xs-push-54 {
  left: 80%;
}

.col-xs-offset-54 {
  margin-left: 80%;
}

@media (min-width: 768px) {
  .col-sm-51 {
    float: left;
    width: 20%;
  }
  .col-sm-pull-51 {
    right: 20%;
  }
  .col-sm-push-51 {
    left: 20%;
  }
  .col-sm-offset-51 {
    margin-left: 20%;
  }
  .col-sm-52 {
    float: left;
    width: 40%;
  }
  .col-sm-pull-52 {
    right: 40%;
  }
  .col-sm-push-52 {
    left: 40%;
  }
  .col-sm-offset-52 {
    margin-left: 40%;
  }
  .col-sm-53 {
    float: left;
    width: 60%;
  }
  .col-sm-pull-53 {
    right: 60%;
  }
  .col-sm-push-53 {
    left: 60%;
  }
  .col-sm-offset-53 {
    margin-left: 60%;
  }
  .col-sm-54 {
    float: left;
    width: 80%;
  }
  .col-sm-pull-54 {
    right: 80%;
  }
  .col-sm-push-54 {
    left: 80%;
  }
  .col-sm-offset-54 {
    margin-left: 80%;
  }
}

@media (min-width: 992px) {
  .col-md-51 {
    float: left;
    width: 20%;
  }
  .col-md-pull-51 {
    right: 20%;
  }
  .col-md-push-51 {
    left: 20%;
  }
  .col-md-offset-51 {
    margin-left: 20%;
  }
  .col-md-52 {
    float: left;
    width: 40%;
  }
  .col-md-pull-52 {
    right: 40%;
  }
  .col-md-push-52 {
    left: 40%;
  }
  .col-md-offset-52 {
    margin-left: 40%;
  }
  .col-md-53 {
    float: left;
    width: 60%;
  }
  .col-md-pull-53 {
    right: 60%;
  }
  .col-md-push-53 {
    left: 60%;
  }
  .col-md-offset-53 {
    margin-left: 60%;
  }
  .col-md-54 {
    float: left;
    width: 80%;
  }
  .col-md-pull-54 {
    right: 80%;
  }
  .col-md-push-54 {
    left: 80%;
  }
  .col-md-offset-54 {
    margin-left: 80%;
  }
}

@media (min-width: 1200px) {
  .col-lg-51 {
    float: left;
    width: 20%;
  }
  .col-lg-pull-51 {
    right: 20%;
  }
  .col-lg-push-51 {
    left: 20%;
  }
  .col-lg-offset-51 {
    margin-left: 20%;
  }
  .col-lg-52 {
    float: left;
    width: 40%;
  }
  .col-lg-pull-52 {
    right: 40%;
  }
  .col-lg-push-52 {
    left: 40%;
  }
  .col-lg-offset-52 {
    margin-left: 40%;
  }
  .col-lg-53 {
    float: left;
    width: 60%;
  }
  .col-lg-pull-53 {
    right: 60%;
  }
  .col-lg-push-53 {
    left: 60%;
  }
  .col-lg-offset-53 {
    margin-left: 60%;
  }
  .col-lg-54 {
    float: left;
    width: 80%;
  }
  .col-lg-pull-54 {
    right: 80%;
  }
  .col-lg-push-54 {
    left: 80%;
  }
  .col-lg-offset-54 {
    margin-left: 80%;
  }
}

/*  5 COLUMN: CUSTOM CSS bootstrap plugin END   */
/*-------------------------------*/
/*  FORM TABLE: vertical - CUSTOM CSS bootstrap plugin   */
/*-------------------------------*/
.form-table {
  width: 100%;
}

.form-table .row {
  clear: both;
  margin-left: -5px !important;
  margin-right: -5px !important;
}

.form-table [class*="col-"] {
  margin-bottom: 10px;
  padding: 0 5px !important;
  position: relative;
}

/*  FORM TABLE: vertical END */
/*-------------------------------*/
/*  BOOTSTRAP: CUSTOM CSS bootstrap that removes gutter   */
/*-------------------------------*/
.row.no-gutter-xs {
  margin-right: 0;
  margin-left: 0;
}

.row.no-gutter-xs > [class*='col-'] {
  padding-right: 0;
  padding-left: 0;
}

@media (min-width: 768px) {
  .row.no-gutter-sm {
    margin-right: 0;
    margin-left: 0;
  }
  .row.no-gutter-sm > [class*='col-'] {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (min-width: 992px) {
  .row.no-gutter-md {
    margin-right: 0;
    margin-left: 0;
  }
  .row.no-gutter-md > [class*='col-'] {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (min-width: 1200px) {
  .row.no-gutter-lg {
    margin-right: 0;
    margin-left: 0;
  }
  .row.no-gutter-lg > [class*='col-'] {
    padding-right: 0;
    padding-left: 0;
  }
}

/* FLAT COLUMN: no spacing between columns */
/*-------------------------------*/
/*  TABLE COLUMNS: of same height - CUSTOM CSS plugin */
/*-------------------------------*/
[class*="table-xs"], .table-xs {
  display: table;
  width: 100%;
}

[class*="row-xs"], .row-xs {
  display: table-row;
}

[class*="column-xs"], .column-xs {
  display: table-cell;
  float: none;
  vertical-align: top;
}

@media only screen and (min-width: 768px) {
  [class*="table-sm"], .table-sm {
    display: table;
    width: 100%;
  }
  [class*="row-sm"], .row-sm {
    display: table-row;
  }
  [class*="column-sm"], .column-sm {
    display: table-cell;
    float: none;
    vertical-align: top;
  }
}

@media only screen and (min-width: 992px) {
  [class*="table-md"], .table-md {
    display: table;
    width: 100%;
  }
  [class*="row-md"], .row-md {
    display: table-row;
  }
  [class*="column-md"], .column-md {
    display: table-cell;
    float: none;
    vertical-align: top;
  }
}

@media only screen and (min-width: 1200px) {
  [class*="table-lg"], .table-lg {
    display: table;
    width: 100%;
  }
  [class*="row-lg"], .row-lg {
    display: table-row;
  }
  [class*="column-lg"], .column-lg {
    display: table-cell;
    float: none;
    vertical-align: top;
  }
}

/*  TABLE COLUMNS: of same height - CUSTOM CSS plugin END */
/*-------------------------------*/
/*  FIXED WIDTH AND HEIGHT RATIO: keep the ratio of the height relative to the width */
/*-------------------------------*/
[class*="rxs"] {
  display: table;
  position: relative;
  width: 100%;
}

[class*="rxs"]:before {
  content: "";
  display: block;
  padding-top: 100%;
  /* initial ratio of 1:1 - overwrite with classes below*/
}

.rxs-1-1:before {
  padding-top: 100%;
}

.rxs-2-1:before {
  padding-top: 50%;
}

.rxs-1-2:before {
  padding-top: 200%;
}

.rxs-3-4:before {
  padding-top: 125%;
}

.rxs-4-3:before {
  padding-top: 75%;
}

.rxs-16-3:before {
  padding-top: 30%;
}

.rxs-16-4:before {
  padding-top: 40%;
}

.rxs-16-9:before {
  padding-top: 56.25%;
}

[class*="rxs"] .rbody {
  display: table-cell;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  vertical-align: middle !important;
}

@media only screen and (min-width: 768px) {
  [class*="rsm"] {
    display: table;
    position: relative;
    width: 100%;
  }
  [class*="rsm"]:before {
    content: "";
    display: block;
    padding-top: 100%;
    /* initial ratio of 1:1 - overwrite with classes below*/
  }
  .rsm-1-1:before {
    padding-top: 100%;
  }
  .rsm-2-1:before {
    padding-top: 50%;
  }
  .rsm-1-2:before {
    padding-top: 200%;
  }
  .rsm-3-4:before {
    padding-top: 125%;
  }
  .rsm-4-3:before {
    padding-top: 75%;
  }
  .rsm-16-3:before {
    padding-top: 30%;
  }
  .rsm-16-4:before {
    padding-top: 40%;
  }
  .rsm-16-9:before {
    padding-top: 56.25%;
  }
  [class*="rsm"] .rbody {
    display: table-cell;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    vertical-align: middle !important;
  }
}

@media only screen and (min-width: 992px) {
  [class*="rmd"] {
    display: table;
    position: relative;
    width: 100%;
  }
  [class*="rmd"]:before {
    content: "";
    display: block;
    padding-top: 100%;
    /* initial ratio of 1:1 - overwrite with classes below*/
  }
  .rmd-1-1:before {
    padding-top: 100%;
  }
  .rmd-2-1:before {
    padding-top: 50%;
  }
  .rmd-1-2:before {
    padding-top: 200%;
  }
  .rmd-3-4:before {
    padding-top: 125%;
  }
  .rmd-4-3:before {
    padding-top: 75%;
  }
  .rmd-16-3:before {
    padding-top: 30%;
  }
  .rmd-16-4:before {
    padding-top: 40%;
  }
  .rmd-16-9:before {
    padding-top: 56.25%;
  }
  [class*="rmd"] .rbody {
    display: table-cell;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    vertical-align: middle !important;
  }
}

@media only screen and (min-width: 1200px) {
  [class*="rlg"] {
    display: table;
    position: relative;
    width: 100%;
  }
  [class*="rlg"]:before {
    content: "";
    display: block;
    padding-top: 100%;
    /* initial ratio of 1:1 - overwrite with classes below*/
  }
  .rlg-1-1:before {
    padding-top: 100%;
  }
  .rlg-2-1:before {
    padding-top: 50%;
  }
  .rlg-1-2:before {
    padding-top: 200%;
  }
  .rlg-3-4:before {
    padding-top: 125%;
  }
  .rlg-4-3:before {
    padding-top: 75%;
  }
  .rlg-16-3:before {
    padding-top: 30%;
  }
  .rlg-16-4:before {
    padding-top: 40%;
  }
  .rlg-16-9:before {
    padding-top: 56.25%;
  }
  [class*="rlg"] .rbody {
    display: table-cell;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    vertical-align: middle !important;
  }
}

/*  FIXED WIDTH AND HEIGHT RATIO: keep the ratio of the height relative to the width */
/*-------------------------------*/
/* FORM TABLE: horizontal [specifically for hellopeter] */
/*-------------------------------*/
.form-h-tbl {
  display: table;
  width: 100%;
}

[class*="form-h-col-"] {
  margin-bottom: 10px;
  vertical-align: top;
}

[class*="form-h-col-"]:first-child {
  padding-left: 0 !important;
}

[class*="form-h-col-"]:last-of-type {
  padding-right: 0 !important;
}

.form-h-col-last {
  width: 115px !important;
  min-width: 115px !important;
  max-width: 115px !important;
  margin-bottom: 0;
  padding-left: 5px;
}

.form-h-col-last [class*="btn-custom-"] {
  width: 100%;
}

.form-h-col-xs-2, .form-h-col-xs-3, .form-h-col-xs-4 {
  display: table-cell;
  float: none;
  margin-bottom: 0 !important;
  padding: 0 5px !important;
}

.form-h-col-xs-2 {
  width: 84%;
}

/* horizontal 2 column layout */
.form-h-col-xs-3 {
  width: 42%;
}

/* horizontal 3 column layout */
.form-h-col-xs-4 {
  width: 30%;
}

/* horizontal 4 column layout */
@media (min-width: 768px) {
  .form-h-col-sm-2, .form-h-col-sm-3, .form-h-col-sm-4 {
    display: table-cell;
    float: none;
    margin-bottom: 0 !important;
    padding: 0 5px !important;
  }
  .form-h-col-sm-2 {
    width: 84%;
  }
  .form-h-col-sm-3 {
    width: 42%;
  }
  .form-h-col-sm-4 {
    width: 30%;
  }
}

@media (min-width: 991px) {
  .form-h-col-md-2, .form-h-col-md-3, .form-h-col-md-4 {
    display: table-cell;
    float: none;
    margin-bottom: 0 !important;
    padding: 0 5px !important;
  }
  .form-h-col-md-2 {
    width: 84%;
  }
  .form-h-col-md-3 {
    width: 42%;
  }
  .form-h-col-md-4 {
    width: 30%;
  }
}

@media (min-width: 1200px) {
  .form-h-col-lg-2, .form-h-col-lg-3, .form-h-col-lg-4 {
    display: table-cell;
    float: none;
    margin-bottom: 0 !important;
    padding: 0 5px !important;
  }
  .form-h-col-lg-2 {
    width: 84%;
  }
  .form-h-col-lg-3 {
    width: 42%;
  }
  .form-h-col-lg-4 {
    width: 30%;
  }
}

/* FORM TABLE: horizontal END */
/*-------------------------------*/
/* BOOTSTRAP PLUGIN: Modal Animations [specifically for hellopeter] */
/*-------------------------------*/
.modal.fade .modal-dialog {
  -webkit-transform: scale(0.1);
  -moz-transform: scale(0.1);
  -ms-transform: scale(0.1);
  transform: scale(0.1);
  top: 300px;
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

.modal.fade.in .modal-dialog {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-transform: translate3d(0, -300px, 0);
  transform: translate3d(0, -300px, 0);
  opacity: 1;
}

/* BOOTSTRAP PLUGIN: Modal Animations END */
/*-------------------------------*/
/* CUSTOM TABS: Animated Circle Tabs [specifically for hellopeter] */
/*-------------------------------*/
.nav.nav-justified > li > a {
  position: relative;
}

.nav.nav-justified > li > a:hover,
.nav.nav-justified > li > a:focus {
  background-color: transparent;
}

.nav.nav-justified > li > a > .quote {
  position: absolute;
  left: 0px;
  top: 0;
  opacity: 0;
  width: 30px;
  height: 30px;
  padding: 5px;
  background-color: #13c0ba;
  border-radius: 15px;
  color: #fff;
}

.nav.nav-justified > li.active > a > .quote {
  opacity: 1;
}

.nav.nav-justified > li > a > img {
  max-width: 100%;
  opacity: .3;
  -webkit-transform: scale(0.8, 0.8);
  transform: scale(0.8, 0.8);
  -webkit-transition: all 0.3s 0s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all 0.3s 0s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav.nav-justified > li.active > a > img,
.nav.nav-justified > li:hover > a > img,
.nav.nav-justified > li:focus > a > img {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
  -webkit-transition: all 0.3s 0s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all 0.3s 0s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tab-pane .tab-inner {
  padding: 30px 0 20px;
}

.payment-tabtitle {
  font-size: 14px;
  margin-top: 10px;
}

/* CUSTOM TABS: Animated Circle Tabs END */
.typeahead-query {
  z-index: 1 !important;
}

/*-------------------------------*/
/* BOOTSTRAP PLUGIN: Tooltip styling */
/*-------------------------------*/
div.tooltip-inner {
  text-align: center;
  margin-bottom: 0px;
  background-color: #505050;
  font-size: 12px;
  padding: 15px;
}

.tooltip-inner {
  max-width: 350px;
  /* If max-width does not work, try using width instead 
    width: 350px; */
}

.carousel-fade .carousel-inner .item {
  -webkit-transition-property: opacity;
  transition-property: opacity;
}

.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  opacity: 0;
}

.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.carousel-fade .carousel-control {
  z-index: 2;
}

/*-------------------------------*/
/* BOOTSTRAP PLUGIN: Tooltip styling */
/*-------------------------------*/
/* make keyframes that tell the start state and the end state of our object */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

[class*="fadein"] {
  opacity: 0;
  /* make things invisible upon start */
  -webkit-animation: fadeIn ease-in 1;
  /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
  -moz-animation: fadeIn ease-in 1;
  animation: fadeIn ease-in 1;
  -webkit-animation-fill-mode: forwards;
  /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
  -moz-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  animation-duration: 1s;
}

.fadein-1 {
  -webkit-animation-delay: 0.7s;
  -moz-animation-delay: 0.7s;
  animation-delay: 0.7s;
}

.fadein-2 {
  -webkit-animation-delay: 1.2s;
  -moz-animation-delay: 1.2s;
  animation-delay: 1.2s;
}

.fadein-3 {
  -webkit-animation-delay: 1.6s;
  -moz-animation-delay: 1.6s;
  animation-delay: 1.6s;
}

/* ****************************************************** ----- PLUGINS END */
