/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body { font-family: 'PT Sans', sans-serif; background:#FFF; }

h1, h2, h3, h4 { font-family: 'PT Sans Caption', sans-serif; font-weight:normal; }

h1 { font-weight:normal; font-size:42px; margin:15px 0; line-height:1.2; }
h2 { font-size:36px; }

a { color:#C2032E; }
a:hover { color:#9A0006 !important; }



.mWrapper { max-width:1200px; margin:0 auto; padding: 0 30px; }
.mContent { min-height:700px; }

.innerP .mContent { }

.topMenuPanel { position:fixed; z-index:10; left:0; top:0; background:#C2032E; width:100%; }
.menuLogo { height:34px; }

.bs-breadcrumb { font-size:13px; margin-bottom:20px; }
.bs-breadcrumb i { color:#999; margin:0 3px 0 6px; }

.headImg { padding-top:22px; text-align:center; }
.headImg img { max-width:100%; }

footer { background: #C2032E;  margin-top:30px; text-align:center; color:#FFF; padding:50px 0; }
footer a { color:#FFF; }
footer a:hover { color:#FFEC00 !important; }


.mScreen { position:relative; height:100vh; overflow:hidden; }
.video--fillWidth { position:absolute; left:0; top:0; width:100%; height:100%; opacity:0.7;	
    -o-object-fit: cover;
	object-fit: cover; 
}

.mScreenLogo { position:absolute; width:300px; left:50%; top:40%; transform: translateX(-50%) translateY(-50%); }

.top-main-screen-shad { position:absolute; left:0; right:0; height:30%; bottom:0; 
background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.75) 100%);
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.75) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#bf000000',GradientType=0 );
}

.mIconsBlock { position:absolute; bottom:50px; width:100%; text-align:center;
list-style:none; margin:0; padding:0;
}

.mIconsBlock li { display:inline-block; margin:0 50px; }
.mIconsBlock li img { display:block; margin:0 auto; margin-bottom:10px; }
.mIconsBlock li a { color:#FFF; text-decoration:none; }
.mIconsBlock li a:hover { color:#FFEC00 !important; }


.contactFields { font-size:18px; }

.contactFields dt { font-weight:bold; }
.contactFields dt { float:left; position:relative; top:-1px; width:200px; text-align:right; }
.contactFields dd { margin-left:230px; margin-bottom:30px; }


.news-list .news-item { margin-bottom:25px; }
.news-list .news-date-time, .news-detail .news-date-time { display:block; font-family:"PT Sans Caption", sans-serif; font-size:22px; font-weight:bold; }
.news-detail .news-date-time { margin-bottom:10px; }
.news-list .news-list-title { font-family:"PT Sans Caption", sans-serif; font-size:18px; margin-bottom:5px; }
.news-detail-img {  float: right; margin-left: 20px; margin-bottom: 20px; max-width: 100%;}

ul.galleryFotosList, ul.galleryVideosList { list-style:none; padding:0; margin:0; }
ul.galleryFotosList li, ul.galleryVideosList li { position:relative; display:inline-block; margin:0 30px 30px 0; }
ul.galleryFotosList li img, ul.galleryVideosList li img { max-width:100%; }
ul.galleryVideosList li a { position:relative; }
ul.galleryVideosList li a::before { content:""; position:absolute; opacity:0.7; left:50%; top:45%; margin-left:-32px; margin-top:-32px; width:64px; height:64px; background:url(img/ico_video.png) no-repeat; background-size:100% 100%; transition:all 0.5s; }
ul.galleryVideosList li a:hover::before { opacity:0.4; }

ul.gallery-razdels { text-align:center; list-style:none; margin:0; padding:0; }
ul.gallery-razdels li { display:inline-block; position:relative; margin:30px; }
ul.gallery-razdels li img { max-width:100%; }
ul.gallery-razdels li .razdels-list-title { position:absolute; bottom:0; left:0; right:0; padding:20px; text-align:center; background:#C2032E; color:#FFF; font-size:18px; font-weight:bold; transition:all 0.3s; }
ul.gallery-razdels li:hover .razdels-list-title { background:#FFEC00; color:#C2032E; }
ul.gallery-razdels li .razdels-list-cnt { position:relative; font-weight:normal; font-size:11px; left:5px; top:-5px; }

.video-detail iframe { max-width:100%; }

.moreLinkWrap { text-align:right; }

.mFactBlock { margin-bottom:10px; }
.mFactBlock  .fNum { font-size:42px; font-weight:bold; color:#C2032E; }
.mFactBlock  .fPodp { position:relative; top:-7px; left:15px; }

.main-fotos-slider { margin-top:70px; }
.main-fotos-slider img { max-width:95%; }

.main-map-oblast-img { position:absolute; z-index:-1; max-width:100%; opacity:0.5; }
.main-rokovod-foto { float:right; width:46%; margin:0 0 40px 40px; max-width:100%; }

.cols { position:relative; }
.cols.flex { display:flex; }
.col_1_of_2, .col_1_of_3, .col_2_of_3, .col_1_of_4 { float:left; position:relative; box-sizing: border-box; }
.col_1_of_2 { width:50%; }
.col_1_of_3 { width:33.333333%; }
.col_2_of_3 { width:66.666666%; }
.col_1_of_4 { width:25%; }
.cols.flex .col_1_of_2 {  flex:1 1 50%; }
.cols.flex .col_1_of_3 {  flex:1 1 33.333333%; }
.cols.flex .col_2_of_3 {  flex:1 1 66.666666%; }
.cols.flex .col_1_of_4 {flex:1 1 25%;}
.colPadL { padding-left:1.5%; }
.colPadR { padding-right:1.5%; }

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 1050px) {
   .topMenuPanel { display:none; }
   #hamburger { display:block; }
   
   .headImg { padding-top:0; }
   .main-map-oblast-img { max-height:400px; }
   .main-news-col { margin-top:70px; }
   
   ul.gallery-razdels li { width:40%; margin:3%; }
   
   .video-detail .youtubIframeWrap { position:relative; width:100%; height:0; padding-top:56.5%; }
   .video-detail .youtubIframeWrap iframe { position:absolute; left:0; top:0; width:100% !important; height:100% !important;}
}

@media only screen and (max-width: 900px) {
   .cols.main-news-block .col_1_of_2 { float:none; width:auto; } 
   
   .contactFields dt { float:none; width:auto; text-align:left; }
   .contactFields dd { margin-left:0; }
}


@media only screen and (max-width: 800px) {
   .mIconsBlock { display:none; }
}

@media only screen and (max-width: 600px) {
   ul.gallery-razdels li { width:auto; margin:0 0 40px 0; }
   ul.galleryFotosList li, ul.galleryVideosList li { margin:0 0 40px 0; }
}

@media only screen and (max-width: 500px) {
   .main-rokovod-foto { float:none; width:auto; margin:0; } 
}


@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}