﻿@import url('https://fonts.googleapis.com/css?family=Raleway:400,700,900');

/* Base styling */

body {
    width: 430px;
    margin: 0 auto;
    /*background-color: #F7CAC9;*/
    font-family: 'Raleway', sans-serif;
}

.search__container {
    padding-top: 14px;
    display: table;
    width: 25%;
}

.search__title {
    font-size: 22px;
    font-weight: 900;
    text-align: center;
    color: white;
}
.search__input {
    width: 100%;
    padding: 3px 11px;
    background-color: transparent;
    transition: transform 250ms ease-in-out;
    font-size: 14px;
    line-height: 34px;
    color: white;
    direction: rtl;
    background-color: transparent;
    /*         background-image: url(http://mihaeltomic.com/codepen/input-search/ic_search_black_24px.svg); */
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' style='fill:white; stroke:none' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 32px 26px;
    background-position: 2% center;
    border-radius: 50px;
    border: 1px solid; /*#1b9fd7*/
    transition: all 250ms ease-in-out;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    /*border-image-source: linear-gradient(rgba(0, 51, 102, 0.5), rgba(0, 0, 51, 0.5));*/
    /*border-width: 5pt;*/
    /*border-image-slice: 1;*/
    /*border-radius: 50px;
    padding: 0.5rem;
    border: double 3px transparent;
    border-radius: 50px;
    background-image: linear-gradient(white, white), linear-gradient(to right, orange, yellow);
    background-origin: border-box;
    background-clip: padding-box, border-box;*/
    border-right-color: red;
    border-top-color: orangered;
    border-bottom-color: coral;
    border-left-color: chocolate;
}
.search__input-bg {
    width: 100%;
    padding: 12px 24px;
    background-color: transparent;
    transition: transform 250ms ease-in-out;
    font-size: 14px;
    line-height: 22px;
    color: white;
    direction: rtl;
    background-color: transparent;
    /*         background-image: url(http://mihaeltomic.com/codepen/input-search/ic_search_black_24px.svg); */

    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' style='fill:white; stroke:none' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 22px 24px;
    background-position: 5% center;
    border-radius: 50px;
    border: 2px solid #1b9fd7;
    transition: all 250ms ease-in-out;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}
.search__input::placeholder {
    /*color: rgba(87, 87, 86, 0.8);*/
    color: white;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0px;
}
.search__input-placeholder::placeholder {
    /*color: rgba(87, 87, 86, 0.8);*/
    color: #0a2660;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0px;
}
.search__input-bg::placeholder {
    /*color: rgba(87, 87, 86, 0.8);*/
    color: white;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0px;
}

    .search__input:hover,
    .search__input:focus {
       
        /*padding: 12px 0;*/
        outline: 0;
        border: 1px solid transparent;
        border-bottom: 2px solid #1b9fd7;
        border-radius: 50px;
        background-position: 5% center;
    }
.search__input-bg:hover,
.search__input-bg:focus {
    /*padding: 12px 0;*/
    outline: 0;
    border: 1px solid transparent;
    border-bottom: 2px solid #1b9fd7;
    border-radius: 50px;
    background-position: 5% center;
}
.credits__container {
    margin-top: 24px;
}

.credits__text {
    text-align: center;
    font-size: 13px;
    line-height: 18px;
}

.credits__link {
    color: #ff8b88;
    text-decoration: none;
    transition: color 250ms ease-in;
}

    .credits__link:hover,
    .credits__link:focus {
        /*color: rgb(191, 137, 135);*/
    }

    /*for new search desighn with search icont is active button*/

form.example input[type=text] {
    padding: 10px;
    font-size: 31px;
    border-radius: 50px;
    /*border: 1px solid;*/
    border-width: 4.5px;
    float: right;
    width: 90%;
    /*height: 65px;*/
    background-color: #00000059;
    /*background-color: transparent;*/
    margin-left: -60px;
    margin-top: 6px;
    color: white;
    /*----------------border color---------------------*/
    border-color: light-dark(rgb(66, 139, 201), rgb(10, 38, 96));
    border-image: initial;
}
    form.example input[type=text]:focus-visible {
        border-color: light-dark(rgb(66, 139, 201), rgb(10, 38, 96));
        border-image: initial;
        outline: none;
        padding-bottom: 3px;
    }
    form.example input[type=text]::placeholder {
        /*color: rgba(87, 87, 86, 0.8);*/
        font-size:22px;
        color: white;
        text-align: right;
        text-transform: uppercase;
        letter-spacing: 0px;
    }
form.example-layout input[type=text]::placeholder {
    /*color: rgba(87, 87, 86, 0.8);*/
    color: #0a2660;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0px;
}

form.example button {
    /*float: left;*/
     width: 1%; 
    /* padding: 10px 0px 10px 0px; */
    border-radius: 50px;
    color: white;
    font-size: 7px;
    border: none;
    border-left: none;
    cursor: pointer;
    height: 8px;
    background-color: transparent;
    vertical-align: middle;
}
form.example-layout button {
    color: #0a2660;
}

    form.example button:hover {
        color: #1b9fd7;
        /*background: #0b7dda;*/
    }

form.example::after {
    content: "";
    clear: both;
    display: table;
}
form.example1 input[type=text] {
    padding: 10px;
    font-size: 17px;
    border-radius: 50px;
    
    float: right;
    width: 95%;
    margin-top: 0;
    /* background: #f1f1f1; */
    background-color: transparent;
    margin-left: -25px;
    border-width: 3pt;
}
form.example-layout input[type=text] {
    padding: 10px;
    font-size: 17px;
    border-radius: 50px;
    float: right;
    width: 90%;
    /*background: #f1f1f1;*/
    background-color: transparent;
    margin-left: -30px;
    color: #0a2660;
    border-width: 3pt;
    margin-top: -6px;
    /*padding: 6px 12px;*/
    background-image: linear-gradient(90deg, red 0%, blue 100%);
    /* Fill the inside with white */
    background-origin: border-box;
    box-shadow: inset 0 100vw white;
}
    /* end design for new search desighn with search icont is active button*/



    @media(max-width:845px) {
        .search__input {
            width: 90%;
            margin: 3%;
        }
    }