body {
	margin:0;
	padding:0;
	height:100%;
	width:100%;
	font-family:Verdana,Arial,Helvetica,sans-serif;
	background-color:#E8E9F6;
		background-color:#A8B8ECA0;
	/*background-color:#fff;
	background-color:#E8E9F670;*/
    border-left: 1.5rem solid #2D37C7;
    box-sizing:border-box;
}

.left-to-right {
    border-width: 0 0 0 1.5rem;
    border-style: solid;
    -webkit-border-image: 
      -webkit-gradient(linear, 100% 0, 0 0, from(#2D37C7), to( #3876E8)) 1 100%;
    -webkit-border-image: 
      -webkit-linear-gradient(right, #2D37C7 49%, #3876E8 49%, #3876E8 83%, #5C9DEC 83%) 1 100%;
    -moz-border-image:
      -moz-linear-gradient(right, #2D37C7 49%, #3876E8 49%, #3876E8 83%, #5C9DEC 83%) 1 100%;  
    -o-border-image:
      -o-linear-gradient(right, #2D37C7 49%, #3876E8 49%, #3876E8 83%, #5C9DEC 83%) 1 100%;
    border-image:
      linear-gradient(to right, #2D37C7 49%, #3876E8 49%, #3876E8 83%, #5C9DEC 83%) 1 100%; 
}


header {
	width:100%;
	margin:0;
	height:34rem;
	background-image:url("img/head04.jpg");
	background-size:cover;
	background-repeat:no-repeat;
	color:#2D37C7;
	overflow:hidden;

}

header h1 {
    margin: 0;
    padding-left: 14rem;
    height: 34rem;
    font-weight: normal;
    background-image: url(img/psy.png);
    background-size: auto 24rem;
    background-repeat: no-repeat;
    background-position: left center;
    border-left: 2rem solid #2D37C7;
    box-sizing: border-box;
    padding-top: 5.5rem;
    font-size: 7rem;
    
}

header h1 span {
    display: block;
    font-size: 2rem;
    position: relative;
    margin-top: -1.5rem;
    margin-left: 10rem;
}

header img {
    height: 22rem;
    padding: 8rem 0 4rem 0;
}

header div.stones {
    background-image: url(img/stones.png);
    background-size: auto 28rem;
    position: relative;
    height: 28rem;
    width: 66rem;
    margin-left: auto;
    margin-right: auto;
    background-position: right bottom;
    background-repeat: no-repeat;
    margin-top: -28rem;
}

nav, article {
	width:50rem;
	margin-left:auto;
	margin-right:auto;
	/* background-color:#fff; */
	padding:1.5rem;
	box-sizing:border-box;
}

nav {
	padding: 0.5rem 1.5rem;
}

nav ul {
	margin:0;
	padding:0;
	list-style:none;
	display:flex;
	flex-direction:row;
}

nav ul li {
	width:10rem;
	flex-grow:1;
	flex-shrink:1;
	text-align:left;
	text-transform: uppercase;
	padding:0 0.5rem;
}

nav ul li a {
	text-decoration:none;
	color:#2D37C7;
}

article {
	margin-top:2rem;
}

article h2 {
	color:#2D37C7;
	margin-top:0;
}
/*
article.info {
	background-color: #2D37C712;
    border-top: 3px solid #2D37C7;
}*/

article.info h2 {
	padding: 0.25rem 0;
	background-color:#2D37C7;
	color:#fff;
}

article dt {
	color:#2D37C7;
	margin-top:1rem;
	margin-bottom:0.25rem;
	font-weight:bold;
}

article dd {
	margin-left:0;
}

article.info .btn {
	display:flex;
	flex-direction:row;
	flex-wrap:wrap;
	justify-content:space-between;
}

article.info .btn a,article.info .btn a:hover,article.info .btn a:visited {
	background-color:#2D37C7;
	display:inline-block;
	padding:6rem 0.25rem 0.7rem 0.25rem;
	color:#fff;
	text-decoration:none;
	width:15rem;
	box-sizing:border-box;
	text-align:center;
	margin-bottom:0.5rem;
	
}

article.info .btn a.fon {
	background-image:url('img/fon.png');
	background-position:top right;
	background-size:5rem auto;
	background-repeat:no-repeat;
}


article.info .btn a.mail {
	background-image:url('img/mail.png');
	background-position:top right;
	background-size:5rem auto;
	background-repeat:no-repeat;
}

footer {
	background-color:#2D37C7;
	color:#fff;
	width:50rem;
	margin-left: auto;
	margin-right:auto;
	margin-top:3rem;
	height:2rem;
	line-height:2rem;
	font-size:0.8rem;
	box-sizing:border-box;
	padding: 0 1.5rem;
	text-align:right;
}

td, th {
    width: 15%;
    vertical-align: top;
    text-align: left;
}

td + td, th + th {
    width: 68%;
}

td + td + td {
	text-align:right;
}

@media only screen and (max-width: 64rem) {
    header {
 		height:auto;
 		border-width:1.5rem
    }
    
    header img {
    	width:50%;
    	height:auto;
    	padding:15% 0 10% 0;
    }
    
    header div.stones {
    	width: 100%;
    	background-size: 30% auto;
    }
}

@media only screen and (max-width: 50rem) {
	article,nav,footer {
		width:100%;
	}
}

@media only screen and (max-width: 35rem) {
    header {
    	border-width:1rem;
    }
    
    header img {
    	width:80%;
    	height:auto;
    	padding:15% 0 10% 0;
    }
    
    .stones {
    	display:none;
    }
    
    nav ul {
    	flex-direction:column; 
    }
    
    nav ul li {
    	padding: 0.5rem;
    	width:100%;
    }
}