/**
* CERTILES.eu css stylesheet
* Author: Dimitri Lebedef
* Contact: dimitri136@gmail.com
* Website: www.dimitrilebedef.com
*/

/**
* 1.0 Basic style
*
* Generic stylization
*/

html, body {
  width: 100%;
  height: 100%;
  background: #efefef;
}

a,
a:visited {
  color: inherit;
}

/**
* 2.0 Main part
*
* Styles for the outter elements
*/

.main-wrapper {
  width: 100%;
  height: 100%;
}

/**
* 3.0 Columns
*
* Styles for the columns (2, left and right)
*/

.columns {
  width: 100%;
  height: 100%;
}

[class^='column-'] {
  float: left;
  width: 50%;
  min-width: 350px;
  height: 100%;
  text-align: center;
  position: relative;
  z-index: 0;
}

/**
* 3.1 Left column
*
* Styles for the left side column (Logo)
*/

.column-1::after {
  content: "";
  position: absolute;
  top: 10%;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 80%;
  border-right: 1px solid #af2a00;
}

.column-1 .main-content {
  position: relative;
  top: 50%;
  height: 320px;
  margin-top: -160px;
}

.column-1 .main-content .logo {
  width: 320px;
}

.column-1 .main-content .logo-one-line {
  display: none;
}

.column-1 .main-content .sub-logo {
  display: inline-block;
  display: none;
  width: 50%;
  text-align: left;
}

.column-1 .main-content .sub-logo .sub-logo-prefix {
  font-size: 0.8em;
}

.column-1 .main-content .sub-logo .sub-logo-text {
  font-size: 1em;
  color: #af2a00;
  line-height: 0.5em;
}

.column-1 .main-content .sub-logo .sub-logo-text .copyright {
  font-size: 1em;
  vertical-align: super;
}

/**
* 3.2 Right column
*
* Styles for the right side column (Description and Contact)
*/

.column-2 .main-content {
  position: relative;
  top: 50%;
  margin-top: -105px;
  height: 210px;
}

.column-2 .main-content h2 {
  font-weight: 400;
  font-size: 1.0em
}

.column-2 .main-content h1 {
  font-weight: 500;
  font-size: 1.5em
}

.column-2 .main-content .contact-box {
  list-style: none;
  margin: auto;
  padding: 0;
  text-align: left;
  display: inline-block;
}

.column-2 .main-content .contact-box li {
  margin: 10px 0;
}

.column-2 .main-content .contact-box li img {
  max-width: 20px;
  max-height: 20px;
  vertical-align: middle;
}

/**
* 4.0 Footer
*
* Styles for footer
*/

.footer {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 40px;
  text-align: center;
  line-height: 40px;
}

/**
* 5.0 Media queries
*
* Styles tablets and mobile phones
*/

/*@media all and (max-width: 700px) and (min-width: 520px) {*/
@media all and (max-width: 700px) {

  [class^='column-'] {
    float: left;
    width: 100%;
    height: auto;
    min-width: inherit;
    text-align: center;
    position: relative;
    z-index: 0;
  }

  .column-1::after {
    display: none;
  }

  .column-1 .main-content {
    position: relative;
    top: auto;
    height: 60px;
    margin-top: auto;
    padding: 20px;
    border-bottom: 1px solid #af2a00;
  }

  .column-1 .main-content .logo {
    display: none;
  }
  .column-1 .main-content .logo-one-line {
    display: inline-block;
    width: auto;
    height: 100%;
  }

  .column-2 .main-content {
    position: relative;
    top: auto;
    margin-top: 50px;
    height: auto;
  }
}
