/*Custom styles*/
.imgfloatleft {
    float: left;
    margin-right: 10px;
}

.imgfloatright {
    float: right;
    margin-left: 10px;
}

.padding-left-null {
    padding-left: 0;
}

.royaume-du-maroc {
    overflow: hidden;
    margin-bottom: 1rem;
}

.royaume-du-maroc p {
    float: left;
    font-size: 0.8rem;
    text-align: center;
}

.margin-top-0 {
    margin-top: 0 !important;
}

.subsection .views-widget {
    position: relative;
}

.view .item-list {
    overflow: hidden;
}

.view .item-list ul.pager {
    margin-bottom: 2em;
}

.pager li {
    padding: 0 !important;
    margin-left: 0 !important;
    display: inline-block !important;
}

.pager li.pager-current {
    padding: 0.4em 0.8em !important;
    background: #4ea8d5;
    color: white;
}
@media only screen and (max-width: 767px) {
    .pager li.pager-next,
    .pager li.pager-previous,
    .pager li.pager-last,
    .pager li.pager-first {
        display: block !important;
        padding: .4em 0 !important;
    } 
    .header-navbar {
        position: relative;
        z-index: 3;
    } 

    #block-mm-card-block-count-card {
        position: relative;
        z-index: 2;
    }  
}

.pager li a {
    padding: 0.5em 0.8em;
    font-size: 1.1em;
}

.view-header .page-header {
    margin-top: 3em;
}

/* SINGLE ARTICLE */
#article-background {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

#article-background .gradient,
#article-background {
    width: 100%;
    height: 600px;
    display: block;
    position: relative;
}

#article-background .gradient:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgb(101, 190, 233));
    opacity: .6;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

#article-background .background-image img {
    width: 100%;
    height: auto;
    position: relative;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

#article-background .article-header-info {
    position: absolute;
    bottom: 200px;
}

#article-background .article-header-info .published-date,
#article-background .article-header-info .page-title {
    color: #f8cd23;
}

#article-background .article-header-info .page-title {
    margin-bottom: 5px;
}

#article-background .article-header-info .published-date {
    margin-bottom: 15px;
}

#article-background .article-header-info .page-subtitle {
    font-weight: 500;
    color: #ffffff;
}

.lead .field-item img {
    margin-left: 30px;
    margin-top: 45px;
    margin-bottom: 15px;
}

.lead .field-item > p:first-child::first-letter {
    font-size: 300%;
    color: #f8cd23;
}

.node-article.single main .container {
    padding-bottom: 100px;
}

#article-background .published-date i {
    float: left;
    margin-right: 5px;
    margin-top: 3px;
}

#article-background .published-date {
    overflow: hidden;
}

#article-background .published-date .field-type-datetime {
    float: left;
}

/* SECTORS */
#secteurs .sectors-list-item:hover {
    background: #fff;
}

#secteurs .sectors-list-item:hover .sectors-list-item-title {
    color: #4ea8d5;
}

#secteurs {
    margin-top: 40px;
}

#secteurs .sector-icon img {
    width: 3em;
    height: auto;
}

#secteurs .sector-icon {
    margin-top: 1em;
    margin-bottom: 0.5em;
}

#secteurs .sectors-list-item {
    min-height: 180px;
}

.page-title {
    text-transform: uppercase;
}

.margin-bot-20 {
    margin-bottom: 20px;
}

/*   Modal DMN User Login   */
.modal-dmn-user-login .modal-header .close:hover {
    cursor: pointer;
}

.modal-dmn-user-login .modal-title {
    line-height: 40px;
    font-size: 30px;
}

.modal-dmn-user-login .modal-content {
    padding-top: 0;
    padding-bottom: 10px;
}

.modal-dmn-user-login #user-login-form .form-submit {
    margin-bottom: 0;
    width: 100%;
    text-align: center;
    font-weight: bold;
}

.modal-dmn-user-login #user-login-form .form-submit:focus,
.modal-dmn-user-login #user-login-form .form-submit:hover {
    background: rgba(78, 168, 213, 0.5)!important;
}

.modal-dmn-user-login #user-login-form input[type=text],
.modal-dmn-user-login #user-login-form input[type=password] {
    margin-bottom: 20px;
}

.modal-dmn-user-login #user-login-form input.error {
    border-color: #8c2e0b;
}

.modal-dmn-user-login #user-login-form label.error {
    position: absolute;
    margin-top: -20px;
}

.page-node .field-name-body .field-item,
.page-node .field-name-body .field-item p {
    /* text-align: justify; */
    letter-spacing: 1px;
}

.page-node .field-name-body .field-item h2 {
    text-transform: uppercase;
    color: #4ea8d5;
}

.page-node .node-page .field-name-body .field-item,
.page-node .node-secteur .field-name-body .field-item,
.page-node .node-glossaire .field-name-body .field-item,
.page-node .node-page p,
.page-node .node-glossaire p,
.page-node .node-secteur p {
    font-size: 20px;
    line-height: 28px;
}

.page-node .node-page .page-title,
.page-node .node-glossaire .page-title,
.page-node .node-secteur .page-title {
    margin-bottom: 15px;
    font-size:1.125 em;
	font-size:18px;
    font-weight: 700;
    color: #4ea8d5;
	font-family:Arial;
	
}

.page-node .node-page,
.page-node .node-secteur,
.page-node .node-glossaire {
    margin-bottom: 50px;
}

/*  Search Form in nav bar */
#block-views-exp-main-search-page {
    position: relative;
}

.search-form {
    height: 37px;
    padding-bottom: 0;
    margin-bottom: 0;
    overflow: hidden;
}

.search-form .form-item-search {
    display: inline-block;
    width: 250px;
    vertical-align: middle;
    border-top: 1px solid #4ea8d5;
    border-bottom: 1px solid #4ea8d5;
}

.search-form .form-item-search input[type=text] {
    height: 35px;
    border: none;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
}

.btn.btn-search-collapsible,
.search-form .btn-submit {
    display: inline-block;
    float: right;
    line-height: 17px;
    height: 37px;
    padding: 0;
    width: 41px;
    margin-bottom: 0;
    border: none;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    background-color: #3d6081;
}

.search-form .btn-submit:hover {
    opacity: 0.8;
}

/*  Collapsible things  */
.search-form-container {
    text-align: right;
    position: absolute;
    width: 300px;
    overflow: hidden;
    right: 41px;
    top: 0;
    z-index: 9;
    transition: all .3s ease-in-out;
}

.search-form-container .search-input-group {
    width: 300px;
    height: 37px;
    overflow: hidden
}

.search-form-container .btn {
    border: 0;
    background: transparent;
    font-size: 18px;
}

.search-form-container #hide-search-input-container {
    color: #fff;
    position: absolute;
    left: 9px;
    background-color: #3d6081;
    display: inline-block;
    line-height: 19px;
    margin-bottom: 0;
    border: none;
    height: 37px;
    padding: 0;
    width: 41px;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
}

.search-form-container #hide-search-input-container:hover {
    opacity: 0.8;
}

.search-form-container.hdn {
     width: 0;
}

.search-input-group {
    width: 300px;
}

/*  Search Result   */
.page-search #block-system-main {
    margin-bottom: 40px;
}

.page-search .page-title {
    width: 100%;
    font-size: 3.28571rem;
    font-weight: 700;
    color: #4ea8d5;
    padding-top: 50px;
    margin-bottom: 0;
}

.node-search-result {
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
    width: 100%;
}

.node-search-result .article-title {
    width: 100%;
    color: #4ea8d5;
    font-weight: 700;
    margin-bottom: 1rem;
}

.node-search-result .field-name-body {
    /*font-size: 1.14286rem;*/
    font-size: 20px;
    line-height: 28px;
}

.node-search-result .field-name-body p {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 14px;
}

.node-search-result .read-more {
    position: absolute;
    right: 0;
    bottom: 0;
    font-weight: bold;
    font-size: 20px;
}

.view-main-search .view-content .row>.node-search-result:first-child {
    padding-top: 0;
}

.view-main-search .view-content .row>.node-search-result:last-child {
    padding-bottom: 0;
}

.city-weather-short-main .city-name {
    text-transform: uppercase;
    font-size: 21px;
}

.weather-city-by-hours-weather-state,
.weather-days-tabs-weather-state {
    font-size: 0.9rem;
}

@media only screen and (max-width: 1200px) {

}

@media only screen and (max-width: 991px) {
    #block-views-exp-main-search-page {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;;
    }

    .search-form .search-form-container.hdn {
        width: 100%;
    }

    .search-form {
        width: 100%;
        position: relative;
    }

    .search-form-container {
        position: relative;
        right: auto;
        width: 100%;
    }

    .search-form-container .search-input-group {
        width: 100%;
    }

    .search-form-container #hide-search-input-container {
        display: none;
    }

    .search-form .form-item-search input[type=text] {
        height: 37px;
    }

    .search-form .form-item-search {
        width: 100%;
    }

    .search-form .btn-submit {
        top: 0;
        right: 0;
        z-index: 10;
        position: absolute;
    }
}


/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {
    #article-background .gradient,
    #article-background {
        height: 400px;
    }

    .node-article .lead .field-item img {
        width: 100%;
        height: auto;
    }

    #article-background .article-header-info {
        bottom: 100px;
    }

}

.node-demande-de-devis .field-type-text,
.node-demande-de-devis .field-type-email,
.node-demande-de-devis .field-type-text-long {
    background: #fff;
    box-shadow: 0 0 12px #ddd;
    border-radius: 5px;
    padding: 2rem;
    margin-bottom: 2rem;
    font-size: 16px;
}
.node-demande-de-devis .field-type-text .field-label,
.node-demande-de-devis .field-type-email  .field-label,
.node-demande-de-devis .field-type-text-long  .field-label {
    font-size: 1.2em;
    margin-bottom: 1rem;
}

.wi-degrees:before {
    position: absolute;
    margin-top: -3px;
}

@media screen and (max-width: 767px) {
    .tab-content-weather #tab-pane-3 .weathercustommapwrapper {
        padding-top: 70px;
        top: -78px;
    }
    .weathercustommapwrapper {
        margin: 0;
    }
    .weather-forecast{
        z-index: 9999;
        position: relative;
    }
}