label {
    font-size: 18px;
    cursor: pointer;
    line-height: 43px;
    width: 185px;
    float: left;
    color: #5d5d5d;
    clear: left;
}
label.multiline {
    line-height: 16px;
}
input,
textarea {
    padding: 7px 10px ;
    margin: 0 0 10px 0;
    width: 100%;
    transition: all 0.5s ease;
    background-color: #fff;
    border: 1px solid #b9b9b9;
    color: #000;
    font-size: 16px;
    font-weight: 400;
}
textarea {
    height: 260px;
    resize: none;
    overflow-x: hidden;
    overflow-y: auto;
}
div.checkbox input:focus+label:before,
div.select button:focus,
input:focus,
textarea:focus {
    /*border: 2px solid #1c6ed8;*/
    -webkit-box-shadow:inset 0 0 5px #1c6ed8;
    -moz-box-shadow:inset 0 0 5px #1c6ed8;
    box-shadow:inset 0 0 5px #1c6ed8;
    border: 1px solid #1c6ed8;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder
{ color: #9e9e9e }
input:-moz-placeholder,
textarea:-moz-placeholder
{ color: #9e9e9e }
input::-moz-placeholder,
textarea::-moz-placeholder
{ color: #9e9e9e }
input:-ms-input-placeholder,
textarea:-ms-input-placeholder
{ color: #9e9e9e }

a.button,
button {
    padding: 0 25px;
    font-weight: normal;
    text-align: center;
    cursor: pointer;
    display: block;
    border-radius: 3px;
    text-decoration: none;
}
a.button.inline,
button.inline {
    display: inline-block;
}
a.button.big,
button.big {
    height: 54px;
    padding: 0 95px;
    font-size: 30px;
    font-weight: 700;
    line-height: 54px;
}
.pager a.next,
.pager a.prev,
a.button.yellow,
button.yellow {
    background-color: #f7d408;
    background-image: -webkit-linear-gradient(bottom, rgba(2, 2, 2, 0.09) 0%, rgba(255, 255, 255, 0.09) 100%);
    background-image: linear-gradient(to top, rgba(2, 2, 2, 0.09) 0%, rgba(255, 255, 255, 0.09) 100%);
    border: 1px solid #f7c208;
    color: #000;
}
.pager a.next:hover,
.pager a.prev:hover,
a.button.yellow:hover,
button.yellow:hover {
    background-color: #f7d408;
    background-image: -webkit-linear-gradient(top, rgba(2, 2, 2, 0.09) 0%, rgba(255, 255, 255, 0.09) 100%);
    background-image: linear-gradient(to bottom, rgba(2, 2, 2, 0.09) 0%, rgba(255, 255, 255, 0.09) 100%);
    border: 1px solid #f7c208;
    color: #000;
}
a.button.red,
button.red {
    background: red;
    color: #fff;
}
a.button.blue,
button.blue {
    background-color: #1b6cd8;
    background-image: -webkit-linear-gradient(bottom, rgba(2, 2, 2, 0.09) 0%, rgba(255, 255, 255, 0.09) 100%);
    background-image: linear-gradient(to top, rgba(2, 2, 2, 0.09) 0%, rgba(255, 255, 255, 0.09) 100%);
    border: 1px solid #00317a;
    text-shadow: 0.5px 0.9px 0 rgba(2, 2, 2, 0.75);
    color: #fff;
}
a.button.blue:hover,
button.blue:hover {
    background-color: #1b6cd8;
    background-image: -webkit-linear-gradient(bottom, rgba(255, 255, 255, 0.09) 0%, rgba(2, 2, 2, 0.09) 100%);
    background-image: linear-gradient(to top, rgba(255, 255, 255, 0.09) 0%, rgba(2, 2, 2, 0.09) 100%);
}
a.button.green,
button.green {
    background: #299a0b;
    background: -moz-linear-gradient(top, #299a0b 0%, #09752f 100%);
    background: -webkit-linear-gradient(top, #299a0b 0%,#09752f 100%);
    background: linear-gradient(to bottom, #299a0b 0%,#09752f 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#299a0b', endColorstr='#09752f',GradientType=0 );
    border: 1px solid #299a0b;
    text-shadow: 0.5px 0.9px 0 rgba(2, 2, 2, 0.75);
    color: #fff;
}
a.button.green:hover,
button.green:hover {
    background: #09752f;
    background: -moz-linear-gradient(top, #09752f 0%, #299a0b 100%);
    background: -webkit-linear-gradient(top, #09752f 0%,#299a0b 100%);
    background: linear-gradient(to bottom, #09752f 0%,#299a0b 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#09752f', endColorstr='#299a0b',GradientType=0 );
}
a.button.medium,
button.medium {
    padding: 0 17px;
    height: 54px;
    font-size: 18px;
    font-weight: 700;
    line-height: 54px;
}
button.small,
a.button.small {
    height: 30px;
    line-height: 30px;
    font-weight: 700;
    font-size: 14px;
    padding: 0 10px;
}
a.button.small.view {
    float: left;
    clear: both;
    margin-top: 10px;
    font-size: 11px;
    text-decoration: none;
}
.mainSearch button {
    float: right;
}
.mainSearch button.blue {
    margin: 0 0 0 20px;
    line-height: 18px;
    padding: 7px 17px;
}
button[disabled],
button[disabled=disabled] {
    background: #e9e9e9 !important;
    border: 1px solid #e9e9e9 !important;
    color: gray !important;
    cursor: not-allowed;
}

/**
    file upload
                **/

div.fileUpload {
    float: left;
    width: 376px;
}
div.fileUpload input[type=text] {
    border-right: 0;
    display: block;
    float: left;
    width: -moz-calc(100% - 105px);
    width: -webkit-calc(100% - 105px);
    width: calc(100% - 105px);
}
div.fileUpload button {
    background-color: #f7d408;
    background-image: -webkit-linear-gradient(bottom, rgba(2, 2, 2, 0.09) 0%, rgba(255, 255, 255, 0.09) 100%);
    background-image: linear-gradient(to top, rgba(2, 2, 2, 0.09) 0%, rgba(255, 255, 255, 0.09) 100%);
    border: 1px solid #f7c208;
    color: #000;
    margin: 0 0 0 5px;
    float: left;
    width: 100px;
    height: 34px;
    border-radius: 3px;
    font-weight: bold;
    padding: 0;
}

div.fileUpload button[disabled] {
    opacity: 0.5;
    cursor: default!important;
}
div.fileUpload button[disabled]:hover {
    background: #595a5a;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzU5NWE1YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM0MTQxNDEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #595a5a 0%, #414141 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#595a5a), color-stop(100%,#414141));
    background: -webkit-linear-gradient(top,  #595a5a 0%,#414141 100%);
    background: -o-linear-gradient(top,  #595a5a 0%,#414141 100%);
    background: -ms-linear-gradient(top,  #595a5a 0%,#414141 100%);
    background: linear-gradient(to bottom,  #595a5a 0%,#414141 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#595a5a', endColorstr='#414141',GradientType=0 );
}

/**
    select
            **/

div.select {
    position: relative;
    height: 30px;
    width: 300px;
    margin: 0;
    float:  left;
}
div.fullwidth div.select {
    width: 100%;
}
div.select button {
    border-radius: 0;
    width: 100%;
    border: 1px solid #d1d1d1;
    margin: 0;
    padding: 0 25px 0 10px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    height: 34px;
    line-height: 32px;
    text-transform: none !important;
    float:  none;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    position: relative;
    overflow: hidden;
}
div.select button:after {
    color: #5F72B7;
    font-size: 20px;
    position: absolute;
    top: 6px;
    right: 6px;
}

/*
div.select button:focus,
div.select button:hover,
div.select button.active {
    background: #fff url(../pic/formstyle/bg_select_hover.png) no-repeat top right;
    border: 1px solid #1bbc9d !important;
}*/
div.selectContainer {
    width: 100%;
    border: 1px solid #d1d1d1;
    position: absolute;
    left: 0;
    top: 33px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background-color: #fff;
    z-index: 100;
}
div.selectContainer ul {
    width: inherit;
    max-height: 245px!important;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
}
.selectContainer li {
    padding: 7px 0;
    border-bottom: 1px solid #d1d1d1;
    list-style: none;
    /*float: left;*/
    width: inherit;
    vertical-align: middle !important;
    font-size: 16px;
    color: #818181;
}
.selectContainer li.group {
    color: #555555;
    font-weight: bold;
    background-color: #f2f2f2;
    cursor: default;
    padding: 6px 10px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.selectContainer li:last-child {
    border: 0;
}
.selectContainer li.item {
    float: none;
    margin: 0;
}
.selectContainer .search {
    width: auto;
    background: #0098ab;
    padding: 0 9px 5px 9px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.selectContainer .search input[type=text] {
    margin: 6px 0 0 0 !important;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    background: #fff url(../pic/formstyle/bg_search.gif) no-repeat 0 0;
    padding: 2px 5px 3px 25px;
    font: 12px Arial;
    width: 100%;
    color: #000;
    float: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.selectContainer .search a {
    font-weight: bold;
    text-decoration: none;
    padding-left: 18px;
    background: transparent url(../pic/formstyle/filter.png) no-repeat 0 3px;
    color: #fff;
    display: inline-block;
    margin: 5px 10px 0 0;
}
.selectContainer .search a.none { background-position: 0 -12px }
.selectContainer .search a.change { background-position: 0 -27px }

.selectContainer li img {
    float: right;
    margin: 5px 10px;
}
.selectContainer span {
    font: 11px Arial;
    color: #555;
    font-style: italic;
    padding-left: 10px;
}

/**
    checkbox + multiselect checkbox
                                    **/

.selectContainer li label {
    color: #000;
}
.selectContainer li label {
    padding: 0 9px !important;
    clear: none !important;
    float: none;
    text-align: left;
    width: auto !important;
    line-height: normal !important;
    display: inline-block !important;
}
label.checkbox,
label.radio {
    display: inline-block;
    width: auto !important;
}
.selectContainer li {
    cursor: pointer;
}
.selectContainer li:hover {
    background-color: #ededed;
}
.selectContainer li:hover label {
    color: #000 !important;
}
.selectContainer li.group:hover {

}
label.checkbox,
label.radio {
    padding: 10px 0 0 0;
    line-height: 27px !important;
}

/*
.selectContainer li:hover i,
label.checkbox:hover i {
    background-position: 0 -56px;
}*/
.selectContainer li.selected {
    background-color: #000;
    color: #fff !important;
}

.selectContainer li.selected label {
    color: #fff !important;
}
.selectContainer li.selected i,
label.checkbox.selected i {
    background-position: 0 0;
}/*
.selectContainer li.selected:hover i,
label.checkbox.selected:hover i {
    background-position: 0 -14px;
}*/
.selectContainer li.disabled {
    background-color: #fafafa;
    color: #9a9a9a;
    cursor: default;
}
.selectContainer li.disabled label {
    cursor: default;
}
div.select .selectContainer li.disabled i,
label.checkbox.disabled i                           { background-position: 0 -70px }
div.select .selectContainer li.disabled:hover i,
label.checkbox.disabled i                           { background-position: 0 -70px }

div.select .selectContainer li.disabled.selected i,
label.checkbox.disabled.selected i       { background-position: 0 -28px }
div.select .selectContainer li.disabled.selected:hover i,
label.checkbox.disabled.selected:hover i { background-position: 0 -28px }

label.checkbox.disabled { cursor: default }


input[type=image] {
    margin: 0 auto;
    width: 150px;
    height: 52px;
    padding: 0;
    border: 0;
    float: none;
}
.mainSearchSelects label {
    width: 90px;
    line-height: 34px;
}
.mainSearchSelects .select {
    width: -moz-calc(100% - 90px);
    width: -webkit-calc(100% - 90px);
    width: calc(100% - 90px);
}
label.helpLabel em {
    cursor: help;
    /*border-bottom: 1px dashed #fff;*/
    font-style: normal;
}
label.helpLabel.multiline em { border: 0 }
.form-item.capt input {
    width: 188px;
}
.ratingItem a.button {
    margin: 5px 0 10px 0;
    clear: both;
    display: inline-block;
    padding: 0 10px;
}

.favouriteListItem .checkbox {
    padding-left: 0;
}

.favouriteListItem .checkbox label::before,
body.iframe .checkbox label::before { border: 1px solid #1a96d8 }

body.iframe .checkbox label::after {
    top: 0;
    left: -1px;
}

.favouriteListItem .form-item {
    float: left;
    width: 40px;
    padding-top: 27px;
}
.favouriteListItem img {
    float: left;
    margin-right: 10px;
}

.form-item > em {
    display: inline-block;
    float: left;
    line-height: 34px;
    font-style: normal;
    font-size: 16px;
    color: #fff;
    padding-right: 5px;
}
.form-item .smallSelect {
    float: left;
    width: 60px;
    height: 34px;
    margin-right: 10px;
}
.form-item .smallSelect div.select {
    height: 30px;
    width: 100%;
}
.form-item input.phone {
    width: 207px;
}
a.button.mb20 { margin-bottom: 40px }

ul.ui-autocomplete {
    border: 1px solid #d1d1d1;
    background-color: #fff;
    max-height: 245px !important;
    overflow-x: hidden;
    overflow-y: auto;
    width: 200px;
    z-index: 100;
}
ul.ui-autocomplete li {
    padding: 5px 10px;
    border-bottom: 1px solid #d1d1d1;
    list-style: none;
    /*float: left;*/
    width: inherit;
    vertical-align: middle !important;
    font-size: 14px;
    color: #818181;
    cursor: pointer;
}
ul.ui-autocomplete li:hover {
    background-color: #ededed;
}
.searchBar .block {
    padding: 0 10px !important;
}
.searchBar label {
    font-size: 12px;
    line-height: normal;
}
.searchBar .select {
    width: 100%;
    margin-bottom: 10px;
    height: 25px;
}
.searchBar .select button {
    font-size: 12px;
    height: 25px;
    line-height: 25px;
}
div.select button:after {
    color: #5F72B7;
    font-size: 16px;
    position: absolute;
    top: 3px;
    right: 3px;
}
.searchBar h3 {
    margin: 10px 0;
}
.searchBar .checkbox, .searchBar .radio {
    padding: 0 0 0 0 !important;
    clear: both;
    width: 100%;
    height: 30px;
}
.searchBar .checkbox label,
.searchBar .radio label {
    padding: 0 0 0 24px;
}
.searchBar .checkbox label::before {
    width: 16px;
    height: 16px;
    left: 0;
    margin-left: 0;
    background: #fff;
    border: 1px solid #5F72B7;
}