* {
  margin: 0;
  padding: 0;
}
html {
  height: 100%;
}
body {
	height:100%;
	min-height: 800px;
	width: 100%;     
	margin: 0;
	padding: 0;
	font-size: 1em;
	font-family: PT Sans, Arial Narrow, sans-serif;
	color: #222;
}
.wrapper {
  position: relative;
  min-height: 100%;
}
img.bg {
    min-height: 100%;
    min-width: 1280px;
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
	z-index: -1;
}

@media screen and (max-width: 1280px) { 
    img.bg {
        left: 50%;
        margin-left: -630px;
    }
}

.clear {	clear: both; }
.right { float: right; }
.left { float: left; }

.container  {
	width: 1000px;
	height: auto;
	margin: 0 auto 0 auto;
}

img {
	border:0; 
	display:block; 
	padding:0;  
	margin:0;
}

p {
	margin: 0;
	padding: 0:
}

.strong {
	font-weight: bold;
}



/* Шапка */

#top {
	width: 100%;
	margin: 0 0 30px 0;
		background: #334c85;
}






#navpanel_small {
	width: 100%;
	margin: 0;
	box-shadow: 0px 3px 9px rgba(0, 0, 0, 0.200);	
	background: #fff;   
	position: relative;
	z-index: 4;
	color: #334c85;
		font-size: 0.89em;
}

#navpanel_small  a {
	color: #334c85;
	text-decoration: underline;	
	margin: 8px 20px 10px 0px;
	float: left;
}

#navpanel_small a:hover   {
	color: #df5728;
}



#lang {
	background: #e7845c;
	font-size: 1em;
	box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.200);
	float: right;
	margin: 0px 0 0 10px;
	line-height: 1.2;


}
#lang a, #lang a:hover {
	text-decoration: none;
	display: block;
text-align: center;
	color: #fff;	
	margin: 5px 8px 10px 8px;
}


/* Главное верхнее меню*/

#navpanel {
	width: 100%;

	margin: 0;
	box-shadow: 0px 3px 9px rgba(0, 0, 0, 0.200);	
	background: #334c85;   
	position: relative;
	z-index: 3;
	color: #fff;
	font-size: 0.9em;
}

#navpanel  a {
	color: #fff;
	text-decoration: underline;	
	margin: 16px 15px 17px 0px;
	float: left;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.150);
}
#navpanel  a #last{
		
	margin: 16px 0px 17px 0px;
	}


#navpanel a:hover   {
	
}

/* Лого + название */

#logo {
	background: #334c85;
		width: 1000px;
	height: auto;
	margin: 0 auto 0 auto;
}

#logoimg {
	width: 70px;
	margin: 33px 25px 0 0;
	float: left;
}

#logoimg img {
	width: 60px;
}

#logoimg  a {
	display: block;
}

#site_name {
	float: left;

	margin: 7px 0 0 0px;
}

#site_name p {
	font-size: 1.5em;	}

#site_name h1 {
	margin: 0;
	font-size: 2.8em;
	text-transform: uppercase;

	font-weight: 700;
}

#site_name a {
		color: #ffffff;
		text-decoration:none;
}



/* Футер и копирайт */

#footer {
	width: 100%;
	color: #fff;
	background: #334c85; 
	box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3);

	padding: 11px 0 0 0;

  position: absolute;
  left: 0;
  bottom: 0;
  height: 40px;
}
}

#footer p {
	color: #fff;
}

#footer a {
	color: #fff;
}



/* ГЛАВНАЯ СТРАНИЦА ВНУТРЕННЕЕ СОДЕРЖАНИЕ */

#inner_page {
	width: 100%;
	background: #fff;
	margin: 20px 0 20px 0;
	font-size: 1em;
	padding: 40px 0 40px 0;
	min-width: 1000px;
}

#inner_page .block {
	width: 320px;
	float: left;
	margin: 55px 10px 0px 0px;
	padding: 0px 0px 0px 0px;
	text-align: center;
	font-size: 1.3em;
	background: #334c85;
	box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
	border-radius: 15px;
	line-height: 1.4;
	color: #fff;
}

#inner_page p {
	margin: 0 0px 20px 0;
	line-height: 1.3;
	font-weight: 700;
	font-size: 1em;
}

#inner_page h3 {
    width: 100%;
    background: #df5728;
    color: #fff;
    text-align: center;
    padding: 15px 0 15px 0;
    margin: 35px auto 38px auto;
    font-weight: 400;
    font-size: 1.8em;
    text-transform: uppercase;
}

#inner_page h4 {
	color: #334c85;
	font-weight: 700;
	text-align: center;
	font-size: 1.7em;
	margin: 10px 0 10px 0;
}
	
#inner_page .block a {
	color: #fff;
	text-decoration: underline;

}

	#inner_page .block a:hover {

	text-decoration: underline dotted;

}




#inner_page img {
	margin: -20px 0 20px 0;
	max-width: 1200px;
}

#inner_page ul {
	padding-left: 20px;
}


*,
::before,
::after {
  box-sizing: border-box;
}



details {
  margin: 0;
  padding: 20px 10px 30px 7px;
  width: 100%;
  max-width: calc(100%);
  position: relative;
  border: 1px solid #78909C;
  border-radius: 6px;
  background-color: #334c85;
  color: #fff;
  transition: background-color .15s;
  
  > :last-child {
    margin-bottom: 1rem;
  }
  
  &::before {
    width: 100%;
    height: 100%;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-radius: inherit;
    opacity: .15;
    box-shadow: 0 .25em .5em #263238;
    pointer-events: none;
    transition: opacity .2s;
    z-index: -1;
  }
  
  &[open] {

    
    &::before {
      opacity: .6;
    }
  }
}

summary {
  padding: 1rem 0 1rem 0;
  display: block;
  position: relative;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
    color: #fff;
  text-align: center;}
  
  &::before,
  &::after {
    width: .75em;
    height: 2px;
    position: absolute;
    top: 50%;
    right: 0;
    content: '';
    background-color: currentColor;
    text-align: right;
    transform: translateY(-50%);
    transition: transform .2s ease-in-out;
  }
  
  &::after {
    transform: translateY(-50%) rotate(90deg);
    
    [open] & {
      transform: translateY(-50%) rotate(180deg);
    }
  }
  
  &::-webkit-details-marker {
    display: none;
  }
}

summary a {
	    color: #fff;
		font-weight: 700;
}




/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: none; /* If you want dots under the hoverable text */

}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 290px;
  background-color: #fff;
  color: #000;
  text-align: center;
  padding: 12px;
  border-radius: 6px;
    font-size:0.7em;
	  border: 1px solid #78909C;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
    top: -25px;
  right: 115%;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}