body, header, footer {
	#min-width: 1200px;
}

body { 
    margin: 0px; 
    font-family: 'Ubuntu', 'source sans pro', sans-serif;
    font-size: 16px;
	background-color: black;
	line-height: 28px; 
	text-align: justify; 
	color: #bbbbbb;
	box-sizing: border-box;
}

header {
    box-shadow: 0px 0px 5px #888888;
	background-color: rgb(48,48,48);
	border-top: 5px solid #24569f;
	padding-top: 2px;
	height: 80px;
	box-sizing: border-box;
}

main {
   	overflow: hidden;
}

footer {
    background-color: rgb(48,48,48);
	height: 30px;
	border-top: 1px solid rgb(64,64,64);
	margin-top: 30px;
}

h1 {
	font-size: 200%;
	margin-bottom: 40px;
	margin-top: 30px;
	line-height: 36px;
}

div.content-width {
	margin-left: auto; 
	margin-right: auto; 
	box-sizing: border-box;
    #position: relative;
}


div.content-width {
	max-width: 1920px; 
	padding: 0px 20px; 
}

#div_headertop {
    height: 20px; 
	width: 100%;  
}

#div_headermiddle {
	_height: 60px; 
}

#div_headerbottom {
    position: relative; 
	top: 0px; 
	width: 100%; 
	height: 4px; 
	margin: 0px; 
	background-color: rgb(218, 208, 170); 
	border-top: 2px solid white;
	border-bottom: 1px solid gray;
}

#footer-top {
	background-color: #121214;
	width: 100%;
	padding: 20px 10px;
	box-sizing: border-box;
}

#footer-bottom {
	background-color: black;
	width: 100%;
	padding: 10px 0px;
}

#SiteLogo {
}

em {
    color: red;
	font-weight: bold; 
}

A { 
    text-decoration: none; 
	color: rgb(128, 179, 199); 
	cursor: pointer;
}

A:hover { 
    color: rgb(218, 228, 254); 
	text-decoration: 1px dotted rgb(188, 238, 254); 
}

A.image:hover { 
    color: rgb(218, 228, 254); 
	border-bottom: none; 
}

img {
    display: block;
}

.grow { 
    transition: all .4s ease-in-out; 
}
.grow:hover { 
    transform: scale(1.025); 
}

select, input, textarea {
    font-size: 100%;
	padding: 6px;
	background-color: rgb(64,64,64);
	color: silver;
	border-top: none;
	border-left: none;
	border-right: none;
}

select option {
    padding: 2px;
}

input {
    border-bottom: 1px solid silver;
	padding: 6px;
}

input:focus-visible, select:focus-visible {
	outline: none;
	border-bottom: 1px solid coral;
	background-color: rgb(92,92,92);
}

#ModalWindowOverlay {
    position: absolute;
	z-index: 1000; 
	background-color: black; 
	filter: alpha(opacity = 70);
	opacity:0.7;
	width: 100%;
}

#ModalWindowFrame {
    position: absolute;
	z-index: 1002; 
	display: none;
	background-color: black;
	border: 1px solid gray;
}

#ModalWindowTitle {
    font: bold 100% Arial; 
	letter-spacing: 0.5px; 
	text-align: left;
    text-transform: uppercase;
	line-height: 34px;
}

#ModalWindowTitle td {
    #border-bottom: 1px solid silver;
	padding: 6px 10px;
	background-color: rgb(92,92,92);
}

#ModalWindowTitle .icon-cross {
    cursor: pointer;
    color: darkgray;
    float: right;
    font-size: 90%;
	margin-right: 8px;
    margin-top: 12px;
}

#ModalWindowTitle .icon-cross:hover {
    color: darkgray;
}


input[type=submit], input[type=button], button, .button {
	cursor: pointer;
	background-color: gray;
	color: white;
	padding: 8px 30px;
	border: 0;
	border-radius: 20px;
	transition: all .2s ease-in-out;
}

input[type=submit], input[type=button].highlighted, button.highlighted, div.highlighted {
    background-color: coral;
}

input[type=submit]:hover, input[type=button].highlighted:hover, input[type=submit].highlighted:hover, button.highlighted:hover, div.highlighted:hover {
    background-color: #ffb295;
}

input[type=button].large, input[type=submit].large, .large {
    padding: 16px 60px 14px 60px;
	border-radius: 60px;
	font-size: 120%;
}

.facebook {

    background-color: #3B5998; 
	border-radius: 4px; 
	padding: 1px 10px;
	vertical-align: middle; 
	cursor: pointer; 
	color: white;
}

.facebook:hover {
    background-color: #738aba; 
}

fieldset {
    border: 0;
}

fieldset legend {
    border-bottom: 1px solid gray;
	display: block;
	width: 100%;
	color: coral;
	text-transform: uppercase;
}

div.ThumbnailContainer {
    position: relative; 
	overflow: hidden; 
	border: 1px solid rgb(48,48,48); 
	box-sizing: border-box; 
	width: 100%;
    transition: all .4s ease-in-out; 
	overflow: hidden;
}

div.ThumbnailContainer:hover {
    border: 1px solid rgb(92,92,128); 
}

div.SmallImageContainer {
	border: 1px solid rgb(48,48,48);
	transition: all .4s ease-in-out;
	#width: 400px;
	overflow: hidden; 
	box-sizing: border-box;
}

div.SmallImageContainer:hover {
    border: 1px solid rgb(92,92,128); 
}

td.user_comment p:first-child {
    margin-top: 0px;
}

textarea {
    resize: none;
	border: 1px solid gray;
	box-sizing: border-box;
	display: block;
}

#.disabled {
 #   border: 1px solid transparent; 
	#background-color: transparent;
#}

.disabled {
    pointer-events: none; 
	opacity: 0.35;
	cursor: not-allowed;
}

span.coral-highlight:hover {
	color: coral !important;
}


#DivGaleriaGrid > div {
	
	width: 23%;
}


#DivGalleryImages {
	width: 75%;
}

#DivComments {
	width: 25%;
}

#DivGalleryGrid {
	display: grid; 
	grid-template-columns: repeat(3, 1fr); 
	grid-column-gap: 20px;
	grid-row-gap: 20px;
}

.ShowMobileOnly {
	display: none
}

#GridGalleryImage {
    display: grid;
	grid-template-columns: 7fr 3fr;
	#grid-template-rows: repeat(2, 1fr);
	grid-column-gap: 30px;
	grid-row-gap: 0px;
    margin-top: 25px;
}

#GridGalleryImage .DivGalleryImage { grid-area: 1 / 1 / 2 / 2; }
#GridGalleryImage .DivGalleryData { grid-area: 1 / 2 / 2 / 3; }
#GridGalleryImage .PostContainer { grid-area: 2 / 1 / 3 / 2; }


#profile_galeria_list {
	display: grid; 
	grid-template-columns: repeat(4, 1fr); 
	grid-column-gap: 20px
}


#MainMenu {
	
	display: flex;
	align-items: center;
}

#MenuItems > div {
	
	padding: 0px 15px;
}

.OpenDiv::after {
	content: '\23F7';
}

.CloseDiv::after {
	content: '\23F5';
}

figure.size-full img {
	max-width: 100%;
}

input.error, textarea.error, select.error, div.error {
	background-color: #6c1818 !important;
	#border: 1px solid red !important;
	transition: all .2s ease;
}

ul.error, li.error {
	background-color: #6c1818;
	border-radius: 3px;
	border: 1px solid red;
}

div[name=error] {
	display: none; 
	font-weight: bold; 
	font-size: 80%; 
	color: red; 
	line-height: initial
}

@media screen and (min-width: 0px) and (max-width: 767px) {
	
	body {
	    text-align: left;
    }
	
	#DivMainPage {
        flex-direction: column-reverse;	
    }

    #DivLogo {
		height: 34px !important;
	}

	#DivGalleryImages {
		width: 100%;
	}

	#DivComments {
		width: 100%;
	}
	
	#DivGalleryGrid {
		grid-template-columns: repeat(1, 1fr); 
	}
	
	div.content-width {
		width: unset; 
		padding: 0px 10px; 
	}
	
	.ShowDesktopOnly {
		display: none;
	}
	
	header {
		height: 55px;
	}

    .ShowMobileOnly {
		display: block;
	}
	
	#GridGalleryImage {
		display: flex;
		flex-direction: column;
	}
	
	#DivPostGaleriaComment {
		
		flex-direction: column;
	}
	
	#DivPostGaleriaButton {
		width: 100% !important;
		padding: 20px 0px 10px 0px; 
	}
	
	#profile_galeria_list {
		grid-template-columns: repeat(1, 1fr); 
	}
	
	#DivUserData {
		flex-direction: column;
	}
	
	#MenuItems {
		
		position: absolute;
		right: 5px;
		top: 50px;
		flex-direction: column;
		width: 200px;
		background-color: rgb(32,32,32);
		padding: 15px;
		z-index: 100;
		visibility: hidden;
	}
	
	#MenuItems > div {
		
		padding: 5px 15px;
	}
	
	#MainMenuResponsive {
		
		margin-left: 20px
	}
	
	#DivGaleriaUpload {
		
		flex-direction: column-reverse !important;
	}
	
	
	#DivGaleriaUpload > div {
		
		width: 100% !important;
	}
	
	#DivGaleriaGrid > div {
		
		width: 100%;
		flex-wrap: wrap;
	}

	#DivGaleriaGrid > div > div {
		
		width: 100% !important;
	}

    #galeria_filter > div {
		
		flex-direction: column;
		row-gap: 15px;
	}
	
	.GaleriaCommentRow {
		
		flex-wrap: wrap;
	}
	
	#DivUserRegistration > div {
		
		flex-direction: column !important;
		row-gap: 15px;
	}
	
	#WPContentContainerLeft {
		width: 100% !important;
		text-align: left;
	}
	
	#WPContentContainerRight {
		display: none;
	}
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
	
	#DivMainPage {
        flex-direction: column-reverse;	
    }

    #DivLogo {
		height: 30px !important;
	}

	#DivGalleryImages {
		width: 100%;
	}

	#DivComments {
		width: 100%;
	}
	
	#DivGalleryGrid {
		grid-template-columns: repeat(2, 1fr); 
	}
	
	div.content-width {
		width: unset; 
		padding: 0px 10px; 
	}
	
	.ShowDesktopOnly {
		display: none;
	}
	
	header {
		height: 55px;
	}

    .ShowMobileOnly {
		display: block;
	}
	
	#GridGalleryImage {
		display: flex;
		flex-direction: column;
	}
	
	#DivPostGaleriaComment {
		
		flex-direction: column;
	}
	
	#DivPostGaleriaButton {
		width: 100% !important;
		padding: 20px 0px 10px 0px; 
	}
	
	#DivUserData {
		flex-direction: column;
	}
	
	#MenuItems {
		
		position: absolute;
		right: 5px;
		top: 50px;
		flex-direction: column;
		width: 200px;
		background-color: rgb(32,32,32);
		padding: 15px;
		z-index: 100;
		visibility: hidden;
	}
	
	#MenuItems > div {
		
		padding: 5px 15px;
	}
	
	#MainMenuResponsive {
		
		margin-left: 20px
	}
	
	#DivGaleriaUpload {
		
		flex-direction: column-reverse !important;
	}
	
	
	#DivGaleriaUpload > div {
		
		width: 100% !important;
	}
	
	#DivGaleriaGrid > div {
		
		width: 48%;
		flex-wrap: wrap;
	}

	#DivGaleriaGrid > div > div {
		
		width: 100% !important;
	}

    #galeria_filter > div {
		
		flex-direction: column;
		row-gap: 15px;
	}
	
}

@media screen and (min-width: 1024px) and (max-width: 1199px) {
	
	#DivGalleryGrid {
		grid-template-columns: repeat(2, 1fr); 
	}
	
	.ShowDesktopOnly {
		display: none;
	}
	
	div.content-width {
		width: unset; 
		padding: 0px 10px; 
	}
	
	#DivGaleriaGrid > div {
		
		width: 32%;
	}

	#profile_galeria_list {
		grid-template-columns: repeat(3, 1fr); 
	}
}