
/* #region general */

/* -------------------------- */
/*           general          */
/* -------------------------- */

/*
* {
    box-sizing: border-box;
}
*/

h3 small {
    font-weight: normal;
}

a:focus {
    outline: none;
}

input, select, textarea {
    max-width: 95%;
    font-size: 150%;
}

button[disabled],button[disabled]:hover {
    border: 1px solid #545454;
    text-decoration:none;
    text-shadow:none;
    background: #ebebeb;  
    color:#545454;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}


a[href^="mailto:"] {
  margin: 0 17px;
}

a[href^="mailto:"],
a[href^="mailto:"]:visited {
  color:#fff;
}
a[href^="mailto:"]:hover,
a[href^="mailto:"]:visited:hover {
  color:#FFD400;
}


blockquote {
	color:#3F4256;
	background:#e0f0ff;
	padding:8px 25px;
	margin: 1em 0;
}

iframe {
    max-width: 100%;
}

img {
    max-width: 100%;
}

/* #endregion general */

/* #region донастройка темы */

/* --------------------------------- */
/*           донастройка темы          */
/* --------------------------------- */

.article {
    margin-bottom: 1em;
}

.message a {
    color: navy;
}
.message a:visited {
    color: navy;
}

/* #endregion донастройка темы */

/* #region статьи/блог */

/* --------------------------------- */
/*           статьи/блог          */
/* --------------------------------- */

.article-subtitle {
    /* copy of .success class: */
    color:#fff;
    background:#4ABF3B;
    padding:8px 14px;
    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    border-radius:3px;
    -webkit-box-shadow: rgba(0,0,0,0.3) 0px 1px 2px;
    -moz-box-shadow: rgba(0,0,0,0.3) 0px 1px 2px;
    box-shadow: rgba(0,0,0,0.3) 0px 1px 2px;

    /* addition: */
    margin-top: 30px;
}
.article-subtitle a, .article-subtitle a:visited {
    font-weight: normal;
    color: white;
}

/* #endregion статьи/блог */

/* #region меню */

/* --------------------------------- */
/*           меню          */
/* --------------------------------- */

@media screen and (min-width: 491px) {

  .menu_main {
    width:auto;
    margin: 2em 0 0 0;
  }

  .menu_bottom {
    width:auto;
    padding: 3px 0;
  }

  nav li.active:hover
  {
    color:#FFD400;
  }

  nav.menu_main {
      /*float: left;*/
      margin: 1em 0 0 2em;
      float:none;
      text-align:left;
  }

}

/* #endregion меню */

/* #region header */

/* --------------------------------- */
/*               header              */
/* --------------------------------- */

.header {
    margin-bottom: 0;
}

.header div.logo {
  background: #fff;
  padding-bottom: 0px;
  border-radius: 0 0 100px 150px / 0 0 10px 10px;
}

.header h2 {
  padding-left: 7%;
}

@media only screen and (max-width:480px) {
    .header {
        margin: 0;
        padding: 0 2% 2em;
    }
}

.header-center{
    float:left;
}
h2.social {
    float: right;
    margin-top: 0;
    margin-left: 2em;
    padding-left: 0; /* fix */
}
.social-media{
    float:right; 
    margin-right:2px;
    bottom:0;
    margin-top: 14px;
}
a.vkontakte img {
    padding-bottom: 4px;
    padding-right: 15px;
}
a.instagramm {
    padding-right: 12px;
}
a.facebook img {
    vertical-align: top;
}

/* #endregion header */

/* #region .subheader */

/* --------------------------------- */
/*            .subheader             */
/* --------------------------------- */

.subheader {
    color: white;
    padding-left: 2em;
    margin: 0;
}

.breadcrumbs {
    padding-right: 10px;
    padding-bottom: 10px;
    display: inline-block;
    vertical-align: top;
    margin-top: 19px;
    margin-bottom: -5px;
}
.breadcrumbs a, .breadcrumbs a:visited {
    color: white;
}

.slogan {
    float: right;
    display: inline-block;
    margin-right: 22px;
    padding-top: 5px;
    padding-bottom: 10px;
}


.slogan .text {
    /*display: inline-block;*/
    display: none;
    font-size: 18px;
    color: #FFD400;
    vertical-align: top;
    line-height: 1.7em;
    margin-top: 8px;
    margin-right: 10px;
}

.slogan  .cards {
    display: inline-block;
    /*position: relative;*/
    /*top: -9px;*/
  margin-top: 5px;
}
.slogan .cards img {
    display: inline-block;
    margin-bottom: -10px;
}
@media only screen and (max-width:480px) {
    .slogan .cards {
        display: none;
    }
}

.slogan .button {
  display: inline-block;
  padding: 3px 15px;
  /*margin-left: 17px;*/
  color: #3F4256;
  vertical-align: top;
  line-height: 2;
  /*margin-top: -5px;
  margin-bottom: 10px;*/
  margin-top: 5px;
  margin-right: 5px;
}

/* #endregion .subheader */

/* #region footer */

/* --------------------------------- */
/*               footer              */
/* --------------------------------- */

footer .block {
  display: inline-block;
}

footer .button {
  padding: 3px 15px;
  margin-left: 17px;
}

.copyright {
  width:auto;
}

/* --- создание сайта --- */

.ypwm {
    padding: 7px 7px 7px 7px;
    color: #ddd;
}
.ypwm a, .ypwm a:visited {
    color: #ddd;
}
.ypwm a:hover, .ypwm a:visited:hover {
    color: #ffd400;
}

/* #endregion footer */

/* #region .hero */

/* --------------------------------- */
/*               .hero               */
/* --------------------------------- */

.hero h2 {
  color: #fff;
}
.hero p {
    font-size: 15px;
}

/* #endregion .hero */

/* #region main */

/* --------------------------------- */
/*             main                  */
/* --------------------------------- */

.main-order {
	border: 1px solid #ccc;
	border-radius: 3px;
	position: relative;
	padding: 0;
}
.main-order .label {
	background: #eee;
	color: #676d8f;
	/*position: absolute;*/
	top: 0;
	left: 0;
	margin: 0;
	padding: 10px;
	border-radius: 3px 0 8px 0;
	display: inline-block;
}
.main-order .inner {
	padding: 10px 20px;
}
.main-order .button {
	margin-right: 20px;
}
.main-order .order-image {
	float: right;
	margin: 10px;
}

@media only screen and (max-width:760px) { 
	.main-order .order-image {
		float: none;
		margin: 20px 0 0 20px;
	}
}
@media only screen and (max-width:420px) { 
	.main-order .order-image {
		float: none;
		margin: 20px 0 0 0px;
	}
}


/* #endregion main */

/* #region main: VK (news) */

/* --------------------------------- */
/*         main: VK (news)           */
/* --------------------------------- */

.vk-container {
  overflow: hidden;
}

/* #endregion main: VK (news) */

/* #region main: Recent comments */

/* --------------------------------------- */
/*          main: Recent comments          */
/* --------------------------------------- */

.recent-comments {
  list-style-type: none;
  padding: 0;
  max-height: 470px;
  overflow: scroll;
}

.recent-comments li {
  padding: 0;
}

.comment-author {
  font-size: 13px;
  color: #777;
  font-weight: 700;
}

.comment-date {
  font-size: 12px;
  color: #a5b2b9;
  font-weight: 500;
  margin-left: 10px;
}

.comment-body p {
  margin: 0 0 15px 0;
}

.all-comments-link-container {
  text-align: right;
  padding: 0 20px;
}

/* #endregion main: Recent comments */

/* #region Photos */

/* --------------------------------- */
/*            Photos                 */
/* --------------------------------- */

figure {
  padding: 10px;
  display:table;
  float: left;
  margin: 0 10px 10px 0;
  text-align: center;
  min-width: 300px;
  /*min-width: 200px;*/
}

figcaption {
  color: #111;
  display:table-caption;
  caption-side:bottom;
  height: 30px;
}

figure img {
  height: 200px;
  /*max-width: 80%;*/
}

@media screen and (max-width: 350px) {
    figure {
        min-width: initial;
    }
    figcaption {
      height: 40px;
    }
}

/* #endregion Photos */

/* #region tracking - iframe */

/* --------------------------------- */
/*        tracking - iframe          */
/* --------------------------------- */

.around-iframe {
    padding: 0; 
    line-height: 0;
}

.iframe-itself {
    width: 100%; 
    height: 500px; 
    border: none; 
    margin: 0;
    overflow:hidden;
}

/* #endregion tracking - iframe */

/* #region полезные телефоны */

/* --------------------------------- */
/*       полезные телефоны           */
/* --------------------------------- */

.handbook-section .emergency {
    color: yellow; 
}

.handbook-section a {
    color: #004dd9;
}

.handbook-section h2 {
    background-color: #676d8f;
    margin: 0px;
    padding: 5px 10px;
    color: white;
}

.handbook-section h2 a {
    background-color: white;
    color: #004dd9;
    opacity: 0.5;
    /*float: right;*/
    vertical-align: middle;
    margin-left: 10px;
    font-size: small;
    padding: 3px 5px;
    border-radius: 5px;
}

.handbook-section dt {
    font-weight: bold;
}

.handbook-section .remark {
    font-weight: normal;
    font-style: italic;
}

.handbook-section .site {
    margin-top: 20px;
}



/* #endregion статья-телефоны */

/* #region цены тюменских эвакуаторов (блог) - таблица */

/* ------------------------------------------- */
/* цены тюменских эвакуаторов (блог) - таблица */
/* ------------------------------------------- */

/* кроме CSS там ещё работает JavaScript! */

table { 
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0 0 2em 0;
  padding: 0;
}

table tr {
  background: #f8f8f8;
  border: 1px solid #ddd;
  padding: .35em;
}
table tr:hover {
  background: #f0f0f0;
}
table th,
table td {
  padding: 0.5em;
  text-align: left;
}

td:nth-child(4),td:nth-child(5) { 
  text-align: right;
}


@media screen and (max-width: 500px) {
  table {
    width: 100%;
  }
  table thead { display: none; }
  table tbody td { 
    display: block; 
  }
  td:nth-child(4),td:nth-child(5) { 
	text-align: left;
  }
  table tbody tr td:first-child { 
    background: #888; color: #fff; 
  }
	table tbody td:before { 
    content: attr(data-th); 
    font-weight: bold;
    display: inline-block;
    width: 6rem;  
  }
}

/* #endregion цены тюменских эвакуаторов (блог) - таблица */

/* #region trash */

/* --------------------------------- */
/*           trash          */
/* --------------------------------- */

/*

a.anchor {
    color: #000;
}

*/

/* #endregion trash */
