/* reset browser styles */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	/*vertical-align: baseline;*/
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.2;
}
table {
	/*border-collapse: collapse;
	border-spacing: 0;*/
} 
ol { 
	padding-left: 1.4em;
}
ul {
	padding-left: 1.4em;
	list-style: none;
}
sub {
	vertical-align: sub;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}/* end reset browser styles */

/* Задать ширину всем елементам с учетом отступов и границ */
* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;	
	transition:all 700ms ease 0s;
}

/* more varnish stripping as necessary... */

a {
	text-decoration: none;	
}
.clear {
	clear: both;
	padding: 0.5%;
	width: 100%;
}
body {
	text-align: center;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}
.all {
	color: #030D1D;
	max-width: 840px;
	margin: 0px auto;
	padding: 10px;
}
.all a:hover {
   text-decoration: underline;
}
input[type=text] , textarea {
	border: 1px solid Gray;
}
textarea {
	width: 100%;
}
.red {
	color: Red;
}
.orange {
	color: orange;
}
.green {
	color: Green;
	font-weight: bold;
}
.welcome {
	margin-top:15px;
}
h1 {
	font-size: 17px;
	margin-bottom:15px;
}
.autor {
	font-size: 12px;
}
.weeks {
	width: 410px;
   text-align: center;
   float:left;
}

.weeks a span {
	line-height:100px;
}
.weeks a:hover {
	background-color: #dddddd;
	text-decoration: none;
}
.weeks a.noactive:hover {
	background-color: #efefef;
	text-decoration: none;
	cursor: default;
}
.holidays {
	background-color: #00ff33;
	color:black;
	background: url(holi.jpg) center no-repeat;
	width: 400px;
	height: 260px;
	background-size: cover;
	text-align: center;
	margin: 0px auto;
}
.hooray {
	font-size: 25px;
	font-weight: bold;
	color: white;
   text-shadow:  1px 1px 2px black, 0 0 0.1em;
   margin-top: 20px;
}

.weeks a {
	display: inline-block;
	width: 400px;
	height: 100px;
   background-color: #efefef;
   margin-top: 20px;
   border-radius:10px;
   vertical-align: middle;
}
h2 {
	font-size: 15px;
	margin:25px 0 15px;
   background-color: #84df84;
   padding: 4px;
}
h3 {
	font-size: 13px;
	margin:5px 0 15px;
}
.content {
	text-align: left;
	font-size: 14px;
}
.list-ukr {
	margin: 10px;
}
.list-ukr li {
	padding: 2px;
}
.list-ukr ul.inlist  {
	list-style-type: disc;
}
.video {
	margin: 10px;
}
.video div {
	width: 300px;
	float: left;
	margin: 10px;
}
.intro .h1 {
	margin: 10px;
	margin-top: 20px;
	font-weight: bold;
}
.intro .h2 {
	margin: 10px;
	font-weight: bold;
}
.intro p {
   text-align: justify;
   
   font-size:16px;
   margin: 10px;
}
.intro .signature {
   text-align: right;
   font-size:14px;
   margin: 10px;
   margin-top: 20px;
}
.intro .video {
	width: 300px;
	margin: 0 auto;
}

.copy {
	font-size: 12px;
	margin:25px 0;
}
@media(min-width:901px) and (max-width:950px) {
	.menu_portfolio {
    	width: 35%;
	}
	.content_portfolio {
    	width: 65%;
	}
}
@media(min-width:850px) and (max-width:900px) {
	.rekvizit {
		margin-left: 10%;
	}

}
@media(min-width:700px) and (max-width:849px) {
	.rekvizit {
		margin-left: 10%;
	}
	.weeks .br {
		margin-top: 0px;
	}
	.weeks br {
	   display: none;
	}			
}
@media(min-width:600px) and (max-width:699px) {
	.home {
		background-image: url(../bg/home_m.jpg);
		height: 250px;
	}
	.weeks .br {
		margin-top: 0px;
	}
	.weeks br {
	   display: none;
	}				
}
@media(min-width:500px) and (max-width:599px) {
	.home {
		background-image: url(../bg/home_s.jpg);
		height: 200px;
	}

	.content_portfolio2 {
    	width: 60%;
	}	
	.weeks .br {
		margin-top: 0px;
	}	
	.weeks br {
	   display: none;
	}		
}

@media(min-width:100px) and (max-width:499px) {
	.weeks a {
		width: 250px;
		height: 100px;
		font-size:12px;
	}
	.weeks .br {
   	margin-top: 0px;
	}
	.weeks br {
	   display: none;
	}
}