.calendar-g .form-control {
  background: url(../img/form/calendar-g.png) no-repeat left 10px center;
  padding-left: 50px;
}

.home .calendar-g .form-control{
  padding-left: 42px;
  padding-top: 9px; 
}


.marker-g .form-control {
  background: url(../img/form/marker-g.png) no-repeat left 10px center;
  padding-left: 50px;
}

.person-g .form-control {
  background: url(../img/form/person-g.png) no-repeat left 10px center;
  padding-left: 50px;
}

.home .person-g .form-control{
  padding-left: 42px;
  padding-top: 9px;
}

.phone-g .form-control {
  background: url(../img/form/phone-g.png) no-repeat left 10px center;
  background-color: white;
  padding-left: 50px;
}

.jmeno-g .form-control {
  background: url(../img/form/user-g.png) no-repeat left 13px center;
  padding-left: 50px;
}

.prijmeni-g .form-control {
  background: url(../img/form/user-g.png) no-repeat left 13px center;
  padding-left: 50px;
}

.b_form .sex-g .form-control.bootstrap-select .btn{
  padding-left: 0px;
  background-color: #FFF;
  box-shadow: none;
}

.sex-g .filter-option {
  background: url(../img/form/user-g.png) no-repeat left 8px center;
}

.b_form .checker, 
.b_form .checker span, 
.b_form .checker input {
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 4px;
  border: none;
  box-shadow: none;
}

.b_form .checker span {
  border: 1px solid #e7e7e7;
}

.b_form .checker span::after {
  width: 16px;
  height: 16px;
  font-size: 17px;
  top: -1px;
  left: -2px;
}

.b_form .form-group.input_error .checker span {
  border-color: red !important;
}

.b_form .checkbox label {
  padding-left: 26px;
  margin-left: 0;
  margin-bottom: 0;
}

.b_form .checkbox label a {
  color: #4a90e2;
  text-decoration: underline;
}

.input_error input,
.input_error textarea,
.input_error div.bootstrap-select,
.input_error div.cke_1
{
  border-color: red !important;
}

input[type=file] {
  padding: 0;
}

.form_error{
  list-style-type: none;
  padding:0;
  margin:0;
  text-align: left;
}

.form_error li{
  font-size:13px;
  color: #d93030;
  margin: 10px 20px 0 20px;
  padding-left: 23px;
  background: url(../img/form/error.png) no-repeat left center;
}

.form-group.disabled span{
  color: #ccc;
  border: 2px solid #ccc;
  cursor: default;

}

.form-group.disabled{
  cursor: default;
  color: #ccc;
}

.form-group.disabled label{
  cursor: default;
  color: #ccc;
}

.daterangepicker .calendar.left{
  border-right: none !important;
  border-radius: 3px 0 0 3px;
  box-shadow: none !important;

}

.daterangepicker .calendar.right{
  border-left: none !important;
  border-radius: 0 3px 3px 0;
  box-shadow: none !important;
}

#daterangepicker_range{
  width: 240px;
  border: 1px solid #ddd;
  margin-left: 8px;
}

#daterangepicker_range div.devider{
  float:left;
  color: #555;
  height: 24px;
  line-height: 24px;
  display: block;
  vertical-align: middle;
  margin: 0 0 5px 0;
  padding: 0 5px 0 5px;
  margin: 5px 0;

  text-align: center;
}

#daterangepicker_start{
  text-align: right;
}

#daterangepicker_start,
#daterangepicker_end{
  width: 110px;
  float:left;
  padding: 0;
  border:none;
  margin: 2px 0;
}


#daterangepicker_start.form-control[disabled],
#daterangepicker_end.form-control[disabled]{
  background-color: white;
}


.daterangepicker_input{
  min-height: 40px;
}


.calendar-table{
  float:left;
}

#daterangepicker_days{
  border: none;
}

#daterangepicker_days .days_select{
  height: 42px;
  width: 80px;
  border: 1px solid #ddd;
}

.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn){
  width: 225px;
  margin-left: 8px;
}

.checkbox_desc{
  margin-left: 26px;
  color: #777;
  font-size: 13px;
}

.search_block.search_city {
  width: 160px;
  float: left;
  font-size: 14px;
}

.form-block {
  width: 1020px;
  background: white;
  border: 1px solid #e6e6e6;
  border-radius: 5px;
  padding: 20px;
  margin: 0 auto;
  box-shadow: 4px 9px 40px #d7d7d7;
}

.form-block .b_form {
  width: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.b_form {
  width: 1020px;
  margin: 0 auto;
  background: white;
  border: 1px solid #e6e6e6;
  border-radius: 5px;
  padding: 30px;
  box-shadow: 1px 1px 3px #e6e6e6;
  
}

.bpopup-page .b_form {

  border: none;
  box-shadow: none;
}

.b_form .pov {
  color: #ec9100;
  font-size: 18px;
  display: inline-block;
  line-height: 10px;
  position: relative;
  top: 8px;
  vertical-align: top;
}

.b_form .search_city_label {
  width: 100px;
  font-weight: normal;
  float: left;
  line-height: 32px;
  margin-right: 8px;
  margin-left: 0;
  color: #333333;
  font-size: 12px;
}

.b_form .search_city_label .btn-blue {
  display: block;
  height: 32px;
  padding: 0 20px;
  margin-right: 0;
  font-weight: normal;
  box-shadow: 0 0 12px #f7f7f7 inset;
  line-height: 30px;
  width: auto;
}

.b_form .search_block .select2-container--default .select2-selection--single {
  box-shadow: 1px 1px 2px #e6e6e6 inset;
  height: 32px;
}

.b_form .search_block .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 32px;
}

.b_form .search_block .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 32px;
}

.b_form .search_block .select2-container .select2-selection--single
{
  padding: 0 10px;
}

.help {
  display: inline;
  position: relative;
}

.help .help-btn {
  border-radius: 50%;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  display: inline-block;
  color: white;
  background-color: #4a98e2;
  font-size: 13px;
  cursor: pointer;
  margin-left: 5px;
}

.help .help-txt {
  display: none;
  position: absolute;
  bottom: 28px;
  left: 0;
  border-radius: 5px;
  border: 1px solid #cccccc;
  background: #f2f2f2;
  padding: 12px 20px;
  width: 400px;
  font-size: 12px;
  color: #333333;
  z-index: 10;
}

.help .help-txt .help-txt-label {
  color: #7fae31;
  font-family: roboto-bold;  
}

.help .help-txt:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 10px;
  height: 10px;
  width: 10px;
  background: #f2f2f2;
  transform: rotate(45deg) translate(-50%);
  border-bottom: inherit;
  border-right: inherit;
  box-shadow: inherit;

}

.b_form .panel-heading {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 30px;

}  

.b_form.no_heading .panel-heading {
  display: none;
}

.b_form .panel-heading h5{
  font-size: 30px;
  font-family: 'Sagona-SemiBold';
}

.b_form label {
  color: #839095;
  font-size: 14px;
  margin-left: 0;
  margin-bottom: 5px;
  position: relative;
  line-height: 17px;
}

.setting_bg .b_form .pov{
  font-size: 18px;
}

.block_title{
  color: #4a98e2;
  font-size: 16px;
  margin-bottom: 11px;
}

.block_title.second_row{
  margin-top: 35px;
}

.form-group {
  margin-bottom: 10px;
}

.form-group.files {
  margin-bottom: 0;
}

.form-group.grid3 {
  width: 33%;
  display: inline-block;
}

.b_form .sublabel{
  color: #666666;
  font-size: 13px;
  margin-left: 0px;
  margin-top: -8px;
  margin-bottom: 12px;
  line-height: 1.3;
  /*max-width: 60%;*/
  font-family: roboto-regular;
}

.b_form label.admin {
  font-family: roboto-bold;
  color: #d93030;
}

.b_form .form-control {
  height: 34px;
  border: 2px solid #eee;
  font-size: 14px;
  background-color: white;
  border-radius: 0;
}

legend.blue-line {
  border-bottom: 3px solid #3299e3;
  padding-top: 28px;
}

.b_form .grid2, .login .grid2, .b_form .form-group.grid2 {
  width: calc(50% - 10px);
  float:left;

}

.b_form .form-linegroup .grid2:first-child, .login .grid2:first-child {
  margin-right: 20px;
}

.b_form .form-linegroup {
  width: 100%;
}

.b_form .form-linegroup:after {
  content: "";
  display: block;
  clear: both;
  float: none;
}

.b_form .form-linegroup .form-group {
  display: inline-block;
  vertical-align: top;
}

.b_form .checkbox {
  margin: 0;
  /*height: 32px;*/
}

.b_form .text-right {
  text-align: center;
}

.setting .btn.btn-submit{
  text-align: center;
  margin: 0px auto;
  display: block;
}

.b_form .email {
  background: url(../img/form/mail.png) no-repeat left 12px center;
  padding-left: 50px;
}

.b_form .select2-container .select2-selection--single {
  height: 34px;
  border: 2px solid #eee;
  box-shadow: none;
  padding: 0 10px; /* zmena MP 17.8.17 - z 50 na 16. je 50 potřeba? vetčinou je to 16 - user - register,setting */
  border-radius: 0;
}

.b_form .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 34px;
}

.b_form .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 32px;
  padding: 0;
}

.b_form .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  padding: 0 10px;
}

.b_form .select2-container--default .select2-search--inline .select2-search__field {
  line-height: 30px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow:after,
.caret:after{
  font-size: 25px;
  color: #4a98e2;
  top: 20%;
}


.b_form .select2-container--default .select2-selection__choice {
  border: none;
  /*background: url(../img/form/label-delete.png) no-repeat right center;*/
  background-color: #4a98e2;
  padding-right: 35px;
  color: white;
  font-size: 15px;
  position: relative;
  height: 29px;
  margin-top: 10px;
  margin-right: 10px;
  line-height: 26px;
}

.b_form .select2-container--default .select2-selection__choice__remove {
  position: absolute;
  right: -2px;
  top: 0;
  color: white;
  font-size: 25px;
  line-height: 29px;
  width: 30px;
  height: 29px;
  border-radius: 0 5px 5px 0;
  background-color: #7bb4ea;
  text-align: center;
}

.b_form .form-control.bootstrap-select {
  padding: 5px;
}

.b_form .form-control.bootstrap-select .btn {
  border: none;
  height: 22px;
  line-height: 1.5;
  font-size: 12px;
  padding: 0;
  padding-left: 15px;
}

.filter-option.pull-left{
  font-size: 14px;
  color: #839095;
}

.search_block.search_distance {
  margin-left: 8px;
  width: 85px;
  float: left;
  font-size: 12px;
}

.select2-container {
  font-size: 14px !important;
}

input::placeholder {
  color: #5b6470;
  font-family: Helvetica;
}

.or-line {
  border-top: 1px solid #e3e4e6;
  height: 40px;
  margin: 40px auto 0;
  position: relative;
  width: 100%;
}

.or {
  height: 40px;
  background-color: white;
  position: absolute;
  line-height: 40px;
  left: calc(50% - 32px);
  top: -21px;
  width: 65px;
  z-index: 1;
  color: #323232;
  font-size: 16px;
  font-family: roboto-medium;
  text-align: center;
}

.popup-help {
  border: 1px solid grey;
  background: white;
  width: 300px;
  font-size: 12px;
  color: grey;
  position: absolute;
  right: -310px;
  padding: 5px;
  top: 36px;
  display: none;
}

/*
* -----------------
* DEMAND FORM
* -----------------
*/


.form-demand .buttons {
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;  
}

.form-demand .buttons .btn {
  margin-right: 20px;
  width: 100px;
  display: inline-block;
}

body.demand_ae .b_form .select2-container .select2-selection--single{
  padding: 0;
  border-radius: 15px;
  height: 52px;
  border: 1px solid #cccccc;
}

body.demand_ae .b_form .select2-container--default .select2-selection--single .select2-selection__arrow{
  height: 50px;
}

body.demand_ae .standard .select2-search--dropdown .select2-search__field{
}

body.demand_ae .b_form .select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height: 52px;
}

body.demand_ae .b_form .select2-container.select2-container--open .select2-selection--single{
  border-radius: 15px 15px 0 0;
}

body.demand_ae .b_form .select2-container--default .select2-selection--single .select2-selection__rendered{
  padding-left: 15px;
  /*background: url(../img/form/marker-g.png) no-repeat left 8px center;*/
  font-size: 15px;
  font-family: roboto-regular;
  text-transform: none;
}



body.demand_ae .select2-search__field,
body.demand_ae .bootstrap-select.btn-group .btn .filter-option
{
  color: #333333;
  font-size: 16px;
  font-family: roboto-regular;
  text-transform: none;
}

body.demand_ae.add .bootstrap-select.btn-group .btn.no_selected .filter-option{
  font-size: 15px;
  font-family: roboto-italic;
  color: #7fae31;
}

body.demand_ae .bootstrap-select.btn-group .btn.changed .filter-option{
  color: #333333;
  font-size: 15px;
  font-family: roboto-regular;
  text-transform: none;
}

body.demand_ae .bootstrap-select.btn-group .btn .filter-option{
  padding-top: 5px;
}

body.demand_ae .btn.btn-primary.btn-submit{
  max-width: 450px;
  width: 100%;
  margin-top: 45px;
  margin-bottom: 45px;
}

body.demand_ae .step2_buttons #submit-back.btn.btn-primary.btn-submit{
  margin-top: 45px;
  margin-bottom: 10px;
}

body.demand_ae .step2_buttons #submit-confirm.btn.btn-primary.btn-submit{
  margin-top: 10px;
  margin-bottom: 45px;
}

.b_form.form-demand {
  border: none;
  box-shadow: none;
  background: none;
  width: 100%;
  padding: 0;
}

.b_form.form-demand textarea {
  resize: none;
}

.b_form.form-demand #b_description,
.b_form.form-demand #final_description {
  height: 200px;
}

.b_form.form-demand .team-member-desc textarea {
  height: 100px;
  width: calc(100% - 30px);
}

.b_form.form-demand .team_member_row {
  position: relative;
}

.b_form.form-demand .team_member_row .remove_service {
  position: absolute;
  top: 30px;
  right: 0;
}

.b_form.form-demand .team_member_row .remove_service .fa.fa-remove{
  color: #FFF;
  background-color: #ea9c9c;
  border-radius: 100%;
  width: 16px;
  height: 16px;
  line-height: 15px;
  text-align: center;
  font-size: 9px;
}

.b_form.form-demand .remove_service {
  float:left;
  margin-left: 10px;
  text-decoration: underline;
  cursor: pointer;
}

.b_form.form-demand .add_service {
  color: #4a98e2;
  line-height: 20px;
  text-decoration: none;
  cursor: pointer;
}

.b_form.form-demand #profits .add_service {
  margin-bottom: 20px;
}

.b_form.form-demand .add_service .fa.fa-plus {
  margin-right: 8px;
  font-size: 16px;
  position: relative;
  top: 1px;
}

form.form-demand .cke_bottom {
  display: none;
}

form.form-demand .cke_contents {
  border: none;
}

form.form-demand .cke_top {
  background-color: #f5f5f5;
}

form.form-demand .nolabel {
  margin-top: 25px;
}

.b_form.form-demand .services-check {
  margin-top: 20px;
  margin-bottom: 20px;
}

form.form-demand .demand-terms {
  margin-top: 20px;
}

form.form-demand .demand-terms .form-group {
  margin-top: 20px;
  margin-left: 220px;
}

form.form-demand #services .form-group {
  border-radius: 5px;
  border: 1px solid #e6e6e6;
  padding: 12px 20px;
}

form.form-demand #services .form-group .checkbox_desc {
  margin-left: 38px;
}

form.form-demand #photos label,
form.form-demand .files label
{
  font-size: 15px;
  font-family: roboto-bold;
  color: #333333;
  margin-left: 0;
  margin-bottom: 0;
}

form.form-demand #photos label.sublabel,
form.form-demand .files label.sublabel{
  font-family: roboto-regular;
  display:block;
  margin-bottom: 5px;
}

form.form-demand #photos div.file-block,
form.form-demand .files div.file-block{
  float: left;
  /*width: 70px;*/
  margin-right: 10px;
  margin-bottom: 5px;
}

form.form-demand #photos div.file-block .form-group,
form.form-demand #photos div.file-block .form-group .checkbox,
form.form-demand .files div.file-block .form-group,
form.form-demand .files div.file-block .form-group .checkbox,
{
  width: 24px;
  margin: 8px auto
}

form.form-demand #photos div.photo,
form.form-demand .files div.photo{
  border-radius: 5px;
  position:relative;
  /*width: 70px;*/
  min-width: 60px;
  height: 100px;
}

form.form-demand #photos div.photo img,
form.form-demand .files div.photo img{
  /*width: 70px*/
  min-width: 60px;
  height: 100px;
}

form.form-demand #photos div.photo.pdf,
form.form-demand .files div.photo.pdf{
  /*background: white url(../img/form/pdf.png) no-repeat center center;*/
  border: 1px solid #cccccc;
}

form.form-demand #photos div.photo.pdf.white,
form.form-demand .files div.photo.pdf.white{
  background: white;
}

form.form-demand #photos div.photo.pdf img,
form.form-demand .files div.photo.pdf img{
  padding: 11px 16px;
}

form.form-demand #photos div.photo span.pripona,
form.form-demand .files div.photo span.pripona,
.template .file-count,
.user-demand-list .file-count,
.rating_block .file-count{
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: #4a98e2;
  width: 56px;
  font-size: 13px;
  font-family: Tahoma;
  font-weight: bold;
  color: white;
  text-align: center;
  padding-right: 10px;
  text-transform: uppercase;
}

form.form-demand #photos div.photo span.pripona a,
form.form-demand .files div.photo span.pripona a{
  position: absolute;
  color: white;
  right: 3px;
  top: 0;
  font-size: 10px;
  font-weight: normal;
}

form.form-demand #photos div.photo input,
form.form-demand .files div.photo input{
  display: none;
}

form.form-demand #photos div.photo.add-photo,
form.form-demand .files div.photo.add-photo{
  box-shadow: 0 1px 3px #e6e6e6;
  background: white;
  border: 1px solid #cccccc;
  margin-top: 42px;
  width: 70px;
}

form.form-demand #photos .add-photo a {
  display: block;
}

form.form-demand #photos .add-photo a span,
form.form-demand .files .add-photo a span{
  border-radius: 50%;
  display: block;
  border: 1px solid #3299e3;
  color: #3299e3;
  font-size: 46px;
  text-align: center;
  margin: 11px;
  height: 46px;
  line-height: 42px;
}

form.form-demand #photos #uploader .plupload_filelist_header,
form.form-demand #photos #uploader .plupload_scroll .plupload_filelist,
form.form-demand #photos #uploader .plupload_start,
form.form-demand #photos #uploader .plupload_file_action,
form.form-demand #photos #uploader .plupload_file_status,
form.form-demand #photos #uploader .plupload_file_size,

form.form-demand .files  .plupload_filelist_header,
form.form-demand .files  .plupload_scroll .plupload_filelist,
form.form-demand .files  .plupload_start,
form.form-demand .files  .plupload_file_action,
form.form-demand .files  .plupload_file_status,
form.form-demand .files  .plupload_file_size{
  display: none;
}

form.form-demand #photos #uploader .plupload_filelist_footer,
form.form-demand .files  .plupload_filelist_footer {
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

form.form-demand #photos #uploader .plupload_button span,
form.form-demand .files  .plupload_button span{
  border-radius: 50%;
  display: block;
  color: #4a98e2;
  font-size: 45px;
  text-align: center;
  margin: 11px;
  height: 76px;
  line-height: 76px;
  width: 76px;
}

form.form-demand #photos #uploader .plupload_buttons .pl_description,
form.form-demand .files  .plupload_buttons .pl_description{
  color: #4a98e2;
  width: 100px;
  font-size: 13px;
  text-align: center;
  margin-top: 3px;
}



form.form-demand #photos #uploader .plupload_filelist_footer .plupload_upload_status,
form.form-demand .files  .plupload_filelist_footer .plupload_upload_status
{
  display: none !important;
}

form.form-demand #photos #uploader .plupload_filelist_footer .plupload_progress_bar,
form.form-demand .files  .plupload_filelist_footer .plupload_progress_bar{
  background: url(../img/spinner.gif) no-repeat;
  background-size: 80px 20px;
  height: 20px;
}

form.form-demand #photos #uploader .plupload_filelist_footer .plupload_progress_container, 
form.form-demand .files  .plupload_filelist_footer .plupload_progress_container{
  background: none !important;
  margin-top: 65px;
}

form.form-demand #photos #uploader .plupload_button,
form.form-demand .files  .plupload_button{
  box-shadow: 0 1px 3px #e6e6e6;
  background: white;
  border: 1px solid #e7e7e7;
  width: 100px;  
  height: 100px;
  padding: 0;
}

form.form-demand .demand-terms label {
  font-size: 13px;
  color: #333333;
  font-family: roboto-regular;
}

form.form-demand .demand-terms label a {
  color: #3299e3;
  text-decoration: underline;
}

form.form-demand .checkbox {
  margin: 10px 0;
}

form.form-demand .form-control.demand-name {
  height: 50px;
  font-size: 16px;
  /*background: white url(../img/form/type-in.png) no-repeat left 10px center;*/
  /*padding: 0 0px;*/
  padding: 7px 15px;
}

form .demand-psc .select2-container .select2-selection--single {
  background: white url(../img/form/where.png) no-repeat left 12px center;
  padding: 0 50px;
}

form .demand-category .form-control .btn {
  background: white url(../img/form/category.png) no-repeat left 10px center;
  padding-left: 50px;
}

form .demand-subcategory .form-control .btn {
  background: white url(../img/form/subcategory.png) no-repeat left 5px center;
  padding-left: 50px;
}

.b_form.form-demand .daterange > input.form-control {
  background: white url(../img/form/calendar2.png) no-repeat left 10px top 5px;
  padding-left: 50px;
}

.b_form.form-demand .daterange > input.form-control::placeholder {
  color: #333333;
  font-family: roboto-regular;
}

form.form-demand .length .btn {
  /*background: white url(../img/form/clock-picker2.png) no-repeat left 5px center;
  padding-left: 50px;*/
}

form.form-demand .price {
  font-size: 18px;
  text-align: right;
  padding-right: 60px;
}

form.form-demand .input_currency {
  position: absolute;
  right: 0;
  top: 52px;
  width: 50px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-size: 18px;
  color: #808080;
  border-left: 1px solid #e6e6e6;
}

form.form-demand .demand-template input::placeholder {
  font-style: italic;
  font-size: 18px;
  font-family: roboto-regular;
}

form.form-demand input.demand-name::placeholder
{
  font-size: 15px;
  font-family: roboto-italic;
  color: #7fae31;
}

form.form-demand .services-check #uniform-is_services {
  display: none;
}

form.form-demand .services-check .services-show,
form.form-demand .services-check .services-hide {
  margin-right: 20px;
  margin-left: -20px;
  font-size: 20px;
  position: relative;
  top: 2px;
}

#popup.add-photos,
#popup2.add-photos{
  max-width: 520px;
  width: 100%;
  height: 315px;
}

#popup.add-photos iframe,
#popup2.add-photos iframe{
  max-width: 520px;
  height: 315px;
}

input:focus, 
textarea:focus,
.focused,
.select2-container--default.select2-container--focus .select2-selection--multiple
{
  border-color: #4488f7 !important;
}

.select2-container--default .select2-selection--multiple{
  border-radius: 15px;
}


.select2-container--default .select2-selection--multiple,
.select2-dropdown{
  border: 1px solid #ddd;
  box-shadow: none !important;

}

.demand_ae .cke,
.demand_ae .cke_inner,
.demand_ae .cke iframe,
.demand_ae form.form-demand .cke_contents{
  border-radius: 0 0 15px 15px !important;
}

.demand_ae .inner_bg{
  background-color: #FFF;
  width: 100%;
  position: relative;
}

.demand_ae .b_form{
  width: 100%;
  padding: 30px 0;

}

.demand_ae .b_form .b_form_content{
  width: 1020px;
  margin: 0px auto;
  padding: 1px 30px 15px;

}

.demand_ae .b_form .b_form_content.trans{
  padding: 1px 30px 20px;

}

.demand_ae .inner_bg .b_form_content{
  padding: 1px 30px 15px;
}








/*
* -----------------
* DEMAND FORM KONEC
* -----------------
*/

.demand-approve-form {
  min-width: 520px;
}

.b_form.archiv-filter,
.b_form.payments-filter {
  padding: 0;
  width: 150px;
  border: none;
  position: absolute;
  right:0;
  top: 40px;
  box-shadow: 1px 2px 3px rgba(0,0,0,0.08);
}

.b_form.payments-filter2 {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  width: 100%;
  border-top: 1px solid #d9d9d9;
  padding-top: 20px;
  padding-bottom: 60px;
}

.b_form.archiv-filter .panel,
.b_form.payments-filter .panel,
.b_form.payments-filter2 .panel{
  margin: 0;
  border: none;
}

.b_form.archiv-filter .form-group,
.b_form.payments-filter .form-group,
.b_form.payments-filter2 .form-group{
  margin: 0;
}

.b_form.payments-filter2 .form-group {
  height: 40px;
  display: inline-block;
  vertical-align: middle;
}

.b_form.payments-filter2 .form-group:first-child {
  width: 160px;
}

.b_form.payments-filter2 .form-group:nth-child(2) {
  width: 520px;
}

.b_form.payments-filter2 .form-control {
  height: 40px;
}

.b_form.payments-filter2 .form-control.bootstrap-select .btn {
  height: 30px;
  line-height: 1;
}

.b_form.payments-filter {
  width: 220px;
}

.b_form .dateInfo,
.b_form .dateInput {
  border: none;
}

.mobile_only {
  display: none;
}

.header .select2-search--dropdown {
  position: absolute;
  top: -31px;
  background: white;
  margin-right: 30px;
  height: 26px;
  left: 2px;
}

.header .select2-search--dropdown .select2-search__field {
  border: none;
  background: transparent;
}



.standard .select2-search--dropdown {
  position: absolute;
  top: -33px;
  background: white;
  margin-right: 30px;
  height: 30px;
  left: 8px;
  width: 280px;
}

.standard-noicon .select2-search--dropdown .select2-search__field {
  border: none;
  background: transparent;
}

.standard-noicon .select2-search--dropdown {
  position: absolute;
  top: -34px;
  background: white;
  margin-right: 30px;
  height: 30px;
  left: 7px;
  width: 92%;/*MP 8.12.17 - 280px;*/
}

.standard .select2-search--dropdown .select2-search__field {
  border: none;
  background: transparent;
}

.banner .select2-search--dropdown {
  position: absolute;
  top: -40px;
  background: white;
  margin-right: 24px;
  height: 32px;
  left: 15px;
  width: 200px;
}

.banner .select2-search--dropdown .select2-search__field {
  border: none;
  background: transparent;
}

@media (max-width: 1320px) {
  .b_form.archiv-filter {
    right: 10px;
  }
}

@media (max-width: 1020px) {
  .b_form {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .table_basic_info .ver_btns{
    right: 32px;
    left: inherit;
  }

  .table_contact .ver_btn.admin{
    right: 21px;/*32px;*/
  }
}

@media (max-width: 800px) {

  /*
  .b_form .form-group,
  form.form-demand .form-group,
  form.form-demand .form-linegroup,
  form.form-demand .labels_block,
  .b_form {
    width: 100%;
  }*/

  .cke_1, .cke_reset {
    width: calc(100% - 2px) !important;
  }

  .select2-container {
    width: 100% !important;
  }

  .b_form .grid2, .login .grid2, .b_form .form-group.grid2, .b_form .form-group.grid520 {
    width: 100%;
    float: none;
  }

  form.form-demand .demand-terms .form-group {
    margin-left: 0;
  }

  form.form-demand .grid220, form.form-demand .grid320 {
    /*width: 320px; skryto MP 16.10.17 - v demand/add to dělá neplechu */
    float: none;
  }

  .calendar.right .daterangepicker_input {
    min-height: 0;
    height: 0 !important;
  }

  .b_form.archiv-filter {
    position: relative;
    right: auto;
    top: auto;
    margin-bottom: 40px;
  }

  form.form-demand .form-middlegroup {
    width: 100%;
  }
}

@media (max-width: 560px) {

  .popup_warning#add_photos iframe {
    width: 320px;
    height: 355px;
  }



  .login .grid2{
    text-align: center;
  }

  .login .grid2 .checkbox{
    text-align: left;
  }

}

@media (max-width: 580px) {

  .login.form-block #fb_login,
  .login.form-block #google_login{
    width: 100%;
    float:none;
    margin-left: 0 !important;
  }
}

@media (max-width: 360px) {
  .b_form .text-right .btn.btn-submit {
    width: 100%;
  }

  form.form-demand .form-thingroup .form-group {
    width: 100%;
  }

  form.form-demand .grid220, form.form-demand .grid320 {
    width: 100%;
  }

  .b_form .help .help-txt {
    position: absolute;
    left: 0;
    width: 300px;
  }
}

input::-ms-input-placeholder{
  color: #323232 !important;
  font-family: roboto-medium !important;
}

input:-ms-input-placeholder
{
  color: #323232 !important;
  font-family: roboto-medium !important;
}


.b_form.set_poradi{
  text-align: center;
} 
.b_form.set_poradi label{
  margin-left: 0px;
}

.b_form.set_poradi input{
  margin: 0px auto;
} 

.option-strong {
  font-family: roboto-bold;
  font-size: 14px;
  color: #333333;
}

.option-subcategory {
  padding-left: 15px;
}

form.form-demand .form-linegroup.not-logged-submit-wrap {
  margin-top: 30px;
  font-size: 16px;
  color: #333333;
  font-family: roboto-regular; 
  text-align: center;
}

form.form-demand .form-linegroup.not-logged-submit-wrap input {
  border: none;
  color: #3299e3;
  padding: 0;
  margin: 0;
  text-decoration: underline;
  font-family: roboto-regular;
  background: transparent;
}

.b_form .text-right .btn.btn-submit.disbled {
  background: #bbbbbb;
  cursor: default;
}

.b_form .text-right .btn.btn-submit.disbled:hover {
  background: #bbbbbb;
  color: white;
}




.tab_chck_nav a,
.tab_chck_nav span,
.tab_chck_nav input{
  float: left;

}

.dataTable th .tab_chck_nav a,
.tab_chck_nav span{
  padding: 0;
  margin-top: 6px;
}

.tab_chck_nav span{
  margin-left: 5px;
  margin-right: 5px;
}

.tab_chck_nav input{
  font-family: roboto-bold;
  font-size: 13px;
  background: -webkit-linear-gradient( white, #f8f8f8);
  background: -o-linear-gradient( white, #f8f8f8);
  background: -moz-linear-gradient( white, #f8f8f8);
  background: linear-gradient( white, #f8f8f8);
  text-transform: uppercase;
  color: #3299e3;
  border: 1px solid #3299e3;
  border-radius: 3px;
  padding: 0px 15px;
  height: 30px;
  line-height: 20px;
  display: block;
  text-align: center;
  margin-left: 25px;
}


#pair_form .standard-noicon .select2-search--dropdown{
  width: 580px;
}

.b_form .fake-input{
  height: 38px;
  border: 1px solid #dedede;
  /*box-shadow: 1px 1px 2px #e6e6e6 inset;*/
  font-size: 15px;
  border-radius: 10px;
  background-color: white;
}

.b_form .fake-input{
  height: auto;
  max-height: 144px;
  min-height: 48px;
  padding: 12px 12px 10px;
}

.b_form .fake-input.disabled{
  background-color: #EEE;
}

.dropdown-menu > li > a{
  padding: 2px 15px;
}

.dropdown-menu > li{
  margin-bottom: 0px;
}

.f_textarea .input_info{
  margin-top: 10px;
  /* margin-left: 5px;*/
}


.js .inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.inputfile + label {
  max-width: 100%;
  font-size: 15px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  display: inline-block;
  overflow: hidden;
  padding: 7px 12px;
}

.no-js .inputfile + label {
  display: none;
}

.inputfile:focus + label,
.inputfile.has-focus + label {
  outline: 1px dotted #000;
  outline: -webkit-focus-ring-color auto 5px;
}

.inputfile + label * {
  /* pointer-events: none; */
  /* in case of FastClick lib use */
}


/* style 6 */

.inputfile-6 + label {
  color: #FFF;
}

.inputfile-6 + label {
  border: 1px solid #cccccc;
  border-radius: 15px;
  background-color: #FFF;
  padding: 0;
  height: 52px;
  line-height: 39px;
  margin-left: 0px;
  width: 100%;
}

.inputfile-6:focus + label,
.inputfile-6.has-focus + label,
.inputfile-6 + label:hover {
  border-color: #cccccc;
}

.inputfile-6 + label span,
.inputfile-6 + label strong {
  padding: 7px 12px;
  /* 10px 20px */
}

.inputfile-6 + label span {
  width: 65%;;
  display: inline-block;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  vertical-align: top;
  color: #000;
}

.inputfile-6 + label strong {
  height: 100%;
  color: #FFF;
  background-color: #ea951c;
  display: inline-block;
  width: 36%;
  text-align: center;
}

.inputfile-6:focus + label strong,
.inputfile-6.has-focus + label strong,
.inputfile-6 + label:hover strong {
  background-color: #ea951c;
}

@media screen and (max-width: 50em) {
  .inputfile-6 + label strong {
    display: block;
  }
}

.form-control.red-bg {
  background-color: #FFD6CD;
}

.form-control.yellow-bg {
  background-color: #ea951c;
}

.form-control.green-bg {
  background-color: #d0ffcb;
}