body {
  font-family: 'PT Serif', 'Times New Roman', serif;
  background: #e9ebec;
  margin:0 auto;
  max-width:1057px;
  color: #222222;
  /*overflow-wrap: break-word;
  word-wrap: break-word;*/
  word-break: break-word;
}

::selection { background:lightsteelblue; }
::-moz-selection { background:lightsteelblue; }

p,li { font-size:1.3em; }

ul { padding-left:5px; }
li { padding-top:5px; }

a, a:hover, a:focus {
  color: #2288cc;
  text-decoration:none;
}

a:visited {
  text-decoration:none;
}

.wrap {
  width:70%;
  margin:0 auto;
}

.future {
  border: 1px solid #cccccc;
  border-left-color: #1b809e;
  border-left-width: 5px;
  border-radius: 3px 7px 7px 3px;
  color: #707580;
  padding: 14px 10px 0 17px;
  margin: 10px 0;
}
.future .h4 {
  font-size:2.5em; 
  margin:5px 0 13px; 
  color: #1b809e;
}
.future p { margin:0 0 15px; }


.mono { font-family:'Andale Mono', 'DejaVu Sans Mono', 'Liberation Mono', 'Lucida Console', monospace; }

.nobr {
   white-space: nowrap;
}
.subsup {
   display: inline-block;
   margin: -9em 0;
   vertical-align: -0.55em;
   line-height: 1.15em;
   font-size: 70%;
   text-align: left;
}

sub, sup { font-size:70% }



/* START TOP IMAGE WITH MASHA */
#hello {
  background: url('../images/banner2.jpg') bottom center no-repeat;
  border-radius:5px;
  width:100%;
  height:600px;
  margin-bottom:15px;
  position:relative;
  display:table;
  background-size:cover;
  -webkit-background-size:cover;
  -moz-background-size:cover;
}

#hello h2 {
  margin: 140px 10% 20px;
  max-width:50%;
  color:#dddddd;
  font-size:2.5em;
}

#hello p {
  margin:30px;
  font-size:1.5em;
  max-width:50%;
  color:#dddddd;
}

#hello a {
  color:#eeeeee;
  text-decoration:underline;
}

.center {
  text-align:center;
}

.title {
  text-align:center;
  margin-top:79px;
  font-size:3.0em;
}


/* START-NAV */
.nav {
  font-size:0.9em;
  text-align:center;
  margin:-7px auto -16px;
}
.nav > ul > li {
  display:inline-block;
}
.nav > ul > li.active a{
  color: #ffffff;
  background: #289fd9;
}
.nav > ul > li > a {
  font-family: 'Tahoma', 'Andale Mono', 'DejaVu Sans Mono', 'Liberation Mono', 'Lucida Console',  monospace;
  border-radius:7px 7px 0 0;
  text-decoration:none;
  /*text-transform: uppercase;*/
  display: block;
  font-size: 1.2em;
  color: #444444;
  padding: 0.5em 1em;
  -webkit-transition: 0.5s;
  -moz-transition:    0.5s;
  -o-transition:      0.5s;
  transition:         0.5s;
}
.nav > ul > li > a:hover {
  color: #ffffff;
  background: #289fd9;
}
/* end-nav */


/*  FOOTER  */
.footer {
  font-family: Tahoma, sans-serif;
  padding: 10px 0;
  margin: 87px auto 20px;
}
.footer p {
  color:#9a9a9a;
  text-shadow: 1px 1px 1px #ffffff;
  font-size: 1.0em;
  text-align: center;
}

.totop {
  display:block;
  text-decoration: none;
  position: fixed;
  bottom: 10px;
  right: 10px;
  overflow: hidden;
  border: none;
  text-indent: 100%;
  width:44px;
  height:44px;
  background: url(../images/totop.png) no-repeat right top;
}


/* FONTS AWESOME */

.list-unstyled {
  padding-left: 0;
  list-style: none;
}
.list-inline li {
  display: inline-block;
  padding-right: 5px;
  padding-left: 5px;
  margin-bottom: 10px;
}

.social-icons {
  margin-top:40px;
}
/*Change icons size here*/
.social-icons .fa {
  font-size: 2.3em;
}
/*Change icons circle size and color here*/
.social-icons .fa {
  width:80px;
  height:80px;
  line-height:80px;
  text-align: center;
  color: #ffffff;
  color: rgba(255, 255, 255, 0.8);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition:    all 0.3s ease-in-out;
  -ms-transition:     all 0.3s ease-in-out;
  -o-transition:      all 0.3s ease-in-out;
  transition:         all 0.3s ease-in-out;
}

.social-icons.icon-circle .fa{ border-radius: 50%; }

.social-icons .fa:hover, .social-icons .fa:active {
  color: #ffffff;
  -webkit-box-shadow: 1px 3px 4px #333333;
  -moz-box-shadow:    1px 3px 4px #333333;
  box-shadow:         1px 3px 4px #333333; 
}
.social-icons.icon-zoom .fa:hover, .social-icons.icon-zoom .fa:active { 
   -webkit-transform:  scale(1.15);
  -moz-transform:     scale(1.15);
  -ms-transform:      scale(1.15);
  -o-transform:       scale(1.15);
  transform:          scale(1.15); 
}

.social-icons.icon-rotate .fa:hover, .social-icons.icon-rotate .fa:active { 
  -webkit-transform:  scale(1.1) rotate(360deg);
  -moz-transform:     scale(1.1) rotate(360deg);
  -ms-transform:      scale(1.1) rotate(360deg);
  -o-transform:       scale(1.1) rotate(360deg);
  transform:          scale(1.1) rotate(360deg);
}
 
.social-icons .fa-facebook{background-color:#3C599F;}  
.social-icons .fa-github{background-color:#070709;} 
.social-icons .fa-skype{background-color:#01AEF2;}
.social-icons .fa-twitter{background-color:#32CCFE;} 
.social-icons .fa-vk{background-color:#375474;}
.social-icons .fa-paper-plane{background-color:#289fd9;}


/* padding inside magnific-popup lisakov */
.mfp-content .zoom-anim-dialog  { padding: 15px 25px; } 

@media all and (max-width:1072px){
  #hello { border-radius:0; }
}

@media all and (max-width:750px){

  .mfp-content .zoom-anim-dialog  { padding: 14px 20px; } 
  .mfp-content p  { font-size:1.2em; } 
  .mfp-content h1 { font-size:1.8em; } 
  #hello { background: url('../images/banner2.jpg') 50% 0% no-repeat; height:470px; }
  #hello p{ font-size:1.4em; }
  #hello h2{ font-size:2.3em;
    margin: 50px 10% 20px;
    max-width:60%;
  }
}

@media all and (max-width:650px){
  .nav > ul > li > a { border-radius:0 }
  p,li { font-size:1.25em; }

  .mfp-content .zoom-anim-dialog  { padding: 10px 15px; } 
  .mfp-content p  { font-size:1.1em; } 
  .mfp-content h1 { font-size:1.6em; line-height:1.0em; padding-top:27px;} 
  #hello { background: url('../images/banner2.jpg') 60% 10% no-repeat; height:450px; }
  #hello p{ font-size:1.3em; }
  #hello h2{ font-size:2.0em;
    margin: 50px 10% 20px;
    max-width:60%;
  }
  .wrap { width:80%; }
}

@media all and (max-width:450px){
  p,li { font-size:1.15em; }
  .title { font-size:2.7em; }

  .mfp-container{ padding:0 3px; }
  .mfp-content .zoom-anim-dialog  { padding: 7px 8px; } 
  .mfp-content p  { font-size:1.0em; } 
  .mfp-content h1 { font-size:1.4em; padding-top:25px; } 
  #hello { background: url('../images/banner2.jpg') 75% 25% no-repeat; height:340px; }
  #hello h2, #hello p{ display:none; }
  #hello2 { margin-top:-20px; }
  .wrap { width:90%; }
  ul { padding-left:15px; }
}

@media all and (min-width:450px){
  #hello2 { display:none; }
}

@media all and (max-width:350px){

  .mfp-container{ padding:0 1px; }
  .mfp-content .zoom-anim-dialog  { padding: 5px 3px; } 
  .mfp-content p  { font-size:1.0em; } 
  .mfp-content h1 { font-size:1.4em; } 
  #hello h2, #hello p{ max-width:95%; }
  .wrap { width:95%; }
  ul { padding-left:20px; }
}

