/**
 *  LESS file for the Search Form
 */

 #masthead.default {
     #top-search {
         position: relative;
         text-align: center;
         top: 40%;
         label {
	         display: flex;
	         width: 30%;
	         margin: auto;
             background:  rgba(255,255,255,.55);
             padding: 10px 18px;
             border-radius: 28px;
             box-shadow: 0px 0px 10px rgba(0,0,0,.3);
             @media screen and (max-width: 767px) {
	             width: 50%;
             }
         }
         input[type="text"] {
	         width: 100%;
             background: none;
             border: 0;
             .color(black);
             .size(1.5em);
             &::placeholder {
                 .color(black);
             }
         }
         button[type="submit"] {
             .size(1.5em);
             padding: 0;
             float: right;
             background: transparent;
             border: 0;
         }
     }
 }

 #masthead.simple {
	margin-bottom: 0;
    #top-search {
	    position: relative;
	    .transform(none);
	    padding-top: 20px;
        .size(14px);
        z-index: 99;
        form {
            text-align: center;
            @media screen and (max-width: 767px) {
                width: 100%;
            }
            label {
                border: solid 1px #ddd;
                border-radius: 20px;
                background-color: #ffffff;
                box-shadow: 0px 0px 3px rgba(0,0,0,.2);
                display: inline-block;
                input[type="text"] {
                    border: none;
                    background: none;
                    padding-left: 10px;
                    .italic;
                }
            }
            button {
	            background: transparent;
	            padding: .5em .8em;
	            .size(1.3em);
                box-shadow: none;
                border: none;
                position: relative;
            }
            input[type="submit"] {
                display: none;
            }
        }
    }
}

#masthead.full {
    #top-search {
        display: block;
        .size(17px);
        z-index: 99;
        form {
            text-align: center;
            label {
	            display: flex;
	            width: 30%;
	            margin: auto;
                border: none;
                border-radius: 24px;
                background-color: rgba(255,255,255,.3);
                .transition( background .1s ease-out );
                @media screen and (max-width: 767px) {
	                width: 50%;
                }
                input[type="text"] {
	                width: 100%;
                    border: none;
                    color: black;
                    background: none;
                    padding-left: 10px;
                    &::placeholder {
                        color: black;
                    }
                }
            }
            button {
	            background: transparent;
	            padding: .5em .8em;
	            .size(1.3em);
                box-shadow: none;
                border: none;
                position: relative;
            }
            input[type="submit"] {
                display: none;
            }
        }
    }
}


#masthead.ad {
    #top-search {
        display: inline-block;
        position: relative;
        .size(14px);
        @media screen and (max-width: 767px) {
            width: 100%;
            text-align: center;
        }
        form {
            label {
	            display: inline-block;
                margin: 0px;
                border: solid 1px #ddd;
                border-radius: 20px;
                background-color: #ffffff;
                box-shadow: 0px 0px 3px rgba(0,0,0,.2);
                input[type="text"] {
                    border: none;
                    background: none;
                    padding-left: 10px;
                    .italic;
                }
            }
            button {
	            background: transparent;
	            padding: .5em .8em;
	            .size(1.3em);
                box-shadow: none;
                border: none;
                position: relative;
            }
            input[type="submit"] {
                display: none;
            }
        }
    }
}