* {
  font-family: 'Merriweather Sans', sans-serif;
}

body {
  padding-top: 70px;
  font-weight: 300;
}

b, strong {
  font-weight:400;
}

abbr {
   color:#808080;
}


#editlang li a {
  padding: 15px 22px;
}

/*
.bs-sidebar .nav .nav {
  display: block !important;
}
*/

.formrowheader {
  font-weight: 600;
  text-align: center;
}


.arrows {
  background:url('/img/arrows.png');
  background-position: left center;
  background-repeat: no-repeat;
}

/* sortable */
body.dragging, body.dragging * {
  cursor: move !important;
}

.dragged {
  position: absolute;
  opacity: 0.5;
  z-index: 2000;
  background:none;
}

.floatingpricebutton {
  position: absolute;
  left:-15px;
  top:5px;
  display: none;
}

.floatingeditbutton {
  position: absolute;
  left:-9px;
  top:5px;
  /*display: none;*/
}

.glyphicon-save {
  font-size: 14px;
}

div.remove {
  padding-left: 0;
}

ol.lista li.placeholder {
  position: relative;
  /** More li styles **/
}
ol.lista li.placeholder:before {
  position: absolute;
  /** Define arrowhead **/
  left:46px;
  top:-19px;
  color: red;
  font-weight: bold;
  content: ">";
}

div.popup > .select2-container {
  z-index: 9999;
}

/*
.select2-search.select2-search--inline > input {
  background: none;
}
*/

/*
.select2-search.select2-search--inline {
  z-index: 9999;
}
*/

/* select2 with tags */
/*
.select2-selection.select2-selection--multiple {
  height: 34px;
}

.select2-container .select2-search--inline .select2-search__field {
  margin-top: 1px;
  margin-left: 3px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  height: 28px;
  margin-top: 3px;
}
*/

.select2-results-dept-0 .select2-result-label {
    padding-left: 0px;
}

.select2-results-dept-1 .select2-result-label {
    padding-left: 12px;
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple, .select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid #5897FB;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset, 0px 0px 8px rgba(102, 175, 233, 0.6);
}

.select2-container--default .select2-selection--multiple {
    background-color: #FFF;
    border: 1px solid #CCC;
    border-radius: 4px;
    cursor: text;
    outline: 0px none;
}

.select2-search { /* fix select2 with tags */
  width: auto;
}

.select2-search input {
  padding: 0;
}

.select2-dropdown > .select2-search { /* select2 with dropdown list */
  width: 100%;
}

.select2 .select2-container .select2-container--default {
  width: 100%;
}

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

.select2-selection__rendered {
  line-height: 32px !important;
}

.select2-selection__arrow {
  height: 32px !important;
}

.select2-container--default .select2-selection--single {
  border: 1px solid rgb(204,204,204);
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: rgb(169,169,169) transparent transparent transparent;
}

.inputbg {
  background-repeat : no-repeat;
  background-position : right 5px center;
}

.inputbg:focus {
  background-image : none !important;
}

.inputbg-nohide {
  background-repeat : no-repeat;
  background-position : right 5px center;
}


.editform {
  background-color:rgb(251,252,253) !important;
}



.bs-callout{
  padding:20px;
  margin:20px 0;
  border:1px solid #eee;
  border-left-width:5px;
  border-radius:3px
}

.bs-callout h4{
  margin-top:0;
  margin-bottom:5px;
}

.bs-callout p:last-child{
  margin-bottom:0;
}

.bs-callout code{
  border-radius:3px;
}

.bs-callout+.bs-callout{
  margin-top:-5px;
}

.bs-callout-danger{
  border-left-color:#d9534f;
}

.bs-callout-danger h4{
  color:#d9534f;
}

.bs-callout-warning{
  border-left-color:#f0ad4e;
}

.bs-callout-warning h4{
  color:#f0ad4e;
}

.bs-callout-info{
  border-left-color:#5bc0de;
}

.bs-callout-success{
  border-left-color:#66BB66;
}

.bs-callout-info h4{
  color:#5bc0de;
}

.bs-callout-success h4{
  color:#66BB66;
}



/*
.bs-callout-danger h4 {
  color: #d9534f;
}

.bs-callout-success {
  background-color: #f4faf6;
  border-color: #bcf1c5;
}
.bs-callout-success h4 {
  color: #3aad60;
}
*/
.primary {
  background-color: #3A87AD !important;
}

.primarybadgetext {
  color: #3A87AD !important;
  text-shadow: 0 0 1px #fff;
}

.primarykeyword {
  border-top: 1px dotted #3A87AD;
  border-bottom: 1px dotted #3A87AD;
  color: #3A87AD;
  background-color: rgb(216,231,239);
  text-shadow: 0 0 1px #fff;
  font-weight:400;
}

.success {
  background-color: #468847 !important;
}

.successbadgetext {
  color: #468847 !important;
  text-shadow: 0 0 1px #fff;
}

.successkeyword {
  border-top: 1px dotted #468847;
  border-bottom: 1px dotted #468847;
  color: #468847;
  background-color: rgb(218,231,218);
  text-shadow: 0 0 1px #fff;
  font-weight:400;
}

.danger {
  background-color: #B94A48 !important;
}

.dangerbadgetext {
  color: #B94A48 !important;
  text-shadow: 0 0 1px #fff;
}

.dangerkeyword {
  border-top: 1px dotted #B94A48;
  border-bottom: 1px dotted #B94A48;
  color: #B94A48;
  background-color: rgb(241,219,218);
  text-shadow: 0 0 1px #fff;
  font-weight:400;
}

.warning {
  background-color: #F89406 !important;
}

.warningbadgetext {
  color: #F89406 !important;
  text-shadow: 0 0 1px #fff;
}

.warningkeyword {
  border-top: 1px dotted #F89406;
  border-bottom: 1px dotted #F89406;
  color: #F89406;
  background-color: rgb(254,234,205);
  text-shadow: 0 0 1px #fff;
  font-weight:400;
}

.keywordcount {
  font-weight: 700;
}

.badge, .label {
  font-weight: 400;
}

.badge-text {
  background-color: #fff;
  background-color: rgba(255,255,255,0.8);
  display: inline-block;
  margin-right: -4px;
  margin-left: 2px;
  padding: 2px 8px 2px 4px;
  border-top-right-radius: 9px;
  border-bottom-right-radius: 9px;
}

.tobehidden {
  color: gray;
}

.addedby {
  color:gray;
  font-weight: 300;
}

.atitle {
  font-weight:400;
}

.alead {
  font-weight:400;
}

.langicondropdown {
  margin-top:-5px;
  margin-left:-6px;
}

.asterisk {
  color: red;
  font-weight: bold;
}


.select2-selection__rendered {
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*
.bs-callout {
  margin: 20px 0;
  padding: 15px 30px 15px 15px;
  border-left: 5px solid #eee;
}
.bs-callout h4 {
  margin-top: 0;
}
.bs-callout p:last-child {
  margin-bottom: 0;
}
.bs-callout code,
.bs-callout .highlight {
  background-color: #fff;
}

.bs-callout-danger {
  background-color: #fcf2f2;
  border-color: #dFb5b4;
}
.bs-callout-warning {
  background-color: #fefbed;
  border-color: #f1e7bc;
}
.bs-callout-info {
  background-color: #f0f7fd;
  border-color: #d0e3f0;
}
*/


.bs-example {
  position: relative;
  padding: 45px 15px 15px;
  margin: 0 -15px 15px;
  background-color: #fafafa;
  box-shadow: inset 0 3px 6px rgba(0,0,0,.05);
  border-color: #e5e5e5 #eee #eee;
  border-style: solid;
  border-width: 1px 0;
}

/* Make the examples and snippets not full-width */
@media screen and (min-width: 768px) {
  .bs-example {
    margin-left: 0;
    margin-right: 0;
    background-color: #fff;
    border-width: 1px;
    border-color: #ddd;
    border-radius: 4px 4px 4px 4px;
    box-shadow: none;
  }
}

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  font-size: 16px;
  height: auto;
  padding: 10px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="text"] {
  margin-bottom: -1px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.default {
  height: 25px !important;
}


/*
 * Side navigation
 *
 * Scrollspy and affixed enhanced navigation to highlight sections and secondary
 * sections of docs content.
 */

/* By default it's not affixed in mobile views, so undo that */
.bs-sidebar.affix {
  position: static;
}

/* First level of nav */
.bs-sidenav {
  margin-top: 30px;
  margin-bottom: 30px;
  padding-top:    10px;
  padding-bottom: 10px;
  text-shadow: 0 1px 0 #fff;
  background-color: #f7f5fa;
  border-radius: 5px;
  border: 1px solid #E7E7E7;
}

/* All levels of nav */
.bs-sidebar .nav > li > a {
  display: block;
  color: #716b7a;
  padding: 5px 20px;
}
.bs-sidebar .nav > li > a:hover,
.bs-sidebar .nav > li > a:focus {
  text-decoration: none;
  background-color: #e5e3e9;
  border-right: 1px solid #dbd8e0;
}
.bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a {
  font-weight: bold;
  color: #563d7c;
  background-color: transparent;
  border-right: 1px solid #563d7c;
}

/* Nav: second level (shown on .active) */
.bs-sidebar .nav .nav {
  /*display: none; *//* Hide by default, but at >768px, show it */
  margin-bottom: 8px;
}
.bs-sidebar .nav .nav > li > a {
  padding-top:    3px;
  padding-bottom: 3px;
  padding-left: 30px;
  font-size: 90%;
}

.nav-tabs > li > a {
  background-image: linear-gradient(to bottom, #F8F8F8 0px, #FFF 100%);
  /*background-repeat: repeat-x;*/

  border: 1px dashed #eee;
  border-bottom: 1px solid #ddd;
}

.navbar-fixed-top {
  opacity: 0.97;
  z-index: 2;
}

/*
.modal {
  z-index: 104;
}

.modal-backdrop {
  z-index: 103;
}

.modal-dialog {
  z-index: 105;
}
*/

.modal {
  z-index: 10;
}

.modal-backdrop {
  z-index: 5;
}

.modal-dialog {
  z-index: 10;
}


/* Show and affix the side nav when space allows it */
@media screen and (min-width: 992px) {
  .bs-sidebar .nav > .active > ul {
    display: block;
  }
  /* Widen the fixed sidebar */
  .bs-sidebar.affix,
  .bs-sidebar.affix-bottom {
    width: 213px;
  }
  .bs-sidebar.affix {
    position: fixed; /* Undo the static from mobile first approach */
    top: 80px;
  }
  .bs-sidebar.affix-bottom {
    position: absolute; /* Undo the static from mobile first approach */
  }
  .bs-sidebar.affix-bottom .bs-sidenav,
  .bs-sidebar.affix .bs-sidenav {
    margin-top: 0;
    margin-bottom: 0;
  }
}
@media screen and (min-width: 1200px) {
  /* Widen the fixed sidebar again */
  .bs-sidebar.affix-bottom,
  .bs-sidebar.affix {
    width: 263px;
  }
}

/*File upload error message*/
#sectionpicture.has-error:after{
  content: 'Kérjük megfelelő méretű fájlt töltsön fel!';
  display: flex;
  position: relative;
  justify-content: center;
  color: #c00;
  font-weight: bold;
  padding: 10px 0;
}
