/* CSS HEX */
:root {
  --safety-orange: #FFB146;
  --tekhelet: rgb(58, 40, 136);
  --persian-indigo: rgb(18, 37, 122);
  --russian-violet: rgb(28, 23, 77);
  /* --dark-purple: #000067; */
  /* --dark-purple: #184db7; */
  --dark-purple: #292965;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}


html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.txt-orange {
  color: var(--safety-orange);
}

figcaption,
figure,
footer,
header,
nav,
section {
  display: block;
}

@font-face {
  font-family: 'Playpen';
  src: url('../fonts/Laisha.ttf');
  font-weight: normal;
  font-style: normal;
}

body {

  margin: 0;
  /* font-family:'Playpen'; */
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: white;
  text-align: left;
  /* background-color: var(--dark-purple); */
}


.box-shad {
  box-shadow: 0px 24px 64px rgba(0, 0, 0, 0.24);
  border-radius: 10px;
}

a:hover {
  text-decoration: none !important;
}

.bg-s-light {
  /* background-image: linear-gradient(110deg, #68cadd, #28a0b8ff, #bfdbf7ff, #ffffffff) !important; */
  background-color: white;
  color: #292965 !important;
}

.bg-s-dark {
  color: white !important;
  /* text-align: left; */
  background-color: var(--dark-purple) !important;
}


.swiper-button-next, .swiper-button-prev{
    color: var(--safety-orange) !important;
}


@media (min-width: 1440px){
.container, .container-lg, .container-md, .container-sm, .container-xl {
    min-width: 1140px;
}
}
/*start of nav*/
.navbar {
  background-color: #e1e5f28a !important;
  width: -webkit-fill-available;
  z-index: 1000;
  position: absolute;
  
}


.navbar a {
  color: white !important;
}

.nav-link{
    font-weight: bolder;
}

.nav-link:hover ,.nav-link.active{
    transition-duration: 0s;
    font-weight: normal;
    color: #ffcc86 !important;}

/*end of nav*/



/*start of slider*/
.swiper .item {
  width: 100%;
  background-position: center center !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  height: 100vh;
}

.img_slider {
  width: 100%;
  background-position: center center !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  height: 100vh;
  position: relative;
  z-index: 0;
}

.swiper-cube {
  overflow: hidden !important;
}

.swiper .slider-text {

  height: 100vh;

}

/*@media screen and (min-width: 1440px) {*/
/*  .swiper .item {  height: 750px;}*/
  
/*  .img_slider {  height: 750px;}*/
  
/*  .swiper .slider-text {  height: 750px;}*/
/*}*/

.swiper-pagination-bullet-active {
  background-color: var(--safety-orange) !important;
}


@media screen and (max-width: 768px) {
 nav.navbar {  margin: unset !important;}
  
  .swipe_textt{  padding-top: 3rem!important;}
  
  
}

.swiper-pagination-bullet-active {
  background-color: var(--safety-orange) !important;
}


section.swiper div.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #4141b6;
  opacity: 0.4;
}


.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot span {
  background-color: #4141b691 !important;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background-color: #4141b6 !important;
}

/*end of slider*/




/* start of footer */

footer {
  font-size: 0.875rem;
  /* background: #232323; */

}

footer h2,
footer a {
  color: white;
}

footer a:hover {
  color: var(--safety-orange);
}

#ftco-loader {
  position: fixed;
  width: 6rem;
  height: 6rem;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.9);
  -webkit-box-shadow: 0px 24px 64px rgba(0, 0, 0, 0.24);
  box-shadow: 0px 24px 64px rgba(0, 0, 0, 0.24);
  border-radius: 10px;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity .2s ease-out, visibility 0s linear .2s;
  -o-transition: opacity .2s ease-out, visibility 0s linear .2s;
  transition: opacity .2s ease-out, visibility 0s linear .2s;
  z-index: 1000;
}

#ftco-loader.fullscreen {
  padding: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  background-color: #fff;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

#ftco-loader.show {
  -webkit-transition: opacity .4s ease-out, visibility 0s linear 0s;
  -o-transition: opacity .4s ease-out, visibility 0s linear 0s;
  transition: opacity .4s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

#ftco-loader .circular {
  -webkit-animation: loader-rotate 2s linear infinite;
  animation: loader-rotate 2s linear infinite;
  position: absolute;
  left: calc(50% - 1.5rem);
  top: calc(50% - 1.5rem);
  display: block;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}

#ftco-loader .path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  -webkit-animation: loader-dash 1.5s ease-in-out infinite;
  animation: loader-dash 1.5s ease-in-out infinite;
  stroke-linecap: round;
}

@-webkit-keyframes loader-rotate {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes loader-rotate {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-webkit-keyframes loader-dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }

  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -136px;
  }
}

@keyframes loader-dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }

  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -136px;
  }
}

/* end of footer */


#section-counter {


  box-sizing: border-box;
  display: block;
  overflow-x: hidden;
  margin-top: -3.125rem;
  background-position: top center !important;
  position: relative;
  z-index: 0;
  padding-bottom: 1em;
}

.wrapper {

  box-sizing: border-box;
  width: 100%;
  max-width: 69.375rem;
  background: #fff;
  color: gray;
  padding: 1.875rem;
  box-shadow: 6px 7px 17px 0px rgba(0, 0, 0, 0.14);
  border-radius: 10px;
}

.ftco-counter .block-18 {
  display: block;
  width: 100%;
}

.ftco-counter .text strong.number {
  font-weight: 600;
  font-size: 2.5rem;
  color: #000000;
  display: block;
  position: relative;
  text-decoration: underline;
  text-decoration-color: gold;
  text-decoration-thickness: from-font;
}

/* start sections styling*/

/*ABOUT SECTION IMG*/
section img.card_img {
  width: 100%;
  background-position: center;
  background-size: cover;
  aspect-ratio: 1;
  box-shadow: 7px 7px 16px -4px #212529;
  border-radius: 10px;
  border: var(--safety-orange) solid;
}

#perspective {
transform: perspective(1500px) rotate3D(-1, 7, 0, -38deg);
/*transform: perspective(1500px) rotate3D(-1, 7, 0, -38deg);*/ 
  transition: all 3s ease-in-out;
}
#perspective:hover {
  transform: unset;
/*transform: perspective(1500px) rotate3D(0, -1, 0, 133deg);*/
}


#perspective2 {
transform: perspective(1500px) rotate3D(0, -1, 0, 133deg);
/*transform: perspective(1500px) rotate3D(-1, 7, 0, -38deg);*/ 
  transition: all 1s ease-in-out;
}
#perspective2:hover {
  transform: unset;
/*transform: perspective(1500px) rotate3D(0, -1, 0, 133deg);*/
}


/* .bg-s-light span,.bg-s-light p,.bg-s-light h1{
    color: var(--night) !important;
} */


section.certificate div.overlay {

  background: #533d6d3b;
  /* opacity: .3; */
}






.btn-more {
  border-radius: 0px;
  box-shadow: 0px 9px 9px -4px #d4d4d4;
}

.btn-more:hover {
  background-color: var(--warning);
  color: #fff;
}


/*gallery styling*/
[class*=" imghvr-"] figcaption,
[class^=imghvr-] figcaption {
  background-color: #ffffff36 !important;
  color: #000000 !important;
}

[class*=" imghvr-"] figcaption h1,
[class*=" imghvr-"] figcaption h2,
[class*=" imghvr-"] figcaption h3,
[class*=" imghvr-"] figcaption h4,
[class*=" imghvr-"] figcaption h5,
[class*=" imghvr-"] figcaption h6,
[class^=imghvr-] figcaption h1,
[class^=imghvr-] figcaption h2,
[class^=imghvr-] figcaption h3,
[class^=imghvr-] figcaption h4,
[class^=imghvr-] figcaption h5,
[class^=imghvr-] figcaption h6 {
  color: #292965 !important;
}
[class*=" imghvr-"] figcaption h3{    font-size: 1.5rem;}
.projects [class*=" imghvr-"]>img,
.projects [class^=imghvr-]>img {
  height: 28.125rem;
  width: 100%;
}



.grid-sizer,
.grid-item {
  width: 33.333%;
}

@media screen and (max-width: 768px) {

  /* 5 columns for larger screens */
  .grid-sizer,
  .grid-item {
    width: 20%;
  }
}

/* end of gallery styling*/

/* end sections styling*/


/* start of project style */


.slider .item {
  width: 100%;
  background-position: center center !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  height: 100vh;
  
}

section.slider div.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: #4141b6a3;
  /* opacity: .3; */
}

section.slider .slider-text {

  height: 100vh

}


.swiper-pagination-bullet-active {
  background-color: var(--safety-orange) !important;
}


/* end of project style */

.application .icon-box {
  padding: 1.875rem;
  position: relative;
  /*width: 26vw;*/
  margin: 0 0 2.5rem 0;
  background: #ffffff;
  box-shadow:0 10px 16px 0 rgb(0 0 0 / 60%);
  transition: all 0.3s ease-in-out;
  border-radius: 10px;
  text-align: center;
  border-bottom: 0.188rem solid #fff;
}
.application .icon-box-cont{
     /*width: 26vw;*/
}
/*@media screen and (min-width: 1444px) {*/
/*.application .icon-box {width: 22vw;}*/
/*.application .icon-box-cont{*/
/*     width: 22vw;*/
/*}}*/

/*@media screen and (min-width: 1700px) {*/
/*.application .icon-box {width: 20vw;}*/
/*.application .icon-box-cont{*/
/*     width: 20vw;*/
/*}*/
/*}*/

/*@media screen and (min-width: 1870px) {*/
/*.application .icon-box {width: 19vw;}*/
/*.application .icon-box-cont{*/
/*     width: 19vw;*/
/*}*/
/*}*/

/*@media screen and (min-width: 2070px) {*/
/*.application .icon-box {width: 17vw;}*/
/*.application .icon-box-cont{*/
/*     width: 17vw;*/
/*}*/
/*}*/


/*@media screen and (min-width: 2200px) {*/
/*.application .icon-box {width: 16vw;}*/
/*.application .icon-box-cont{*/
/*     width: 16vw;*/
/*}*/
/*}*/


/*@media screen and (min-width: 2400px) {*/
/*.application .icon-box {width: 16vw;}*/
/*.application .icon-box-cont{*/
/*     width: 14vw;*/
/*}*/
/*}*/

.icon-box img {
  margin-top: -1.25rem;
  width: 7rem;
  height: 7rem;
  /* background: black; */
  border-radius: 10px;
  margin: -3.125rem auto 0;
  box-shadow: -2px 2px 3px #000000bf;
}


.application .icon-box:hover {
  transform: translateY(-0.313rem);
  border-color: var(--safety-orange);
}

.application .icon i {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.938rem;
  border-color: var(--safety-orange);
}

.application .title {
  font-weight: 700;
  margin-bottom: 0.938rem;
  font-size: 1.125rem;
}

.application .title a {
  color: #111;
}

.application .description {
  font-size: 0.938rem;
  color: #9b9a9a;
  line-height: 1.75rem;
  margin-bottom: 0;
}

.application a {
  color: var(--safety-orange);
}

.bg_banner_image {
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
}

.bannerImage {
  width: 100%;
  height: auto;
  opacity: 0;
}

.owl-cer .owl-prev,
.owl-cer .owl-next {
  width: 0.938rem;
  height: 6.5rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: block !important;
  border: 0px solid black;
}

.owl-prev {
  left: -2.5rem;
}

.owl-next {
  right: -2.5rem;
}

.owl-cer .owl-prev i,
.owl-cer .owl-next i {
  transform: scale(2, 5);
  color: #ccc;
}

.slide_img_card {
  /* box-shadow:-2px 2px 3px #000000bf; */
  height: 31.25rem;
  margin: auto;
}

.contact-section .contact-info p a {
  color: #1a1a1a;
}

.contact-section .contact-info p span {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: #000000;
}

.contact-section .contact-info .icon span {
  font-size: 1.25rem;
}

@media (min-width: 992px) {
  .contact-section .contact-info .border-height {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(0, 0, 0, 0.1);
  }
}

.contact-section .contact-form {
  width: 100%;
}

.block-9 h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
}

.block-9 .form-control {
  outline: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  font-size: 0.938rem;
}





/* //form  */



.form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 0.125rem);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  -o-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .form-control {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }
}

.form-control::-ms-expand {
  background-color: transparent;
  border: 0;
}

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control::-webkit-input-placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control:-ms-input-placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control::-ms-input-placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control::placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #e9ecef;
  opacity: 1;
}

select.form-control:focus::-ms-value {
  color: #495057;
  background-color: #fff;
}

.form-control-file,
.form-control-range {
  display: block;
  width: 100%;
}

.col-form-label {
  padding-top: calc(0.375rem + 0.063rem);
  padding-bottom: calc(0.375rem + 0.063rem);
  margin-bottom: 0;
  font-size: inherit;
  line-height: 1.5;
}

.col-form-label-lg {
  padding-top: calc(0.5rem + 0.063rem);
  padding-bottom: calc(0.5rem + 0.063rem);
  font-size: 1.25rem;
  line-height: 1.5;
}

.col-form-label-sm {
  padding-top: calc(0.25rem + 0.063rem);
  padding-bottom: calc(0.25rem + 0.063rem);
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-control-plaintext {
  display: block;
  width: 100%;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  margin-bottom: 0;
  line-height: 1.5;
  color: #212529;
  background-color: transparent;
  border: solid transparent;
  border-width: 1px 0;
}

.form-control-plaintext.form-control-sm,
.form-control-plaintext.form-control-lg {
  padding-right: 0;
  padding-left: 0;
}

.form-control-sm {
  height: calc(1.5em + 0.5rem + 0.125rem);
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

.form-control-lg {
  height: calc(1.5em + 1rem + 0.125rem);
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
}

select.form-control[size],
select.form-control[multiple] {
  height: auto;
}

textarea.form-control {
  height: auto;
}

.form-group {
  margin-bottom: 1rem;
}

.form-text {
  display: block;
  margin-top: 0.25rem;
}

.form-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -0.313rem;
  margin-left: -0.313rem;
}

.form-row>.col,
.form-row>[class*="col-"] {
  padding-right: 0.313rem;
  padding-left: 0.313rem;
}

.form-check {
  position: relative;
  display: block;
  padding-left: 1.25rem;
}

.form-check-input {
  position: absolute;
  margin-top: 0.3rem;
  margin-left: -1.25rem;
}

.form-check-input:disabled~.form-check-label {
  color: #6c757d;
}

.form-check-label {
  margin-bottom: 0;
}

.form-check-inline {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-left: 0;
  margin-right: 0.75rem;
}

.form-check-inline .form-check-input {
  position: static;
  margin-top: 0;
  margin-right: 0.3125rem;
  margin-left: 0;
}

.valid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #28a745;
}

.valid-tooltip {
  position: absolute;
  top: 100%;
  z-index: 5;
  display: none;
  max-width: 100%;
  padding: 0.25rem 0.5rem;
  margin-top: .1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #fff;
  background-color: rgba(40, 167, 69, 0.9);
  border-radius: 0.25rem;
}

.was-validated .form-control:valid,
.form-control.is-valid {
  border-color: #28a745;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center right calc(0.375em + 0.1875rem);
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:valid:focus,
.form-control.is-valid:focus {
  border-color: #28a745;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.was-validated .form-control:valid~.valid-feedback,
.was-validated .form-control:valid~.valid-tooltip,
.form-control.is-valid~.valid-feedback,
.form-control.is-valid~.valid-tooltip {
  display: block;
}

.was-validated textarea.form-control:valid,
textarea.form-control.is-valid {
  padding-right: calc(1.5em + 0.75rem);
  background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.was-validated .custom-select:valid,
.custom-select.is-valid {
  border-color: #28a745;
  padding-right: calc((1em + 0.75rem) * 3 / 4 + 1.75rem);
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px, url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") #fff no-repeat center right 1.75rem/calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .custom-select:valid:focus,
.custom-select.is-valid:focus {
  border-color: #28a745;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.was-validated .custom-select:valid~.valid-feedback,
.was-validated .custom-select:valid~.valid-tooltip,
.custom-select.is-valid~.valid-feedback,
.custom-select.is-valid~.valid-tooltip {
  display: block;
}

.was-validated .form-control-file:valid~.valid-feedback,
.was-validated .form-control-file:valid~.valid-tooltip,
.form-control-file.is-valid~.valid-feedback,
.form-control-file.is-valid~.valid-tooltip {
  display: block;
}

.was-validated .form-check-input:valid~.form-check-label,
.form-check-input.is-valid~.form-check-label {
  color: #28a745;
}

.was-validated .form-check-input:valid~.valid-feedback,
.was-validated .form-check-input:valid~.valid-tooltip,
.form-check-input.is-valid~.valid-feedback,
.form-check-input.is-valid~.valid-tooltip {
  display: block;
}

.was-validated .custom-control-input:valid~.custom-control-label,
.custom-control-input.is-valid~.custom-control-label {
  color: #28a745;
}

.was-validated .custom-control-input:valid~.custom-control-label::before,
.custom-control-input.is-valid~.custom-control-label::before {
  border-color: #28a745;
}

.was-validated .custom-control-input:valid~.valid-feedback,
.was-validated .custom-control-input:valid~.valid-tooltip,
.custom-control-input.is-valid~.valid-feedback,
.custom-control-input.is-valid~.valid-tooltip {
  display: block;
}

.was-validated .custom-control-input:valid:checked~.custom-control-label::before,
.custom-control-input.is-valid:checked~.custom-control-label::before {
  border-color: #34ce57;
  background-color: #34ce57;
}

.was-validated .custom-control-input:valid:focus~.custom-control-label::before,
.custom-control-input.is-valid:focus~.custom-control-label::before {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label::before,
.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label::before {
  border-color: #28a745;
}

.was-validated .custom-file-input:valid~.custom-file-label,
.custom-file-input.is-valid~.custom-file-label {
  border-color: #28a745;
}

.was-validated .custom-file-input:valid~.valid-feedback,
.was-validated .custom-file-input:valid~.valid-tooltip,
.custom-file-input.is-valid~.valid-feedback,
.custom-file-input.is-valid~.valid-tooltip {
  display: block;
}

.was-validated .custom-file-input:valid:focus~.custom-file-label,
.custom-file-input.is-valid:focus~.custom-file-label {
  border-color: #28a745;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #dc3545;
}

.invalid-tooltip {
  position: absolute;
  top: 100%;
  z-index: 5;
  display: none;
  max-width: 100%;
  padding: 0.25rem 0.5rem;
  margin-top: .1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #fff;
  background-color: rgba(220, 53, 69, 0.9);
  border-radius: 0.25rem;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
  background-repeat: no-repeat;
  background-position: center right calc(0.375em + 0.1875rem);
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:invalid:focus,
.form-control.is-invalid:focus {
  border-color: #dc3545;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.was-validated .form-control:invalid~.invalid-feedback,
.was-validated .form-control:invalid~.invalid-tooltip,
.form-control.is-invalid~.invalid-feedback,
.form-control.is-invalid~.invalid-tooltip {
  display: block;
}

.was-validated textarea.form-control:invalid,
textarea.form-control.is-invalid {
  padding-right: calc(1.5em + 0.75rem);
  background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.was-validated .custom-select:invalid,
.custom-select.is-invalid {
  border-color: #dc3545;
  padding-right: calc((1em + 0.75rem) * 3 / 4 + 1.75rem);
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px, url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E") #fff no-repeat center right 1.75rem/calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .custom-select:invalid:focus,
.custom-select.is-invalid:focus {
  border-color: #dc3545;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.was-validated .custom-select:invalid~.invalid-feedback,
.was-validated .custom-select:invalid~.invalid-tooltip,
.custom-select.is-invalid~.invalid-feedback,
.custom-select.is-invalid~.invalid-tooltip {
  display: block;
}

.was-validated .form-control-file:invalid~.invalid-feedback,
.was-validated .form-control-file:invalid~.invalid-tooltip,
.form-control-file.is-invalid~.invalid-feedback,
.form-control-file.is-invalid~.invalid-tooltip {
  display: block;
}

.was-validated .form-check-input:invalid~.form-check-label,
.form-check-input.is-invalid~.form-check-label {
  color: #dc3545;
}

.was-validated .form-check-input:invalid~.invalid-feedback,
.was-validated .form-check-input:invalid~.invalid-tooltip,
.form-check-input.is-invalid~.invalid-feedback,
.form-check-input.is-invalid~.invalid-tooltip {
  display: block;
}

.was-validated .custom-control-input:invalid~.custom-control-label,
.custom-control-input.is-invalid~.custom-control-label {
  color: #dc3545;
}

.was-validated .custom-control-input:invalid~.custom-control-label::before,
.custom-control-input.is-invalid~.custom-control-label::before {
  border-color: #dc3545;
}

.was-validated .custom-control-input:invalid~.invalid-feedback,
.was-validated .custom-control-input:invalid~.invalid-tooltip,
.custom-control-input.is-invalid~.invalid-feedback,
.custom-control-input.is-invalid~.invalid-tooltip {
  display: block;
}

.was-validated .custom-control-input:invalid:checked~.custom-control-label::before,
.custom-control-input.is-invalid:checked~.custom-control-label::before {
  border-color: #e4606d;
  background-color: #e4606d;
}

.was-validated .custom-control-input:invalid:focus~.custom-control-label::before,
.custom-control-input.is-invalid:focus~.custom-control-label::before {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.was-validated .custom-control-input:invalid:focus:not(:checked)~.custom-control-label::before,
.custom-control-input.is-invalid:focus:not(:checked)~.custom-control-label::before {
  border-color: #dc3545;
}

.was-validated .custom-file-input:invalid~.custom-file-label,
.custom-file-input.is-invalid~.custom-file-label {
  border-color: #dc3545;
}

.was-validated .custom-file-input:invalid~.invalid-feedback,
.was-validated .custom-file-input:invalid~.invalid-tooltip,
.custom-file-input.is-invalid~.invalid-feedback,
.custom-file-input.is-invalid~.invalid-tooltip {
  display: block;
}

.was-validated .custom-file-input:invalid:focus~.custom-file-label,
.custom-file-input.is-invalid:focus~.custom-file-label {
  border-color: #dc3545;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-inline {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.form-inline .form-check {
  width: 100%;
}

@media (min-width: 576px) {
  .form-inline label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 0;
  }

  .form-inline .form-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 0;
  }

  .form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
  }

  .form-inline .form-control-plaintext {
    display: inline-block;
  }

  .form-inline .input-group,
  .form-inline .custom-select {
    width: auto;
  }

  .form-inline .form-check {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: auto;
    padding-left: 0;
  }

  .form-inline .form-check-input {
    position: relative;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-top: 0;
    margin-right: 0.25rem;
    margin-left: 0;
  }

  .form-inline .custom-control {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .form-inline .custom-control-label {
    margin-bottom: 0;
  }
}



footer p{
    margin-bottom:0.5rem;
}