/*
Theme Name: Classpress
Description: Theme enfant de Tempera adapté pour les établissements scolaire.
Author: Pierre-Paul Harrington - Rectorat de Versailles
Author URI: https://edu-portail.ac-versailles.fr
Template: tempera 
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: https: //www.gnu.org/licenses/gpl-2.0.html
*/


/* ------------ For the General logo (#glogo) ------------ */

#glogo {
    position: absolute;
    right: 0;
    top: 0;
    margin-top: 10px;
    margin-right: 14px;
}
#glogo a{
    display: block;
    height: 80px;
}
#glogo img{
    height: 80px;
    width: auto;
}

@media screen and (max-width: 800px) {
    #glogo {
        margin-right: 10px;
    }
    #glogo a {
        height: 70px;
    }
    #glogo img{
        height: 70px;
    }
}

@media screen and (max-width: 640px) {
    #glogo {
        margin-right: 6px;
    }
    #glogo a {
        height: 60px;
        }
    #glogo img {
        height: 60px;
        }
}

@media screen and (max-width: 460px) {
    #glogo {
        margin-top: 4px;
        margin-right: 4px;
    }
    #glogo a {
        height: 50px;
    }
    #glogo img {
        height: 50px;
    }
}


/* -------------------- Tempera Custom CSS -------------------- */

/* - layout - */

#main {
    margin-top: 0px !important;
    border-top: 1px solid #ccc;
    background-color: #F6F6F6;
}

#front-text1 h2,
#front-text2 h2 {
    text-align: left;
}

/* - header - */

#branding{
    background-color: #F6F6F6  ;
}
@media screen and (max-width: 800px) {
    #branding {
        padding: 0px !important;
        max-height:96px;
    }
    #branding #bg_image {
        background-color: #fff;
        filter:opacity(0.5);
        width:850px !important;
    }
    #site-title {
        font-size: 200% !important;
        margin-top: 24px !important;
        margin-left: 100px !important;
    }
    #site-description {
        font-size: 100% !important;
        margin-left: 101px !important;
    }
}
@media screen and (max-width: 650px) {
    #bg_image {
        width: 168% !important;
        filter:opacity(0.3);
    }
    #site-title {
        margin-left: 20px !important;
    }

    #site-description {
        margin-left: 21px !important;
    }
}


#header-container {
    border-bottom: 1px solid #ccc;
    background-color: transparent;
}

#logo img {
    margin-left: 20px;
    margin-top: 14px !important;
    height: 110px;
    width: auto;
}

#site-title {
    margin-left: 150px;
    margin-top: 38px;
    color: #497cab;
}

#site-description {
    margin-left: 155px;
    font-size: 1.2em;
    line-height: 1em;
    color: #333333 ;
}

/* - main horiz menu - */

#access{
    background-color:#DADADA;
}
#access ul ul li a:hover {
    background: #404040 !important;
    color:#EEEEEE;
}
/* - footer - */

#footer2>span {
    display: none !important;
}

#site-copyright {
    font-style: normal !important;
}

.widget-title {
    color: #666666 ;
    border-bottom: 2px solid #bbb ;
    border-radius: 0;
    padding: 0px;
    height: 28px;
    background-color: transparent ;
}





/* -------------------- CONTENT VIEW GRIDS -------------------- */

.pt-cv-wrapper {
    margin-top: 1.5em;
}

.pt-cv-view .pt-cv-ifield {
    border: 1px solid #DADADA;
    padding: 20px;
    border-radius: 5px;
    background-color: #E5E5E5;
    box-shadow: 1px 1px 1px #D0D0D0;
    margin-right: 10px;
}

.pt-cv-view .pt-cv-ifield:hover {
    border-color:#D0D0D0;
    background-color: #DADADA;
    box-shadow: 1px 1px 1px #C8C8C8;
}

a.pt-cv-readmore {
    background-color: #497cab !important;
    border: none !important;
    border-radius: 0px !important;
}

a.pt-cv-readmore:hover {
    background-color: #9a1962 !important;
}

a.pt-cv-href-thumbnail {
    display: block;
    height: 200px;
    overflow: hidden;
}

.pt-cv-thumbnail {
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
}

h4.pt-cv-title {
    height: 55px;
}

div.pt-cv-content {
    height: 150px;
}

a.pt-cv-href-thumbnail {
    background-image: url("img/placeholder.png");
}

/* ------------------- Metaslider ------------------- */

.flexslider .slides{
    border-radius: 5px;
    overflow: hidden;
    -webkit-box-shadow: 1px 1px 2px 1px #AAAAAA;
    -moz-box-shadow: 1px 1px 2px 1px #AAAAAA;
    box-shadow: 0px 1px 2px 1px #AAAAAA;
}

.metaslider .caption-wrap {
    background-color:#555555 !important;
    opacity: 0.6;
}
/* ------------------- My Calendar ------------------- */

.mc-main table {
    box-shadow: 1px 1px 1px #D0D0D0;
    margin-right: 10px;
}
/* ------------------- menu-liens_colonne_droite ------------------- */


#menu-liens_colonne_droite{
    margin-left:0;
}
#menu-liens_colonne_droite a{
    display: block;
    background-color: #749dc2;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    padding-left: 2em;
    text-indent: -0.55em;
    margin-bottom: 4px;
    box-shadow: 1px 1px 1px #D0D0D0;
}

#menu-liens_colonne_droite a:before,
.nah-link-ruche:before {
    font-family: FontAwesome;
    display: inline-block;
    padding-right: 0.6em;
    content: "\f0da";
}

#menu-liens_colonne_droite a:hover {
    background-color: #547da2;
    color: #fff;
}
/* ------------------- end lien-extra ------------------- */

/* ---------- Breadcrumbs (no link to category) ---------- */

.breadcrumbs a{
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: inherit;
  } 

/* -------- end Breadcrumbs (no link to category) -------- */