/**
 *
 *          ..::..
 *     ..::::::::::::..
 *   ::'''''':''::'''''::
 *   ::..  ..:  :  ....::
 *   ::::  :::  :  :   ::
 *   ::::  :::  :  ''' ::
 *   ::::..:::..::.....::
 *     ''::::::::::::''
 *          ''::''
 *
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Creative Commons License.
 * It is available through the world-wide-web at this URL:
 * http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
 * If you are unable to obtain it through the world-wide-web, please send an email
 * to servicedesk@tig.nl so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade this module to newer
 * versions in the future. If you wish to customize this module for your
 * needs please contact servicedesk@tig.nl for more information.
 *
 * @copyright   Copyright (c) Total Internet Group B.V. https://tig.nl/copyright
 * @license     http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
 */

/* =================================================================================================================== *
*
* SupportTab - Default styling
*
* =================================================================================================================== */

#section { float: left; width: 100%; clear: both; }
#supporttab #section { border-bottom: 1px solid #cccccc; }
#supporttab #section:last-child { border-bottom: none; }

/* Default styling collapsible tabs */
.collapse-title[aria-expanded=true] h3:before {
    font-family:'Admin Icons';
    content: '\e615';

}
.collapse-title h3:before {
    font-family:'Admin Icons';
    font-weight: lighter;
    content: '\e616';
    padding-right: 10px;
    -webkit-font-smoothing: antialiased;
}

.collapse-content {
    box-sizing: border-box;
    padding:0 15px 15px 15px;
    height:auto !important;
    float:left; width: 100%;
}

#supporttab h3 {
    font-size: 1.7rem;
    margin:0 !important;
    padding:1.9rem 2.7rem 1.9rem 1rem;
    color: black;
    font-weight: 600;
    cursor: pointer;
}

#supporttab h4 {
    font-size: 1.1em;
    margin:20px 0 5px 0;
    padding:0;
    color: rgba(0,136,204,1);
}

#supporttab p {
    line-height: 2em;
}

#supporttab ol, ul {
    margin-left: 20px;
    position :relative;
}

#supporttab ul li {
    line-height: 2em;
    list-style-type: none;
    margin-bottom: 10px;
}

.postnl-config-page .section-config {
    box-sizing:border-box;
    padding-left: 20px;
    position: relative;
}

.tig_postnl-section input,
.tig_postnl-section select {
    border-radius: 4px !important;
    padding-left: 10px !important;
}
.tig_postnl-section select:not([multiple]) {
    background-image: url(../images/arrows-bg.svg),
    linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)),
    linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)) !important;
}

.tig_postnl-general-section,
.tig_postnl-postnl-section {
    margin-top: 100px !important;
}

.tig_postnl-general-section:before {
    content: 'Basic';
    position: absolute;
    left: 0;
    color: #3440b6;
    top: -44px;
    font-weight: 600;
    font-size: 18px;
}

.tig_postnl-general-section:after {
    content: '';
    position: absolute;
    left: 60px;
    right: 0;
    border: 1px solid #ed8c00;
    top: -28px;
}

.tig_postnl-postnl-section:before {
    content: 'Extra';
    position: absolute;
    left: 0;
    color: #3440b6;
    top: -44px;
    font-weight: 600;
    font-size: 18px;
}

.tig_postnl-postnl-section:after {
    content: '';
    position: absolute;
    left: 60px;
    right: 0;
    border: 1px solid #ed8c00;
    top: -28px;
}

.section-config.tig_postnl-general-section.modus_live {
    border: 1px solid #49AB43 !important;
    background: #e9ffe7;
}

.section-config.tig_postnl-general-section.modus_test {
    border: 1px solid #ffc107 !important;
    background: #fffcf1;
}

.section-config.tig_postnl-general-section.modus_off {
    border: 1px solid #343fb6 !important;
    background: #eff0ff;
}

.tig-admin-col-set.modus_live {
    background: #e9ffe7 !important;
}

.tig-admin-col-set.modus_test {
    background: #fffcf1 !important;
}

.tig-admin-col-set.modus_off {
    background: #eff0ff !important;
}

/* SupportTab - Legend ============================================================================================== */

#block {
    margin-bottom: 30px;
    float: left;
    width: 100%;
    clear: both;
}

.block-legend h3 {
    cursor: auto !important;
}

.block-legend {
    padding: 10px;
    float:left;
    width:100%;
}

@media screen and (min-width: 1200px){
    .block-legend {
        float:left;
        width: 50%;
    }
}

.disabled span.text,
.live span.text,
.test span.text {
    margin-right: 15px;
    font-weight: 600;
}

.disabled{
    border-left: 5px solid #343fb6;
    padding-left: 10px;
}

.live {
    border-left: 5px solid #49AB43;
    padding-left: 10px;
}

.test {
    border-left: 5px solid #FFC107;
    padding-left: 10px;
}

.advanced span.img {
    display:block;
    float:left;
    margin-top: 2px; margin-right:10px;
    border: 6px solid;
    border-color: transparent transparent transparent #ff2e31;
    width:0;
    height:0;
}

/* SupportTab - 3rd Party | Version compatibility =================================================================== */

.block-version h3 {
    cursor: auto !important;
}

.block-version {
    padding:10px;
    float:left;
    width: calc(100% - 20px);
    box-sizing: border-box;
}


@media screen and (min-width: 1200px){
    .block-version {
        float:left;
        width: 45%;
    }
}
#supporttab .version-compatibility {
    float:left;
    width: calc(100% - 30px);
    clear:both;
}
#supporttab .version-compatibility li {
    clear: both;
    margin-bottom: 15px;
    float:left;
    width: 100%;
}
#supporttab .version-compatibility  span.text {
    font-weight: 600;
    float:left;
    width: calc(50% - 20px);
}
#supporttab .version-compatibility  span.version {
    float:left;
    width: calc(50% - 30px);
    text-align:right;
    margin-left: 10px;
}

/* SupportTab - Quick guide ========================================================================================= */

#supporttab ol {
    margin-left: 40px;
}

#supporttab ol li {
    list-style-type: upper-roman;
    line-height: 2em;
}

#supporttab ol li ol {
    margin-bottom: 10px;
}

#supporttab ol li ol li {
    list-style-type: lower-alpha;
}

/* SupportTab - Support ============================================================================================= */

.support-postnl-tig ul {
    float:left;
    width:100%;
    clear:both;
}

.support-postnl-tig li.first {
    font-weight :600;
    width: 300px;
}
.support-postnl-tig li.last {
    width: 200px;
}

.support-postnl-tig li.first,
.support-postnl-tig li.last {
    line-height: normal;
    float:left;
}

.support-postnl-tig .block_contact svg { height: 16px; position: absolute; top: 5px; }
.support-postnl-tig .block_contact span { margin-left:26px; }

/* SupportTab - Documentation ======================================================================================= */

.external_link {
    margin-left: 5px;
    vertical-align: middle;
}

/* =================================================================================================================== *
*
* TIG PostNL Magento 2 Extension
*
* =================================================================================================================== */

/* Identity - Left Menu ====================================================================== */

.postnl-section .admin__page-nav-link:before {
    float:left;
    width: 50px;
    height: 37px;
    content: ' ';
    background-image: url(../images/postnl_logo_50.png) !important;
    background-position: 0 2px;
    background-repeat: no-repeat;
    background-size: auto 33px;
    margin-top: -10px;
}

.postnl-section .admin__page-nav-link {
    padding: 2rem 1rem 2rem 1rem;
}

.postnl-section .admin__page-nav-link:after {
    float:right;
    width: 30px;
    height: 30px;
    margin-top:-7px;
    margin-right: 3px;

    background-image: url(../images/TIG_Logo.svg) !important;
    background-size: 30px !important;
    background-repeat:no-repeat;
    content: ' ';
}

/* Identity - Toolbar =============================================================================================== */

.postnl-config-page .page-main-actions .page-actions .page-actions-inner:before {
    background-image: url(../images/postnl_logo_50.png) !important;
    background-repeat: no-repeat;
    content: ' ';
    width: 50px;
    float: left;
    height: 30px;
    margin-top: 8px;
    background-size: auto 29px;
}

.postnl-config-page .page-main-actions .page-actions:not(._fixed) .page-actions-inner:before {
    margin-left: 80px;
}

.postnl-config-page .page-main-actions .page-actions .page-actions-inner:after {
    background-image: url(../images/TIG_Logo.svg) !important;
    background-repeat: no-repeat;
    content: ' ';
    width: 50px;
    float: left;
    height: 30px;
    margin-top: 8px;
    background-size: auto 29px;
}

/* Shipment Methods ================================================================================================= */

#carriers_tig_postnl-head:after  {
    background-image: url(../images/postnl_logo.png) !important;
    background-repeat: no-repeat;
    text-indent: 70px;
    content: ' ';
    float: left;
    height: 40px;
    background-size: auto 35px;
    width: 50px;
    margin-top:-5px;
}

#carriers_tig_postnl-head {
    background-image: url(../images/TIG_Logo.svg);
    background-repeat: no-repeat;
    background-size: 35px;
    background-position: calc(100% - 50px) 15px;
}


h4#carriers_tig_postnl_import_export_header {
    margin-left: 33%;
    color: #303030;
    font-size: 12px;
    width: 40%;
    font-weight: normal;
    padding: 1rem 1.5rem 0 0;
}

/* Specific Select element fix ====================================================================================== */

#tig_postnl_productoptions_supported_options option { white-space: normal; }
#tig_postnl_productoptions_supported_options option:before { content: ''; }

/* TIG Admin 2 Columns col-set ====================================================================================== */

.tig-admin-col-set.box {
    box-sizing:border-box;
}

.tig-admin-col-set {
    float:left;
    width:100%;
}

.tig-admin-col-set .col {
    float:left;
    width: 50%;
    padding: 20px;
}

/* Config layout overwrites ========================================================================================= */

.section-config.tig_postnl-section,
.section-config.tig_postnl-section:last-child {
    margin-bottom: 20px;
    border: 1px solid #e3e3e3 !important;
    border-radius: 8px;
    padding: 0 20px  !important;
}

.section-config.tig_postnl-sub-section,
.section-config.tig_postnl-sub-sub-section {
    border-radius: 8px;
    border: 1px solid #e3e3e3 !important;
    width: calc(100% - 20px);
    margin-top: 20px;
    margin-bottom: 0;
    margin-left: 0;
}

.section-config.tig_postnl-sub-sub-sub-section {
    border-radius: 8px;
    border: 1px solid #e3e3e3 !important;
    width: calc(100% - 20px);
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 0;
}

.section-config.tig_postnl-sub-sub-section.active fieldset {
    padding-bottom: 2.6rem !important;
}

.tig_postnl-sub-section.active {
    padding-bottom: 30px !important;
}

.tig_postnl-sub-sub-section .active,
.tig_postnl-sub-sub-section .open {
    padding-bottom: 30px !important;
}


.international-address-validation-message .success, .international-address-validation-message .error {
    display: none;
}
