.cookify.modal {
  width: 0;
  height: 0;
  overflow: unset;
}

#cookieButton {
	background-color: rgb(0,77,105);
	line-height : 1rem;
	color: #ffffff;
	font-size: 1rem;
	display: none;
}

.cookify .modal-dialog {
  width: auto;
  margin: 50px auto;
  pointer-events: none;
  position: fixed;
  left: 0;
  top:0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  float: left !important;
  display: flex;
  align-items: center;
  max-height: 100%;
}

.cookify .modal-content {
  background-color: #1c7696;
  color: #ffffff;
  -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
          box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  border-radius: 0 !important;
  padding: 1rem !important;
  max-height: 100%;
  border: 0;
  outline: none;
}

#cerrarCookies{
    cursor: pointer;
    width: 10px;
    position: absolute;
    right: 16px;
}

.cookify .modal-header, .cookify .modal-footer {
  border: 0 !important;
}

.cookify .modal-body {
  padding-top: 0 !important;
}

.cookify .modal-body a{
    color: #d7f5ff;
    font-weight: 700;
}

.cookify .modal-header {
	position: relative;
	height: auto;
	margin-bottom: 1rem;
}

@media (min-width: 576px) {
  .cookify .modal-dialog {
    max-width: 500px;
  }
}

#cookieModalManage .text-title-cb,
#cookieModalManage .text-desc-cb{
    color: #ffffff;
    font-size: 1rem;
}

#cookieModalManage .text-title-cb{
	font-family: "Ubuntu", sans-serif;
	font-weight: 700;
    margin: 5px 0;
}

#cookieModalManage .text-desc-cb{
    margin-top: 8px;
    margin-bottom: 0;
}

button#cookieButtonManageAccept {
    color: #1b576d;
    background-color: #bbe5f3;
}

button#cookieButtonManageSave {
	background-color: #fff;
	color: #1b576d;
}

.cookify .custom-control.custom-checkbox{
	display: flex;
	margin-bottom: 1.5rem;
}

.cookify .custom-checkbox .custom-control-label::before{
	margin-right: 8px;
	top: 0.25rem;
}

.cookify .custom-checkbox .custom-control-label::after {
	top: 0.25rem;
}



@media screen and (max-width: 991px) {
	
	.cookify .modal-header, 
	.cookify .modal-body,
	.cookify .modal-footer {
		padding: 0;
	}
	
	.cookify .modal-footer > * {
	    margin: 0.25rem 0;
	}
	
	#cerrarCookies{
		right: 0;
	}
}

@media screen and (max-width: 767px) and (orientation: portrait) {
	
	.cookify .modal-dialog {
		margin: 0 auto;
		top: unset;
	}
}

@media screen and (max-width: 991px) and (orientation: landscape) {
	
	.cookify .modal-dialog {
		margin: 0 auto;
	}
	
	.cookify .modal-footer {
		margin-top: 10px;
	}
}

@media screen and (min-width: 992px) {
	.cookify .modal-header {
		margin-top: 1rem;
	}
}

@media screen and (hover: hover){
	.cookify .modal-body::-webkit-scrollbar {
	    width: 5px;
	}
	
	.cookify .modal-body::-webkit-scrollbar-track {
	    background: var(--color-bg-alt);
	}
	
	.cookify .modal-body::-webkit-scrollbar-thumb {
	    background: var(--color-theme);
	}
	
	.cookify .modal-body::-webkit-scrollbar-thumb:hover{
		background: var(--color-theme-dark);
	}
}