html {height: 100%;}
body {
    font-family: Arial,Tahoma;
	color:#000;
    font-size: 20px;
    min-height: 100%;
    position: relative;
	background:#A5D1FF;
	margin:0;
	padding:0;
	position:relative;
	min-height: 100%;
    background-position: bottom center;
    background-size: cover;
    background-attachment: fixed;
	background-image: url(/images/design/bg_main_fixed.jpg);
	transition: opacity ease 300ms; 
}
body.content_loaded {
	opacity: 1;
}
body.not_main .category_icon.hidden {display: block;}
body.main_page h1.article_title.hidden {display: none;}


body.not_main .category_icon.hidden {
    max-height: 850px;
    overflow: hidden;
    display: flex;
}
.category_icon > img {object-fit: cover;}

div {box-sizing: border-box;}

h1.article_title, #news_slider > h2 {
    font-family: Cambria, Georgia, 'Times New Roman', Tahoma, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}
h1.article_title {
    background: transparent url(/images/design/bg_page_title.png) no-repeat top right;
    background-size: cover;
    display: inline-block;
    border-top-left-radius: 15px;
    padding: 10px 60px 5px 15px;
    box-sizing: border-box;
    color: #3d81c7;
    margin-top: -60px;
    margin-left: -20px;
    min-height: 40px;
    font-family: Cambria, Georgia, 'Times New Roman', Tahoma, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;

    
    margin-top: 0px;
    position: absolute;
    top: -40px;
}

h1.article_title > span.gradient {
    filter: drop-shadow(1px 1px 0 #fff);
    background: #17385a; /* Old browsers */
	background: -moz-linear-gradient(top, #17385a 0%, #24568a 50%, #51a2f5 100%);
	background: -webkit-linear-gradient(top, #17385a 0%,#24568a 50%,#51a2f5 100%); */
	background: linear-gradient(to bottom, #17385a 0%,#24568a 50%,#51a2f5 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#17385a', endColorstr='#51a2f5',GradientType=0 );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


#Title_site{
	top: 30px;
	left:50%;
	margin-left:-50%;
	width:100%;
	height:170px;
	text-align: center;
}
#Logo{
	text-align:center;
    margin-top: 15px;
}
div#Logo img
, div#Logo_title img
 {
 	z-index: 150;
 	position: relative;
    max-height: 140px;
    max-width: 160px;
}

.menu{
    width: 100%;
	margin-top:-88px;
	text-align:center;
	}
.menu ul{
	position:relative;
	width: 100%;
	font-size: 0px;
}

ul.inline li {
    display: inline-flex;
    height: 100%;
    padding: 0 10px;
	font-size: 20px;
}
ul.inline li a {
	display: inline-block;
	text-transform: uppercase;
	font-size: 1em;
	margin: auto;
}

#Info{
	margin:0 auto;
	position:relative;
	padding-bottom:260px;
	}
#bg_site_fon{
	background: #D2E8FF;
	border-left:#C6E2FE 3px solid;
	border-right:#C6E2FE 3px solid;
	width:80%;
	top:0;
	left:0;
	margin:0 10%;
}
#Main, #news_slider{
	padding: 20px;
    width: 1200px;
    background: #e9fff8a3;
    margin: 0 auto;
}
#news_slider {
	background-color: transparent;
	padding: 20px 40px;
}
	/*------------ footer ------------*/
		#footer{
			bottom:0;
			left:0;
			background: rgba(35, 105, 170, 0.8);
			padding: 15px;
			box-sizing: border-box;
		    width: 1200px;
		    margin: 0;
		    left: 50%;
		    margin-left: -600px;
		}

		div#footer a {color: #fff;}
		div#footer a:hover {color: yellow; text-decoration: none;}

		div.copyright, div.uaBiznes {
			margin-top: 7px;
			font-size: 0.6em;
			max-width: 48%;
			color: #001f48;
		}

		.site_details {
		    position: absolute;
		    width: 80%;
		    bottom: 10px;
		    left: 25px;
		}
		.uaBiznes {text-align: left;}

	/* Общие Стили для списков новостей, статей, разделов*/
	    #articles_columns a:hover, #articles_ext_columns a:hover, #category_ext_columns a:hover, #category_columns a:hover{text-decoration:none;}
	    .art_ext_columns li, .cat_ext_columns li, .img_ico_ext, .img_ico_news {
	    	width:48%;
	    	box-sizing: border-box;
	    }
	    .art_ext_columns li .article_title
	    , .cat_ext_columns li .category_title
	     {
	     	padding-top: 10px
	     	;color: #000
	     	;text-transform: uppercase
	     	;font-family: Arial Narrow, Arial, sans-serif
	     	;font-size: 1.5em
	     	;text-shadow: 0 2px 0 #fff;
	    }
	    .art_ext_columns li:hover .article_title
	    , .cat_ext_columns li:hover .category_title
	     {color: #0074ff;}

	    .img_ico{
	    	width:300px;
	    	height:300px;
	    }
	    .img_ico_ext{
	    	height:auto;
	    	 border: 1px solid #777;
	    }
		.img_ico_ext:hover {box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.35);}
		.img_ico_ext:hover img.cat_icon {transform: scale(1.15);}
	    /*.img_ico_news{height:110px;}*/

	    .img_ico_ext img{
	    	max-width:100%;
	    	max-height:100%;
	    	margin:0;
	    	transition: transform ease-out 800ms;
	    }
	    .img_ico img{
	    	max-width:95%;
	    	max-height:95%;
	    	margin:5px;
	    }
/*
	    .img_ico_news img{
	    	max-width:200px;
	    	max-height:100px;
	    }
*/
	    .art_text, .cat_text{margin-left:0;}
	/*---------------------------------------*/

#chitat {
    text-align: right;
    padding: 10px;
    margin: 0;
}

#Forma {
	max-width: 1600px;
    min-width: 1000px;
    width: 100%;
    margin: 0 auto;
	box-sizing: border-box;
}
#Forma form {position:relative; margin:0 auto;}
#Forma input, #Forma textarea{
	font-size: 1em;
    padding: 4px 10px 2px 13px;
	color:#969376;
}
#Forma input, #Forma textarea, .button_form{
	border-radius: 10px;
	border:0;
}
#Forma form div.colums {vertical-align:top;}

#left_form_kont{
	background: url(/images/design/bg_form.png) top left repeat-x;
	padding:10px;
	text-transform: uppercase;
	text-shadow: 1px 1px 2px #fff;
	color:#000;
	width:30%;
}
#left_form_kont div{
	padding-top: 8px;
	font-size: 1.2em;
	padding-left: 26px;
	letter-spacing:1.5px;
	}
#left_form_kont p{
	margin-top: 17px;
	text-shadow: 1px 1px 2px #000; color:#fff;
	padding-top: 1px;
	font-size: 1.1em;
	text-transform:none;
	padding-left: 21px;
	}
#Phone_number{letter-spacing:-0.5px;}
#right_form_kont{
	width: 34%;
	}
#right_form_kont textarea{
	height: 155px;
	width: 100%;
	margin-bottom: 15px;
	box-sizing: border-box;
	}
#center_form_kont{margin: 0 5%;width:25%;}
#a1{
	padding-top: 15px;
	text-transform: uppercase;
	font-size: 1.2em;
	padding-bottom: 3px;
	margin-left: -5px;
	letter-spacing:2.5px;
	color: #78e5f1;
}
#a2 input, #a3 input{
	height: 34px;
	width: 100%;
	box-sizing: border-box;
	border-radius: 7px;
}
#a3{margin-top: 30px;}
.button_form{
	font-size: 1em;
	padding: 7px 10px;
	color:#D1E0E3;
	text-transform:uppercase;
	background: #01438e;
	bottom:0;
}

.slider_wrapper {
	/*min-height: 978px;*/
	overflow: hidden;
}
.cb-slideshow, .cb-slideshow::after {position: relative;}



#Title_site.top_line {
  background: transparent url(/images/design/bg_top_menu.png) no-repeat top center;
  background-size: contain;
  top: 25px;
  min-height: 225px;
}
#header {
  position: relative;
}
#header a {color: #fff;}
#Name_Sayt.top_dark_line {
	background: #23598a;
    color: #fff;
    font-size: 0.7em;
    padding: 5px 10px;
    min-height: 25px;
}
.top_line #Logo {
  margin-top: 15px;
  /*margin-left: 10px;*/
}
.top_line #Logo_title {
  margin-top: -14px;
  /*margin-left: 10px;*/
}


.top_line a:hover {text-decoration: none;}
.top_menu {
	top: 25px;
    z-index: 100;
    margin: 0;
}
.top_menu:before {
    content: '';
    width: 0px;
    height: 0px;
    display: inline-block;
    min-height: 62px;
}

div.top_menu {
    display: flex;
}

#header .top_menu .menu_list li.menu_item_el a {text-shadow: 0 1px 1px #000;}
#header .top_menu .menu_list li.menu_item_el a:hover {color: yellow; text-decoration: none;}
.top_menu .menu_list li.menu_item_el.middle-left {margin-right: 7%;}
.top_menu .menu_list li.menu_item_el.middle-right {margin-left: 7%;}
body.mobile .top_menu .menu_list > li.menu_item_el.paddington {padding-top: 1.15em;}

    /* --------- NEWS -------- */

    	.owl-carousel .owl-item img.news_icon {
			padding: 10px;
			padding-bottom: 0;
			background: linear-gradient(to bottom, rgba(0,82,177,0.5) 0%,rgba(125,185,232,0) 100%);
			box-sizing: border-box;
		}
    	.news_icon_ {margin: 0 2%;}
    	.news_icon_ {margin: 0 5px;}

    	#news_columns a .news_title {
		    bottom: 0;
		    padding: 5px;
		    background: linear-gradient(to right, rgb(0, 62, 134) 0%,rgba(125,185,232,0) 100%);
		    left: 15px;
		    width: calc(100% - 15px);
		    text-shadow: 1px 1px 0 #000;
		    color: #fff;
		    opacity: 0;
		    transition: opacity ease 1s;
		}
		#news_columns a:hover .news_title {
		    text-decoration: none;
		    /*color: yellow;*/
		    opacity: 1;
		}
    	body.mobile #news_columns a .news_title {opacity: 1;}

	    /* --------- NEWS: OWL-Carousel slider -------- */

			.owl-carousel .owl-nav .owl-prev
			, .owl-carousel .owl-nav .owl-next
			 {
				position: absolute;
				width: 25px;
				height: 75px;
				top: 50%;
				margin-top: -37px;
				background: transparent url('/images/design/bottom_slider_arrows.png');
				box-sizing: border-box;
				font-size: 0;
			}
			.owl-carousel .owl-nav .owl-prev {
				left: -40px;
			}
			.owl-carousel .owl-nav .owl-next {
				right: -40px;
				background-position-x: right;
			}
			.owl-carousel .owl-nav .disabled {opacity: 0.5;}


	/* --- horse family histoty table --- */
		table.family_tree {margin-left: 20px; color: #8d0041;}
		table.family_tree td.fother {color: #042465;}

		table.family_tree > tbody > tr > td {
		    vertical-align: middle;
		    border-bottom: 1px solid #337ac1;
		    /*border-bottom: solid;*/
		    text-align: right;
		    position: relative;
		    white-space: nowrap;
		    font-size: 1.2em;
			font-family: 'Cambria', 'Times New Roman', Tahoma, Arial;
			font-weight: bold;
		    padding: 10px 5px;
		    padding-left: 20px;
		    border-image: linear-gradient(to right, #0b498c 0%, #0b498c 80%, #0b498c00 80%, #0b498c00 100%);
		    border-bottom-width: 1px;
		    border-top-width: 0px;
		    border-left-width: 0px;
		    border-right-width: 0px;
		    border-image-slice: 1;
		}
		table.family_tree > tbody > tr > td.odd_parent:before
		, table.family_tree > tbody > tr > td:before
		 {
		    content: '';
		    height: 0px;
		    top: 50%;
		    width: 0px;
		    position: absolute;
		    right: -10px;
		    border-right: 12px solid #0a498c;
		    border-top: 6px solid transparent;
		    border-bottom: 6px solid transparent;
		    border-left: 6px solid transparent;
		    margin-top: -6px;
		    z-index: 1;
		}
		table.family_tree > tbody > tr:nth-child(odd)  > td:after {
		    content: '';
		    height: 70%;
		    bottom: -35%;
		    width: 1px;
		    position: absolute;
		    right: 0;
		    right: 15%;
		    background: #337ac1;
		    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.8);
		}
		table.family_tree > tbody > tr > td:last-child:after {
		    height: 50%;
		    bottom: -30%;			
		}
		table.family_tree > tbody > tr > td:first-child {border-bottom: none; border-image:none;}
		table.family_tree > tbody > tr > td:first-child:after {content: none;}
		table.family_tree > tbody > tr > td:last-child:before
		, table.family_tree > tbody > tr > td:last-child:after
		 {
		    display: none;
		}

		table.family_tree > tbody > tr > td:last-child:before {
		    display: none;
		}

		img.info_icon {
		    height: 1.5em;
		    margin-left: 3px;
		    vertical-align: middle;
		    margin-top: -2px;
		}
		span.father
		, span.mother
		 {
		 	display: inline-block;
		 	width: 10px;
		 	height: 10px;
		 	border-radius: 50%;
		 	background: #042465;
		 }
		span.mother {background: #8d0041}
		/*
		*/



	.gallery_img.thumb img, img.gallery_img.thumb {max-width: 300px; max-height: 180px;}
	table[class*="table_as_list"] > tbody > tr > td, ul.table_list > li {box-sizing: border-box;}