
/* Widget Search */
.tf-widget-search button {
    border: none; 
    background: transparent !important;
    background-color: transparent !important;   
}

.tf-widget-search button:hover {
    background: transparent !important;
    background-color: transparent !important;
}

.tf-widget-search button,
.tf-widget-search button:focus {
    outline: none;
}

.tf-widget-search .tf-modal-search-panel {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.87);
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    align-items: center;
    visibility: hidden; 
    opacity: 0;   
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transform: scale(0.5); 
    -moz-transform: scale(0.5);
    -o-transform: scale(0.5);
    transform: scale(0.5);  
}

.tf-widget-search .tf-modal-search-panel.show {
    top: 0;
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1); 
    -moz-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);;  
}

.tf-widget-search .search-panel {
    width: 100%;
    max-width: 800px;
    margin: 1.75rem auto;
    position: relative;
}

.tf-widget-search .search-field {
    height: 70px;
    width: 100%;
    color: #fff;
    border: 2px solid;
    background: transparent;
    border-radius: 50px;
    padding: 0 30px;
    font-size: 1rem;
}

.tf-widget-search .search-field:focus {
    border-color: rgba(255,255,255,0.5);
}

.tf-widget-search .search-field::placeholder {
    font-size: 1rem;
    color: #fff;
}

.tf-widget-search .search-submit {
    background-color: transparent;
    border: 0px;
    padding: 0;
    color: #FFFFFF;
    position: absolute;
    right: 0;
    cursor: pointer;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 100%;
    border-radius: 0 50px 50px 0;
}

.tf-widget-search .tf-close-modal {
    cursor: pointer;
    position: absolute;
    right: 30px;
    top: 30px;
    width: 30px;
    height: 30px;
    border: none;
}

.tf-widget-search .tf-close-modal:before, 
.tf-widget-search .tf-close-modal:after {
    content: "";
    position: absolute;
    top: 0;
    height: 2px;
    width: 100%;
    left: 0;
    top: 50%;
    background: #fff;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

.tf-widget-search .tf-close-modal:before {
    -webkit-transform: rotate3d(0, 0, 1, 45deg);
    transform: rotate3d(0, 0, 1, 45deg);
}

.tf-widget-search .tf-close-modal:after {
    -webkit-transform: rotate3d(0, 0, 1, -45deg);
    transform: rotate3d(0, 0, 1, -45deg);
}

.tf-widget-search {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.tf-widget-search.tf-alignment-left {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.tf-widget-search.tf-alignment-center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.tf-widget-search.tf-alignment-right {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.tf-widget-search.style-default .tf-search-form {
    position: relative;
}