.header
{
    padding: 14px 4px 0 4px;
    display: flex;
    flex-wrap: wrap;
}
/*Top Links */
.header-top-links {
    width: 25%;
    display: flex;
    margin-bottom: 6px;
    position: relative;
}
.header-top-links a:not(.btn) {
    color: #CC6B32;
}
.header-top-links.center {
    width: 50%;
    justify-content: center;
    font-weight: bold;
}
.sigh-in-container.non-authorized > li:after,
.header-top-links > li:after {
    content: '|';
    color: #CC6B32;
    font-weight: normal;
    padding: 0 3px;
}
.sigh-in-container.non-authorized > li:last-child:after,
.header-top-links > li:last-child:after {
    content: '';
    padding: 0;
}
.header-top-links.left {
    padding-left: 12px;
}
.header-top-links.right {
    padding-right: 12px;
    justify-content: flex-end;
}
/* End Top Links */

/* Sigh in Container */
.sigh-in-container {
    display: flex;
    justify-content: flex-end;
}
.remember-me-lbl {
    color: #959595;
    line-height: 13px;
    font-size: 11px;
    display: flex;
    align-items: center;
}
.remember-me-lbl input {
    margin-right: 5px;
}
.sign-in-block-holder{
    position: absolute;
    right: 10px;
    top: 28px;
    font-size: 12px;
    width: 250px;
    z-index: 999;
    background-color: #fff;
    border-radius: 11px;
    border: 1px solid #cf7540;
    padding: 30px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;
    box-shadow: 0px 0px 6px #7E3308;
}
.sign-in-block-holder.show {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}
.sign-in-block-holder:before,
.sign-in-block-holder:after{
    content: '';
    position: absolute;
    top: -14px;
    left: calc(62% - 9px);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 9px 14px 9px;
    border-color: transparent transparent #cf7540 transparent;
}
.sign-in-block-holder:after {
    top: -12px;
    border-bottom-color: #ffffff;
}
.sign-in-block-holder .btn {
    margin-top: 3px;
    margin-bottom: 5px;
}
.sign-in-block-holder .form.form-inline .form-row .label {
    color: #EEAC6C;
    text-align: right;
}
#myMessages
{
    display: inline-block;
    vertical-align: middle;
    margin: -1px 18px 0 0;
    width:16px;
    padding-left: 20px;
    background: url("../system_images/autoriz_emaill.png");
    background-repeat: no-repeat;
    background-size: auto 9px;
    background-position: center center;
}
#myMessages.myMessagesActive{
    background: url("../system_images/autoriz_emaill.gif");
    background-repeat: no-repeat;
    background-size: auto 9px;
    background-position: center center;
}
.signEnterLink
{
    margin-right: 4px;
}
.singexit
{
    margin-left: 5px;
}
.singregis
{
    margin-left: 1px;
}
.userItem a
{
    color:#CC6B32;
}
.userItem
{
    text-align: left;
}


/* Search Block */
.menu-bg {
    background-color: #cc6b32;
    border-color: #cc6b32 !important;
}
.menu-bg:before {
    content: '';
    width: 100%;
    height: 53%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, #cc713a, #d28351);
}
#seach
{
    position: relative;
    top:-18px;
    left: 5px;
}
.seach form
{
    overflow: hidden;
}
.search-block-wrapper {
    width: calc(22% - 4px);
    padding: 0 18px 0 12px;
    border-right: 2px solid;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -1px 4px 2px -2px rgba(0,0,0,0.2);
    position: relative;
    margin-bottom: 5px;
}
.search-block-wrapper form {
    width: 100%;
}
.searchText:focus
{
    color: #000000;
}
.search-block-wrapper:before {
    border-top-right-radius: 10px;
}
.searchFon {
    position: relative;
}
.myMessagesNew{
    display: inline-block;
}
#myMessages:hover #newMess{
    text-decoration: underline;
}
input[type="text"].searchText {
    border: 0 none;
    color: #454545;
    height: 22px;
    width: 100%;
    border-radius: 10px;
    padding: 0 0 0 30px;
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.3);
}
#searchBlock .searchTextformError {
    left: 10px !important;
}
/* End Search Block */

/* Banners */
.header-banner {
    display: flex;
    width: 100%;
}
.header-banner-item {
    width: 50%;
    padding: 0 5px;
    margin-bottom: 5px;
    overflow: hidden;
}
.header-banner-item img {
    width: 100% !important;
    height: auto !important;
}
.header-banner iframe {
    max-width: 100%;
}
/* Banners */


@media screen and (min-width: 768px) {
    .btn-search {
        display: none;
    }
}

@media screen and (max-width: 1023px) {
    input[type="text"].searchText {
        padding-left: 10px;
    }
}


@media screen and (max-width: 767px) {
    .header {
        padding-top: 4px;
    }

    .header-top-links.left {
        display: none;
    }

    .header-top-links.right {
        margin-bottom: 14px;
    }

    .header {
        justify-content: space-between;
    }

    .header > div:last-child:not(.search-block-wrapper) {
        order: 5;
    }

    /* Search block*/
    .search-block-wrapper {
        order: 4;
        width: 100%;
        height: 40px;
        border-radius: 10px;
        padding: 0 10px 0 0px;
        justify-content: space-between;
    }

    .search-block-wrapper form {
        width: calc(100% - 85px);
    }

    .search-block-wrapper.menu-bg:before {
        border-top-left-radius: 10px;
    }

    .btn-search {
        display: block;
        position: absolute;
        height: 30px;
        width: 36px;
        top: 0;
        right: 10px;
        background: url(../system_images/search-icon.png) center center no-repeat;
        background-size: auto 16px;
        bottom: 0;
        margin: auto;
        border: 0;
        text-indent: -500px;
    }

    input[type="text"].searchText {
        height: 30px;
        border-radius: 15px;
        background-color: #f3f6e5;
        border: 0;
    }

    /* End Search block*/


    /* Banners */
    .header-banner {
        flex-direction: column;
    }

    .header-banner-item {
        width: 100%;
    }
    /* Banners */
}

@media screen and (max-width: 532px) {
    .sign-in-block-holder {
        position: fixed;
        width: 90vw;
        top: 48px;
        right: 0;
        left: 0;
        margin: auto;
    }
    .sign-in-block-holder:before,
    .sign-in-block-holder:after {
        content: none;
    }
    .sign-in-block-holder.form.form-inline .form-row .field {
        width: calc(100% - 80px);
    }
    .sign-in-block-holder.form.form-inline .form-row .label {
        padding-top: 8px;
        padding-right: 15px;
        margin-bottom: 0;
        width: 80px;
        text-align: right;
    }
}
