@media only screen and (min-width: 1024px) {
	
	#advertise-top {
		    padding: 0;
		color:white;
	}
    
#main > .padded {
height: 70%;
border: inherit;
padding-top: 10% !important;
padding-bottom: 5% !important;
overflow: hidden;
}

#main > .halfpadded {
height: 94%;
border: inherit;
padding-top: 2% !important;
overflow: hidden;
}

.textpage {
height:  auto !important;
}

#main #fullblock {
    width: 99.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
    text-align: center;
}

#main #halfblock {
    width: 49.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
}

#main #thirdblock {
    width: 32.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
}

#main #quarterblock {
    width: 25% !important;
    height: auto;
    margin: 0px;
    padding: 0;
    border: none;
}

#main #halfblock > #inset > * {
padding: 0 5%;
}

#main #quarterblock > #noinset > img {
height:  auto !important;
width: 120% !important;
}

#category-details {
width: 100%;
height: auto;
padding: 2% 0;
margin: 30px 0;
color: white;
background: black;
}

#category-details #list {
width: 98%;
height: auto;
margin: 0 auto 0 auto;
color: white;
background: black;
}

#category-details #list img, #nav-below img {
width: auto;
height: 15px;
margin: 15px 5px 0 0;
background: black;
vertical-align: top;
}

#newscategories img.inline {
width: auto !important;
height: 15px  !important;
margin: 0 5px 10px 0;
vertical-align: top;
-webkit-filter: invert(0.5);
filter: invert(50%);
-o-filter:invert(50%);
-ms-filter: invert(50%); 
}

#newscategories span {
margin-bottom: 20px;
}

#category-details a, #category-details p {
color: white;
vertical-align: top;
margin-bottom: 10px;
}

}
/* ---------------------------------------end of desktop -----------------------------------*/

#main.blank {
background: transparent !important;
}

#thirdblock a {
display: block;
width: 100%;
height: auto;
margin: 1% auto;
text-align: center;
}

#inset {
width: 95%;
height: auto;
padding: 2.5%;
overflow: hidden;
}

#main #noinset {
width: 100%;
height: 1px;
padding: 0 0 50% 0;
overflow: hidden;
display: block;
border: none;
}

#thirdblock > a > #inset > .icon {
width:  50%;
height: auto;
margin-left: auto; margin-right: auto;
vertical-align: top;
}

#thirdblock > #inset > * {
    text-align: center;
}

ul.wp-block-gallery {
	width: 100%;
	height: auto;
	padding:0;
	margin:0;
}

ul.wp-block-gallery li {
	display: moz-inline-block;
display: inline-block;
*display: inline;
list-style-type: none;
zoom: 1;

}

.columns-3 li {
	width: 33%;
	height: 15rem;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
    position: relative;
	border:1px solid gray;
	vertical-align:top;
	overflow:hidden;
	margin-bottom: 1%;
}

.columns-3 img {
	max-width:100%;
}

figure {
	padding:0;
	margin:1%;
	position:relative;

}

.is-cropped img {
width:100%;
	height: 15rem;
object-fit: cover;
	vertical-align:top;
}

.is_cropped figure {
	display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

figure.bunting {
	border: 1px solid #dedede !important;
	width: auto;
	display: inline-block;
	padding: 3%;
}

.buntingimg {
	position:absolute;
	top:0;
	left:0;
	width: 100%;
	z-index: 100;
}

	#main form {
		display:block;
		width: 90%;
		padding: 2%;
		border: 4px solid pink;
		text-align: left;
	}
	
	form table {
		width: 90%;
	}
	
	tr.shadow {
		box-shadow: 0px 2px 0px gray;
	}
	
	.submit {
		background-color:pink !important;
    border: 0!important;
    padding: 15px 35px!important;
    font-size: 15px!important;
		color:white;
	}
	
	input[type=text] {
		padding: 2%;
		width: 80%;
		border: 1px solid white;
	}
	
#newscategories img {
	width: 1rem !important;
	padding-top: 1%;
}
