﻿@font-face {
    font-family: VerdanaSans;
    src: url(Fonts/Verdana_gdi.eot);
    src: local('☺'),url(Fonts/Verdana_gdi.eot?#iefixv=1) format('embedded-opentype'), url(Fonts/Verdana_gdi.woff2) format('woff2'), url(Fonts/Verdana_gdi.woff) format('woff'), url(Fonts/Verdana_gdi.ttf) format('truetype');
}

@font-face {
    font-family: VerdanaSans;
    src: url(Fonts/Verdana_Italic_gdi.eot);
    src: local('☺'),url(Fonts/Verdana_Italic_gdi.eot?#iefixv=1) format('embedded-opentype'), url( Fonts/Verdana_Italic_gdi.woff2) format('woff2'), url(Fonts/Verdana_Italic_gdi.woff) format('woff'), url( Fonts/Verdana_Italic_gdi.ttf) format('truetype');
    font-style: italic;
}

@font-face {
    font-family: VerdanaSans;
    src: url(Fonts/Verdana_SemiBold_gdi.eot);
    src: local('☺'),url(Fonts/Verdana_SemiBold_gdi.eot?#iefixv=1) format('embedded-opentype'), url(Fonts/Verdana_SemiBold_gdi.woff2) format('woff2'), url(Fonts/Verdana_SemiBold_gdi.woff) format('woff'), url(Fonts/Verdana_SemiBold_gdi.ttf) format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: VerdanaSans;
    src: url(Fonts/Verdana_SemiBoldItalic_gdi.eot);
    src: local('☺'),url(Fonts/Verdana_SemiBoldItalic_gdi.eot?#iefixv=1) format('embedded-opentype'), url(Fonts/Verdana_SemiBoldItalic_gdi.woff2) format('woff2'), url(Fonts/Verdana_SemiBoldItalic_gdi.woff) format('woff'), url(Fonts/Verdana_SemiBoldItalic_gdi.ttf) format('truetype');
    font-weight: 700;
    font-style: italic;
}

html {
    margin: 0;
    padding: 0;
}

body {
    background-color: #b1b1b1;
    margin: 0;
    width: 100%;
    height: 100%;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    line-height: 1.6;
    font-family: VerdanaSans, Arial, Helvetica, sans-serif;
    padding: 0 0 20px 0;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

#maincontainer {
    padding: 10px 40px;
    margin-top: 10px;
}
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.navbar-nav a {
    color: maroon;
    text-decoration: none;
    font: bold 16px VerdanaSans, "Segoe UI",Tahoma, Arial;
}

    .navbar-nav a:hover {
        color: white;
        text-decoration: none;
    }

h5 {
    font: bold 18px 'Roboto', VerdanaSans;
    color: maroon;
}

.shadow {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#app a {
    font-family: Anton, sans-serif;
    font-size: 30px;
    margin-left: 10px;
    color: black !important;
    text-decoration: none;
}

.bouton-image:before {
    content: "";
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-right: 5px;
    vertical-align: text-top;
    background-color: red;
    background-position: center center;
    background-repeat: no-repeat;
}

.monBouton:before {
    background-image: url(img/search.png);
    background-color: red;
}

.carousel-caption {
    text-shadow: 2px 2px 4px black;
    bottom: 5px;
    left: 2%;
    right: 2%;
}

    .carousel-caption a {
        margin: 0 10px;
    }

.carousel-background {
    background-color: #5f5f5f;
    opacity: 0.8;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.nav-item a {
    color: maroon;
}

a.dropdown-item:hover {
    color: blue;
}

a.nav-link {
    color: maroon;
}


.navbar-brand {
    font: bold Roboto, VerdanaSans 18px;
    text-shadow: 2px 2px 4px black;
}

#navbarsDefault {
    border-bottom: 3px solid #ea4748;
}

    #navbarsDefault ul li {
        float: left;
        border-bottom: 3px solid transparent;
    }

        #navbarsDefault ul li:hover {
            border-bottom: 3px solid orange;
        }

.panel-tag {
    top: 0;
    left: 0;
    background-color: red;
    height: 30px;
    width: 120px;
    color: white;
    position: absolute;
    padding: 5px;
}

.carousel-indicators {
    bottom: -10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: transparent;
    display: block;
    width: 32px;
    height: 32px;
    display: block;
}

    .carousel-control-prev-icon:hover,
    .carousel-control-next-icon:hover {
        background-color: red;
    }

.image-containter {
    position: relative;
}

    .image-containter .panel-tag {
        font-weight: normal;
    }


#latestnews .col-12 img {
    margin-bottom: 5px;
}

.green-caption {
    background-color: #5f5f5f;
    font: normal 15px VerdanaSans, "Segoe UI",Tahoma, Arial;
    text-shadow: 2px 2px 4px black;
    padding: 5px;
    display: flex;
    align-items: center; /* horizontal */
    justify-content: center; /* vertical */
}


.two-line-caption {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.2em;
    height: auto;
    max-height: 2.4em;
    width: calc(100%);
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 0px 10px;
    color: white;
}

.three-line-caption {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.2em;
    height: auto;
    max-height: 3.6em;
    width: calc(100%);
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 0px 10px;
    color: white;
}


.IconTitle {
    font: normal 14px Roboto, VerdanaSans;
    overflow: hidden;
    line-height: 1.3em;
    max-height: 6.5em;
    text-align: left;
    margin: 0 auto;
    padding-right: 0px;
    color: maroon;
    text-overflow: ellipsis;
}

.section-header {
    margin: 10px;
    border-bottom: 1px solid #5f5f5f;
    padding-bottom: 3px;
    font: bold 24px VerdanaSans,"Segoe UI",Tahoma, Arial;
    color: maroon;
    text-shadow: 2px 2px 4px #00ff21;
}

.dropdown-item {
    font: normal 16px VerdanaSans, "Segoe UI",Tahoma, Arial;
    color: maroon;
}

    .dropdown-item:hover {
        text-shadow: none;
    }


.sidebar {
    margin: 15px 0 30px 15px;
    float: left;
    width: 100%;
}

.line {
    border-bottom: 1px solid #ea4748;
    padding-bottom: 8px;
    position: relative;
    margin-bottom: 10px;
    text-transform: uppercase;
}

#home {
    margin-top: 5px;
}

    #home i:before {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        font-weight: normal;
        speak: none;
        font-size: 24px;
    }

ul.social {
    list-style-type: none;
    margin: 0 0 0 0;
    padding: 0;
    float: left;
}

    ul.social li {
        width: 140px;
        height: 140px;
        background: #fafafa;
        margin-right: 3px;
        float: left;
        text-align: center;
        margin-bottom: 3px;
    }

        ul.social li:nth-last-child(1) {
            margin-right: 0;
        }

        ul.social li a {
            display: block;
            width: 140px;
            height: 55px;
            background: #316db7;
            padding: 15px 0 0 0;
        }

            ul.social li a.facebook {
                background: #316db7;
            }

            ul.social li a.twitter {
                background: #17a8dd;
            }

            ul.social li a.rss {
                background: #ff9204;
            }

            ul.social li a i {
                font-size: 26px;
                color: #FFF;
            }

            ul.social li a:hover {
                opacity: 0.8;
            }

        ul.social li span {
            margin-top: 17px;
            float: left;
            text-align: center;
            width: 100%;
            color: #696969;
            padding: 0 5px;
            font-weight: bold;
            -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
            -moz-box-sizing: border-box; /* Firefox, other Gecko */
            box-sizing: border-box; /* Opera/IE 8+ */
        }

            ul.social li span i {
                font-weight: normal;
            }

ul.items {
    margin: 15px 0;
    padding: 0;
    list-style: none;
}

    ul.items li {
        padding: 10px;
        margin: 0;
        overflow: hidden;
        height: auto;
        border-bottom: 1px dotted gray;
    }

        ul.items li:nth-child(2n+1) {
            background-color: #f1e9dc;
        }

        ul.items li a {
            font: normal 14px Roboto, VerdanaSans,"Segoe UI",Tahoma, Arial;
            padding: 5px 0;
        }

        ul.items li a {
            text-decoration: none;
            display: block;
            color: black;
        }

            ul.items li a:hover {
                background-color: orange;
                color: white;
            }

        ul.items li:nth-child(2n+1) a {
            color: maroon;
        }


        ul.items li span:last-child {
            margin-left: 10px;
            color: gray;
            font-weight: normal;
        }


[class*="Topic"] {
    height: 360px;
}


.FormCaption {
    margin: 0 auto;
    background-image: -webkit-linear-gradient(90deg, orange 0%, white 100%);
    background-image: -moz-linear-gradient(90deg, orange 0%, white 100%);
    background-image: -ms-linear-gradient(90deg, orange 0%, white 100%);
    background-image: -o-linear-gradient(90deg, orange 0%, white 100%);
    background-image: linear-gradient(120deg,orange,60%,white);
    height: auto;
    padding: 10px;
    font: bold 18px VerdanaSans;
}

.author {
    font: normal 13px Roboto, VerdanaSans;
    color: gray;
    margin: 15px 0 0 10px;
}

strong {
    color: red;
}

cite {
    font-weight: bold;
    padding-left: 10px;
    font-style: normal;
}

article {
    font-style: italic;
    padding: 0px;
    display: inline
}

    article a {
        font: 12px Roboto, VerdanaSans, Tahoma, "Segoe UI", Arial;
        color: gray;
        margin-left: 10px;
    }


.articleContainer {
    min-height: 200px;
    background-color: #fff;
}

.articleBody {
    margin-top: 0px;
    font: 18px Roboto, VerdanaSans, Tahoma, "Segoe UI", Arial;
    height: auto;
}


#seeAlso .row {
    padding: 5px 0;
}

#seeAlso .date,
#seeAlso .author {
    font: 12px Roboto, VerdanaSans, Tahoma, "Segoe UI", Arial;
    color: gray;
}

#seeAlso .author {
    margin: 0;
    padding: 0;
}

#seeAlso .title {
    margin-left: 10px;
}

#seeAlso a {
    font: 12px Roboto, VerdanaSans, Tahoma, "Segoe UI", Arial;
    color: maroon !important;
}

#seeAlso .row:nth-child(2n+1) {
    background-color: #f1e9dc;
}

#seeAlso .btn {
    color: white !important;
    font: normal 12px Roboto, VerdanaSans, Tahoma, "Segoe UI", Arial;
}

#seeAlso .card-header {
    text-shadow: 2px 2px 4px black;
}

a.caption {
    color: white !important;
    text-decoration: none;
}

footer {
    background: url(img/footer.png);
    height: 200px;
    margin: 0;
    color: gray;
    padding: 20px;
    position: relative;
}

.copyright {
    position: absolute;
    bottom: 0px;
    left: 20px;
}

.footer-icon {
    display: flex;
    flex-direction: row;
}

.footer-icon-caption {
    padding-left: 10px;
}

.ParishName a {
    font: bold 20px Roboto, VerdanaSans, Tahoma, "Segoe UI", Arial;
    color: white;
    text-shadow: 2px 2px 4px black;
    text-decoration: none;
}

.ParishAddress {
    font: normal 14px Roboto, VerdanaSans, Tahoma, "Segoe UI", Arial;
    color: wheat;
}

footer li.list-group-item {
    background-color: transparent;
}

    footer li.list-group-item a {
        color: wheat;
        text-decoration: none;
        text-shadow: none;
    }

        footer li.list-group-item a:hover {
            color: yellow;
            text-shadow: 2px 2px 4px black;
        }

#navbarsDefault a.nav-link {
    color: maroon !important;
}

#navbarsDefault a.dropdown-item {
    color: maroon !important;
}

/*
    xs = Extra small <576px 
    sm = Small ≥576px md = Medium ≥768px 
    lg = Large ≥992px 
    xl = Extra large ≥1200px 

*/
/* Ipad md*/

@media only screen and (max-width: 992px) and (min-width: 768px) {
    #latestnews {
        margin-top: 20px;
    }

    #maincontainer {
        margin-top: 60px;
    }

    .dropdown-menu {
        background-color: transparent;
    }

    a.nav-link, a.dropdown-item {
        color: white !important;
    }
}
/* xs */
@media only screen and (max-width: 560px) {
    footer {
        display: none;
    }

    #latestnews {
        margin-top: 20px;
    }

    #maincontainer {
        padding: 10px 0px;
        margin-top: 60px;
    }

    .product-icon {
        padding: 0px;
        margin: 0;
        margin-left: 0px;
    }

    .is-table-row {
        display: table;
    }

        .is-table-row [class*="col-"] {
            float: left;
            display: table-cell;
            vertical-align: top;
            width: 50%;
        }

    .FormCaption {
        margin: -20px auto 0 auto;
    }

    ul.social li {
        width: 120px;
    }

        ul.social li a {
            width: 120px;
        }

    .dropdown-menu {
        background-color: transparent;
    }

    a.nav-link, a.dropdown-item {
        color: white !important;
    }
}
