@charset "UTF-8";

#tx_cookies_showPermanent {
    display: none;
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 1040; /* higher than z-index of Bootstrap header */
}
#tx_cookies_inner {
    position: relative;
    padding: 20px 20px 10px 20px;
    text-align: left;
}
.tx_cookies h3 {
    margin: 0;
}
.tx_cookies input[type="checkbox"] {
    float: left;
    margin-right: 3px;
}

.tx_cookies button,
.tx_cookies input[type="submit"] {
    border: 0;
    cursor: pointer;
    padding: 0px 15px;
    font-size: 13px;
    width: 150px;
    height: 45px;
    border-radius: 3px;
}
.tx_cookies #tx_cookies_close {
    position: absolute;
    right: 1px;
    top: 10px;
    z-index: 99;
    color: #000;
    background-color: #fff;
    width: auto;
}

/* ###### COOKIE-BAR 09/2019 ###### */
/* ------ General styles ------ */

@media(min-width: 1480px){
  #tx_cookies{
    display: none;
    background: #ffffff;
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 9999999;
    transform: translate(-50%);
    width: 100%;
    min-height: 190px;
    max-width: 700px;
    margin-left: -350px;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.3);
    -ms-transform: scale(1);
    -ms-transform-origin: top;
    -moz-transform: scale(1);
    -moz-transform-origin: top;
    -o-transform: scale(1);
    -o-transform-origin: top;
    -webkit-transform: scale(1);
    -webkit-transform-origin: top;
    transform: scale(1);
    transform-origin: top;
  }
}

@media(max-width: 1479px){
  #tx_cookies{
    display: none;
    background: #ffffff;
    position: fixed;
    bottom: 0;
    left: 50%;
    z-index: 9999999;
    transform: translate(-50%);
    width: 100%;
    min-height: 190px;
    max-width: 700px;
    margin-left: -350px;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.3);
    -ms-transform: scale(1);
    -ms-transform-origin: top;
    -moz-transform: scale(1);
    -moz-transform-origin: top;
    -o-transform: scale(1);
    -o-transform-origin: top;
    -webkit-transform: scale(1);
    -webkit-transform-origin: top;
    transform: scale(1);
    transform-origin: top;
  }
}

#tx_cookies_inner h3{
  margin-bottom: 15px;
  font-size: 20px;
}

#tx_cookies_inner p{
  margin-bottom: 15px;
}

.tx_cookies .necessary_wrap{
  opacity: 0.6;
}

.tx_cookies .necessary_wrap, .statistics_wrap{
  float: left;
}

.tx_cookies_privacyPolicy a{
  color: #5ba0e2;
}

/* ------ Crate necessary checkbox ------ */

.tx_cookies #necessary_checkbox{
  position: relative;
  float: left;
  height: 20px;
  width: 20px;
  border-radius: 4px;
  border: 2px solid #666;
  display: block;
  background-color: #ababab;
  border-color: #ababab;
}

.tx_cookies #necessary_checkbox:after{
  content: "";
  position: absolute;
  display: block;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  box-sizing: inherit;
}

.tx_cookies .necessary_wrap label, .tx_cookies .statistics_wrap label {
  float: left;
  width: 100px;
  margin: 5px 0 0 5px;
}

.tx_cookies .cookie_buttons {
    text-align: right;
}

#tx_cookies_showPermanent {
    position: fixed;
    top: auto;
    left: auto;
    bottom: 0;
    right: 30px;
    color: #fff;
    border: 2px solid #5ba0e2;
    background-color: #5ba0e2;
    cursor: pointer;
    padding: 0px 15px;
    font-size: 13px;
    width: 180px;
    height: 30px;
}

.tx_cookies .submit_button,
.tx_cookies .submitAll_button{
    display: inline-block;
    vertical-align: bottom;
    color: #fff;
    border: 2px solid #5ba0e2;
    background-color: #5ba0e2;
}

#tx_cookies .submit_button {
    background: #FFF;
    border: 2px solid #5ba0e2;
    color: #308FD9;
    margin-right: 10px;
}

#tx_cookies .submit_button:hover {
    background: #333;
    border: 2px solid #333;
    color: white;
}

#tx_cookies .submitAll_button:hover {
    border-color: #333;
    background: #333;
}

/* ------ Create statistics checkbox ------ */

.statistics_wrap #statistics_checkbox{
  -webkit-appearance: none;
  -moz-appearance:    none;
  appearance:         none;
}

#statistics_checkbox{
  position: relative;
  float: left;
  height: 24px;
  width: 24px;
  border-radius: 4px;
  border: 2px solid #666;
  display: block;
  background-color: #ababab;
  border-color: #ababab;
}

#statistics_checkbox:checked{
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
}

#statistics_checkbox:checked:after{
  content: "";
  position: absolute;
  display: block;
  left: 6px;
  top: 2px;
  width: 7px;
  height: 13px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  box-sizing: inherit;
}

/* ------ Responsiveness ------ */

@media(max-width: 767px){
  #tx_cookies{
    position: fixed;
    background: #ffffff;
    bottom: 0;
    left: 50%;
    z-index: 9999999;
    transform: translate(-50%);
    max-width: 90%;
    margin-left: 0;
  }

    .tx_cookies .checkboxes .necessary_wrap {
        margin-bottom: 15px;
    }

   #tx_cookies .submit_button,
   #tx_cookies .submitAll_button{
        width: 100%;
   }

  #tx_cookies .submit_button{
    clear: both;
    margin-bottom: 15px;
    margin-top: 15px;
  }
}
