/*
  1. Main
  2. Header
  3. Content
  4. Sections
    4.1. Why Best Templates
    4.2  About Us
    4.3  Template Choice
  5.Footer
*/

/* = 1. Main = */
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 1.428571429;
  color: #3c3c3c;
  background-color: #fff;
}

@media (min-width: 1200px) {
  .container {
    width: 1200px;
  }
}

.btn {
  background: transparent;
  border-radius: 0;
  border: 2px #fff solid;
  font-family: Arial, sans-serif;
  font-size: 20px;
  color: #fff;
  display: inline-block;
}

h2, h3, h4 {
  margin-top: 0;
}

/* = 2. Header = */

header {
  border-top: 6px solid #3c3c3c;
}

header .header-logo {
  min-height: 99px;
  padding-top: 6px;
  border-bottom: 1px solid #d5d6d0;
}

header .logo {
  background: url("../img/logo.png") no-repeat;
  width: 273px;
  height: 51px;
  text-indent: -9000px;
  display: block;
  margin: 15px 0 0 2px;
}

@media (max-width: 767px) {
  header .logo {
    margin: 0 auto;
  }
}

header .best-templates {
  margin-top: 28px;
  text-align: right;
  letter-spacing: -0.6px;
  font-size: 24px;
  font-weight: 300;
  color: #009ecd;
}

@media (max-width: 767px) {
  header .best-templates {
    margin-top: 0;
    text-align: center;
  }
}

header .header-inform {
  min-height: 301px;
  background: url("../img/header-bg-blue.jpg") no-repeat center;
  background-size: cover;
  border-top: 1px solid #fefeff;
  color: #fff;
  overflow: hidden;
}

header .link-holder {
  position: relative;
  text-align: center;
  margin-left: -113px;
  width: 454px;
  height: 301px;
  background: url("../img/all-templates-logo.png") 0px -66px no-repeat;
}

header .all-link {
  display: inline-block;
  width: 230px;
  height: 230px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  position: relative;
  top: 160px;
  z-index: 10;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

@media (max-width: 991px) {
  header .link-holder {
    margin:-70px auto -100px;
    width: 453px;
    height: 453px;
    background: url("../img/all-templates-logo.png") no-repeat;
  }

  header .all-link {
    top: 50%;
  }

  header .header-inform {
    text-align: center;
  }
}

@media (max-width: 520px) {
  header .link-holder {
    zoom: 0.8;
  }
}

@media (max-width: 400px) {
  header .link-holder {
    zoom: 0.6;
  }
}

header h1 {
  font-size: 60px;
  letter-spacing: -1.5px;
  margin: 9px 0 14px 0;
  font-weight: 300;
}

header .themes-block {
  padding-left: 40px;
  margin-top: 56px;
}

@media (max-width: 991px) {
  header .themes-block {
    padding-left: 0;
  }
}

header .header-links {
  margin: 4px 0 0 7px;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

header .header-links a {
  color: #fff;
}

header .header-links li:after {
  content: "|";
  margin-left: 14px;
}

header .header-links li:last-child:after {
  display: none;
}

@media (max-width: 992px) {
  header .themes-block {
    text-align: center;
    padding-left: 0;
  }

  header .header-links {
    line-height: 20px;
  }

  header .header-links li {
    display: block;
  }

  header .header-links li:after {
    content: "—";
    margin-left: 0;
    display: block;
  }
}

header .btn {
  margin: 31px 0 0 13px;
  width: 209px;
  height: 50px;
  line-height: 34px;
  margin-bottom: 20px;
}

header .btn:hover, header .btn:focus {
  background: #fff;
  color: #008ab3;
}

@media (max-width: 768px) {
  header .header-inform {
    text-align: center;
  }
}

@media (max-width: 720px) {
  header .themes-block {
    margin: 0;
  }

}

/* = 3. Templates = */

.templates {
  font-family: Arial, sans-serif;
}

.templates .templates-blocks {
  margin-top: 72px;
}

.templates .templates-blocks > .row > div {
  margin-bottom: 80px;
}

.templates .templates-blocks .thumbnail {
  border: 1px solid #b9b9b9;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
}

.templates .template-inform {
  padding: 0;
}

@media (max-width: 840px) {
  .templates .template-inform {
    max-width: 370px;
  }
}

@media (max-width: 410px) {
  .templates .template-inform {
    width: auto;
  }
}

.templates .templates-blocks p {
  line-height: 20px;
}

.templates .template-name {
  color: #19b4e6;
  font-size: 18px;
  margin: 9px 0 0 0;
}

.templates .template-price {
	font-weight: bold;
font-family: sans-serif;
  color: #3c3c3c;
  margin-bottom: 0px;
}

.templates .template-buttons .row > div:first-child {
  padding-right: 5px;
}

.templates .template-buttons .row > div:last-child {
  padding-left: 5px;
}

.templates .template-buttons .btn {
  color: #fff;
  width: 100%;
  height: 48px;
  line-height: 36px;
  border: none;
  font-size: 14px;
}

.templates .btn-view {
  background: #aaaaaa;
}

.templates .btn-view:hover {
  background: #7e7e7e;
}

.templates .btn-buy {
  background: #e64a19;
}

.templates .btn-buy:hover {
  background: #c43f15;
}

/* = 4. Sections = */

.section-header {
  margin-top: 68px;
  font-family: 'Open Sans', sans-serif;
}

.section-header h2 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 0;
}

.section-header .description {
  font-size: 30px;
  line-height: 39px;
}

.btn-section {
  border-color: #e64a19;
  color: #e64a19;
  width: 235px;
  height: 57px;
  line-height: 41px;
}

.btn-section:hover, .btn-section:focus {
  background: #e64a19;
  color: #fff;
  border-color: #e64a19;
}

/* = 4.1. Why Best Templates = */

.why-best-templates {
  border-top: 1px solid #b4b4b4;
  border-bottom: 1px solid #b4b4b4;
  background: #ededed;
}

.why-best-templates .section-icons {
  background: #8dc73f;
}

.why-best-templates .section-header {
  margin-bottom: 62px;
}

.why-best-templates .section-header h2 {
  margin-bottom: 5px;
}

.why-best-templates .icon-blocks {
  padding: 30px 0;
}

.why-best-templates .icon-blocks .row > div {
  border-right: 1px solid #fff;
  min-height: 176px;
}

.why-best-templates .icon-blocks .row > div:last-child {
  border-right: none;
}

@media (max-width: 991px) {
  .why-best-templates .icon-blocks .row > div {
    border-right: none;
    text-align: center;
  }

  .why-best-templates .icon-blocks .row > div:after {
    content: "________________________________________";
    color: #ffffff;
    margin-left: 0;
    display: block;
  }

  .why-best-templates .icon-blocks .row > div:last-child:after {
    content: "";
  }
}



.why-best-templates .icon-blocks p {
  text-align: center;
}

.why-best-templates .icon-holder {
  height: 93px;
}

.why-best-templates .icon-holder + p {
  color: #fff;
  font-size: 22px;
  line-height: 27px;
}

.sprite {
  background-image: url(../img/spritesheet.png);
  background-repeat: no-repeat;
  display: inline-block;
}

.why-best-templates .icon-phone {
  width: 53px;
  height: 52px;
  background-position: 0 -81px;
  margin-top: 32px;
  margin-left: 15px;
}

.why-best-templates .icon-lamp {
  width: 69px;
  height: 78px;
  background-position: -79px -1px;
  margin-top: 11px;
}

.why-best-templates .icon-star {
  width: 67px;
  height: 65px;
  background-position: -55px -81px;
  margin-top: 18px;
}

.why-best-templates .icon-hand {
  width: 77px;
  height: 69px;
  background-position: 0 -1px;
  margin-top: 11px;
  margin-left: -16px;
}

.why-best-templates .button-block {
  min-height: 224px;
  line-height: 213px;
}

/* = 4.2  About Us = */

.about-us {
  background: #ededed;
  padding-bottom: 54px;
}

.about-us .section-header h2 {
  margin-top: -7px;
}

.about-us .quotes {
  margin-top: 67px;
  font-family: Arial, sans-serif;
}

.about-us .quote {
  padding: 0 10px 0 66px;
  font-size: 14px;
  font-family: Arial, sans-serif;
}

.about-us .quote:before {
  content: "";
  background-image: url(../img/spritesheet.png);
  background-repeat: no-repeat;
  display: inline-block;
  width: 48px;
  height: 48px;
  background-position: -148px 0px;
  position: absolute;
  left: 12px;
  top: -24px;
}

.about-us .quote > p:first-child {
  min-height: 92px;
  color: #818181;
  line-height: 17px;
}

@media (max-width: 767px) {
  .about-us .quote {
    padding-bottom: 30px;
  }

  .about-us .quote > p:first-child {
    min-height: 0;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .about-us .quote > p:first-child {
    min-height: 120px;
  }
}

.about-us .quote .author-name,
.about-us .quote .author-job {
  line-height: 14px;
}

.about-us .quote .author-name {
  color: #e64a19;
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 0;
}

.about-us .quote .author-job {
  font-size: 12px;
}

/* = 4.3  Template Choice = */

.template-choice {
  background: #3c3c3c;
  padding-bottom: 63px;
}

.template-choice .section-header {
  margin-top: 62px;
}

.template-choice .section-header h3,
.template-choice .section-header h4 {
  color: #fff;
  font-size: 30px;
  line-height: 28px;
}

.template-choice .button-block {
  margin-top: 60px;
}

/* = 5. Footer = */

footer {
  background: #c2c2c2;
  height: 112px;
  text-indent: -20px;
  font-family: Arial, sans-serif;
}

footer .container {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}