/***** Search form (WP standard search) ***********/
.search-form {
    width: 100%;
}

.search-form * {
    border: none;
    border-radius: 0;
}

.screen-reader-text {
    display: none;
}

.search-form label {
    font-size: 24px;
    font-size: 2.4rem;
    font-weight: 700;
}

.search-form label,
.search-form input[type="search"],
.search-form input[type="submit"] {
    display: inline;
}

.search-form input[type="search"] {
    width: calc(100% - 7% - 370px);
    line-height: 41px;
    padding-left: 8px;
    margin: 0 2% 0 4%;
    font-size: 20px;
    font-size: 2rem;
    border-radius: 0;
    border: 1px solid #009ea0;
    -webkit-appearance: none;
}

.search-form input[type="submit"] {
    position: relative;
    font-family: 'Ek Mukta', sans-serif;
    font-size: 20px;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    height: 43px;
    background: #8cc63f;
    border: 1px solid #fff;
    padding: 0 37px;
    margin: 0;
    top: 1px;
}

.search-form input[type="submit"]:hover {
    background: #000;
    cursor: pointer;
}
/***** end Search form (WP standard search) *******/


/***** Search form (Google CSE) *******************/
.gsc-control-wrapper-cse:before {
    content: 'SEARCH THE SITE';
    position: relative;
    display: block;
    float: left;
    font-family: 'Ek Mukta', sans-serif;
    font-size: 24px;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 43px;
    padding-right: 4%;
}

form.gsc-search-box {
    position: relative;
    float: left;
    width: calc(100% - 4% - 180px) !important;
}

.gsc-control-cse {
	border: none !important;
	background: none !important;
	padding: 0 !important;
}

table.gsc-search-box td {
    position: relative;
    float: left;
}

.gsc-search-box-tools .gsc-search-box .gsc-input {
	padding: 0 !important;
}

table.gsc-search-box td.gsib_a {
    float: none;
	padding: 2px 6px !important;
}

.gsc-search-box-tools .gsc-search-box .gsc-input {
    position: relative;
    display: inline-block;
	font-size: 20px;
	font-size: 2rem;
    width: calc(100% - 3% - 145px);
    margin-right: 3%;
}

button.gsc-search-button:before {
    content: 'SUBMIT';
    position: absolute;
    font-family: 'Ek Mukta', sans-serif;
    font-size: 20px;
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
    top: 0;
    left: 0;
    line-height: 43px;
    width: 144px;
}

.gsc-search-button-v2 svg {
    display: none;
}

.gsc-search-button-v2 {
	border: 1px solid #fff !important;
	border-radius: 0 !important;
	background-color: #8cc63f !important;
	width: 144px !important;
	height: 43px !important;
	padding: 0 !important;
	margin-top: 0 !important;
	margin-left: 0 !important;
    transition: background 0.1s linear;
}

td.gsc-search-button:hover .gsc-search-button-v2 {
	background-color: #000 !important;
    cursor: pointer;
}

table.gsc-search-box td.gsib_b {
    float: none;
}
/***** end Search form (Google CSE) ***************/


/***** Footer Search section ***********/
#footer-search {
    background: #363636;
    border-bottom: #7b7b7b 1px solid;
}

#footer-search .dgo-content {
    max-width: 880px;
    padding: 50px 2%;
}

.search-form {
    display: block;
    float: none;
    border-left: none;
    padding-left: 0;
    margin-left: 0;
}

@media screen and (max-width: 680px) {
    #footer-search .dgo-content {
        padding: 40px 2% 50px;
    }

    .search-label {
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }

    .search-form input[type="search"] {
        width: calc(100% - 3% - 157px);
        margin: 0 2% 0 0;
    }

    .gsc-control-wrapper-cse:before {
        float: none;
        padding-right: 0;
        text-align: center;
        margin-bottom: 10px;
    }

    form.gsc-search-box {
        float: none;
        width: 100% !important;
    }
}

@media screen and (max-width: 430px) {
    .search-form input[type="search"] {
        width: 100%;
        margin: 0 0 20px 0;
    }

    .search-form input[type="submit"] {
        display: block;
        margin: 0 auto;
    }

    .gsc-search-box-tools .gsc-search-box .gsc-input {
        display: block;
        width: 100%;
        margin-right: 0;
    }

    table.gsc-search-box td.gsc-search-button {
        position: relative;
        display: block;
        float: none;
        clear: left;
        margin: 0 calc((100% - 144px) / 2) 10px;
        top: 20px;
    }

    .gsc-search-button-v2 {
        position: relative;
    }
}
/***** end Footer Search section *******/
