/* searchbar styles */

.searchSubmit{
    display:none;
}

.closeSearch{
    display: block;
    float: right;
    cursor:pointer;
}

.closeSearch:before {
    content: "";
    display: inline-block;
    background: url("../Images/am-suisse_x1.png") no-repeat 0 -517px;
    width: 23px;
    height: 35px;
}

.search {
    width: 20px;
}
.search-form-wrapper {
	border-bottom: 1px solid #000;
    margin-left: 15px;
    margin-right: 15px;
}


#custom-search-form {
    margin:0;
    margin-top: 5px;
    padding: 0;
}

#custom-search-form .search-query {
    padding-right: 3px;
    padding-right: 4px \9;
    padding-left: 3px;
    padding-left: 4px \9;
    border-radius: 0;
    /* IE7-8 doesn't have border-radius, so don't indent the padding */

    margin-bottom: 0;
    /*-webkit-border-radius: 3px;
    -moz-border-radius: 3px;*/
    /*
    -webkit-transition: width  0.2s ease-in-out;
    -moz-transition:width  0.2s ease-in-out;
    -o-transition: width  0.2s ease-in-out;
    transition: width  0.2s ease-in-out;
    */
}

#custom-search-form button {
    border: 0;
    background: none;
    /** belows styles are working good */
    padding: 2px 5px;
    margin-top: 2px;
    position: relative;
    left: -28px;
    /* IE7-8 doesn't have border-radius, so don't indent the padding */
    margin-bottom: 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.search-query:focus + button {
    z-index: 3;
}

.dropdown-menu.search {
    /*min-width: 200px;
    padding: 12px;*/
    position: absolute;
    left: -655px;
    width: 720px;
    top: 0px;
    box-shadow: none;
    padding: 0px;
    height: 124px;
    z-index: 2;
}

.search-button:before {
    content: "";
    display: inline-block;
    background: url("../Images/am-suisse_x1.png") no-repeat 0 -719px;
    width: 20px;
    height: 20px;
}

#custom-search-form .input-append{
    text-align: left;
}

.search-query{
    width: 100%;
    height: 55px;
    font-size: 35px;
    border: 1px solid black;
    padding:10px;
}

.top-navigation > li > a.search-button {
    padding-top: 10px;
}

/* search results */
.tx-indexedsearch-title, .tx-indexedsearch-title a, .tx-indexedsearch-percent {
	font-weight: 700;
}


/* responsive styles */
@media (min-width: 1200px) {
    .closeSearch{
        margin-bottom: 14px;
    }
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .closeSearch{
        margin-bottom: 14px;
    }
}

@media (max-width: 1023px) {
    .closeSearch{
        display:none;
    }

    .search-button{
        border-bottom: 0px;
        background: transparent;
        border: none;
        padding:0;
        float:right;
    }
    .dropdown-menu.search{
        float: left !important;
        width: 70%;
        height: auto;
        margin-left: 15px;
        display: block;
        position: relative;
        left: 0;
    }
    #custom-search-form{
        padding-top: 0;
        height: 41px;
    }
    #custom-search-form .input-append{
        height: 41px;
    }
    .search-query{
        border-left: 0px;
        border-right: 0px;
        border-top: 0px;
        border-bottom: 0px;
        font-size: 16px;
        height: 43px;
        width: 85%;
        padding-left: 0;
    }

    .search-button:before {
        margin-top: 12px;
        margin-right: 6px;
    }
}

@media (min-width: 768px) and (max-width:1023px) {
    .closeSearch{
        margin-bottom: 14px;
    }
}

@media (max-width:767px) {
    #custom-search-form {
        padding: 0 0 20px;
    }

	.search-form-wrapper {
		border-bottom: 1px solid #000;
	    margin-left: 20px;
	    margin-right: 20px;
	}
}
