@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');
body,
html {
    margin: 0 auto;
    font-family: 'Lato', sans-serif;
    background-color: #F6F6F6;
    height: 100%
}

h1,
h2,
h3 {
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px
}

h4 {
    font-size: 16pt;
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px
}


p {
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0
}

li {
    padding: 0;
    margin-bottom: 5px;
    margin-top: 5px
}


/* Table of Contents */
.toc-list {
    padding: 0;
    width: 100%;
    background-color: #F6F6F6;
    border: 0.5px solid #F7F6F6;
    border-radius: 10px;
    display: table;
    padding: 10px 0px 10px 30px;
    margin: 10px 0px 30px 0px;
}

.toc-list, .toc-list ol {
    list-style-type: none;
}

.toc-list a:link {
    color: #17202a;
}

.toc-list a:visited {
    color: #17202a;
}

.toc-list ol {
    padding-inline-start: 30px;
}

.toc-list li > a {
    font-weight: normal;
    text-decoration: none;
    display: table;
    grid-template-columns: auto max-content;
    align-items: end;
    font-size: 18px;
    margin-top: -5px;
    margin-bottom: -5px;
}

.toc-list li li > a  {
    font-weight: normal;
    margin-top: -5px;
    margin-bottom: -5px;
    font-size: 14px;
}
/* ----------------------------------- */


.col-fixed {
    position: relative;
    min-height: 1px;
    padding: 15px;
    float: right;
    width: 100%;
    height: 100%;
    background-color: blue;
    background-image: url(../images/background1.jpg);
    background-repeat: no-repeat;
    background-position: center
}

.col-fluid {
    position: relative;
    min-height: 1px;
    padding: 25px;
    float: right;
    width: 100%;
    background-color: #F8F8F8
}

@media (min-width:768px) and (max-width:991px) {
    .sidebar {
        position: fixed;
        height: 100%;
        left: 72%;
        width: calc(100% - 72%);
        background-image: url(../images/background1.jpg);
        background-repeat: no-repeat;
        background-position: center
    }
    .col-fixed {
        float: right
    }
    .col-fluid {
        float: left;
        width: 72%
    }
}

@media (min-width:992px) and (max-width:1199px) {
    .sidebar {
        position: fixed;
        height: 100%;
        left: 72%;
        width: calc(100% - 72%);
        background-image: url(../images/background1.jpg);
        background-repeat: no-repeat;
        background-position: center
    }
    .col-fixed {
        float: right
    }
    .col-fluid {
        float: left;
        width: 72%
    }
}

@media (min-width:1200px) {
    .sidebar {
        position: fixed;
        height: 100%;
        left: 72%;
        width: calc(100% - 72%);
        background-image: url(../images/background1.jpg);
        background-repeat: no-repeat;
        background-position: center
    }
    .col-fixed {
        float: right
    }
    .col-fluid {
        float: left;
        width: 72%
    }
}

#myname p {
    padding: 0;
    margin: 0;
    color: white;
    font-weight: 400;
    text-align: center;
    font-size: 2.2em;
    text-shadow: 1px 0 1px black;
    background-color: none;
    font-family: 'Lato', sans-serif;*/
    /*font-family: 'Play', sans-serif;*/
}

#me-main-pic {
    transition: 0.3s;
    border-radius: 100px;
    display: block;
    margin-left: auto;
    margin-right: auto
}

/*#me-main-pic:hover{opacity:0.8}*/

.ghost-emptydiv-up {
    height: 90px;
    background-color: none
}

.ghost-emptydiv-down {
    height: 10px;
    background-color: none
}

.list-item {
    list-style-type: none;
    background-color: none;
    height: 55px
}

.list-item img {
    display: inline-block;
    float: center;
}

.list-item a {
    display: block;
    color: black;
    text-shadow: 0 0 3px white
}

ul.menu-ul {
    list-style-type: none;
    width: 100%;
    padding: 10px 0;
    margin-top: 0;
    text-align: center
}

.menu-ul a {
    text-decoration: none
}

.menu-ul a:hover {
    text-decoration: none;
    font-size: .9em
}

li.menu-icon {
    display: inline-block;
    /* *display: inline; */
    /* *zoom: 1; */
    padding-top: 0
}

li.menu-text {
    display: inline-block;
    /* *display: inline; */
    /* *zoom: 1; */
    color: black;
    padding-top: 5px;
    margin-top: 0;
    margin-left: 7px;
    font-size: 1.2em
}

.footer {
    position: absolute;
    bottom: 0;
    height: 20px;
    width: 95%;
    background-color: none;
    color: black;
    vertical-align: middle;
    text-align: center;
    font-size: .85em
}

.main-content {
    background-color: #F6F6F6; 
    padding: 0 50px 15px 50px
    /* dark mode
    background-color: rgb(28,32,43); 
    */
}

.empty-div {
    height: 5px;
    background-color: none
}

a:link,
a:visited {
    text-decoration: none;
    color: brown;
    /* dark mode
    text-decoration: none;
    color: rgb(153,226,217)
    */
}

#welcome {
    width: 100%;
    font-size: 3.9em;
    font-weight: 700;
    color: #333;
    text-align: right;
    vertical-align: middle;
    text-shadow: 1px 0 1px black;
    background-color: none
}

#logo-linkedin-2 {
    width: 30px auto;
    height: 30px
}

.glyphicon.glyphicon-envelope {
    font-size: 27px;
    line-height: 60px
}

.fa.fa-linkedin-square {
    font-size: 157%
}

.centerpic {
    display: flex;
    justify-content: center;
    padding-top: 10px;
    padding-left: 10px
}

#leocontacts {
    margin: 0;
    padding-left: 0;
    padding-bottom: 5px;
    height: 40px;
    line-height: 40px;
    color: grey
}

#leocontacts span {
    line-height: 40px;
    vertical-align: middle;
    color: #333
}

.style-content {
    background-color: white;
    color: #333;
    font-size: 1.3em;
    padding: 10px 30px 10px 30px;
    line-height: 27px;
    text-align: left;
    text-justify: auto;
    border-radius: 10px;
    border: 1px solid #EEE;
    box-shadow: 0 0 3px #EEE
    /* dark mode
    background-color: rgb(77,84,103); 
    color: rgb(220,220,220);
    font-size: 1.3em;
    padding: 10px 30px 10px 30px;
    line-height: 27px;
    text-align: left;
    text-justify: auto;
    border-radius: 10px
    */
}

#advertise-typed {
    background-color: white;
    font-size: 0.85em;
    padding: 10px;
    margin-top: 30px;
    margin-bottom: 10px;
    text-align: right
}

#property-box {
    background-color: #F6F6F6;   
    font-style: italic;     
    padding: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: left
}

#toTop {
    background-color: none;
    position: fixed;
    bottom: 20px;
    left: 69%;
    display: none;
    opacity: .7;
    filter: alpha(opacity=70)
}

.fa-angle-up {
    border-radius: 13px;
    color: brown;
    cursor: pointer
}

#bham-address {
    background-color: none;
    color: grey;
    margin-top: 15px;
    margin-bottom: 15px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 15px;
    border-left: 6px solid lightgrey
}

.teaching-modules span {
    color: grey
}

h2.bottom-border {
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #D0D0D0
}

h3.bottom-border {
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #D0D0D0
}

.topics-post-white {
    background-color: none; /**none; **/
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 12px;
}

.topics-post-color {
    background-color: #F3F3F3; /**none; **/
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 12px;
}

.header-pic {
    padding-right: 30px;
    border: none;
    height: 200px;
    line-height: 200px;
    color: #333;
    text-align: right;
    vertical-align: middle;
    font-weight: 500;
    font-size: 3.8em;
    text-shadow: 1px 0 1px black
}

.header-pic-new {
    /* dark mode 
    color: #F1F1F1;
    */
    color: #333;
	background: none;	
    padding-left: 0px;
	text-align: left;
    border: none;
    height: 90px;
    line-height: 90px;
    vertical-align: middle;
    font-weight: 500;
    font-size: 3.0em;
    text-shadow: 1px 0 1px black
}

#home-pic {
    background-image: url(../images/verona.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center top
}

#phd-pic {
    background-image: url(../images/phd-pic.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center
}

#topics-pic {
    background: url(../images/salar.png) no-repeat center center;
    background-size: cover
}

#me-main-pic-modal {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: none;
    width: 65%
}

#asr-modal {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: none;
    width: 100%
}

.modal-footer {
    margin-top: -15px;
    padding: 0 auto;
    border: none;
    color: white;
    text-align: center;
    font-size: 1.2em
}

.modal-col-bg {
    background-color: rgba(0, 0, 0, .75)
}

.close {
    position: absolute;
    top: 15px;
    right: 40px;
    color: #f1f1f1;
    font-size: 65px;
    font-weight: 700;
    transition: 0.3s
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer
}


/* Social icons */
.wrapper{
    display: inline-flex;
  }

.wrapper .icon{
    margin: 0 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.wrapper .icon span{
    position: relative;
    z-index: 2;
    height: 45px;
    width: 45px;
    display: block;
    background: #fff;
    /*box-shadow: 0 10px 10px rgba(0,0,0,0.1);*/
    border-radius: 50%;
    text-align: center;
    /*transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);*/
}

.wrapper .icon span i{
    font-size: 25px;
    line-height: 45px;
}

.wrapper .icon .tooltip{
    position: absolute;
    top: 0px;
    background: #fff;
    /*box-shadow: 0 10px 10px rgba(0,0,0,0.1);*/
    font-size: 14px;
    padding: 8px 14px; /*10px 18px;*/
    border-radius: 20px;
    color: white;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip{
    opacity: 1;
    pointer-events: auto;
    top: -50px;
}

.wrapper .icon .tooltip:before{
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    bottom: -6px;
    left: 50%;
    opacity: 1;
    transform: translateX(-50%) rotate(45deg);
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip{
    text-shadow: none; /*0px -1px 0px rgba(0,0,0,0.4);*/
}

.wrapper .icon:hover span{
    color: #fff;
}

.wrapper .linkedin:hover span,
.wrapper .linkedin:hover .tooltip,
.wrapper .linkedin:hover .tooltip:before{
    background: #2B64BD;
}
.wrapper .github:hover span,
.wrapper .github:hover .tooltip,
.wrapper .github:hover .tooltip:before{
    background: #333;
}
.wrapper .hackerrank:hover span,
.wrapper .hackerrank:hover .tooltip,
.wrapper .hackerrank:hover .tooltip:before{
    background: #3C873D;
}

.wrapper .gscholar:hover span,
.wrapper .gscholar:hover .tooltip,
.wrapper .gscholar:hover .tooltip:before{
    background: #4286DE;
}

.wrapper .soundcloud:hover span,
.wrapper .soundcloud:hover .tooltip,
.wrapper .soundcloud:hover .tooltip:before{
    background: #ED7224;
}

.linkedin a:visited {
    color: black;
}

.github a:visited {
    color: black;
}

.hackerrank a:visited {
    color: black;
}

.gscholar a:visited {
    color: black;
}

.soundcloud a:visited {
    color: black;
}
/* ----------------------- */


/* Tables data */
td, th { 
    padding: 8px; 
    padding: 0.5rem;
    font-size: 19px;
}

th {
    text-align: left;
    font-weight: bold;
    font-size: 16px;
}

td { 
    font-size: 14px;
    /*font-family: 'Avenir Next', 'Segoe UI', 'Lucida Grande', sans-serif; */
}

.table {
    width: 80%;
    padding: 16px;
    padding: 1rem;
    margin-left: auto;
    margin-right: auto;
}
.table__heading { 
    border-bottom: 1.5px solid;  
}
@media (max-width: 32rem) {
    .table__heading {
        display: none;
    }
    .table__content {
        display: block;
        padding: .5rem 0;
    }
    .table__row {
        margin: .25rem 1rem;
        padding: .5rem 0;
        display: block;
        border-bottom: 2px solid #FFC842;
    }
    .table__content:before {
        content: attr(data-heading);
        display: inline-block;
        width: 5rem;
        margin-right: .5rem;
        /*color: #999;*/
        font-size: .75rem;
        font-weight: 700;
        /*font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;*/
        /*text-transform: uppercase;*/
        letter-spacing: 2px;
    }
}


.modal-content,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }
    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}

@media only screen and (min-width:991px) {
    .mc-asr {
        width: 100%
    }
    .md-asr {
        width: 60%
    }
}

@media only screen and (max-width:700px) {
    .modal-content {
        width: 100%
    }
}

@media only screen and (max-width:700px) {
    .main-content {
        padding: 0 6px 6px 6px
    }
    .style-content {
        font-size: 1.2em;
        padding: 5px 10px 5px 10px;
        line-height: 22px;
        margin-top: -20px
    }
    /*
    .header-pic {
        padding-right: 15px;
        height: 120px;
        line-height: 120px;
        font-size: 2.6em
    }
    */
    .header-pic-new {
        padding-right: 25px;
        height: 90px;
        line-height: 90px;
        font-weight: 190;
        font-size: 2.0em;
    }
    h2 {
        font-size: 1.5em
    }
    h2.bottom-border {
        font-size: 1.5em
    }
    .ghost-emptydiv-up {
        display: none
    }
    .ghost-emptydiv-down {
        display: block
    }
}

@media (min-width:701px) and (max-width:767px) {
    .main-content {
        padding: 0 10px 10px 10px
    }
    .style-content {
        font-size: 1.4em;
        padding: 10px 15px 10px 15px;
        line-height: 25px;
        margin-top: -5px
    }
    /*
    .header-pic {
        padding-right: 25px;
        height: 130px;
        line-height: 130px;
        font-size: 3.1em
    }
    */
    .header-pic-new {
        padding-right: 25px;
        height: 90px;
        line-height: 90px;
        font-weight: 210;
        font-size: 2.3em;
    }
    h2 {
        font-size: 1.5em
    }
    h2.bottom-border {
        font-size: 1.5em
    }
    .ghost-emptydiv-up {
        display: none
    }
    .ghost-emptydiv-down {
        display: block
    }
}

@media (min-width:768px) and (max-width:866px) {
    .footer {
        position: absolute;
        bottom: 0;
        height: 20px;
        width: 95%;
        background-color: none;
        color: black;
        vertical-align: middle;
        text-align: center;
        font-size: .7em
    }
}

@media (min-width:768px) and (max-width:1000px) {
    .main-content {
        padding: 0 15px 15px 15px
    }
    .style-content {
        font-size: 1.3em;
        padding: 10px 15px 10px 15px;
        line-height: 25px;
        margin-top: -10px
    }
    /*
    .header-pic {
        padding-right: 25px;
        height: 170px;
        line-height: 170px;
        font-size: 3.2em
    }
    */
    .header-pic-new {
        padding-right: 25px;
        height: 90px;
        line-height: 90px;
        font-weight: 250;
        font-size: 2.5em;
    }
    h2 {
        font-size: 1.4em
    }
    h2.bottom-border {
        font-size: 1.4em
    }
    .ghost-emptydiv-down {
        display: none
    }
}

@media (min-width:1001px) and (max-width:1169px) {
    .main-content {
        padding: 0 20px 15px 20px
    }
    .style-content {
        padding: 10px 20px 15px 20px;
        margin-top: -10px
    }
    /*
    .header-pic {
        padding-right: 25px;
        height: 185px;
        line-height: 185px;
        font-size: 3.3em
    }
    */
    .header-pic-new {
        padding-right: 25px;
        height: 90px;
        line-height: 90px;
        font-weight: 300;
        font-size: 2.5em;
    }
    .ghost-emptydiv-down {
        display: none
    }
}

@media only screen and (max-width:767px) {
    #toTop {
        left: 50%
    }
}