/*
Theme Name: Aiglemont
Theme URI: https://www.aiglemont.com
Description: Thème du site de la commune d'Aiglemont
Author: iMaugis
Author URI: https://www.imaugis.com
Version: 1.0
Text Domain: aiglemont
*/

html, body {
    font-family: Arial, sans-serif;
    background: url("img/bg-bg1.png") no-repeat 96% 96px, url("img/bg-bg2.png") no-repeat 6% 490px, url("img/bg-bg3.png") no-repeat 90% 986px;
}

/***** TYPOGRAPHIE *****/
b, strong {font-weight: bold;}
i, em {font-style: italic;}
u {text-decoration: underline;}

h1 {
    margin: 0 0 24px 0;
    font-size: 24px;
    font-weight: 400;
    color: #3c3939;
    text-transform: uppercase;
}

h1 > span {
    font-weight: 700;
}

.content ul li {list-style-type: none; position: relative;}
.content ul li:before {
    content: "";
    position: absolute; top: 4px; left: -20px;
    margin: 0; padding: 0;
    height: 10px; width: 10px;
    border-radius: 50%;
    background-color: #45916b;
}
.content ul li a {
    color: #333333;
}

.content ul li a:hover {
    color: #45916b;
}

.content ul li, .content ol li {
    font-size: 14px;
}

a, p a {
    color: #45916b;
    text-decoration: none;
}

p a:hover {
    color: #45916b;
    text-decoration: underline;
}

a:focus, a:active, a:visited {
    outline: 0;
    text-decoration: none;
}

/***** IMAGES *****/
.alignleft {float: left; margin: 0 15px 15px 0;}
.alignright {float: right; margin: 0 0 15px 15px;}
.aligncenter {display: block; margin: 15px auto;}

.clear {
    clear: both;
}

/***** HEADER *****/
header {
    margin: 0 0 45px 0;
    padding: 0 !important;
    height: auto;
    background-color: transparent;
}

.top {
    height: 50px;
    background-color: #45916b;
}

.top-content {
    margin: 0 auto;
    padding: 0 !important;
    height: inherit;
    background-color: transparent;
}

.top-logo {
    margin: 0; padding: 0;
}

.top-logo a.logo {
    display: block;
    margin-top: 17px;
    height: 150px; width: 124px;
    text-decoration: none;
    background-color: transparent;
    background: url("img/logo.png") no-repeat 0 0;
    cursor: pointer;
}

.menu-responsive, .menu-responsive-toggle, .ui-loader {
    display: none;
}

.navbar {
    z-index: 9999 !important;
    border: none;
}

.nav > li {
    position: relative;
}

.nav > li > a {
    height: 50px;
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
}

.nav > li:first-child > a {
    padding-left: 0;
}

.nav > li > a:hover, .nav > li > a:focus, .nav > li > a:visited {
    background-color: transparent;
    border-bottom: 5px solid #000000;
}

.nav > li > ul {
    position: absolute;
    top: 50px; left: 50%;
    transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    display: none;
    margin: 0; padding: 5px 0;
    height: auto; width: 200px;
    background-color: #45916b;
    list-style-type: none;
}

.nav > li > ul > li {
    position: relative;
}

.nav > li > ul > li > ul {
    position: absolute;
    top: 0; left: 100%;
    margin: 0; padding: 0;
    display: none;
    height: auto; width: 200px;
    background-color: #45916b;
    list-style-type: none;
}

.nav > li > ul > li > a, .nav > li > ul > li > ul > li > a {
    display: block;
    margin: 0; padding: 10px 15px;
    height: auto; width: auto;
    text-align: left;
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF;
}

.nav > li > ul > li > a:hover, .nav > li > ul > li > a:focus, .nav > li > ul > li > a:visited,
.nav > li > ul > li > ul > li > a:hover, .nav > li > ul > li > ul > li > a:focus, .nav > li > ul > li > ul > li > a:visited {
    text-decoration: none;
    background-color: #3c7f5d;
}

.nav > li:hover > ul {
    display: block;
}

.nav > li > ul > li:hover > ul {
    display: block;
}

.top-social {
    height: 50px;
    margin: 0; padding: 0 !important;
    font-size: 0;
    text-align: right;
}

.top-social > .social {
    display: inline-block;
    vertical-align: top;
    margin: 0 20px 0 0; padding: 0;
    height: 50px; width: auto;
    line-height: 50px;
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
}

.top-social > .social:last-child {
    margin-right: 0;
}

.top-social > .social:hover {
    color: #da251c;
}

.shortcuts {
    font-size: 0;
}

.shortcut {
    display: inline-block;
    margin: 0 46px 0 0; padding: 0;
    height: 76px; width: 76px;
    text-align: center;
}

.shortcut > span {
    display: block;
    margin: 0 0 13px 0;
    font-size: 12px;
    font-weight: 400;
    color: #000000;
}

.shortcut > img {
    display: block;
    margin: 0 auto; padding: 0;
    height: 54px; width: 54px;
    background-color: #4a4a4a;
}

.shortcut:hover > span {
    color: #da251c;
}

.shortcut:hover > img {
    background-color: #da251c;
}

.shortcut:last-child {
    margin-right: 0;
}

.shortcut:hover, .shortcut:focus, .shortcut:visited {
    text-decoration: none;
}

/***** MIDDLE *****/
.middle-carousel {
    margin-bottom: 45px;
}

.owl-carousel {
    display: block;
    margin: 0; padding: 0;
    height: 420px;
    background-color: transparent;
}

.owl-carousel .carousel-item {
    position: relative;
    margin: 0; padding: 0;
    height: 420px;
    background-color: transparent;
}

.owl-carousel .carousel-item img {
    z-index: 1000 !important;
    position: absolute;
    top: 0; left: 0;
    height: 420px; width: 940px;
    background-color: #F2F2F2;
    border-right: 13px solid #fff83d;
}

.owl-carousel .carousel-item .carousel-description {
    z-index: 1001 !important;
    position: absolute;
    bottom: 30px; right: 0;
    margin: 0; padding: 25px;
    height: 185px; width: 314px;
    background-color: #fff83d;
}

.owl-carousel .carousel-item .carousel-description h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 700;
    color: #3c3939;
}

.owl-carousel .carousel-item .carousel-description p {
    font-size: 14px;
    font-weight: 400;
    color: #3c3939;
}

.owl-carousel .carousel-item .carousel-share {
    z-index: 1001 !important;
    position: absolute;
    right: 0;
    display: block;
    margin: 0; padding: 0;
    height: 54px; width: 54px;
    line-height: 54px;
    text-align: center;
    text-decoration: none;
    font-size: 30px;
    color: #3c3939;
    background-color: #fff83d;
}

.owl-carousel .carousel-item .carousel-share-facebook {
    top: 0;
}

.owl-carousel .carousel-item .carousel-share-twitter {
    top: 74px;
}

.owl-carousel .carousel-item .carousel-readmore {
    z-index: 1001 !important;
    position: absolute;
    bottom: 5px; left: 955px;
    font-size: 14px;
    font-weight: 700;
    color: #3c3939;
}

.owl-carousel .carousel-item .carousel-readmore:hover {
    text-decoration: underline;
}

.middle-news {
    margin-bottom: 45px;
}

.calendar {
    padding: 0 30px;
    height: 430px;
    background-color: #80bb9d;
}

.calendar a {
    margin: 0; padding: 0;
    height: 25%;
    text-decoration: none;
}

.calendar-item {
    position: relative;
    margin: 0; padding: 15px 0;
    height: 25%;
    box-sizing: border-box;
    border-bottom: 2px solid #FFFFFF;
}

.calendar-item::after {
    content: "";
    position: absolute;
    top: 15px; left: -30px;
    display: block;
    height: 16px; width: 16px;
    background-color: #FFFFFF;
}

a:last-child .calendar-item {
    border: none;
}

.calendar-item h2 {
    margin: 0 0 15px 0; padding: 0;
    font-size: 16px;
    font-weight: 400;
    color: #3c3939;
}

.calendar-item h1 {
    margin: 0; padding: 0;
    font-size: 18px;
    font-weight: 700;
    color: #3c3939;
    text-transform: none;
}

a:hover > .calendar-item > h2, a:hover > .calendar-item > h1 {
    color: #FFFFFF;
}

.news {
    padding: 0 0 0 15px;
    height: 430px;
    background-color: transparent;
}

.news a {text-decoration: none;}

.news-item {
    margin-bottom: 30px;
    height: 200px;
    background-color: transparent;
}

.news-item .news-img {
    margin: 0; padding: 0;
    height: 134px; width: auto;
    overflow: hidden;
}

.news-item .news-img img {
    margin: 0; padding: 0;
    height: auto; width: 100%;
}

.news-item h1 {
    margin: 0; padding: 12px 15px;
    box-sizing: border-box;
    height: 64px; width: auto;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    background-color: #3c3939;
    text-transform: none;
}

a:hover > .news-item h1 {
    background-color: #80bb9d;
}

.middle-downloads {
    margin-bottom: 0;
}

.downloads {
    margin: 0; padding: 0 0 0 122px;
    background: url("img/picto-download.png") no-repeat 0 0;
}

.downloads h1 {
    margin-bottom: 15px;
}

.downloads .download-button {
    position: relative;
    display: block;
    margin: 0 0 15px 0; padding: 0 0 0 26px;
    font-size: 16px;
    font-weight: 400;
    color: #3c3939;
    text-decoration: none;
}

.downloads .download-button::before {
    content: "";
    position: absolute;
    top: 2px; left: 0;
    display: block;
    height: 16px; width: 16px;
    background-color: #3c3939;
}

.downloads .download-button:hover {
    color: #da251c;
}

.info {
    margin: 0; padding: 15px;
    color: #FFFFFF;
    background: url("img/bg-info.png") no-repeat 103% 50%;
    background-color: #da251c;
}

.info h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.info p {
    font-size: 14px;
    font-weight: 400;
}

.info p a {
    color: #FFFFFF;
}

.info p a:hover {
    text-decoration: underline;
}

.content {
    margin-bottom: 45px;
}

.breadcrumbs {
    margin: 0 0 25px 0;
}

.breadcrumbs p {
    font-size: 14px;
    font-weight: 400;
    color: #3c3939;
}

.breadcrumbs p a {
    text-decoration: none;
    color: #3c3939;
}

.breadcrumbs p a:hover {
    text-decoration: underline;
}

.breadcrumbs p span {
    font-weight: 700;
}

.posts {
    padding: 0;
}

.post-item {
    padding: 0;
    display: block;
    height: auto;
}

.post-item .post-description {
    padding: 30px;
    border-top: 16px solid #fff83d;
}

.post-item .post-description h1 {
    margin: 0 0 25px 0;
    font-size: 18px;
    font-weight: 700;
    color: #3c3939;
}

.post-item .post-description p {
    margin: 0 0 20px 0;
    font-size: 12px;
    font-weight: 400;
    color: #3c3939;
    line-height: 1.1em;
    text-align: justify;
}

.post-item .post-description .readmore {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #3c3939;
    text-align: right;
}

.post-item .post-img {
    padding: 30px;
}

.post-item .post-img img {
    display: block;
    margin: 0 auto;
    height: auto; width: 288px;
}

.post-item .post-share {
    padding: 0 0 0 15px;
}

.events, .event {
    padding: 0;
}

.event-item {
    padding: 0;
    margin-bottom: 40px;
}

.event-description {
    position: relative;
    padding: 20px 20px 20px 80px;
    color: #3c3939;
    background-color: #80bb9d;
}

.event-description::before {
    content: "";
    position: absolute;
    top: 20px; left: 0;
    height: 30px; width: 30px;
    background-color: #FFFFFF;
}

.event-description h1 {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 700;
    text-transform: none;
}

.event-description h2 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 400;
}

.event-description p {
    padding: 20px 0;
    border-top: 2px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
}

.event-description p span {
    display: block;
    line-height: 1.3em;
}

.event-description .event-clock {
    position: relative;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
}

.event-description .event-clock::before {
    position: absolute;
    top: 0; left: -36px;
    content: "\f017";
    font-family: "FontAwesome";
    font-size: 20px;
}

.event-description .event-venue {
    position: relative;
    font-size: 16px;
    font-weight: 400;
}

.event-description .event-venue::before {
    position: absolute;
    top: 10px; left: -33px;
    content: "\f041";
    font-family: "FontAwesome";
    font-size: 24px;
}

.event-description img {
    float: right;
    margin-left: 20px;
    height: 240px; width: auto;
    border-left: 20px solid #80bb9d;
}

.event-description .readmore {
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: #3c3939;
}

.event-description .readmore:hover {
    text-decoration: underline;
}

.event-share {
    height: inherit;
    padding-right: 0;
    background-color: transparent;
}

.event-share .event-share-items {
    margin: 0; padding: 0 0 0 15px;
    height: inherit;
    border-left: 14px solid #fff83d;
}

.single-event-container {
    margin-bottom: 45px; 
    padding: 0 15px 0 0;
    border-right: 14px solid #fff83d;
}

.single-event-container .event-description {
    height: 200px;
    box-sizing: border-box;
}

.single-event-container .event-description img {
    height: 411px; width: auto;
    border: none;
}

.single-event-container .single-event-content {
    padding: 0 36px 36px 76px;
}

/****** Bulletins Municipaux *****/
.webzine-read, .webzine-download {
    display: block;
    position: relative;
    margin-bottom: 40px;
    font-size: 18px;
    font-weight: 700;
    color: #3c3939;
    text-decoration: none;
}

.webzine-download {
    margin-bottom: 0;
}

.webzine-read:hover, .webzine-download:hover {
    text-decoration: none;
}

.webzine-read::before, .webzine-download::before {
    position: absolute;
    top: 0; left: -36px;
    font-family: "FontAwesome";
    font-size: 20px;
    font-weight: 400;
}

.webzine-read::before {
    content: "\f02d";
}

.webzine-download::before {
    content: "\f019";
}

/****** Conseils Municipaux *****/
.cm-read, .cm-download {
    display: inline-block;
    position: relative;
    margin-bottom: 0;
    margin-right: 80px;
    font-size: 18px;
    font-weight: 700;
    color: #3c3939;
    text-decoration: none;
}

.cm-download {
    margin-right: 0;
}

.cm-read:hover, .cm-download:hover {
    text-decoration: none;
}

.cm-read::before, .cm-download::before {
    position: absolute;
    top: 0; left: -36px;
    font-family: "FontAwesome";
    font-size: 20px;
    font-weight: 400;
}

.cm-read::before {
    content: "\f02d";
}

.cm-download::before {
    content: "\f019";
}

/****** Détails d'un événement, d'une association, d'un commerçant, d'une annonce immobilière *****/
    .details-container {
        padding: 0 30px 0 15px;
    }
    
    .details {
        margin: 0 0 40px 0; padding: 15px;
        height: auto;
        background-color: #F2F2F2;
    }
    
    .details h3 {
        margin: 0 0 10px 0; padding: 0;
        font-size: 14px;
        color: #3c3939;
        font-weight: bold;
        line-height: 1em;
    }
    
    .details h3 i {
        margin: 0;
        width: 25px;
        color: #45916b;
    }

.post-content {
    padding: 0;
    margin-bottom: 20px;
    border-left: 16px solid #fff83d;
}

.post-img {
    margin-bottom: 40px;
    border-right: 16px solid #fff83d;
    height: auto;
}

.post-img > img {
    height: auto; width: 100%;
}

.em {
    margin: 40px 0;
}

.em-item {
    margin-bottom: 20px;
    text-align: center;
}

.em-item img {
    display: block;
    margin: 0 auto 10px auto;
}

.em-item h2 {
    margin: 0 0 5px 0;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.em-item h3 {
    margin: 0;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.content p {
    font-size: 14px;
    line-height: 1.3em;
    color: #3c3939;
}

.content .share {
    display: block;
    margin: 0 0 20px 0; padding: 0;
    height: 54px; width: 54px;
    line-height: 54px;
    text-align: center;
    text-decoration: none;
    font-size: 30px;
    color: #3c3939;
    background-color: #fff83d;
}

.content .share:last-child {
    margin-bottom: 0;
}

.content .share-bottom {
    display: inline-block;
    vertical-align: top;
    margin: 0 20px 0 0;
}

.content h1 {
    font-size: 24px;
    font-weight: 700;
    color: #3c3939;
}

.content h2 {
    font-size: 18px;
    font-weight: 700;
    color: #3c3939;
}

.content h3 {
    font-size: 14px;
    font-weight: 700;
    color: #3c3939;
}

.content iframe {
    display: block;
    margin: 40px auto;
    max-width: 100% !important;
}

.content span.search {
        background-color: #DA251C;
        color: #FFFFFF;
        padding: 3px 5px;
    }

.content img {
        max-width: 100%;
    }
    
.content form {
    display: block;
    margin: 0 0 30px 0; padding: 0;
    height: 100%; width: auto;
}

.content form label, .content form input, .content form textarea, .content form select {
    display: block;
    margin: 15px 0 5px 0; padding: 0;
}

.content form label span {
    margin-left: 2px;
    color: #da251c;
}

.content form input, .content form textarea, .content form select {
    margin: 0;
    border-radius: 0;
    border: 3px solid #E2E2E2;
    box-sizing: border-box;
    background-color: #FFFFFF;
    color: #333333;
}

.content form input:focus, .content form textarea:focus {
    border: 3px solid #da251c;
}

.content form input[type=text], .content form input[type=email] {
    padding-left: 10px;
    height: 40px; width: 60%;
    line-height: 40px;
}

.content form textarea {
    padding: 10px;
    height: 200px; width: 100%;
}

.content form select {
    padding: 0 70px 0 10px;
    height: 40px; width: auto;
    line-height: 40px;
    -webkit-appearance: none;
    -ms-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("img/bg-select.png") no-repeat top right;
    cursor: pointer;
    outline: none;
    color: #333333;
    color: rgba(178,178,178,0);
    text-shadow: 0 0 0 #333333;
}

.content form select option:active {
    background-color: #da251c;
}

.content form input[type=checkbox], .content form input[type=checkbox] + label {
    display: inline-block;
    vertical-align: top;
    height: 20px; line-height: 20px;
    margin-top: 5px;
}

.content form input[type=checkbox]:not(:checked), .content form input[type=checkbox]:checked {
    width: 0;
    display: none;
}

.content form input[type=checkbox] + label {
    position: relative;
    padding-left: 30px;
    width: 100%;
    font-weight: 400;
    cursor: pointer;
}

.content form input[type=checkbox]:not(:checked) +label:before, .content form input[type=checkbox]:checked +label:before {
    position: absolute;
    top: 0; left: 0;
    content: "";
    margin: 0 15px 0 0; padding: 0;
    height: 20px; width: 20px;
    box-sizing: border-box;
    background-color: #F2F2F2;
    border: 3px solid #E2E2E2;
    transition: all .2s;
}

.content form input[type=checkbox]:not(:checked) +label:after, .content form input[type=checkbox]:checked +label:after {
    content: "\f00c";
    font-family: "FontAwesome";
    position: absolute;
    top: 0; left: 3px;
    color: #da251c;
    transition: all .2s;
}

.content form input[type=checkbox]:not(:checked) + label:after {
    opacity: 0;
    transform: scale(0);
}

.content form input[type=checkbox]:checked + label:after {
    opacity: 1;
    transform: scale(1);
}

.content form input[type=checkbox]:checked + label:before {
    border-color: #da251c;
}

.content form input[type=radio], .content form input[type=radio] + label {
    display: inline-block;
    vertical-align: top;
    height: 20px; line-height: 20px;
    margin-top: 5px;
}

.content form input[type=radio]:not(:checked), .content form input[type=radio]:checked {
    width: 0;
    display: none;
}

.content form input[type=radio] + label {
    position: relative;
    padding-left: 30px;
    width: 100%;
    font-weight: 400;
    cursor: pointer;
}

.content form input[type=radio]:not(:checked) +label:before, .content form input[type=radio]:checked +label:before {
    position: absolute;
    top: 0; left: 0;
    content: "";
    margin: 0 15px 0 0; padding: 0;
    height: 20px; width: 20px;
    box-sizing: border-box;
    background-color: #F2F2F2;
    border: 3px solid #E2E2E2;
    border-radius: 50%;
    transition: all .2s;
}

.content form input[type=radio]:not(:checked) +label:after, .content form input[type=radio]:checked +label:after {
    content: "\f00c";
    font-family: "FontAwesome";
    position: absolute;
    top: 0; left: 3px;
    color: #da251c;
    transition: all .2s;
}

.content form input[type=radio]:not(:checked) + label:after {
    opacity: 0;
    transform: scale(0);
}

.content form input[type=radio]:checked + label:after {
    opacity: 1;
    transform: scale(1);
}

.content form input[type=radio]:checked + label:before {
    border-color: #da251c;
}

.content form button[type=submit], .content form input[type=submit] {
    display: block;
    border: 0;
    margin: 30px 0 0 0; padding: 0 30px;
    height: 40px; width: auto;
    background-color: #da251c;
    line-height: 40px;
    color: #FFFFFF;
    font-weight: 700;
    text-transform: uppercase;
}

/***** Pagination *****/
    .pagination-container {
        font-size: 0;
        height: 24px;
        padding: 0;
    }
    
    .pagination-border {
        margin: 0; padding: 0;
        height: 16px;
        background-color: #fff83d;
    }
    
    .pagination {
        margin: 0; padding: 0 0 0 10px;
        height: 24px;
        text-align: right;
        box-sizing: border-box;
        font-size: 0;
        background-color: transparent;
    }
    
    .pagination a, .pagination span {
        display: inline-block;
        vertical-align: top;
        margin: 0 10px 0 0; padding: 0;
        height: 24px; width: 24px;
        line-height: 24px;
        font-size: 14px;
        font-weight: 700;
        color: #FFFFFF;
        background-color: #4a4a4a;
        text-align: center;
        text-decoration: none;
    }
    
    .pagination a:last-child {
        margin-right: 0;
    }
    
    .pagination a:hover, .pagination span.current {
        background-color: #da251c;
        color: #FFFFFF;
    }

/***** FOOTER *****/
footer {
    height: auto;
    background-color: #6b6e70;
    padding-bottom: 30px;
}

footer ul {
    margin: 0; padding: 0;
    height: 55px;
    font-size: 0;
    list-style-type: none;
    text-align: center;
}

footer ul li {
    display: inline-block;
    vertical-align: top;
    height: inherit;
}

footer ul li a {
    height: inherit;
    line-height: 55px;
    margin: 0 0 0 10px;
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF;
    text-decoration: none;
}

footer ul li a::after {
   content: "-";
   margin-left: 10px;
   text-decoration: none !important;
}

footer ul li:last-child a::after {
    display: none;
}

footer ul li:first-child a {
    margin-left: 0;
}

footer ul li:last-child a {
    margin-right: 0;
}

footer ul li a:hover, footer ul li a:focus, footer ul li a:visited {
    color: #FFFFFF;
    text-decoration: none;
}

.footer-labels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-labels > img {
    margin-right: 30px;
}

.footer-labels > img:last-child {
    margin-right: 0;
}

@media (max-width: 1280px) {
    .owl-carousel, .owl-carousel .carousel-item {
        height: 359px;
    }
    
    .owl-carousel .carousel-item img {
        height: 359px; width: 803px;
    }
    
    .owl-carousel .carousel-item .carousel-description {
        width: 314px;
    }
    
    .owl-carousel .carousel-item .carousel-readmore {
        left: 813px;
    }
}

@media (max-width: 1024px) {
    .nav > li > a {
        font-size: 11px;
        padding: 15px 5px;
    }
    
    .nav > li > ul > li > a {
        font-size: 11px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
}

@media (max-width: 768px) {
    .navbar {
        display: none;
    }
    
    .shortcuts {
        display: none;
    }
    
    .menu-responsive {
        z-index: 9999;
        display: block;
        position: fixed;
        top: 0; bottom: 0; left: 0;
        margin: 0; padding: 20px;
        box-sizing: border-box;
        height: auto; width: 50%;
        background-color: #45916B;
        overflow: scroll;
    }
    
    .menu-responsive ul {
        display: block;
        margin: 0; padding: 0;
        height: auto; width: 100%;
    }
    
    .menu-responsive ul li {
        display: block;
        margin: 0; padding: 0;
        height: auto; width: 100%;
    }
    
    .menu-responsive ul li a {
        display: block;
        margin: 0; padding: 5px 0 5px 10px;
        height: auto; width: 100%;
        font-size: 14px;
        color: #FFFFFF;
        text-decoration: none;
        text-transform: uppercase;
    }
    
    .menu-responsive ul li a:hover {
        background-color: #3c7f5d;
        color: #FFFFFF;
        text-decoration: none;
        border-bottom: none;
    }
    
    .menu-responsive ul li ul {
        display: block;
        margin-left: 30px;
    }
    
    .menu-responsive ul li ul li a {
        display: list-item;
        list-style: square inside;
        font-size: 13px;
    }
    
    .menu-responsive-toggle {
        display: block;
        margin: 0; padding: 0;
        height: 40px; width: 50px;
        background-color: transparent;
        background-image: url("img/menu.png");
        background-repeat: no-repeat;
        background-position: 10px 5px;
        cursor: pointer;
    }
    
    .owl-carousel, .owl-carousel .carousel-item {
        height: 280px;
    }
    
    .owl-carousel .carousel-item img {
        height: 280px; width: 627px;
    }
    
    .owl-carousel .carousel-item .carousel-share-facebook {
        top: 0; right: 64px;
    }
    
    .owl-carousel .carousel-item .carousel-share-twitter {
        top: 0; right: 0;
    }
    
    .owl-carousel .carousel-item .carousel-description {
        width: 264px; height: auto;
        padding: 15px;
    }
    
    .owl-carousel .carousel-item .carousel-description h2 {
        font-size: 14px;
    }
    
    .owl-carousel .carousel-item .carousel-description p {
        font-size: 12px;
    }
    
    .owl-carousel .carousel-item .carousel-readmore {
        left: 637px;
    }
    
    .calendar .calendar-item h2 {
        font-size: 12px;
    }
    
    .calendar .calendar-item h1 {
        font-size: 16px;
    }
    
    .news-item {
        height: auto !important;
    }
    
    .news-item .news-img {
        width: 100%;
        height: auto;
    }
    
    .news-item h1 {
        font-size: 14px;
    }
    
    .info p {
        font-size: 12px;
    }
    
    .post-share, .event-share {
        display: none;
    }
    
    .post-item .post-img {
        border-right: 0;
    }
}

@media (max-width: 640px) {
    .top-logo a.logo {
        width: 90px;
        height: 109px;
        background-size: 90px 109px;
    }
    
    .menu-responsive {
        width: 80%;
    }
    
    .owl-carousel .carousel-item img {
        display: none;
    }
    
    .owl-carousel .carousel-item .carousel-description {
        width: 100%; height: auto;
        padding: 25px;
        bottom: 40px;
    }
    
    .owl-carousel .carousel-item .carousel-readmore {
        left: 10px;
    }
    
    .calendar, .downloads, .info {
        margin-bottom: 45px;
    }
    
    .news {
        padding: 0;
        height: auto;
    }
    
    .news-item-container {
        padding: 0;
    }
    
    .single-event-container .event-description .event-clock {
        font-size: 14px;
    }
    
    .single-event-container .event-description .event-venue {
        font-size: 12px;
    }
    
    .single-event-container .event-description img {
        display: none;
    }
    
    .single-event-container .single-event-content {
        padding: 15px;
    }
    
    .events .event-item .event-description img {
        display: none;
    }
    
    .cm-read, .cm-download {
        display: block;
        margin-bottom: 20px;
        margin-right: 0;
    }
    
    footer, footer ul {
        height: auto;
        padding-bottom: 30px;
    }
    
    footer {
        padding: 10px 0;
    }
    
    footer ul li a {
        line-height: 1.6em;
    }
    
    .footer-labels > img {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .footer-labels > img:last-child {
        margin-bottom: 0;
    }
}