/*
Base colors: #577452, #c9e6c0, #c0e6d7
*/

@font-face {
    font-family: 'Vazir';
    src: url('asset/Vazirmatn-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Nast';
    src: url('asset/IranNastaliq.ttf') format('truetype');
}

body {
    font-family: Arial, sans-serif;
    direction: rtl;
    margin: 0;
    padding: 0;
    font-family: 'Vazir', Arial, sans-serif !important;
}

p {
    text-align: justify;
    font-size: larger;
}

header {
    position: relative;
    background-image: url('asset/header_bg.jpeg');
    background-size: cover;
    background-position: center;
    color: #eee;
    padding: 100px 0;
}

header h1 {
    font-size: 90px;
    font-family: 'Nast';
}

header h3 {
    font-family: 'Vazir';
}

header h1, header h3 {
    margin-right: 13%;
}

nav {
    display: flex;
    justify-content: right;
    position: absolute;
    bottom: 0;
    left: 0px;
    background-color: #000000aa;
    transition: background-color 0.5s;
}

header nav {
    right: 0;
    padding-right: 13%;
}

header nav a {
    float: left;
    font-size: 16px;
    color: #fff;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav a.disable {
    color: rgb(145, 145, 145);;
}

nav a.disable:hover {
    color: rgb(145, 145, 145);;
}

nav .subnav {
    float: right;
    overflow: hidden;
}

.subnav .subnav-inner {
    float: right;
    overflow: hidden;
    width: 100%;
    text-align: center;
}

.subnav .subnav-inner:hover {
    background-color: #bbdb9a;
    color: black;
}

.subnav .subnav-inner:hover button {
    background-color: #a6c488;
    color: black;
}

nav .subnav button.disable {
    color: rgb(145, 145, 145);
}

nav .subnav-inner button.disable {
    color: rgb(145, 145, 145);
}

nav .subnav .subnavbtn {
    font-size: 16px;  
    border: none;
    outline: none;
    color: #fff;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    transition: background-color 0.2s;
}

nav .subnav .subnavbtn-inner {
    font-size: 16px;  
    border: none;
    outline: none;
    color: black;
    padding: 14px 16px;
    background-color: #bbdb9a;
    font-family: inherit;
    margin: 0;
    transition: background-color 0.2s;
}

nav .subnav .subnavbtn-inner:hover {
    color: black;
}

nav a:hover, .subnav:hover .subnavbtn {
    background-color: #bbdb9a;
    color: #000;
}

.subnav-inner:hover .subnavbtn-inner {
    background-color: #bbdb9a;
    color: #000;
}

nav.sticky {
    position: fixed;
    height: 50px;
    top: 0;
    width: 100%;
    background-color: #000000dd;
    z-index: 10;
}

.subnav-content a {
    float: left;
    color: #000;
    text-decoration: none;
    width: 100%;
}

.subnav-inner-content a {
    float: left;
    color: black;
    text-decoration: none;
    width: 100%;
}

.subnav-content a:hover {
    background-color: #a6c488;
    color: black;
}

.subnav-inner-content a:hover {
    background-color: #a6c488;
    color: black;
}
  
.subnav:hover .subnav-content {
    display: block;
}

.subnav-inner:hover .subnav-inner-content {
    display: block;
}

.subnav-content {
    display: none;
    position: absolute;
    top: 52px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 0px;
    z-index: 1;
    background-color: #bbdb9a;
    z-index: 1;
}

.subnav-inner-content {
    display: none;
    position: absolute;
    top: 106px;
    left: -160.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 1;
    background-color: #bbdb9a;
    z-index: 1;
}

main {
    padding: 0px;
    text-align: right;
    background-color: #efefef;
}

.column-link {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 40px;
}

.column-link h4 {
    text-align: center;
    background-color: #9db4aa;
    color: #222;
    font-weight: bold;
    padding: 10px;
    margin-bottom: 3px;
}

.column-link ul {
    width: 100%;
    margin: 0;
    padding: 0;
}

.column-link ul li {
    color: #222;
    background-color: #abc5a2;
    list-style: none;
    padding: 10px;
    font-weight: bold;
    margin-bottom: 3px;
}

.column-link ul li a {
    color: #222;
}

.column-link ul li.active {
    background-color: #bbdb9a;
    color: #222;
}

.column-link ul li:hover {
    background-color: #bbdb9a;
}

.column-date {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 40px;
}

.column-date h4 {
    text-align: center;
    background-color: #9db4aa;
    color: #222;
    font-weight: bold;
    padding: 10px;
    margin-bottom: 3px;
}

.column-date ul {
    width: 100%;
    margin: 0;
    padding: 0;
}

.column-date ul li {
    color: #222;
    background-color: #abc5a2;
    list-style: none;
    padding: 10px;
    border-bottom: rgb(19, 26, 90) 1px solid;
}

.column-logo {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 40px;
}

main .container {
    margin-right: 13%;
    width: 74%;
    background-color: white;
    min-height: 1080px;
}

.content {
    background: linear-gradient(90deg, rgba(51,51,51,0) 99.9%, rgba(51,51,51,1) 100%);
    min-height: 1080px;
}

section {
    margin: 20px;
}

section a {
    color: #577452;
}

section a:active {
    color: #445e3f;
}

section img {
    max-width: 100%;
}

#sponsors .row .col {
    text-align: center;
}

#sponsors .row .col img {
    width: 256px;
}

.avatar {
    text-align: center;
}

.avatar-pic img {
    border-radius: 50%;
    margin-bottom: 15px;
    max-width: 128px;
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.75);
}

.avatar .avatar-name, .avatar .avatar-affiliation {
    text-align: center;
    margin-bottom: 2px;
}

ul strong {
    font-size: 20px;
    font-weight: bold;
}

li a {
    text-decoration: none;
}

footer {
    background-color: #a6c28a;
    color: #111;
    border-top: #3a4d37 1px solid;
    padding-top: 45px;
    box-shadow: 0px -2px 4px rgba(0, 0, 0, 0.5);
}

footer .row {
    width: 73%;
    margin: auto;
    margin-bottom: 40px;
}

footer p.copyright {
    width: 100%;
    background-color: #9dbb7e;
    margin: 0;
    text-align: center;
    direction: ltr;
    font-size: 14px;
    padding: 10px;
    bottom: 0;
}

.social span li {
    font-size: 40px;
    margin-left: 10px;
}

.footer-sponsors ul {
    padding-right: 10px;
}

.footer-sponsors ul li {
    list-style: none;
}

.footer-sponsors .row .col {
    text-align: center;
}

.footer-sponsors .row .col img {
    width: 128px;
}

.footer-sponsors ul li a {
    text-decoration: none;
    font-size: 18px;
    color: #000;
}

.footer-sponsors ul li a:hover {
    color: #8cb885;
}

.footer-links ul {
    padding-right: 10px;
}

.footer-links ul li {
    list-style: none;
}

.footer-links ul li a {
    text-decoration: none;
    font-size: 18px;
    color: #000;
}

.footer-links ul li a:hover {
    color: #8cb885;
}

.social a {
    text-decoration: none;
    color: #000;
}

.social a:hover {
    text-decoration: none;
}

@media only screen and (min-width: 1080px) {
    .countdown-font-size {
        font-size: 24px;
    }
}

@media only screen and (max-width: 800px) {
    .countdown-font-size {
        font-size: 16px;
    }
}

@media only screen and (max-width: 480px) {
    .countdown-font-size {
        font-size: 14px;
    }
}