/* CSS Document for Screens */

/*@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,700,700i&subset=cyrillic,cyrillic-ext');*/
/*@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&subset=cyrillic,cyrillic-ext');*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i,&subset=cyrillic,cyrillic-ext');

/* Titles */
@import url('https://fonts.googleapis.com/css?family=Alegreya+SC:400,400i,700,700i&subset=cyrillic,cyrillic-ext');


body {font-family: 'Open Sans', sans-serif; font-size: 16px; font-weight: 400; color: #000; margin: 0; padding: 0; background-color: #eee9d9;}
#page {max-width: 1200px; margin: 0 auto; position: relative;}


/* Text */ 

h1 {margin: 0 0 1em 0; font-size: 2em; font-weight: 700;}
h2 {margin: 0 0 0.5em 0; font-size: 1.8em; font-weight: 700; line-height: 1.1em;}
h3 {margin: 0 0 0.5em 0; font-size: 1.3em; font-weight: 700; }
h4 {margin: 0 0 1.5em 0; font-size: 1.1em; font-weight: 700; }
.page_title {text-align: right; padding: 20px 80px 20px 10px; font-family: 'Alegreya SC', serif; font-style: italic; color: #781414;}
.heading {padding: 0 60px 5px 10px; text-align: right;}
.heading span {font-weight: normal;}

h3.heading a:hover {color: #000;}


p {margin: 0 0 1em 0;}

a {color: #333;}
a:hover {color: #CC6600;}
a:visited {color: #777;}

a.btn {font-size: 1.2em; text-decoration: none; color: #fff; border: 1px solid #fff; padding: 4px 15px; transition: background-color 0.5s;}
a.btn:hover {background-color: rgba(0, 0, 0, 0.3);} 

.bullets_left {text-align: left; padding-left: 4em; text-indent: -10px; list-style-type:none;}
.bullets_left li::before {content: "-"; padding-right: 5px;}

/* stile used for text displayed as signature */
.sinature {
    float: right;
    padding: 10px 5px;
}
.legend {margin:20px 0px; padding: 10px 15px; font-size: 0.9em; color: #777; border:1px solid #777; border-radius: 5px;}
.comment {font-size: 0.9em;}

/* Show first character extra large on paragraph .first_char_caps */
.first_char_caps:first-letter {
    color: #781414;
    display:inline;
    float:left;
    font-size:5.4em;
    font-family: 'Alegreya SC', serif;
    font-weight: bold; 
    font-style: italic;
    line-height:0.8em;
    margin: -0.01em 0.14em 0 0;
    text-transform:uppercase;
}

/* Show first character extra large only on first paragraph */
.first_char_caps_one {}
.first_char_caps_one p:first-child:first-letter {
    color: #781414;
    display:inline;
    float:left;
    font-size:5.4em;
    font-family: 'Alegreya SC', serif;
    font-weight: bold; 
    font-style: italic;
    line-height:0.8em;
    margin: -0.01em 0.14em 0 0;
    text-transform:uppercase;
}
.first_char_caps_one p:first-child:first-line {}

/* Show first character extra large only on all paragraphs */
.first_char_caps_all p:first-letter {
    color: #781414;
    display:inline;
    float:left;
    font-size:5.4em;
    font-family: 'Alegreya SC', serif;
    font-weight: bold; 
    font-style: italic;
    line-height:0.8em;
    margin: -0.01em 0.14em 0 0;
    text-transform:uppercase;
}

/* overflow-wrap - break long words */
.break-word, .dataTable_holder {
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.hyp_auto, .break-word a, .dataTable_holder a { 
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;

    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;

    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}


/* Header */

/* header {height: 430px; background: #781414 url(../images/banner_1200.jpg) no-repeat center bottom; position: relative;} */
header {height: 160px; background: #781414; position: relative;}
/*header a.logo {
    position: absolute; 
    display: block; width: 220px; height: 100px;
    background: url(../images/logo_220x100.gif) no-repeat 0 0;
    background-size: contain;
    top: 10px; left: 10px;
    z-index: 1;
}
header a.logo span {display: none;}*/

header .title {position: absolute; font-style: italic; font-weight: bold; text-align: right; color: #f0fa8c; top: 20px; right: 5%;}
header h1 {margin: 5px 0 0 0; font-size: 2.4em; letter-spacing: 0.02em;}
header h2 {margin: -5px 0 0 0; font-size: 1.8em; letter-spacing: 0.01em;}

.title-font {font-family: 'Alegreya SC', serif;}

.lng_link {
    background: rgba(0, 0, 0, 0.65);
    position: absolute;
    top: 0px; right: 0px;
    padding: 0;
    width: 100%;
    height: 28px;
}
.lng_link ul {list-style: none; margin: 0px; padding: 3px; font-size: 0.9em; float: right;}
.lng_link ul li {float:left; border-right: 2px solid #993333;}
.lng_link ul li:hover { font-weight: 700;}
.lng_link ul li a {
    display: inline-block;
    color: #f0fa8c;
    padding: 0px 10px 0px 10px;
    text-decoration: none;
    text-align: center;
    position: relative;
    width: 20px;
    transition: font-weight .4s ease-in-out;     
}
.lng_link ul li:last-child {border-right:none;}
.lng_link ul li a.selected { color: #993333;}
    
/*header div.hero {position: absolute; width: 80%; top: 20px; left: 20%; z-index: 1;}
header div.hero h1 {line-height: 1em; margin: 0 0 30px 0; color: #f0fa8c;} */


/* Navigation */

nav {
    background: rgba(0, 0, 0, 0.65);
    position: absolute;
/*    position: relative;*/
    top: 115px; left: 0px;
    padding: 0;
    width: 100%;
    z-index: 1;
}
nav::after {content:''; display: block; clear: both;}

nav a.mobile_menu {
/*    width: 32px; height: 32px;*/
/*    background: url(../images/icon_menu.svg) no-repeat 0 0;*/  
/*    margin-left: -16px;*/
    background-size: contain;
    position: absolute; top: 8px; left: 90%;
    display: none;
    /*background-color: #f0fa8c;
    mask: url(../images/icon_menu.svg) no-repeat 50% 50%;
    -webkit-mask: url(../images/icon_menu.svg) no-repeat 50% 50%;*/
    /*background-image: url(../images/icon_menu.png);
    mask-image: url(../images/icon_menu.svg);
    -webkit-mask-image: url(../images/icon_menu.svg);*/
    color: #f0fa8c;
    font-size: 1.8em;
    padding: 2px;
}

nav ul {list-style: none; margin: 0; padding: 0px;}
/*nav ul li {background: rgba(0, 0, 0, 0.65);}*/
nav ul li:hover {background-color: #2b0306;}
nav ul li:hover > ul {display: block;}
nav ul li a {
    display: inline-block;
    color: #f0fa8c;
    padding: 5px 10px;
    text-decoration: none;
    width: 120px;
    position: relative; 
    transition: background-color 0.5s;
}
nav ul li a:hover {color: #f0fa8c; background-color: #6d0911;}
nav ul li a:visited {color: #f0fa8c;}
nav ul ul {position: absolute; top:100%; background-color: #2b0306; display: none;}
nav ul ul li {position: relative;}
nav ul ul ul {left: 100%; top:0px;}

/* Top level */
nav > ul {padding-left: 10px;}
nav > ul > li {float:left; }
nav > ul > li > a {width: auto; padding: 7px 10px 15px 10px;}

nav a[aria-haspopup="true"]::after {
    content: '';
    display: block;
    width: 0px; height: 0px;
    position: absolute;
    top: 16px; right: 15px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid #f0fa8c; /* menu color */
}
nav > ul > li > a[aria-haspopup="true"]::after  {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #f0fa8c; /* menu color */
    left: 20px; right: auto;
    bottom: 6px; top: auto;
}


/* Page content */

#page_content {border-left: 2px solid #781414; border-right: 2px solid #781414;}

/* Flex items */
.flex-container {
  display: flex;
  justify-content: space-around;
}
.flex-item, .flex-item_L, .flex-item_R {
    -webkit-box-flex: 1; /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex: 1;   /* OLD - Firefox 19- */
    -webkit-flex: 1;    /* Chrome */
    -ms-flex: 1;        /* IE 10 */
    flex: 1;
}
.flex-item_L {
    -ms-flex-order: -1; /* TWEENER - IE 10 */
    -webkit-order: -1;  /* NEW - Chrome */
    order: -1;          /* NEW, Spec - Opera 12.1, Firefox 20+ */
}
.flex-item_R {
    -ms-flex-order: 2; /* TWEENER - IE 10 */
    -webkit-order: 2;  /* NEW - Chrome */
    order: 2;          /* NEW, Spec - Opera 12.1, Firefox 20+ */
}
.flex-items_center {
    align-items: center;
}
.flex-items_double {
    flex-grow: 2;
}
#books .flex-container div {margin-left: 20px; margin-right: 20px;}
#books .extra_space_left {padding-left: 20em;}

/* Section - All */

section {padding: 0 30px; }
section::after {content: ''; display: block; clear: both;}

/* section 1-1 */
.sec_1-1 { padding: 10px 0 10px 0;}
.sec_1-1 article { padding: 10px; text-align: justify;}
/*.sec_1-1 article h3 { color: #CC6600; }*/
.sec_1-1 p { padding-left: 40px; padding-right: 40px;}

.team p {text-align: justify;}
.team .sec_1-1 {padding: 5px 0px;}
.team .sec_1-1 article {padding: 5px;}
.team .sec_1-1 .heading {margin: 0px 40px; padding: 40px 40px 10px 10px; text-align: right; border-top: 1px solid #781414;}
.team .sec_1-1:first-of-type .heading {border-top: none;}
.team .sec_1-1:last-of-type {padding-bottom: 40px;}

.team > .heading {padding-top: 30px; padding-right: 50px; margin: 0px 30px; border-top: 2px solid #CC6600;}
.team:first-of-type > .heading {padding-top: 20px; border-top: none;}

.team .cv_img {
    position:relative;
}
.team .cv_img img { 
/*    width: 300px; */
/*    height: 300px;*/
    float: left;  
    margin: 10px 20px 20px 20px;
    vertical-align: bottom;
    
    max-width: 280px;
    max-height: 280px;
    width: auto;
    height: auto;
    padding: 5px 5px 15px 5px;
    background: white;
    border-radius: 5px; 
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
}
.team .ul-li {width: 90%; float: right;}


.sec_1-1 .art_bgn { margin: 15px 0px; background: no-repeat center top; background-size: 75px 75px; padding-top: 85px;}
.sec_1-1 .art_bgn.trending {background-image: url(../images/icon_star.svg);}

.sec_1-1.art_ico { position: relative;}
.sec_1-1.art_ico { margin-right: 0px; position: relative;}
.sec_1-1.art_ico .b-icon { display: block; margin: 10px; margin-left: auto; margin-right: auto; max-height: 200px; /*height: 30%;*/}

.sec_1-1.art_ico_left { position: relative; padding: 20px 20px 20px 22%;}
.sec_1-1.art_ico_left .b-icon { display: inline-block; position: absolute; margin: 10px; width: 20%; top: 30px; left: 0px;}

.sec_1-1.art_ico_right { position: relative; padding: 20px 22% 20px 20px;}
.sec_1-1.art_ico_right .b-icon { display: inline-block; position: absolute; margin: 10px; width: 20%; top: 30px; right: 0px;}

/* section 1-3 */
.sec_1-3, .sec_1-2 { padding: 40px 0 30px 0;}
.sec_1-3 article { width: 30%; float: left; padding-left: 20px; text-align: center;}
.sec_1-2 article { width: 45%; float: left; padding-left: 20px; text-align: center;}
.sec_1-3 article.double { width: 60%; }
.sec_1-3 article.art_4_9 { width: 40%; padding-left: 10px;}
.sec_1-3 article.art_1_9 { width: 10%; padding-left: 5px; padding-right: 5px;}
/*.sec_1-3 article h3 { color: #CC6600; }*/

.results {margin: 20px 0px; border: 1px solid #781414;}
.results .sec_1-1.msg, .results .sec_1-1 article.msg {padding: 2px 10px;}
.results .sec_1-3 {padding: 5px 0px; background-color: rgba(0,0,0,0.05);}
.results .sec_1-3:nth-child(even) {background-color: rgba(0,0,0,0.1);}
.results .sec_1-3:hover {background-color: rgba(255,255,255,0.5);}
.results h4 {text-transform: uppercase; margin: 5px;}
.results p {margin: 5px; padding: 0;}
.results h4 > span {font-weight: normal; text-transform: none; font-variant: small-caps; margin: 2px; padding: 2px;}

/* hpaging pager button  */
.pagination .ui-button {margin-bottom: 0.1em;}

.sec_1-3 .art_bgn { margin: 15px 0px; background: no-repeat center top; background-size: 75px 75px; padding-top: 85px;}
.sec_1-3 .art_bgn.trending {background-image: url(../images/icon_star.svg);}
.sec_1-3 .art_bgn.find-it {background-image: url(../images/icon_marker.svg);}
.sec_1-3 .art_bgn.tools {background-image: url(../images/icon_gear.svg);}

.sec_1-3.art_ico { position: relative;}
.sec_1-3.art_ico article { width: 31%; float: left; margin-right: 10px; }
.sec_1-3.art_ico article:first-child { margin-left: 10px;}
.sec_1-3.art_ico .content {padding: 30px 30px 20px 10px;}
.sec_1-3.art_ico .b-icon { display: block; margin: 10px; margin-left: auto; margin-right: auto; /*max-height: 200px;*/ width: 70%;}

.dataTable_holder {
    float: none;
    margin: 0 auto;
    width: 95%;
    border: 1px solid #2b0306;
    overflow-x: auto;
/*    background-color: rgba(255,255,255,0.3);*/
}
/*.dataTable_holder::after {content: ''; display: block; clear: both;} */


.data_accordion {padding: 5px;}
.accordions .heading {padding-top: 10px;}

/* Search forms */
.db_search .sec_1-2, .db_search .sec_1-2 article {padding-top: 2px; padding-bottom: 2px; margin-top: 2px; margin-bottom: 2px;}
.db_search input {
    border: 1px solid #ccc;
    padding: 10px;
    outline: none;
/*    font-size: 14px;*/
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    width: 75%;
    margin: 10px;
}
.db_search input.dates {width: 80px;}
.db_search .button {width: 100px;}

.stat_sec article {padding-bottom: 30px;}
.stat_sec p {font-weight: bold; text-align: center;}

.statTable {
    text-align: left;
    background-color: rgba(0,0,0,0.05);
    border-collapse: collapse;
    margin-left:auto; 
    margin-right:auto;
}
.statTable tr:nth-child(even) {background-color: rgba(0,0,0,0.1);}
.statTable tr:hover {background-color: rgba(255,255,255,0.5);}
.statTable tr:last-of-type {background-color: rgba(0,0,0,0.3); font-weight: bold;}
.statTable.statPercent tr:nth-last-child(2) {background-color: rgba(0,0,0,0.3); font-weight: bold;}
.statTable td {padding: 2px 10px; border: 1px solid #555;}
.statTable td:last-child {text-align: center;}


/* Font Awesome Icons */
.font_icon {color: #781414; font-size: 160px;}
.font_icon_code {}
.font_icon_css3 {}
.font_icon_address {font-size: 170px;}
p i.fa {font-size: 1.5em; padding-right: 0.7em; color: #781414;}


/* slideshow */
#slides_holder {
    width: 100%;
    height: 400px;
/*    background-color: white;*/
    background-image: url(../images/slide_bgn.jpg); 
    background-repeat: no-repeat; 
    background-position: center center;
    background-size: contain; 
} 
#stat_slides_holder {
/*    background-color: rgba(255,255,255,0.5);*/
/*    transition: background-color 0.5s ease;*/
/*    -moz-border-radius: 5px; */
/*    -webkit-border-radius: 5px; */
/*    border-radius: 5px;*/
    width: 90%;
    height: 95%;
/*    position: absolute;*/
    margin: 20px;
/*    bottom: 0px;*/
/*    left: 0px;*/
/*    border: 1px solid #999999;*/
/*    -moz-border-radius: 5px; */
/*    -webkit-border-radius: 5px; */
/*    border-radius: 5px;*/
}
.stat_slide {
    padding: 20px;
    margin: auto;
    background: rgba(255,255,255,0.8);
    border: 1px solid #999999;
    -moz-border-radius: 5px; 
    -webkit-border-radius: 5px;     
    border-radius: 5px; 
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);        
}
.stat_slide p {
    padding: 20px;
    color: #781414;
}



/* slideshow */
#showcase_holder {padding-top: 20px;}
.slideshow img { 
    margin: auto;
    display: block;                                                          
}

.showcase-content-wrapper .img_holder{
    position: relative; 
    text-align: center;
}
.showcase-content-wrapper img {
    max-height: 600px;
}
.showcase-content-wrapper .txt_holder_top {
    position: absolute;
    background: rgba(250, 250, 250, 0.9); 
    top: 8px; 
    left: 16px;
}
.showcase-content-wrapper .txt_holder_bottom{
    position: absolute;
    background: rgba(200, 200, 200, 0.9); 
    bottom: 8px; 
    left: 16px;
}
.showcase-content-wrapper .txt_holder_top, .showcase-content-wrapper .txt_holder_bottom{
/*    max-width: 60%;*/
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
}
.showcase-content-wrapper .t_slide {
    font-size: 1.2em;
    font-weight: bold;
    text-align: left;
    max-width: 700px;
}
.showcase-content-wrapper .t_statistic {
    text-align: center;
    max-width: 750px;
}
/*.showcase-content-wrapper .t_mtf {
    font-size: 1.3em;
    font-weight: bolder;
    text-align: center;
}
.showcase-content-wrapper .t_vc {
    font-size: 1.6em;
    font-weight: bold;
    text-align: center;
    color: red;
}
.showcase-content-wrapper .t_date {
    font-size: 1em;
    font-weight: bolder;
    text-align: right;
}
.showcase-content-wrapper .p_theatre {
    font-size: 1.2em;
    font-weight: bold;
    text-align: right;
}
.showcase-content-wrapper .p_play {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    color: red;
}
.showcase-content-wrapper .p_play a {
    color: red;
}
.showcase-content-wrapper .p_play a:hover {
    color: #f77;
}
.showcase-content-wrapper .p_autor {
    font-size: 1.1em;
    font-weight: bold;
    text-align: left;
    padding-left: 10px;
}
.showcase-content-wrapper .p_director {
    font-size: 1.1em;
    font-weight: bold;
    text-align: right;
}
.showcase-content-wrapper .p_datetime {
    font-size: 1em;
    border-bottom: 1px solid black;
    padding-bottom: 4px;
    text-align: right;
}
.showcase-content-wrapper .p_stage {
    font-size: 1em;
    text-align: right;
}*/


/* Footer */

footer { font-size: 0.8em; padding: 10px 20px 20px 20px; color: #f0fa8c; background: #781414;}
footer .content {display: inline;}
footer a {margin-left: 30px; color: #eeff44;}
footer a:visited {color: #ffdd00;}
footer a:hover {color: #ccccaa;}

/* Scroll to top button */
#scroll2top_btn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3); /* Set a background color */
    transition: background-color 0.3s;
    color: #444; /* Text color */
    transition: color 0.5s;
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 0px; /* Some padding */
    margin: 0;
    border-radius: 10px; /* Rounded corners */
    font-size: 2.8em; /* Increase font size */
    font-weight: bold;
    text-shadow: -1px 0 rgba(255, 255, 255, 0.3), 0 1px rgba(255, 255, 255, 0.3), 1px 0 rgba(255, 255, 255, 0.3), 0 -1px rgba(255, 255, 255, 0.3); /* shadow */
    box-shadow: -1px 0 2px black, 0 1px 2px black, 1px 0 2px black, 0 -1px 2px black;
}
#scroll2top_btn:hover {
    background-color: rgba(0, 0, 0, 0.7); /* Add a dark-grey background on hover */
    color: #fff;
}


/* Media Queries */

@media screen and (max-width: 1000px){
    h1 {font-size: 1.9em;}
    h2 {font-size: 1.7em;}
    
    /* Header */
    /*header div.hero {left: 56%;}
    header div.hero h1 {margin-bottom: 20px;}*/
/*    body {background-color: rgba(0, 0, 0, 0.1);} *//* temp 4 @media */
}

@media screen and (max-width: 850px){
    header h1 {margin-top: 15px; font-size: 2em; }
    header h2 {margin-top: 0px; font-size: 1.4em;}
    a.btn {font-size: 1.1em;}
    
    .team .cv_img img {
/*        max-width: 250px;*/
        max-height: 250px;
    }
    
/*    body {background-color: rgba(0, 0, 0, 0.2);} *//* temp 4 @media */ 
}

@media screen and (max-width: 780px){
    h1 {font-size: 1.8em;}
    h2 {font-size: 1.6em;}
    .page_title {padding-right: 70px;}
    
    /* Header */
    /*header {height: 300px; background-image: url('../images/banner_825.jpg');}
    header div.hero {top:120px; left: 48%;}*/

    
    .sec_1-1 p { padding-left: 30px; padding-right: 30px;}
    .results p {font-size: 0.95em; padding: 0; margin: 0;}
    .team .cv_img img {
/*        max-width: 220px;*/
        max-height: 220px;
    }
    
    .font_icon {font-size: 120px;}
    .font_icon_address {font-size: 140px;}
    
    /* slideshow */
    #slides_holder {
        height: 450px;
    }
/*    body {background-color: rgba(0, 0, 0, 0.3);} *//* temp 4 @media */
}

@media screen and (max-width: 760px){
    h1 {font-size: 1.7em;}
    h2 {font-size: 1.5em;}
    h3 {font-size: 1.1em;}
    a.btn {font-size: 1em;}
    
    /* Header */
    /*header a.logo {width: 145px; height: 60px;}
    header div.hero {top:140px; left: 48%;} */
    
    .sec_1-3 .art_bgn {background-size: 55px 55px; padding-top: 60px; }
    
    /* Navigation */
    /*nav {padding-top: 80px;}
    nav > ul {padding-left: 10px;} */
    p i.fa {font-size: 1.4em;}
    
    #scroll2top_btn {font-size: 2.6em;}
/*    body {background-color: rgba(0, 0, 0, 0.4);} *//* temp 4 @media */
}

@media screen and (max-width: 730px){
    h1 {font-size: 1.6em;}
    h2 {font-size: 1.4em;}
    h3 {margin-bottom: 0px;}
    .page_title {padding-right: 50px;}
    a.btn {font-size: 0.9em;}
    p {font-size: 0.9em;}
    .comment {font-size: 0.8em;}
    
    header h1 {margin-top: 15px; font-size: 1.6em; }
    header h2 {margin-top: 0px; font-size: 1em;}
    
    /* Header */
/*    header {height: 160px; background-image: url(../images/banner_625.jpg); background-position: left top;}*/
    /*header {height: auto; min-height: 160px; background-image: url(../images/banner_625.jpg); background-position: left top;}
    header a.logo {
        width: 125px; height: 52px;
        left: 10px; top: 10px;
    }
    header div.hero {width: 300px; top: 85px; left: 130px;} 
    header div.hero h1 {margin: 10px;}*/
    
    .sec_1-1 p { padding-left: 20px; padding-right: 20px;}
    
    .team .cv_img img {
/*        max-width: 180px;*/
        max-height: 180px;
    }
    
    .sec_1-3 article, .sec_1-2 article, .sec_1-3 article.double, .sec_1-3 article.art_1_9, .sec_1-3 article.art_4_9  { 
        width: 95%; 
        float: none; 
        text-align: left; 
        padding-left: 0px; 
        margin-left: 15px;
        padding-top: 5px; padding-bottom: 5px;
    }
    .sec_1-3 article.art_1_9:nth-child(2), .sec_1-3 article.art_4_9:nth-child(2) {text-align: center;}
    .sec_1-3 article.art_1_9:nth-child(3), .sec_1-3 article.art_4_9:nth-child(3) {text-align: right;}
    .sec_1-3 .art_bgn {
        width: 85%;
        margin: 8px 20px 8px 0;
        padding: 5px 0px 10px 85px;
        background-size: 50px 50px;
        background-position: 20px 5px; 
    }
       
    .sec_1-3.art_ico article, .sec_1-3.art_ico article:first-child { width: 100%; float: none; margin: 0; position: relative; } 
    .sec_1-3.art_ico .content {padding: 20px 20px 20px 150px;}
    .sec_1-3.art_ico .content p {font-size: 0.9em;}
    .sec_1-3.art_ico .b-icon { display: inline-block; width: 125px; position: absolute; top: 30px; left: 10px; }
    
    #books .flex-items_center {align-items: flex-start;}
    #books .flex-container div {margin-left: 10px; margin-right: 10px;}   
    #books .thumbnail_img {max-width: 150px; }       
    
    /* Footer */
    footer div.content {display: block; margin-top: 15px;}
    footer div.content a {margin: 0 20px 0 0;}
/*    body {background-color: rgba(0, 0, 0, 0.5);} *//* temp 4 @media */
}

@media screen and (max-width: 680px){
/* Nagigation */ 
/*    nav {position: static; width: auto; padding: 20px 15px; background-color: #4b0a0c;}*/
    nav {padding: 22px 0px ; background-color: #2A0707; height: 0px; overflow: hidden;}
    
    nav a.mobile_menu {display: block;}
    
    nav ul, nav ul ul, nav ul ul ul {display: block; position: static;}
    nav > ul {padding: 0;}
    nav > ul > li {float: none; margin-top: 10px;}
    nav > ul > li:first-child {margin-top: 20px;}
    nav ul li:hover {background: none;}
    nav ul li a {
        width: auto;
        display: block;
        margin: 8px 10px;
/*        padding: 8px 15px;*/
        padding: 6px 15px 6px 5px;
/*        border: 1px solid rgba(255,255,255,0.25);*/
        border-bottom: 1px solid rgba(255,255,255,0.25);
    }  
    nav ul li a:hover {background-color: rgba(255,255,255,0.1);}
    nav ul ul {background: none;}
    nav ul ul li a {margin-left: 30px;}
    nav ul ul ul li a {margin-left: 60px;}
    nav a[aria-haspopup="true"]::after {display: none;}  

    /* slideshow */
    #slides_holder {
        height: 480px;
    }
}
@media screen and (max-width: 580px){
    header h1 {margin-top: 15px; font-size: 1.4em; }
    header h2 {margin-top: 0px; font-size: 0.8em;}
    h1 {font-size: 1.5em;} 
    h2 {font-size: 1.3em;}
    h3 {font-size: 1em;}
    h4 {font-size: 0.9em;}
    p {font-size: 0.85em;}
    .comment {font-size: 0.75em;}
     
    .team .cv_img {
        min-width: 100%;
        min-height: 210px;
    }
    .team .cv_img img {
/*        display: inline-block; */
        position: absolute; 
        float: none;
        right: 70px;
        margin: 5px 10px;
/*        max-width: 180px;*/
        max-height: 180px;
    } 
     
    .sec_1-3 .art_bgn {width: 80%;} 
/*    .sec_1-3 .art_bgn .content {width: 95%; }*/
    .sec_1-3.art_ico .content p {font-size: 0.8em;}

    .font_icon {font-size: 110px;}
    .font_icon_address {font-size: 130px;}
    p i.fa {font-size: 1.3em;}
    #scroll2top_btn {font-size: 2.4em;}
/*    body {background-color: rgba(0, 0, 0, 0.6);} *//* temp 4 @media */
}

@media screen and (max-width: 500px){
    /* Header */
    header h1 {margin-top: 17px; font-size: 1.2em; }
    header h2 {margin-top: 0px; font-size: 0.7em;}
    h1 {font-size: 1.4em;} 
    h2 {font-size: 1.2em;}
    .page_title {padding-right: 30px;}
     
    /*header {
        min-height: 125px; background-image: url(../images/banner_425.jpg);
        background-position: left bottom;
    } 
    header a.logo {
        width: 126px; height: 26px; 
        background-image: url(../images/logo_small.svg); 
        top: 15px;
    }
    header div.hero {width: 100%; left: 0px; top: 58px; text-align: center;}
    header div.hero h1 {font-size: 1em; margin-bottom: 10px;}
    header div.hero a.btn {padding: 2px 30px; font-size: 0.8em;}
    header div.hero a.btn span {display: none;}*/
    
    .sec_1-1 p { padding-left: 10px; padding-right: 10px;}
    
    .team .cv_img {
        min-height: 180px;
    }
    .team .cv_img img {
/*        max-width: 150px;*/
        max-height: 150px;
    } 
    
    .sec_1-3 .art_bgn {width: 75%; } 
    .sec_1-3 .art_bgn .content {width: 95%; }
    
    .sec_1-3.art_ico .content {padding: 140px 20px 20px 10px;}
    .sec_1-3.art_ico .b-icon { width: auto; height: 100px; top: 30px; }
    
    .font_icon {font-size: 100px;}
    .font_icon_address {font-size: 120px;}
    
    /* Nav */
    /*nav {padding-top: 30px;} */
    nav a.mobile_menu {left: auto; right: 30px; margin-left: 0px;}
    
    #books .flex-container div {margin-left: 5px; margin-right: 5px;}
    #books .thumbnail_img {max-width: 80px;}
    
    /* Footer */
    footer::after {content:''; display: block; clear: both;}
    footer div.content a {
        display: inline-block;
        margin: 0 0 10px 0;
        float: left;
        clear: both;
    }
    #page_content {font-size: 0.9em;}
/*    tr>td a {font-size: 0.8em;}*/
    .ui-tabs .ui-tabs-nav li {white-space: normal;}
    .ui-tabs .ui-tabs-panel {padding: 0.8em 1.1em;}
    .dataTable_holder { width: 98%; }
/*    .dataTable_holder table {font-size: 0.9em;}*/
    .dataTable_holder table th, .dataTable_holder table td {padding: 5px 5px;}
    table.dataTable tbody th, table.dataTable tbody td {padding: 5px 5px;} 
/*    body {background-color: rgba(0, 0, 0, 0.7);} *//* temp 4 @media */    
}

@media screen and (max-width: 400px){
    #page_content {font-size: 0.85em;}
    
    .team .cv_img {
        min-height: 150px;
    }
    .team .cv_img img {
/*        max-width: 120px;*/
        max-height: 120px;
    }
    
    #books .flex-container div {margin-left: 2px; margin-right: 2px;}     
/*    tr>td a {font-size: 0.7em;}*/
    .ui-tabs .ui-tabs-nav li {white-space: normal;}
    .ui-tabs .ui-tabs-panel {padding: 0.7em 0.9em;}
    table.dataTable tbody th, table.dataTable tbody td {padding: 5px 7px;} 
/*    body {background-color: rgba(0, 0, 0, 0.8);} *//* temp 4 @media */ 
}

/* Extended CSS */
.indent {text-indent: 30px;}
.left {text-align: left;}
.right {text-align: right;}
.justify {text-align: justify;}
.center {text-align: center;}
.v_top {vertical-align: top;}
.v_middle {vertical-align: middle;}
.v_bottom {vertical-align: bottom;}
.total_center {text-align: center; vertical-align: middle}
.left_v_top {text-align: left; vertical-align: top;}
.left_v_middle {text-align: left; vertical-align: middle} 
.bold {font-weight: bolder;}
.italic {font-style: italic;}
.underline {text-decoration: underline;}
.underline_double {text-decoration-line: underline; text-decoration-style: double;}
.red {color: #ff0000;} 
.no_border {border: none;}       
.border1 {border: 1px solid #781414;} /* color1 */
.border2 {border: 1px solid #9B8F8F;} /* color2 */
.color1 {color: #CC6600;} /* color1 */
.color2 {color: #781414;} /* color2 */
.div_center {margin: auto;}
.small_caps {font-variant: small-caps;}
.div_v_middle {margin-top: auto; margin-bottom: auto;}
.extra_space_left {padding-left: 0.7em;}
.extra_space_right {padding-right: 0.7em;}
.extra_space_top {padding-top: 0.7em; }
.extra_space_bottom {padding-bottom: 0.7em;}
.hidden {display: none;}