@charset "utf-8";

/*Полная таблица стилей для сайта*/

/* For mobile phones: */
/* Базовые стили для разбивки сайта на колонки. */

* {
    box-sizing: border-box;
}

.container {
    clear: both;
}

/*Affects entire site*/

body {
	font-family: Arial, Verdana, sans-serif;
	margin: 0px;
	text-align: left;
	font-size: 100%;
}

a {
	font-size: 1em;
	color: #000000;
	text-decoration: underline;
}

a:hover {
	color: #088888;
}

#pContainer {
	height: auto;
}

.relative {
	position: relative;
}

.fixed {
	position: fixed;
}

.entryMeta {
	margin: 20px 0;
}

/*Make all inputs look better*/
form {
    margin: 16px 0px;
}

label {
    font-weight: bold;
}

input[type=text], input[type=password], input[type=number], textarea, select {
  padding: 6px 10px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=file] {
  padding: 6px 10px;
  margin: 4px 0;
  display: inline-block;
}

input#imWidth, input#imHeight {
    width: 8em;
}

input.Hidden, textarea.Hidden, select.Hidden {
	display: none;
}

/*Drop area styling*/
#imageDropArea {
  border: 2px dashed #ccc;
  border-radius: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  width: 480px;
}

#imageDropArea.highlight {
  border-color: purple;
}

#fileElem {
  display: none;
}

/*Color for all inactive elements*/
.inactive {
	opacity: 0.5;
}

/*Header stiles*/
#capText {
	border-spacing: 0px;
	padding: 5px;
}

#capText a {
	color: #292a34;
	text-decoration: none;
	font-family: 'Noto Serif', serif;
	font-style: italic;
}

/*previous topNav dark-blue: #4f6572*/

a.capButton {
	color: #ffffff;
	display: none;	
}
/*
a#capButtonAct {
	background-color: #B93A32;
}
*/
.hoverBlack:hover {
    color:#fff!important;
    background-color:#312e2b!important;
}

.capButtonSmall {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 45px;
	cursor: pointer;
    transition: background-color 0.3s;
}

.searchButton {
	background-image: url("/img/design/search.png");
}

.calendarButton {
	background-image: url("/img/design/calendar.png");
	background-size: 30px;
}

#searchFormContainer {
    right: 0px;
}

#calendarButton:hover #calendarContainer, #calendarContainer:hover {
	display: block;
}

#calendarContainer {
	position: absolute;
	right: 0px;
	z-index: 10;
	top: 45px;
}


.gInput {
	width: calc(100% - 45px);
	float: left;
	font-size: 1em;
	padding: 6px 10px;
	border: 0px;
}

.gFind {
	width: 45px;
	background-image: url("/img/design/search.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 30px;
	background-color: #ba312b;
}

.right {
	float: right;
}

.left {
	float: left;
}

#buttonsMobile {
	height: 60px;
	background-color: #4f6572;	
	z-index: 5;
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.5);
}

.buttonMobile {
	height: 60px;
	width: 60px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 60px;
	display: block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.buttonMobile:hover {
	background-color: #312e2b;
}

.menuButton {
	background-image: url(/img/design/menu.png);
}

.homeButton {
	background-image: url(/img/design/home.png);
}


.dropdown-content {
	display: none!important;
    position: absolute;
	top: 45px;
    min-width: 350px;
    max-width: 90%;
    background-color: #ffffff;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    overflow: hidden;
}

.dropdown-content .menuItem {
    padding: 12px 16px;
    display: block;
    text-align: left;
    width: 100%;
}

.dropdown-content .menuItem a {
    display: block;
    height: 100%;
	color: #000000;
	text-decoration: none;
	font-size: 1.5em;
}

.dropdown-content .expandButton {
    font-weight: bold;
    cursor: pointer;
    height: 100%;
    width: 10%;
    text-align: center;
	font-size: 1.5em;
}

.dropdown-content .tag {
    padding-left: 32px;
}

.menuItem:hover, .menuItem:hover a, .menuItem:hover .expandButton {
	background-color: #8CB369;
	color: #ffffff;
}

#Main {
	height: auto;
	padding: 0px;
	overflow: auto;
	padding: 15px 10px 15px 10px;
}

#mContent {
	padding-right: 20px;	
}

/*More main styles*/
.pCode {
	font-family: 'Courier New', Courier, 'Lucida Sans Typewriter', 'Lucida Typewriter', monospace;
}

#ArtHead {
	font-family: Arial, Verdana, sans-serif;
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
}

a#ArtHead {
	color: #000000;
	text-decoration: none;
}

.ArtHead {
	font-family: Arial, Verdana, sans-serif;
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
}

a.ArtHead {
	color: #000000;
	text-decoration: none;
}

#Creators {
	font-family: Arial, Verdana, sans-serif;
	font-size: 1em;
		text-decoration: none;
		text-align: center;
}

#ErrorHead {
	font-family: Arial, Verdana, sans-serif;
	font-size: 1.5em;
		text-decoration: none;
		text-align: center;
}

img.left {
	float: left;
	margin-right: 8px;
}

img.video_left {
	float: left;
	margin-right: 8px;
	width: 260px;
}

img.right {
	float: right;
	margin-left: 8px;
}

img.video_right {
	float: right;
	margin-left: 8px;
	width: 200px;
}

img.video {
	width: 200px;
}

img.default {
	margin-right: 8px;
	margin-left: 8px;
}

img.center {
	margin: 0 auto;
}

td.top_margin {
	margin-top: 8px;
}

.ArtSubHead {
	width: 100%;
	font-family: Arial, Verdana, sans-serif;
	font-size: 1.1em;
	font-weight: bold;
	text-align: center;
	padding: 10px 0px 10px 0px;
	clear: both;
}

a.SectionName {
	color: #000000;
	text-decoration: none;
}

/*Books carousel at the top of the main page*/
#book-carousel {
    position: relative;
    width: 100%;
    padding: 0 40px;
    margin: auto;
}

#carousel-viewport {
    overflow: hidden;
    box-sizing: border-box;
}

#carousel-track {
    display: flex;
    transition: 400ms ease;
    --i: 0;
    transform: translateX(calc(var(--i) * -100%));
    list-style: none;
    margin: 0;
    padding: 0;
}

.carousel-slide {
    flex: 0 0 100%;
    box-sizing: border-box;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-img {
    max-width: min(600px, 100%);
    height: auto;
    max-height: 70vh;
    margin: auto;
    display: block;
}

.carousel-txt {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
}

/*For articles*/

.gallery {
    width: 66%;
	margin: 20px auto;
}

.galleryRow {
    width: 100%;
    clear: both;
}

.galleryImageContainer {
    width: 50%;
    padding: 5px;
    float: left;
}


.galleryImage {
    width: 100%;
    height: auto;
}

.imageContainerCenter {
    width: 80%;
    margin-right: auto;
    margin-left: auto;
    padding: 5px;
}

.imageContainerCenter.portrait {
    width: 40%;
}

.imageCenter {
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

table.tEntryFooter {
	width: 98.5%;
	padding: 8px;
	margin-left: auto;
	margin-right: auto;
}

td.tdEFooterLeft {
	width: 50%;
	text-align: left;
}

td.tdEFooterRight {
	width: 50%;
	text-align: Right;
}

/*New headers*/

.artHeader {
	clear: both;
	max-width: 550px;
	margin-left: auto;
	margin-right: auto;
	overflow: visible;
}

.artHeadImage, .artHeadDescr {
	float: left;
}


.artHeadDescr {
    max-width: 60%;
}

.headerSubHead {
    width: 100%;
    font-family: Arial, Verdana, sans-serif;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    padding: 10px 0px 10px 0px;
    float: left;
    display: none;
}


.floatClear {
	clear: both;
}

/*Blog objects*/
.sortTypes {
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
}

/*Navigation buttons*/
td.tdPrevEntries {
	width: 49.25%;
	text-align: right;
}

td.tdPrevEntries p {
	display: table;
	margin-right: 10px;
	margin-left: auto;
}

td.tdNextEntries {
	width: 49.25%;
	text-align: left;
}

td.tdNextEntries p {
	display: table;
	margin-left: 10px;
	margin-right: auto;
}

td.tdEBreak {
	width: 1.5%
}
	
/*Comments*/
.contComment {
	width: 100%;
    position: relative;
    margin-top: 3px;
    margin-bottom: 3px;
    height: 21px;
}

.CommLeft {
	position: absolute;
    left: 3px;
    width: 50%;
	text-align: left;
    
}

.CommRight {
	position: absolute;
    right: 3px;
	width: 50%;
	text-align: right;
}

.quoteRight {
    position: relative;
    width: 100%;
    height: 21px;
    margin-top: 3px;
}

.quoteRight img {
    position: absolute;
    right: 3px;
    top: 3px;
}

/*Calendar*/
.cHeader {
	text-align: center;
}

.cDay {
	position: relative;
}

.cDay a {
	color: #000000;
}

.Calendar {
	background-color: #ffffff;
	border: 1px solid #9e2429;
	border-radius: 5px;
	box-shadow: 5px 5px 15px #888888;
}

.cDay .cPopTable {
	position: absolute;
	top: 15px;
	right: 0px;
	background-color: #ffffff;
	text-align: left;
	font-size: 1em;
	vertical-align: middle;
	min-width: 185px;
	max-width: 350px;
	text-decoration: none;
	border-radius: 5px;
	border: 1px solid #292a34;
	z-index: 10;
	display:none;
	box-shadow: 2px 2px 5px #292a34;
}

.cDay:hover .cPopTable {
	display:table;
}

#logInContainer {
    width: 180px;
    margin: auto;
    margin-top: 20px;
}

#logInContainer div {
    margin-top: 10px;
}

.logInButtons {
    width: 220px;
    margin: auto;
}

.akButton {
    background-color: #4f6572; /* Steel-blue */
    border: none;
    color: white;
    padding: 10px 24px;
    margin: 0px 5px 0px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
}

.circle {
	border-radius:50%;
}


.w3-btn,.w3-button{border:none;display:inline-block;padding:8px 16px;vertical-align:middle;overflow:hidden;text-decoration:none;color:inherit;background-color:inherit;text-align:center;cursor:pointer;white-space:nowrap}
.w3-circle{border-radius:50%}

 #addCreatorButton, #removeCreatorButton {
    background-color: #4f6572; /* Steel-blue */
    border: none;
    color: white;
	height: 40px;
	width: 40px;
    /*padding: 10px 15px;*/
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.creatorContainer {
	margin-top: 10px;
}

#addCreatorButton {
    font-size: 16px;
}

#removeCreatorButton {
    font-size: 19px;
}

#addCreatorButton:hover:not(.inactive), #removeCreatorButton:hover:not(.inactive) {
	background-color: #312e2b;
}

.inactive 

/*Links to next and previous pages*/
.prevNextButtons {
    width: 200px;
    margin: auto; 
    margin-top: 10px;
}

.prevButton, .nextButton {
    width: 45%;
    margin-right: 5px;
    margin-left: 5px;
}

.prevButton {
    text-align: right;
}

.nextButton {
    text-align: left;
}

/*For mobile devices*/

.noDesktop {
	display: none;
}

img.oid_logo {
	width: 10%;
}

/*Link lists*/
.lBlock {
	display: block;
	border-top: 1px solid rgba(0,0,0,0.3);
	background-color: #ffffff;
	padding: 0px;
}

.lBlock > br {
	display: none;
}

.lBlock > a {
	color: #000000;
	display: block;
	padding: 15px 10px 15px 10px;
	border-bottom: 1px solid rgba(0,0,0,0.3);
	text-decoration: none;
}

.lBlock > a:hover {
	background-color: rgba(0,0,0,0.3);
}

/*Right side utility links*/
.utilCaption, .utilLinks {
	font-family: "Lucida Console", Monaco, monospace;
	text-align: center;
}

.utilCaption {	
	font-size: 1.3em;
	font-weight: bold;
	padding-top: 15px;
}

.utilLinks {
	margin-bottom: 20px;
}

.utilLinks > a {
	font-size: 1.2em;
	color: #000000;
	display: block;
	padding: 15px 0px 0px 0px;
	text-decoration: none;
}

.utilLinks > a:hover {
	color: #45a56a;
}


.large-hidden {
	display:none!important;
}

iframe.youtube {
    display: block;
    margin: 0 auto;
}

/* Responsive design code */

.tablet {
    display: none;
}

.desktop {
    display: none;
}

.Hidden {
	display: none;
}

.show {
	display: block!important;
}


@media only screen and (min-width:601px){
    .tablet {
        display: block;
    }
}

@media only screen and (min-width:1200px){
    .desktop {
        display: block;
    }
}

@media only screen and (max-width:1650px){
    .menuButton {
        display: block;
    }
}

@media only screen and (max-width:992px){
	.fbContainer {
		text-align: center;
		width: 100%;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	
	.fb-page {
		display: inline-block;
		width: 100%;
	}
    
    .gallery {
        width: 90%;
    }

	.entryMeta {
		margin-top: 8px;
		margin-bottom: 5px;
	}
}

@media only screen and (max-width:600px){
    #topNavLeft, #topNavRight {
        width: 50%;
    }
    
	.noMobile {
		display: none;
	}
	
	.noDesktop {
		display: inline-block;
	}	
    
    
	.hide-small{
		display:none!important;
	}
	.large-hidden {
		display:inline-block!important;	
	}
	
	.tHeader img {
		width: 40%;
		height: auto;
	}
	
	.artHeader {
		width: 95%;
	}
	
	.artHeadImage, .artHeadDescr {
		float: none;
	}
    
    .headerSubHead {
        clear: both;
        float: none;
        display: block;
        width: 100%;
    }
	
	.artHeadImage, .artHeadDescr {
        max-width: 100%;
		width: 100%;
	}
	
	.artHeadImage img {
		width: 100%;
		height: auto;
	}
    
	
	.ArtSubHead {
		display: block;
	}
    
    .gallery {
        width: 90%;
    }
    
    .galleryImageContainer {
        width: 100%;
    }

    #mContent {
        padding-right: 0px;
    }
    
    iframe {
        width: 95%;
    }
    
    .imageContainerCenter.portrait {
        width: 80%;
    }
}
	
@media (min-width:993px){
	.hide-large{
		display:none!important;
	}
}




