
/*
MEDIA QUERIES ---------------------------------------
http://colly.com/ */


@media screen and (max-width: 40em) {

body {
background-color: #f1f7e1;
}

  div.content {
    width: 20em;
    margin-right: 0px;
    margin-left: 0px;
    margin-top:147px;
    top:147px;
  }
  h2 {
  	font-size: 25px;
  	display:block !important;
  }
  
  .news-wrapper {
  	display:none;
  }

  div.content-min-width {
  	width:150px;
  }
  
  
  

  
  #section-content {
  	width:auto;
    max-width:480px;
    margin:0px auto 150px auto;
    padding:0px 0px 45px 0px;
    margin-top: -50px !important;
  }
  
    #ATCOD-logo {
	left: 10px;
	top: 10px;
}

.subtitle {
	top: 500px !important;
}

.content-body {
	top: 720px;
}

  .container {
	width: auto;
	/*margin-left: 5px;*/
}
  
  
  
  header {
        position:relative;
        width:auto;
        max-width:900px;
        margin: 0 auto 0px auto;
  }
  div.navigation {
  	background-color: #000;
  	top:0px;
  	width: 100%;
  	z-index:300;
  	right:0px;
  }

  
	div.content-min-width {
		height:0px;
	}
  
  
  div.content img {

  	/*width: 20em;*/
  }
  

  
  div.css-slideshow {
  	padding: 0px;
  	width:320px;
  	height:241px;
  }
  
  .css-slideshow figure {
  	width:320px;
  	height:221px;
  }
  
  div.css-slideshow img {
  	width:320px;
  	height:221px;
  }
  
  div.marquee, div.marquee2 {
  	width: 20em !important;
  }
  
  div.video-border {
  	width: 320px;
  	height: 186px;
  	padding-left: 0px;
  	padding-right: 0px;
  }
  
  video {
  	width: 320px;
  	height: 186px;
  }
  

  
  div.tlImageContainer img {
  	width: 320px;
  	height: 303px;
  }
  
  iframe {
  	width: 320px;
  	height: 180px;
  	/*margin-left: -15px;*/
  }
  
  iframe#twitter-widget-0 {
  	margin-left: 0px;
  }
  
  
 
  
  img.media {
  	width: auto !important;
  }
 
  
  img.media-2 {
  	width: auto !important;
  	margin-top: 10px;
  }
  
  a.fancybox img {
  	width: 157px !important;
  	height: 157px !important;
  }
  
 /* a.fancybox-prev {
  	left:0px !important;
  }
  
  a.fancybox-next {
  	right:0px !important;
  }
  
  .fancybox-wrap {
  	margin-left:auto !important;
  	margin-right:auto !important;
  	left: 0px !important;
  	right: 0px !important;
  	width:320px !important;
  	padding: 0px !important;
  }
  

  
  
  .fancybox-inner {
  	margin-left:0px !important;
  	margin-top:0px !important;
  	margin:0px !important;
  	border: 0px !important;
  	top: 0px !important;
	left: 0px !important;
	right: 0px !important;
	bottom: 0px !important;
  }
  
img.fancybox-image {
  }
  
  .fancybox-default-skin-open {
  	box-shadow: 0px !important;
  }
  
  .fancybox-title {
  	left:-35px !important;
  }*/
  

  
/*
Button Back to TOP ---------------------------------------
 */
 
 #section-footer {
 	display:block;
 }

div.footer-nav {
	background-color: #000;
	width: 100%;
	height:43px;
	margin-left: auto;
	margin-bottom:auto;
	bottom:0px;
	right:0px;
	position:fixed;
	z-index:300;
	border-top: 5px solid #fff;
}

#toTop {
	display: block;
	position: fixed;
	float: right;
	bottom: 0px;
	width: 100%;
	z-index: 300;
	right: 0px;
	/*background-image: url('../img/TTA_top_480.gif');
	background-repeat: no-repeat;*/
	/*text-indent: -9999px;*/
	text-align:center;
	width: 70px;
	height: 43px;
	font-size: 25px;
	text-decoration:none;
	line-height:43px;
	}
		
#toTop:hover {
text-decoration:underline;
	}
		
.arrow_box {
	position: relative;
	background: #000000;
	/*border: 4px solid #ffffff;*/
}
.arrow_box:after, .arrow_box:before {
	bottom: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_box:after {
	border-color: rgba(0, 0, 0, 0);
	border-bottom-color: #000000;
	border-width: 30px;
	margin-left: -30px;
}
.arrow_box:before {
	border-color: rgba(255, 255, 255, 0);
	border-bottom-color: transparent;
	border-width: 36px;
	margin-left: -36px;
}  
  

}








/*
MEDIA QUERIES ---------------------------------------
Bigger */


@media screen and (max-width: 48em) {
  div.content {
    /*width: 20em;*/
    margin-right: 0px;
    margin-left: 0px;
    margin-top:147px;
    top:55px;
    /*position: inherit;*/
    width:auto;
    padding: 0px;
  }
  
  div.landing {

    margin-top:345px !important;

  }
  h2 {
  	font-size: 25px;
  	display:block !important;
  }
  
  .news-wrapper {
  	display:none;
  }

  div.content-min-width {
  	width:150px;
  }

  
  #ATCOD-logo {
  	background-image: url('../img/atcod_logo_text.png');
	left: 100px;
	position: fixed;
	top: 10px;
	height: 86px;
	width: 163px;
  }
  
  
  #ATCOD-character {
  	position: fixed;
	width: 234px;
	height:260px;
	top: 115px;
	left: 30px;
  }
  
  .title {
  	/*padding-left: 65px;*/
  	font-size: 2rem;
  	line-height: 2.2rem;
  	/*padding-left: 10px;*/
  	padding-left: 5px;
  	padding-right: 5px;
  }
  
  .firstimage {
  width:320px !important;
  padding-bottom: 5px;
}

.rowcolumn {
	width: 335px;
}

.row {
box-sizing: border-box;
  width: 335px;
}

li img {
	padding-right: 0px;
	padding-left: 5px;
}

img.logo {
	width: auto !important;
}
  
 div.content-body {
 	top: auto;
 }
  
  
  div.content {
  	/*background-color: transparent !important;*/
  	
  }
  
  #section-content {
  	width:auto;
    max-width:480px;
    margin:0px auto 150px auto;
    padding:0px 0px 45px 0px;
  }
  

  
  .date {
  	font-size: 1.6rem;
	line-height: 2.2rem;
	top: 265px;
  }
  
  .subtitle {
  	font-size: 1.5rem;
	line-height: 2.2rem;
	padding-left: 10px;
	padding-right: 10px;
  }
  
  .subtitle-small {
  	font-size: 1.2rem;
	line-height: 2rem;
	padding-left: 10px;
	padding-top: 50px;
  }
  
    .subtitle-2 {
  	font-size: 2rem;
	line-height: 2.6rem;
	top: 475px;
	padding-left: 5px;
  }
  
  #toggle_nav > li > a {
  	font-size: 2rem;
	line-height: 2.6rem;
	padding-left: 5px;
  }
  
  .regular {
  	padding-left: 5px;
  }
  
  .footer-notice {
	margin-top: 150px;
	width: auto;
}
  
  header {
        position:relative;
        width:auto;
        max-width:900px;
        margin: 0 auto 0px auto;
  }
  div.navigation {
  	background-color: #000;
  	top:0px;
  	width: 100%;
  	z-index:300;
  	right:0px;
  }
	
	div.content-min-width {
		height:0px;
	}
  
  
  div.content img {

  	/*width: 20em;*/
  	width: 335px;
  	/*padding-right: 20px;*/
  }
  
  
  div.css-slideshow {
  	padding: 0px;
  	width:320px;
  	height:241px;
  }
  
  .css-slideshow figure {
  	width:320px;
  	height:221px;
  }
  
  div.css-slideshow img {
  	width:320px;
  	height:221px;
  }
  
  div.marquee, div.marquee2 {
  	width: 20em !important;
  }
  
  div.video-border {
  	width: 320px;
  	height: 186px;
  	padding-left: 0px;
  	padding-right: 0px;
  }
  
  video {
  	width: 320px;
  	height: 186px;
  }
  

  
  div.tlImageContainer img {
  	width: 320px;
  	height: 303px;
  }
  
  iframe {
  	width: 375px;
  	height: 211px;
  	margin-left: -15px;
  }
  
  iframe#twitter-widget-0 {
  	margin-left: 0px;
  }
  
  
  h2.content-title {
  	width:320px;
  }
  
  img.media {
  	width: auto !important;
  }
 
  
  img.media-2 {
  	width: auto !important;
  	margin-top: 10px;
  }
  
  a.fancybox img {
  	width: 157px !important;
  	height: 157px !important;
  }
  
 /* a.fancybox-prev {
  	left:0px !important;
  }
  
  a.fancybox-next {
  	right:0px !important;
  }
  
  .fancybox-wrap {
  	margin-left:auto !important;
  	margin-right:auto !important;
  	left: 0px !important;
  	right: 0px !important;
  	width:320px !important;
  	padding: 0px !important;
  }
  

  
  
  .fancybox-inner {
  	margin-left:0px !important;
  	margin-top:0px !important;
  	margin:0px !important;
  	border: 0px !important;
  	top: 0px !important;
	left: 0px !important;
	right: 0px !important;
	bottom: 0px !important;
  }
  
img.fancybox-image {
  }
  
  .fancybox-default-skin-open {
  	box-shadow: 0px !important;
  }
  
  .fancybox-title {
  	left:-35px !important;
  }*/
  

  
/*
Button Back to TOP ---------------------------------------
 */
 
 #section-footer {
 	display:block;
 }

div.footer-nav {
	background-color: #000;
	width: 100%;
	height:43px;
	margin-left: auto;
	margin-bottom:auto;
	bottom:0px;
	right:0px;
	position:fixed;
	z-index:300;
	border-top: 5px solid #fff;
}

#toTop {
	display: block;
	position: fixed;
	float: right;
	bottom: 0px;
	width: 100%;
	z-index: 300;
	right: 0px;
	/*background-image: url('../img/TTA_top_480.gif');
	background-repeat: no-repeat;*/
	/*text-indent: -9999px;*/
	text-align:center;
	width: 70px;
	height: 43px;
	font-size: 25px;
	text-decoration:none;
	line-height:43px;
	}
		
#toTop:hover {
text-decoration:underline;
	}
		
.arrow_box {
	position: relative;
	background: #000000;
	/*border: 4px solid #ffffff;*/
}
.arrow_box:after, .arrow_box:before {
	bottom: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_box:after {
	border-color: rgba(0, 0, 0, 0);
	border-bottom-color: #000000;
	border-width: 30px;
	margin-left: -30px;
}
.arrow_box:before {
	border-color: rgba(255, 255, 255, 0);
	border-bottom-color: transparent;
	border-width: 36px;
	margin-left: -36px;
}  
  

}


a[x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: none !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}




