/*
 * Theme Name:     Tomorrow/2morrow
 * Theme URI:      http://www.2morrow.ru/
 * Description:    Theme for Tomorrow website based on Twenty Twelve
 * Author:         D.
 * Author URI:     http://www.hearthink.com/
 * Template:       twentytwelve                             
 * Version:        0.1.0
*/

@import url("../twentytwelve/style.css");



/* Links color */
body.custom-font-enabled {
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
}
a {
	outline: none;
	color: #333;
  text-decoration: none;
  -webkit-transition:color 0.2s ease-in;  
  -moz-transition:color 0.2s ease-in;  
  -o-transition:color 0.2s ease-in;  
  transition:color 0.2s ease-in;  
}
a:hover {
	color: #5e90af;
}

/* Entry header */
.entry-header {
  text-rendering: optimizelegibility;
  font: "Georgia",serif;
  margin-bottom: 15px;
}

.entry-header h1 a {
  text-decoration: none;
}


/* Website title */
.site-title a {
  color: #111;
  font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 45px;
  line-height: 45px;
  letter-spacing: -5px;
  font-weight: bold;
  text-decoration: none;
}
.site-header {
  background-color: #222;
  text-align: center;
	padding: 30px 10px;
}
.site-header img {
  display: inline-block;
  vertical-align: middle;  
}

.site-header h1 {
  color: #FFFFFF;
	font-family: "Roboto",sans-serif;
  font-size: 60px;
  font-weight: 200;
  line-height: 60px;
  margin-bottom: 40px;
  text-align: center;
}
.site-header h2 {
  color: #CCCCCC;
	font-family: "Roboto",sans-serif;
  font-size: 34px;
  font-weight: 100;
  line-height: 34px;
  margin-top: 36px;
  padding-left: 178px;
  text-align: center;
}

.site-header .eng {
  padding-left: 142px;
}

.header-image {
  margin-top: 0px;
}
hgroup {
  padding-left: 20px;
  padding-right: 20px;
}

/* No hyphens in article */
.site-content article {
	border-bottom: 1px solid #444;
  margin-bottom: 40px;
	word-wrap: normal;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	hyphens: none;
}

/* Site, content and widget area sizes */
.site-content {
  width: 100%;
  margin: 0;
}

body {
/*  background: url(http://www.hearthink.com/wp/wp-content/uploads/2013/08/words.jpg) repeat #fff;*/
}
body .site {
  padding-left: 0px;
  padding-right: 0px;
  background-color: #fff;
  color: #000;
}

.wrapper {
 /* padding-left: 20px;
  padding-right: 20px;*/
}

/* Announcement page */
.language-bar {
  text-align: left;
  margin-bottom: 10px;
  margin-top: 10px;
  margin-left: 50px;
}
.language-flag {
  vertical-align: middle;
}
.blue {
  background-color: #5e90af;
}
.red {
  background-color: #ED5545;
}
.green {
  background-color: #799326;
}
.header {
  color: #fff;
  margin: 0;
	font-size: 38px;
	font-family: "Roboto",sans-serif;
	text-align: left;
	line-height: 38px;
  padding: 10px 50px;
}
.header .title {
  display: inline-block;
  vertical-align: top;
  text-transform: uppercase;
	font-weight: bold;
  width: 40%;
}
.header .logo {
  display: inline-block;
  vertical-align: top;
  text-align: right;
}
.header .logo img {
  height: 38px;
  vertical-align: middle;
  padding-right: 10px;
}
.plaintext {
	color: #000;
	font-size: 18px;
	text-align: left;
	line-height: 18px;
	font-family: "Roboto",sans-serif;
	font-weight: 300;
  padding: 30px 50px;
}

.hugetext {
  font-size: 72px; 
  line-height: 72px; 
  font-style: italic;
}

.bigtext {
	font-size: 36px;
	line-height: 36px;
}

.redtext {
  color: #d81010;
}

.left {
  display: inline-block;
  width: 65%;
  vertical-align: top;
	font-family: 'Roboto', sans-serif;
	font-weight: bold;
	color: white;
  padding-left: 20px;
}

.right {
  display: inline-block;
  vertical-align: top;
}

.social {
  padding: 10px 50px;
  background-color: #222;
  text-align: center;  
}

.facebook {
  display: inline-block;
  vertical-align: middle;
}
.vkontakte {
  margin-left: 20px;
  display: inline-block;
  vertical-align: middle;
}


.announce-title {
	border-bottom: 54px solid #6483A0;
	height: 28px;
	display: inline-block;
	margin: 10px 0px 20px 0px;
	font-size: 48px;
	vertical-align: middle;
	text-align: left;
	line-height: 36px;
	font-family: "Roboto",sans-serif;
	font-weight: bold;
	font-style: italic;
  width: 100%;
}
.whitetext {
	color: white;
	padding-left: 20px;
	padding-right: 20px;
}
.blacktext {
	color: black;
	padding-left: 20px;
	padding-right: 20px;
}
.history-items {
	color: black;
	font-size: 18px;
	vertical-align: middle;
	text-align: left;
	line-height: 18px;
	font-family: "Roboto",sans-serif;
	font-weight: 300;
/*	font-style: italic;*/
	padding-left: 50px;
	padding-top: 15px;
	padding-right: 50px;
}
.black {
	color: black;
}
.white {
	color: white;
}
.quote {
	font-style: italic;
}
.author {
	font-style: normal;
	text-align: right;
	padding-bottom: 20px;
}
.last {
	padding-bottom: 50px;
}

#carousel li {margin-right: 5px;}
#carousel img {display: block; opacity: .5; cursor: pointer;}
#carousel img:hover {opacity: 1;}
#carousel .flex-active-slide img {opacity: 1; cursor: default;}

.flexslider {
  border-radius: 0px;
}

.flexslider .slides li {
  position:relative;
}

.flex-caption {
  color: #fff;
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.7);
  z-index:1;
  padding:5px;
}

img.header-image {
  border-radius: 0px;
  box-shadow: none;
}

#colophon {
  color: #fff;
  padding-left: 50px;
  padding-right: 50px;
  font-size: 0.95rem;
  line-height: 18px;
  background-color: #222;
  border-top: none;
  margin-top: 0;
}

#colophon a {
	outline: none;
	color: #999;
  text-decoration: none;
  -webkit-transition:color 0.2s ease-in;  
  -moz-transition:color 0.2s ease-in;  
  -o-transition:color 0.2s ease-in;  
  transition:color 0.2s ease-in;  
}
#colophon a:hover {
	color: #5e90af;
}

.footer-left {
  display: inline-block;
  vertical-align: top;
  width: 50%;
}
.footer-right {
  display: inline-block;
  vertical-align: top;
  text-align: right;
  width: 49%;
}
.social-buttons {
  line-height: 32px;
}
.form {
  background-color: #eee;
  margin-bottom: 30px;
  padding-bottom: 30px;
}
.pform {
  text-align: center;
  width: 400px;
  font-size: 16px;
  line-height: 16px;
  font-family: "Roboto",sans-serif;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
}
.pform .title {
  text-align: left;
}
.pform input[type="text"],
.pform input[type="email"] {
  width: 100%;    
  padding: 5px 0;
  margin: 5px 0;
}
.pform input[type="submit"] {
  font-size: 16px;
  color: #000;
  margin: 10px 0;
}
.agreement {
  font-size: 12px;
  line-height: 12px;
}
.agreement a {
  text-decoration: underline;
}

@font-face {
  font-family: 'SocialIcons';
  src: url('font/social-icons.eot');
  src: url('font/social-icons.eot?#iefix') format('embedded-opentype'),
       url('font/social-icons.woff') format('woff'),
       url('font/socila-icons.ttf') format('truetype'),
       url('font/socila-icons.svg#EntypoRegular') format('svg');
  font-weight: normal;
  font-style: normal;
}

.socialpict {
  font-family: 'SocialIcons';
  font-size: 26px;
  padding-left: 5px;
}
.vk {
  font-size: 24px;
}

.peoples {
  display: inline-block;
  padding: 10px;
  margin-bottom: 30px;
  background-color: #000;
}
.peoples li {
  display: block;
  float: left;
  position:relative;
}
.people {
  color: #fff;
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
  bottom: 0;
  left: 0;
  padding: 5px;
  position: absolute;
  right: 0;
  z-index: 1;
}

@media screen and (min-width: 960px) {
	body {
		background-color: #e6e6e6;
	}
	body .site {
		margin-top: 0px;
		margin-bottom: 0px;
	}
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .left {
    display: block;
    margin-left: 26px;
    width: 90%;
  }
  .right {
    display: block;
    margin-top: 30px;
    margin-left: 26px;
    padding-left: 20px;
    width: 90%;
  }
  .peoples {
    padding-left: 48px;
  }
  .header {
    font-size: 30px;
    line-height: 30px;
  }
  .header .title {
    width: 36%;
  }
  .header .logo img {
    height: 34px;
  }
}

@media only screen and (max-width: 480px) {
  .wrapper {
    margin-bottom: 0px;
  }
  .site-header {
    background-color: #222;
    text-align: center;
    padding: 20px 10px;
  }
  .site-header h1 {
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 20px;
  }
  .site-header h2 {
    font-size: 17px;
    line-height: 17px;
    margin-top: 16px;
    padding-left: 90px;
  }
  .site-header .eng {
    padding-left: 68px;
  }
  .language-bar {
    margin-left: 20px;
  }
  .hugetext {
    font-size: 38px; 
    line-height: 38px; 
  }
  .bigtext {
    font-size: 18px;
    line-height: 18px;
  }
  .announce-title {
    height: 22px;
    font-size: 30px;
    line-height: 26px;
      }
  .left {
    display: block;
    padding-left: 5px;
    width: 100%;
  }
  .right {
    display: block;
    width: 100%;
    padding-left: 7px;
  }
  .social {
    padding: 10px 10px;
  }
  .facebook {
    display: block;
    margin-bottom: 10px;
  }
  .vkontakte {
    display: block;
    width: 100%;
    margin-left: 7px;
  }
  .header {
    font-size: 30px;
    line-height: 30px;
  }
  .header .title {
    display: block;
    width: 100%;
    text-align: center;
  }
  .header .logo {
    display: block;
    width: 100%;
    text-align: center;
  }
  .header .logo img {
    height: 30px;
    padding-right: 0px;
    padding-top: 5px;
  }
  .header .logo .text {
    font-size: 26px;
    line-height: 26px;
  }
  .plaintext {
    padding-left: 20px;
    padding-right: 20px;
  }
  .peoples {
    padding-left: 25px;
  }
  #colophon {
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer-left {
    display: block;
    width: 100%;
  }
  .footer-right {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 30px;
  }
  .pform {
    font-size: 18px;
    line-height: 22px;
    width: 280px;
  }  
}

