@font-face {
    font-family: FbAlfa;
    src: url("fonts/FbAlfa-Light.otf") format("opentype");
}
@font-face {
    font-family: FbAlfa;
    font-weight: bold;
    src: url("fonts/FbAlfa-Bold.otf") format("opentype");
}
@font-face {
    font-family: FbAlfa;
    src: url("fonts/FbAlfa-Light.otf") format("opentype");
}
@font-face {
    font-family: FbAgas;
    src: url("fonts/FbAgas-Regular.otf") format("opentype");
}
@font-face {
    font-family: Carmella;
    src: url("fonts/carmela.ttf") format("opentype");
}

body { font-family: Carmella !important; }
body div.container { font-size: 16px; }

img { max-width: 100%; }

@media (min-width: 800px) {
    /* Display navbar sub items on hover */
  ul.nav li.dropdown:hover > ul.dropdown-menu { display: block; }
  ul.nav li:hover { background-color: #7eace1 !important; }
  .MobileOnly { display: none !important; }
}

span.has-error { color: #a94442; }
td.user-permission { width: 120px; }

ul.nav li.logged-on-user:hover { background-color: transparent !important; }
li.logged-on-user > span > a { font-weight: bold; color: #f4f4f4; }
li.logged-on-user > span { padding-top: 15px; }
li.logged-on-user form { padding-top: 10px; }
li.logged-on-user { padding-right: 40px; }
li.logged-on-user > span, li.logged-on-user form { float: right; }
li.logged-on-user > span { margin-left: 10px; }

/*div.post-main { border-bottom: 1px dotted #ccc; }*/
div.post-main h3, div.post-main h2 { margin-top: 0; }
div.post-main { border-style: solid; border-color: #565656; padding: 15px; }
div.post-main div.preview-image-url { float: right; }
div.post-main div.preview-image-url img { max-width: 90px; padding: 5px; }
div.post-main div.post-content.with-image { margin-right: 100px; }
div.post-bottom { overflow: auto; height: 30px; background-color: #565656; margin-bottom: 30px; }

.author-date{
    font-weight: bold;
}

div.side-column { padding-right: 30px; text-align: center; }
div.side-column img { margin-right: -20px; }

div.main-header { position: relative; margin-bottom: 20px; }
div.main-header div.label { position: absolute; left: 10px; bottom: 10px; /*font-family: Arial;*/  }
div.main-header div.label label { font-size: 50px; font-weight: bold; display: block; color: #2F82F7;  }

div.form-group.date-selection select { width: 33%; display: inline-block; }

div.bottom-bar { color: #eee; text-align: center; background-color: #999999; margin-top: 15px; }
div.bottom-bar a { color: #ddd; }

div.VideoWrapper { float: right; width: 300px; height: 230px; position: relative; margin: 15px 0 15px 25px;  }
div.VideoWrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.ExternalLinks { margin-bottom: 5px; }

a.logo-image img { height: 50px; margin-right: 20px; }

a.TopLogo:hover { text-decoration: none; }
div.jumbotron h1 { visibility: hidden; color: #5BA4FF; background-color: #062F5D; display: inline; }
div.jumbotronX h1 { visibility: hidden; color: #5BA4FF; background-color: #062F5D; display: inline; }

div.Convention { padding: 10px; background-color: #062F5D; color: #fff}
div.Convention h1, div.Convention h4, div.Convention h5 { margin: 0; margin-bottom: 10px;  padding-right: 0px; }
div.Convention h1 { color: #5BA4FF; }
div.Convention h4 { color: #5BA4FF; margin-top:-10px;}
div.Convention h5 { color: #FFF; padding-top: 5px; padding-bottom: 5px; }
div.Convention a.map-link { margin-top: -17px; float: left; margin-left: 5px; }

div.top-logo-selection img { max-height: 150px; margin-bottom: 10px; cursor: pointer; }
div.top-logo-selection img.selected { border: 4px solid #00F; }

table#transactions-viewer input[type=text] { display: none; }
table#transactions-viewer label { font-weight: inherit; }

iframe#payment-form { width: 100%; height: 750px; border: 0px; }

.wrap {
   white-space: pre-wrap;      /* CSS3 */
   white-space: -moz-pre-wrap; /* Firefox */
   white-space: -o-pre-wrap;   /* Opera 7 */
   word-wrap: break-word;      /* IE */
}
span.log-message { display: inline-block; max-height: 70px; overflow: hidden; }
span.log-message-full { display: none; }

div.widget{
    margin-bottom: 30px;
}

.renew-membership{
    overflow: auto;
    height: 5rem;
    font-size: 2rem;
    background-color: #eee;
    padding-right: 1rem;
    margin-bottom: 15px;
    line-height: 5rem;
}
.renew-membership .Join{
    margin: 1rem;
}

/* Tabs content */
ul.tab {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#post-form ul.tab {
    background-color: #f1f1f1;
    border: 1px solid #ccc;
}

/* Float the list items side by side */
ul.tab li {float: right;     text-align:center;  }

/* Style the links inside the list items */
#post-form ul.tab li a {
    display: inline-block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 17px;
}

/* Change background color of links on hover */
ul.tab li a:hover {background-color: #ddd;}

/* Create an active/current tablink class */
ul.tab li a:focus, .active {background-color: #ccc;}

/* Style the tab content */
.tabcontent {
    display: none;
}

#post-form .tabcontent  {

    border: 1px solid #ccc;
    border-top: none;
    margin-bottom: 10px;
}

.tabcontent.default{display: block;}

@media screen and (min-width: 769px)
{
    div.jumbotron div.TitleContainer { margin-right: 50px; position: relative; top: -50px; }
    div.jumbotronX div.TitleContainer { margin-right: 50px; position: relative; top: -50px; }
    div.jumbotron { padding-top: 85px; padding-bottom: 85px; }
    div.jumbotronX { padding-top: 85px; padding-bottom: 85px; }
    div.jumbotron.medium { padding-bottom: 200px; }
    div.jumbotronX.medium { padding-bottom: 200px; }
    div.jumbotron.extended { padding-bottom: 400px; }
    div.jumbotronX.extended { padding-bottom: 400px; }
    ul.navbar-nav { height: 50px; }
    nav.navbar { border-radius: 0; }
    /* div.Convention h1, div.Convention h4, div.Convention h5 { margin-right: -20px; margin-left: -20px; } */

    div.Convention { /*font-family: Arial !important;*/ font-size: 1.4rem; width:500px; background-color:#fff; padding: 20px; border-radius: 10px; position: absolute; top: 400px; left: 200px; opacity: 0.93; background: #062F5D;}
    div.Convention a { color: #5BA4FF; }

    body div.MembersCounter { text-align: center; width:280px; background-color:#fff; padding: 20px; border-radius: 10px; position: absolute; top: 100px; left: 200px; opacity: 0.93; }
    body div.MembersCounterX { text-align: center; width:280px; background-color:#fff; padding: 20px; border-radius: 10px; position: absolute; top: 100px; left: 200px; opacity: 0.93; }
    body div.MembersCounter > div { font-size: 24px; }
    body div.MembersCounterX > div { font-size: 24px; }
    body div.MembersCounter label.Counter { font-size: 7rem; margin-top: -7px; color: #3E64FA; }
    body div.MembersCounterX label.Counter { font-size: 5rem; margin-top: -7px; color: #3E64FA; }
    body div.MembersCounter label.ElectionCounter,
    body div.MembersCounter label.ElectionCounter .smalltext { font-size: 2rem; color: #3E64FA; }
    body div.MembersCounterX label.ElectionCounter .smalltext { font-size: 2rem; color: #3E64FA; }
}

ul.updates-channels{
    list-style-type: none;
    padding: 0 5% 10px 5%;
}

ul.updates-channels li{
    float: left; 
    width: 33%;
    text-align:center;
}

@media screen and (min-height: 850px)
{
    div.jumbotron.medium { padding-bottom: 400px; }
    div.jumbotronX.medium { padding-bottom: 400px; }
}

@media (max-width: 768px) {
    .NotInMobile { display: none !important; }
    div.VideoWrapper { width: 100%; height: 24rem; margin-left: auto; margin-right: auto; }
    div.jumbotron { margin-bottom: 15px; }
    div.jumbotronX { margin-bottom: 15px; }
    div.jumbotron div.TitleContainer { margin-right: 1rem; }
    div.jumbotronX div.TitleContainer { margin-right: 1rem; }
    iframe#payment-form { height: 1050px; }
    .navbar-header .navbar-brand.MobileOnly a { color: #ecf0f1; }

    body div.MembersCounter { overflow:auto; font-size: 2rem; background-color: #eee; padding-right: 1rem; margin-bottom: 15px;}
        body div.MembersCounterX { overflow:auto; text-align: center; height: 12rem; font-size: 2rem; background-color: #eee; padding-right: 1rem; margin-top: 5px; margin-bottom: 5px;}
    body div.MembersCounter > div { font-size: 3rem; float: right; margin-top: 1rem; font-size: 2rem; }
    body div.MembersCounterXDiv { display: table-row; text-align: center; margin-top: 1rem; margin-left: 0.75rem; font-size: 2rem; }
    body div.MembersCounter label.Counter { color: #3E64FA; }
    body div.MembersCounterX label.Counter { color: #3E64FA; }
    body div.MembersCounter div.Join { float: left; margin-top: 0; }
    body div.MembersCounter div.Join a{ display: inline-block; text-align:center; font-size: 15px;}

    /*body div.MembersCounterX div.Join { margin-top: 0.8rem; }*/
    /*body div.MembersCounterX div.Join { display: inline-block; margin-top: 0.8rem; }*/

    body div.event-countdown {font-family:Carmella; margin-top:5px; font-size: 2rem; background-color: #eee; padding-right: 1rem; }
    body div.event-countdown #clockdiv-mobile { display: inline; }
    body div.event-countdown #clockdiv-mobile .link { margin:0 10px; }
}

#clockdiv{
    font-family: sans-serif;
    color: #5BA4FF;
    display: inline-block;
    font-weight: 100;
    text-align: center;
    font-size: 30px;
}

#clockdiv > div{
    /*padding: 10px;*/
    border-radius: 3px;
    background: #062F5D;
    display: inline-block;
}

#clockdiv div > span{
    padding: 15px;
    border-radius: 3px;
    background: #0C50A1;
    display: inline-block;
}

.smalltext{
    padding-top: 5px;
    font-size: 16px;
}

.election-graph{
    background: #587dff;
    max-width: 100%;
    border-radius: 10px 5px 5px 10px;
}

#election-form ul.question-options {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#election-form input.election-question-option + label {
    cursor: pointer;
    transition: 0.5s ease;
display: inline;
}

#election-form input.election-question-option:checked + label {
    display: inline-block;
    background-color: blue;
    color: white;
    transition: 0.5s ease;
}

#election-form .election-more-info{
    margin: 0 10px;
    font-size: 0.75em;
    cursor: help;
}


.list-group-item {
    user-select: none;
}

.list-group input[type="checkbox"] {
    display: none;
}

.list-group input[type="checkbox"] + .list-group-item {
    cursor: pointer;
}

.list-group input[type="checkbox"] + .list-group-item:before {
    /*content: "\2713";*/
    color: transparent;
    font-weight: bold;
    margin-right: 1em;
}

.list-group input[type="checkbox"]:checked + .list-group-item {
    background-color: #0275D8;
    color: #FFF;
}

.list-group input[type="checkbox"]:checked + .list-group-item:before {
    color: inherit;
}

.list-group input[type="radio"] {
    display: none;
}

.list-group input[type="radio"] + .list-group-item {
    cursor: pointer;
}

.list-group input[type="radio"][disabled]+ .list-group-item {
    cursor: not-allowed;
}

.list-group input[type="radio"] + .list-group-item:before {
    /*content: "\2022";*/
    color: transparent;
    font-weight: bold;
    margin-right: 1em;
}

.list-group input[type="radio"]:checked + .list-group-item {
    background-color: #0275D8;
    color: #FFF;
}

.list-group input[type="radio"]:checked + .list-group-item:before {
    color: inherit;
}

.donation-description{
    margin-bottom: 10px;
}

.products-table{
    width: 100%;
    border: 3px #fff solid;
    font-size: 20px;
    border-spacing: 2px;
    border-collapse: separate;
}
.products-table td, .products-table th{
    margin: 10px;
    padding: 10px 10px;
    text-align: center;
}
.products-table td:nth-child(1){
    text-align:right;
}
.products-table th:nth-child(1){
    background: #fff;
}

.products-table tr{
    background: #eee;
}

table.steelBlueCols {
    border: 1px solid #1C6EA4;
    background-color: #EEEEEE;
    width: 400px;
    text-align: center;
    border-collapse: collapse;
  }
  table.steelBlueCols td, table.steelBlueCols th {
    border: 1px solid #AAAAAA;
    padding: 3px 2px;
  }
  table.steelBlueCols tbody td {
    font-size: 13px;
    font-weight: bold;
    color: #333333;
  }
  table.steelBlueCols td:nth-child(even) {
    background: #D0E4F5;
  }
  table.steelBlueCols thead {
    background: #1C6EA4;
    border-bottom: 2px solid #444444;
  }
  table.steelBlueCols thead th {
    font-size: 15px;
    font-weight: bold;
    color: #FFFFFF;
    text-align: right;
    border-left: 2px solid #D0E4F5;
  }
  table.steelBlueCols thead th:first-child {
    border-left: none;
  }
  
  table.steelBlueCols tfoot td {
    font-size: 14px;
  }
  table.steelBlueCols tfoot .links {
    text-align: right;
  }
  table.steelBlueCols tfoot .links a{
    display: inline-block;
    background: #1C6EA4;
    color: #FFFFFF;
    padding: 2px 8px;
    border-radius: 5px;
  }

  .administration .collapse.in{
    max-width: 100%;
    overflow-x: scroll;
  }

  .tooltip {
    position: relative;
    display: inline-block;
  }
  
  .tooltip .tooltiptext {
    visibility: hidden;
    width: 140px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }

  .scroll-box{
      max-width: 100%;
      overflow: scroll;
  }
  select{max-width:80%;}

  input#id-number:invalid {
      border-color: #a94442;
  }

    input#id-number:valid {
      border-color: #337ab7;
  }

.dataTables_filter input { font-size: 24px; }   

.copuns-code {
    display: flex;
    margin: 0;
    padding: 0;
}

.copun-code {
    cursor: pointer;
    border: 2px dashed #2e6da4;
    border-radius: 2px;
    background: #67b9ff;
    color: white;
    display: inline-block;
    padding: 3px 6px;
    margin: 3px;
}

.copun-code:hover {
    border-color: #337ab7;
    background: #2e6da4;
}

.copun-code:focus {
    border-color: #2e6da4;
}

.copun-code.used-copun {
    background: #b60e0e;
    text-decoration: line-through;
}

#copun-copied-message {
    display: inline-block;
    opacity: 0;
    pointer-events: none;
}

.animate {
    animation: fade 3s ease-in-out 1;
}

@keyframes fade {
    0% {
        opacity: 0
    }

    30% {
        opacity: 100
    }

    80% {
        opacity: 100
    }

    100% {
        opacity: 0
    }
}

.plan-title {
    font-weight: bold;
    font-size: 18px;
}