/* CSS DGAC SIA Charte 2019 */
.cookie-status-message {
    display: none;
}

.cart-item-qty {
    padding: 0 !important;
}

form#purchaseorder-form input[name="agreement[1]"] {
    display: block;
    opacity: 0;
    z-index: -999;
}

div.actions-toolbar:nth-child(5) > div:nth-child(1) > button:nth-child(1) {
    height: auto;
}

.loading-mask {
    display: none;
}
.catalog-product-view .page.messages div .messages .message-success {
	display: none !important;
}

/* surcharge de app/design/frontend/SIA/charte_2019/Magento_Theme/web/css/source/module/_navigation.less */
.level0.submenu.submenu-5.ui-menu.ui-widget.ui-widget-content.ui-corner-all {
	padding: 15px 15px 30px 15px !important;
}
.level0.submenu.submenu-5.ui-menu.ui-widget.ui-widget-content.ui-corner-all li.ui-menu-item {
	display: inline-flex;
	width: 100%;
}
.payment-group .payment-method .payment-method-content {
    margin-bottom: 10px;
}
.hideForNoPrint {

}
.hideForNoPrint tr {
    border: none;
}
.hideForNoPrint tr th {
    height: 0;
    line-height: 0;
    margin: 0;
    padding: 0;
    font-size: 0;
}
.tableau-zones.forPrint {
    margin-top: -5px;
}
.tableau-zones thead tr th:nth-child(1) {
    width: 15%;
}
.tableau-zones thead tr th:nth-child(2) {
    width: 15%;
}
.tableau-zones thead tr th:nth-child(3) {
    width: 15%;
}
.tableau-zones thead tr th:nth-child(4) {
    width: 40%;
}
.tableau-zones thead tr th:nth-child(5) {
    width: 15%;
}
.tableau-zones thead tr th:nth-child(6) {
    width: 15%;
}

/****************************************************
CARTES AZBA
****************************************************/
.azbaprint-thead-date,
.azbaprint-td-date,
.preFooterPager,
.footerPager
{
	display: none;
}

.message-azba {
	position: relative;
    padding: 0 !important;
}

#top-message-container {
    padding: 0;
}

#top-page-message {
    border-bottom: 5px solid #fff;
    overflow: hidden;
    transition: height .2s linear;
    padding: 20px;
}

#toggle-link {
    position: absolute;
    bottom: 5px;
    right: 15px;
    color: #004c98;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1em;
    font-weight: bold;
    display: flex;
}

#toggle-link #open-icon {
    color: #004c98;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1em;
    font-weight: bold;
    transform: rotate(90deg);
}

#toggle-link:hover span:nth-child(2) {
    text-decoration: underline;
    cursor: pointer;
}

#flou-message {
    width: 100%;
    height: 80px;
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    position: absolute;
    left: 0;
    bottom: 0;
    display: none;
}

.bloc-indisponible {
    padding: 60px;
}

.bloc-indisponible p {
    text-align: center;
}

.bloc-indisponible p:nth-child(2) {
     margin-bottom: 5px !important;
 }

.bloc-indisponible p:nth-child(3) a {
    text-decoration: none;
    font-weight: bold;
}

.message-azba p {
	width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

.azbaprint-top-header
{
	display: none;
    justify-content: space-between;
}

.azbaprint-top-header {
    padding: 20px;
    border: solid 1px #ddd;
    height: 120px;
}

.azbaprint-top-header img {
    width: 100px;
}

.azbaprint-top-header-bloc {
    font-size: 10px;
    display: grid;
}

.azbaprint-top-header-title {
	height: auto;
	font-weight: bold;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.azbaprint-top-header-bloc p {
	margin: 0 !important;
}
.azbaprint-top-header-bloc p em {
	color: #0af !important;
}

.azbaprint-warning {
    padding: 10px 50px;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
}

.azbaprint-warning p strong {
	color: #004C98 !important;
}

.printButton {
    position: absolute;
    right: 0;
    top: -40px;
}

.printButton:hover  {
	text-decoration: underline;
}

.zoomLinkFrame {
	width: 100%;
	text-align: right;
    margin-top: 20px;
}

.zoomLink {
	color: #004c98;
	text-decoration: underline;
}

.zoomLink:hover {
	cursor: pointer;
}

.zoomplus {
	z-index: 99;
	position: fixed;
	width: 100%;
	height: calc(100% - 30px);
	top: 30px;
	left: 0;
}

#dezoom {
    display: none;
    z-index: 99;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: #004c98;
    text-align: center;
    line-height: 30px;
}

#dezoomButton {
	color: #fff;
}

#dezoomButton:hover {
	background: #ddd;
	color: #004c98;
	cursor: pointer;
	padding: 5px;
	border-radius: 3px;
}

.boutons-azba {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.message-azba table {
    /*border: 1px solid #dbdbdb;*/
}

.message-azba table tr, .message-azba table tr td {
    padding: 0 0 0 20px;
}

.message-azba table tr {
    border-bottom: solid 5px #f0f4f9;
	height: 30px !important;
    line-height: 35px !important;
}

.message-azba table img {
    max-width: none;
    width: 40px;
    height: 40px;
}

.message-azba table h3 {
    margin: 10px 0 5px;
    color: #004c98;
}

.message-azba table tr:nth-child(1), .message-azba table tr:nth-child(1) td:nth-child(2) {
    height: auto !important;
}

.message-azba table tr:nth-child(2) td {
    /*padding: 0 0 10px 0;*/
    padding: 0;
    margin-bottom: 10px;
}

.message-azba table tr:nth-child(2) td p {
    margin-bottom: 0 !important;
}

.message-azba table:first-child {
    width: 33% !important;
}

.message-azba table:last-child {
    /*width: 66% !important;*/
    border: none;
}

.azba-liste {
    display: block;
    flex-flow: wrap row;
    justify-content: flex-end;
    position: relative;
}

.printButton {
    background: none;
    border: none;
    color: #004c98;
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding-right: 0;
}

.printButton:hover {
    border: none;
    background: none;
    color: #004c98;
}

.printButton:hover span {
    text-decoration: underline;
}

.printButton img {
    margin-left: 10px;
    width: 35px;
    height: 35px;
}

#map-error {
    width: 80%;
    box-sizing: border-box;
    margin: 50px auto;
    padding: 30px;
    text-align: center;
    background-color: rgba(255, 105, 97, 0.20);
    color: #c0392b;
    font-size: 1.2em;
    font-weight: bold;
}

.zones-activees {
    width: 100%;
    box-sizing: border-box;
}

.zones-activees {
    background-color: #f0f4f9;
    padding: 0 20px 20px 20px;
    box-sizing: border-box;
}

.zones-activees h4 {
    color: #ff6961;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

#dates {
    padding-left: 10px;
    border-left: 3px solid #ff6961;
}

#dates div {
    display: flex;
    font-size: 16px;
}

#dates span {
    margin-left: 10px;
    margin-right: 10px;
}

#dates div span:nth-child(2), #dates span:nth-child(4) {
    font-weight: bold;
}

.zones-activees > div {
    margin-bottom: 20px;
}

.tableau-zones th {
    color: #ff6961;
    font-size: 14px;
    padding: 0 10px 0 20px;
}

.tableau-zones tbody tr td:not(.azbaprint-date) {
    padding: 0 20px;
    background-color: #fff;
}

.azbaprint-date {
    background-color: #87aacf;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    padding-top: 10px;
    padding-left: 20px;
}

.azbaprint-date + tr:after {
    content: "";
    position: absolute;
    border-top: solid 2px #ff6961;
    width: 30px;
    left: 20px;
}

.first-column, .middle-column, .last-column {
    /* float: left;border: #000 1px solid; */
    text-align: center;
    padding: 10px;
}
#schedulesTable tr td {
    padding: 10px 10px 0px 10px !important;
}
.fromto {
    display: block;
    min-width: 40px;
    font-weight: normal !important;
}

#publication {
    margin-bottom: 20px;
}

#map-legende {
    padding: 10px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
}

#map-legende .legendes {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

#map-legende .legendes div:first-child {
    width: 30px;
    height: 15px;
    background-color: #94D2FD;
    margin-right: 10px;
}

#map-legende .legendes:first-child div:first-child {
    background-color: rgba(191, 31, 31, 0.3) !important;
    border: 1px solid #af0f0f;
}

#map-legende .legendes:nth-child(2) div:first-child {
    background-color: rgba(223, 63, 63, 0.6) !important;
    border: 1px solid #cf2f2f;
}

#map-legende .legendes:nth-child(3) div:first-child {
    background-color: rgba(52, 152, 219, 0.3) !important;
    border: 1px solid #2488cb;
}

#map-legende .legendes:last-child div:first-child {
    background-color: rgba(84, 184, 251, 0.6) !important;
    border: 1px solid #44a8eb;
}

#map-legende .legendes div:last-child {
    font-size: 13px;
}

/****************************/
/** TABLEAU ZONES ACTIVEES **/
/****************************/

#tableau-zones-activees {
    width: 100%;
    font-size: 1em;
    font-family: Arial, Helvetica, sans-serif;
}

#noms-colonnes {
    display: flex;
    color: #ff6961;
    font-weight: bold;
    box-sizing: border-box;
}

#noms-colonnes div {
    padding: 10px 20px;
    box-sizing: border-box;
}

#noms-colonnes div:first-child {
    width: 20%;
    display: none;
}

#noms-colonnes div:nth-child(2) {
    width: 25%;
}

#noms-colonnes div:nth-child(3) {
    width: 75%;
}

.lignes-dates {
    padding: 2px 20px;
    background-color: #87aacf;
    color: #fff;
    font-weight: bold;
    font-size: 1.1em;
}

.contenu {
    width: 100%;
}

.contenu .lignes-zones {
    width: 100%;
    display: flex;
    margin: 5px 0;
    background-color: #fff;
    position: relative;
}

.contenu .lignes-zones div {
    padding: 2px 20px;
    width: 25%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.contenu .lignes-zones:first-child:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    border: 1px solid #ff6961;
}

.contenu .lignes-zones div:first-child {
    width: 20%;
    display: none;
}

.pageBreakMargin {
    display: none !important;
}

#api-error {
    padding: 20px 20px;
    font-weight: bold;
}

#end-period {
    padding: 20px;
    border: 2px solid #87aacf;
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}

.liCatN1Reglementation {
    border: 1px solid #dbdbdb;
    padding: 15px;
    margin-bottom: 20px;
    text-transform: uppercase;
    display: block;
    position: relative;
}

.liCatN1Reglementation:hover {
    cursor: pointer;
}

.titreN1::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 7px 0 7px;
    border-color: #004c98 transparent transparent transparent;
    position: absolute;
    right: 0;
    top: 5px;
    opacity: .5;
}

.titreN1 {
    font-weight: bold;
    line-height: 20px;
    cursor: pointer;
    background: url(/pub/img/picto-h2.png) 0 2px no-repeat;
    padding: 0 25px 0 35px;
    display: block;
    position: relative;
    color: #004c98;
}

.sousBlockEspaceProFDA {
    margin-top: 20px;
    border-top: solid 1px #666;
}

@media screen and (max-width: 600px) {
    .contenu .lignes-zones div {
        font-size: 10px;
    }

    #dates div {
        font-size: 12px;
    }

    #dates div .fromto {
        min-width: auto;
    }

    #noms-colonnes div {
        font-size: 11px;
        display: flex;
        align-items: center;
    }

    .zones-activees div h4 {
        font-size: 14px;
        padding-top: 20px;
        margin-top: 0;
    }

    #map-legende {
        flex-flow: row wrap;
    }

    #map-legende .legendes:not(:last-child) {
        margin-bottom: 5px;
    }

    #printf {
        height: 400px;
    }
}

/**************************************************************************************/
@media print {
	* {
		/*color: black !important;*/
	}

    @page  {
        margin: 1cm;
        size: A4;
    }

    .columns, .column.main {
        padding-bottom: 0 !important;
    }

    .pageBreak {
        /*page-break-after: always;*/
        border-bottom: 1px solid #000 !important;
    }

    .pageBreakMargin {
        page-break-before: always;
        margin-top: 35mm !important;
        display: flex !important;
    }

    body {
        padding-top: 35mm;
        padding-bottom: 20mm;
    }

    .azbaprint-top-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        box-sizing: border-box;
    }

    #map-legende .legendes:first-child div:first-child {
        background-color: rgba(191, 31, 31, 0.3) !important;
        border: 1px solid #af0f0f;
    }

    #map-legende .legendes:nth-child(2) div:first-child {
        background-color: rgba(223, 63, 63, 0.6) !important;
        border: 1px solid #cf2f2f;
    }

    #map-legende .legendes:nth-child(3) div:first-child {
        background-color: rgba(52, 152, 219, 0.3) !important;
        border: 1px solid #2488cb;
    }

    #map-legende .legendes:last-child div:first-child {
        background-color: rgba(84, 184, 251, 0.6) !important;
        border: 1px solid #44a8eb;
    }

    #map-legende .legendes div:first-child {
        color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    #printf {
        color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    #print-footer {
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
        margin-bottom: 0;
    }

    .zones-activees h4 {
        font-size: 14px;
    }

    #api-error p {
        font-size: 12px;
    }

    #noms-colonnes div {
        color: #ff6961 !important;
    }

    .lignes-dates {
        display: none;
    }

    .contenu .lignes-zones {
        border: 1px solid #000;
        border-bottom: none;
        margin: 0;
    }

    .contenu:last-child .lignes-zones:last-child {
        border-bottom: 1px solid #000;
    }

    .contenu .lignes-zones div {
        display: block !important;
        width: 20%;
        box-sizing: border-box;
    }

    #noms-colonnes div:first-child {
        width: 20%;
        display: block !important;
    }

    #noms-colonnes div:nth-child(2) {
        width: 20%;
    }

    #noms-colonnes div:nth-child(3) {
        width: 60%;
    }

	.page-header,
	.nav-sections-items,
	.printButton,
	.page-footer,
	.message-azba table,
	.page-title-wrapper,
	.azbaprint-date,
	.printButton,
    .breadcrumbs,
    .zoomLink
	{
		display: none !important;
	}

    #top-page-message {
        height: auto !important;
        display: none;
    }

    #toggle-link {
        display: none;
    }

	.azbaprint-warning,
	.azbaprint-thead-date,
	.azbaprint-td-date,
    .tableau-zones,
    #tableauZone
	{
		display: block !important;
	}

    .azbaprint-top-header {
        display: flex !important;
    }

    .page-layout-info-aero-sia main.page-main .box-content-sia {
	    box-shadow: none;
	    border: none;
	    padding: 0;
        margin-top: 20px;
	}

	.zones-activees h4 {
		color: #ff6961 !important;
	}

	#dates {
	    padding-left: 10px;
	    border-left: 3px solid #ff6961;
	}

    .message-azba table tr:nth-child(2) td {
        margin-bottom: 0;
    }

    .azba-liste {
        display: block;
        page-break-before: always;
        padding-top: 25mm !important;
    }

    .preFooterPager {
        display: flex;
        border-bottom: solid 1px #ccc;
    }
    .preFooterPager .url {
        width: 50%;
        text-align: left;
        font-size: 10px;
    }
    .preFooterPager .date-hour {
        width: 50%;
        text-align: right;
        font-size: 10px;
    }
    .preFooterPager.after {
        margin-top: 60px;
    }
    .footerPager {
        display: flex;
        margin-top: 5px;
    }
    .footerPager .pager {
        width: 50%;
        text-align: left;
        margin-top: 15px;
    }
    .footerPager .logoFooter {
        width: 100%;
        text-align: right;
        box-sizing: border-box;
    }

    .footerPager .logoFooter img {
        width: 60px;
    }

    .azbaprint-top-header.page-2 {
        margin-top: 20px;
    }

    .hideForNoPrint tr th {
        line-height: 12px;
        padding: 8px 10px 8px 20px;
    }
}
