html, body, #all {
	text-align: center;
	margin: 0;
	padding: 0;
	font-family: 'PT Sans', sans-serif;
	color: #3f3f3f;
	max-width: 100%;
    overflow-x: hidden;
}
#gift {
	background: rgb(196, 47, 65);
	color: white;
	padding: 50px;
}
.tile {	
	width: 160px;
	background: #bbbbbb;
	margin: 20px 10px;
	display: inline-block;
	position: relative;
}
.activetile:after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 5px solid #C42F41;
}



.hiddeninput {
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0 auto;
  position: relative;
  top: 10px;
  /* float: left;  Reposition so the validation message shows over the label */
}



#giftsinside {
	margin: 0 auto;
	width: 100%;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}



#giftbox {
	width: 400px;
	margin: 0 auto;
}
#giftinfo {
	width: 350px;
	background: #bbbbbb;
	padding: 25px;
}
	
#address {
	clear: both;
	background: #eeeeee;
	padding: 50px 0;
}
#count {
	padding: 0;
	margin: 0;
	text-align: right;
	color: #808080;
	font-size: 50%;
}


.aroundphoto {
	height: 60px;
	width: 60px;
	overflow: hidden;
	position: relative;
	display: inline-block;
}
.photosmall {
	height: 160px;
}
#giftphoto {
	height: 400px;
}
.photosmalladmin, .photosmalledit {
	height: 100px;
}
.photosmall, .photosmalladmin, #giftphoto {
	width: 100%;
	display: block;
	overflow: hidden;
	padding: 0;
	margin: 0;	
}
.heart {
	background: #eeeeee;
}
.photosmall, #giftphoto {
	position: relative;
}
.photosmall img, .photosmalladmin img, #giftphoto img {
     position: absolute;
   /*  max-width: 100%;*/
     width: 100%;
     height: auto;
     
     top: 50%;     
     left: 50%;
   	 transform: translate( -50%, -50%);
 }
.photosmall img.landscape, .photosmalladmin img.landscape, #giftphoto img.landscape {
    height: 100%;
    width: auto;
}


.lupa {
	position: absolute;
	bottom: 5px;
	right: 7px;
	color: white;
	text-shadow: 2px 2px 8px rgb(0, 0, 0, 0.5);
}
.more {
	position: absolute;
	bottom: 5px;
	left: 7px;
	color: white;
	text-shadow: 2px 2px 8px rgb(0, 0, 0, 0.5);
}
.buttonaround {
	position: absolute;
	bottom: 3px;
	width: 136px;
	left: 12px;
}
.button {
	color: white;
	font-family: "Helvetica Neue", Helvetica, Arial, 'PT Sans', sans-serif !important;
	font-size: 100% !important;
	text-decoration: none;
	padding: 15px 35px 15px 35px !important;
	display: inline-block;
	margin: 20px 0 10px 0;
	cursor: pointer;
	-webkit-user-select: none;
	-webkit-appearance: none;
	background-attachment: scroll;
	background-size: auto;
	text-transform: uppercase;
	font-weight: bold;
	border: none;
	border-radius: 0 !important;
	transition: all 0.5s ease;
	background: url(https://www.charita.sk/adopcia/wp-content/themes/wp-dev/img/atm-button-btn-primary-bg.jpg) center center;
}
.button:hover {
	background: url(https://www.charita.sk/adopcia/wp-content/themes/wp-dev/img/atm-button-btn-primary-bg.jpg) center 40%;
}
.buttonv {
	width: 66px;
}
.button2 {
	margin-right: 20px;
}
.backbutton {
	color: #C42F41;
	font: inherit!important;
	font-family: "Helvetica Neue", Helvetica, Arial, 'PT Sans', sans-serif !important;
	font-weight: bold;
	border: none!important;
	background: inherit!important;
  	padding: 25px 35px 25px 0 !important;
  	cursor: pointer!important;
  	height: auto;
  	perspective-origin: 0 0;
  	text-align: start;
  	text-decoration: none;
  	transform-origin: 0 0;
  	width: auto;
  	-moz-appearance: none;
  	-webkit-logical-height: 1em; /* Chrome ignores auto, so we have to use this hack to set the correct height  */
  	-webkit-logical-width: auto;
  	/*align-items: normal;
  background-color: rgba(0,0,0,0);
  border-color: rgb(0, 0, 238);
  border-style: none;
  box-sizing: content-box;
  color: rgb(0, 0, 238); 
  cursor: pointer;
  display: inline;
  font: inherit;
  height: auto;
  padding: 0;
  perspective-origin: 0 0;
  text-align: start;
  text-decoration: underline;
  transform-origin: 0 0;
  width: auto;
  -moz-appearance: none;
  -webkit-logical-height: 1em; 
  -webkit-logical-width: auto; */
}
/*
input[type="submit"], input[type="button"] {
	font-size: 100%;
} */
.info {
	text-align: left;
	padding: 12px;
	padding-bottom: 95px;
}
#adresa {
	text-align: left;
	display: inline-block;
	margin: 0 auto;
}
a, .redtext {
	color: #C42F41;
}
.small {
	font-size: 60%;
}
.buttonspace {
	margin-left: 30px;
}


.tooltip {
  	position: relative;
  	display: inline-block;
}
.tooltip .tooltiptext {
	visibility: hidden;
 	width: 280px;
  	background-color: #222222;
  	opacity: 0.8;
  	color: #fff;
  	text-align: center;
  	padding: 5px 0;
  	border-radius: 6px;
 
  	/* Position the tooltip text - see examples below! */
  	position: absolute;
  	z-index: 1;
}
.tooltiptext {
	position: relative;
	top: -5px;
	left: 100px;
}
.tooltip .tooltiptext::after {
  content: " ";
  position: absolute;
  top: 50%;
  right: 100%; /* To the left of the tooltip */
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent #222222 transparent transparent;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
}



/* The container */
.container {
  display: block;
  position: relative;
  padding-left: 35px;
  padding-right: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  left: 15px;
}

/* Hide the browser's default radio button */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 3px;
  left: 28%;

  height: 25px;
  width: 25px;
  background-color: #fff;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #fff;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.container .checkmark:after {
 	top: 8px;
	left: 8px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgb(196, 47, 65);
}



#formular {
	max-width: 900px;
	margin: 0 auto;
}
#address label, #address input, #address textarea {
    /* In order to define widths */
    display: inline-block;
    padding: 10px;
}
#address input, #address textarea {
	border: none;
}
#address label {
    width: 90%;
    /* Positions the label text beside the input */
    text-align: center;
    color: #3f3f3f;
}
#address label + input, #address label + textarea {
    width: 80%;
    /* Large margin-right to force the next element to the new-line
       and margin-left to create a gutter between the label and input */
    margin: 10px 2% 10px 2%;
}
.red {
	background: #C42F41;
}
#suhlas {
	display: inline-block;
	padding-left: 0;
	margin: 10px 30% 10px 36%;
	width: 40%;
	text-align: left;
}
.note {
	position: relative;
	top: -17px;
}
.opac {
	opacity: 0.5;
}



.pagination {
	display: block;
}
.pagination a {
  	color: #C42F41;
  	float: left;
  	padding: 6px 13px;
  	text-decoration: none;
  	transition: background-color .3s;
  	font-size: 80%;
}
.pagination a.active {
  	background-color: #C42F41;
  	color: white;
}
.pagination a:hover:not(.active) {
	background-color: #ddd;
}
#search {
	position: relative;
	top: -5px;
	float: left;
}
#search input {
	padding: 10px;
}




@media screen 
  and (min-device-width: 1200px)  
 {
#address label {
    width: 30%;
    text-align: right;
}
#address label + input, #address label + textarea {
    width: 30%;
    margin: 10px 30% 10px 2%;
}
.container {
  display: inline-block;
}
.checkmark {
  top: 0;
  left: 0;
}
.tile {
	width: 200px;
	margin: 20px;
}
#giftsinside {
	max-width: 900px;
}
.photosmall {
	height: 200px;
}
.buttonaround {
	width: 176px;
}
.buttonv {
	width: 106px;
}
.button {
	padding: 25px 35px 25px 35px !important;
}
.tooltiptext {
	left: 300px;
}
}