/****************************************
                Generic
****************************************/

@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:400,700|Roboto:400,400i,700,700i,900');

body{
  background-color: #1D1D1B;
  font-family: 'Roboto', sans-serif;
}

header#navbar{
  background-color: #9cc064;
  max-width: none;
  width: 100%;
  height: 40px;
  border: 0px;
  border-radius: 0px;
  padding: 0;
  margin: 0;
}

.col-sm-12{
  padding-left: 0;
  padding-right: 0;
}


.container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse {
  margin-left: 0;
  margin-right: 0;
}

#block-topicons{
  float: left;
  padding-left: 15px;
  padding-top: 5px;
  position: relative;
  z-index: 10;
}

header#navbar .top_buttons{
  display: inline-block;
  width: 35px;
  padding: 5px;
  margin-right: 10px;
}

header#navbar .top_buttons.wall{
  display: inline-block;
  width: 30px;
  padding: 5px;
  padding-top: 8px;

}

header#navbar .top_buttons img{
  display: block;
  width: 100%;
  height: auto;
}



/****************************************
                Navigation
****************************************/


.navbar-toggle {
    position: relative;
    float: right;
    padding: 5px;
    margin-top: 10px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 0px solid transparent;
    border-radius: 0px;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: transparent;
}


.navbar-default .navbar-toggle .icon-bar {
    background-color: #1D1D1B;
}

.navbar-default .navbar-toggle:hover .icon-bar,
.navbar-default .navbar-toggle:focus .icon-bar {
    background-color: #fff;
}



.navbar-toggle .icon-bar {
    display: block;
    width: 30px;
    height: 4px;
    border-radius: 0px;
}

#navbar-collapse{
  position: relative;
  z-index: 999;
  background-color: #9cc064;
  color: #fff;
  border: 0;
}

.navbar-default .navbar-nav > li:last-child{
  border-bottom: 0px;
}

.navbar-default .navbar-nav > li > a {

    display: block;
    color: #1D1D1B;
    text-transform: uppercase;
    font-size: 18px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-weight: bold;
}


.navbar-default .navbar-nav > li > a:hover{
  color: #fff;
  background-color: #9cc064;
}




/****************************************
                Pages
****************************************/



h1.page-header{
  display: none;
}

#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background-color: #1D1D1B;
}


#loading #loading_inner{
    width: 300px;
    height: 300px;
    margin: auto;
    margin-top: 300px;
    background-image: url(../img/caricamento-1a.gif);
    background-size: 300px;
    background-repeat: no-repeat;
}



#loading2 {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background-color: #1D1D1B;

}

#loading2_text{
  padding-top: 100px;
  width: 300px;
  margin: auto;
  text-align: left;
  color: #9cc064;
  font-weight: bold;
}


#loading2 #loading_inner2{
    width: 300px;
    height: 300px;
    margin: auto;
    margin-top: 100px;
    background-image: url(../img/caricamento-2a.gif);
    background-size: 300px;
    background-repeat: no-repeat;
}


.page-node-type-page .content{
  color: #9cc064;
  font-size: 24px;
}

.page-node-type-page .content h2{
  font-size: 48px;
}

#contactssocials{
  padding-top: 30px;
}

#contactssocials a{
  color: #9cc064;
  font-size: 42px;
  display: inline-block;
  margin-right: 15px;
}

.page-node-type-page .content a{
  color: #fff;
}

hr.greenline{
  height: 0px;
  border: 0;
  border-bottom: 5px solid #9cc064;
}







/****************************************
                Play
****************************************/

.startscreen_wrapper{
  background-color: #1D1D1B;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50px;
  left: 0;
}

#startscreen{
  max-width: 500px;
  margin: auto;
  position: relative;
}


.startscreen_inner{
  color: #fff;
  margin: auto;
  text-align: center;
  padding-top: 60px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.startscreen_inner.step01{
  cursor: pointer;
}

.startscreen_inner.step02{
  display: none;
}

.startscreen_inner .startscreen_block{
  margin-bottom: 30px;
}

.startscreen_inner .startscreen_block.logotop{
    width: 40%;
    margin: auto;
    margin-bottom: 30px;
}

.startscreen_inner .startscreen_block.choosenadchange{
    width: 70%;
    margin: auto;
}

.startscreen_inner .startscreen_block.choose6{
  color: #9cc064;
  font-weight: bold;
  text-align: left;
  font-size: 36px;
  line-height: 52px;
  width: 70%;
  margin-bottom: 80px;
  margin: auto;
}

.startscreen_inner .startscreen_block img{
  width: 100%;
  height: auto;
}

#playgame{
  margin-top: 30px;
  background-image: url(../img/button.png);
  width: 210px;
  height: 200px;
  margin: auto;
  background-size: 100%;
  background-repeat: none;
  display: flex;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

#playgame span{
  font-size: 48px;
  color: #1D1D1B;
  text-transform: uppercase;
  text-indent: 10px;
  font-weight: bold;
  display: block;
  width: 100%;
  text-align: center;
}

#playgame:hover span{
  color: #fff;
}

.startscreen_block.playnow{
  background-color: #fff;
  width: 80px;
  height: 80px;
  margin: auto;
  border-radius: 100px;
  text-align: center;
  color: #AAC25B;
  font-size: 50px;
  line-height: 85px;
  display: inline-block;
  padding-left: 8px;
}

.startscreen_block.playnow2{
  width: 60%;
  margin: auto;
  margin-top: 60px;
  text-align: center;
}


#playthegame{
  /*
  background-color: #1D1D1B;
  */
}


.view.view-histories.view-id-histories .video_col,
#playthegame .video_col{
  padding: 1px;
  cursor: pointer;
}



.view.view-histories.view-id-histories .video_col .video,
#playthegame .video{
  width: 100%;
  height: auto;
  position: relative;
}

.view.view-histories.view-id-histories .video_col img,
.row.view.view-histories.view-id-histories .video_col video,
#playthegame .video img,
#playthegame .video video{
  width: 100%;
  height: auto;
}

#playthegame .video .video_header{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255,255,255,0.7);
}

#playthegame .video .modalFullVideo.fade{
  opacity: 1;
  background-color: #000;
}

#playthegame .video .modalFullVideo .modal-dialog{
  margin: 0px auto;
}

#playthegame .video .modalFullVideo .modal-content{
  border-radius: 0px;
  border: 0;
  margin-top: 0;
  margin-bottom: 0;
  background-color: #000;
}


#playthegame .video .modalFullVideo .modal-body{
  text-align: center;
  position: relative;

}

#playthegame .video .modalFullVideo video{
  display: inline-block;
  width: auto;
  max-height: 870px;
  margin: auto;
}

#playthegame .video .modalFullVideo .modal-body  .videocounter_wrapper{
  position: absolute;
  font-family: 'Roboto Condensed', sans-serif;
  top: 20px;
  left: 20px;
  width: 70px;
  height: 70px;
  background: url(../img/counterbg.png);
  background-size: 100%;
  background-repeat: no-repeat;
  color: #fff;
  font-size: 40px;
  line-height: 68px;
  transition: 0.3s linear all;
}

#playthegame .video .modalFullVideo .modal-body .videoActionWrapper{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  transition: 0.3s linear all;
}

#playthegame .video .modalFullVideo .modal-body .videoAction{
  font-size: 80px;
  cursor: pointer;
  transition: 0.3s linear all;
  width: 18%;
}

#playthegame .video .modalFullVideo .modal-body .videoAction:hover{
  transform: scale(1.15);
}

#playthegame .video .modalFullVideo .modal-body .videoAction.discard{
  float: left;
  margin-left: 10%;
  margin-bottom: 5%;
  color: red;
}

#playthegame .video .modalFullVideo .modal-body .videoAction.continue{
  float: right;
  margin-right: 10%;
  margin-bottom: 5%;
  color: green;
}


#playthegame.lastStep .row.stepvideos{
  display: none;
}

.containerpreview{
  padding-bottom: 5px;
  padding-top: 5px;
}

.bigbutton{
  display: block;
  width: 270px;
  height: 300px;
  padding: 15px;
  border: 0px;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 15px;
  border-radius: 0px;
  background-color: transparent;
  font-size: 54px;
  font-weight: bold;
  line-height: 52px;
}

.bigbutton.renderHistoryButton{
    background-image: url(../img/button.png);
    background-size: 100%;
    background-repeat: no-repeat;
    color: #1D1D1B;


}

.bigbutton.renderHistoryButton span{
  display: block;
  margin-top: 70px;
}


.bigbutton:hover{
  color: ;
  background-color: transparent;
  transition: 0.3s linear all;
}




#playthegame h3.bigtitle{
  font-size: 32px;
  width: 70%;
  color: #9cc064;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 45px;
}

#playthegame input.endtextfield{
  padding: 15px;
  font-size: 24px;
  width: 100%;
  margin-bottom: 15px;
}

#playthegame.container.laststep{
  margin-left: 30px;
  margin-right: 30px;
}

#partecipateFieldsButton{
  background-color: #9cc064;
  border-radius: 0px;
}

#partecipateFieldsButton h3{
  margin: 10px;
  color: #1D1D1B;
  margin-top: 0px;
  font-size: 32px;
}

#contestfields{
  background-color: #333;
  padding: 30px;
  margin-top: 15px;
}

#contestfields .col-sm-12 {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
}

#contestfields .col-sm-12 h3{
  margin-bottom: 30px;
  font-weight: bold;
}

#contestfields select{
  padding: 15px;
  margin-bottom: 15px;
  width: 100%;
}

/****************************************
                Histories
****************************************/
.page-node-type-histories{

}

.page-node-type-histories .field--name-field-gif{
	display: none;
}

.page-node-type-histories .field--name-field-mashup{
    max-width: 540px;
    margin: auto;
    position: relative;
}


.page-node-type-histories .field--name-field-mashup video{
  width: 100%;
  height: auto;
  display: block;
}

.view-histories .video-col img{
  width: 100%;
  height: auto;
}


.page-node-type-histories .playnow{
    position: absolute;
    top: 50%;
	transition: 0.3s linear all;
	cursor: pointer;
}

.page-node-type-histories .playnow:hover{
	transform: scale(1.1);
}

#bottombuttons{
  max-width: 500px;
  width: 80%;
  margin: auto;
  margin-top: -80px;

}

#bottombuttons .col-xs-3{
  padding-left: 5px;
  padding-right: 5px;
}

.btn.bottombutton{
  display: block;
  border-radius: 0px;
  padding: 0;
  width: 100%;
  margin: auto;
}

.btn.bottombutton span{
  display: block;
  clear: both;
  margin-bottom: 15px;
  font-family: 'Roboto Condensed', sans-serif;
  color: #AAC25B;
}

.btn.bottombutton img{
  display: block;
  width: 90%;
  margin: auto;
  height: auto;
  margin-bottom: 15px;


}

.sharebutton {
  font-size: 52px;
  text-align: center;
}



/**********************************
              histories
************************************/

.view-histories .view-filters {
    padding: 10px 30px;
    padding-top: 20px;
    padding-bottom: 5px;
}

.view-histories .view-filters label{
  display: none;
}

.view-histories .view-filters .form--inline .form-item,
.view-histories .view-filters .form--inline .form-actions {
  display: inline-block;
}

.view-histories .view-filters .form--inline input,
.view-histories .view-filters .form--inline button,
.view-histories .view-filters .form--inline .btn{
  border-radius: 0px;
}

.view-histories .view-filters .form--inline button.btn-primary{
  background-color: #9cc064;
  border: 1px solid #9cc064;

}

.view-histories .view-filters .form--inline .form-item{
  width: 65%;
  margin-right: 5%;
}


.view-histories .view-content{
  padding-left: 15px;
  padding-right: 15px;
}

.view-histories .video-col.col-xs-4.col-md-4.col-lg-3{
  margin: 0px;
  padding: 0;
  position: relative;
}

.view-histories .video-col.col-xs-4.col-md-4.col-lg-3 .views-field-field-gif{
  padding: 1px;
}

.view-histories .video-col.col-xs-4.col-md-4.col-lg-3 .views-field-field-usertitle{
  background-color: rgba(0,0,0, 0.7);
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  position: absolute;
  bottom: 0px;
width: 100%;
}

.view-histories .video-col.col-xs-4.col-md-4.col-lg-3 .views-field-field-usertitle a,
.view-histories .video-col.col-xs-4.col-md-4.col-lg-3 .views-field-field-usertitle a:hover,
.view-histories .video-col.col-xs-4.col-md-4.col-lg-3 .views-field-field-usertitle a:focus{
  color: #9cc064 !important;
  text-decoration: none;
}


.pager.js-pager__items{

  clear: both;
  width: 90%;
  margin: auto;
  margin: 0px;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 15px;
  padding-right: 15px;
}

.pager li > a, .pager li > span {
    display: inline-block;
    padding: 5px 14px;
    background-color: #fff;
    border: 1px solid #9cc064;
    color: #9cc064;
    border-radius: 0px;
    font-size: 24px;
}



body.path-videos-management  {
    background-color: #ffffff;
    font-family: 'Roboto', sans-serif;
}

body.path-videos-management .views-exposed-form{
	margin-top: 30px;
}

body.path-videos-management .views-exposed-form .form-item{
	margin-bottom: 15px;
}

body.path-videos-management td.views-field-field-gif img{
	height: 200px;
	width: auto;

}

