/*
Theme Name: Gillion Child
Description: Child theme for Gillion theme for AMPA Ramiro de Maeztu 
Author: Alfredo Heranz Pinto
Author URI: https://rootsystems.es
Template: gillion
*/

/* Add your custom CSS below */

/********************************MODIFICACIONES ALFREDO*************************/
.header-logo img {
    max-height: 60px;
}
.home #wrapper > .sh-page-layout-default {
    padding: 0 0px 60px 0;
}
#menu-item-10 a:before {
    font-family: fontawesome;
    content: "\f2a0";
    font-size: 18px;
    margin-right: 10px;
}
#menu-item-11 a:before {
    font-family: fontawesome;
    content: "\f2b6";
    font-size: 18px;
    margin-right: 10px;
}
.sh-header .sh-nav > .current_page_item > a, .sh-header .sh-nav > .current-menu-ancestor > a {
    color: #072146 !important;
}
.header-social-media:not(:only-child) {
    border-right: initial; 
    margin-right: 0px;
    padding-right: 0px;
    float: right;
    margin-top: 2px;
}
.header-social-media:not(:only-child) a{
    border-radius: 0px;
}
.header-social-media:not(:only-child) a:hover {
    background: #ff6600;
    color: #FFFFFF !important;
    border: 1px solid #FFFFFF;
}
.ult-new-ib.ult-ib-effect-style1.ult-ib-resp {
    border-radius: 8px;
}
.ult-new-ib-desc{
    background: #333333;
    min-height: 15% !important;
    text-align: center !important;
    padding: 20px !important;
}
.ult-new-ib-desc h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
}

.ult-new-ib-desc h3:after {
    height: 1px;
    background: #FFFFFF !important;
    content: " ";
    margin: 10px 0 10px 0;
    display: block;
    width: 0%;
    white-space: nowrap;
    overflow: hidden;
}
.ult-new-ib:hover .ult-new-ib-desc h3:after {
    width: 100%;
    -webkit-transition: width 2s, height 4s; /* For Safari 3.1 to 6.0 */
    transition: width 2s, height 4s;
}
.ult-ib-effect-style1 .ult-new-ib-title{
    -webkit-transform: none !important; 
    transform: none !important;  
    -webkit-transition-delay: .02s !important; 
    transition-delay: .02s !important; 
    -webkit-transition-duration: .20s !important; 
    transition-duration: .20s !important; 
}
.post-overlay {
    z-index: 2;
}
.sh-login-popup-tabs a[data-target="#divi"]{
    display: none;
}
.variations label {
    color: initial;
}
.sh-footer-widgets {
    padding: 100px 0 0px 0;
}
a.linkfooter {
    display: block;
    margin-top: 30px;
}
a.linkfooter.footertfno:before {
    font-family: fontawesome;
    content: "\f2a0";
    font-size: 18px;
    margin-right: 10px;
}
a.linkfooter.footermail:before {
    font-family: fontawesome;
    content: "\f2b6";
    font-size: 18px;
    margin-right: 10px;
}
.rrssfooter i:before{
  font-size: 40px;
}
a.twitterfooter i:before {
  margin-left: 10px;
}
a.twitterfooter i:hover:before {
  color:#40A1F2;
}
a.fbfooter i:hover:before {
  color:#4267B2;
}
.col-md-12.rrssfooter {
    margin-top: 15px;
}
#contactofooter input, #contactofooter textarea{
  border-radius: 0px;
}
#contactofooter textarea {
    overflow-y: auto;
    min-height: 140px;
}
#contactofooter .col-md-6, #contactofooter .col-md-12, #contactofooter .col-md-3,#contactofooter .col-md-9{
  padding-left: 5px;
  padding-right: 5px;
}
#contactofooter span.wpcf7-list-item {
    margin: 0;
}
#contactofooter input.wpcf7-form-control.wpcf7-submit {
    float: right;
}
#contactofooter .lopd, #contactofooter  p{
  color: #FFFFFF !important;
}
#contactofooter input.wpcf7-form-control.wpcf7-submit{
  background-color: #ff6600 !important;
  border: 1px solid #ff6600;
}
#contactofooter input.wpcf7-form-control.wpcf7-submit:hover{
  color: #ff6600!important;
  background-color: transparent !important;
}
.sh-copyrights {
    padding: 0px 10px 40px 10px;
}
.linkfancybox{
  color: #ff6600 !important;
}
.header-standard-position i.icon.icon-user {
    font-size: 20px;
    padding-top: 8px;
}
.btn-ceiprm{
  color: #FFFFFF;
  background: #072146;
  border: 1px solid #072146;
  padding: 15px 30px;
  display: inline-block;
}
.btn-ceiprm:hover{
  color: #072146;
  background: transparent;
  border: 1px solid #072146;
}
.btn-ceiprm-inverso{
  color: #FFFFFF;
  background: #ff6600;
  border: 1px solid #ff6600;
  padding: 15px 30px;
  display: inline-block;
}
.btn-ceiprm-inverso:hover{
  color: #ff6600;
  background: transparent;
  border: 1px solid #ff6600;
}
.sh-nav ul.mega-menu-row li.mega-menu-col {
    padding: 0 0 10px 0;
}
#menu-menu-principal .menu-item-has-children.mega-menu-col>a {
    background: #072146 !important;
    color: #FFFFFF !important;
    padding: 10px 24px;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.variations select{
    width: auto !important;
    min-width: 33% !important;
 }
 .additional_information_tab{
  display: none !important;
 }
 .gillion-woocommerce #content:not(.page-content) ul.products li.product {
    width: 16.66%;
    clear: initial;
}
/*.post-type-archive-product a.button.product_type_variable {
    display: none !important;
}*/
.wccpf-fields-container table, .wccpf-fields-container table td, .wccpf-fields-container table th {
    border: initial !important;
}
.summary .wccpf_label, .summary .wccpf_value, .single_variation_wrap label{
    width: 100% !important;
    display: table;
    padding: .2em .6em .3em;
}
.summary table.wccpf_fields_table td.wccpf_label label{
   width:100% !important;
}
.summary td.wccpf_value {
    max-width: 300px !important;
    float: left;
}
.summary label, .variations label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700 !important;
    color: #616161 !important;
    font-size: 14px !important;
}
.summary select{
    padding: 12px 20px !important;
    border-radius: 8px !important;
}
.summary .wccpf-fields-container {
    margin-bottom: 30px;
}
a.sh-login-popup {
    background: #004481;
    border: 1px solid #004481;
    color: #FFFFFF;
}
.gillion-woocommerce ul.products li.product {
    min-height: 290px;
}
.fa, .far, .fas {
    font-family: "FontAwesome" !important;
}
.single-post .vc_column_container {
    display: contents;
}
.woocommerce-checkout #place_order{
 margin-top: 30px;
}
.woocommerce-checkout #redsys_payment_form .cancel {
    padding: 18px 30px !important;
    margin: 0 10px;
    display: inline;
}
#submit_redsys_payment_form, .woocommerce-checkout #redsys_payment_form .cancel{
    background: #072146;
    border: 1px solid #072146;
    padding: 15px 30px;
    color: #FFFFFF;
    border-radius: 0px !important;
}
#submit_redsys_payment_form:hover, .woocommerce-checkout #redsys_payment_form .cancel:hover{
    background: #ff6600;
    color: #FFFFFF;
    border: 1px solid #ff6600;
}
p.recordarpass {
    margin-top: 30px;
}
.sh-login-popup-tabs {
    padding: 0px 10px;
}
.sh-login-popup-content {
    padding-top: 10px;
}
p.recordarpass a {
    font-size: 12px;
    font-weight: 600;
    color: #8d8d8d;
}
.header-mobile-social-media a.sh-login-popup {
    color: inherit;
}
.cart-mobile-rm{
 display: none;
}
/***************************CSS FORMULARIOS****************************/
.nota {
    border: 1px solid #e3e3e3;
    padding: 20px 40px;
    background: #f9f9f9;
}
#autorizacionrecogida .flotante, #autorizacionrecogida .rowpadres span, #rowdatosautorizados .flotante, #aceptacionesyenvio .flotante, #altasocio .flotante{
    display: inline-block;
    margin-right: 5px;
    margin-left: 5px;
    margin-bottom: 15px;
    padding: 12px 18px;
}
#autorizacionrecogida span.flotante, #autorizacionrecogida .flotantedcha, #altasocio .flotantedcha {
    margin-top: 14px;
}
#autorizacionrecogida .nombreautorizado, #autorizacionrecogida .nombremenor{
    max-width: 300px;
}
#autorizacionrecogida .numeromenores {
    max-width: 50px;
    padding: 10px;
}
#autorizacionrecogida .dni{
    max-width: 150px;
}
#autorizacionrecogida .nombremenor{
margin-left: 0 !important;
}
.rowfechaactual {
    width: 100%;
    clear: both;
    display: inline-block;
    text-align: right;
}
.fechaactualjs{
    width: 105px !important;
    clear: both;
}
#autorizacionrecogida .enviar, #altasocio .enviar{
    width: 100%;
    margin-top: 30px;
}
#autorizacionrecogida #aceptacionesyenvio .enviar input, #altasocio .enviar input {
    border-radius: 0px !important;
}
#autorizacionrecogida span.wpcf7-not-valid-tip, #altasocio span.wpcf7-not-valid-tip {
    display: none !important;
}
#autorizacionrecogida .wpcf7-not-valid, #altasocio .wpcf7-not-valid {
    border-color: rgba(255,128,128,162);
}
#autorizacionrecogida .wpcf7-not-valid.wpcf7-acceptance, #altasocio .wpcf7-not-valid.wpcf7-acceptance {
    background-color: rgba(255,128,128,162);
}
.datosautorizados {
    display: inline-block;
}
#altasocio .wpcf7-form-control-wrap {
    display: inline-block;
}
.rowform {
    margin: 15px 0;
    display: inline-block;
}

.campo100porc {
    width: 99% !important;
    float: left;
    margin: 0 5px;
}
.campo100porc span{
    width: 100% !important;
}
.campo60porc {
    width: 59% !important;
    float: left;
    margin: 0 5px;
}
.campo50porc {
    width: 49% !important;
    float: left;
    margin: 0 5px;
}
.campo50porc span{
    width: 100% !important;
}
.campo30porc {
    width: 32% !important;
    float: left;
    margin: 0 7px;
}
.campo20porc {
    width: 19% !important;
    float: left;
    margin: 0 5px;
}
.campo25porc {
    width: 24% !important;
    float: left;
    margin: 0 5px;
}
.page-id-382 table, .page-id-382 table td {
    border: none !important;
}
.calendariocurso{
    display: inline-block !important;
    width: 100% !important;
}
.calendariocurso, .calendarioreuniones, .calendarioexhibiciones {
    display:none;
    width: 33%;    
    text-align: center;
}
.calendariocurso a:hover, .calendarioreuniones a:hover, .calendarioexhibiciones a:hover {
    background: #ff6600;
    border: 1px solid #ff6600;
}
.calendariocurso a, .calendarioreuniones a, .calendarioexhibiciones a{
    color: #FFFFFF;
    background: #072146;
    margin: 15px 0;
    padding: 15px 0;
    border: 1px solid #072146;
    display: block;
}
.product-tag-container {
    display: none !important;
}
.sh-header-top {
    background: #072146;
}

.sh-back-to-top {
    bottom: 80px;
    right: 20px;
}

@media (max-width: 1058px) {
  .campo50porc {
      width: 48% !important;
  }
}

@media (max-width: 767px) {
  .campo50porc {
      width: 100% !important;
      margin: 5px 0 !important;
  }
  .campo100porc {
      margin:5px  0  !important;
  }
  .campo30porc {
    width: 100% !important;
    float: left;
    margin: 5px 0 ;
  }
  .campo60porc {
    width: 100% !important;
    margin: 5px 0;
  }
}
/***********************************************RESPONSIVE*********************************************/
@media (max-width: 1300px) {
  .sh-table-cell.sh-header-meta-container {
      padding-right: 30px;
  }
  .sh-header-top-meta {
     padding-right: 30px;
 }
}
@media (max-width: 1250px) {
    .tlfonfooter, .mailfooter{
      width: 100% !important;
    }
    .footermail{
     margin-top: 0px !important;
    }
    .sh-nav li.menu-item {
     padding: 0 6px;
   }
   .sh-nav > li.menu-item > a {
     font-size: 11px;
   }
}
@media (max-width: 1025px) {
    img.sh-standard-logo {
        max-height: 125px !important;
    }
    header.primary-mobile {
        max-height: 200px;
    }
    .cart-mobile-rm {
        list-style: none;
        margin-right: 30px;
        height: 155px;
        vertical-align: middle !important;
        padding: 40px 0;
        display: table-cell;
        vertical-align: middle;
        float: none!important;
    }
    ul.cart-mobile-rm .sh-header-cart-count > span {
       position: relative;
   }
   ul.cart-mobile-rm i.icon-bag {
       font-size: 24px;
   }
   ul.cart-mobile-rm span.sh-header-cart-count.cart-icon.sh-group {
       position: absolute;
       margin-top: -35px !important;
   }
}
@media (max-width: 991px) {
    img.logofooter {
        max-width: 100px;
        width: 100%;
        margin-bottom: 30px;
    }
}
@media (max-width: 767px) {
   .ult-new-ib {
       margin: 15px 20px !important;
   }
}
@media (max-width: 600px) {
    img.sh-standard-logo {
        max-height: 100px !important;
    }
    header.primary-mobile {
        max-height: 100px;
    }
}
@media (max-width: 500px) {
    img.sh-standard-logo {
        max-height: 70px !important;
    }
    div#contactofooter .wpcf7-submit {
     width: 100%;
    }
}