/* do not change this sheet - to make changes to the blocks below, please create a new line in front.css using #front #halfblock (for example) */
@media only screen and (min-device-width: 780px) {
    
.padded {
border: inherit;
padding-top: 10% !important;
padding-bottom: 10% !important;
overflow: hidden;
}

.halfpadded {
height: 94%;
border: inherit;
padding-top: 2% !important;
overflow: hidden;
}

.textpage {
height:  auto !important;
}

#fullblock {
    width: 99.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
    text-align: center;
}

#halfblock {
    width: 49.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
}

#thirdblock {
    width: 32.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
}

#twothirdsblock {
    width: 65%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
}

#quarterblock {
    width: 25% !important;
    height: auto;
    margin: 0px;
    padding: 0;
    border: none;
}

#fifthblock {
    width: 20% !important;
    height: auto;
    margin: 0px;
    padding: 0;
    border: none;
}

#sixthblock {
    width: 16.5% !important;
    height: auto;
    margin: 0px;
    padding: 0;
    border: none;
}

#makesquare {
    width: 90%;
    height: 15em;
    border: 1px solid black;
    overflow: hidden;
}

#makesquare img {
    width: auto;
    height: 100%;
    max-width: none;
}


#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;
}
	
div.wp-block-media-text__content {
position: absolute;	
top: 12%;	
z-index:10;	
	background: white;
	width: 50%;
	left: 20%;
	padding: 5%;
}

}
/* ---------------------------------------end of desktop -----------------------------------*/


#inset {
width: 98%;
height: auto;
padding: 1%;
overflow: hidden;
}

.icon {
    width: 50%;
    height: auto;
}

.center {
    text-align: center;
}

/* set background image */
div.wp-block-media-text, figure.wp-block-media-text__media {
	width: 100%;
	margin:0; padding:0;
}

div.wp-block-media-text, div.wp-block-media-text__content  {
position:relative;
}
figure.wp-block-media-text__media {
position:relative;
z-index:1;	
	overflow:hidden;
}
figure.wp-block-media-text__media img {
width: 100%;
	height:auto;
	margin: -10% 0;
	max-height: 25vm;
}


/* incontent button */
.wp-block-button__link {
	margin: 5%;
	display: inline-block;
	color:white;
}


.blocks-gallery-grid.columns-6 .blocks-gallery-image, .blocks-gallery-grid.columns-6 .blocks-gallery-item, .wp-block-gallery.columns-6 .blocks-gallery-image, .wp-block-gallery.columns-6 .blocks-gallery-item {
    width: calc((100% - 80px)/6);
    margin-right: 16px;
}

.blocks-gallery-grid.columns-5 .blocks-gallery-image, .blocks-gallery-grid.columns-5 .blocks-gallery-item, .wp-block-gallery.columns-5 .blocks-gallery-image, .wp-block-gallery.columns-5 .blocks-gallery-item {
    width: calc((100% - 64px)/5);
    margin-right: 16px;
}

.blocks-gallery-grid.columns-4 .blocks-gallery-image, .blocks-gallery-grid.columns-4 .blocks-gallery-item, .wp-block-gallery.columns-4 .blocks-gallery-image, .wp-block-gallery.columns-4 .blocks-gallery-item {
    width: calc((100% - 48px)/4);
    margin-right: 16px;
}

.blocks-gallery-grid.columns-3 .blocks-gallery-image, .blocks-gallery-grid.columns-3 .blocks-gallery-item, .wp-block-gallery.columns-3 .blocks-gallery-image, .wp-block-gallery.columns-3 .blocks-gallery-item {
    width: calc((100% - 32px)/3);
    margin-right: 16px;
}

.blocks-gallery-grid.columns-2 .blocks-gallery-image:nth-of-type(2n), .blocks-gallery-grid.columns-2 .blocks-gallery-item:nth-of-type(2n), .wp-block-gallery.columns-2 .blocks-gallery-image:nth-of-type(2n), .wp-block-gallery.columns-2 .blocks-gallery-item:nth-of-type(2n) {
    margin-right: 0;
	width: calc((100% - 16px)/2);
}

.blocks-gallery-grid.columns-1 .blocks-gallery-image, .blocks-gallery-grid.columns-1 .blocks-gallery-item, .wp-block-gallery.columns-1 .blocks-gallery-image, .wp-block-gallery.columns-1 .blocks-gallery-item {
    width: 100%;
    margin-right: 0;
}

.blocks-gallery-grid.columns-7 .blocks-gallery-image, .blocks-gallery-grid.columns-7 .blocks-gallery-item, .wp-block-gallery.columns-7 .blocks-gallery-image, .wp-block-gallery.columns-7 .blocks-gallery-item {
    width: calc((100% - 96px)/7);
    margin-right: 16px;
}

.blocks-gallery-grid.columns-8 .blocks-gallery-image, .blocks-gallery-grid.columns-8 .blocks-gallery-item, .wp-block-gallery.columns-8 .blocks-gallery-image, .wp-block-gallery.columns-8 .blocks-gallery-item {
    width: calc((100% - 112px)/8);
    margin-right: 16px;
}



.blocks-gallery-grid.is-cropped .blocks-gallery-image a, .blocks-gallery-grid.is-cropped .blocks-gallery-image img, .blocks-gallery-grid.is-cropped .blocks-gallery-item a, .blocks-gallery-grid.is-cropped .blocks-gallery-item img, .wp-block-gallery.is-cropped .blocks-gallery-image a, .wp-block-gallery.is-cropped .blocks-gallery-image img, .wp-block-gallery.is-cropped .blocks-gallery-item a, .wp-block-gallery.is-cropped .blocks-gallery-item img {
    height: 100%;
    flex: 1;
    -o-object-fit: cover;
    object-fit: cover;
}

.components-modal__frame *, .components-modal__frame :after, .components-modal__frame :before, .components-popover *, .components-popover :after, .components-popover :before, .edit-post-header *, .edit-post-header :after, .edit-post-header :before, .edit-post-sidebar *, .edit-post-sidebar :after, .edit-post-sidebar :before, .edit-post-text-editor *, .edit-post-text-editor :after, .edit-post-text-editor :before, .edit-post-visual-editor *, .edit-post-visual-editor :after, .edit-post-visual-editor :before, .editor-post-publish-panel *, .editor-post-publish-panel :after, .editor-post-publish-panel :before {
    box-sizing: inherit;
}

.blocks-gallery-grid .blocks-gallery-image img, .blocks-gallery-grid .blocks-gallery-item img, .wp-block-gallery .blocks-gallery-image img, .wp-block-gallery .blocks-gallery-item img {
    display: block;
    max-width: 100%;
    height: auto;
    width: 100%;
}

.blocks-gallery-grid.is-cropped .blocks-gallery-image a, .blocks-gallery-grid.is-cropped .blocks-gallery-image img, .blocks-gallery-grid.is-cropped .blocks-gallery-item a, .blocks-gallery-grid.is-cropped .blocks-gallery-item img, .wp-block-gallery.is-cropped .blocks-gallery-image a, .wp-block-gallery.is-cropped .blocks-gallery-image img, .wp-block-gallery.is-cropped .blocks-gallery-item a, .wp-block-gallery.is-cropped .blocks-gallery-item img {
    height: 100%;
    flex: 1;
    -o-object-fit: cover;
    object-fit: cover;
}
.blocks-gallery-grid.is-cropped .blocks-gallery-image a, .blocks-gallery-grid.is-cropped .blocks-gallery-image img, .blocks-gallery-grid.is-cropped .blocks-gallery-item a, .blocks-gallery-grid.is-cropped .blocks-gallery-item img, .wp-block-gallery.is-cropped .blocks-gallery-image a, .wp-block-gallery.is-cropped .blocks-gallery-image img, .wp-block-gallery.is-cropped .blocks-gallery-item a, .wp-block-gallery.is-cropped .blocks-gallery-item img {
    width: 100%;
}

.wp-block-gallery li {
    list-style-type: none;
}

.blocks-gallery-grid .blocks-gallery-image figure, .blocks-gallery-grid .blocks-gallery-item figure, .wp-block-gallery .blocks-gallery-image figure, .wp-block-gallery .blocks-gallery-item figure {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.blocks-gallery-grid .blocks-gallery-image figure, .blocks-gallery-grid .blocks-gallery-item figure, .wp-block-gallery .blocks-gallery-image figure, .wp-block-gallery .blocks-gallery-item figure {
    margin: 0;
    height: 100%;
}

.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item {
    margin: 0 16px 16px 0;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.blocks-gallery-grid, .wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    margin: 0;
}