/*  
Theme Name: Centrul de primire zi batrani Aroneanu
Theme URL: 

Description:  Blog Theme
Version: 1.0
Author: Web Profits
Author URL: http://www.webprofits.com.au/
*/
body {
  margin: 0;
  padding: 0;
  font: 400 15px/23px "Open Sans", sans-serif; }
  body * {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box; }
  body div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap; }

.container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto; }

.banner {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 500px;
  width: 100%;
  background-size: cover;
  position: relative; }
  .banner:after {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    content: '';
    display: block;
    position: absolute; }
  .banner h1 {
    font-size: 65px;
    line-height: 76px;
    color: #fff;
    position: relative;
    z-index: 5;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px; }

.home .banner {
  height: auto; }
  .home .banner:after {
    display: none; }
  .home .banner img {
    width: 100%;
    max-width: 100%;
    height: auto; }

.header {
  width: 100%; }
  .header ul {
    width: 100%;
    max-width: 1000px;
    padding: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0 auto; }
    .header ul li {
      width: 25%;
      padding: 0 20px;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center; }
      .header ul li a {
        display: block;
        color: #000;
        text-decoration: none; }
        .header ul li a:hover {
          text-decoration: underline; }
      .header ul li img {
        width: auto;
        height: auto;
        max-width: 100%; }
  .header .menu-main-menu-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%; }
    .header .menu-main-menu-container ul {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      width: 100%;
      -ms-flex-wrap: nowrap;
      flex-wrap: nowrap; }
  .header #my-button {
    width: 35px;
    margin: 25px 25px 25px auto;
    display: none;
    padding: 10px 0; }
    .header #my-button span {
      width: 100%;
      height: 5px;
      background-color: black;
      position: relative;
      overflow: visible;
      display: block; }
      .header #my-button span:after, .header #my-button span:before {
        width: 100%;
        height: 5px;
        background-color: black;
        margin: 0;
        content: '';
        display: block;
        position: absolute;
        left: 0; }
      .header #my-button span:before {
        top: -7px; }
      .header #my-button span:after {
        bottom: -7px; }

.footer {
  text-align: center;
  width: 100%;
  padding: 30px 20px; }
  .footer p {
    width: 100%; }

.container-blog {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  word-wrap: break-word;
  overflow: visible; }
  .container-blog p {
    padding: 0 0 25px; }
  .container-blog h2 {
    font-size: 35px;
    line-height: 45px;
    padding: 20px 0; }
  .container-blog #content-blog {
    overflow: hidden;
    width: calc(100% - 320px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column; }
  .container-blog #sidebar {
    width: 280px;
    position: relative; }
    .container-blog #sidebar h2 {
      padding-top: 0px;
      text-align: center; }
    .container-blog #sidebar form {
      width: 100%; }
      .container-blog #sidebar form input, .container-blog #sidebar form textarea {
        height: 45px;
        line-height: 45px;
        margin: 0 0 20px;
        border: none;
        background: none;
        width: 100%;
        -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
        -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
        padding: 0 15px 0 20px;
        border-radius: 5px; }
      .container-blog #sidebar form textarea {
        height: 100px; }
      .container-blog #sidebar form input[type="submit"] {
        padding: 0;
        color: #fff;
        background: #000;
        border: 2px solid #000;
        margin: 0;
        text-transform: uppercase; }
        .container-blog #sidebar form input[type="submit"]:hover {
          background: #fff;
          color: #000;
          -webkit-transition: all 0.3s ease;
          -o-transition: all 0.3s ease;
          transition: all 0.3s ease; }
    .container-blog #sidebar ul li {
      margin-bottom: 40px;
      list-style: none; }
      .container-blog #sidebar ul li ul li {
        padding: 5px 0;
        margin: 0; }
        .container-blog #sidebar ul li ul li a {
          text-decoration: none;
          display: block;
          padding: 0 0 0 20px;
          background: url(images/sidebar-li-bg.png) no-repeat left 8px; }
          .container-blog #sidebar ul li ul li a:hover {
            background-image: url(images/sidebar-li-bg-hv.png); }

@media all and (max-width: 768px) {
  .banner h1 {
    font-size: 45px;
    line-height: 55px; }
  .header .menu-main-menu-container {
    display: none; }
  .header #my-button {
    display: block; }
  .header ul li {
    padding: 0 10px; }
  .container-blog #content-blog {
    float: none;
    width: 100%;
    margin: 0 0 20px;
    padding: 0; }
  .container-blog #sidebar {
    margin: 0 auto 20px;
    float: none; } }
