
*{
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Rajdhani', Helvetica, sans-serif;
}
/**flexbox**/
.containerFlex{
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: center;
    align-content: flex-start;
}
.containerFlexColumn{
    display: flex;
    flex-direction: column;
    margin: 0 20px;
    align-items: flex-start;
    justify-content: flex-start;
    align-content: flex-start;
    width: 45%;
}
.box-media{
    text-align: justify;
    color: black;
    background-color: white;
    width: 100%;
    margin: 20px 0;
    padding: 30px;
}
/**ENDflexbox**/
#instafeed{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content:center;
}
#profilBT{
    position: absolute;
    top: 305px;
    left: 290px;
}
.photoBox{
    border: 1px solid transparent;
    width: 320px;
    height: 320px;
    overflow: hidden;
    background-color: black;
    position: relative;
}  
.photoBox .fillHeight {
    height: 100%;
    width: auto;
}
.photoBox .fillWidth {
    height: auto;
    width: 100%; 
}
.photoBox > img {
    opacity: 1;
    position: absolute;
    left: 50%;
    top: 50%;
    -ms-transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
}
.photoBox:hover > img{
    opacity: 0.3;  
    cursor: Pointer;
}
.photoBox:hover .midle{
    opacity: 1; 
    cursor: Pointer; 
}
.midle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.textOnHover {
    color: white;
    font-size: 16px;
    
}

.icon{
    width: 20px;
    -moz-osx-font-smoothing:grayscale;
    -webkit-font-smoothing:antialiased;
    display:inline-block;
    font-style:normal;
    font-variant:normal;
    text-rendering:auto;
    line-height:1
      
}  
/* Modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    padding-top: 100px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.9); 
}
  
.modal-content {
    display: block;
    width: 100%;
    margin: 20px;
    display: -webkit-flex;

}
.modal-img {
    width: auto;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    -ms-transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
}
  
#caption {
    margin: 25px;
    color: #ccc;  
}

.modalAside {
    padding: 25px 25px 0px 25px;
    color: #ccc; 
    width: 40%; 
    height: 80%;
    float: left;
    min-width: 240px;
}
.modalMain {
    color: #ccc; 
    vertical-align: middle;
    width: 60%; 
    height: 80%;
    overflow: hidden;
    background-color: green;
    position: relative;
}
  
.modal-content, #caption { 
    animation-name: zoom;
    animation-duration: 0.6s;
}
 
    
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

    
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
  
@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}
  
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
  
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
  
/* Modal END */

header{
    height: 10px;
    width: 100%;
}

.pageHeader{
    height: 150px;
}

body {
    background: #2e3842;
    background-image: linear-gradient(to bottom right, black, rgb(161, 15, 15));
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    font-size: 15pt;
    letter-spacing: 0.075em;
    line-height: 1.65em;
}
.justify{
    text-align: justify;
}

.cover{
    right: auto;
    position: fixed;
    left: 50%;
    top: auto;
    z-index: 1;
    width: auto;
    height: auto;
}

.coverIndex{
left: 52%;
height: 92%;
}

strong, b {
    color: #fff;
    font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.225em;
    line-height: 1em;
    margin: 0 0 1em 0;
    text-transform: uppercase;
}

.name{
    color: inherit;
    text-decoration: none;
    font-size: 90px;
    font-weight: 800;
    line-height: .8;
    letter-spacing: 0.1em;
    border-bottom: none;
}

.firstName{
    font-size: 70px;
    font-weight: 400;
    line-height: .8;
}

nav{
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 1;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

nav li {
    float: left;
    display: inline-block;
    text-transform: uppercase;
}
a {
    color:white;
    text-decoration: none;
    border-bottom:1px solid #fff;
}
a:hover{
    border:0px;
}
nav li a {
    display: block;
    color: white;
    text-align: center;
    font-weight: 600;
    padding: 14px 16px;
    border: 0;
    text-decoration: none;
}

nav li a:hover {
    background-color: #111;
}

.active {
    background-color: #4CAF50;
}

main {
    width: 100%;
}
.pageWithAsideImg{
    position: relative;
     
    padding: 0 25px;
    margin-top: 100px;
    width: 50%;   
}

aside {
    width: 100%;
    background-color:darkgreen;
    float: left;
    padding: 25px 0;
    margin-bottom: 25px;
  }
  .asideTitleImg{
    position: sticky;
    width: 50%;
    float: right;
  }
  .asideTitleImg img

  aside h2{
    text-align: center;
  }
  aside p{
      padding: 0 6px;
  }

  aside li{
    font-size:16px; 
    padding: 0 6px;
  }

  aside li:nth-child(2n){
      background-color: grey;
  }
  

.mainContent{
    position: relative;
    padding: 0;
    margin-right: 570px;
    margin-left: 25px;
    margin-top: 100px;
    border: 0;
    max-width: 50%;
} 

.pageContent{
    position: relative;
    width: 100%;
    top: 0;
}

.rightSection{
    position: absolute;
    width: 50%;
    right: 0;
    top: 220px;
    padding: 10px;
    margin:10px;
}
.leftSection{
    position: relative;
    width: 50%;
    left: 0;
    top: 0;
    padding: 10px;
    margin:10px;
}

.blackBox{
background-color: rgba(0, 0, 0, 0.2);
padding: 20px;
margin-bottom: 25px;
margin-right: 8px;
border-radius: 10px;
}
.left {
    text-align: left;
}
.center {
    text-align: center;
}
.right {
    text-align: right;
}
.bold, .bold td {
    font-weight: bold !important;
}
.positionimg {
    height: 18px;
}
.dataTable td, .dataTable th {
    padding: 0px 6px !important;
}
.bigsocialicons{
    border: 0px;
    float: right;
    margin-right: 30px;
    padding-top: 15px;
}
.bigsocialicons a{
    border: 0px;
}
.asideImg{
    width: 100%;
}
.citace{
    font-size: 15px;
    font-style: italic;
}

@media screen and (min-width: 900px) {
   
    aside ~ main {
        width: 70%;
      }
    aside {
        width: 30%;
        float: right;
      }
  }
@media screen and (max-width: 900px) {

    li {
        float: none;
        display: list-item;
        text-transform: uppercase;
    }
    .mainContent{
        position: relative;
        padding: 0;
        margin-right: 50%;
        margin-left: 25px;
        margin-top: 100px;
        border: 0;
    }
    .containerFlexColumn{
        width: 100%;
    }
}

@media screen and (max-width: 690px) {
    th{
        display: none;
    }
    td{
        display: block;
        text-align: center;
    }
    tr{
    background-color: darkgreen;
    
    }
    td.right{
        text-align: center;
    }
    a img{
        width: 50px;
        height: 49px;
    }
    header h1{
        margin-top: 20px;
        margin-left: 20px;
    }
    body{
        font-size: 13pt;
    }

    .pageHeader{
        height: 90px;
    }

    .citace{
        font-size: 12pt;
    }

    .blackBox{
        margin-right: 0px;
    }
    .tabOverFlow{
    overflow-x:auto;
    }

    nav{
        position: relative;
        top: 0;
    }

    li {
        float: none;
        display: list-item;
        text-transform: uppercase;
    }

    .name{
        font-size: 40px;
        font-weight: 800;
        line-height: .8;
        letter-spacing: 0.1em;
    }
    
    .firstName{
        font-size: 30px;
        font-weight: 400;
        line-height: .8;
    }

    .cover{
      display: none;
    }

    li a {
        padding: 4px;
    }

    .mainContent{
        position: relative;
        padding: 0;
        margin-right: 25px;
        margin-left: 25px;
        margin-top: 25px;
        margin-bottom: 25%;
        border: 0;
        max-width: 100%;
    }
    .bigsocialicons{
        display: none;
    }
}

