
#to-cc-optin {

}

.to-cc-optin-hidden {
  display: none !important;
}

#to-cc-optin-handle {
  position: fixed;
  right: 60px;
  bottom: 0;
  background-color: #333;
  color: #fff;
  border: 0;
  border-radius: 0;
  font-size: 12px;
  padding: 10px;
  z-index: 1000;
  text-decoration: none;
}
#to-cc-optin-handle:hover { background-color: #666; }

#to-cc-optin .to-cc-optin-inner {
  font-size: 14px;
  line-height: 1.2;
}

#to-cc-optin .to-cc-optin-footer button {
  background-color: #333;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
}
#to-cc-optin .to-cc-optin-footer button:hover {
  background-color: #666;
}


/* OPTIN cookie groups */
#to-cc-optin .to-cc-cookie-group-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
}

#to-cc-optin .to-cc-cookie-group-entry {
  margin-left: 20px;
}
#to-cc-optin .to-cc-cookie-group-entry:first-child {
  margin-left: 0;
}

#to-cc-optin .to-cc-cookie-group-entry .to-cc-cookie-group-label {
  padding-left: 5px;
  font-size: 14px;
  line-height: 1.2;
}


/* Top bar / bottom bar */
#to-cc-optin.layout-topbar,
#to-cc-optin.layout-bottombar {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  background: #333;
  color: #fff;
  font-size: 16px;
  z-index: 1000;
}

#to-cc-optin.layout-topbar .to-cc-optin-inner,
#to-cc-optin.layout-bottombar .to-cc-optin-inner {
  display: flex;
  flex-wrap: wrap;
}

#to-cc-optin.layout-topbar .to-cc-optin-header,
#to-cc-optin.layout-bottombar .to-cc-optin-header {
  padding: 5px 10px;
  flex-basis: 100%;
}

#to-cc-optin.layout-topbar .to-cc-optin-body,
#to-cc-optin.layout-bottombar .to-cc-optin-body {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: calc(100vw - 250px);
  padding: 5px 10px;
}

#to-cc-optin.layout-topbar .to-cc-optin-footer,
#to-cc-optin.layout-bottombar .to-cc-optin-footer {
  flex-basis: 250px;
  width: 250px;
  flex-shrink: 0;
  flex-grow: 0;
  padding: 15px 10px;
  text-align: right;
}

#to-cc-optin.layout-topbar .btn-cookie-allow,
#to-cc-optin.layout-bottombar .btn-cookie-allow { margin-bottom: 5px; } 
#to-cc-optin.layout-bottombar { top: auto; bottom: 0; }


/* Bottom right / bottom left */
#to-cc-optin.layout-bottomright,
#to-cc-optin.layout-bottomleft {
  position: fixed;
  left: 20px; bottom: 20px;
  width: 410px;
  max-width: calc(100vw - 40px);
  background: #333;
  color: #fff;
  font-size: 16px;
  z-index: 1000;
}

#to-cc-optin.layout-bottomright .to-cc-optin-header,
#to-cc-optin.layout-bottomleft .to-cc-optin-header {
  padding: 5px 10px;
}

#to-cc-optin.layout-bottomright .to-cc-optin-body,
#to-cc-optin.layout-bottomleft .to-cc-optin-body {
  padding: 5px 10px;
}

#to-cc-optin.layout-bottomright .to-cc-optin-footer,
#to-cc-optin.layout-bottomleft .to-cc-optin-footer {
  padding: 0 10px 15px 10px;
  text-align: center;
}

#to-cc-optin.layout-bottomright .btn-cookie-allow,
#to-cc-optin.layout-bottomleft .btn-cookie-allow{ margin-bottom: 5px; } 

#to-cc-optin.layout-bottomright {
  left: auto; right: 20px;
}


/* Modal */
#to-cc-optin.layout-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 1000;
  background-color: rgba(255,255,255, .9);
}
#to-cc-optin.layout-modal .to-cc-optin-inner {
  position: absolute;
  top: 30%;
  left: 5vw;
  width: 90vw;
  background: #fff;
  text-align: center;
  
  -webkit-box-shadow: 2px 2px 5px 3px rgba(0,0,0,0.17);
  -moz-box-shadow: 2px 2px 5px 3px rgba(0,0,0,0.17);
  box-shadow: 2px 2px 5px 3px rgba(0,0,0,0.17);
}

#to-cc-optin.layout-modal .to-cc-optin-header {
  background-color: #333;
  color: #fff;
  text-align: left;
  padding: 5px 10px;  
}

#to-cc-optin.layout-modal .to-cc-optin-body { padding: 30px; }

#to-cc-optin.layout-modal .to-cc-optin-footer {
  display: flex;
  justify-content: center;
  padding: 15px 10px;
}

#to-cc-optin.layout-modal .to-cc-optin-footer button {
  display: block;
  margin-right: 20px;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
}
#to-cc-optin.layout-modal .to-cc-optin-footer button:hover {
  background-color: #666;
}

#to-cc-optin.layout-modal .to-cc-optin-footer button:last-child { margin-right: 0; }



/* GMAP blocker */
.cc-gmap-block-container {
  padding: 50px 20px;
  text-align: center;
  background-color: rgba(0,0,0,.3);
}
.cc-gmap-block-container.cc-map-visible {
  padding: 0;
  background-color: transparent;
}

/* YT blocker */
.cc-yt-block-container {
  padding: 50px 20px;
  text-align: center;
  background-color: rgba(0,0,0,.3);
}
.cc-yt-block-container.cc-yt-visible {
  padding: 0;
  background-color: transparent;
}


/*
   ##       ##     #####    #######  ##        
  ##      ####    ##   ##  ##     ## ##    ##  
 ##         ##   ##     ##        ## ##    ##  
##          ##   ##     ##  #######  ##    ##  
 ##         ##   ##     ## ##        ######### 
  ##        ##    ##   ##  ##              ##  
   ##     ######   #####   #########       ##  
*/
@media screen and (max-width: 1024px)
{
  

}



/*
   ##    ########  #######    #####   
  ##     ##    ## ##     ##  ##   ##  
 ##          ##   ##     ## ##     ## 
##          ##     #######  ##     ## 
 ##        ##     ##     ## ##     ## 
  ##       ##     ##     ##  ##   ##  
   ##      ##      #######    #####   
*/
@media screen and (max-width: 780px)
{
  #to-cc-optin.layout-topbar .to-cc-optin-inner,
  #to-cc-optin.layout-bottombar .to-cc-optin-inner {
    display: block; 
  }

  #to-cc-optin.layout-topbar .to-actions,
  #to-cc-optin.layout-bottombar .to-actions {
    text-align: center;
  }

  #to-cc-optin.layout-topbar .to-cc-optin-footer,
  #to-cc-optin.layout-bottombar .to-cc-optin-footer {
    text-align: center;
    width: auto;
  }

  /* Modal */
  #to-cc-optin.layout-modal .to-cc-optin-inner {
    top: 50px;
  }

}