/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* ***************************** CUSTOM FLAT SOME***************************** */

.form-flat input:not([type="submit"]), .form-flat textarea, .form-flat select  {
    background-color: white;
}

.icon-search:before {
  color: #357edd;
}
/* ***************************** CUSTOM SEARCH FORM***************************** */
.custom-search-form {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 0 6px;
    width: 100%;
    margin: 0 auto;
}

.custom-search-form input.search-field {
    flex-grow: 1;
    border: none;
    padding-left: 20px;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    color: #666;
    background-color: #fff;
    font-family: inherit;
    box-shadow: none;
    margin-bottom: 0;
}

.custom-search-form input.search-field:hover {
   box-shadow: none;
}

.custom-search-form input::placeholder {
   color: #bbb;
}

.custom-search-form button.search-submit {
    background: none;
    border: none;
    padding: 0;
    margin: 0 10px;
    cursor: pointer;
    font-size: 18px;
    color: #777;
}

.custom-search-form button.search-submit i.icon-search {
    content: "\1F50D"; /* Unicode for magnifying glass */
    font-size: 20px;
    color: #357edd;
}

.custom-search-form button.search-submit:hover {
    color: #000;
}



/* ***************************** CUSTOM RELATED SEARCH ***************************** */

.related-searches {
    text-align: left;
}
.related-searches h4 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.related-searches ul {
    list-style-type: none;
    padding-left: 0;
}

.related-searches li {
    margin-bottom: 10px;
    margin-left: auto !important;
}

.related-searches li a {
    display: block;
    padding: 15px 20px;
    background-color: #357edd;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.related-searches li a:hover {
  background-color: #255ca4;
}

.related-searches li a:after {
  content: '\203A'; /* Unicode for the "greater-than" symbol (>) */
  float: right;
  font-size: 20px;
}

.related-searches li a:before {
  content: '\1F50D'; /* Unicode for a magnifying glass */
  margin-right: 10px;
  font-size: 18px;
}

/* ***************************** GOOGLE SEARCH ENGINE WIDGET ***************************** */
.gsc-control-cse {
  padding: 0px !important;
}

.gsc-search-box {
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 50px;
  padding: 0 6px;
}

.gsc-input {
  margin: 0;
}
.gsc-input-box {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding-left: 10px;
	  border: unset !important;
}

.gsc-input-box input.gsc-input {
    width: 100%;
    border: none !important;
    outline: none;
    font-size: 16px;
    padding: 10px 0;
    background: none;
    color: #202124;
}

.gsc-input-box input.gsc-input::placeholder {
    color: #757575;
}

table.gsc-search-box td {
  border: unset;
}
table.gsc-search-box td.gsc-input {
    padding: 0 10px;
    border: unset;
}
input.gsc-input {
    box-shadow: none;
}
input.gsc-input:focus {
  box-shadow: none;
}

.gsc-search-button {
    background: none;
    border: none;
    cursor: pointer;
}

.gsc-clear-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 50%;
    background-color: #f8f9fa;
    transition: background-color 0.3s;
}

.gsc-clear-button:hover {
    background-color: #e8eaed;
}

.gsc-clear-button span {
    font-size: 18px;
    color: #5f6368;
}

.gsc-clear-button[title="xóa các kết quả"]::before {
    content: "\00d7"; /* Unicode for '×' */
    font-size: 18px;
    color: #5f6368;
}

.gsc-search-button .gsc-search-button-v2, .gsc-search-button-v2:hover, .gsc-search-button-v2:focus {
    background-color: unset !important;
    border: unset;
    padding: 4px 0px;
}
.gsc-search-button svg, .gsc-search-button-v2 svg {
  fill: #357edd !important;
  width: 22px;
  height: 22px;
}

/* ***************************** GOOGLE SEARCH ENGINE RESULT  ***************************** */


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}