﻿.fes7-box {
    padding-left: 65px;
    padding-top: 5px;
}

/*******input***/

.group {
    position: relative;
    display: inline-block;
}

    .group input {
        color: #ffffff;
        font-size: 15px;
        padding: 5px;
        display: block;
        width: 120px;
        border-bottom: 1px solid #ffffff;
        outline: none;
    }

.affix .cd-header-order .group input {
    border-bottom: 1px solid #5a6674;
    color: #5a6674;
}

.group input:focus {
    outline: none;
}

/* LABEL ======================================= */
.group label {
    color: #ffffff;
    font-size: 14px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 5px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

/* active state */
.group input:focus ~ label, .group input:valid ~ label,
.affix .cd-header-order .group input:focus ~ label, .affix .cd-header-order .group input:valid ~ label {
    top: -20px;
    font-size: 14px;
    font-weight: 600;
    color: #73c3ed;
}

.affix .cd-header-order .group label {
    color: #5a6674;
}
/* BOTTOM BARS ================================= */
.bar {
    position: relative;
    display: block;
    width: 120px;
}

    .bar:before, .bar:after {
        content: '';
        height: 2px;
        width: 0;
        bottom: 0px;
        position: absolute;
        background: #73c3ed;
        transition: 0.2s ease all;
        -moz-transition: 0.2s ease all;
        -webkit-transition: 0.2s ease all;
    }

    .bar:before {
        left: 50%;
    }

    .bar:after {
        right: 50%;
    }

/* active state */
.group input:focus ~ .bar:before, .group input:focus ~ .bar:after {
    width: 50%;
}
/* HIGHLIGHTER ================================== */
.highlight {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* active state */
.group input:focus ~ .highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    -moz-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
    from {
        background: #73c3ed;
    }

    to {
        width: 0;
        background: transparent;
    }
}

@-moz-keyframes inputHighlighter {
    from {
        background: #73c3ed;
    }

    to {
        width: 0;
        background: transparent;
    }
}

@keyframes inputHighlighter {
    from {
        background: #73c3ed;
    }

    to {
        width: 0;
        background: transparent;
    }
}


.search-form {
    position: relative;
    top: 50%;
    left: 50%;
    width: 100%;
    min-width: 300px;
    height: 40px;
    margin-top: 35px;
    border-radius: 40px;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: #fff;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

    .search-form .group input {
        color: #5a6674;
        font-size: 14px;
		line-height: 30px;
        width: 100%;
        border: none;
        border-bottom: 0px;
    }

    .search-form .group label {
        color: #5a6674;
        top: 8px;
        font-size: 16px;
    }

    /* active state */
    .search-form .group input:focus ~ label,
    .search-form .group input:valid ~ label {
        top: -20px;
    }

    .search-form .group input:focus ~ label, .search-form .group input:valid ~ label {
        color: #faa61a;
    }

.search-input {
    position: absolute;
    top: 0px;
    left: 38px;
    font-size: 14px;
    background: none;
    color: #5a6674;
    width: 100%;
    max-width: 200px;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    z-index: 2;
}

.search-button-home {
    position: absolute;
    top: 10px;
    left: 15px;
    height: 20px;
    width: 20px;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    outline: none !important;
}

    .search-button-home svg {
        width: 20px;
        height: 20px;
        fill: #5a6674;
    }

.search-submit-button {
    position: absolute;
    right: 0;
    top: -2px;
    text-align: center;
}

.tp-mask-wrap .button.medium {
    width: 100%;
    text-align: center;
}

/******option*******/
.control-center {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
}

.option-btn {
    background-color: #faa61a;
    height: 45px;
    width: 45px;
    border-radius: 50%;
    box-shadow: 0px 0px 12px 2px rgba(193, 19, 6, 0.6);
    -webkit-box-shadow: 0px 0px 12px 2px rgba(193, 19, 6, 0.6);
    -moz-box-shadow: 0px 0px 12px 2px rgba(193, 19, 6, 0.6);
    position: absolute;
    cursor: pointer;
    z-index: 9;
    top: 0;
    right: 0px;
}

    .option-btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 1;
        z-index: 100;
        visibility: visible;
        -webkit-transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
        -moz-transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
        transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
        background-position: center center;
        background-size: 25px;
        background-repeat: no-repeat;
        background-image: url(/images/icon-search.png);
    }

    .option-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0;
        z-index: 100;
        visibility: hidden;
        -webkit-transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
        -moz-transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
        transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 18px;
        background-image: url(/images/iconclose.png);
    }

    .option-btn.open::after {
        opacity: 0;
        visibility: hidden;
        -webkit-transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
        -moz-transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
        transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
        animation: spin .10s ease-in-out;
    }

    .option-btn.open::before {
        opacity: 1;
        visibility: visible;
        -webkit-transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
        -moz-transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
        transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
        animation: spin .10s ease-in-out;
    }

    .option-btn.loading {
        position: absolute;
        z-index: 100;
        top: 0;
        right: 0;
        bottom: 0;
        opacity: 1;
        z-index: 100;
        pointer-events: none;
        visibility: visible;
        background-position: center center;
        background-size: 25px;
        background-repeat: no-repeat;
        background-image: url(/images/loading.png);
        background-color: #faa61a;
        -webkit-transition: spin 1.5s cubic-bezier(0.250, 0.470, 0.710, 0.300) infinite;
        -moz-transition: spin 1.5s cubic-bezier(0.250, 0.470, 0.710, 0.300) infinite;
        transition: spin 1.5s cubic-bezier(0.250, 0.470, 0.710, 0.300) infinite;
        animation: spin 1.5s cubic-bezier(0.250, 0.470, 0.710, 0.300) infinite;
    }

        .option-btn.loading::after {
            opacity: 0;
            visibility: hidden;
            -webkit-transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
            -moz-transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
            transition: opacity .5s ease-in-out, visibility .5s ease-in-out;
        }

.left-sidebar {
    list-style: none;
    background-color: #faa61a;
    height: 40px;
    padding: 0 25px 0 35px;
    margin-top: 2px;
    margin-right: 0;
    border-radius: 20px;
    box-shadow: 0px 2px 20px 2px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

    .left-sidebar li {
        color: #ffffff;
        font-weight: 600;
        line-height: 40px;
        height: 100%;
        margin-right: 23px;
        display: inline-block;
        cursor: pointer;
        opacity: 0;
    }

        .left-sidebar li a {
            color: #ffffff;
        }



.left-sidebar {
    opacity: 0;
    visibility: hidden;
}



.open .left-sidebar {
    animation-name: leftslide;
    animation-duration: .5s;
    animation-fill-mode: both;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
}


    .open .left-sidebar li:nth-child(3) {
        animation-name: fadeIn;
        animation-duration: .3s;
        animation-delay: .4s;
        animation-fill-mode: both;
        animation-timing-function: ease-in-out;
    }


    .open .left-sidebar li:nth-child(2) {
        animation-name: fadeIn;
        animation-duration: .3s;
        animation-delay: .5s;
        animation-fill-mode: both;
        animation-timing-function: ease-in-out;
    }

    .open .left-sidebar li:nth-child(1) {
        animation-name: fadeIn;
        animation-duration: .3s;
        animation-delay: .6s;
        animation-fill-mode: both;
        animation-timing-function: ease-in-out;
    }



@keyframes leftslide {
    from {
        opacity: 0;
        visibility: hidden;
        transform: translate(30%,0);
    }

    to {
        opacity: 1;
        visibility: visible;
        transform: translate(0,0);
    }
}

@-webkit-keyframes leftslide {
    from {
        opacity: 0;
        visibility: hidden;
        -webkit-transform: translate(30%,0);
    }

    to {
        opacity: 1;
        visibility: visible;
        -webkit-transform: translate(0,0);
    }
}

@-moz-keyframes leftslide {
    from {
        opacity: 0;
        visibility: hidden;
        -moz-transform: translate(30%,0);
    }

    to {
        opacity: 1;
        visibility: visible;
        -moz-transform: translate(0,0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(360deg);
    }
}

@media only screen and (min-width: 360px) {

    .search-form {
        min-width: 320px;
    }

    .search-input {
        max-width: 220px;
    }
}

@media only screen and (min-width: 768px) {

    .search-form {
        min-width: 450px;
        margin-bottom: 0px;
    }

    .search-input {
        max-width: 350px;
    }

    .search-option {
        right: 120px;
    }

    .search-submit-button {
        position: absolute;
        right: 0;
        top: -2px;
    }

    .left-sidebar li {
        margin-right: 30px;
    }
}

@media only screen and (min-width: 1025px) {
    .left-1024 {
        float: left;
        margin-left: 150px;
    }
}
@media (min-width: 1025px) and (max-width: 1100px) {
	#main-menu .navbar .nav > li > a {
		font-size: 12px;
		margin: 0 6px 17px 6px;
	} 
	.cd-header-order > li {
		margin-right: 5px !important;
	}
	.left-1024 {
		margin-left: 135px !important;
	}
}
