@charset "utf-8";

/*--------------------
       Header
--------------------*/

#tags {
    position: relative;
    float: left;
    margin-bottom: 12px;
}
#tags > ul {
    display: flex;
}
#tags > ul > li > p {
    display: flex;
    width: 125px;
    padding-bottom: 2px;
    border-bottom: 2px solid #808080;
    cursor: pointer;
}
#tags > ul > li > p > span:last-child {
    margin-left: 12px;
    font-size: 14px;
    color: #ccc;
}
#tags > ul > li > p > span:first-child {
    margin-left: 0;
    font-size: 14px;
    color: #808080;
}
#tags > ul > li > ul {
    display: none;
    position: absolute;
    top: 18px;
    width: 127px;
    z-index: 10000;
    cursor: pointer;
}
#tags > ul > li > ul > li {
    background-color: #808080;
    color: #ebebeb;
}
#tags > ul > li > ul > li:hover {
    background-color: #ebebeb;
    color: #2e2e2e;
}
#tags > ul > li > ul > li > p {
    height: 24px;
    margin: 0 4px;
    padding: 0 6px;
    line-height: 24px;
    font-size: 14px;
}
#tags > ul > li > ul > li:not(:last-child) > p {
    border-bottom: 2px solid #ebebeb;
}
#tags > ul > li:last-child > ul {
    left: 158px;
}
#tags > ul > li:nth-child(2) {
    margin: 0 12px;
    font-size: 18px;
    color: #808080;
}

/* 201812-03 */
@media screen and (max-width: 640px) {
    #tags {
        width: 100%;
    }
}

#icons {
    float: right;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}
#icons > a {
    display: block;
    height: 20px;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background-position: left top;
    background-repeat: no-repeat;
    background-size: cover;
}
#icons > a:hover {
    background-position: left bottom;
}
#icons > a:not(:last-child) {
    margin-right: 10px;
}
#info-icon {
    width: 34px;
    background-image: url('../img/icons/info.png');
}
#award-icon {
    width: 19px;
    background-image: url('../img/icons/award.png');
}
#blog-icon {
    width: 26px;
    background-image: url('../img/icons/blog.png');
}
#insta-icon {
    width: 20px;
    background-image: url('../img/icons/insta.png');
}

/*--------------------
       Search
--------------------*/

/* 201812-03 */
#search {
    margin: 0 10px 0 0;
    display: inline-block;
    position: relative;
    height: 20px;
    float: right;
    padding: 0;
    position: relative;
}
#search > form > input[type="text"] {
    height: 20px;
    font-size: 14px;
    display: inline-block;
    border: none;
    outline: none;
    color: #2e2e2e;
    padding: 3px;
    padding-right: 30px;
    width: 0px;
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    z-index: 3;
    transition: width .4s cubic-bezier(0.000, 0.795, 0.000, 1.000);
    cursor: pointer;
    -webkit-appearance: none;
    border-radius: 0;
}
#search > form > input[type="text"]:focus:hover {
    border-bottom: 2px solid #808080;
}
#search > form > input[type="text"]:focus {
    width: 148px;
    z-index: 1;
    border-bottom: 2px solid #808080;
    cursor: text;
}
#search > form > input[type="text"]:-ms-input-placeholder {
    font-size: 12px;
    color: #ccc;
}
#search > form > input[type="text"]:-moz-placeholder {
    font-size: 12px;
    color: #ccc;
}
#search > form > input[type="text"]::-moz-placeholder {
    font-size: 12px;
    color: #ccc;
}
#search > form > input[type="text"]::-webkit-input-placeholder {
    font-size: 12px;
    color: #ccc;
}
#search > form > input[type="text"]:placeholder-shown {
    font-size: 12px;
    color: #ccc;
}
#search > form > button[type="button"] {
    height: 20px;
    width: 19px;
    display: inline-block;
    color:red;
    float: right;
    background-image: url(../img/search.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-color: transparent;
    text-indent: -10000px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    cursor: pointer;
}
#search:hover > form > button[type="button"] {
    background-position: center bottom;
}

/* 201812-03
@media screen and (max-width: 640px) {
    #search > form > input[type="text"] {
        width: 148px;
        z-index: 1;
        border-bottom: 2px solid #808080;
        cursor: text;
    }
}
*/

/*--------------------
       Footer
--------------------*/

footer {
    position: relative;
    padding-top: 40px;
    height: 50px;
}
footer > p {
    text-align: center;
    font-size: 10pt;
    color: #808080;
}
footer > form {
    display: flex;
    position: absolute;
    top: 34px;
    right: 0;
}
footer > form > input {
    width: 144px;
    height: 26px;
    padding: 0 4px;
    border: none;
    border-radius: 3px 0 0 3px;
    background-color: #808080;
    font-size: 14px;
    color: #ebebeb;
}
footer > form > input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #ebebeb;
}
footer > form > input::-moz-placeholder { /* Firefox 19+ */
    color: #ebebeb;
}
footer > form > input:-moz-placeholder { /* Firefox 18- */
    color: #ebebeb;
}
footer > form > input:-ms-input-placeholder { /* IE 10+ */
    color: #ebebeb;
}
footer > form > input:placeholder-shown {
    color: #ebebeb;
}
footer > form > button {
    margin: 0;
    padding: 2px 4px;
    border: none;
    border-radius: 0 3px 3px 0;
    background-color: #808080;
    cursor: pointer;
}
footer > form > button > img {
    display: block;
    width: 40px;
    height: 22px;
}

@media screen and (max-width: 640px) {
    footer {
        height: 96px;
    }
    footer > p {
        margin-top: 46px;
    }
}
