/*
Theme Name: IPConference
Theme URI: http://ipconference.org/
Author: MVI Solutions
Author URI: https://www.mvisolutions.com/
Description: WordPress theme for IPConference.
Version: 1.0
*/

@font-face {
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 300;
    src: url("fonts/avenir-light.woff") format("woff");
}

@font-face {
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 400;
    src: url("fonts/avenir-regular.woff") format("woff");
}

@font-face {
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 500;
    src: url("fonts/avenir-medium.woff") format("woff");
}

@font-face {
    font-family: 'Avenir';
    font-style: normal;
    font-weight: 700;
    src: url("fonts/avenir-demi.woff") format("woff");
}

body {
    font-family: "Avenir", sans-serif;
    background-color: rgb(31, 36, 59);
    color: rgb(31, 53, 94);
}

h1, .h1 {
    margin-bottom: 30px;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 500;
}

b, strong {
    font-weight: 700;
}

a:link, a:visited {
    color: #1c2e53;
}

a:hover, a:active {
    color: #333;
}

/* Common classes */

.btn-ipc-green {
    background-color: #75a3a9;
    text-transform: uppercase;
    border-radius: 15px;
    padding: 8px 16px;
    border: none;
    color: #fff;
}

button.btn-ipc-green {
    border: none;
    color: #fff;
    cursor: pointer;
}

button.btn-ipc-green:hover {
    background-color: #5F8B91;
}

a.btn-ipc-green:hover {
    text-decoration: none;
    background-color: #5F8B91;
}

.form-control {
    border-radius: 0;
}

.alert {
    border-radius: 0;
}

/* Navbar */

.navbar-light .navbar-toggler {
    border-color: transparent
}

.navbar-light .navbar-nav .nav-link {
    color: #1c2e53;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #1c2e53;
    font-weight: 600;
}

.navbar-light .navbar-nav .dropdown-item {
    font-weight: 500;
}

.navbar-light .navbar-nav .dropdown-item:hover {
    color: #1c2e53;
    font-weight: 700;
}

.navbar-light .navbar-nav .dropdown-menu {
    border-radius: 0;
}

.navbar-light .dropdown-item.disabled, .navbar-light .dropdown-item:disabled {
    color: #333;
}

/* Main sections */

#header {
    border-bottom: 8px solid #7db4b1;
    background-color: #fff;
}

#content {
    background-repeat: no-repeat;
    background-position: center 30%;
    background-size: cover;
    background-color: #fff;
    padding: 30px 0 60px;
}

.blog #content {
    padding-bottom: 120px;
}

#footer {
    background-color: rgb(31, 36, 59);
    color: #7e8092;
    padding-top: 20px;
}

/* Featured content box (of main content area) */
.featured-content-box {
    background-color: rgba(31, 53, 94, 0.7);
    color: #eee;
    border-radius: 2px;
    padding: 30px 15px;
    margin: 25px 0 200px;
    min-height: 410px;
}

.featured-content-box a {
    color: #eee;
}

.featured-content-box h1 {
    margin-bottom: 30px;
}

.featured-content-box .instructions {
    margin-bottom: 15px;
}

.featured-content-box .call-to-actions {
    margin-bottom: 80px;
}

.featured-content-box .instructions-more {
    margin-bottom: 90px;
}

.featured-content-box .instructions-more a {
    text-decoration: underline;
}

/* Past conferences table */
.past-conferences table td {
    padding: 5px 5px 5px 0;
}

.past-conferences table td.year {
    color: rgb(74, 120, 124);
    padding-right: 20px;
}

/* Ninja form styles */
.nf-form-fields-required {
    display: none;
}

/* Media queries */
@media (min-width: 1200px) {
    .navbar-brand {
        padding-bottom: 0;
    }

    .navbar-nav {
        margin-bottom: -50px;
    }
}

@media (max-width: 575px) {
    h1, .h1 {
        font-size: 30px;
    }
    .ipc-logo {
        width: 170px;
    }
}