/* GENERAL */

h2 {
   color: #765835; 
   font-size: 1.5rem; 
}
@media (min-width: 768px) {
   h2 
    {
        font-size: 2rem;      
    }
}

#spacer {
  height: 5px;
}

.block-text {
  color: rgb(255,255,255);
  font-size: 18px;
}

.container {
  max-width: 100%;
  width: 1140px;
  text-align: center;
  height: auto;
  margin-bottom: 68px;
}

.modal-dialog {
    max-width:80%;
   min-width: 100%; 
}
@media (min-width: 768px) {
   .modal-dialog 
    {
        min-width: 0;      
    }
}


/* MOBILE TOP */

@media (min-width: 992px) {
  #mobile-top-banner {
    display: none;
  }
}

/* NAVIGATION */

@media (max-width: 989px) {
  #sqlogo {
    display: none !important;
  }
}

@media (max-width: 989px) {
  #rmsslink {
    display: none !important;
  }
}

#menutext {
  text-align: center;
}

#logo {
  max-width: 80%;
  height: auto;
}

@media (min-width: 989px) {
  #menutext::after {
    content: '';
    display: block;
    width: 0px;
    height: 2px;
    background: #765835;
    transition: width .3s;
    margin-top: -5px;
  }
}

@media (min-width: 989px) {
  #menutext:hover::after {
    width: 100%;
  }
}

@media (max-width: 989px) {
  #menutext {
    color: rgb(255,255,255);
    text-align: right;
    margin-left: auto;
    background-color: #765835;
    padding-left: 30px;
    padding-right: 30px;
  }
}

#menutext:hover {
  color: #765835;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 989px) {
  #menutext:hover {
    color: #765835;
    margin-left: auto;
    background-color: #ffffff;
    padding-left: 30px;
    padding-right: 30px;
    border: solid 1px;
    border-color: #765835;
  }
}

.bg-light {
  background: transparent !important;
  position: absolute;
  width: 100%;
}

@media (min-width: 500px) {
  #logo.img-fluid {
    width: 420px !important;
  }
}

#navbar {
  background-color: transparent !important;
  z-index: 9999;
}

@media (max-width: 500px) {
  .navbar-collapse {
    margin-top: -40px!important;
  }
}

@media (min-width: 500px) {
  #navcol-1 {
    margin-top: -80px!important;
  }
}

@media (min-width: 989px) {
  #navcol-1 {
    margin-top: 0px!important;
  }
}

@media (max-width: 400px) {
  #logo {
    width: 245px !important;
  }
}

#navbar-scroll {
  top: -400px;
  position: fixed;
  display: block;
  transition: 0.5s;
  background-color: white;
  border-bottom: #765835 solid 2px;
}

@media (max-width: 989px) {
  #navcol-1 #navcol-2 {
    background-color: rgba(118,88,53,0);
    margin-left: auto;
    margin-top: -50px;
  }
}

#mobile-top-banner {
  text-align: right;
  background: black;
}

.navbar-light .navbar-toggler {
  padding: 0;
  margin-left: auto;
}

.navbar-toggler>.close {
    display:inline;
}

.navbar-toggler.collapsed>.close, .navbar-toggler:not(.collapsed)>.navbar-toggler-icon {
    display:none;
}
.navbar-light .navbar-toggler-icon {
  margin: 9px;
}

.navbar-light .close {
    margin: 12px;
    height: 1.5rem;
    width: 1.5rem;
}


    


#navcol-1 {
  line-height: 45px;
  margin-top: 0px;
}

#navcol-2 {
  line-height: 45px;
}

.nav.navbar-nav.d-lg-flex.align-content-end.flex-wrap.justify-content-lg-end.visible {
  text-align: right;
}

/* HEADER */

@media (min-width: 400px) {
  #hcarousel-content {
    position: absolute;
    top: 30%;
    left: 20%;
    right: 20%;
    color: rgb(0,0,0);
    text-align: center;
    align-items: center;
  }
}

#hcarousel-content {
  position: absolute;
  bottom: 50%;
  left: 20%;
  right: 20%;
  color: rgb(0,0,0);
  text-align: center;
  align-items: center;
  -webkit-transform: translateX(0) translateY(50%);
  transform: translateX(0) translateY(50%);
}

#pencilslide {
  content: url(../../assets/img/homepageweb.png);
  height: 100%;
  margin-top: 0;
  width: auto;
  max-width: 100%;
}


@media (max-width: 768px) {
  #pencilslide {
    content: url(../../assets/img/homepagemobile.png);
    height: 100%;
  } 
}

#home-header {
  display: grid;
  margin: 0;
  justify-content: center;
  font-size: 3vw;
  margin-bottom: auto;
  padding-bottom: 18px;
}

@media (max-width: 768px) {
  #home-header {
    font-size: 8vw !important;
  }
}

#home-header-button {
  display: grid;
  margin: auto;
  justify-content: center;
  font-size: 15px;
  margin-top: 0;
  padding-top: 8px;
  background: rgb(241,241,241);
  color: #765835;
  border: 2px solid #765835;
}

#home-header-button:hover {
  background: #765835;
  color: white;
}



/* ABOUT US */

.row.no-gutters.row-cols-xl-2 {
  background-color: #765835;
}

#blockheader {
  color: rgb(255,255,255);
  font-size: 30px;
}

.block-heading {
  padding: 40px;
}
/* EVENTS */

.eventimageone {
  height: 10em;
}

.event.month.text {
  font-size: 2rem;
}

.event.date.text {
  font-size: 4rem;
}

.eventtitle .eventdetails .eventbutton {
  font-family: 'Montserrat';
}

.eventtitle {
  font-size: 2em;
  font-weight: 100;
  color: #765835;
}

.eventlink {
  color: #765835;
  border-bottom: #765835 solid 1px;
  font-size: 1em;
}

#details {
  border-left: #765835 solid 1px;
  padding-bottom: 30px;
  padding-top: 20px;
  max-width: 100%;
}

#eventwrapper {
  border-top: solid 0.2px;
  color: #765835;
  padding: 10px;
}

#eventcard {
  padding-top: 10px;
  padding-bottom: 10px;
}

#event-image {
  max-width: 300px;
}

#eventsubheading {
  font-size: 1em;
  font-weight: 600;
  color: rgb(23,23,23);
}

/* CLASSES */

#classes-wrapper {
  margin-bottom: 116px;
  max-width: 100%;
  width: 1140px;
}

.blockheading.classes {
  color: #765835;
  text-align: center;
  margin-top: 68px;
}

#classes-checkboxes {
  margin-top: 60px;
  max-width: 100%;
}

#classes-eng-chi {
  text-align: center;
}

.container-check {
  width: auto;
}

ul.ks-cboxtags {
  list-style: none;
  padding: 20px;
}

ul.ks-cboxtags li {
  display: inline;
}

ul.ks-cboxtags li label {
  display: block;
  background-color: rgba(248,246,246,0.9);
  border: 2px solid rgba(118,88,53,0.28);
  color: rgba(118,88,53,0.58);
  border-radius: 10px;
  white-space: nowrap;
  user-select: none;
  transition: all 0.2s;
  width: auto;
  vertical-align: middle;
}

ul.ks-cboxtags li label {
  padding: 8px 12px;
  cursor: pointer;
}

ul.ks-cboxtags li label::before {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;
  padding: 2px 6px 2px 2px;
  transition: transform 0.3s ease-in-out;
}

ul.ks-cboxtags li input[type="checkbox"]:checked + label {
  border: 2px solid #765835;
  background-color: #765835;
  color: #fff;
  transition: all 0.2s;
}

ul.ks-cboxtags li input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

ul.ks-cboxtags li input[type="checkbox"]:checked + label:after {
  content: "✔";
  color: white;
  position: absolute;
  margin-left: 2vh;
}

.typo, .list a {
  font-size: 3vh;
  font-weight: 200;
  font-family: 'Montseratt', sans-serif;
  color: #765835;
  text-decoration: none;
  text-align: center;

}

.typo option, .list a option {
  font-size: 3vh;
}

.transition {
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

.list {
  display: inline-block;
  position: relative;
}

.list ul {
  text-align: center;
  position: absolute;
  padding: 0;
  top: 0;
  left: 0;
  display: none;
  background-color: rgb(242,242,242);
}

.list ul .active {
  display: block;
}

.list li {
  list-style: none;
}

.list li:first-child a {
  color: #765835;
}

.list a {
  -webkit-transition: all .4s;
  transition: all .4s;
  color: #765835;
  position: relative;
}

.list a:after {
  position: absolute;
  content: '';
  height: 3px;
  width: 0;
  left: 0;
  background: #765835;
  bottom: 0;
  -webkit-transition: all .4s ease-out;
  transition: all .4s ease-out;
}

.list a:hover {
  cursor: pointer;
  color: #765835;
}

.list a:hover:after {
  width: 100%;
}

select {
  display: inline;
  border: 0;
  width: auto;
  margin-left: 10px;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-bottom: 1px solid #765835;
  color: #765835;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  font-style:italic;
}

select:hover {
  cursor: pointer;
}

select option {
  border: 0;
  border-bottom: 3px solid #555;
  padding: 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.placeholder {
  border-bottom: 3px solid;
  cursor: pointer;
}

.placeholder:hover {
  color: #765835;
}

.showresultsdiv {
  margin-top: -53px;
  width: 1140px;
  max-width: 100%;
  padding: 0px 20px 0px 20px;
}

#showresultstable {
  max-width: 100%;
  padding: 0px 5px 0px 5px;
}

.bs-class.thead {
  background: #c69258;
}

.mp-class.thead {
  background: #a37a49;
}

.pg-class.thead {
  background: #8c6940;
}

#showresultsFees {
  font-size: 2vh;
  margin-bottom: -2px;
  padding: 20px;
  border-top-style: double;
  border-color: #765835;
}

/* TESTIMONIALS */

.blockheading.testimonial {
  color: #765835;
  padding: 68px;
}

.card-text {
  padding: 0px 30px 0px 30px;
}

.testimonial-controls {
  width: 39px;
  opacity: 1;
  filter: brightness(56%);
}

.carousel-indicators.testimonial {
  margin-bottom: -32px;
  filter: contrast(0%);
}

@media (max-width: 980px) {
  .testimonial-hide {
    display: none !important;
  }
}

.testimonial-img {
  max-width: 100px;
  margin: auto;
  margin-top: 20px;
}

/* CONTACT US */

#map {
  max-width: 100%;
  width: auto;
}

.address {
  max-width: 100%;
  width: auto;
}

/* FOOTER */

#home-header {
}

.footer-copyright {
  height: 75px;
  background: #765835;
  padding: 25px;
  color: white;
}

.showResultDiv  {
    background-color: transparent;  
    padding-bottom: 1rem;
}

.showResultDiv table {
    margin-bottom:1rem;
}

.showResultDiv .thead-light th {
    color: #fff;
    background-color: #735b40;
    border-color:  #735b40;
    border-left: 1px solid #735b40; 
}

.showResultDiv .container .table .thead-light .th, .table td {
    padding: 0.75rem;
    vertical-align: top;
    border: 1px solid #735040;
    text-align: center;
}
#showFee {
  font-size: 2vh;
  margin-bottom: -2px;
  padding: 20px;
  border-top-style: double;
  border-color: #765835;    
}


a.catR{
    display: inline-block;
    width: 1.625rem;
    height: 1.625rem;
    border-radius: 0.875rem;
    background: #C0E2A8;
    background-size: 1.125rem 1.125rem;
    text-align: center;
    color:black;
}

a.catH{
    display: inline-block;
    width: 1.625rem;
    height: 1.625rem;
    border-radius: 0.875rem;
    background: #F3DCED;
    background-size: 1.125rem 1.125rem;
    text-align: center;
    color:black;
}
a.catO{
    display: inline-block;
    width: 1.625rem;
    height: 1.625rem;
    border-radius: 0.875rem;
    background: #CED1E1;
    background-size: 1.125rem 1.125rem;
    text-align: center;
    color:black;
}

/**********************************/
/*     Back To Top Button     */
/**********************************/
a.back-to-top {
    position: fixed;
    z-index: 999;
    right: 0.75rem;
    bottom: 0.75rem;
    display: none;
    width: 2.625rem;
    height: 2.625rem;
    border-radius: 1.875rem;
    background: #735040 url("../img/up-arrow.png") no-repeat center 47%;
    background-size: 1.125rem 1.125rem;
    text-indent: -9999px;
}

a:hover.back-to-top {
    background-color: #8c6940; 
}

.form-group {
    position: relative;
    margin-bottom: 1.25rem;
     text-align: center;
}

.form-group.has-error.has-danger {
    margin-bottom: 0.625rem;
}

.form-group.has-error.has-danger .help-block.with-errors ul {
    margin-top: 0.375rem;
}

.label-control {
    position: absolute;    
    top: 0.8125rem; 
    left: 1.375rem;
    color: #787976;
    opacity: 1;
    font: 400 1.075rem/1.075rem "Open Sans", sans-serif;
    cursor: text;
    transition: all 0.2s ease;
    font-style: italic;
}

/* IE10+ hack to solve lower label text position compared to the rest of the browsers */
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {  
    .label-control {
        top: 0.9375rem;
    }
}

.form-control-input:focus + .label-control,
.form-control-input.notEmpty + .label-control,
.form-control-textarea:focus + .label-control,
.form-control-textarea.notEmpty + .label-control {
    top: 0.125rem;
    opacity: 1;
    font-size: 0.75rem;
    font-weight: 500;
}

.form-control-input,
.form-control-select {
    display: block; /* needed for proper display of the label in Firefox, IE, Edge */
    width: 100%;
    padding-top: 1.25rem;
    padding-bottom: 0.25rem;
    padding-left: 1.3125rem;
    border: 1px solid #dadada;
    border-radius: 0.25rem;
    background-color: #fff;
    color: #787976;
    font: 400 0.875rem/1.375rem "Open Sans", sans-serif;
    transition: all 0.2s;
    -webkit-appearance: none; /* removes inner shadow on form inputs on ios safari */
}

.form-control-select {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    height: 3rem;
}

/* IE10+ hack to solve lower label text position compared to the rest of the browsers */
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {  
    .form-control-input {
        padding-top: 1.25rem;
        padding-bottom: 0.75rem;
        line-height: 1.75rem;

    }

    .form-control-select {
        padding-top: 0.875rem;
        padding-bottom: 0.75rem;
        height: 3.125rem;
        line-height: 2.125rem;
    }
}

select {
    /* you should keep these first rules in place to maintain cross-browser behavior */
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    /*background-image: url('../images/down-arrow.png');
    background-position: 96% 50%;
    background-repeat: no-repeat;
    */
    outline: none;
}

select::-ms-expand {
    display: none; /* removes the ugly default down arrow on select form field in IE11 */
}

.form-control-textarea {
    display: block; /* used to eliminate a bottom gap difference between Chrome and IE/FF */
    width: 100%;
    height: 8rem; /* used instead of html rows to normalize height between Chrome and IE/FF */
    padding-top: 1.25rem;
    padding-left: 1.3125rem;
    border: 1px solid #dadada;
    border-radius: 0.25rem;
    background-color: #fff;
    color: #787976;
    font: 400 1rem/1.5625rem "Open Sans", sans-serif;
    transition: all 0.2s;
}

.form-control-input:focus,
.form-control-select:focus,
.form-control-textarea:focus {
    border: 1px solid #a1a1a1;
    outline: none; /* Removes blue border on focus */
}

.form-control-input:hover,
.form-control-select:hover,
.form-control-textarea:hover {
    border: 1px solid #a1a1a1;
}

.checkbox {
    font: 400 0.875rem/1.375rem "Open Sans", sans-serif;
}

input[type='checkbox'] {
    vertical-align: -15%;
    margin-right: 0.375rem;
}

/* IE10+ hack to raise checkbox field position compared to the rest of the browsers */
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {  
    input[type='checkbox'] {
        vertical-align: -9%;
    }
}

.form-control-submit-button {
    display: inline-block;
    width: 100%;
    height: 3.125rem;
    border: 0.125rem solid #735b40;
    border-radius: 0.25rem;
    background-color: #735b40;
    color: #fff;
    font: 700 1.025rem/1.025rem "Montserrat", sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}

.form-control-submit-button:hover {
    background-color: transparent;
    color: #735b40;
}

/* Form Success And Error Message Formatting */
#lmsgSubmit.h3.text-center.tada.animated,
#cmsgSubmit.h3.text-center.tada.animated,
#pmsgSubmit.h3.text-center.tada.animated,
#lmsgSubmit.h3.text-center,
#cmsgSubmit.h3.text-center,
#pmsgSubmit.h3.text-center {
    display: block;
    margin-bottom: 0;
    color: #b93636;
    font: 400 1.125rem/1rem "Open Sans", sans-serif;
}

.help-block.with-errors .list-unstyled {
    color: #787976;
    font-size: 0.75rem;
    line-height: 1.125rem;
    text-align: left;
}

.help-block.with-errors ul {
    margin-bottom: 0;
}
/* end of form success and error message formatting */

/* Form Success And Error Message Animation - Animate.css */
@-webkit-keyframes tada {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        -ms-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
    10%, 20% {
        -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
        -ms-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
    }
    30%, 50%, 70%, 90% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
        -ms-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }
    40%, 60%, 80% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
        -ms-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }
    to {
        -webkit-transform: scale3d(1, 1, 1);
        -ms-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@keyframes tada {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        -ms-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
    10%, 20% {
        -webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
        -ms-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
    }
    30%, 50%, 70%, 90% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
        -ms-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }
    40%, 60%, 80% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
        -ms-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }
    to {
        -webkit-transform: scale3d(1, 1, 1);
        -ms-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

.tada {
    -webkit-animation-name: tada;
    animation-name: tada;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
/* end of form success and error message animation - Animate.css */

/************************/
/*     12. Projects     */
/************************/
.filter {
    padding-top: 6.5rem;
    padding-bottom: 7rem;
}

.filter .section-title {
    margin-bottom: 0.5rem;
}

.filter h2,
.filter .section-title {
    text-align: center;
}

.filter h2 {
    margin-bottom: 3.25rem;
}

.filter .button-group {
    text-align: center;
}

.filter .button-group a {
    display: inline-block;
    margin-right: 0.1875rem;
    margin-bottom: 0.5rem;
    margin-left: 0.1875rem;
    padding: 0.3125rem 1.375rem 0.25rem 1.375rem;
    border-radius: 0.25rem;
    background-color: #f1f4f7;
    color: #7b7e85;
    font: 700 0.75rem/1.25rem "Montserrat", sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter .button-group a:hover {
    background-color: #765835;
    color: #fff;
    text-decoration: none;
}

.filter .button-group a.button.is-checked {
    background-color: #765835;
    color: #fff;
}

.filter .grid {
    margin-top: 1.25rem;
    border-radius: 0.375rem;
}

/* Hover Animation */
.filter .grid-item {
    position: relative;
    float: left;
    overflow: hidden;
    width: 100%;
    background-color: #fff; /* to hide 1px white margin in IE */
}

/* Min-width width 768px */
@media (min-width: 768px) {
    .filter .grid-item {
        position: relative;
        float: left;
        overflow: hidden;
        width: 100%; /*  to change to 50 if more images*/ 
        background-color: #fff; /* to hide 1px white margin in IE */
    }
}

.filter .grid-item img {
    max-width: 50%;/* change back to 100 when more album*/
    margin: 0;
    transition: all 0.3s;
    padding:5px;
}

.filter .grid-item:hover img {
    -moz-transform: scale(1.02);
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
} 
/* end of hover animation */

.filter .grid-item .grid-item-overlay { 
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(0, 0, 0, 0.4);
    opacity: 1;*/
    text-align: center;
    transition: all 0.3s;
}

.filter .grid-item .grid-item-overlay span { 
    position: absolute;
    z-index: 3;
    top: 42%;
    right: 0;
    left: 0;
    color: #fff;
    font: 700 1.125rem/1.625rem "Montserrat", sans-serif;
} 

.project-modal .modal-dialog-centered 
{
    min-width: 100%;      
}

/* Min-width width 768px */
@media (min-width: 768px) {
  .project-modal .modal-dialog-centered 
    {
        min-width: 0;      
    }
}


.project-modal .modal-dialog {
    width: 800px;
    height: 800px;
    min-height: 400px;    
}

.project-modal img {
    max-height: 100%;
    max-width: 100%;
} 


/**********************************/
/*     13. Gallery Lightboxes     */
/**********************************/
.lightbox-basic {
    position: relative;
    max-width: 62.5rem;
    margin: 2.5rem auto;
    padding: 1.5625rem;
    border-radius: 0.25rem;
    background: #fff;
    text-align: left;
}

.lightbox-basic img {
    margin-right: auto;
    margin-bottom: 2rem;
    margin-left: auto;
    border-radius: 0.25rem;
}

.lightbox-basic .line-heading {
    width: 3rem;
    height: 1px;
    margin-top: 0;
    margin-bottom: 0.625rem;
    margin-left: 0;
    border: none;
    background-color: #14bf98;
}

.lightbox-basic h6 {
    margin-bottom: 2rem;
}

.lightbox-basic .testimonial-container {
    margin-top: 1.75rem;
    margin-bottom: 2.125rem;
    padding: 1.125rem 1.5rem 1.125rem 1.5rem;
    border-radius: 0.25rem;
    background-color: #fbfbfb;
}

.lightbox-basic .testimonial-text {
    margin-bottom: 0.5rem;
}

.lightbox-basic .testimonial-author {
    margin-bottom: 0;
}

.lightbox-basic .btn-solid-reg,
.lightbox-basic .btn-outline-reg {
    margin-right: 0.375rem;
    margin-bottom: 1rem;
}

.lightbox-basic a.mfp-close.as-button {
    position: relative;
    width: auto;
    height: auto;
    margin-right: 0.5rem;
    color: #484a46;
    opacity: 1;
}

.lightbox-basic a.mfp-close.as-button:hover {
    color: #f2f2f2;
}

.lightbox-basic button.mfp-close.x-button {
    position: absolute;
    top: -0.375rem;
    right: -0.375rem;
    width: 2.75rem;
    height: 2.75rem;
}


/**********************/
/*     11. Call Me    */
/**********************/
.form-1 {
    padding-top: 1.625rem;    
    padding-bottom: 1.625rem;    
}

.form-1 .block-heading {
    padding: 20px;
}

.form-1 .modal-header {
    padding: 15px;
    display:block;
    text-align:center;
    border-bottom:none;    
}

.form-1 .modal-content {
    border-radius: 0;    
}

.form-1 .text-container {
    margin-bottom: 4rem;
}

.form-1 .section-title {
    margin-bottom: 0.5rem;
}

.form-1 h2 {
    color: #735040;
}

.form-1 .list-unstyled .fas {
    color: #fe0000;
    font-size: 0.5rem;
    line-height: 1.375rem;
}

.form-1 .list-unstyled .media-body {
    margin-left: 0.625rem;
}

.form-1 .label-control {
    color: #888;
    top: 0.325rem;
}

.form-1 .form-control-input,
.form-1 .form-control-select {
   border: 1px solid #735040;
    background-color: tansparent;
    color: #735040;
    height: 4rem;
    border-radius: 0.9rem;
    font: bold 1.275rem/1.375rem "Open Sans", sans-serif;
}

.form-1 .form-control-textarea {
    border: 1px solid #735040;
    background-color: transparent;
    color: #fff;
}

.form-1 .form-control-input:focus,
.form-1 .form-control-input:hover,
.form-1 .form-control-select:focus,
.form-1 .form-control-select:hover,
.form-1 .form-control-textarea:focus,
.form-1 .form-control-textarea:hover {
    border: 1px solid #735040;
    font: 1.275rem/1.375rem "Open Sans", sans-serif;
    
}


.form-1 .label-control {
    position: absolute;    
    top: 0.5rem; 
    left: 1.375rem;
    color: #787976;
    opacity: 1;
    font: 10 1.275rem/1.075rem "Open Sans", sans-serif;
    cursor: text;
    transition: all 0.2s ease;
    font-style: italic;
}

.form-1 .form-control-input:focus + .label-control,
.form-1 .form-control-input.notEmpty + .label-control,
.form-1 .form-control-textarea:focus + .label-control,
.form-1 .form-control-textarea.notEmpty + .label-control {
    top: 0.5rem;
    opacity: 1;
    font-size: 1.275rem;
    font-weight: 10;
    color: #aaa; 
}

.form-1.form-control-submit-button {
    border-radius: 0.5rem;
}

#lmsgSubmit.h3.text-center.tada.animated,
#lmsgSubmit.h3.text-center {
    color: #ff0000;
}

.form-1 .help-block.with-errors .list-unstyled {
    color: #735040;
}

.form-1 .p-large {
    font: 400 italic 1.125rem/1.625rem "Open Sans", sans-serif;
    text-align:center;
}

.form-1 .p-small {
    font: 400 0.675rem/1.275rem "Open Sans", sans-serif;
}


/****************************/
/*     Testimonials     */
/****************************/
.slider {
    padding-top: 3.375rem;
    padding-bottom: 3.5rem;
}

.slider .section-title {
    margin-bottom: 4rem;
    text-align: center;
}

.slider h2 {
    margin-bottom: 0.75rem;
    text-align: center;
}

.slider .slider-container {
    position: relative;
}

.slider .swiper-container {
    position: static;
    width: 90%;
    text-align: center;
}

.slider .swiper-wrapper{
    transition-duration: 600ms !important;
}

.slider .swiper-button-prev:focus,
.slider .swiper-button-next:focus {
    /* even if you can't see it chrome you can see it on mobile device */
    outline: none;
}

.slider .swiper-button-prev {
    left: -0.5rem;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2028%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23787976'%2F%3E%3C%2Fsvg%3E");
    background-size: 1.125rem 1.75rem;
}

.slider .swiper-button-next {
    right: -0.5rem;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2028%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23787976'%2F%3E%3C%2Fsvg%3E");
    background-size: 1.125rem 1.75rem;
}

.slider .card {
    position: relative;
    border: none;
    background-color: transparent;
}

.slider .card-image {
    width: 9rem;
    height: 9rem;
    margin-right: auto;
    margin-bottom: 0.25rem;
    margin-left: auto;
    border-radius: 50%;
}

.slider .card .card-body {
    padding-bottom: 0;
}

.slider .testimonial-text {
    margin-bottom: 0.625rem;
    font-size:0.9rem;
}

.slider .testimonial-author {
    color: #484a46;
    font-size: 1rem;
    color: #735040;
}
@media (max-width: 768px) {


    /* testimonial */
      .slider .swiper-button-prev {
        left: 1rem;
        width: 1.375rem;
        background-size: 1.375rem 2.125rem;
    }
    
    .slider .swiper-button-next {
        right: 1rem;
        width: 1.375rem;
        background-size: 1.375rem 2.125rem;
    }
   /* end testimonial */   
}
.grecaptcha-badge { 
    visibility: hidden;
}
