body{ min-height:100vh; margin:0; position:relative; }

body::after {
  content: '';
  display: flex;
  height: 150px; /* Set same as footer's height */
}

footer {
  background-color: #005b31;
  color:#fff !important;
  position: absolute !important;
  bottom: 0;
  width: 100%;
  height: auto;
}

footer a{
    color:#fff;
}
footer a:hover{
    color:#fff
}
.btn-primary,.btn-default,.btn-secondary{
    border-radius: 5px !important;
    border-color: #41853b !important;
}

.btn-primary:hover,.btn-default:hover{
 text-decoration: none !important;
}

.btn-primary{
    background-color: #41853b !important;
    color:#fff !important;
}

.btn-primary:hover{
    background-color: #0b3522 !important;
    color:#fff !important;
}

.btn-default{
    color:#41853b !important;
    background-color: #fff !important;
}

button.create-related-record-link.btn-default.btn {
    position: relative;
    float: left;
    background-color: #41853b !important;
    color: #fff !important;
    position: relative;
    top: 1px;
    padding-right: 12px;
    
}/*

html[dir=ltr] ol.progress.bottom li, html[dir=ltr] ol.progress.top li{
    float:none !important;
    font-weight: 600;
    text-transform: lowercase;
}*/

html[dir=ltr] ol.progress.bottom li, html[dir=ltr] ol.progress.top li::first-letter{
    text-transform: uppercase;
}/*

html[dir=ltr] .crmEntityFormView .cell .field-label{
    text-transform: lowercase;
}*/
html[dir=ltr] .crmEntityFormView .cell .picklist input[type=radio]{
margin: 3px 5px 5px 11px;
}
html[dir=ltr] .crmEntityFormView .cell .field-label::first-letter{
    text-transform: uppercase;
   
}
/*.crmEntityFormView .cell input[type=text], .crmEntityFormView .cell select, .crmEntityFormView .cell textarea {
 width:84%;
}
*/

ttec_texttodisplay.text.form-control
{
display:none;
}


.navbar-brand a:focus,img:focus{
    border:none !important;
    outline:none !important;
}
.nav > li > a{
    background-color: transparent !important;
    color:#000 !important;
}

.nav > li > a:hover{
    background-color: transparent !important;
    color:#41853b !important;
}

div[id^="ProgressIndicator"] {
    border:none !important;
}

ol.progress{
    border-color: transparent !important;
    background-color: transparent !important;
    margin-bottom: -2px !important;
    height: auto !important;
}

.tab-column{
    float:left;
}

.validators{
    display: inline-block !important;
}

.validation-summary a {

    color: #ff0000!important;
   
}
img#bannerImage {
    display: block;
    margin: 0 auto;
}
.banner-image {
display: block;
    margin: 0 auto;
}

.actions{
    height: 50px;
    padding-top: 4px;
    border-top: 1px solid silver
}
.css-13cymwt-control{
width:456px;
}
.entity-action-button{
    padding: 3px !important;
}

ol.progress li{
    background-color: #f5f5f5 !important;
    border-color: #000 !important;
    margin: 5px !important;
}

#WebFormPanel{
    border:1px solid gray;
    margin: 5px;
    margin-top: -6px;
    display: none;
}

.crmEntityFormView fieldset{
    margin-bottom: 0px !important;
}

.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus{
    color: #000 !important;
    background-color:#dfffcc !important;
    border-color:gray !important;
}

ol.progress li.list-group-item-success{
    color: #fff !important;
    background-color:#3e7f2d !important;
    border-color:#3e7f2d !important;
}

.home-banner{
    margin-top: 10px;
}

.home-btn{
    padding: 15px;
    display: block;
}

.xrm-editable-hover,.xrm-attribute-value{
    outline:none !important;
}

header{
    margin-bottom: 20px;
}

.crmEntityFormView .tab{
    margin-bottom: 0px !important; 
    margin-top: 30px !important;
}

.crmEntityFormView .section-title{
    margin-left: 25px;
}

.crmEntityFormView .form-control.readonly:focus, .crmEntityFormView .form-control[readonly][disabled]:focus, .form-readonly .form-control:focus{
    outline: none !important;
    border:none !important;
}


.view-btn {
    background-color: #4b3277;
    border: 1px solid #4b3277;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, .1) 0 2px 4px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font-weight: 400;
    outline: none;
    outline: 0;
    padding: 10px 25px;
    text-align: center;
    transform: translateY(0);
    transition: transform 150ms, box-shadow 150ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    font-size: initial;
    display:block;
    height:45px;
    margin: 3px 5px;
  }

.breadcrumb{
    margin-bottom: 0px !important;
}

.breadcrumb>li:first-child{
    display: none !important;
}

.breadcrumb>li+li:before{
    display: none !important;
}

.breadcrumb > .active{
    color:#6a9c5c !important;
    font-size: x-large;
}

.crmEntityFormView .tab-title{
    border:none !important;
    margin-left: 25px;
    display: none;
}

h1,h2,label{
    color:rgb(74 65 134) !important;
}

.progress{
    -webkit-box-shadow:none !important;
    box-shadow:none !important;
}

.page-heading{
    margin-bottom: 15px;
}

.modal-title{
    float:left !important;
}

.modal-body .toolbar-actions{
    position: absolute;
    right: 60px;
    top: -48px;
}

.modal-body .view-grid span:first-child{
    display: none !important;
}

.modal-footer{
    display:contents !important;
}

.modal-body thead th:first-child{
    display: none !important;
}

  

.modal-body tbody td:first-child{
    display: none !important;
}

.jquery-bootstrap-pagination{
    text-align: center !important;
}

.pagination > li > a{
    border: 1px solid #3e7f2d !important;
}

.pagination > li > a:hover{
    background-color: #dfffcc !important;
}

.pagination>.active>a,.pagination>.active>a:hover,.pagination>.active>a:focus{
    background-color: #3e7f2d !important;
    border-radius: 0px !important;
    color:#fff !important;
    border: 1px solid #3e7f2d !important;
    z-index: 0;
}

.entitylist{
    border:none !important;
}

.entitylist th a{
    color:rgb(74 65 134) !important;
}

a:focus,button:focus{
    outline:none !important;
}

.entity-grid .view-grid{
    overflow-x: clip !important;
}

.entitylist table thead tr{
    border: 2px solid #3e7f2d !important;
    display: none;
}

.entitylist table thead tr th{
    border-top: 2px solid #3e7f2d !important;
    border-bottom: 2px solid #3e7f2d !important;
}

.entitylist table tbody tr{
    border: 1px solid gray !important;
}

.entitylist table tbody tr td{
    border-bottom: 1.5px solid gray !important;
}

.entitylist table tbody tr:nth-child(2n){
    background-color: #fafafa !important;
}

.entitylist a{
    color: #41853b !important;
    background-color: #fff;
    border-radius: 1;
    margin-left: 1;
    border-color: #41853b;
    border-radius: 5px !important;
}

.entitylist table tbody tr:hover{
    background-color: #dfffcc !important;
    cursor: pointer;
}

.entitylist table tr th,td{
    padding: 24px !important;
}

.entitylist .grid-actions ul.nav{
    width: 24% !important;
    border: 1.6px solid #3e7f2d !important;
}

.entitylist .grid-actions ul.nav li{
    width: 100% !important;
 
}

.entitylist .grid-actions ul.nav li ul{
    width: 100% !important;
    border: 1.6px solid #3e7f2d !important;
    min-width: 220px !important;
}

.entitylist .pull-right.toolbar-actions{
    width: 75% !important;
    /*margin-right: 320px;*/
}

.entitylist .entitylist-search{
    width: 100% !important;
}

.entitylist .toolbar-actions .input-group .form-control:first-child{
    height: 45px !important;
    border: 1.6px solid #3e7f2d !important;
}

.entitylist .entitylist-search .input-group-btn{
    border: none !important;
}

.entitylist .entitylist-search .input-group-btn button{
    border: none !important;
    margin-left: -60px !important;
    z-index: 10 !important;
}

#filterDropdownId a span.caret{
    float: right;
    margin-top: 8px;
}

#filterDropdownId a span{
    color:#3e7f2d !important;
    font-weight: 600 !important;
}

@keyframes hideAnimation {
  to {
    visibility: hidden;
    width: 0;
    height: 0;
  }
}
.bootstrap-datetimepicker-widget.dropdown-menu{
width: 35em;
display: block !important;
background-color: white !important;
}
.bootstrap-datetimepicker-widget
{
position: absolute;
z-index: 9999; 
background-color: white !important;
}

.modal-dialog{
    top:13% !important;
}

.modal h1{
    font-size: 1.3rem;
}

textarea {
    resize: none !important;
}

.carousel-inner>.item{
    max-height: 250px !important;
    
}

.carousel-inner>.item>.overlay {
  content: "";
  top: 0;
  left: 0;
  position: absolute;
  height: 100%;
  width: 100%;
  background: -moz-linear-gradient(left, rgba(0, 91, 49, 1) 0%, rgba(0, 91, 49, 0) 49%, rgba(137,190,53,1) 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(0, 91, 49, 1)), color-stop(49%, rgba(0, 91, 49, 0)), color-stop(100%, rgba(137,190,53,1)));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left, rgba(0, 91, 49, 1) 0%, rgba(0, 91, 49, 0) 49%,  rgba(137,190,53,1) 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, rgba(0, 91, 49, 1) 0%, rgba(0, 91, 49, 0) 49%,  rgba(137,190,53,1) 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(left, rgba(0, 91, 49, 1) 0%, rgba(0, 91, 49, 0) 49%,  rgba(137,190,53,1) 100%);
  /* IE10+ */
  background: linear-gradient(to right, rgba(0, 91, 49, 1) 0%, rgba(0, 91, 49, 0) 49%,  rgba(137,190,53,1) 100%);
  /* W3C */
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#005b31', endColorstr='#3e7f2d', GradientType=1);
  /* IE6-9 */
  z-index: 1;
}

.carousel-control.right {
    left: auto;
    right: 0;
    background-image: -webkit-linear-gradient(left,rgba(0,0,0,.0001) 0%,rgba(0,0,0,0) 100%);
    background-image: -o-linear-gradient(left,rgba(0,0,0,.0001) 0%,rgba(0,0,0,0) 100%);
    background-image: linear-gradient(to right,rgba(0,0,0,.0001) 0%,rgba(0,0,0,0) 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#80000000',GradientType=1);
}
.carousel-control.left {
    background-image: -webkit-linear-gradient(left,rgba(0,0,0,0) 0%,rgba(0,0,0,.0001) 100%);
    background-image: -o-linear-gradient(left,rgba(0,0,0,0) 0%,rgba(0,0,0,.0001) 100%);
    background-image: linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,.0001) 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000',endColorstr='#00000000',GradientType=1);
}

.carousel-inner>.item>img, .carousel-inner>.item>a>img{
    height: 250px !important;
    width: auto !important;
    margin: auto;
    transform: scale(1.2);
}

.carousel-caption {
    position: absolute;
    left: 2% !important;
    right:75% !important;
    top: 20px !important;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;    
    text-align: left;   
}

.carousel-caption h1{
    color:#fff !important;
    letter-spacing: -2px;
    font-size: 39px;

}

.glyphicon-user{
    padding: 10px;
    margin-left: 5px;
    background-color: #41853b;
    border-radius: 20px;
    color: white;
}

.fa.fa-arrow-down::before{
     content:"\e150" !important;
    background: rgb(74,65,134);
    background: linear-gradient(90deg, rgba(74,65,134,1) 0%, rgba(74,65,134,1) 30%, rgba(74,65,134,0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fa.fa-arrow-up::before{
     content:"\e150" !important;
    background: rgb(74,65,134);
     background: linear-gradient(90deg, rgba(74,65,134,0.5) 0%, rgba(74,65,134,1) 70%, rgba(74,65,134,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#content-container.signinpage .page-content.row .row .col-md-6{
    float: none !important;
    margin: auto;
}

div#confirmationText{
    padding-bottom: 30px;
    color:black !important;
}

div#confirmationText div,span{
    font-size: 12pt !important;
}


iframe html{
    overflow: hidden;
}

#content-container{
    width:100% !important;
}




/* Ts */
.container > center{
    margin-left: -20px;
    margin-right: 10px;
}

.navbar-right .dropdown-menu{
    left:auto !important;
    right:auto !important;
}

.nav .nav-pills a{
    color:hsl(262deg 41% 33%) !important;
}

.nav .nav-pills a:hover{
    color:hsl(262deg 41% 33%) !important;
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* remove the gap so it doesn't close */
    transition-timing-function: ease;
    transition-duration: 0.6s;
    transition-delay: 0.00833333s;
}

.dropdown-menu{
    border:none !important;
}

/*//For Mobile device*/
@media (min-width: 768px) {
  .question-btn,.view-btn {
    padding: 10px 30px;
  }
}
@media (max-width: 768px) {
  body {
    margin: 0;
    padding: 0;
    font-size: 14px; /* Slightly smaller base font size */
  }

  header, footer {
    padding: 10px; /* Reduce padding for compact screens */
  }

  footer {
    position: relative; /* Avoid absolute positioning */
    height: auto; /* Let footer expand naturally */
  }

  .navbar {
    display: flex;
    flex-wrap: wrap; /* Ensure navbar adjusts for smaller widths */
  }

  .navbar .dropdown-menu {
    position: relative;
    width: 100%; /* Full-width dropdowns for easier touch interaction */
  }

  .carousel-caption {
    left: 5% !important;
    right: 5% !important;
    font-size: 16px; /* Smaller text in carousel captions */
  }

  .carousel-inner>.item>img {
    height: auto !important;
    width: 100% !important; /* Fit images to the screen width */
  }

  .entitylist table thead tr, .entitylist table tbody tr td {
    padding: 12px !important; /* Reduce table padding for smaller screens */
  }

  .btn {
    padding: 10px;
    font-size: 14px; /* Adjust button sizes for touch usability */
  }

  .form-control {
    width: 100%; /* Form fields stack vertically */
    margin-bottom: 15px;
  }

  .home-banner {
    margin-top: 5px; /* Reduced margin for compact layout */
  }

  .tab-column {
    float: none; /* Stack columns vertically */
    margin-bottom: 10px; /* Add space between stacked items */
  }

  .modal-dialog {
    width: 90%; /* Reduce modal dialog width */
    margin: auto; /* Center align modal */
  }

  .pagination > li > a {
    padding: 5px 10px; /* Smaller touch-friendly pagination */
  }
  .crmEntityFormView .cell {
    padding: 0 10px 20px;
}

}
