/*
Theme Name: IMIGO
Description: Istituto Maria Immacolata
Author: Andrea Mantegazza
Author URI: www.andreamantegazza.it
Version: 1.0
*/

/* Ok, this is where the fun starts.
-------------------------------------------------------------------------------*/

:root {
    --color-red: #E30421;
    
    --size-title: 1.4vw;
    --size-subtitle: 1vw;
    --size-copy: 0.8vw;
    
}

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700);

html{
    overflow-y: auto;
    border-top: 3px solid var(--color-red);
}

body {
    font-size: var(--size-copy);
    font-family: Open Sans, Helmet, Freesans, sans-serif;
}

/* Using local fonts? Check out Font Squirrel's webfont generator: http://www.fontsquirrel.com/tools/webfont-generator */

/* We like off-black for text. */
body, select, input, textarea {color: #000;}

a {color: var(--color-red);}
a:hover {color: var(--color-red);}

/* Custom text-selection colors (remove any text shadows: http://twitter.com/miketaylr/status/12228805301) */
::-moz-selection{background: var(--color-red); color: #fff; text-shadow: none;}
::selection {background: var(--color-red); color: #fff; text-shadow: none;}


/*	j.mp/webkit-tap-highlight-color */
a:link {-webkit-tap-highlight-color: rgba(255, 255, 255, 0);}

ins {background-color: #fcd700; color: #000; text-decoration: none;}
mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: bold;}

/* Mozilla dosen't style place holders by default */
input:-moz-placeholder { color:#a9a9a9; }
textarea:-moz-placeholder { color:#a9a9a9; }

/******/

h1{font-size: 45px;}
h2{font-size: 20px;}
h3{font-size: 18px;}

p{
    margin-top: 8px;
    font-size: 15px;
}

/**/

input[type=submit]{
    background-color: var(--color-red);
    border: none;
    color: white;
    height: 30px;
    width: 60px;
    padding: 10px;
    line-height: 10px;
}
input{
    height: 30px;
}

.button-red-empty {
    border: 2px solid var(--color-red);
    padding: 10px 20px;
    display: inline;
    font-weight: bold;
    color: var(--color-red);
}

/* And here begins the WordPress fun.
-------------------------------------------------------------------------------*/


.menu-item-2182{
    display: none;
}

/* Titolo e motto
--------------------------------------------------*/
.contentStyle {
    max-width: initial !important;
    text-align: center;
    color: #fff !important;
}
.consentText{
    float: none;
}
.italybtn{
    margin: 0px 0px 0px 20px !important;
    color: #fff;
    font-weight: bold;
}
.italybtn:hover{
    color: #000;
}



#cookieChoiceInfo {
    padding: 20px !important;
    background-color: #e6232b !important;
}



/* end COOKIE */

#wrapper {width: 100%; margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Titolo e motto */
/**************************************************/
#header{
    display: none;
}

/* Logo */
#main-logo img{
    height: 65px; /*80*/
    width: auto;
    position: absolute;
    top: 20px;
    left: 5%;
}


*/
#nav .menu-firstmenu-container li {
    border-bottom: 2px solid transparent;
/*    -moz-transition: all 0.1s ease-in;*/
/*    -webkit-transition: all 0.1s ease-in;*/
/*    -o-transition: all 0.1s ease-in;*/
/*    transition: all 0.1s ease-in;*/
}
#nav .menu-firstmenu-container li:hover {
    border-bottom: 2px solid var(--color-red);
}




/* MENU */
/**************************************************/
#nav .menu-firstmenu-container ul { float: right; }
#nav .menu-firstmenu-container li {
    float: left;
    padding-left: 25px;
    padding-right: 25px;
    height: 60px;
    z-index: 999;
}
#nav .menu-firstmenu-container li:last-child {
    padding-right: 25px;
}
#nav .menu-firstmenu-container li a{
    color: #454545;
    text-decoration: none;
    height: 60px;
    vertical-align: center;
    line-height: 80px;
    font-weight: 600;
}

#nav{
    height: 60px;
    width: 100%;
    background-color:  rgba(255, 255, 255, 0.9);
}

#nav .menu-firstmenu-container{
    height: 60px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
//    background-color: #FFF;
}





/****************************************************************************/


/* Secondary */
.menu-menusecondario-container ul, aside ul{
    text-align: left;
}
.menu-menusecondario-container li, aside li {
    list-style: none; 
}

.menu-menusecondario-container li, aside li{
    height: 40px;
}


.menu-menusecondario-container li a, aside li a{
    color: #454545;
    text-decoration: none;
    text-transform: uppercase;
    
    height: 40px;
    vertical-align: middle;
    line-height: 40px;
}

#nav2{
    height: 65px;
    width: 100%;
    background-color: #FFF;
    margin-top: 350px;
    border-top: 5px solid var(--color-red);
}

#nav2 .menu-menusecondario-container{
    height: 60px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: #FFF;
}


.menu-menusecondario-container li, aside li {
    border-bottom: 0px solid transparent;
    -moz-transition: all 0.1s ease-in;
    -webkit-transition: all 0.1s ease-in;
    -o-transition: all 0.1s ease-in;
    transition: all 0.1s ease-in;
}
.menu-menusecondario-container li:hover, aside li:hover{
    border-bottom: 4px solid #a3a3a3;
}

/* Current menu */
.current-page-ancestor a{
    border-bottom-width: 4px !important;
}

.current-menu-parent {
    border-bottom-width: 4px !important;
}

.current-menu-item {
    border-bottom-width: 4px !important;
}

.not-home{
//   display: none;
}

/* secondary submenu */
.menu-menusecondario-container ul ul, aside ul ul{
	display: none;
}

.menu-menusecondario-container ul li:hover > ul {
//  background: #999;
    display: block;
    position: absolute;
    min-width: 300px;
}


.menu-menusecondario-container ul ul li, aside ul ul li{
    background-color: rgba(255, 255, 255, 0.95);
    float: none !important;
    height: 50px !important;
    line-height: 50px !important;
    padding-left: 20px;
}
.menu-menusecondario-container ul ul li a, aside ul ul li a{
    color: #454545;
    padding:0px;
    height: 50px !important;
    line-height: 50px !important;
}	



/* Fascia colorata */
#page-title{
    width: 100%;
    height: 60px;
    background-color: #e6232b;
}
#page-title h2{
    color: white;
    text-transform: uppercase;
    line-height: 60px;
    margin-left: 5%;
}
 

/* LIST STYLE */
article ul{
    list-style-position:inside;
    list-style-type:disc;
    font-size: 15px;
/*    margin-left: 15px;*/
}
article ol{
    list-style-position:inside;
    font-size: 15px;
    margin-left: 15px;
}
.home article ul, .lcp_catlist{list-style:none !important;}












/* TABLES MENU
--------------------------*/

/*
.page-id-240 .entry p{padding: 8px;color: #FFF; font-weight: 800;}
.page-id-240 .entry p a{color: #FFF; text-decoration: none; font-weight: 800;}
.page-id-240 .entry p:nth-child(1){background-color: #009bc7;}
.page-id-240 .entry p:nth-child(2){background-color: #45b062;}
.page-id-240 .entry p:nth-child(3){background-color: #478fbf;}
.page-id-240 .entry p:nth-child(4){background-color: #b5cc00;}
.page-id-240 .entry p:nth-child(5){background-color: #ecc100;}
.page-id-240 .entry p:nth-child(6){background-color: #2eb7bf;}
.page-id-240 .entry p:nth-child(7){background-color: #ea4b67;}
.page-id-240 .entry p:nth-child(8){background-color: #6a4394;}
.page-id-240 .entry p:nth-child(9){background-color: #0093b5;}
.page-id-240 .entry p:nth-child(10){background-color: #ef7301;}
*/
.page-id-240 .entry p{padding: 10px 0 0 5px;color: #777; font-weight: 800;max-width: 500px;}
.page-id-240 .entry p a{color: #777; text-decoration: none; font-weight: 800;}
.page-id-240 .entry p:nth-child(1){border-bottom: 4px solid #009bc7;}
.page-id-240 .entry p:nth-child(2){border-bottom: 4px solid #45b062;}
.page-id-240 .entry p:nth-child(3){border-bottom: 4px solid #478fbf;}
.page-id-240 .entry p:nth-child(4){border-bottom: 4px solid #b5cc00;}
.page-id-240 .entry p:nth-child(5){border-bottom: 4px solid #ecc100;}
.page-id-240 .entry p:nth-child(6){border-bottom: 4px solid #2eb7bf;}
.page-id-240 .entry p:nth-child(7){border-bottom: 4px solid #ea4b67;}
.page-id-240 .entry p:nth-child(8){border-bottom: 4px solid #6a4394;}
.page-id-240 .entry p:nth-child(9){border-bottom: 4px solid #0093b5;}
.page-id-240 .entry p:nth-child(10){border-bottom: 4px solid #ef7301;}

.page-id-242 .entry p{padding: 10px 0 0 5px;color: #777; font-weight: 800;max-width: 500px;}
.page-id-242 .entry p a{color: #777; text-decoration: none; font-weight: 800;}
.page-id-242 .entry p:nth-child(1){border-bottom: 4px solid #009bc7;}
.page-id-242 .entry p:nth-child(2){border-bottom: 4px solid #45b062;}
.page-id-242 .entry p:nth-child(3){border-bottom: 4px solid #478fbf;}
.page-id-242 .entry p:nth-child(4){border-bottom: 4px solid #b5cc00;}





/* HOME
********************************************************************/
.intro-slider .single-slide {
    height: 10vw;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
}
.intro-slider .single-slide.fullscreen {
    background-size: cover;
}
.intro-slider .single-slide .didascalia {
    background-color: #E30421;
    display: block;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    font-size: var(--size-title);
    font-weight: bold;
    text-align: center;
}
.intro-slider .single-slide.text {
    background-color: #E30421;
    color: #fff;
    font-size: 2vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.intro-slider .single-slide.text .content-wrapper {
    padding: 30px;
}
.intro-slider .single-slide.text .content-wrapper p {
    font-size: 1.8vw;
    line-height: 1.1em;
    margin-bottom: 0.8em;
    font-weight: 700;
}
.intro-slider .single-slide {
    height: 28vw;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.entry .content-wrapper {
    display: flex;
    flex-direction: row;
    padding-top: 10px;
}
.entry .content-wrapper .news-wrapper {
    width: 75%;
    padding-right: 10px;
}
.entry .content-wrapper .news-wrapper .news-heading {
    background-color: #E30421;
    display: block;
    margin-bottom: 10px;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    font-size: var(--size-title);
    font-weight: bold;
}
.entry .content-wrapper .news-wrapper .news-column .single-news {
    padding-bottom: 10px;
    display: flex;
    flex-direction: row;
}
.entry .content-wrapper .news-wrapper .news-column .single-news .thumbnail-wrapper {
    height: 3vw;
    width: 3vw;
    background-position: center;
    background-size: cover;
    float: left;
}
.entry .content-wrapper .news-wrapper .news-column .single-news .news-title {
    padding-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.entry .content-wrapper .news-wrapper .news-column .single-news .news-title a {
    text-decoration: none;
}
.entry .content-wrapper .news-wrapper .news-column .single-news .news-title a .title {
    text-decoration: none;
    color: var(--color-red);
    font-size: var(--size-subtitle);
    font-weight: 600;
}

.entry .content-wrapper .sidebar-home {
    width: 25%;
}
.entry .content-wrapper .sidebar-home a {
    background-color: #E30421;
    display: block;
    margin-bottom: 10px;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    font-size: var(--size-title);
}
.entry .content-wrapper .sidebar-home .box-button {
    font-weight: bold;
}







/* POPUP EXTRA */
/**************************************************/
#popup-home {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
    z-index: 999;
}
#popup-home img {
    height: 60vh;
    margin-top: 20vh;
    border: 1px solid #000;
}






/* Page Content */
/**************************************************/
.home .page-container{
    width: 90%;
  margin-left: auto;
  margin-right: auto;
    margin-bottom: 20px;
}
.page-container{
    width: 90%;
  margin-left: auto;
  margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}


/* titles */
.page-container h2{
	margin-bottom: 0px;
	margin-top: 10px;
}
.page-container h2{
	margin-top: 5px;
	text-align: left;
	font-weight: 100;
}


/* Article */
article{
    width: 75%;
//    margin-left: auto;
//    margin-right: auto;
    float: left;
    
//    border-right: 2px solid rgba(2, 134, 207, 0.5);
    margin-right: -1px;
    padding-right: 10px;
}


.page-template-default .page-container .entry li{
    margin-top: 10px;
}

article img{
    height: auto;
}


/* News */




ul.list li .news-title,
ul.list li .excerpt{
    float: left;
    padding-left: 10px;
    line-height: 50px;
}
ul.list li a:hover{
    text-decoration: underline;
}

ul.list li{
    margin-top: 5px;
}


/*
.home .page-container .entry li a:last-child{
    font-weight: bold;
    color: #2b2b2b;
}
*/



/* End News */












/* VIRTUAL TOUR */

a.virtualtour {
    color: #fff;
    text-decoration: none;
}
.banner-virtualtour {
    margin-top: 10px;
    background-color: #e6232b;
    color: #fff;
    text-align: center;
    font-size: 2vw;
    font-family: 'Open Sans';
    font-weight: bold;
    padding: 5px 10px;
}

















/* PAGE VIRTUAL TOUR
*****************************************************/
.page-template-page-virtual iframe {
    width: 100%;
    height: 42vw;
}












/* extra content
*****************************************************/
#iscrizioni-mobile{
    display: none;
}

.extra-badge img{
    margin-left: -1px;
}
/******/

aside{
    width: 25%;
    float: left;
//    padding-left: 10px;
    text-align: left;
}

aside .menu-menusecondario-container ul {
    text-align: left;
}

.clearafter:after{
    display: block;
    content: '';
    clear: both;
}

article:after{
    clear: both;
}
.page-container:after{
    clear: both;
}
aside:after{
    clear: both;
}

/*
article h2{
    border-bottom: 2px solid rgb(227, 39, 50);
}
*/




/* SIDEBAR */

#sidebar h2{
    border-bottom: 2px solid rgb(227, 39, 50);
}
#sidebar{
    margin-left: 0px !important;
    padding-right: 15px;
}

/***** vecchia griglia gallery *****/

#listcategorypostswidget-4 ul li a:first-child{
    display: none !important;
}

#listcategorypostswidget-4 ul li:nth-child(odd){
    float:right;
    margin-left: 14px;
}
#listcategorypostswidget-4 ul li{
    margin-bottom: 10px;
}

#listcategorypostswidget-4 ul li img{
    width: 56px;
    height: auto;
}
#listcategorypostswidget-4 h2{
    text-align: right;
    border-bottom: 2px solid rgb(227, 39, 50);
}


/* FOOTER */
/**************************************************/
footer{
    width: 100%;
    text-align: right;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    background-color: #fff;
    color: #000;
    padding-bottom: 20px;
    box-shadow: 0px 0px 10px 0px #bababa;
}


.widget-footer{
    font-family: Open Sans;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    
}

.textwidget i {
    font-size: 22px;
    margin-top: calc(1em - 10px);
    padding: 0 5px;
}


.footer-top{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}





.footer-col-1-5{
    float:left;
    text-align:left;
    width:25%;
}
.footer-col-2-5{
    float:left;
    text-align:left;
    width:20%;
}
.footer-col-3-5{
    float:left;
    text-align:left;
    width:15%;
}
.footer-col-4-5{
    float:left;
    text-align:left;
    width:8%;
}
.footer-col-privacy{
    float:left;
    text-align:left;
    width:12%;
}
.footer-col-5-5{
    float:left;
    text-align:right;
    width:20%;
}


.certificazione{
    height: 40px;
    width: auto;
    margin-top: 14px;
}
.logo-footer{
    height: 2vw;
    width: auto;
    margin-top: 14px;
}

footer a{
    text-decoration: none;
    color: inherit;
}
/* Social Icons
--------------------------------------------------*/
.social-icons:before{
//    margin-left: 0px !important;
//    margin-right: 0px !important;
//    font-size: 30px !important;
//    padding: 10px;
//    margin-bottom: 20px;
}

#social-fb-link:before{
    -moz-transition: all 0.15s ease-in;
    -webkit-transition: all 0.15s ease-in;
    -o-transition: all 0.15s ease-in;
    transition: all 0.15s ease-in;
}

#social-fb-link:first-child:before{
    margin: 0px;
}

#social-fb-link:hover:before{
    color: #3b5998;
}
#social-tw-link:before{
    -moz-transition: all 0.15s ease-in;
    -webkit-transition: all 0.15s ease-in;
    -o-transition: all 0.15s ease-in;
    transition: all 0.15s ease-in;
}
#social-tw-link:hover:before{
    color: #55acee;
}
#social-yt-link:before{
    -moz-transition: all 0.15s ease-in;
    -webkit-transition: all 0.15s ease-in;
    -o-transition: all 0.15s ease-in;
    transition: all 0.15s ease-in;
}
#social-yt-link:hover:before{
    color: #cc181e;
}
#social-wp-link:before{
    -moz-transition: all 0.15s ease-in;
    -webkit-transition: all 0.15s ease-in;
    -o-transition: all 0.15s ease-in;
    transition: all 0.15s ease-in;
}
#social-wp-link:hover:before{
    color: #D2DFDF;
}

.footer-col-2-5 [class^="flaticon-"]:before, .footer-col-2-5 [class*=" flaticon-"]:before, .footer-col-2-5 [class^="flaticon-"]:after, .footer-col-2-5 [class*=" flaticon-"]:after{
    margin-left: 0px !important;
}
.footer-col-2-5 i{
    margin-right: 10px;
}
/*
[class^="flaticon-"]:before, [class*=" flaticon-"]:before, [class^="flaticon-"]:after, [class*=" flaticon-"]:after{
    margin: 0px !important;
}
*/



/*****  gallery *****/
.spider_popup_wrap {
    background-color: rgba(0, 0, 0, 0.70) !important;
}

.fa-remove::before, .fa-close::before, .fa-times::before {
    font-size: 25px !important;
}
.bwg_title_spun2_0 {
    color: #FFFFFF !important;
}
.bwg_title_spun1_0 {
    background-color: rgba(0, 0, 0, 0.5);
}

/* #menu-gallery li{margin-bottom: 10px;} */
/*
.infanzia{background-color: #1F9C30; padding-left: 10px;}
.primaria{background-color: #FCC800; padding-left: 10px;}
.media{background-color: #004D9C; padding-left: 10px;}
.liceo{background-color: #F28E00; padding-left: 10px;}
.istituto{background-color: #E6232B; padding-left: 10px;}
*/
.infanzia:hover{background-color: #1F9C30; padding-left: 10px; border-bottom: 0px transparent;}
.infanzia:hover a{color: #fff;}
.primaria:hover{background-color: #FCC800; padding-left: 10px; border-bottom: 0px transparent;}
.primaria:hover a{color: #000;}
.media:hover{background-color: #004D9C; padding-left: 10px; border-bottom: 0px transparent;}
.media:hover a{color: #fff;}
.liceo:hover{background-color: #F28E00; padding-left: 10px; border-bottom: 0px transparent;}
.liceo:hover a{color: #fff;}
.istituto:hover{background-color: #E6232B; padding-left: 10px; border-bottom: 0px transparent;}
.istituto:hover a{color: #fff;}



/* STD PAGE
-------------------------------------------------------------------------------*/
#nav2{
    height: 65px;
    width: 100%;
    background-color: #FFF;
    margin-top: 350px;
    border-top: 5px solid var(--color-red);
}

.std-page-menu{
    margin-top: 75px!important;
    height: 5px !important;
}

.std-page-menu .menu-menusecondario-container{
    display: none;
}

/* link pag standard */
article a{
    text-decoration: none;
    color: var(--color-red);
}
article a:hover{
    color: var(--color-red);
}




/* ORIENTAMENTO - OPEN DAY EXTRA
-------------------------------------------------------------------------------*/
/*
.page-template-page-openday h2{
    text-align: center;
}
.page-template-page-openday article{
    width: 100%;
    text-align: center;
}
.page-template-page-openday article .wpcf7-submit{
    margin-left: 16px;
}
.page-template-page-openday article input{
    margin:10px;
    width: auto;
}

.page-template-page-orientamento .page-container{
    width: 100%;
}
.page-template-page-orientamento article{
    width: 100%;
    padding: 0px;
}

.page-template-page-orientamento h1{
    color: #E6232B;
}
.page-template-page-orientamento h2{
    color: #E6232B;
    border: none;
    font-size: 26px;
    font-weight: bold;
}

.openday-title-container{
    background-color: #E6232B;
    text-align: center;
    width: 100%;
    height: 200px;
    margin-top: 25px;
    color: #FFF;
    padding-top: 52px;
    
}
.openday-title{
    font-size: 50px;
    font-weight: bold;
    line-height: 45px;
}
.openday-title span{
    font-size: 30px;
    font-weight: 100;
}

.div-date{
    color: #888;
}

.div-date p{
    line-height: 16px;
    font-size: 20px;
}

.openday{
    background-color: #f4b40c;
    color: #fff !important;
    
    -webkit-transition: all 0.25s;
   -moz-transition: all 0.25s;
   -o-transition: all 0.25s;
   -ms-transition: all 0.25s;
   transition: all 0.25s;
}
.openday:hover{
   background-color: #f4770c;
}

#div-logo1{
    height:60px;
    margin: 5px 0 5px 0;
    width:auto;
   -webkit-transition: all 0.25s;
   -moz-transition: all 0.25s;
   -o-transition: all 0.25s;
   -ms-transition: all 0.25s;
   transition: all 0.25s;
}
.openday:hover #div-logo1{
   transform: scale(1.2);
}

#div-logo2{
    height:70px;
    width:auto;
   -webkit-transition: all 0.25s;
   -moz-transition: all 0.25s;
   -o-transition: all 0.25s;
   -ms-transition: all 0.25s;
   transition: all 0.25s;
}
.microstage:hover #div-logo2{
   transform: scale(1.2);
}


.microstage{
    background-color: #00a4ca;
    color: #fff !important;
    
    -webkit-transition: all 0.25s;
   -moz-transition: all 0.25s;
   -o-transition: all 0.25s;
   -ms-transition: all 0.25s;
   transition: all 0.25s;
}

.microstage:hover{
   background-color: #006aa8;
}

.div-table{
    padding-top: 50px;
    padding-bottom: 50px;
}

.div-table h2, .div-table p{
    color: #fff !important;
 }

.icon-licei p{
    color: #888;
    font-weight: 700 !important;
    font-size: 20px;
}

.icon-licei img{
    transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg); 

    -webkit-transition: all 0.3s;
   -moz-transition: all 0.3s;
   -o-transition: all 0.3s;
   -ms-transition: all 0.3s;
   transition: all 0.3s;
}
.icon-licei img:hover{
    transform: rotate(360deg);
    -ms-transform: rotate(360deg); 
    -webkit-transform: rotate(360deg); 
}
*/


/* I LICEI */
.table-scienzeapplicate, .table-scienzeumane, .table-scientifico{
    font-family: Open Sans;
    font-size: 16px;
}
/**/
.hr-scienzeapplicate{border: 10px solid #0091D6;}

.table-scienzeapplicate .column-1, .table-scienzeapplicate .row-16{
    color: #0091D6;
}
.table-scienzeapplicate .column-2, .table-scienzeapplicate .column-3, .table-scienzeapplicate .column-4, .table-scienzeapplicate .column-5, .table-scienzeapplicate .column-6{
    text-align: center;
}
.table-scienzeapplicate .row-16 .column-1{
    text-align: right;
}
.table-scienzeapplicate .column-4, .table-scienzeapplicate .column-5{
    background-color: #F5F5F5 !important;
}
.table-scienzeapplicate .row-3 td, .table-scienzeapplicate .row-4 td, .table-scienzeapplicate .row-5 td, .table-scienzeapplicate .row-6 td, .table-scienzeapplicate .row-7 td, .table-scienzeapplicate .row-8 td, .table-scienzeapplicate .row-9 td, .table-scienzeapplicate .row-10 td, .table-scienzeapplicate .row-11 td, .table-scienzeapplicate .row-12 td, .table-scienzeapplicate .row-13 td, .table-scienzeapplicate .row-14 td, .table-scienzeapplicate .row-15 td{
    border-bottom: 1px solid #0091D6 !important;
}

/**/
.hr-scienzeumane{border: 10px solid #D7007D;}

.table-scienzeumane .column-1, .table-scienzeumane .row-17{
    color: #D7007D;
}
.table-scienzeumane .column-2, .table-scienzeumane .column-3, .table-scienzeumane .column-4, .table-scienzeumane .column-5, .table-scienzeumane .column-6{
    text-align: center;
}
.table-scienzeumane .row-17 .column-1{
    text-align: right;
}
.table-scienzeumane .column-4, .table-scienzeumane .column-5{
    background-color: #F5F5F5 !important;
}
.table-scienzeumane .row-3 td, .table-scienzeumane .row-4 td, .table-scienzeumane .row-5 td, .table-scienzeumane .row-6 td, .table-scienzeumane .row-7 td, .table-scienzeumane .row-8 td, .table-scienzeumane .row-9 td, .table-scienzeumane .row-10 td, .table-scienzeumane .row-11 td, .table-scienzeumane .row-12 td, .table-scienzeumane .row-13 td, .table-scienzeumane .row-14 td, .table-scienzeumane .row-15 td{
    border-bottom: 1px solid #D7007D !important;
}

/**/
.hr-scientifico{border: 10px solid #adc400;}

.table-scientifico .column-1, .table-scientifico .row-16{
    color: #adc400;
}
.table-scientifico .column-2, .table-scientifico .column-3, .table-scientifico .column-4, .table-scientifico .column-5, .table-scientifico .column-6{
    text-align: center;
}
.table-scientifico .row-16 .column-1{
    text-align: right;
}
.table-scientifico .column-4, .table-scientifico .column-5{
    background-color: #F5F5F5 !important;
}
.table-scientifico .row-3 td, .table-scientifico .row-4 td, .table-scientifico .row-5 td, .table-scientifico .row-6 td, .table-scientifico .row-7 td, .table-scientifico .row-8 td, .table-scientifico .row-9 td, .table-scientifico .row-10 td, .table-scientifico .row-11 td, .table-scientifico .row-12 td, .table-scientifico .row-13 td, .table-scientifico .row-14 td, .table-scientifico .row-15 td{
    border-bottom: 1px solid #adc400 !important;
}


/* ORIENTAMENTO
*****************************************************/

#imiorienta-mobile{
    display: none;
}
/***/

.page-template-page-orientamento .openday-title-container {
    background-color: #E6232B;
    text-align: center;
    width: 100%;
    margin-top: 25px;
    color: #FFF;
    padding: 2em 0;
}
.page-template-page-orientamento .openday-title {
    font-size: 50px;
    font-weight: bold;
    line-height: 45px;
}

.page-template-page-orientamento .openday-title span {
    font-size: 30px;
    font-weight: 100;
}

.page-template-page-orientamento .subtitle-line{
    border: 3px solid #E6232B;
    width: 100px;
    margin: 0 auto 10px auto;
}


.page-template-page-orientamento .openday,
.page-template-page-orientamento .microstage {
    text-align: center;
    color: #fff !important;
}
    
.page-template-page-orientamento .openday {
    background-color: #f4b40c;
    color: #fff !important;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -o-transition: all 0.25s;
    -ms-transition: all 0.25s;
    transition: all 0.25s;
}
.page-template-page-orientamento .microstage {
    background-color: #00a4ca;
    color: #fff !important;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -o-transition: all 0.25s;
    -ms-transition: all 0.25s;
    transition: all 0.25s;
}
.page-template-page-orientamento .openday .box-title,
.page-template-page-orientamento .microstage .box-title {
    display: block;
    font-size: 26px;
    color: #fff;
    font-weight: bold;
}


.page-template-page-orientamento .openday:hover #div-logo1{
   transform: scale(1.2);
}

.page-template-page-orientamento #div-logo1,
.page-template-page-orientamento #div-logo2{
    height: 70px;
    margin: 0px 0 20px 0;
    width: auto;
   -webkit-transition: all 0.25s;
   -moz-transition: all 0.25s;
   -o-transition: all 0.25s;
   -ms-transition: all 0.25s;
   transition: all 0.25s;
}
.page-template-page-orientamento .microstage:hover #div-logo2{
   transform: scale(1.2);
}

.page-template-page-orientamento .div-table{
    padding-top: 2vw;
    padding-bottom: 2vw;
}




.page-template-page-orientamento .div-licei {
    margin-top: 4vw;
    margin-bottom: 2vw;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}
.page-template-page-orientamento .icon-licei p {
    color: #A8A8A8;
    font-weight: 700 !important;
    font-size: 20px;
}


/**/
.page-template-page-orientamento .wrapper-date {
    margin-top: 6vw;
}
.page-template-page-orientamento .wrapper-date h2 {
    color: #E6232B;
    border: none;
    font-size: 26px;
    font-weight: bold;
}
.page-template-page-orientamento .wrapper-date .singola-data{
    line-height: 1.5em;
    font-size: 1.2vw;
    font-weight: 100;
    text-align: center;
}
.page-template-page-orientamento .wrapper-date .singola-data .button-book{
/*    border: 1px solid #E6232B;*/
    padding: 0 10px;
    margin-top: 2px;
    display: inline-block;
    background-color: #E6232B;
    color: #fff;
}
.page-template-page-orientamento .wrapper-date .singola-data .button-book:hover{
    background-color: #E6232B;
    color: #fff;
}
.page-template-page-orientamento .cta-subscribe {
    font-size: 2.5vw;
    margin: 2vw 0 5vw 0;
    font-weight: bold;
    text-align: center;
}





/* ORIENTAMENTO - SUBPAGE
*****************************************************/
.page-template-page-orienta-openday .intro-image,
.page-template-page-orienta-microstage .intro-image {
    height: 35vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



.page-template-page-orientamento .page-container,
.page-id-735 .page-container,
.page-template-page-orienta-openday .page-container,
.page-template-page-orienta-microstage .page-container{
    width: 100%;
}
.page-template-page-orientamento article,
.page-id-735 article,
.page-template-page-orienta-openday article,
.page-template-page-orienta-microstage article{
    width: 100%;
    padding: 0px;
}
.page-template-page-orientamento h1,
.page-id-735 h1,
.page-template-page-orienta-openday h1,
.page-template-page-orienta-microstage h1{
    color: #E6232B;
    font-size: 2.5vw;
    margin: 0 0 5px 0;
    text-transform: uppercase;
}


.page-template-page-openday h2,
.page-template-page-nosidebar h2,
.page-template-page-orienta-openday h2,
.page-template-page-orienta-microstage h2{
    text-align: center;
}

.page-template-page-orientamento h2,
.page-template-page-orienta-openday .singola-data,
.page-template-page-orienta-microstage .singola-data{
    line-height: 1.5em;
    font-size: 1.2vw;
    font-weight: 100;
    text-align: center;
}
.page-template-page-orientamento h2,
.page-template-page-orienta-openday .singola-data h2,
.page-template-page-orienta-microstage .singola-data h2{
    color: #E6232B;
    border: none;
    font-size: 26px;
    font-weight: bold;
}


.page-template-page-orienta-openday .title-intro ,
.page-template-page-orienta-microstage .title-intro {
    width: 100%;
    padding: 2em 0;
}
.page-template-page-orienta-openday .title-intro p,
.page-template-page-orienta-microstage .title-intro p{
    font-size: 25px;
    font-weight: 100;
    font-size: 1.2vw;
    line-height: 1.5em;
}
.page-template-page-orienta-imilab .title-intro {
    position: absolute; 
    left: 5%;
    z-index: 100;
    width: 90%;
    height: 200px;
    color: #fff;
    margin-top: 100px; 
}

.page-template-page-orienta-openday .row-date,
.page-template-page-orienta-microstage .row-date {
    padding-bottom: 3vw;
}


.page-template-page-orienta-openday .cta-subscribe,
.page-template-page-orienta-microstage .cta-subscribe {
    font-size: 2.5vw;
    margin: 2vw 0 5vw 0;
    font-weight: bold;
    text-align: center;
}





/* LAYOUT *******************************************************/
.col-md-3{
    width: 25%;
    float: left;
}
.col-md-4{
    width: 33.33%;
    float: left;
}
.col-md-6{
    width: 50%;
    float: left;
}
.col-md-8{
    width: 75%;
    float: left;
}
.col-md-100{
    width: 100%;
    float: left;
}



@media (min-width: 600px) {
    /* submenu */
    .menu-firstmenu-container ul ul {
        display: none;
    }

    .menu-firstmenu-container ul li:hover > ul {
        display: block;
    }

    .menu-firstmenu-container ul ul {
        position: absolute; top: 78px; /* 80  */
          margin-left: -25px;
    }
    .menu-firstmenu-container ul ul li {
        background-color: rgba(255, 255, 255, 0.89);
        float: none !important;
        position: relative;
        height: 50px !important;
        line-height: 50px !important;
    }
    .menu-firstmenu-container ul ul li a {
        padding:0px;
        color: #fff;
        height: 50px !important;
        line-height: 50px !important;
    }	
    .menu-firstmenu-container ul ul li a:hover {
    //	background: #4b545f;
    }
}





@media (max-width: 1024px) {
    

        .menu-item-2182{
            display: none;
        }
    
    
    
    #nav .menu-firstmenu-container li{
        padding-left: 8px;
        padding-right: 8px;
    }
    #main-logo img {
        height: 55px;
        top: 25px;
    }
    
    .long-menu-1024{
        margin-top: 10px;
        height: 45px;
    }
    .long-menu-1024 a{
        line-height: 18px !important;
    }

    
    
    /* footer
    --------------*/
    footer{
        width: 100%;
    }


}

@media screen and (max-width: 960px) {
    
    
    :root {

        --size-title: 5vw;
        --size-subtitle: 4vw;
        --size-copy: 3vw;

    }
    
    
    
    #main-logo img {
        height: 12vw;
        top: 10px;
        left: 10px;
    }
    
    
    button#responsive-menu-button {
        width: 10vw !important;
        height: 10vw !important;
        position: fixed !important;
        top: 10px !important;
        right: 10px !important;
    }
    
    .intro-slider .single-slide {
        height: 50vw;
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        background-color: var(--color-red);
    }
    
    .intro-slider .single-slide.text {
        
    }
    .intro-slider .single-slide.text .content-wrapper {
        padding: 10px;
    }
    .intro-slider .single-slide.text .content-wrapper p {
        font-size: 3.5vw;
        line-height: 1.1em;
        margin-bottom: 0.8em;
    }

    
    .home .page-container {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 10px;
        margin-bottom: 20px;
        margin-top: calc(12vw + 20px );
    }


    

    
    .entry .content-wrapper {
        flex-direction: column;
    }

    .entry .content-wrapper .news-wrapper {
        width: 100%;
        padding-right: 0;
    }
    .entry .content-wrapper .sidebar-home {
        width: 100%;
    }
    
    
    .entry .content-wrapper .news-wrapper .news-column .single-news .thumbnail-wrapper {
        height: 10vw;
        width: 10vw;
    }
    .entry .content-wrapper .news-wrapper .news-column .single-news .news-title {
        width: calc(100% - 10vw);
    }
    
    
    
    
        
    /* PAGE ORIENTAMENTO
    ------------------------------------------------------------*/
    .page-template-page-orientamento .wrapper-date h2 {
        margin-bottom: 0;
    }
    .page-template-page-orientamento .wrapper-date .singola-data {
        font-size: var(--size-subtitle);
        padding-bottom: 10vw;
    }

    .page-template-page-orientamento .wrapper-date .singola-data .button-book {
/*        border: 2px solid var(--color-red);*/
        text-transform: uppercase;
        font-weight: bold;
        margin-top: 1vw;
    }
    
    
    

    
    
        
    /* POPUP EXTRA */
    /**************************************************/
    #popup-home {
        padding: 10px;
    }
    #popup-home img {
        width: 100%;
        height: auto;
        margin-top: 20vh;
    }

    
    #nav{
        display: none;
    }
    .std-page-menu {
        margin-top: 150px!important;
    }
    
    .page-container{
        margin-top: 0px;
    }
    
    .page-template-page-orientamento .page-container, .page-id-735 .page-container, .page-id-828 .page-container{
        margin-top: 90px;
    }
    
    #page-title{
        margin-top: 90px;
    }

    
    
    /* menu laterale
    --------------*/
    aside{
        display: none;
    }
    
    article{
        width: 100%;
        margin: 0px;
        padding: 0px;
    }
    
    #page-title{
        width: 100%;
        height: 60px;
        background-color: #e6232b;
    }
    #page-title h2{
        color: white;
        
        margin-left: 0;
        text-align: center;
    }
    .long-title{
        line-height: 30px !important;
    }
    
    /* extra content
    *****************************************************/
    #iscrizioni-mobile{
        display: block;
    }
    
    /* Footer
    ---------------*/
    .footer-col-1-5{
        float:none;
        text-align:center;
        width:100%;
        margin-top: 30px;
    }
    .footer-col-2-5{
        float:none;
        text-align:center;
        width:100%;
        margin-top: 30px;
    }
    .footer-col-3-5{
        float:none;
        text-align:center;
        width:100%;
        margin-top: 30px;
    }
    .footer-col-4-5{
        float:none;
        text-align:center;
        width:100%;
        margin-top: 30px;
    }
    .footer-col-5-5{
        float:none;
        text-align:center;
        width:100%;
        margin-top: 30px;
    }
    
    .logo-footer{
        height: 10vw;
        width: auto;
        margin-top: 14px;
    }
    
    
    /* OPEN DAY EXTRA
    -------------------------------------------------------------------------------*/
    .page-template-page-openday h2{
        text-align: center;
    }
    .page-template-page-openday article{
        width: 100%;
        text-align: center;
    }
    .page-template-page-openday article .wpcf7-submit{
        margin-left: 0;
    }
    .page-template-page-openday article input{
        margin: 0px 0px 10px 0px;
        height: 50px;
        width: 100%;
    }
    .page-template-page-openday input[type=submit]{
        -webkit-appearance: none;
        background-color: var(--color-red);
        border: none;
        color: white;
        height: 40px;
        width: 200px;
        padding: 10px;
        line-height: 10px;
        margin-left: 0px;
    }
    /* END - OPEN DAY EXTRA
    -------------------------------------------------------------------------------*/
    
    /* ORIENTAMENTO Subpage
    -------------------------------------------------------------------------------*/
    #imiorienta-mobile{
        display: block;
        margin-top: 30px;
    }
    /**/
    
    .page-template-page-orientamento h1, .page-id-735 h1, .page-template-page-orienta-openday h1, .page-template-page-orienta-microstage h1 {
        font-size: 6vw;
        line-height: 6vw;
        padding: 0 10px;
    }
    .page-template-page-orienta-openday .title-intro p,
    .page-template-page-orienta-microstage .title-intro p {
        font-size: 4vw;
        line-height: 6vw;
        padding: 0 10px;
    }
    
    .page-template-page-orientamento h2,
    .page-template-page-orienta-openday .singola-data,
    .page-template-page-orienta-microstage .singola-data {
        font-size: 4vw;
        line-height: 6vw;
        margin-bottom: 5vw;
        padding: 0 10px;
    }

    .page-template-page-orientamento h2,
    .page-template-page-orienta-openday .singola-data h2,
    .page-template-page-orienta-microstage .singola-data h2 {
        font-size: 6vw;
        line-height: 7vw;
        padding-bottom: 10px;
    }
    
    .page-template-page-orienta-openday .cta-subscribe,
    .page-template-page-orienta-microstage .cta-subscribe {
        font-size: 6vw;
        line-height: 6vw;
    }
    
    .col-sm-100{
        width: 100%;
    }
    
    
    
}
