@font-face {
    font-family: 'foundry';
    src: url(fonts/Foustbk_.ttf);
  }

@font-face {
    font-family: 'foundry b';
    src: url(fonts/Foustbd_.ttf)
}


.header {
    background-color: #0071BC;
    padding:25px;
}

.header img {
    display: block;
    width:340px;
    max-width:50%;
    margin-left:40px;
}

div.row.mainer {
    margin-right:0px;
    margin-left:0px;
}

/*
############
## NAVBAR ##
############
*/

.navbar {
    color: #FFFFFF;
    background-color: #002147;
}

.navbar-custom {
    background-color: #002147;
}
/* change the brand and text color */
.navbar-custom .navbar-brand,
.navbar-custom .navbar-text {
    color: #4d4d4d;
}
/* change the link color */
.navbar-custom .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'foundry';
    font-weight: 100;
    font-size:20px;
}
/* change the color of active or hovered links */
.navbar-custom .navbar-nav.nav-item.active .nav-link,
.navbar-custom .nav-item:focus .nav-link,
.navbar-custom .nav-item:hover .nav-link {
    color: #ffffff;
}

.navbar-nav.mr-auto {
    display: block; 
    list-style: none;
    margin-left:50px;
}

.navbar-nav.mr-auto li {
    display: inline-block;
    margin: 0px 10px;
}


/*
############
## fesses ##
############
*/

.main {
    display: block;
    width:1300px;
    max-width: 100%;
    margin:auto;
    margin-top:20px;
}

.fesses {
    border-left: solid #002147 4px;
    border-right: solid #002147 4px;
    padding: 0px 20px;
    transition:0.3s;
}

.fess-link {
    text-decoration: none;
    color:rgb(36, 36, 36);
}
 
.fess-link:hover {
    text-decoration: none;
    color:rgb(36,36,36);
}

hr {
    margin:0px;
}

.more-link {
    color:rgb(119, 119, 119);
    transition:0.3s;
    height:5px;
    text-align: right;
}

.more-link:hover {
    translate: (10px,0px);
}

.fesses h1, .fesses-pop h1, .fesses-solo h1 {
    font-family: 'foundry b';
    letter-spacing: -2.5px;
    font-size:30px;
    padding-top:20px;
}

.fesses h3, .fesses-pop h3, .fesses-solo h3 {
    font-family: 'foundry';
    font-size:18px;
    display: table;
    position: relative;
}

.fesses p, .fesses-pop p {
    font-family: 'foundry';
    padding-bottom:20px;
}

.reply-to {
    font-family: 'foundry';
    font-size:16px;
}

h2.reply-to {
    font-family: 'foundry';
    font-size:22px;
    padding-top:20px;
}

.reply-post-link {
    color:black;
}

.reply-post-link:hover {
    color:black;
    text-decoration: none;
}

a.reply-to-link {
    color:black;
}

a.reply-to-link:hover {
    text-decoration: none;
}

.fesses-solo h4 {
    display: inline-block;
    padding-bottom:15px;
    font-family: 'foundry';
}

.fesses-solo span {
    display:inline-block;
    font-family: 'foundry';
    font-size:24px;
}

.fesses-pop {
    background-color: #002147;
    color:white;
    border-radius: 5px;
    padding:20px;
}

.fesses-pop .date:before {  
    content:' ';
    display:table-cell;
    height:18px;
    border-left:2px solid #ffffff;
    padding-right:4px;
    margin-right:14px;
    margin-top:-5px;
    box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
    -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
    -moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
}

.fesses-solo {
    display:block;
    margin:auto;
    width:500px;
    max-width:100%;
    padding:20px;
    margin-bottom:100px;
}

.fesses-solo form {
    position: relative;
}

.fesses-solo button, .info button {
    background-color: #002147;
    color:white;
    padding:5px 20px 5px 14px;
    border: 2px solid #002147;
    margin:0px 3px; 
    font-family: 'foundry';
    transition:0.3s;
    border-radius:0px 30px 30px 0px;
    font-size:18px;
    position: absolute;
    top:0px;
}

.fesses-solo button:hover, .info button:hover {
    transform: translate(5px,0px);
}

.date:before {  
    content:' ';
    display:table-cell;
    height:18px;
    border-left:2px solid #4e4e4e;
    padding-right:4px;
    margin-right:14px;
    margin-top:-5px;
    box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
    -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
    -moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
}

.info {
    padding:0px 30px;
    position: relative;
}


.info h2, .info p {
    font-family: 'foundry';
}

.info p {
    font-size:18px;
}

.info img {
    display:block;
    width:100%;
    border-bottom:5px solid #002147;
    border-top:5px solid #002147;
}

.info input[type=text] {
    display:inline-block;
    padding: 6px 16px;
    border: 2px solid #999999;
    background-color: #E6E6E6;
    border-radius:20px 0px 0px 20px;
    font-size: 17px;
    max-width: 50%;
}

#search-form {
    max-width: 100%;
}

.useful-links ul {
    list-style: none;
    padding:0px;
}

.useful-links li {
    margin:0px;
    position: relative;
}

.useful-links li a{
    color:rgb(49, 49, 49);
    transition: 0.3s;
}

.useful-links li a:hover {
    translate:(5px,0px);
}

#submit {
    padding:0px 40px;
}

#submit h1 {
    font-family: 'foundry';
    font-size:30px;
}

#submit h2 {
    font-family: 'foundry';
    font-size:24px;
}

#submit textarea {
    display:block;
    width:100%;
}

#submit button {
    background-color: #002147;
    color:white;
    padding:10px 20px;
    border:none;
    margin:20px 0px;
    font-family: 'foundry';
    transition:0.3s;
}

#submit button:hover {
    transform: scale(1.05);
}

.alert {
    color:white;
    padding:8px;
    border-radius:6px;
}

.alert.bad {
    background-color: rgba(207, 114, 114, 0.87);
    border: 2px solid rgb(199, 105, 105);
}

.alert.good {
    background-color: rgba(133, 207, 114, 0.87);
    border: 2px solid rgb(84, 212, 84);
}




/*
###########
## REPLY ##
###########
*/

.reply-button {
    background-color: #cecece;
    color:rgb(66, 66, 66);
    border-radius:30px;
    padding:5px 20px;
    font-family: 'foundry';
    transition: 0.3s;
    margin:0px 0px 10px 0px;
    display:inline-block
}

.reply-button:hover {
    background-color: #b9b9b9;
    color:rgb(255, 255, 255);
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .fesses {
        padding: 0px 10px;
    }

    .info {
        padding: 0px 10px;
    }

    .fesses-solo {
        padding:5px;
    }

    #submit {
        padding:10px;
    }

    .fesses-solo button, .info button {
        display:block;
        border: 2px solid #002147;
        margin:3px 0px; 
        font-family: 'foundry';
        transition:0.3s;
        border-radius:0px;
        position: relative;
    }

    .info input[type=text] {
        display:inline-block;
        border: 1.2px solid #999999;
        padding: 6px 16px;
        border-radius:0px;
        width:400px;
        max-width: 100%;
    }
}