/* CSS Document for Print */

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

@page {margin: 0.5cm;}

body {
    color: #000;
    font-family: Georgia, "Time New Roman", Times, serif;
    font-family: 12pt;
    font-weight: normal;
    margin: 0; padding: 0;
}

/* Text */
h1, h2, h3, h4 {margin: 0; font-family: "Open Sans", sans-serif;}

h1 {font-size: 1.4em;}
h2 {font-size: 1.3em;}
h3 {font-size: 1.2em;}
h4 {font-size: 1.1em;}
.page_title {text-align: right; padding: 20px 80px 20px 10px; font-family: 'Alegreya SC', serif; font-style: italic;}

p {margin: 0 0 1em 0; font-size: 0.9em;}

a, a:visited {color: inherit; text-decoration: none;}

a::after, a:visited::after {
    content: ' (' attr(href) ')';
    font-style: italic;
    word-wrap: break-word;
}
.ui-tabs-tab a::after, .ui-tabs-tab a:visited::after, 
a[href^="#"]::after, a[href^="#"]:visited::after,  
.heading a::after, .heading a:visited::after,
.pagination a::after, .pagination a:visited::after, 
.dataTables_paginate a::after, .dataTables_paginate a:visited::after {
    content: '';
}

nav, .lng_link {display: none;}
 

.heading {padding: 0 60px 5px 10px; text-align: right;}
.heading span {font-weight: normal;}

.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 {
    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 {
    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 {
    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: 100px; position: relative; border-bottom: 1px solid #ccc;}

header .title {position: absolute; font-style: italic; font-weight: bold; text-align: right; top: 10px; right: 5%;}
header h1 {margin: 5px 0 0 0; font-size: 2em; letter-spacing: 0.02em;}
header h2 {margin: -5px 0 0 0; font-size: 1.4em; letter-spacing: 0.01em;}

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

/* Page content */

/* 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 p { padding-left: 40px; padding-right: 40px;}

.team p {text-align: justify;}
.team .sec_1-1 {padding: 5px 0px; page-break-inside: avoid;}
.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 #777;}
.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 #777;}
.team:first-of-type > .heading {padding-top: 20px; border-top: none;}

.team .cv_img {
    position:relative;
}
.team .cv_img img { 
    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_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;}

.results {margin: 20px 0px; border: 1px solid #999}
.results .sec_1-1.msg, .results .sec_1-1 article.msg {padding: 0px;}
.results .sec_1-3 {padding: 5px 0px; background-color: rgba(0,0,0,0.05); page-break-inside: avoid;}
.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;}

.sec_1-3 .art_bgn { margin: 15px 0px; background: no-repeat center top; background-size: 75px 75px; padding-top: 85px;}

.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 {
    font-size: 0.8em;
    float: none;
    margin: 0 auto;
    width: 98%;
    border: 1px solid #ccc;
    overflow-x: auto;
}


.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 { 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; }


/* slideshow */
#slides_holder {
    width: 100%;
    height: 400px;
    background-image: url(../images/slide_bgn.jpg); 
    background-repeat: no-repeat; 
    background-position: center center;
    background-size: contain; 
} 
#stat_slides_holder {
    width: 90%;
    height: 95%;
    margin: 20px;
}
.stat_slide {
    padding: 20px;
    margin: auto;
    background: rgba(255,255,255,0.8);
    border: 1px solid #999;
    -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;
    
}



/* 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;
}

/* Footer */
footer {border-top: 1px solid #ccc; position: relative; min-height: 150px; padding: 40px 0 0 120px; page-break-inside: avoid;}
footer::after {content: url(../images/qr_MSTR.png); position: absolute; top: 20px; left: 0px;}
footer a {display: block; margin-top: 15px;}
footer a::after {display: block;}
footer div.content {padding-left: 10px;}
footer div.content::after {
    content: 'www.fdu.ukim.edu.mk/index_mstr.php';
    display: block; margin-top: 30px; font-style: italic; font-size: 0.9em;
} 

.form_submit_btn .ui-button {background-color: #eee; color: #000; border-color: #777;}

/* Scroll to top button */
#scroll2top_btn {
    display: none;
}

/* 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 #777;} /* color1 */
.border2 {border: 1px solid #999;} /* 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;}