/*
Theme Name:   On SightProductions
Theme URI:    http://lucidity.design
Description:  This is a custom child theme of Divi.
Author:       Richard George Davis
Author URI:   http://lucidity.design
Template:     Divi
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/*#page-container {*/
/*padding-top: 50px !important;*/
/*}*/


@media (max-width: 980px) {
}
body .ff-slideshow-open.ff-slideshow {
    z-index: 10009500!important;
    top: 80px;
}
}


#main-header {
  /*   backdrop-filter: blur(5px) grayscale(0.5) opacity(0.8); */
  -webkit-backdrop-filter: blur(5px) contrast(.8);
  backdrop-filter: blur(5px) contrast(.8);
}

body.dipi-mobile-menu-fullscreen .dipi-menu-animation-grow.mobile_nav.opened:before {
  background-size: initial;
  background-repeat: repeat !important;
  background-image: url(/wp-content/uploads/2022/08/Asset-1.svg) !important;
  content: "";
  position: absolute;
  background-size: 20% !important;
}

.ff-upic-off .ff-item-meta, .ff-upic-timestamp .ff-item-meta {
  display: none;
}

#Services .et_pb_column {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  align-content: space-between;
  flex-flow: row wrap;
}

.text-underline {
  transition: letter-spacing 300ms ease 0ms;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  box-shadow: 0px 2px 0px 0px rgb(34 201 226 / 25%);
  align: center;
  margin: auto;
}

.text-underline:hover {
  letter-spacing: 2px !important;
}

.text-underline-left {
  margin: 0;
}

/*---[ START - New ] ---*/
.et-show-more-content {
  display: none;
}

.et-fb .et-show-more-content {
  display: block;
}

.et-show-more-toggle {
  cursor: pointer;
}

/*---[ START - LC Kit popup fix ] ---*/
.mfp-wrap {
  z-index: 99999999;
  background: #fff
}

/*---[ START - Vertically center rows in sections and modules in columns ] ---*/
.bbd-valign-center-row .et_pb_column,
.bbd-valign-center-section,
.bbd-valign-center-module {
  display: flex;
  flex-direction: column;
  justify-content: center
}

/*---[ START change color of text highlight ] ---*/
::-moz-selection {
  color: #b6d8f1;
  background: #0060a4
}

::selection {
  color: #b6d8f1;
  background: #0060a4
}

/*---[ START -  Custom text styles ] ---*/
/* */
h1, h2, h3, h4, h5, h6 {
  margin: 10px 0 25px 0;
  padding-bottom: 0
}

.custom-styled-text p {
  margin: 0 0 20px;
  padding-bottom: 0
}

body .custom-styled-text p:first-of-type {
  margin-top: 20px !important
}

body .custom-styled-text p:last-of-type {
  margin-bottom: 0px !important
}

.custom-styled-text ul {
  margin: 28px 0 0;
  list-style-type: none !important;
  list-style-position: inside;
  padding-left: calc(2em + 14px) !important;
  padding-bottom: 0em;
}

.custom-styled-text ol ul {
  margin: 7px 0 5px;
}

.custom-styled-text ol ul li {
  padding: 3px 0;
}

.custom-styled-text ul>li {
  padding: 5.5px 0;
}

.custom-styled-text.underline ul>li {
  box-shadow: 0px 2px 0px 0px rgb(34 201 226 / 25%);
  transition: .8s ease !important;
}

.custom-styled-text.underline ul>li:hover {
  box-shadow: 0px 2px 0px 0px rgb(34 201 226 / 80%);
}

.custom-styled-text ol ul li:before {
  margin-right: 15px !important;
  margin-left: -43px !important;
}

.custom-styled-text ul>li:before {
  content: '\e046' !important;
  color: #22c9e2;
  font-family: 'ETMODULES' !important;
  margin-right: 12px !important;
  margin-left: -28px !important;
  font-size: 1.2em !important;
  padding: 5.5px 0 !important;
  position: relative;
  top: 4px;
}

.custom-styled-text ol {
  margin: 28px 0 0;
  list-style-position: inside;
  padding-left: 27px !important;
  counter-reset: item;
  padding-bottom: 0em;
}

.custom-styled-text ol>li {
  margin: 0;
  padding: 5.5px 0 5.5px 1.5em;
  text-indent: -1.5em;
  list-style-type: none;
  counter-increment: item;
}

body .custom-styled-text ol>li>ul>li {
  text-indent: .2em;
}

.custom-styled-text ol>li:before {
  display: inline-block;
  width: 1em;
  padding-right: 0.5em;
  font-weight: bold;
  text-align: right;
  content: counter(item) ".";
}

/* .custom-styled-text:before {
  display: block;
  content: '';
  background: #00b3ff;
  height: 3px;
  width: 55px;
  margin-bottom: 20px
} */
/* .custom-styled-text ul > li,
.custom-styled-text ol > li {
  font-size: .9em !important;
} */
/* .custom-styled-text.legal ul > li,
.custom-styled-text.legal ol > li{
  font-size: 90% !important;
} */
/*---[ START - Legal terms & conditions and privacy policy pages ] ---*/
/* .legal ol {
  list-style-position: outside;
}

.legal ul {
  padding: 0 0 2px 2em;
}

.legal ul li:last-child, .legal ol li:last-child {
  margin-bottom: 0 !important;
}

.legal ol li, .legal ul li {
  margin-bottom: 8px !important;
  margin-top: 10px;
  margin-left: 5px !important;
} */
/* Highlighted Link Animation Effect */
.custom-styled-text p>a:link {
  text-decoration: none;
  color: #22c9e2;
  /*   background-image: linear-gradient(#22c9e2, #22c9e2), linear-gradient(#0060a4, #0060a4); */
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px, 100% 2px;
  transition: background-size .16s;
  position: relative;
  box-shadow: 0px 2px 0px 0px rgb(34 201 226 / 25%);
}

.custom-styled-text p>a:link:hover,
.custom-styled-text p>a:link:focus {
  background-size: 100% 2px, 100% 100%;
  color: #b6d8f1;
  box-shadow: 0px 2px 0px 0px rgb(34 201 226 / 100%);
}

/*-- [START - Horizontal Scroll-Bar Bug] ---*/
#page-container {
  overflow: hidden;
}

@media all and (max-width: 980px) {

  html,
  body {
    overflow-x: hidden;
  }

  body {
    position: relative
  }
}

/*-- [START - list of logos horizontal centered ] ---*/
.logo-img-list .et_pb_column {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center
}

.logo-img-list .et_pb_column .et_pb_image {
  max-width: 150px;
  margin: auto 0 !important;
  padding: 1em 2em;
  -o-object-fit: contain;
  object-fit: contain;
  /* padding: 1rem; */
}

.header-logos .logo-img-list .et_pb_column .et_pb_image {
  max-width: 200px;
}

.header-logos .logo-img-list .et_pb_column .et_pb_image .et_pb_image_wrap img {
  height: 80px;
}

.logo-img-list .et_pb_column .et_pb_image .et_pb_image_wrap img {
  height: 60px;
  -o-object-fit: contain;
  object-fit: contain;
  /* width: 130px;
  object-fit: contain;
  aspect-ratio: 2/1; */
}

/*
.logo-img-list .et_pb_column {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;

}
.logo-img-list .et_pb_column .et_pb_image {
  margin: auto 5px !important;
  padding: 8px 0;
  transform: scale(.7);
  min-width: 180px;
}
.logo-img-list .et_pb_column .et_pb_image .et_pb_image_wrap img {
  max-height: 75px;
}
@media (max-width: 980px) {
  .logo-img-list .et_pb_column .et_pb_image {
    margin: auto 0 !important;
    padding: 0;
    transform: scale(.5);
  }
}
@media only screen and (max-width: 480px) {
  .logo-img-list .et_pb_column .et_pb_image {
    transform: scale(.8);
    flex: 1 0 30%;
    padding: 8px 0;
    min-width: 102px;
  }
} */
/*---[ START - contact Form ] ---*/
/*Making Input Fields Material Design*/
.et_pb_contact_form .input {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 98%, #22c9e2 4%);
  background-position: -1050px 0;
  background-repeat: no-repeat;
  transition: border-bottom 0.3s ease, background 0.3s ease;
}

.et_pb_contact_form .input:focus {
  background-position: 0 0;
}

.et_pb_contact_field textarea.et_pb_contact_message {
  padding-top: 30px
}

.et_pb_contact_field textarea.et_pb_contact_message:focus {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 99%, #22c9e2 4%) !Important;
  transition: border-bottom 0.3s ease, background 0.3s ease;
}

::-webkit-input-placeholder {
  -webkit-transition: .3s ease !important;
  transition: .3s ease !important;
}

::-moz-placeholder {
  -moz-transition: .3s ease !important;
  transition: .3s ease !important;
}

input:focus::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder {
  font-size: 0.8em !Important;
  -webkit-transform: translateY(-20px);
  transform: translateY(-20px);
}

/*For Firefox*/
@-moz-document url-prefix() {
  .et_pb_contact p input[type="radio"]:checked+label i::before {
    width: 14px !Important;
    height: 14px !Important;
  }

  .et_pb_contact p input[type="checkbox"]:checked+label i::before {
    width: 20px !IMPORTANT;
    height: 20px !IMPORTANT;
  }
}

.et_pb_contact p .et_contact_error {
  border: none !important;
  border-bottom: 1px solid #22c9e2 !important;
}

.et_pb_contact_submit {
  overflow: hidden;
  transition: .3s ease !important;
}

.et_pb_contact_submit:active {
  box-shadow: 0px 9px 18px 0px rgba(0, 0, 0, 0.56) !important;
}

/*Making Divi contact form check boxes and radio buttons inline*/
.et_pb_contact_field_checkbox,
.et_pb_contact_field_radio {
  display: inline-block !important;
  margin-right: 30px;
}

.et_pb_contact_form_container .input[type="checkbox"]+label i {
  border-radius: 60px;
  border: 2px solid #22c9e2 !important;
}

body .ff-sc-label2 .ff-youtube .ff-icon:before {
  border-color: transparent #003463 transparent transparent;
}

body .ff-slideshow-classic {
  background: rgba(9, 14, 56, .9) !important;
}

.filled_background #top-menu>li>a>span {
  letter-spacing: 1px;
  font-weight: 600 !important
}

#top-menu .menu-item-has-children a:hover {
  color: #22c9e2;
  opacity: 1 !important;
}

.filled_background #top-menu>li:not(.menu-item-has-children):not(.dipi-cta-button-menu-item):hover>a>span,
.filled_background .et_pb_menu__menu>nav>ul>li:not(.menu-item-has-children):not(.dipi-cta-button-menu-item):hover>a>span {
  opacity: 1 !important;
  font-family: 'Rubik', Helvetica, Arial, Lucida, sans-serif;
  text-transform: uppercase !important;
  font-size: 15px;
  color: #090e38 !important;
  background-color: #22c9e2;
  padding-top: 5px !important;
  padding-right: 10px !important;
  padding-bottom: 5px !important;
  padding-left: 10px !important;
  border-color: #22c9e2;
  border-radius: 50px !important;
  border-style: solid !important;
  transition: all .8s;
}
