/* CSS Document for Screens */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,700,700italic);

body {font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 300; color: #555; margin: 0; padding: 0;}

#page {max-width: 1200px; margin: 0 auto; position: relative;}

/* TEXT */
h1 {margin: 0 0 1em 0; font-size: 3.2em; font-weight: 700;}
h2 {margin: 0 0 .5em 0; font-size: 1.6em; font-weight: 700; line-height: 1.1em;}
h3 {margin: 0 0 .5em 0; font-size: 1.3em; font-weight: 700;}
h4 {margin: 0 0 1.5em 0; font-size: 1em; font-weight: 700;}
p {margin: 0 0 1em 0;}

a {color: #007eff;}
a:visited {color: #65b1ff;}

::selection {color: #fff; background: #00b294;}

a.btn {font-size: 1.2em; text-decoration: none; color: #fff; border: 1px solid #fff; padding: 5px 15px; transition: background .5s;}
a.btn:hover {background: rgba(0,0,0,.3);}
a.btn_green {font-size: 1.2em; text-decoration: none; color: #fff; background: #00b294; padding: 5px 20px; transition: background .5s;}
a.btn_green:hover {background: #006a58;}
a.black {font-size: 1.2em; text-decoration: none; color: #000; font-weight: 700;}
a.black:hover {border-bottom: 2px solid #000;}

/* HEADER */
header {height: 460px; background: #00b294 url(../images/hero_land.jpg) no-repeat center bottom;}
header.about {background: url(../images/hero_description.jpg) no-repeat center bottom;}
header.services {background: url(../images/hero_services.jpg) no-repeat center bottom;}
header.help {background: url(../images/hero_help.jpg) no-repeat center bottom;}
header.contact {background: url(../images/hero_map.jpg) no-repeat center bottom;}

header a.logo {
  z-index: 2;
  position: absolute;
  display: block; width: 330px; height: 47px;
  background: url(../images/logo.svg) no-repeat 0 0; background-size: contain;
  top: 20px; left: 20px;
}
header a.logo span {display: none;}

header div.hero {position: absolute; width: 46%; top: 180px; left: 50%;}
header.about div.hero {width: 46%; top: 185px; left: 10%;}
header.services div.hero {width: 46%; top: 185px; left: 10%;}
header.help div.hero {width: 46%; top: 185px; left: 10%;}
header.contact div.hero {width: 46%; top: 160px; left: 65%;}
header div.hero h1 {line-height: 1em; margin: 0 0 30px 0; color: #fff; text-shadow: 1px 1px 2px rgba(0,0,0,.5);}
header.help div.hero h1 {color: #333;}

/* SECTION: All */
section {padding: 0 30px;}
section::after {content: ''; display: block; clear: both;}

/* SECTION: Main */
section.main {margin-top: 20px; margin-bottom: 30px; padding: 0;}
section.main aside {width: 33%; float: left; text-align: center;}
section.main .content {margin: 15px; background: no-repeat center top; background-size: 75px 75px; padding-top: 85px;}

section.main aside h3 a {color: #000; text-decoration: none;}
section.main aside h3 a:hover {text-decoration: underline;}

section.main aside .content.one {background-image: url(../images/icon_honesty.svg);}
section.main aside .content.two {background-image: url(../images/icon_gear.svg);}
section.main aside .content.three {background-image: url(../images/icon_umbrella.svg);}

section.main article {width: 92%; margin: 0 auto; padding: 32px 16px; text-align: justify;}
section.main article h2 {color: #000; text-decoration: none;}
section.main article h3 {color: #000; text-decoration: none;}
section.main article.help {text-align: center;}
section.main article div.right {float: right; padding: 20px 86px 32px 32px}

/* SECTION: Promo */
section.promo {background: #00b294; padding-top: 30px; padding-bottom: 30px; color: #fff;}
section.promo article {padding: 0 20px 0 515px; background: url(../images/pic_promo.jpg) no-repeat 0 5px; min-height: 220px;}

/* SECTION: More */
section.more {background: #ccc; position: relative;}
section.more aside {width: 30%; float: left; margin-right: 10px;}
section.more aside .content {padding: 30px 30px 20px 0;}
section.more aside .content img {display: block; margin-bottom: 15px; width: 70%;}
section.more aside .content h4 {margin-bottom: 0;}
section.more aside .content p {margin-bottom: .5em;}
section.more aside .content a {display: inline-block; color: #00b294; font-weight: 700;}
section.more article {padding: 5%;}

section.more blockquote {
  margin: 0; width: 32%;
  color: #444;
  background: #fff;
  position: absolute; bottom: 0; right: 4%;
}
section.more blockquote p {margin: 30px 30px 20px 50px;}
section.more blockquote p.quote {font-style: italic; font-size: 1.2em;}
section.more blockquote p.credit {
  color: #777;
  font-size: .9em; margin-top: 0; padding-left: 20px; line-height: 1.3em;
  position: relative;
}

section.more blockquote::before {
  content: '\201c'; color: #00b294;
  position: absolute;
  top: 10px; left: 8px;
  font-size: 5em;
  font-family: serif;
}
section.more blockquote p.quote::after {content: '\201d'; font-family: serif;}
section.more blockquote p.credit::before {content: '\2014'; position: absolute; top: -1px; left: 0;}
section.more div.contact {padding: 30px 0px;}

/* SECTION: Services */
section.services {position: relative;}
section.services aside {width: 33%; float: left; text-align: center;}
section.services .content {margin: 15px; background: no-repeat center top; background-size: 75px 75px; padding-top: 85px;}

section.services aside .content.one {background-image: url(../images/icon_star.svg);}
section.services aside .content.two {background-image: url(../images/icon_marker.svg);}
section.services aside .content.three {background-image: url(../images/icon_gear.svg);}

section.services article {margin: 0 auto; padding: 32px 16px; text-align: justify;}
section.services article h2 {color: #000; text-decoration: none; text-align: center;
  margin-top: 30px; line-height: 1.2em;}
section.services article h3 {color: #000; text-decoration: none; line-height: 1.2em; padding-top: 16px; padding-bottom: 6px;}
section.services article div {padding: 32px 16px; color: #333; clear: both;}
section.services article div.part {padding: 32px 16px; color: #333;border-bottom: 2px solid #000; border-top: 2px solid #000;}
section.services article div.part h3 {color: #333;}
section.services article table {width: 40%; margin: 0px auto;
  font-size: 1.2em; text-align: center; color: #333;}
section.services article table td {padding: 5px 15px; transition: background .5s;}
section.services article table td:hover {color: #fff; background: #00b294;}
section.services article div.tech {width: 100%; height: 630px; background: url(../images/tehnologii.png) no-repeat; background-size: contain;}

section.services article div.office365 {width: 100%; height: 300px; position: relative;
  background: url(../images/h_office365.png) no-repeat center bottom; background-size: contain;}
section.services article div.office365 h1 {line-height: 1.2; font-size: 4em; color: #fff; position: relative; top: 156px; text-align: left;}

section.services article div.virtual {width: 100%; height: 300px; position: relative;
  background: url(../images/h_virtual.png) no-repeat center bottom; background-size: contain;}
section.services article div.virtual h1 {line-height: 1.2; font-size: 4em; color: #fff; position: relative; top: 172px; text-align: left;}

section.services aside .content.one {background-image: url(../images/icon_help.svg);}
section.services aside .content.two {background-image: url(../images/icon_structure.svg);}
section.services aside .content.three {background-image: url(../images/icon_monitoring.svg);}

/* SECTION: Contact */
section.contact {position: relative;}
section.contact aside {width: 50%; float: left;}
section.contact ul {list-style: none; padding-left: 0px;}
section.contact table {padding-top: 64px; padding-left: 5%; font-size: 1.1em;}
section.contact table td{width: 150px; text-align: left;}


/* NAVIGATION */
nav {
  z-index: 1;
  background: rgba(0,0,0,.6);
  position: relative;
  padding: 30px 0 0 0;
  font-size: 1.2em;
}
nav::after {content: ''; display: block; clear: both;}

nav a.mobile_menu {
  width: 32px; height: 32px;
  background: url(../images/icon_menu.svg) no-repeat 0 0;
  background-size: contain;
  position: absolute; top:14px; left: 90%; margin-left: -16px;
  display: none; 
}

nav ul {list-style: none; margin: 0; padding: 0;}

nav ul li a {
  display: inline-block;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  width: 125px;
  position: relative;
}
nav ul li a:visited {color: #fff;}
nav ul li a:hover {background: #00b294;}

nav ul ul {position: absolute; top: 100%; background: #333; display: none;}
nav ul ul li {position: relative;}
nav ul ul ul {left: 100%; top: 0px;}

/* NAVIGATION: Top Level */
nav > ul {padding-left: 400px;}
nav > ul > li {float: left;}
nav > ul > li> a {width: auto; padding: 12px 24px 16px 24px; transition: background .5s;}


/* FOOTER */
footer {font-size: .8em; margin: 40px; color: #999;}
footer .content {display: inline;}
footer a {margin-left: 30px; color: #777;}
footer a:visited {color: #777;}
footer a:hover {color: #000;}

/* MEDIA QUERIES -------------------------------------------------*/

@media screen and (max-width: 1025px) { /*-----------------------*/
  h1 {font-size: 2.4em;}
  
  /* Header */
  header a.logo {width: 282px; height: 42px;}
  header div.hero {left: 56%;}
  header.about div.hero {left: 16%;}
  header.services div.hero {left: 16%;}
  header.help div.hero {left: 16%;}
  header div.hero h1 {margin-bottom: 20px;}
  header.about div.hero h1 {font-size: 2.8em;}
  header.services div.hero h1 {font-size: 2.8em;}
  header.help div.hero h1 {font-size: 2.8em;}
  
  /* Section: Promo */
  section.promo article {padding-left: 400px; background-size: 375px auto;}
  section.services article div.office365 {height: 200px;}
  section.services article div.office365 h1 {font-size: 3em; top: 96px;}
  section.services article div.virtual {height: 200px;}
  section.services article div.virtual h1 {top: 96px;}
  
  /* Navigation */
  nav {font-size: 1em;}
  nav > ul {padding-left: 340px;}
  nav > ul > li> a {padding: 12px 18px 16px 18px;}
}/*---------------------------------------------------------------*/

@media screen and (max-width: 825px) { /*-----------------------*/
  h1 {font-size: 1.8em;}
  h2 {font-size: 1.4em;}
  h3 {font-size: 1.1em;}
  a.btn {font-size: 1em;}
  
  /* Header */
  header {height: 300px; background-image: url(../images/hero_land_825.jpg);}
  header.about {background-image: url(../images/hero_description_825.jpg);}
  header.services {background-image: url(../images/hero_services_825.jpg);}
  header a.logo {width: 265px; height: 42px;}
  header div.hero {top: 150px; left: 48%;}
  header.about div.hero {top: 160px; left: 10%;}
  header.services div.hero {top: 160px; left: 10%;}
  header.about div.hero h1 {font-size: 2.2em;}
  header.contact div.hero h1 {font-size: 2.4em;}
  header.services div.hero h1 {font-size: 2.2em;}
  header.services div.hero P {font-size: .8em;}
  
  /* Section: Main */
  section.main {margin-top: 10px; margin-bottom: 10px;}
  section.main aside div.content {background-size: 55px 55px; padding-top: 60px;}
  /* Section: promo */
  section.promo article {padding-left: 325px; background-size: 300px auto;}
  /* Section: More */
  section.more aside div.content img {width: 85%;}
  section.more blockquote p.quote {font-size: 1.1em; line-height: 1.2em;}
  section.more blockquote p.credit {font-size: .85em;}
  /* Section: Services */
  section.services {margin-top: 10px; margin-bottom: 10px;}
  section.services aside {width: 100%; float: none; text-align: left;}
  section.services aside div.content {
    margin: 8px 20px 8px 0px;
    padding: 5px 0px 10px 85px;
    background-size: 50px 50px;
    background-position: 20px 5px;
  }
  section.services article table {width: 90%;}
  section.services article div.tech {height: 400px;}
  section.services article div.office365 {height: 120px;}
  section.services article div.office365 h1 {font-size: 2em; top:36px;}
  section.services article div.virtual {height: 120px;}
  section.services article div.virtual h1 {font-size: 3.2em;top: 38px;}
  /* Navigation*/
  nav {padding-top: 70px;}
  nav > ul {padding-left: 16px;}
}/*---------------------------------------------------------------*/

@media screen and (max-width: 625px) { /*-----------------------*/
  h1 {font-size: 1em;}
  h3 {margin-bottom: 0px;}
  a.btn {font-size: .9em;}
  
  /* Header */
  header {height: auto; min-height: 160px; background-image: url(../images/hero_land_625.jpg); background-position: left top;}
  header.about {background-image: url(../images/hero_description_625.jpg);}
  header.services {background-image: url(../images/hero_services_625.jpg);}
  header a.logo {
    width: 202px; height: 32px;
    left: 10px; top: 16px;
  }
  header div.hero {width: 300px; top: 80px; left: 120px;}
  header.about div.hero {width: 380px; top: 90px; left: 60px;}
  header.services div.hero {width: 380px; top: 90px; left: 60px;}
  header.help div.hero {width: 380px; top: 90px; left: 60px;}
  header.contact div.hero {width: 380px; top: 90px; left: 260px;}
  header div.hero h1 {margin-bottom: 10px;}
  header div.hero h1 span {display: none;}
  header.about div.hero h1 {font-size: 1.8em;}
  header.services div.hero h1 {font-size: 1.8em;}
  header.help div.hero h1 {font-size: 2.2em;}
  header.contact div.hero h1 {font-size: 2.2em;}
  
  /* Section: Main */
  section.main aside {width: 100%; float: none; text-align: left;}
  section.main aside div.content {
    margin: 8px 20px 8px 0px;
    padding: 5px 0px 10px 85px;
    background-size: 50px 50px;
    background-position: 20px 5px;
  }
  section.main article img {width: 60%;}
  /* Section: Promo */
  section.promo article {padding: 160px 20px 0px 0px; background-size: 300px auto; min-height: initial;}
  /* Section: More */
  section.more aside {width: 100%; float: none; margin: 0; position: relative;}
  section.more aside div.content {padding: 20px 20px 20px 150px;}
  section.more aside div.content p {font-size: .9em;}
  section.more aside div.content img {
    display: inline-block;
    width: 125px;
    position: absolute;
    top: 30px; left:0px;
  }
  section.more blockquote {
    margin: 0 20px 0 40px;
    width: 90%;
    padding: 1px 0px 20px 0px;
    position: relative;
  }
  section.more blockquote p.credit {margin-bottom: 0;}
  /* Section: Services */
  section.services article div {padding: 16px 16px;}
  section.services article div.part {padding: 16px 16px;}
  section.services article div.office365 {height:100px;}
  section.services article div.office365 h1 {font-size: 1.2em; top 56px;}
  section.services article div.virtual {height: 100px;}
  section.services article div.virtual h1 {font-size: 2.2em;top: 30px;}
  /* SECTION: Contact */
  section.contact aside {width: 100%; clear: both;}
  section.contact ul {list-style: none; padding-left: 0px;}
  section.contact table {padding-top: 0px; padding-left: 0px;
  margin: 32px 0px 48px 0px;}
  
  
  /* Navigation*/
  nav {padding: 40px 15px 20px 15px; background: #333; height: 0px; overflow: hidden;}
  
  nav a.mobile_menu {display: block;}
  nav ul, nav ul ul, nav ul ul ul {display: block; position: static;}
  
  nav > ul {padding: 0;}
  nav > ul > li {float: none; margin-top: 25px;}
  
  nav ul li:hover {background: none;}
  
  nav ul li a {
    width: auto;
    display: block;
    margin: 8px 10px;
    padding: 6px 15px 6px 2px;
    border-bottom: 1px solid rgba(255,255,255,.25);
  }
  nav ul li a:hover {background: #00b294;}
  
  nav ul ul {background: none;}
  nav ul ul li a {margin-left: 30px;}
  nav ul ul ul li a {margin-left: 60px;}
  nav a[aria-haspopup="true"]::after {display: none;}
  
  /* Footer */
  footer div.content {display: block; margin-top: 15px;}
  footer div.content a {margin: 0 20px 0 0;}
}/*---------------------------------------------------------------*/

@media screen and (max-width: 425px) { /*-----------------------*/
  
  /* Header */
  header {min-height: 125px; background-image: url(../images/hero_land_425.jpg);background-position: left bottom;}
  header.about {min-height: 125px; background-image: url(../images/hero_description_425.jpg);background-position: left bottom;}
  header.services {min-height: 125px; background-image: url(../images/hero_services_425.jpg);background-position: left bottom;}
  
  header a.logo {width: 248px; height: 24px; background-image: url(../images/logo.svg);
  top: 15px;
  }
  
  header div.hero {width: 100%; left: 0px; top: 58px; text-align: center;}
  header.about div.hero {width: 100%; left: 0px; top: 70px; text-align: center;}
  header.services div.hero {width: 100%; left: 0px; top: 70px; text-align: center;}
  header.help div.hero {width: 100%; left: 0px; top: 70px; text-align: center;}
  header.contact div.hero {width: 100%; left: 0px; top: 70px; text-align: center;}
  header div.hero h1 {font-size: 1em; margin-bottom: 10px;}
  header.about div.hero h1 {font-size: 1.4em;}
  header.services div.hero h1 {font-size: 1.4em;}
  header.services div.hero p {font-size: .6em;}
  header.help div.hero h1 {font-size: 2em; color: #fff;}
  header div.hero a.btn {padding: 2px 30px; font-size: .8em}
  header div.hero a.btn span {display: none;}
  
  /* Section: More */
  section.more aside div.content {padding: 140px 20px 20px 0px;}
  section.more aside div.content img {width: auto; height: 100px; top:30px}
  section.more blockquote {margin: 10px 40px 0 20px;}
  /* Section: Services */
  section.services article div {padding: 0px;}
  section.services article div.part {padding: 0px;}
  section.services article div.tech {height: 220px;}
  section.services article div.virtual h1 {font-size: 1.6em;top: 45px;}
  
  /* Nav */
  nav {padding-top: 30px;}
  nav a.mobile_menu {left: auto; width: 26px; height: 26px;right: 32px; top: 14px; margin-left: 0px;}
  
  /* Footer */
  footer::after {content: ''; display: block; clear: both;}
  footer div.content a {display: inline-block; margin: 0 0 10px 0;
  float: left; clear: both;}

} /*---------------------------------------------------------------*/