body { 
  font-family: 'Montserrat', sans-serif;
  color: #000;
}
img {
  max-width: 100%;
}
ol, ul, dl {
  margin: 0 auto;
  padding-left: 15px;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.5;
  font-weight: 300;
  color: inherit;
}
button,
button:hover,
button:active,
button:focus,
.btn,
.btn:hover,
.btn:active,
.btn:focus,
a,
a:hover,
a:active,
a:focus {
  outline: 0!important;
  box-shadow: none!important;
  text-decoration: none;
}
:hover {
  -webkit-transition: all .3s ease-in;
  -moz-transition: all .3s ease-in;
  -ms-transition: all .3s ease-in;
  -o-transition: all .3s ease-in;
  transition: all .3s ease-in;
}
::-moz-selection { /* Code for Firefox */
  color: white;
  background: rgba(246, 186, 201, 0.8);
}

::selection {
  color: white;
  background: rgba(246, 186, 201, 0.8);
}

/* ANIMAZIONI */
@-webkit-keyframes focus-in-expand {
  0% {
    letter-spacing: -0.5em;
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
@keyframes focus-in-expand {
  0% {
    letter-spacing: -0.5em;
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
.focus-in-expand {
  -webkit-animation: focus-in-expand 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
          animation: focus-in-expand 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
@keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}

.text-focus-in {
  -webkit-animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
          animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fade-in {
  -webkit-animation: fade-in 1.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
          animation: fade-in 1.5s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

/* TIPOGRAFIA */
strong {
  font-weight: 700!important;
}
h1,h2,h3 {
  margin-bottom: 0;
}
h1 {
  font-size: 40px;
  line-height: 1.2;
}
h1 span {
  font-size: 60px;
}
h2 {
  font-size: 35px;
  line-height: 1.2;
}
h3 {
  font-size: 25px;
  font-weight: 300;
}
h4 {
  font-size: 22px;
}
p {
  font-size: 20px;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.3;
  font-weight: 300;
  margin-bottom: 0;
}
.font-weight-normal p,
p.font-weight-normal{
  font-weight: 500!important;
}
.big {
  font-size: 160%;
}
h2.big {
  font-size: 40px;
}
.small p,
p.small {
  font-size: 16px;
}
.p-mb-3 p {
  margin-bottom: 1rem;
}

.btn-primary{
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 300;
  border-radius: 50px;
  -webkit-border-radius: 50px;
  background: rgb(215, 93, 130);
  color: rgb(255, 255, 255);
  padding: 15px 4.5rem;
  white-space: normal;
  display: inline-block;
  text-transform: uppercase;
}
.btn-primary.bordered {
  border: 1px solid rgb(255, 255, 255);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  text-decoration: none;
  background: rgb(66, 66, 66)!important;
}
 

/* BUTTON SCROLL UP */
.scrollup {
  cursor: pointer;
  width: 40px;
  height: 40px;
  opacity: 1;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  text-indent: -9999px;
  background: url(../images/scroll-top-arrow.png) no-repeat center;
  z-index: 10;
}

/* BASE PER LO STILE DEI FORM */

.help-ok{}
.help-ok i {
  margin-left: 10px;
}
form {}
form .help-block {
  margin-top: -15px;
  font-size: 14px;
  margin-bottom: 10px;
  color: rgb(246, 186, 201);
  line-height: 1.2;
}
#contact-form-top .help-block,
#contact-form-top.help-ok {
  background: rgba(246, 186, 201, 0.8);
  color: rgb(255, 255, 255);
  padding: 7px 10px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}
form #error_privacy_listino.help-block,
form #error_privacy.help-block,
form #error_privacy_top.help-block {
  margin-top: 10px;
  margin-bottom: 0;
}
.form-control::-webkit-input-placeholder {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: rgb(0, 0, 0);
  opacity: 1;
}

.form-control::-moz-placeholder {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: rgb(0, 0, 0);
  opacity: 1;
}

.form-control:-ms-input-placeholder {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: rgb(0, 0, 0);
  opacity: 1;
}

.form-control::-ms-input-placeholder {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: rgb(0, 0, 0);
  opacity: 1;
}

.form-control::placeholder {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: rgb(0, 0, 0);
  opacity: 1;
}
.form-control,
select.form-control {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 300;
  border: 0;
  background: rgb(255, 255, 255);
  -webkit-border-radius: 10px;
  border-radius: 10px;
  margin-bottom: 25px;
  padding: .68rem 0.8rem;
  color: rgb(0, 0, 0);
}

select.form-control,
select.form-control:not([size]):not([multiple]) {
  background: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  height: 47.75px;
  -webkit-appearance: none;
  -moz-appearance: none;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}

.form-control:focus {
  color: rgb(0, 0, 0);
  background-color: rgb(255, 255, 255);
  border-color: rgb(246, 186, 201);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(246, 186, 201, 0.9);
}

.form-check {
  padding-left: 0;
}
.form-group {
  margin-bottom: 10px;
}
form .label {
  font-size: 16px;
}
#contact-form .label,
#contact-form-listino .label {
  color: rgb(255, 255, 255);
  font-weight: 300;
}
#contact-form .label a,
#contact-form-top .label a {
  color: rgb(246, 186, 201);
}
#contact-form .label a:hover,
#contact-form .label a:active,
#contact-form .label a:focus,
#contact-form-top .label a:hover,
#contact-form-top .label a:active,
#contact-form-top .label a:focus{
  color: rgb(255, 255, 255);
  text-decoration: none;
  border-color: rgb(255, 255, 255);
}

form .label a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
form .label a:hover,
form .label a:active,
form .label a:focus {
  color: rgb(255, 255, 255);
  text-decoration: none;
  border-color: rgb(255, 255, 255);
}

form .btn-primary {
  cursor: pointer;
}

/* FINE STILE DEI FORM */

/* BASE PER LO STILE DEI CHECK */
.type-check label:before{
  -webkit-transition: all 250ms ease;
  transition: all 250ms ease;
}

.type-check [type="checkbox"]:not(:checked),
.type-check [type="checkbox"]:checked,
.type-check [type="radio"]:not(:checked),
.type-check [type="radio"]:checked {
  position: absolute;
  left: -9999px;
}
[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label,
[type="radio"]:not(:checked) + label,
[type="radio"]:checked + label {
  position: relative;
  padding-left: 20px;
  cursor: pointer;
}

/* checkbox no check */
.type-check [type="checkbox"]:not(:checked) + label:before,
.type-check [type="radio"]:not(:checked) + label:before{
  content: '';
  position: absolute;
  left: 0; 
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  border: 1px solid rgb(255, 255, 255);
  background: rgb(255, 255, 255);
}

#contact-form-top .type-check [type="checkbox"]:not(:checked) + label:before,
#contact-form-top .type-check [type="radio"]:not(:checked) + label:before{
  border-color: rgb(255, 255, 255);
  background: transparent;
}

#contact-form-listino .type-check [type="checkbox"]:not(:checked) + label:before,
#contact-form-listino .type-check [type="radio"]:not(:checked) + label:before{
  border-color: rgb(255, 255, 255);
  background: transparent;
}

/* checkbox check */
.type-check [type="checkbox"]:checked + label:before,
.type-check [type="radio"]:checked + label:before {
  content: '';
  position: absolute;
  left: 0; 
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  /*border: 1px solid rgb(255, 255, 255);*/
  background: rgba(246, 186, 201, 1);
  box-shadow: none
}
#contact-form-top .type-check [type="checkbox"]:checked + label:before,
#contact-form-top .type-check [type="radio"]:checked + label:before {
  background: rgb(66, 66, 66);
}
/* disabled checkbox */
.type-check [type="checkbox"]:disabled:not(:checked) + label:before,
.type-check [type="checkbox"]:disabled:checked + label:before,
.type-check [type="radio"]:disabled:not(:checked) + label:before,
.type-check [type="radio"]:disabled:checked + label:before {
  box-shadow: none;
  border-color: #ddd;
  background-color: #ddd;
}
.type-check [type="checkbox"]:disabled:checked + label:after,
.type-check [type="radio"]:disabled:checked + label:after {
  color: #999;
}
.type-check [type="checkbox"]:disabled + label,
.type-check [type="radio"]:disabled + label  {
  color: #aaa;
}

/* checkbox check */
.type-check [type="checkbox"]:checked + label.lbl_filter:before,
.type-check [type="radio"]:checked + label.lbl_filter:before {
  background: rgb(215, 93, 130);
}
/* FINE STILE CHECK */
.text-blue {
  color: rgb(0, 43, 106);
}
.text-blue a {
  position: relative;
  color: inherit;
  text-decoration: none;
}
.text-blue a:before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -3px;
  background: rgb(0, 43, 106);
  display: inline-block;
}
.text-blue a:after {
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  content: '';
  display: block;
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -3px;
  background: rgb(0, 174, 231);
  display: inline-block;
}
.text-blue a:hover:after, .text-blue a:active:after, .text-blue a:focus:after {
  width: 100%;
}
.text-light-blue {
  color: rgb(0, 127, 180);
}
.text-celeste {
  color: rgb(0, 174, 231);
}
.text-black {
  color: rgb(57, 57, 57);
}
.text-orange {
  color: rgb(236, 103, 7);
}
.text-pink {
  color: rgb(228, 87, 128);
}

header {
  color: rgb(255, 255, 255);
}
header a {
  color: inherit;
}
p.logo {
  margin-top: -30px;
  margin-left: 70px;
}
.header-principale {
  background: url('../images/testata.jpg') no-repeat center;
  background-size: cover;
}

/*TESTATA */
.blue-gradient {
  background: -moz-linear-gradient( 47deg, rgb(0,127,180) 0%, rgb(0,177,235) 99%);
  background: -webkit-linear-gradient( 47deg, rgb(0,127,180) 0%, rgb(0,177,235) 99%);
  background: -ms-linear-gradient( 47deg, rgb(0,127,180) 0%, rgb(0,177,235) 99%);
  background: linear-gradient( 47deg, rgb(0,127,180) 0%, rgb(0,177,235) 99%);
}
.beige {
  background: rgb(248, 248, 248);
}
.beige.border-image {   
  position: relative;
  margin-bottom: 12px;
}
.beige.border-image::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: url('../images/decor-big.png') no-repeat center;
  background-size: cover;
}
.grey {
  background: rgb(66, 66, 66);
}
.grey.border-image {   
  position: relative;
  margin-top: 12px;
}
.grey.border-image::after {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: url('../images/decor-big.png') no-repeat center;
  background-size: cover;
  z-index: -1;
}
.blue {
  background: rgb(0, 102, 145);
}
.light-blue{
  background: rgb(0, 127, 180);
}
.orange {
  background: rgb(236, 103, 7);
}
.pink {
  background: rgb(215, 93, 130);
}
.pink.o-5 {
  background: rgba(215, 93, 130, 0.7);
}
.bg1 {
  background: #f18c9d;
}
.bg2 {
  background: #d8757d;
}
.bg3 {
  background: #e97ea4;
}
.bg4 {
  background: #e45780;
}
.bg5 {
  background: #9f436d;
}
.bg6 {
  background: #ed6b61;
}
.bg7 {
  background: #f49a2d;
}
.bg8 {
  background: #dc763e;
}
.bg9 {
  background: #f49c6a;
}
.bg10 {
  background: #ea4f53;
}
.bg11 {
  background: #f6bac9;
}
.bg12 {
  background: #e6007e;
}
.bg13 {
  background: #d75d82;
}
.bg14 {
  background: #ee7866;
}
.bg15 {
  background: #9d5152;
}


.color1 {
  color: #f18c9d;
}
.color2 {
  color: #d8757d;
}
.color3 {
  color: #e97ea4;
}
.color4 {
  color: #e45780;
}
.color5 {
  color: #9f436d;
}
.color6 {
  color: #ed6b61;
}
.color7 {
  color: #f49a2d;
}
.color8 {
  color: #dc763e;
}
.color9 {
  color: #f49c6a;
}
.color10 {
  color: #ea4f53;
}
.color11 {
  color: #f6bac9;
}
.color12 {
  color: #e6007e;
}
.color13 {
  color: #d75d82;
}
.color14 {
  color: #ee7866;
}
.color15 {
  color: #9d5152;
}


.border-t-blue {
  border-top: 1px solid rgb(0, 127, 180);
}
.border-grey {
  border: 1px solid rgb(210, 210, 210);
}
.border-grey.border-image {   
  position: relative;
}
.border-grey.border-image::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: -1px;
  right: -1px;
  height: 9px;
  background: url('../images/decor-small.png') no-repeat center;
  background-size: cover;
}
img.shadow {
  -webkit-box-shadow: 0 0 5px 0 rgba(44,44,44,0.43) !important;
  -moz-box-shadow: 0 0 5px 0 rgba(44,44,44,0.43) !important;
  box-shadow: 0 0 5px 0 rgba(44,44,44,0.43) !important;
}

.elenco-corsi {}
.box-corsi {
  width: 100%;
  height: 100%;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  overflow-x: hidden;
}
.descrizione-corso {
  position: relative;
  padding: 2rem 1rem 1.5rem 1rem;
}
.numero {
  position: absolute;
  top: -2rem;
 /* background: rgb(215, 93, 130);*/
  border: 2px solid rgb(255, 255, 255);
  -webkit-border-radius: 50%;
  border-radius: 50%;
  width: 58px;
  height: 58px;
  text-align: center!important;
  padding-top: 14px;
  color: rgb(255, 255, 255);
  font-size: 20px;
}


/* FOOTER */
footer {
  padding: 50px 0;
  color: rgb(0, 0, 0);
} 
footer p {
  font-size: 13px;
}
footer a, footer a:hover, footer a:active, footer a:focus {
  font-size: 16px;
  color: rgb(18, 49, 116);
  text-decoration: none;
  position: relative;
}
footer a:before {
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  content: '';
  display: block;
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  background: rgb(18, 49, 116);
  display: inline-block;
}
footer a:hover:before, footer a:active:before, footer a:focus:before {
  width: 100%;
}

footer .social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  font-size: 18px;
  color: rgb(255, 255, 255)!important;
  background: rgb(18, 49, 116);
  text-decoration: none;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}
footer .social a:before {
  display: none;
}
footer .social a:hover, footer .social a:active, footer .social a:focus {
  background: rgb(215, 93, 130);
}
/*footer .social a i {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}*/





