﻿
.searchbox {
    //float: left;
    width: 40px;
    height: 38px;
    position: relative;
    z-index: 7000;
}

.searchbox-text {
    background-color: #1f214d;
    position: absolute;
    right: 40px;
    width: 0;
    padding: 0;
    overflow: hidden;
    padding: 2px 0;
    transition: all 400ms ease-in-out;
    //margin-right: 1px;
}

.searchbox input[type=text] {
    border: 0;
    font-size: 13px;
    line-height: 16px;
    height: 30px;
    padding: 7px 0;
    width: 0;
    font-weight: bold;
    color: #004687;
    outline: none;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    transition: all 400ms ease-in-out;
}

.searchbox input[type=image],
.searchbox input[type=submit] {
    transition: all 400ms ease-in-out;
    width: 40px;
    height: 34px;
    background: url(../images/search-ico.png) center right no-repeat;
    border: 0;
    border-radius: 0;
    -webkit-appearance: none;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    top: 0;
    right: 0;
    border: 0;
    outline: none;
    text-indent: -9999px;
    overflow: hidden;
}

.blue input[type=image],
.blue input[type=submit] {
    transition: all 400ms ease-in-out;
    width: 40px;
    height: 34px;
    background: url(../images/blue-search-ico.png) center right no-repeat;
    border: 0;
    border-radius: 0;
    -webkit-appearance: none;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    top: 0;
    right: 0;
    border: 0;
    outline: none;
    text-indent: -9999px;
    overflow: hidden;
}

.search-top{
    margin-top:-5px;
    width:30px;
}

.searchbox.focus .searchbox-text,
.searchbox:hover .searchbox-text {
    width: 250px;
    padding: 2px;
}

.searchbox.focus input[type=text],
.searchbox:hover input[type=text] {
    width: 250px;
    padding: 7px;
}

.searchbox.focus input[type=submit],
.searchbox:hover input[type=submit] {
    background-color: #1f214d;
    background-position: center center;
}

    .searchbox.focus input[type=submit]:hover {
        background-color: #1f214d;
        cursor: pointer;
    }

    .searchbox label {
        display: none;
    }
    
    
    @media screen and (max-width: 800px){
    
        .blue input[type=image],
        .blue input[type=submit] {
            transition: all 400ms ease-in-out;
            width: 40px;
            height: 34px;
            background: url(../images/search-ico.png) center right no-repeat;
            border: 0;
            border-radius: 0;
            -webkit-appearance: none;
            margin: 0 !important;
            padding: 0 !important;
            position: absolute;
            top: 0;
            right: 0;
            border: 0;
            outline: none;
            text-indent: -9999px;
            overflow: hidden;
        }
}

.big-searchbox{
    margin-top:20px;
}

.search-table, .SearchDialog{
    width:96%;
    background:#0068b3;
    padding:10px 2% 10px 2%;
    margin-bottom:20px;
}

.search-table table, .SearchDialog table{
    background:#0068b3;
    color:#fff;
}

.search-table table tr:nth-child(odd){
    background:#0068b3;
}

.SearchDialog table tr:nth-child(odd){
    background:#0068b3;
}

.search-table table input[type="text"], .SearchDialog table input[type="text"]{
    width:98%;
    color:#000;
    padding:5px 1% 5px 1%;
}

.search-table table tr td:first-child, .SearchDialog table tr td:first-child {
    width: 100px;
}

.search-table table input[type="submit"], .SearchDialog table input[type="submit"] {
    width: 195px;
    height: 49px;
    color: #fff;
    background: url(../images/contact-box-button.png) no-repeat bottom center;
    text-decoration: none;
    margin-top: 5px;
    margin-left: 0px;
    font-size: 1em;
    border: none;
    font-weight: 500;
}

.search-table table input[type="submit"]:hover, .SearchDialog table input[type="submit"]:hover{
    color: #199fff;
    background-position: top center;
    text-decoration: none;
}