@import 'https://fonts.googleapis.com/css?family=Suez+One';
body {background: #fafafa}

/* Стили для формы авторизации в панели администратора */
header {
	width: 100%;
	float: left;
}

#backButton {
	float: left;
	margin-top: 20px;
	margin-left: 20px;
	margin-right: 50px;
	background: #f4f4f4;
	padding: 10px 20px;
	border-radius: 50px;
    color: grey;
    border: 1px solid silver;
}

#backButton:hover {
	background: #eaeaea;
	color: #666666;
}

.headBtn:hover {
	background-color: #c95b45;
	border-color: #ba4c36;
}

.headBtn:active {
	margin-top: 22px;
}

.headBtn {
	margin-top: 20px;
	float: right;
	margin-right: 1%;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	padding: 8px;
	border-radius: 10px;
	font-size: 1em;
	cursor: pointer;
	border: 2px solid #c95b45;
	background-color: #DC6D57;
	color: white;
}

#wrapper {
	height: 100%;
	width: 100%;
}

#form_auth>form:last-of-type {
	display: none;
}

#form_auth>.logoSite {
	color: #3a3a3a;
	font-size: 3em;
	margin-bottom: 10px;
	display: inline-block;
	font-family: 'Suez One', serif;
}

#form_auth>.logoSite small {
	font-size: 0.7em;
	color: #4a4a4a;
}

@media (min-width: 1151px) {
	#form_auth {
		width: 25%;
		margin-left: 37.5%;
		padding-top: 15%;
		text-align: center;
	}
}

@media (max-width: 1150px) and (min-width: 900px) {
	#form_auth {
		width: 40%;
		margin-left: 30%;
		padding-top: 15%;
		text-align: center;
	}
}

@media (max-width: 899px) and (min-width: 581px) {
	#form_auth {
		width: 50%;
		margin-left: 25%;
		padding-top: 15%;
		text-align: center;
	}
}

@media (max-width: 580px) {
	#form_auth {
		width: 90%;
		margin-left: 5%;
		padding-top: 20%;
		text-align: center;
	}
}
		
#send, #sendPass {
	border: 2px solid #c95b45;
	padding: 10px 8%;
	border-radius: 10px;
	background-color: #DC6D57;
	color: white;
	font-size: 1.1em;
	cursor: pointer;
	margin-bottom: 40px;
}

#send:hover, #sendPass:hover {
	background-color: #c95b45;
	border-color: #ba4c36;
}

#form_auth>form>input {
	background: #ffffff;
	width: 100%;
	padding: 10px 2%;
	font-size: 1.1em;
	margin-bottom: 10px;
	border: 2px solid silver;
	border-radius: 7px;
	color: #4a4a4a;
}

#form_auth>form>input:focus {
	border: 2px solid #747474!important;
}

#form_auth span {
	display: inline-block;
	margin-bottom: 10px;
	float: left;
	float: right;
	margin-left: 25px;
}

#form_auth span a {
	color: grey;
}

#form_auth span a:hover {
	text-decoration: underline;
}

#form_auth input[type='checkbox'] {
	float: left;
	width: 30px;
	margin-top: 10px;
}

#form_auth label {
	color: #7c7c7c;
	font-size: 0.8em;
	float: left;
	margin-top: 10px;
	margin-bottom: 20px;
}

#form_auth label a {color: #7c7c7c; text-decoration: underline}
#form_auth label a:hover {color: #515050}

#form_auth #mess {
	margin-top: 10px;
	color: #c95b45;
}

/* Стили для основной панели администратора */
.adminHead {
	margin-bottom: 20px;
	background: #f4f4f4;
	padding-bottom: 10px;
	border-bottom: 1px solid silver;
	-webkit-box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.14);
	-moz-box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.14);
	box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.14);
}

.adminHead img {
	float: left;
	margin-left: 7%;
}

@media(min-width: 1501px) {
	.adminHead img {	
		margin-top:12px;
		width: 50px;
		height: 50px;
	}
}

@media(max-width: 1500px) {
	.adminHead img {	
		margin-top: 10px;
		width: 45px;
		height: 45px;
	}
}

.adminHead .logoSite {
	color: #3a3a3a;
	font-size: 2.3em;
	margin-top: 10px;
	margin-left: 10px;
	display: inline-block;
	font-family: 'Suez One', serif;
}

.adminHead a {
	float: right!important;
	width: 230px!important;
	text-align: center
}

@media (min-width: 1100px) {
	main {
		width: 60%;
		margin: 20px 5% 20px 10%;
		float: left;
	}
	
	aside {
		width: 20%;
	}
}

@media (max-width: 1099px) and (min-width: 830px) {
	main {
		width: 68%;
		margin: 20px 2% 20px 2%;
		float: left;
	}
	
	aside {
		width: 27%;
	}
}

@media (max-width: 829px) {
	main {
		width: 95%;
		margin: 20px 2.5% 20px 2.5%;
		float: left;
	}
	
	aside {
		width: 90%;
		margin-left: 5%
	}	
}

main>h2 {
	margin-bottom: 20px;
	font-size: 2.2em;
	color: #585858;
	font-family: 'Roboto Slab', serif;
}

#allWebSites {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	float: left;
	justify-content: space-between;
}

aside {
	float: left;
	margin-top: 20px;
}

#newWebSite {
	width: 100%;
	margin-bottom: 20px;
	text-align: center;
	font-size: 2em;
	color: #5f5f5f;
	border-radius: 10px;
	background: #f4f4f4;
	padding: 20px 3%;
	border: 1px solid silver;
	cursor: pointer;
	-webkit-box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.14);
	-moz-box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.14);
	box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.14);
}

#newWebSite:hover {
	background: #f1f1f1;
	-webkit-box-shadow: inset 0px 0px 2px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: inset 0px 0px 2px 0px rgba(0,0,0,0.75);
	box-shadow: inset 0px 0px 2px 0px rgba(0,0,0,0.75);
}

#newWebSite:active {
	-webkit-box-shadow: inset 0px 0px 7px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: inset 0px 0px 7px 0px rgba(0,0,0,0.75);
	box-shadow: inset 0px 0px 7px 0px rgba(0,0,0,0.75);
}

@media (min-width: 600px) {
	.userWebSite {
		width: 47.5%;
	}
}

@media (max-width: 599px) {
	.userWebSite {
		width: 100%;
	}
	
	#allWebSites {
		flex-direction: row;
	}
}

.userWebSite {
	margin-bottom: 20px;
	font-size: 1em;
	color: #5f5f5f;
	border-radius: 10px;
	background: #fbfbfb;
	padding: 10px 2%;
	border: 1px solid #cfcfcf;
}

.userWebSite > h3 {
	font-size: 1.5em;
	border-bottom: 2px solid #e2e2e2;
	padding-bottom: 5px;
}

.userWebSite img {
	width: 16px;
	float: right;
	margin: 5px;
}

.userWebSite a {
	color: #000000;
}
	
.userWebSite a:hover {
	color: #CE725D;
}
	
.userWebSite a > span {
	color: #ea8c8c;
	font-weight: bold;
}

.userWebSite i {
	margin-top: 10px;
	margin-right: 15px;
	font-size: 1.3em;
	color: #88B5CD;
	position: relative;
}

.userWebSite i:hover {
	color: #34789c;
}

main>.form_blocks>h3 {
	margin-bottom: 10px;
	font-size: 1.2em;
	color: #515151;
	font-weight: lighter;
}

main>.form_blocks>p {
	color: #747474;
	font-family: 'Roboto Slab', serif;
	font-size: 0.9em;
	margin-bottom: 10px;
}

@media (min-width: 560px) {
	main>.form_blocks {
		width: 50%;
		float: left;
	}
}

@media (max-width: 559px) {
	main>.form_blocks {
		width: 100%;
		text-align: center;
	}
	
	main>.form_blocks>.btn {
		margin: 10px auto;
	}
}

main>.form_blocks>input {
	margin-bottom: 10px;
	width: 60%;
	font-size: 1em;
	padding: 10px;
	background-color: white;
	background: #ffffff;
	border: 2px solid silver;
	border-radius: 7px;
	color: #4a4a4a;
	
}

main>.form_blocks>input:focus {
	border: 2px solid #747474!important;
}

main>.form_blocks>.btn {
	width: 150px;
	padding: 10px;
	margin-bottom: 10px;
	text-align: center;
	float: none;
}

aside .btn {
	width: 100%;
}

.btn {
	border: 0;
	padding: 15px 2%;
	background-color: #DC6D57;
	color: white;
	font-size: 1.1em;
	cursor: pointer;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border: 2px solid #c95b45;
}

.btn:hover {
	background-color: #c95b45;
	border-color: #ba4c36;
}

#feedback {
	width: 100%;
	margin-top: 20px;
	text-align: center;
}

#feedback>h2 {
	font-size: 1.8em;
	color: #585858;
	text-align: left;
	margin-left: 5%;
	font-family: 'Roboto Slab', serif;
}

#feedback>p {
	text-align: left;
	width: 90%;
	margin-left: 5%;
	display: inline-block;
	font-size: 0.9em;
	color: #696969;
}

#feedback>textarea {
	margin-top: 10px;
	width: 90%;
	margin-left: 5%;
	border-radius: 5px;
	border: 2px solid #c4c4c4;
	font-size: 0.9em;
	padding: 10px;
	background-color: white;
	resize: vertical;
	max-height: 200px;
	min-height: 70px;
}

#feedback textarea:focus {
	border: 2px solid #747474!important;
}

#sendFeedback {
	margin-top: 10px;
	width: auto;
	padding: 3% 5%;
	margin-bottom: 20px;
}

/* Стили для вкладки с письмами */
#letters {
	width: 96%;
	background-color: #fafafa;
	padding: 15px 2%;
	border-radius: 5px;
	border: 1px solid silver;
	float: left;
}

#letters>a:first-of-type {
	display: block;
	margin-bottom: 10px;
}

.letter {
	width: 95%;
	margin: 10px 2.5%;
	float: left;
	background-color: #f3f3f3;
	box-sizing: border-box;
	box-sizing: padding-box;
	padding: 15px;
	border-radius: 5px;
	border-left: 4px solid #dadada;
}

.letter.not_readed {
	background: #d2f6e1;
	border-color: #8fefb7;
}

.letter.not_readed:hover {
	background: #a9efc6;
	border-color: #8de5b1;
}

.letter:hover {
	background-color: #f0f0f0;
	cursor: pointer;
}

.letter>.subject {
	font-size: 1.3em;
	float: left;
}

.letter>.date {
	float: right;
}

.hiddenLetter {
	float: left;
	display: none;
	width: 100%;
}

.hiddenLetter>span {
	padding: 10px 0px;
	border-bottom: 1px solid silver;
	float: left;
	width: 100%;
	margin-top: 10px;
}

.hiddenLetter>span:last-of-type {
	border: 0;
	padding-bottom: 0;
}

.hiddenLetter i {
	color: #bd5050
}

footer {
	width: 100%;
	float: left;
	padding-bottom: 40px;
	padding-top: 30px;
}

footer > center > h5 {
	max-width: 700px;
	font-family: 'Roboto Slab', serif;
	color: #585858;
}

@media (min-width: 401px) {
	footer > center > h5 {font-size: 3em}
}

@media (max-width: 400px) {
	footer > center > h5 {font-size: 2em}
}

#form_input label {
	color: #505050;
	cursor: pointer;
	font-size: 1.4em;
	font-family: 'Roboto Slab', serif;
}

#form_input label > span {
	color: #e87e7e;
}

#form_input .hint {
	color: #747474;
	font-family: 'Roboto Slab', serif;
	font-size: 0.8em;
}

@media (min-width: 800px) {
	#form_input {
		margin-top: 15px;
		width: 35%;
		margin-left: 32.5%;
	}
}

@media (max-width: 799px) {
	#form_input {
		margin-top: 15px;
		width: 90%;
		margin-left: 5%;
	}
}

#message:focus {border-color: #747474!important;}

#message {
	width: 96%;
	margin-top: 10px;
	padding: 10px 2%;
	border-radius: 7px;
	border: 2px solid silver;
	font-size: 0.9em;
	color: #4a4a4a;
	resize: none;
	height: 150px;
}

#mess_send {
	float: none; 
	width: auto;
	display: inline-block;
	cursor: pointer;
	margin-top: 15px;
}

footer > hr {
    float: left;
    margin-top: 80px;
    border-color: gainsboro;
}

@media (min-width: 601px) {
	footer > hr {
		width: 50%;
	    margin-left: 25%;
	}
}

@media (max-width: 600px) {
	footer > hr {
		width: 80%;
	    margin-left: 10%;
	}
}

footer > .bottom {
	margin-top: 40px;
	width: 80%;
	margin-left: 10%;
}

footer > .bottom > .socialBottom {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

footer > .bottom > .socialBottom a {
	border-radius: 50%;
	margin-bottom: 10px;
	margin-right: 20px;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	width: 50px;
	height: 50px;
	float: left;
	text-align: center;
	line-height: 50px;
	font-size: 1.26em;
	border: 1px solid silver;
}

footer > .bottom > .socialBottom .vk {
	background: #4273AA;
	color: white;
	border-color: #1d436e;
}

footer > .bottom > .socialBottom .fb {
	background: #425FB4;
	color: white;
	border-color: #2244a6;
}

footer > .bottom > .socialBottom .twitter {
	background: #009DF6;
	color: white;
	border-color: #007fc8;
}

footer > .bottom > .socialBottom .yt {
	background: #FF0000;
	color: white;
	border-color: #b10000;
}

footer > .bottom > .socialBottom .telegram {
	background: #00AEF1;
	color: white;
	border-color: #0081b4;
}

footer > .bottom > .socialBottom a:hover {
	border-color: silver;
	color: #494949;
	background-color: rgba(235, 235, 235, 1);
}

footer > .bottom > .emailBottom {float: left}
footer > .bottom > .rulles {float: right}
footer > .bottom > .emailBottom > a, footer > .bottom > .rulles > a, footer > .bottom > .emailBottom {color: #505050} 

footer > .bottom > .emailBottom > a:hover, footer > .bottom > .rulles > a:hover {
	text-decoration: underline;
}