*{
    margin: 0px;
    padding: 0px;
    font-family: Arial;
    color: black;
}

a{
    color: #000000;
}
/*top menu*/
.first_row{
    background: #3e3e3e;
}

.last_row{
    background: #3e3e3e;
    margin-top: 20px;
}

.second_row{
    background: #444444;
    color: #c8cdc3;
}

.first_row #langbox span, .last_row #langbox span{
    background-color: #ffffff;
    color: black;
    font-weight: 700;
}

.first_row #langbox a, .last_row #langbox a{
    color: #c8cdc3;
    font-weight: 500;
}

.first_row #donntu a, .last_row #donntu a{
    color: #c8cdc3;
    font-weight: 500;
}

.first_row #langbox a:hover, .first_row #donntu a:hover, .last_row #langbox a:hover, .last_row #donntu a:hover{
    background: white;
    color: black;
    font-weight: 500;
    transition: all 1s ease 0s;
}

nav {
    position: relative;
    text-align: center;
}
nav:hover a {
    color: transparent;
    text-shadow: 0 0 3px #c8cdc3;
}
nav a {
    color: #c8cdc3;
    display: inline-block;
    font-family: tahoma;
    font-size: 16px;
    height: 50px;
    line-height: 50px;
    text-decoration: none;
    transition: all 0.3s ease 0s;
    padding: 0px 15px;
}
nav a:hover {
    border-bottom: 4px solid #f5f5f5;
    color: #f5f5f5;
    text-shadow: none;
    text-decoration: none;
}
@media screen and (max-width: 620px) {
    nav a {
        width: 49%;
    }
}
@media(min-width: 280px) and (max-width: 768px) {
    nav a {
        width: 100%;
        padding: 0px;
    }

    #langbox a, #langbox span, #langbox {
        float: none;
    }
}
/*end top menu*/

#langbox a, #langbox span{
    text-decoration: none;
    color: black;
    display: inline-block;
    float: left;
    padding: 10px;
}

#langbox a:hover, #langbox span{
    cursor: pointer;
}

#donntu{
    float: right;
    text-align: right;
    text-decoration: none;
}

#donntu a{
    text-decoration: none;
    display: inline-block;
    padding: 10px;
    color: black;
}

#topblock{
    margin-bottom: 20px;
    display: block;
}

.hr_head{
    height: 1px;
    display: block;
    background-color: black;
    margin-bottom: 20px;
    margin-top: 17px;
}

#photomag{
    display: inline-block;
}

#header{
    margin-top: 20px;
}

#headertext{
    display: inline-block;
}

#header h1, #maintext h1{
    text-align: left;
    font-size: 18pt;
    line-height: 90%;
    padding: 0pt 0pt 0pt 15pt;
    margin-top: 0pt;
    font-weight: 700;
}

#header h3 {
    font-size: 14pt;
    line-height: 100%;
    color: black;
    text-indent: 0pt;
    margin: 0pt;
    padding: 5pt 0pt 3pt 15pt;
    font-weight: 400;
}

#header h2 {
    font-size: 16pt;
    line-height: 25px;
    color: black;
    text-indent: 0pt;
    margin: 0pt;
    padding: 5pt 0pt 10pt 15pt;
    font-weight: 700;
}

#menu,#menu1, #menub{
    display: block;
    margin: auto;
    margin-bottom: 17px;
    text-align: center;
}

#menu a,#menu1 a, #menub a{
    display: inline-block;
    padding: 10px;
    padding-bottom: 7px;
    padding-top: 0px;
    font-weight: 700;
    border-bottom: 3px solid transparent;
    text-decoration: none;
    color: black;
}

#menu a:hover, #menu a.colorfix, #menub a:hover, #menub a.colorfix,
#menu1 a:hover, #menu1 a.colorfix{
    border-bottom: 3px solid black;
}

/*shadow*/
.lifted {
    position:relative;
    /*width:40%;*/
    padding:1em;
   /* margin:2em 0px 4em;*/
    background:#fff;
}

.lifted p{
    text-align: justify;
}

.lifted .subscribe_img{
    text-align: center;
}

#maintext h1{
    text-align: center;
    margin-bottom: 20px;
}

#resume{
    border-collapse: collapse;
}

.c1{
    font-weight: 700;
}

@media(min-width: 280px) and (max-width: 768px) {
    .c1 {
        background-color: black;
        color: white;
        font-family: Arial;
        font-weight: 400;
    }

    #photomag{
        text-align: center;
        margin-bottom: 20px;
    }

    #header h1, #maintext h1{
        text-align: left;
        margin-bottom: 5px;
    }

    #header h3 {
        padding: 5pt 0pt 3pt 15pt;
    }

    #header h2 {
        padding: 5pt 0pt 5pt 15pt;
    }

    #menu a, #menu1 a, #menub a{
        display: block;
        padding-top: 10px;
    }

    #menu a:hover, #menu a.colorfix, #menu1 a:hover, #menu1 a.colorfix{
        border-bottom: 3px solid transparent;
        background: #e8e8e8;
    }


    #donntu, #langbox{
        text-align: center;
    }

    #resume{
        overflow: auto;
    }



    .lifted:before,
    .lifted:after {
        display: none;
    }

}

/*menu*/
.default {
    width: 100%;
}
.fixed {
    position:fixed;
    top:-5px; left:0;
    width:100%;
    padding:10px 0;
    border-bottom: 1px solid black;
    background-color: white;
    z-index: 100;
    box-shadow: 5px 5px 20px #333;
}

.fixed .hr_head{
    display: none;
}

@media (min-width: 0) {
    .navbar-toggle {
        display: block; /* force showing the toggle */
    }
}

@media (min-width: 992px) {
    .navbar {
        right: auto;
        background: none;
        border: none;
    }
}

.hidemenu{
    display: inline-block;
    float: right;
}

/*style zvit*/

.table_zvit td{
    text-align:center;
    vertical-align: middle!important;
}

.table_zvit td:first-child{
    text-align: left;
    vertical-align: middle;
}


/*end style zvit*/

/*ind*/
.subscribe_img{
    text-align: center;
}

.div_ind_img{
    width: 100%;
    margin: 10px 0px 10px 0px;
}

.img_ind{
    max-width: 90%;
    margin: auto
}

/*end ind*/

.lib li, .libli{
    margin-left: 20px;
}

.gotolib{
    font-family: Arial;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    display: block;
    float: left;
    padding: 10px 10px;
}

.gotolib:hover{
    color: #000000;
    transition: all 1s ease 0s;
    text-decoration: none;
    background: #ffffff;
}

.container p{
    text-indent: 1.5em;
    margin-top:0px;
}

.underlineh{
    border-bottom: 1px solid black;
}

/*image figure*/
figure, .figure {
    padding: 15px;
    border: thin dotted #3e3e3e;
    background-color: #000000;
    display: table!important;
    margin-left: auto!important;
    margin-right: auto!important;
    text-align: center;
}

figcaption {
    text-align: center;
    color: #ffffff;
    font-size: 13pt;
    padding-top: 10px;
}