﻿@import "all.css";

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/*
html, body {
  height: 100vh;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  font: 14px/1.5 'Open Sans',sans-serif;
  color: #345;
  background: #f0f2f4;
}
*/
p:not(:last-child) {
  margin: 0;
}

main {
  max-width: 890px;
  padding: 0px;
  /*border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);*/
}

section {
  display: none;
  padding: 20px 0 0;
  border-top: 1px solid #abc;
}

input {
  display: none;
}

label {
  display: inline-block;
  margin: 0 0 -1px;
  padding: 18px 25px;
  font-weight: 600;
  text-align: center;
  color: #abc;
  border: 1px solid transparent;
}

label:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

label[for*='1']:before {
  content: '\f2ea';
}

label[for*='2']:before {
  content: '\f2f9';
}

label[for*='3']:before {
  content: '\f1ea';
}

label[for*='4']:before {
  content: '\f302';
}


label:hover {
  color: #789;
  cursor: pointer;
}

input:checked + label {
  color: #0083BB;
  border: 1px solid #abc;
  border-top: 2px solid #0083BB;
  border-bottom: 3px solid #fff;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4 {
  display: block;
}

.photo_thumb
{background:url(photo_bg_t.png) no-repeat 0 0 transparent;}
.photo_thumb a
{display:block;height:123px;left:15px;position:relative;top:22px;width:235px;}

@media screen and (max-width: 890px) {
  label {
    font-size: 0;
  }

  label:before {
    margin: 0;
    font-size: 18px;
  }
}
@media screen and (max-width: 600px) {
  label {
    padding: 15px;
  }
}
